From eed2ad405e377f719835fce1dbbbb26a3c38e571 Mon Sep 17 00:00:00 2001 From: kevinvenclovas Date: Sun, 4 May 2025 12:49:49 +0200 Subject: [PATCH 1/4] fixed finances_2024-06-19 issues --- .../finances_2024-06-19.json | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/models/finances-api-model/finances_2024-06-19.json b/models/finances-api-model/finances_2024-06-19.json index 915ade46d..5d5e510fd 100644 --- a/models/finances-api-model/finances_2024-06-19.json +++ b/models/finances-api-model/finances_2024-06-19.json @@ -253,17 +253,30 @@ }, "definitions": { "ListTransactionsResponse": { + "type": "object", + "properties": { + "payload": { + "description": "The payload for the listFinancialEvents operation.", + "$ref": "#/definitions/TransactionsPayload" + }, + "errors": { + "description": "One or more unexpected errors occurred during the listFinancialEvents operation.", + "$ref": "#/definitions/ErrorList" + } + }, + "description": "The Response schema." + }, + "TransactionsPayload": { "type": "object", "properties": { "nextToken": { "type": "string", "description": "When present and not empty, pass this string token in the next request to return the next response page." }, - "transactions": { + "payload": { "$ref": "#/definitions/Transactions" } - }, - "description": "The Response schema." + } }, "Transactions": { "type": "array", @@ -465,7 +478,8 @@ "DISBURSEMENT_ID", "TRANSFER_ID", "DEFERRED_TRANSACTION_ID", - "RELEASE_TRANSACTION_ID" + "RELEASE_TRANSACTION_ID", + "FINANCIAL_EVENT_GROUP_ID" ], "x-docgen-enum-table-extension": [ { @@ -645,7 +659,7 @@ }, "breakdowns": { "description": "Further granular breakdowns of the BreakdownType.", - "$ref": "#/definitions/Breakdown" + "$ref": "#/definitions/Breakdowns" } }, "description": "Breakdown provides details regarding the money movement under the financial transaction. Breakdowns get categorized further into breakdown types, breakdown amounts, and further breakdowns into a hierarchical structure." From 957b8194db02fbf5f35f8c32c596c7caaaa87bcb Mon Sep 17 00:00:00 2001 From: kevinvenclovas Date: Sun, 4 May 2025 12:54:50 +0200 Subject: [PATCH 2/4] fixed property naming --- models/finances-api-model/finances_2024-06-19.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/finances-api-model/finances_2024-06-19.json b/models/finances-api-model/finances_2024-06-19.json index 5d5e510fd..189d296dd 100644 --- a/models/finances-api-model/finances_2024-06-19.json +++ b/models/finances-api-model/finances_2024-06-19.json @@ -273,7 +273,7 @@ "type": "string", "description": "When present and not empty, pass this string token in the next request to return the next response page." }, - "payload": { + "transactions": { "$ref": "#/definitions/Transactions" } } From f4e17301fce7d14f082c7681b99f88137a0356b6 Mon Sep 17 00:00:00 2001 From: kevinvenclovas Date: Wed, 7 May 2025 18:00:59 +0200 Subject: [PATCH 3/4] added SETTLEMENT_ID --- .../finances_2024-06-19.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/models/finances-api-model/finances_2024-06-19.json b/models/finances-api-model/finances_2024-06-19.json index 189d296dd..e5d9e35b4 100644 --- a/models/finances-api-model/finances_2024-06-19.json +++ b/models/finances-api-model/finances_2024-06-19.json @@ -479,7 +479,8 @@ "TRANSFER_ID", "DEFERRED_TRANSACTION_ID", "RELEASE_TRANSACTION_ID", - "FINANCIAL_EVENT_GROUP_ID" + "FINANCIAL_EVENT_GROUP_ID", + "SETTLEMENT_ID" ], "x-docgen-enum-table-extension": [ { @@ -517,6 +518,14 @@ { "value": "RELEASE_TRANSACTION_ID", "description": "The transaction ID for the related released transaction" + }, + { + "value": "FINANCIAL_EVENT_GROUP_ID", + "description": "The financial event group ID for the related released transaction" + }, + { + "value": "SETTLEMENT_ID", + "description": "The settlement ID for the related released transaction" } ] }, @@ -600,7 +609,8 @@ "ORDER_ADJUSTMENT_ITEM_ID", "COUPON_ID", "REMOVAL_SHIPMENT_ITEM_ID", - "TRANSACTION_ID" + "TRANSACTION_ID", + "INVOICE_ID" ], "x-docgen-enum-table-extension": [ { @@ -618,6 +628,10 @@ { "value": "TRANSACTION_ID", "description": "Transaction id for the item." + }, + { + "value": "INVOICE_ID", + "description": "Associated InvoiceId of transaction" } ] }, From a2f6840cd625ee20cb9faa337a3e48045e8f06c0 Mon Sep 17 00:00:00 2001 From: kevinvenclovas Date: Fri, 16 May 2025 19:00:44 +0200 Subject: [PATCH 4/4] added DEAL_ID --- models/finances-api-model/finances_2024-06-19.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/models/finances-api-model/finances_2024-06-19.json b/models/finances-api-model/finances_2024-06-19.json index e5d9e35b4..358ff9ebf 100644 --- a/models/finances-api-model/finances_2024-06-19.json +++ b/models/finances-api-model/finances_2024-06-19.json @@ -610,7 +610,8 @@ "COUPON_ID", "REMOVAL_SHIPMENT_ITEM_ID", "TRANSACTION_ID", - "INVOICE_ID" + "INVOICE_ID", + "DEAL_ID" ], "x-docgen-enum-table-extension": [ { @@ -632,6 +633,10 @@ { "value": "INVOICE_ID", "description": "Associated InvoiceId of transaction" + }, + { + "value": "DEAL_ID", + "description": "Associated DealId of transaction" } ] },