@sp-api-sdk/seller-wallet-api-2024-03-01 1.5.2 → 2.0.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 (155) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +1252 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +1894 -0
  5. package/dist/index.d.ts +1894 -0
  6. package/dist/index.js +1195 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/seller-wallet-api.js +0 -981
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/balance-listing.js +0 -15
  16. package/dist/cjs/api-model/models/balance-type.js +0 -25
  17. package/dist/cjs/api-model/models/balance.js +0 -15
  18. package/dist/cjs/api-model/models/bank-account-holder-status.js +0 -25
  19. package/dist/cjs/api-model/models/bank-account-listing.js +0 -15
  20. package/dist/cjs/api-model/models/bank-account-number-format.js +0 -23
  21. package/dist/cjs/api-model/models/bank-account-ownership-type.js +0 -23
  22. package/dist/cjs/api-model/models/bank-account.js +0 -15
  23. package/dist/cjs/api-model/models/bank-number-format.js +0 -23
  24. package/dist/cjs/api-model/models/create-transaction-response.js +0 -15
  25. package/dist/cjs/api-model/models/currency.js +0 -15
  26. package/dist/cjs/api-model/models/delete-transfer-schedule.js +0 -15
  27. package/dist/cjs/api-model/models/error-list.js +0 -15
  28. package/dist/cjs/api-model/models/fee-type.js +0 -24
  29. package/dist/cjs/api-model/models/fee.js +0 -15
  30. package/dist/cjs/api-model/models/fx-rate-details.js +0 -15
  31. package/dist/cjs/api-model/models/index.js +0 -56
  32. package/dist/cjs/api-model/models/model-error.js +0 -15
  33. package/dist/cjs/api-model/models/payee-contact-information.js +0 -15
  34. package/dist/cjs/api-model/models/payee-entity-type.js +0 -24
  35. package/dist/cjs/api-model/models/payment-preference-payment-type.js +0 -23
  36. package/dist/cjs/api-model/models/payment-preference.js +0 -15
  37. package/dist/cjs/api-model/models/rate-direction.js +0 -23
  38. package/dist/cjs/api-model/models/recurring-frequency.js +0 -25
  39. package/dist/cjs/api-model/models/schedule-expression-type.js +0 -23
  40. package/dist/cjs/api-model/models/schedule-expression.js +0 -15
  41. package/dist/cjs/api-model/models/schedule-transfer-type.js +0 -22
  42. package/dist/cjs/api-model/models/transaction-account.js +0 -15
  43. package/dist/cjs/api-model/models/transaction-initiation-request.js +0 -15
  44. package/dist/cjs/api-model/models/transaction-instrument-details.js +0 -15
  45. package/dist/cjs/api-model/models/transaction-listing.js +0 -15
  46. package/dist/cjs/api-model/models/transaction-status.js +0 -27
  47. package/dist/cjs/api-model/models/transaction-type.js +0 -23
  48. package/dist/cjs/api-model/models/transaction.js +0 -15
  49. package/dist/cjs/api-model/models/transfer-rate-preview.js +0 -15
  50. package/dist/cjs/api-model/models/transfer-schedule-failures.js +0 -15
  51. package/dist/cjs/api-model/models/transfer-schedule-information.js +0 -15
  52. package/dist/cjs/api-model/models/transfer-schedule-listing.js +0 -15
  53. package/dist/cjs/api-model/models/transfer-schedule-request.js +0 -15
  54. package/dist/cjs/api-model/models/transfer-schedule-status.js +0 -25
  55. package/dist/cjs/api-model/models/transfer-schedule.js +0 -15
  56. package/dist/cjs/client.js +0 -13
  57. package/dist/cjs/index.js +0 -19
  58. package/dist/es/api-model/api/seller-wallet-api.js +0 -971
  59. package/dist/es/api-model/api.js +0 -14
  60. package/dist/es/api-model/base.js +0 -44
  61. package/dist/es/api-model/common.js +0 -110
  62. package/dist/es/api-model/configuration.js +0 -94
  63. package/dist/es/api-model/index.js +0 -16
  64. package/dist/es/api-model/models/balance-listing.js +0 -14
  65. package/dist/es/api-model/models/balance-type.js +0 -22
  66. package/dist/es/api-model/models/balance.js +0 -14
  67. package/dist/es/api-model/models/bank-account-holder-status.js +0 -22
  68. package/dist/es/api-model/models/bank-account-listing.js +0 -14
  69. package/dist/es/api-model/models/bank-account-number-format.js +0 -20
  70. package/dist/es/api-model/models/bank-account-ownership-type.js +0 -20
  71. package/dist/es/api-model/models/bank-account.js +0 -14
  72. package/dist/es/api-model/models/bank-number-format.js +0 -20
  73. package/dist/es/api-model/models/create-transaction-response.js +0 -14
  74. package/dist/es/api-model/models/currency.js +0 -14
  75. package/dist/es/api-model/models/delete-transfer-schedule.js +0 -14
  76. package/dist/es/api-model/models/error-list.js +0 -14
  77. package/dist/es/api-model/models/fee-type.js +0 -21
  78. package/dist/es/api-model/models/fee.js +0 -14
  79. package/dist/es/api-model/models/fx-rate-details.js +0 -14
  80. package/dist/es/api-model/models/index.js +0 -40
  81. package/dist/es/api-model/models/model-error.js +0 -14
  82. package/dist/es/api-model/models/payee-contact-information.js +0 -14
  83. package/dist/es/api-model/models/payee-entity-type.js +0 -21
  84. package/dist/es/api-model/models/payment-preference-payment-type.js +0 -20
  85. package/dist/es/api-model/models/payment-preference.js +0 -14
  86. package/dist/es/api-model/models/rate-direction.js +0 -20
  87. package/dist/es/api-model/models/recurring-frequency.js +0 -22
  88. package/dist/es/api-model/models/schedule-expression-type.js +0 -20
  89. package/dist/es/api-model/models/schedule-expression.js +0 -14
  90. package/dist/es/api-model/models/schedule-transfer-type.js +0 -19
  91. package/dist/es/api-model/models/transaction-account.js +0 -14
  92. package/dist/es/api-model/models/transaction-initiation-request.js +0 -14
  93. package/dist/es/api-model/models/transaction-instrument-details.js +0 -14
  94. package/dist/es/api-model/models/transaction-listing.js +0 -14
  95. package/dist/es/api-model/models/transaction-status.js +0 -24
  96. package/dist/es/api-model/models/transaction-type.js +0 -20
  97. package/dist/es/api-model/models/transaction.js +0 -14
  98. package/dist/es/api-model/models/transfer-rate-preview.js +0 -14
  99. package/dist/es/api-model/models/transfer-schedule-failures.js +0 -14
  100. package/dist/es/api-model/models/transfer-schedule-information.js +0 -14
  101. package/dist/es/api-model/models/transfer-schedule-listing.js +0 -14
  102. package/dist/es/api-model/models/transfer-schedule-request.js +0 -14
  103. package/dist/es/api-model/models/transfer-schedule-status.js +0 -22
  104. package/dist/es/api-model/models/transfer-schedule.js +0 -14
  105. package/dist/es/client.js +0 -9
  106. package/dist/es/index.js +0 -3
  107. package/dist/types/api-model/api/seller-wallet-api.d.ts +0 -677
  108. package/dist/types/api-model/api.d.ts +0 -12
  109. package/dist/types/api-model/base.d.ts +0 -42
  110. package/dist/types/api-model/common.d.ts +0 -34
  111. package/dist/types/api-model/configuration.d.ts +0 -98
  112. package/dist/types/api-model/index.d.ts +0 -14
  113. package/dist/types/api-model/models/balance-listing.d.ts +0 -21
  114. package/dist/types/api-model/models/balance-type.d.ts +0 -21
  115. package/dist/types/api-model/models/balance.d.ts +0 -34
  116. package/dist/types/api-model/models/bank-account-holder-status.d.ts +0 -21
  117. package/dist/types/api-model/models/bank-account-listing.d.ts +0 -21
  118. package/dist/types/api-model/models/bank-account-number-format.d.ts +0 -19
  119. package/dist/types/api-model/models/bank-account-ownership-type.d.ts +0 -19
  120. package/dist/types/api-model/models/bank-account.d.ts +0 -52
  121. package/dist/types/api-model/models/bank-number-format.d.ts +0 -19
  122. package/dist/types/api-model/models/create-transaction-response.d.ts +0 -22
  123. package/dist/types/api-model/models/currency.d.ts +0 -24
  124. package/dist/types/api-model/models/delete-transfer-schedule.d.ts +0 -28
  125. package/dist/types/api-model/models/error-list.d.ts +0 -20
  126. package/dist/types/api-model/models/fee-type.d.ts +0 -20
  127. package/dist/types/api-model/models/fee.d.ts +0 -28
  128. package/dist/types/api-model/models/fx-rate-details.d.ts +0 -30
  129. package/dist/types/api-model/models/index.d.ts +0 -40
  130. package/dist/types/api-model/models/model-error.d.ts +0 -28
  131. package/dist/types/api-model/models/payee-contact-information.d.ts +0 -66
  132. package/dist/types/api-model/models/payee-entity-type.d.ts +0 -20
  133. package/dist/types/api-model/models/payment-preference-payment-type.d.ts +0 -19
  134. package/dist/types/api-model/models/payment-preference.d.ts +0 -22
  135. package/dist/types/api-model/models/rate-direction.d.ts +0 -19
  136. package/dist/types/api-model/models/recurring-frequency.d.ts +0 -21
  137. package/dist/types/api-model/models/schedule-expression-type.d.ts +0 -19
  138. package/dist/types/api-model/models/schedule-expression.d.ts +0 -20
  139. package/dist/types/api-model/models/schedule-transfer-type.d.ts +0 -18
  140. package/dist/types/api-model/models/transaction-account.d.ts +0 -42
  141. package/dist/types/api-model/models/transaction-initiation-request.d.ts +0 -44
  142. package/dist/types/api-model/models/transaction-instrument-details.d.ts +0 -26
  143. package/dist/types/api-model/models/transaction-listing.d.ts +0 -25
  144. package/dist/types/api-model/models/transaction-status.d.ts +0 -23
  145. package/dist/types/api-model/models/transaction-type.d.ts +0 -19
  146. package/dist/types/api-model/models/transaction.d.ts +0 -68
  147. package/dist/types/api-model/models/transfer-rate-preview.d.ts +0 -26
  148. package/dist/types/api-model/models/transfer-schedule-failures.d.ts +0 -24
  149. package/dist/types/api-model/models/transfer-schedule-information.d.ts +0 -28
  150. package/dist/types/api-model/models/transfer-schedule-listing.d.ts +0 -25
  151. package/dist/types/api-model/models/transfer-schedule-request.d.ts +0 -38
  152. package/dist/types/api-model/models/transfer-schedule-status.d.ts +0 -21
  153. package/dist/types/api-model/models/transfer-schedule.d.ts +0 -36
  154. package/dist/types/client.d.ts +0 -6
  155. package/dist/types/index.d.ts +0 -3
