@sp-api-sdk/finances-api-2024-06-19 3.1.4 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/api-model/api/finances-api.js +24 -16
  3. package/dist/cjs/api-model/api.js +1 -1
  4. package/dist/cjs/api-model/base.js +1 -1
  5. package/dist/cjs/api-model/common.js +1 -1
  6. package/dist/cjs/api-model/configuration.js +1 -1
  7. package/dist/cjs/api-model/index.js +1 -1
  8. package/dist/cjs/api-model/models/amazon-pay-context.js +1 -1
  9. package/dist/cjs/api-model/models/breakdown.js +1 -1
  10. package/dist/cjs/api-model/models/business-context.js +1 -1
  11. package/dist/cjs/api-model/models/context-all-of.js +1 -1
  12. package/dist/cjs/api-model/models/context.js +1 -1
  13. package/dist/cjs/api-model/models/currency.js +1 -1
  14. package/dist/cjs/api-model/models/deferred-context.js +1 -1
  15. package/dist/cjs/api-model/models/error-list.js +1 -1
  16. package/dist/cjs/api-model/models/item-related-identifier.js +1 -1
  17. package/dist/cjs/api-model/models/item.js +1 -1
  18. package/dist/cjs/api-model/models/list-transactions-response.js +1 -1
  19. package/dist/cjs/api-model/models/marketplace-details.js +1 -1
  20. package/dist/cjs/api-model/models/model-error.js +1 -1
  21. package/dist/cjs/api-model/models/payments-context.js +1 -1
  22. package/dist/cjs/api-model/models/product-context.js +1 -1
  23. package/dist/cjs/api-model/models/related-identifier.js +1 -1
  24. package/dist/cjs/api-model/models/selling-partner-metadata.js +1 -1
  25. package/dist/cjs/api-model/models/time-range-context.js +1 -1
  26. package/dist/cjs/api-model/models/transaction.js +1 -1
  27. package/dist/cjs/api-model/models/transactions-payload.js +1 -1
  28. package/dist/es/api-model/api/finances-api.js +25 -17
  29. package/dist/es/api-model/api.js +1 -1
  30. package/dist/es/api-model/base.js +1 -1
  31. package/dist/es/api-model/common.js +1 -1
  32. package/dist/es/api-model/configuration.js +1 -1
  33. package/dist/es/api-model/index.js +1 -1
  34. package/dist/es/api-model/models/amazon-pay-context.js +1 -1
  35. package/dist/es/api-model/models/breakdown.js +1 -1
  36. package/dist/es/api-model/models/business-context.js +1 -1
  37. package/dist/es/api-model/models/context-all-of.js +1 -1
  38. package/dist/es/api-model/models/context.js +1 -1
  39. package/dist/es/api-model/models/currency.js +1 -1
  40. package/dist/es/api-model/models/deferred-context.js +1 -1
  41. package/dist/es/api-model/models/error-list.js +1 -1
  42. package/dist/es/api-model/models/item-related-identifier.js +1 -1
  43. package/dist/es/api-model/models/item.js +1 -1
  44. package/dist/es/api-model/models/list-transactions-response.js +1 -1
  45. package/dist/es/api-model/models/marketplace-details.js +1 -1
  46. package/dist/es/api-model/models/model-error.js +1 -1
  47. package/dist/es/api-model/models/payments-context.js +1 -1
  48. package/dist/es/api-model/models/product-context.js +1 -1
  49. package/dist/es/api-model/models/related-identifier.js +1 -1
  50. package/dist/es/api-model/models/selling-partner-metadata.js +1 -1
  51. package/dist/es/api-model/models/time-range-context.js +1 -1
  52. package/dist/es/api-model/models/transaction.js +1 -1
  53. package/dist/es/api-model/models/transactions-payload.js +1 -1
  54. package/dist/types/api-model/api/finances-api.d.ts +27 -15
  55. package/dist/types/api-model/api.d.ts +1 -1
  56. package/dist/types/api-model/base.d.ts +1 -1
  57. package/dist/types/api-model/common.d.ts +1 -1
  58. package/dist/types/api-model/configuration.d.ts +1 -1
  59. package/dist/types/api-model/index.d.ts +1 -1
  60. package/dist/types/api-model/models/amazon-pay-context.d.ts +3 -3
  61. package/dist/types/api-model/models/breakdown.d.ts +2 -2
  62. package/dist/types/api-model/models/business-context.d.ts +1 -1
  63. package/dist/types/api-model/models/context-all-of.d.ts +1 -1
  64. package/dist/types/api-model/models/context.d.ts +1 -1
  65. package/dist/types/api-model/models/currency.d.ts +2 -2
  66. package/dist/types/api-model/models/deferred-context.d.ts +3 -3
  67. package/dist/types/api-model/models/error-list.d.ts +2 -2
  68. package/dist/types/api-model/models/item-related-identifier.d.ts +2 -2
  69. package/dist/types/api-model/models/item.d.ts +5 -5
  70. package/dist/types/api-model/models/list-transactions-response.d.ts +1 -1
  71. package/dist/types/api-model/models/marketplace-details.d.ts +2 -2
  72. package/dist/types/api-model/models/model-error.d.ts +2 -2
  73. package/dist/types/api-model/models/payments-context.d.ts +6 -6
  74. package/dist/types/api-model/models/product-context.d.ts +5 -5
  75. package/dist/types/api-model/models/related-identifier.d.ts +3 -3
  76. package/dist/types/api-model/models/selling-partner-metadata.d.ts +4 -4
  77. package/dist/types/api-model/models/time-range-context.d.ts +4 -4
  78. package/dist/types/api-model/models/transaction.d.ts +8 -8
  79. package/dist/types/api-model/models/transactions-payload.d.ts +3 -3
  80. package/package.json +5 -5
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/finances-api-2024-06-19)](https://www.npmjs.com/package/@sp-api-sdk/finances-api-2024-06-19)
4
4
  [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
5
5
 
6
- The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ The Selling Partner API for Finances provides financial information relevant to a seller's business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
 
8
8
  [<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
9
9
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -30,17 +30,17 @@ const FinancesApiAxiosParamCreator = function (configuration) {
30
30
  return {
31
31
  /**
32
32
  * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Usage plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
33
- * @param {string} postedAfter The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
34
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
33
+ * @param {string} [postedAfter] The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request. This field is required if you do not specify a related identifier.
34
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. **Default:** Two minutes before the time of the request.
35
35
  * @param {string} [marketplaceId] The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
36
36
  * @param {string} [transactionStatus] The status of the transaction. **Possible values:** * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.
37
- * @param {string} [nextToken] A string token returned in the response of your previous request.
37
+ * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;. **Possible values:** * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction. **Note:** FINANCIAL_EVENT_GROUP_ID is the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.
38
+ * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.
39
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
38
40
  * @param {*} [options] Override http request option.
39
41
  * @throws {RequiredError}
40
42
  */
41
- listTransactions: async (postedAfter, postedBefore, marketplaceId, transactionStatus, nextToken, options = {}) => {
42
- // verify required parameter 'postedAfter' is not null or undefined
43
- (0, common_1.assertParamExists)('listTransactions', 'postedAfter', postedAfter);
43
+ listTransactions: async (postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options = {}) => {
44
44
  const localVarPath = `/finances/2024-06-19/transactions`;
45
45
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
46
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -67,6 +67,12 @@ const FinancesApiAxiosParamCreator = function (configuration) {
67
67
  if (transactionStatus !== undefined) {
68
68
  localVarQueryParameter['transactionStatus'] = transactionStatus;
69
69
  }
70
+ if (relatedIdentifierName !== undefined) {
71
+ localVarQueryParameter['relatedIdentifierName'] = relatedIdentifierName;
72
+ }
73
+ if (relatedIdentifierValue !== undefined) {
74
+ localVarQueryParameter['relatedIdentifierValue'] = relatedIdentifierValue;
75
+ }
70
76
  if (nextToken !== undefined) {
71
77
  localVarQueryParameter['nextToken'] = nextToken;
72
78
  }
@@ -89,16 +95,18 @@ const FinancesApiFp = function (configuration) {
89
95
  return {
90
96
  /**
91
97
  * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Usage plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
92
- * @param {string} postedAfter The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
93
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
98
+ * @param {string} [postedAfter] The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request. This field is required if you do not specify a related identifier.
99
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. **Default:** Two minutes before the time of the request.
94
100
  * @param {string} [marketplaceId] The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
95
101
  * @param {string} [transactionStatus] The status of the transaction. **Possible values:** * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.
96
- * @param {string} [nextToken] A string token returned in the response of your previous request.
102
+ * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;. **Possible values:** * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction. **Note:** FINANCIAL_EVENT_GROUP_ID is the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.
103
+ * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.
104
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
97
105
  * @param {*} [options] Override http request option.
98
106
  * @throws {RequiredError}
99
107
  */
100
- async listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, nextToken, options) {
101
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, nextToken, options);
108
+ async listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options) {
109
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options);
102
110
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
103
111
  const localVarOperationServerBasePath = base_1.operationServerMap['FinancesApi.listTransactions']?.[localVarOperationServerIndex]?.url;
104
112
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -118,8 +126,8 @@ const FinancesApiFactory = function (configuration, basePath, axios) {
118
126
  * @param {*} [options] Override http request option.
119
127
  * @throws {RequiredError}
120
128
  */
121
- listTransactions(requestParameters, options) {
122
- return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.nextToken, options).then((request) => request(axios, basePath));
129
+ listTransactions(requestParameters = {}, options) {
130
+ return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.nextToken, options).then((request) => request(axios, basePath));
123
131
  },
124
132
  };
125
133
  };
@@ -134,8 +142,8 @@ class FinancesApi extends base_1.BaseAPI {
134
142
  * @param {*} [options] Override http request option.
135
143
  * @throws {RequiredError}
136
144
  */
137
- listTransactions(requestParameters, options) {
138
- return (0, exports.FinancesApiFp)(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
145
+ listTransactions(requestParameters = {}, options) {
146
+ return (0, exports.FinancesApiFp)(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
139
147
  }
140
148
  }
141
149
  exports.FinancesApi = FinancesApi;
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * The Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
7
7
  *
8
8
  * The version of the OpenAPI document: 2024-06-19
9
9
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -14,7 +14,7 @@
14
14
  import globalAxios from 'axios';
15
15
  // Some imports not used depending on template conditions
16
16
  // @ts-ignore
17
- import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, createRequestFunction } from '../common';
17
+ import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common';
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
20
20
  /**
@@ -24,17 +24,17 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
24
24
  return {
25
25
  /**
26
26
  * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Usage plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
27
- * @param {string} postedAfter The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
28
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
27
+ * @param {string} [postedAfter] The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request. This field is required if you do not specify a related identifier.
28
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. **Default:** Two minutes before the time of the request.
29
29
  * @param {string} [marketplaceId] The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
30
30
  * @param {string} [transactionStatus] The status of the transaction. **Possible values:** * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.
31
- * @param {string} [nextToken] A string token returned in the response of your previous request.
31
+ * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;. **Possible values:** * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction. **Note:** FINANCIAL_EVENT_GROUP_ID is the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.
32
+ * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.
33
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
32
34
  * @param {*} [options] Override http request option.
33
35
  * @throws {RequiredError}
34
36
  */
35
- listTransactions: async (postedAfter, postedBefore, marketplaceId, transactionStatus, nextToken, options = {}) => {
36
- // verify required parameter 'postedAfter' is not null or undefined
37
- assertParamExists('listTransactions', 'postedAfter', postedAfter);
37
+ listTransactions: async (postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options = {}) => {
38
38
  const localVarPath = `/finances/2024-06-19/transactions`;
39
39
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40
40
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -61,6 +61,12 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
61
61
  if (transactionStatus !== undefined) {
62
62
  localVarQueryParameter['transactionStatus'] = transactionStatus;
63
63
  }
64
+ if (relatedIdentifierName !== undefined) {
65
+ localVarQueryParameter['relatedIdentifierName'] = relatedIdentifierName;
66
+ }
67
+ if (relatedIdentifierValue !== undefined) {
68
+ localVarQueryParameter['relatedIdentifierValue'] = relatedIdentifierValue;
69
+ }
64
70
  if (nextToken !== undefined) {
65
71
  localVarQueryParameter['nextToken'] = nextToken;
66
72
  }
@@ -82,16 +88,18 @@ export const FinancesApiFp = function (configuration) {
82
88
  return {
83
89
  /**
84
90
  * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Usage plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
85
- * @param {string} postedAfter The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
86
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
91
+ * @param {string} [postedAfter] The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request. This field is required if you do not specify a related identifier.
92
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. **Default:** Two minutes before the time of the request.
87
93
  * @param {string} [marketplaceId] The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
88
94
  * @param {string} [transactionStatus] The status of the transaction. **Possible values:** * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.
89
- * @param {string} [nextToken] A string token returned in the response of your previous request.
95
+ * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;. **Possible values:** * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction. **Note:** FINANCIAL_EVENT_GROUP_ID is the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.
96
+ * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.
97
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
90
98
  * @param {*} [options] Override http request option.
91
99
  * @throws {RequiredError}
92
100
  */
93
- async listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, nextToken, options) {
94
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, nextToken, options);
101
+ async listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options) {
102
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options);
95
103
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
96
104
  const localVarOperationServerBasePath = operationServerMap['FinancesApi.listTransactions']?.[localVarOperationServerIndex]?.url;
97
105
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -110,8 +118,8 @@ export const FinancesApiFactory = function (configuration, basePath, axios) {
110
118
  * @param {*} [options] Override http request option.
111
119
  * @throws {RequiredError}
112
120
  */
113
- listTransactions(requestParameters, options) {
114
- return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.nextToken, options).then((request) => request(axios, basePath));
121
+ listTransactions(requestParameters = {}, options) {
122
+ return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.nextToken, options).then((request) => request(axios, basePath));
115
123
  },
116
124
  };
117
125
  };
@@ -125,7 +133,7 @@ export class FinancesApi extends BaseAPI {
125
133
  * @param {*} [options] Override http request option.
126
134
  * @throws {RequiredError}
127
135
  */
128
- listTransactions(requestParameters, options) {
129
- return FinancesApiFp(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
136
+ listTransactions(requestParameters = {}, options) {
137
+ return FinancesApiFp(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
130
138
  }
131
139
  }
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * The Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
5
+ * The Selling Partner API for Finances provides financial information relevant to a seller\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.
6
6
  *
7
7
  * The version of the OpenAPI document: 2024-06-19
8
8
  *