From 8fb409429886fe967d303a568c9127209dff3668 Mon Sep 17 00:00:00 2001 From: Jesse Rosalia Date: Fri, 18 Oct 2024 14:50:42 -0700 Subject: [PATCH 1/2] manually added scheduled_query_run file property to unblock downstream SDK tests that rely on stripe-mock serving this field --- openapi/fixtures3.json | 19 ++++++++++++++++++- openapi/fixtures3.yaml | 17 ++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/openapi/fixtures3.json b/openapi/fixtures3.json index 5f04c7a6..d24a39cd 100644 --- a/openapi/fixtures3.json +++ b/openapi/fixtures3.json @@ -3537,7 +3537,24 @@ "scheduled_query_run": { "created": 1234567890, "data_load_time": 1234567890, - "file": null, + "file": { + "created": 1721948551, + "expires_at": null, + "filename": "path", + "id": "file_1Pgag7B7WZ01zgkWJbdoNCXR", + "links": { + "data": [], + "has_more": false, + "object": "list", + "url": "/v1/file_links?file=file_1Pgag7B7WZ01zgkWJbdoNCXR" + }, + "object": "file", + "purpose": "sigma_scheduled_query", + "size": 500, + "title": null, + "type": "csv", + "url": "https://sangeekp-15t6ai--upload-mydev.dev.stripe.me/v1/files/file_1Pgag7B7WZ01zgkWJbdoNCXR/contents" + }, "id": "sqr_1Pgc7AB7WZ01zgkWvpIic1Di", "livemode": false, "object": "scheduled_query_run", diff --git a/openapi/fixtures3.yaml b/openapi/fixtures3.yaml index b8292e37..47afeaaa 100644 --- a/openapi/fixtures3.yaml +++ b/openapi/fixtures3.yaml @@ -3047,7 +3047,22 @@ resources: scheduled_query_run: created: 1234567890 data_load_time: 1234567890 - file: null + file: + created: 1721948551 + expires_at: + filename: path + id: file_1Pgag7B7WZ01zgkWJbdoNCXR + links: + data: [] + has_more: false + object: list + url: /v1/file_links?file=file_1Pgag7B7WZ01zgkWJbdoNCXR + object: file + purpose: sigma_scheduled_query + size: 500 + title: null + type: csv + url: https://sangeekp-15t6ai--upload-mydev.dev.stripe.me/v1/files/file_1Pgag7B7WZ01zgkWJbdoNCXR/contents id: sqr_1Pgc7AB7WZ01zgkWvpIic1Di livemode: false object: scheduled_query_run From a0507ef8611655c80847b77f9b09b03a61cbc16f Mon Sep 17 00:00:00 2001 From: Jesse Rosalia Date: Fri, 18 Oct 2024 16:00:00 -0700 Subject: [PATCH 2/2] manually added status: complete to issuing.settlement (present upstream and needed in stripe-mock) --- openapi/fixtures3.json | 3 ++- openapi/fixtures3.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openapi/fixtures3.json b/openapi/fixtures3.json index d24a39cd..dbe1b595 100644 --- a/openapi/fixtures3.json +++ b/openapi/fixtures3.json @@ -2468,7 +2468,8 @@ "object": "issuing.settlement", "settlement_service": "international", "transaction_count": 2, - "transaction_volume": 3656 + "transaction_volume": 3656, + "status": "complete" }, "issuing.token": { "card": "ic_1Pgag5B7WZ01zgkWephORn8N", diff --git a/openapi/fixtures3.yaml b/openapi/fixtures3.yaml index 47afeaaa..14d65d7b 100644 --- a/openapi/fixtures3.yaml +++ b/openapi/fixtures3.yaml @@ -2136,6 +2136,7 @@ resources: settlement_service: international transaction_count: 2 transaction_volume: 3656 + status: complete issuing.token: card: ic_1Pgag5B7WZ01zgkWephORn8N created: 1234567890