@@ -1,677 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import globalAxios from 'axios';
15
- import { type RequestArgs, BaseAPI } from '../base';
16
- import type { BalanceListing } from '../models';
17
- import type { BankAccount } from '../models';
18
- import type { BankAccountListing } from '../models';
19
- import type { CreateTransactionResponse } from '../models';
20
- import type { DeleteTransferSchedule } from '../models';
21
- import type { Transaction } from '../models';
22
- import type { TransactionInitiationRequest } from '../models';
23
- import type { TransactionListing } from '../models';
24
- import type { TransferRatePreview } from '../models';
25
- import type { TransferSchedule } from '../models';
26
- import type { TransferScheduleListing } from '../models';
27
- import type { TransferScheduleRequest } from '../models';
28
- /**
29
- * SellerWalletApi - axios parameter creator
30
- */
31
- export declare const SellerWalletApiAxiosParamCreator: (configuration?: Configuration) => {
32
- /**
33
- * Create a transaction request from a Seller Wallet account to another customer-provided account.
34
- * @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
35
- * @param {string} destAccountDigitalSignature Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
36
- * @param {string} amountDigitalSignature Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
37
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
38
- * @param {TransactionInitiationRequest} body The payload of the request
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- createTransaction: (destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransactionInitiationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
- /**
44
- * Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
45
- * @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
46
- * @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
47
- * @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
48
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
49
- * @param {TransferScheduleRequest} body The payload of the request.
50
- * @param {*} [options] Override http request option.
51
- * @throws {RequiredError}
52
- */
53
- createTransferSchedule: (destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferScheduleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
- /**
55
- * Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
56
- * @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
57
- * @param {string} transferScheduleId A unique reference ID for a scheduled transfer.
58
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
59
- * @param {*} [options] Override http request option.
60
- * @throws {RequiredError}
61
- */
62
- deleteScheduleTransaction: (transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
- /**
64
- * Retrieve a Seller Wallet bank account by Amazon account identifier.
65
- * @summary Find particular Amazon Seller Wallet account by Amazon account identifier
66
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
67
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
68
- * @param {*} [options] Override http request option.
69
- * @throws {RequiredError}
70
- */
71
- getAccount: (accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
72
- /**
73
- * Find a transaction by the Amazon transaction identifier.
74
- * @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
75
- * @param {string} transactionId The ID of the Amazon Seller Wallet transaction.
76
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
77
- * @param {*} [options] Override http request option.
78
- * @throws {RequiredError}
79
- */
80
- getTransaction: (transactionId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
81
- /**
82
- * Retrieve a list of potential fees on a transaction.
83
- * @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
84
- * @param {string} sourceCountryCode Country code of the source transaction account in ISO 3166 format.
85
- * @param {string} sourceCurrencyCode Currency code of the source transaction country in ISO 4217 format.
86
- * @param {string} destinationCountryCode Country code of the destination transaction account in ISO 3166 format.
87
- * @param {string} destinationCurrencyCode Currency code of the destination transaction country in ISO 4217 format.
88
- * @param {number} baseAmount The base transaction amount without any markup fees.
89
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
90
- * @param {*} [options] Override http request option.
91
- * @throws {RequiredError}
92
- */
93
- getTransferPreview: (sourceCountryCode: string, sourceCurrencyCode: string, destinationCountryCode: string, destinationCurrencyCode: string, baseAmount: number, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
94
- /**
95
- * Find a particular Amazon Seller Wallet account transfer schedule.
96
- * @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
97
- * @param {string} transferScheduleId The schedule ID of the Amazon Seller Wallet transfer.
98
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- getTransferSchedule: (transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
- /**
104
- * Retrieve the balance in a given Seller Wallet bank account.
105
- * @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
106
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
107
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
108
- * @param {*} [options] Override http request option.
109
- * @throws {RequiredError}
110
- */
111
- listAccountBalances: (accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
- /**
113
- * Retrieve a list of transactions for a given Seller Wallet bank account.
114
- * @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
115
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
116
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
117
- * @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes &#x60;nextPageToken&#x60; when the number of results exceeds 100. 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;nextPageToken&#x60; is null. Note that this operation can return empty pages.
118
- * @param {*} [options] Override http request option.
119
- * @throws {RequiredError}
120
- */
121
- listAccountTransactions: (accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
122
- /**
123
- * Get Seller Wallet accounts for a seller.
124
- * @summary Get all Amazon Seller Wallet accounts for the seller
125
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
126
- * @param {*} [options] Override http request option.
127
- * @throws {RequiredError}
128
- */
129
- listAccounts: (marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
130
- /**
131
- * Retrieve transfer schedules of a Seller Wallet bank account.
132
- * @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
133
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
134
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
135
- * @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes &#x60;nextPageToken&#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;nextPageToken&#x60; is null. Note that this operation can return empty pages.
136
- * @param {*} [options] Override http request option.
137
- * @throws {RequiredError}
138
- */
139
- listTransferSchedules: (accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
140
- /**
141
- * Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
142
- * @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
143
- * @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
144
- * @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
145
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
146
- * @param {TransferSchedule} body The payload of the scheduled transfer request that is to be updated.
147
- * @param {*} [options] Override http request option.
148
- * @throws {RequiredError}
149
- */
150
- updateTransferSchedule: (destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferSchedule, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
151
- };
152
- /**
153
- * SellerWalletApi - functional programming interface
154
- */
155
- export declare const SellerWalletApiFp: (configuration?: Configuration) => {
156
- /**
157
- * Create a transaction request from a Seller Wallet account to another customer-provided account.
158
- * @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
159
- * @param {string} destAccountDigitalSignature Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
160
- * @param {string} amountDigitalSignature Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
161
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
162
- * @param {TransactionInitiationRequest} body The payload of the request
163
- * @param {*} [options] Override http request option.
164
- * @throws {RequiredError}
165
- */
166
- createTransaction(destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransactionInitiationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTransactionResponse>>;
167
- /**
168
- * Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
169
- * @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
170
- * @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
171
- * @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
172
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
173
- * @param {TransferScheduleRequest} body The payload of the request.
174
- * @param {*} [options] Override http request option.
175
- * @throws {RequiredError}
176
- */
177
- createTransferSchedule(destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
178
- /**
179
- * Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
180
- * @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
181
- * @param {string} transferScheduleId A unique reference ID for a scheduled transfer.
182
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- */
186
- deleteScheduleTransaction(transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteTransferSchedule>>;
187
- /**
188
- * Retrieve a Seller Wallet bank account by Amazon account identifier.
189
- * @summary Find particular Amazon Seller Wallet account by Amazon account identifier
190
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
191
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
192
- * @param {*} [options] Override http request option.
193
- * @throws {RequiredError}
194
- */
195
- getAccount(accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccount>>;
196
- /**
197
- * Find a transaction by the Amazon transaction identifier.
198
- * @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
199
- * @param {string} transactionId The ID of the Amazon Seller Wallet transaction.
200
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
201
- * @param {*} [options] Override http request option.
202
- * @throws {RequiredError}
203
- */
204
- getTransaction(transactionId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Transaction>>;
205
- /**
206
- * Retrieve a list of potential fees on a transaction.
207
- * @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
208
- * @param {string} sourceCountryCode Country code of the source transaction account in ISO 3166 format.
209
- * @param {string} sourceCurrencyCode Currency code of the source transaction country in ISO 4217 format.
210
- * @param {string} destinationCountryCode Country code of the destination transaction account in ISO 3166 format.
211
- * @param {string} destinationCurrencyCode Currency code of the destination transaction country in ISO 4217 format.
212
- * @param {number} baseAmount The base transaction amount without any markup fees.
213
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
214
- * @param {*} [options] Override http request option.
215
- * @throws {RequiredError}
216
- */
217
- getTransferPreview(sourceCountryCode: string, sourceCurrencyCode: string, destinationCountryCode: string, destinationCurrencyCode: string, baseAmount: number, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferRatePreview>>;
218
- /**
219
- * Find a particular Amazon Seller Wallet account transfer schedule.
220
- * @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
221
- * @param {string} transferScheduleId The schedule ID of the Amazon Seller Wallet transfer.
222
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
223
- * @param {*} [options] Override http request option.
224
- * @throws {RequiredError}
225
- */
226
- getTransferSchedule(transferScheduleId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
227
- /**
228
- * Retrieve the balance in a given Seller Wallet bank account.
229
- * @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
230
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
231
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
232
- * @param {*} [options] Override http request option.
233
- * @throws {RequiredError}
234
- */
235
- listAccountBalances(accountId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BalanceListing>>;
236
- /**
237
- * Retrieve a list of transactions for a given Seller Wallet bank account.
238
- * @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
239
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
240
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
241
- * @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes &#x60;nextPageToken&#x60; when the number of results exceeds 100. 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;nextPageToken&#x60; is null. Note that this operation can return empty pages.
242
- * @param {*} [options] Override http request option.
243
- * @throws {RequiredError}
244
- */
245
- listAccountTransactions(accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionListing>>;
246
- /**
247
- * Get Seller Wallet accounts for a seller.
248
- * @summary Get all Amazon Seller Wallet accounts for the seller
249
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
250
- * @param {*} [options] Override http request option.
251
- * @throws {RequiredError}
252
- */
253
- listAccounts(marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountListing>>;
254
- /**
255
- * Retrieve transfer schedules of a Seller Wallet bank account.
256
- * @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
257
- * @param {string} accountId The ID of the Amazon Seller Wallet account.
258
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
259
- * @param {string} [nextPageToken] A token that you use to retrieve the next page of results. The response includes &#x60;nextPageToken&#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;nextPageToken&#x60; is null. Note that this operation can return empty pages.
260
- * @param {*} [options] Override http request option.
261
- * @throws {RequiredError}
262
- */
263
- listTransferSchedules(accountId: string, marketplaceId: string, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferScheduleListing>>;
264
- /**
265
- * Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
266
- * @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
267
- * @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
268
- * @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
269
- * @param {string} marketplaceId The marketplace for which items are returned. 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).
270
- * @param {TransferSchedule} body The payload of the scheduled transfer request that is to be updated.
271
- * @param {*} [options] Override http request option.
272
- * @throws {RequiredError}
273
- */
274
- updateTransferSchedule(destAccountDigitalSignature: string, amountDigitalSignature: string, marketplaceId: string, body: TransferSchedule, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferSchedule>>;
275
- };
276
- /**
277
- * SellerWalletApi - factory interface
278
- */
279
- export declare const SellerWalletApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
280
- /**
281
- * Create a transaction request from a Seller Wallet account to another customer-provided account.
282
- * @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
283
- * @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
284
- * @param {*} [options] Override http request option.
285
- * @throws {RequiredError}
286
- */
287
- createTransaction(requestParameters: SellerWalletApiCreateTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateTransactionResponse>;
288
- /**
289
- * Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
290
- * @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
291
- * @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
292
- * @param {*} [options] Override http request option.
293
- * @throws {RequiredError}
294
- */
295
- createTransferSchedule(requestParameters: SellerWalletApiCreateTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
296
- /**
297
- * Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
298
- * @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
299
- * @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
300
- * @param {*} [options] Override http request option.
301
- * @throws {RequiredError}
302
- */
303
- deleteScheduleTransaction(requestParameters: SellerWalletApiDeleteScheduleTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteTransferSchedule>;
304
- /**
305
- * Retrieve a Seller Wallet bank account by Amazon account identifier.
306
- * @summary Find particular Amazon Seller Wallet account by Amazon account identifier
307
- * @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
308
- * @param {*} [options] Override http request option.
309
- * @throws {RequiredError}
310
- */
311
- getAccount(requestParameters: SellerWalletApiGetAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<BankAccount>;
312
- /**
313
- * Find a transaction by the Amazon transaction identifier.
314
- * @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
315
- * @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
316
- * @param {*} [options] Override http request option.
317
- * @throws {RequiredError}
318
- */
319
- getTransaction(requestParameters: SellerWalletApiGetTransactionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Transaction>;
320
- /**
321
- * Retrieve a list of potential fees on a transaction.
322
- * @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
323
- * @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
324
- * @param {*} [options] Override http request option.
325
- * @throws {RequiredError}
326
- */
327
- getTransferPreview(requestParameters: SellerWalletApiGetTransferPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferRatePreview>;
328
- /**
329
- * Find a particular Amazon Seller Wallet account transfer schedule.
330
- * @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
331
- * @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
332
- * @param {*} [options] Override http request option.
333
- * @throws {RequiredError}
334
- */
335
- getTransferSchedule(requestParameters: SellerWalletApiGetTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
336
- /**
337
- * Retrieve the balance in a given Seller Wallet bank account.
338
- * @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
339
- * @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
340
- * @param {*} [options] Override http request option.
341
- * @throws {RequiredError}
342
- */
343
- listAccountBalances(requestParameters: SellerWalletApiListAccountBalancesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BalanceListing>;
344
- /**
345
- * Retrieve a list of transactions for a given Seller Wallet bank account.
346
- * @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
347
- * @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
348
- * @param {*} [options] Override http request option.
349
- * @throws {RequiredError}
350
- */
351
- listAccountTransactions(requestParameters: SellerWalletApiListAccountTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionListing>;
352
- /**
353
- * Get Seller Wallet accounts for a seller.
354
- * @summary Get all Amazon Seller Wallet accounts for the seller
355
- * @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
356
- * @param {*} [options] Override http request option.
357
- * @throws {RequiredError}
358
- */
359
- listAccounts(requestParameters: SellerWalletApiListAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BankAccountListing>;
360
- /**
361
- * Retrieve transfer schedules of a Seller Wallet bank account.
362
- * @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
363
- * @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
364
- * @param {*} [options] Override http request option.
365
- * @throws {RequiredError}
366
- */
367
- listTransferSchedules(requestParameters: SellerWalletApiListTransferSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferScheduleListing>;
368
- /**
369
- * Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
370
- * @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
371
- * @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
372
- * @param {*} [options] Override http request option.
373
- * @throws {RequiredError}
374
- */
375
- updateTransferSchedule(requestParameters: SellerWalletApiUpdateTransferScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransferSchedule>;
376
- };
377
- /**
378
- * Request parameters for createTransaction operation in SellerWalletApi.
379
- */
380
- export interface SellerWalletApiCreateTransactionRequest {
381
- /**
382
- * Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
383
- */
384
- readonly destAccountDigitalSignature: string;
385
- /**
386
- * Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
387
- */
388
- readonly amountDigitalSignature: string;
389
- /**
390
- * The marketplace for which items are returned. 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).
391
- */
392
- readonly marketplaceId: string;
393
- /**
394
- * The payload of the request
395
- */
396
- readonly body: TransactionInitiationRequest;
397
- }
398
- /**
399
- * Request parameters for createTransferSchedule operation in SellerWalletApi.
400
- */
401
- export interface SellerWalletApiCreateTransferScheduleRequest {
402
- /**
403
- * Digital signature for the destination bank account details.
404
- */
405
- readonly destAccountDigitalSignature: string;
406
- /**
407
- * Digital signature for the source currency transaction amount.
408
- */
409
- readonly amountDigitalSignature: string;
410
- /**
411
- * The marketplace for which items are returned. 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).
412
- */
413
- readonly marketplaceId: string;
414
- /**
415
- * The payload of the request.
416
- */
417
- readonly body: TransferScheduleRequest;
418
- }
419
- /**
420
- * Request parameters for deleteScheduleTransaction operation in SellerWalletApi.
421
- */
422
- export interface SellerWalletApiDeleteScheduleTransactionRequest {
423
- /**
424
- * A unique reference ID for a scheduled transfer.
425
- */
426
- readonly transferScheduleId: string;
427
- /**
428
- * The marketplace for which items are returned. 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).
429
- */
430
- readonly marketplaceId: string;
431
- }
432
- /**
433
- * Request parameters for getAccount operation in SellerWalletApi.
434
- */
435
- export interface SellerWalletApiGetAccountRequest {
436
- /**
437
- * The ID of the Amazon Seller Wallet account.
438
- */
439
- readonly accountId: string;
440
- /**
441
- * The marketplace for which items are returned. 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).
442
- */
443
- readonly marketplaceId: string;
444
- }
445
- /**
446
- * Request parameters for getTransaction operation in SellerWalletApi.
447
- */
448
- export interface SellerWalletApiGetTransactionRequest {
449
- /**
450
- * The ID of the Amazon Seller Wallet transaction.
451
- */
452
- readonly transactionId: string;
453
- /**
454
- * The marketplace for which items are returned. 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).
455
- */
456
- readonly marketplaceId: string;
457
- }
458
- /**
459
- * Request parameters for getTransferPreview operation in SellerWalletApi.
460
- */
461
- export interface SellerWalletApiGetTransferPreviewRequest {
462
- /**
463
- * Country code of the source transaction account in ISO 3166 format.
464
- */
465
- readonly sourceCountryCode: string;
466
- /**
467
- * Currency code of the source transaction country in ISO 4217 format.
468
- */
469
- readonly sourceCurrencyCode: string;
470
- /**
471
- * Country code of the destination transaction account in ISO 3166 format.
472
- */
473
- readonly destinationCountryCode: string;
474
- /**
475
- * Currency code of the destination transaction country in ISO 4217 format.
476
- */
477
- readonly destinationCurrencyCode: string;
478
- /**
479
- * The base transaction amount without any markup fees.
480
- */
481
- readonly baseAmount: number;
482
- /**
483
- * The marketplace for which items are returned. 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).
484
- */
485
- readonly marketplaceId: string;
486
- }
487
- /**
488
- * Request parameters for getTransferSchedule operation in SellerWalletApi.
489
- */
490
- export interface SellerWalletApiGetTransferScheduleRequest {
491
- /**
492
- * The schedule ID of the Amazon Seller Wallet transfer.
493
- */
494
- readonly transferScheduleId: string;
495
- /**
496
- * The marketplace for which items are returned. 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).
497
- */
498
- readonly marketplaceId: string;
499
- }
500
- /**
501
- * Request parameters for listAccountBalances operation in SellerWalletApi.
502
- */
503
- export interface SellerWalletApiListAccountBalancesRequest {
504
- /**
505
- * The ID of the Amazon Seller Wallet account.
506
- */
507
- readonly accountId: string;
508
- /**
509
- * The marketplace for which items are returned. 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).
510
- */
511
- readonly marketplaceId: string;
512
- }
513
- /**
514
- * Request parameters for listAccountTransactions operation in SellerWalletApi.
515
- */
516
- export interface SellerWalletApiListAccountTransactionsRequest {
517
- /**
518
- * The ID of the Amazon Seller Wallet account.
519
- */
520
- readonly accountId: string;
521
- /**
522
- * The marketplace for which items are returned. 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).
523
- */
524
- readonly marketplaceId: string;
525
- /**
526
- * A token that you use to retrieve the next page of results. The response includes &#x60;nextPageToken&#x60; when the number of results exceeds 100. 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;nextPageToken&#x60; is null. Note that this operation can return empty pages.
527
- */
528
- readonly nextPageToken?: string;
529
- }
530
- /**
531
- * Request parameters for listAccounts operation in SellerWalletApi.
532
- */
533
- export interface SellerWalletApiListAccountsRequest {
534
- /**
535
- * The marketplace for which items are returned. 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).
536
- */
537
- readonly marketplaceId: string;
538
- }
539
- /**
540
- * Request parameters for listTransferSchedules operation in SellerWalletApi.
541
- */
542
- export interface SellerWalletApiListTransferSchedulesRequest {
543
- /**
544
- * The ID of the Amazon Seller Wallet account.
545
- */
546
- readonly accountId: string;
547
- /**
548
- * The marketplace for which items are returned. 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).
549
- */
550
- readonly marketplaceId: string;
551
- /**
552
- * A token that you use to retrieve the next page of results. The response includes &#x60;nextPageToken&#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;nextPageToken&#x60; is null. Note that this operation can return empty pages.
553
- */
554
- readonly nextPageToken?: string;
555
- }
556
- /**
557
- * Request parameters for updateTransferSchedule operation in SellerWalletApi.
558
- */
559
- export interface SellerWalletApiUpdateTransferScheduleRequest {
560
- /**
561
- * Digital signature for the destination bank account details.
562
- */
563
- readonly destAccountDigitalSignature: string;
564
- /**
565
- * Digital signature for the source currency transaction amount.
566
- */
567
- readonly amountDigitalSignature: string;
568
- /**
569
- * The marketplace for which items are returned. 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).
570
- */
571
- readonly marketplaceId: string;
572
- /**
573
- * The payload of the scheduled transfer request that is to be updated.
574
- */
575
- readonly body: TransferSchedule;
576
- }
577
- /**
578
- * SellerWalletApi - object-oriented interface
579
- */
580
- export declare class SellerWalletApi extends BaseAPI {
581
- /**
582
- * Create a transaction request from a Seller Wallet account to another customer-provided account.
583
- * @summary Create a transaction request from Amazon Seller Wallet account to another customer-provided account
584
- * @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
585
- * @param {*} [options] Override http request option.
586
- * @throws {RequiredError}
587
- */
588
- createTransaction(requestParameters: SellerWalletApiCreateTransactionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateTransactionResponse, any, {}>>;
589
- /**
590
- * Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
591
- * @summary Create a transfer schedule request from Amazon Seller Wallet account to another customer-provided account
592
- * @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
593
- * @param {*} [options] Override http request option.
594
- * @throws {RequiredError}
595
- */
596
- createTransferSchedule(requestParameters: SellerWalletApiCreateTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferSchedule, any, {}>>;
597
- /**
598
- * Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
599
- * @summary Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account
600
- * @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
601
- * @param {*} [options] Override http request option.
602
- * @throws {RequiredError}
603
- */
604
- deleteScheduleTransaction(requestParameters: SellerWalletApiDeleteScheduleTransactionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteTransferSchedule, any, {}>>;
605
- /**
606
- * Retrieve a Seller Wallet bank account by Amazon account identifier.
607
- * @summary Find particular Amazon Seller Wallet account by Amazon account identifier
608
- * @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
609
- * @param {*} [options] Override http request option.
610
- * @throws {RequiredError}
611
- */
612
- getAccount(requestParameters: SellerWalletApiGetAccountRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BankAccount, any, {}>>;
613
- /**
614
- * Find a transaction by the Amazon transaction identifier.
615
- * @summary Find particular Amazon Seller Wallet account transaction by Amazon transaction identifier
616
- * @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
617
- * @param {*} [options] Override http request option.
618
- * @throws {RequiredError}
619
- */
620
- getTransaction(requestParameters: SellerWalletApiGetTransactionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Transaction, any, {}>>;
621
- /**
622
- * Retrieve a list of potential fees on a transaction.
623
- * @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
624
- * @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
625
- * @param {*} [options] Override http request option.
626
- * @throws {RequiredError}
627
- */
628
- getTransferPreview(requestParameters: SellerWalletApiGetTransferPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferRatePreview, any, {}>>;
629
- /**
630
- * Find a particular Amazon Seller Wallet account transfer schedule.
631
- * @summary Find particular Amazon Seller Wallet account transfer schedule by Amazon transfer schedule identifier
632
- * @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
633
- * @param {*} [options] Override http request option.
634
- * @throws {RequiredError}
635
- */
636
- getTransferSchedule(requestParameters: SellerWalletApiGetTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferSchedule, any, {}>>;
637
- /**
638
- * Retrieve the balance in a given Seller Wallet bank account.
639
- * @summary Find balance in particular Amazon Seller Wallet account by Amazon account identifier
640
- * @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
641
- * @param {*} [options] Override http request option.
642
- * @throws {RequiredError}
643
- */
644
- listAccountBalances(requestParameters: SellerWalletApiListAccountBalancesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BalanceListing, any, {}>>;
645
- /**
646
- * Retrieve a list of transactions for a given Seller Wallet bank account.
647
- * @summary The API will return all the transactions for a given Amazon Seller Wallet account sorted by the transaction request date
648
- * @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
649
- * @param {*} [options] Override http request option.
650
- * @throws {RequiredError}
651
- */
652
- listAccountTransactions(requestParameters: SellerWalletApiListAccountTransactionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransactionListing, any, {}>>;
653
- /**
654
- * Get Seller Wallet accounts for a seller.
655
- * @summary Get all Amazon Seller Wallet accounts for the seller
656
- * @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
657
- * @param {*} [options] Override http request option.
658
- * @throws {RequiredError}
659
- */
660
- listAccounts(requestParameters: SellerWalletApiListAccountsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BankAccountListing, any, {}>>;
661
- /**
662
- * Retrieve transfer schedules of a Seller Wallet bank account.
663
- * @summary The API will return all the transfer schedules for a given Amazon Seller Wallet account
664
- * @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
665
- * @param {*} [options] Override http request option.
666
- * @throws {RequiredError}
667
- */
668
- listTransferSchedules(requestParameters: SellerWalletApiListTransferSchedulesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferScheduleListing, any, {}>>;
669
- /**
670
- * Update transfer schedule information. Returns a transfer belonging to the updated scheduled transfer request.
671
- * @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
672
- * @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
673
- * @param {*} [options] Override http request option.
674
- * @throws {RequiredError}
675
- */
676
- updateTransferSchedule(requestParameters: SellerWalletApiUpdateTransferScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TransferSchedule, any, {}>>;
677
- }