@sp-api-sdk/seller-wallet-api-2024-03-01 1.1.0 → 1.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.
- package/README.md +1 -8
- package/dist/cjs/api-model/api/seller-wallet-api.js +126 -144
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/api-model/base.js +1 -20
- package/dist/cjs/api-model/common.js +1 -38
- package/dist/cjs/api-model/configuration.js +1 -18
- package/dist/cjs/api-model/index.js +1 -1
- package/dist/cjs/api-model/models/account-holder-address.js +1 -1
- package/dist/cjs/api-model/models/balance-listing.js +1 -1
- package/dist/cjs/api-model/models/balance-type.js +2 -4
- package/dist/cjs/api-model/models/balance.js +1 -1
- package/dist/cjs/api-model/models/bank-account-holder-status.js +2 -4
- package/dist/cjs/api-model/models/bank-account-listing.js +1 -1
- package/dist/cjs/api-model/models/bank-account-number-format.js +2 -4
- package/dist/cjs/api-model/models/bank-account-ownership-type.js +2 -4
- package/dist/cjs/api-model/models/bank-account.js +1 -1
- package/dist/cjs/api-model/models/bank-number-format.js +2 -4
- package/dist/cjs/api-model/models/currency.js +1 -1
- package/dist/cjs/api-model/models/delete-transfer-schedule.js +1 -1
- package/dist/cjs/api-model/models/error-list.js +1 -1
- package/dist/cjs/api-model/models/fee-type.js +2 -4
- package/dist/cjs/api-model/models/fee.js +1 -1
- package/dist/cjs/api-model/models/fx-rate-details.js +1 -1
- package/dist/cjs/api-model/models/model-error.js +1 -1
- package/dist/cjs/api-model/models/payment-preference-payment-type.js +2 -4
- package/dist/cjs/api-model/models/payment-preference.js +1 -1
- package/dist/cjs/api-model/models/rate-direction.js +2 -4
- package/dist/cjs/api-model/models/recurring-frequency.js +2 -4
- package/dist/cjs/api-model/models/schedule-expression-type.js +2 -4
- package/dist/cjs/api-model/models/schedule-expression.js +1 -1
- package/dist/cjs/api-model/models/schedule-transfer-type.js +2 -4
- package/dist/cjs/api-model/models/transaction-account.js +1 -1
- package/dist/cjs/api-model/models/transaction-initiation-request.js +1 -1
- package/dist/cjs/api-model/models/transaction-instrument-details.js +1 -1
- package/dist/cjs/api-model/models/transaction-listing.js +1 -1
- package/dist/cjs/api-model/models/transaction-status.js +2 -4
- package/dist/cjs/api-model/models/transaction-type.js +2 -4
- package/dist/cjs/api-model/models/transaction.js +1 -1
- package/dist/cjs/api-model/models/transfer-rate-preview.js +1 -1
- package/dist/cjs/api-model/models/transfer-schedule-failures.js +1 -1
- package/dist/cjs/api-model/models/transfer-schedule-information.js +1 -1
- package/dist/cjs/api-model/models/transfer-schedule-listing.js +1 -1
- package/dist/cjs/api-model/models/transfer-schedule-request.js +1 -1
- package/dist/cjs/api-model/models/transfer-schedule-status.js +2 -4
- package/dist/cjs/api-model/models/transfer-schedule.js +1 -1
- package/dist/es/api-model/api/seller-wallet-api.js +126 -144
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/api-model/base.js +1 -20
- package/dist/es/api-model/common.js +1 -38
- package/dist/es/api-model/configuration.js +1 -18
- package/dist/es/api-model/index.js +1 -1
- package/dist/es/api-model/models/account-holder-address.js +1 -1
- package/dist/es/api-model/models/balance-listing.js +1 -1
- package/dist/es/api-model/models/balance-type.js +2 -4
- package/dist/es/api-model/models/balance.js +1 -1
- package/dist/es/api-model/models/bank-account-holder-status.js +2 -4
- package/dist/es/api-model/models/bank-account-listing.js +1 -1
- package/dist/es/api-model/models/bank-account-number-format.js +2 -4
- package/dist/es/api-model/models/bank-account-ownership-type.js +2 -4
- package/dist/es/api-model/models/bank-account.js +1 -1
- package/dist/es/api-model/models/bank-number-format.js +2 -4
- package/dist/es/api-model/models/currency.js +1 -1
- package/dist/es/api-model/models/delete-transfer-schedule.js +1 -1
- package/dist/es/api-model/models/error-list.js +1 -1
- package/dist/es/api-model/models/fee-type.js +2 -4
- package/dist/es/api-model/models/fee.js +1 -1
- package/dist/es/api-model/models/fx-rate-details.js +1 -1
- package/dist/es/api-model/models/model-error.js +1 -1
- package/dist/es/api-model/models/payment-preference-payment-type.js +2 -4
- package/dist/es/api-model/models/payment-preference.js +1 -1
- package/dist/es/api-model/models/rate-direction.js +2 -4
- package/dist/es/api-model/models/recurring-frequency.js +2 -4
- package/dist/es/api-model/models/schedule-expression-type.js +2 -4
- package/dist/es/api-model/models/schedule-expression.js +1 -1
- package/dist/es/api-model/models/schedule-transfer-type.js +2 -4
- package/dist/es/api-model/models/transaction-account.js +1 -1
- package/dist/es/api-model/models/transaction-initiation-request.js +1 -1
- package/dist/es/api-model/models/transaction-instrument-details.js +1 -1
- package/dist/es/api-model/models/transaction-listing.js +1 -1
- package/dist/es/api-model/models/transaction-status.js +2 -4
- package/dist/es/api-model/models/transaction-type.js +2 -4
- package/dist/es/api-model/models/transaction.js +1 -1
- package/dist/es/api-model/models/transfer-rate-preview.js +1 -1
- package/dist/es/api-model/models/transfer-schedule-failures.js +1 -1
- package/dist/es/api-model/models/transfer-schedule-information.js +1 -1
- package/dist/es/api-model/models/transfer-schedule-listing.js +1 -1
- package/dist/es/api-model/models/transfer-schedule-request.js +1 -1
- package/dist/es/api-model/models/transfer-schedule-status.js +2 -4
- package/dist/es/api-model/models/transfer-schedule.js +1 -1
- package/dist/types/api-model/api/seller-wallet-api.d.ts +143 -233
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/api-model/base.d.ts +1 -25
- package/dist/types/api-model/common.d.ts +1 -38
- package/dist/types/api-model/configuration.d.ts +1 -18
- package/dist/types/api-model/index.d.ts +1 -1
- package/dist/types/api-model/models/account-holder-address.d.ts +8 -24
- package/dist/types/api-model/models/balance-listing.d.ts +3 -7
- package/dist/types/api-model/models/balance-type.d.ts +2 -4
- package/dist/types/api-model/models/balance.d.ts +6 -21
- package/dist/types/api-model/models/bank-account-holder-status.d.ts +2 -4
- package/dist/types/api-model/models/bank-account-listing.d.ts +3 -7
- package/dist/types/api-model/models/bank-account-number-format.d.ts +2 -4
- package/dist/types/api-model/models/bank-account-ownership-type.d.ts +2 -4
- package/dist/types/api-model/models/bank-account.d.ts +9 -45
- package/dist/types/api-model/models/bank-number-format.d.ts +2 -4
- package/dist/types/api-model/models/currency.d.ts +2 -8
- package/dist/types/api-model/models/delete-transfer-schedule.d.ts +3 -11
- package/dist/types/api-model/models/error-list.d.ts +1 -5
- package/dist/types/api-model/models/fee-type.d.ts +2 -4
- package/dist/types/api-model/models/fee.d.ts +4 -20
- package/dist/types/api-model/models/fx-rate-details.d.ts +5 -18
- package/dist/types/api-model/models/model-error.d.ts +1 -9
- package/dist/types/api-model/models/payment-preference-payment-type.d.ts +2 -4
- package/dist/types/api-model/models/payment-preference.d.ts +3 -12
- package/dist/types/api-model/models/rate-direction.d.ts +2 -4
- package/dist/types/api-model/models/recurring-frequency.d.ts +2 -4
- package/dist/types/api-model/models/schedule-expression-type.d.ts +2 -4
- package/dist/types/api-model/models/schedule-expression.d.ts +2 -14
- package/dist/types/api-model/models/schedule-transfer-type.d.ts +2 -4
- package/dist/types/api-model/models/transaction-account.d.ts +8 -27
- package/dist/types/api-model/models/transaction-initiation-request.d.ts +6 -36
- package/dist/types/api-model/models/transaction-instrument-details.d.ts +3 -12
- package/dist/types/api-model/models/transaction-listing.d.ts +4 -10
- package/dist/types/api-model/models/transaction-status.d.ts +2 -4
- package/dist/types/api-model/models/transaction-type.d.ts +2 -4
- package/dist/types/api-model/models/transaction.d.ts +11 -66
- package/dist/types/api-model/models/transfer-rate-preview.d.ts +3 -22
- package/dist/types/api-model/models/transfer-schedule-failures.d.ts +4 -10
- package/dist/types/api-model/models/transfer-schedule-information.d.ts +4 -20
- package/dist/types/api-model/models/transfer-schedule-listing.d.ts +4 -10
- package/dist/types/api-model/models/transfer-schedule-request.d.ts +5 -38
- package/dist/types/api-model/models/transfer-schedule-status.d.ts +2 -4
- package/dist/types/api-model/models/transfer-schedule.d.ts +4 -40
- package/package.json +26 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
6
|
-
*
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 2024-03-01
|
|
9
9
|
*
|
|
@@ -25,16 +25,15 @@ const common_1 = require("../common");
|
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
27
|
* SellerWalletApi - axios parameter creator
|
|
28
|
-
* @export
|
|
29
28
|
*/
|
|
30
29
|
const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
31
30
|
return {
|
|
32
31
|
/**
|
|
33
|
-
* Create a transaction request from
|
|
34
|
-
* @summary Create a transaction request from Amazon
|
|
32
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
33
|
+
* @summary Create a transaction request from Amazon SW account to another customer provided account
|
|
35
34
|
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
36
35
|
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
37
|
-
* @param {TransactionInitiationRequest} body
|
|
36
|
+
* @param {TransactionInitiationRequest} body Defines the actual payload of the request
|
|
38
37
|
* @param {*} [options] Override http request option.
|
|
39
38
|
* @throws {RequiredError}
|
|
40
39
|
*/
|
|
@@ -72,11 +71,11 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
72
71
|
};
|
|
73
72
|
},
|
|
74
73
|
/**
|
|
75
|
-
* Create a transfer schedule request from
|
|
76
|
-
* @summary Create a transfer schedule request from Amazon
|
|
74
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
75
|
+
* @summary Create a transfer schedule request from Amazon SW account to another customer provided account
|
|
77
76
|
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
78
77
|
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
79
|
-
* @param {TransferScheduleRequest} body
|
|
78
|
+
* @param {TransferScheduleRequest} body Defines the actual payload of the request
|
|
80
79
|
* @param {*} [options] Override http request option.
|
|
81
80
|
* @throws {RequiredError}
|
|
82
81
|
*/
|
|
@@ -114,16 +113,16 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
114
113
|
};
|
|
115
114
|
},
|
|
116
115
|
/**
|
|
117
|
-
* Delete a transaction request that is scheduled from
|
|
118
|
-
* @summary Delete a transaction request that is scheduled from Amazon
|
|
119
|
-
* @param {string} transferScheduleId A unique reference
|
|
116
|
+
* Delete a transaction request that is scheduled from a Seller Wallet account to another customer-provided account.
|
|
117
|
+
* @summary Delete a transaction request that is scheduled from Amazon SW account to another customer provided account
|
|
118
|
+
* @param {string} transferScheduleId A unique reference id for a scheduled transfer
|
|
120
119
|
* @param {*} [options] Override http request option.
|
|
121
120
|
* @throws {RequiredError}
|
|
122
121
|
*/
|
|
123
122
|
deleteScheduleTransaction: async (transferScheduleId, options = {}) => {
|
|
124
123
|
// verify required parameter 'transferScheduleId' is not null or undefined
|
|
125
124
|
(0, common_1.assertParamExists)('deleteScheduleTransaction', 'transferScheduleId', transferScheduleId);
|
|
126
|
-
const localVarPath = `/finances/transfers/wallet/2024-03-01/transferSchedules
|
|
125
|
+
const localVarPath = `/finances/transfers/wallet/2024-03-01/transferSchedules`
|
|
127
126
|
.replace(`{${"transferScheduleId"}}`, encodeURIComponent(String(transferScheduleId)));
|
|
128
127
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
128
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -143,9 +142,9 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
143
142
|
};
|
|
144
143
|
},
|
|
145
144
|
/**
|
|
146
|
-
* Retrieve
|
|
147
|
-
* @summary Find particular Amazon
|
|
148
|
-
* @param {string} accountId
|
|
145
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
146
|
+
* @summary Find particular Amazon SW account by Amazon account identifier
|
|
147
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
149
148
|
* @param {*} [options] Override http request option.
|
|
150
149
|
* @throws {RequiredError}
|
|
151
150
|
*/
|
|
@@ -172,9 +171,9 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
172
171
|
};
|
|
173
172
|
},
|
|
174
173
|
/**
|
|
175
|
-
*
|
|
176
|
-
* @summary Find particular Amazon
|
|
177
|
-
* @param {string} transactionId
|
|
174
|
+
* Returns a transaction
|
|
175
|
+
* @summary Find particular Amazon SW account transaction by Amazon transaction identifier
|
|
176
|
+
* @param {string} transactionId ID of the Amazon SW transaction
|
|
178
177
|
* @param {*} [options] Override http request option.
|
|
179
178
|
* @throws {RequiredError}
|
|
180
179
|
*/
|
|
@@ -201,13 +200,13 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
201
200
|
};
|
|
202
201
|
},
|
|
203
202
|
/**
|
|
204
|
-
*
|
|
203
|
+
* Returns list of potential fees on a transaction based on the source and destination country currency code
|
|
205
204
|
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
206
|
-
* @param {string} sourceCountryCode
|
|
207
|
-
* @param {string} sourceCurrencyCode
|
|
208
|
-
* @param {string} destinationCountryCode
|
|
209
|
-
* @param {string} destinationCurrencyCode
|
|
210
|
-
* @param {number} baseAmount
|
|
205
|
+
* @param {string} sourceCountryCode Represents 2 character country code of source transaction account in ISO 3166 standard format.
|
|
206
|
+
* @param {string} sourceCurrencyCode Represents 3 letter currency code in ISO 4217 standard format of the source transaction country.
|
|
207
|
+
* @param {string} destinationCountryCode Represents 2 character country code of destination transaction account in ISO 3166 standard format.
|
|
208
|
+
* @param {string} destinationCurrencyCode Represents 3 letter currency code in ISO 4217 standard format of the destination transaction country.
|
|
209
|
+
* @param {number} baseAmount Represents the base transaction amount without any markup fees, rates that will be used to get the transfer preview.
|
|
211
210
|
* @param {*} [options] Override http request option.
|
|
212
211
|
* @throws {RequiredError}
|
|
213
212
|
*/
|
|
@@ -256,9 +255,9 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
256
255
|
};
|
|
257
256
|
},
|
|
258
257
|
/**
|
|
259
|
-
* Find a particular
|
|
260
|
-
* @summary Find particular Amazon
|
|
261
|
-
* @param {string} transferScheduleId
|
|
258
|
+
* Find a particular Seller Wallet account transfer schedule.
|
|
259
|
+
* @summary Find particular Amazon SW account transfer schedule by Amazon transfer schedule identifier
|
|
260
|
+
* @param {string} transferScheduleId Schedule ID of the Amazon SW transfer
|
|
262
261
|
* @param {*} [options] Override http request option.
|
|
263
262
|
* @throws {RequiredError}
|
|
264
263
|
*/
|
|
@@ -285,9 +284,9 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
285
284
|
};
|
|
286
285
|
},
|
|
287
286
|
/**
|
|
288
|
-
* Retrieve the balance in a given
|
|
289
|
-
* @summary Find balance in particular Amazon
|
|
290
|
-
* @param {string} accountId
|
|
287
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
288
|
+
* @summary Find balance in particular Amazon SW account by Amazon account identifier
|
|
289
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
291
290
|
* @param {*} [options] Override http request option.
|
|
292
291
|
* @throws {RequiredError}
|
|
293
292
|
*/
|
|
@@ -314,10 +313,10 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
314
313
|
};
|
|
315
314
|
},
|
|
316
315
|
/**
|
|
317
|
-
* Retrieve a list of transactions for a given
|
|
318
|
-
* @summary The API will return all the transactions for a given Amazon
|
|
319
|
-
* @param {string} accountId
|
|
320
|
-
* @param {string} [nextPageToken]
|
|
316
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
317
|
+
* @summary The API will return all the transactions for a given Amazon SW account sorted by the transaction request date
|
|
318
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
319
|
+
* @param {string} [nextPageToken] Pagination token to retrieve a specific page of results.
|
|
321
320
|
* @param {*} [options] Override http request option.
|
|
322
321
|
* @throws {RequiredError}
|
|
323
322
|
*/
|
|
@@ -349,9 +348,9 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
349
348
|
};
|
|
350
349
|
},
|
|
351
350
|
/**
|
|
352
|
-
* Get
|
|
353
|
-
* @summary Get all Amazon
|
|
354
|
-
* @param {string} marketplaceId
|
|
351
|
+
* Get Seller Wallet accounts for a seller.
|
|
352
|
+
* @summary Get all Amazon SW accounts for the seller
|
|
353
|
+
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
|
|
355
354
|
* @param {*} [options] Override http request option.
|
|
356
355
|
* @throws {RequiredError}
|
|
357
356
|
*/
|
|
@@ -380,10 +379,10 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
380
379
|
};
|
|
381
380
|
},
|
|
382
381
|
/**
|
|
383
|
-
*
|
|
384
|
-
* @summary The API will return all the transfer schedules for a given Amazon
|
|
385
|
-
* @param {string} accountId
|
|
386
|
-
* @param {string} [nextPageToken]
|
|
382
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
383
|
+
* @summary The API will return all the transfer schedules for a given Amazon SW account
|
|
384
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
385
|
+
* @param {string} [nextPageToken] Pagination token to retrieve a specific page of results.
|
|
387
386
|
* @param {*} [options] Override http request option.
|
|
388
387
|
* @throws {RequiredError}
|
|
389
388
|
*/
|
|
@@ -415,11 +414,11 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
415
414
|
};
|
|
416
415
|
},
|
|
417
416
|
/**
|
|
418
|
-
*
|
|
417
|
+
* Returns a transfer belonging to the updated scheduled transfer request
|
|
419
418
|
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
420
419
|
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
421
420
|
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
422
|
-
* @param {TransferSchedule} body
|
|
421
|
+
* @param {TransferSchedule} body Defines the actual payload of the scheduled transfer request that is to be updated.
|
|
423
422
|
* @param {*} [options] Override http request option.
|
|
424
423
|
* @throws {RequiredError}
|
|
425
424
|
*/
|
|
@@ -461,17 +460,16 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
461
460
|
exports.SellerWalletApiAxiosParamCreator = SellerWalletApiAxiosParamCreator;
|
|
462
461
|
/**
|
|
463
462
|
* SellerWalletApi - functional programming interface
|
|
464
|
-
* @export
|
|
465
463
|
*/
|
|
466
464
|
const SellerWalletApiFp = function (configuration) {
|
|
467
465
|
const localVarAxiosParamCreator = (0, exports.SellerWalletApiAxiosParamCreator)(configuration);
|
|
468
466
|
return {
|
|
469
467
|
/**
|
|
470
|
-
* Create a transaction request from
|
|
471
|
-
* @summary Create a transaction request from Amazon
|
|
468
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
469
|
+
* @summary Create a transaction request from Amazon SW account to another customer provided account
|
|
472
470
|
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
473
471
|
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
474
|
-
* @param {TransactionInitiationRequest} body
|
|
472
|
+
* @param {TransactionInitiationRequest} body Defines the actual payload of the request
|
|
475
473
|
* @param {*} [options] Override http request option.
|
|
476
474
|
* @throws {RequiredError}
|
|
477
475
|
*/
|
|
@@ -482,11 +480,11 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
482
480
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
483
481
|
},
|
|
484
482
|
/**
|
|
485
|
-
* Create a transfer schedule request from
|
|
486
|
-
* @summary Create a transfer schedule request from Amazon
|
|
483
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
484
|
+
* @summary Create a transfer schedule request from Amazon SW account to another customer provided account
|
|
487
485
|
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
488
486
|
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
489
|
-
* @param {TransferScheduleRequest} body
|
|
487
|
+
* @param {TransferScheduleRequest} body Defines the actual payload of the request
|
|
490
488
|
* @param {*} [options] Override http request option.
|
|
491
489
|
* @throws {RequiredError}
|
|
492
490
|
*/
|
|
@@ -497,9 +495,9 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
497
495
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
498
496
|
},
|
|
499
497
|
/**
|
|
500
|
-
* Delete a transaction request that is scheduled from
|
|
501
|
-
* @summary Delete a transaction request that is scheduled from Amazon
|
|
502
|
-
* @param {string} transferScheduleId A unique reference
|
|
498
|
+
* Delete a transaction request that is scheduled from a Seller Wallet account to another customer-provided account.
|
|
499
|
+
* @summary Delete a transaction request that is scheduled from Amazon SW account to another customer provided account
|
|
500
|
+
* @param {string} transferScheduleId A unique reference id for a scheduled transfer
|
|
503
501
|
* @param {*} [options] Override http request option.
|
|
504
502
|
* @throws {RequiredError}
|
|
505
503
|
*/
|
|
@@ -510,9 +508,9 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
510
508
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
511
509
|
},
|
|
512
510
|
/**
|
|
513
|
-
* Retrieve
|
|
514
|
-
* @summary Find particular Amazon
|
|
515
|
-
* @param {string} accountId
|
|
511
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
512
|
+
* @summary Find particular Amazon SW account by Amazon account identifier
|
|
513
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
516
514
|
* @param {*} [options] Override http request option.
|
|
517
515
|
* @throws {RequiredError}
|
|
518
516
|
*/
|
|
@@ -523,9 +521,9 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
523
521
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
524
522
|
},
|
|
525
523
|
/**
|
|
526
|
-
*
|
|
527
|
-
* @summary Find particular Amazon
|
|
528
|
-
* @param {string} transactionId
|
|
524
|
+
* Returns a transaction
|
|
525
|
+
* @summary Find particular Amazon SW account transaction by Amazon transaction identifier
|
|
526
|
+
* @param {string} transactionId ID of the Amazon SW transaction
|
|
529
527
|
* @param {*} [options] Override http request option.
|
|
530
528
|
* @throws {RequiredError}
|
|
531
529
|
*/
|
|
@@ -536,13 +534,13 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
536
534
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
537
535
|
},
|
|
538
536
|
/**
|
|
539
|
-
*
|
|
537
|
+
* Returns list of potential fees on a transaction based on the source and destination country currency code
|
|
540
538
|
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
541
|
-
* @param {string} sourceCountryCode
|
|
542
|
-
* @param {string} sourceCurrencyCode
|
|
543
|
-
* @param {string} destinationCountryCode
|
|
544
|
-
* @param {string} destinationCurrencyCode
|
|
545
|
-
* @param {number} baseAmount
|
|
539
|
+
* @param {string} sourceCountryCode Represents 2 character country code of source transaction account in ISO 3166 standard format.
|
|
540
|
+
* @param {string} sourceCurrencyCode Represents 3 letter currency code in ISO 4217 standard format of the source transaction country.
|
|
541
|
+
* @param {string} destinationCountryCode Represents 2 character country code of destination transaction account in ISO 3166 standard format.
|
|
542
|
+
* @param {string} destinationCurrencyCode Represents 3 letter currency code in ISO 4217 standard format of the destination transaction country.
|
|
543
|
+
* @param {number} baseAmount Represents the base transaction amount without any markup fees, rates that will be used to get the transfer preview.
|
|
546
544
|
* @param {*} [options] Override http request option.
|
|
547
545
|
* @throws {RequiredError}
|
|
548
546
|
*/
|
|
@@ -553,9 +551,9 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
553
551
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
554
552
|
},
|
|
555
553
|
/**
|
|
556
|
-
* Find a particular
|
|
557
|
-
* @summary Find particular Amazon
|
|
558
|
-
* @param {string} transferScheduleId
|
|
554
|
+
* Find a particular Seller Wallet account transfer schedule.
|
|
555
|
+
* @summary Find particular Amazon SW account transfer schedule by Amazon transfer schedule identifier
|
|
556
|
+
* @param {string} transferScheduleId Schedule ID of the Amazon SW transfer
|
|
559
557
|
* @param {*} [options] Override http request option.
|
|
560
558
|
* @throws {RequiredError}
|
|
561
559
|
*/
|
|
@@ -566,9 +564,9 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
566
564
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
565
|
},
|
|
568
566
|
/**
|
|
569
|
-
* Retrieve the balance in a given
|
|
570
|
-
* @summary Find balance in particular Amazon
|
|
571
|
-
* @param {string} accountId
|
|
567
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
568
|
+
* @summary Find balance in particular Amazon SW account by Amazon account identifier
|
|
569
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
572
570
|
* @param {*} [options] Override http request option.
|
|
573
571
|
* @throws {RequiredError}
|
|
574
572
|
*/
|
|
@@ -579,10 +577,10 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
579
577
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
580
578
|
},
|
|
581
579
|
/**
|
|
582
|
-
* Retrieve a list of transactions for a given
|
|
583
|
-
* @summary The API will return all the transactions for a given Amazon
|
|
584
|
-
* @param {string} accountId
|
|
585
|
-
* @param {string} [nextPageToken]
|
|
580
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
581
|
+
* @summary The API will return all the transactions for a given Amazon SW account sorted by the transaction request date
|
|
582
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
583
|
+
* @param {string} [nextPageToken] Pagination token to retrieve a specific page of results.
|
|
586
584
|
* @param {*} [options] Override http request option.
|
|
587
585
|
* @throws {RequiredError}
|
|
588
586
|
*/
|
|
@@ -593,9 +591,9 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
593
591
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
594
592
|
},
|
|
595
593
|
/**
|
|
596
|
-
* Get
|
|
597
|
-
* @summary Get all Amazon
|
|
598
|
-
* @param {string} marketplaceId
|
|
594
|
+
* Get Seller Wallet accounts for a seller.
|
|
595
|
+
* @summary Get all Amazon SW accounts for the seller
|
|
596
|
+
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
|
|
599
597
|
* @param {*} [options] Override http request option.
|
|
600
598
|
* @throws {RequiredError}
|
|
601
599
|
*/
|
|
@@ -606,10 +604,10 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
606
604
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
607
605
|
},
|
|
608
606
|
/**
|
|
609
|
-
*
|
|
610
|
-
* @summary The API will return all the transfer schedules for a given Amazon
|
|
611
|
-
* @param {string} accountId
|
|
612
|
-
* @param {string} [nextPageToken]
|
|
607
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
608
|
+
* @summary The API will return all the transfer schedules for a given Amazon SW account
|
|
609
|
+
* @param {string} accountId ID of the Amazon SW account
|
|
610
|
+
* @param {string} [nextPageToken] Pagination token to retrieve a specific page of results.
|
|
613
611
|
* @param {*} [options] Override http request option.
|
|
614
612
|
* @throws {RequiredError}
|
|
615
613
|
*/
|
|
@@ -620,11 +618,11 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
620
618
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
621
619
|
},
|
|
622
620
|
/**
|
|
623
|
-
*
|
|
621
|
+
* Returns a transfer belonging to the updated scheduled transfer request
|
|
624
622
|
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
625
623
|
* @param {string} destAccountDigitalSignature Digital signature for the destination bank account details.
|
|
626
624
|
* @param {string} amountDigitalSignature Digital signature for the source currency transaction amount.
|
|
627
|
-
* @param {TransferSchedule} body
|
|
625
|
+
* @param {TransferSchedule} body Defines the actual payload of the scheduled transfer request that is to be updated.
|
|
628
626
|
* @param {*} [options] Override http request option.
|
|
629
627
|
* @throws {RequiredError}
|
|
630
628
|
*/
|
|
@@ -639,14 +637,13 @@ const SellerWalletApiFp = function (configuration) {
|
|
|
639
637
|
exports.SellerWalletApiFp = SellerWalletApiFp;
|
|
640
638
|
/**
|
|
641
639
|
* SellerWalletApi - factory interface
|
|
642
|
-
* @export
|
|
643
640
|
*/
|
|
644
641
|
const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
645
642
|
const localVarFp = (0, exports.SellerWalletApiFp)(configuration);
|
|
646
643
|
return {
|
|
647
644
|
/**
|
|
648
|
-
* Create a transaction request from
|
|
649
|
-
* @summary Create a transaction request from Amazon
|
|
645
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
646
|
+
* @summary Create a transaction request from Amazon SW account to another customer provided account
|
|
650
647
|
* @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
|
|
651
648
|
* @param {*} [options] Override http request option.
|
|
652
649
|
* @throws {RequiredError}
|
|
@@ -655,8 +652,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
655
652
|
return localVarFp.createTransaction(requestParameters.destAccountDigitalSignature, requestParameters.amountDigitalSignature, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
656
653
|
},
|
|
657
654
|
/**
|
|
658
|
-
* Create a transfer schedule request from
|
|
659
|
-
* @summary Create a transfer schedule request from Amazon
|
|
655
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
656
|
+
* @summary Create a transfer schedule request from Amazon SW account to another customer provided account
|
|
660
657
|
* @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
|
|
661
658
|
* @param {*} [options] Override http request option.
|
|
662
659
|
* @throws {RequiredError}
|
|
@@ -665,8 +662,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
665
662
|
return localVarFp.createTransferSchedule(requestParameters.destAccountDigitalSignature, requestParameters.amountDigitalSignature, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
666
663
|
},
|
|
667
664
|
/**
|
|
668
|
-
* Delete a transaction request that is scheduled from
|
|
669
|
-
* @summary Delete a transaction request that is scheduled from Amazon
|
|
665
|
+
* Delete a transaction request that is scheduled from a Seller Wallet account to another customer-provided account.
|
|
666
|
+
* @summary Delete a transaction request that is scheduled from Amazon SW account to another customer provided account
|
|
670
667
|
* @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
|
|
671
668
|
* @param {*} [options] Override http request option.
|
|
672
669
|
* @throws {RequiredError}
|
|
@@ -675,8 +672,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
675
672
|
return localVarFp.deleteScheduleTransaction(requestParameters.transferScheduleId, options).then((request) => request(axios, basePath));
|
|
676
673
|
},
|
|
677
674
|
/**
|
|
678
|
-
* Retrieve
|
|
679
|
-
* @summary Find particular Amazon
|
|
675
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
676
|
+
* @summary Find particular Amazon SW account by Amazon account identifier
|
|
680
677
|
* @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
|
|
681
678
|
* @param {*} [options] Override http request option.
|
|
682
679
|
* @throws {RequiredError}
|
|
@@ -685,8 +682,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
685
682
|
return localVarFp.getAccount(requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
686
683
|
},
|
|
687
684
|
/**
|
|
688
|
-
*
|
|
689
|
-
* @summary Find particular Amazon
|
|
685
|
+
* Returns a transaction
|
|
686
|
+
* @summary Find particular Amazon SW account transaction by Amazon transaction identifier
|
|
690
687
|
* @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
|
|
691
688
|
* @param {*} [options] Override http request option.
|
|
692
689
|
* @throws {RequiredError}
|
|
@@ -695,7 +692,7 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
695
692
|
return localVarFp.getTransaction(requestParameters.transactionId, options).then((request) => request(axios, basePath));
|
|
696
693
|
},
|
|
697
694
|
/**
|
|
698
|
-
*
|
|
695
|
+
* Returns list of potential fees on a transaction based on the source and destination country currency code
|
|
699
696
|
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
700
697
|
* @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
|
|
701
698
|
* @param {*} [options] Override http request option.
|
|
@@ -705,8 +702,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
705
702
|
return localVarFp.getTransferPreview(requestParameters.sourceCountryCode, requestParameters.sourceCurrencyCode, requestParameters.destinationCountryCode, requestParameters.destinationCurrencyCode, requestParameters.baseAmount, options).then((request) => request(axios, basePath));
|
|
706
703
|
},
|
|
707
704
|
/**
|
|
708
|
-
* Find a particular
|
|
709
|
-
* @summary Find particular Amazon
|
|
705
|
+
* Find a particular Seller Wallet account transfer schedule.
|
|
706
|
+
* @summary Find particular Amazon SW account transfer schedule by Amazon transfer schedule identifier
|
|
710
707
|
* @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
|
|
711
708
|
* @param {*} [options] Override http request option.
|
|
712
709
|
* @throws {RequiredError}
|
|
@@ -715,8 +712,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
715
712
|
return localVarFp.getTransferSchedule(requestParameters.transferScheduleId, options).then((request) => request(axios, basePath));
|
|
716
713
|
},
|
|
717
714
|
/**
|
|
718
|
-
* Retrieve the balance in a given
|
|
719
|
-
* @summary Find balance in particular Amazon
|
|
715
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
716
|
+
* @summary Find balance in particular Amazon SW account by Amazon account identifier
|
|
720
717
|
* @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
|
|
721
718
|
* @param {*} [options] Override http request option.
|
|
722
719
|
* @throws {RequiredError}
|
|
@@ -725,8 +722,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
725
722
|
return localVarFp.listAccountBalances(requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
726
723
|
},
|
|
727
724
|
/**
|
|
728
|
-
* Retrieve a list of transactions for a given
|
|
729
|
-
* @summary The API will return all the transactions for a given Amazon
|
|
725
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
726
|
+
* @summary The API will return all the transactions for a given Amazon SW account sorted by the transaction request date
|
|
730
727
|
* @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
|
|
731
728
|
* @param {*} [options] Override http request option.
|
|
732
729
|
* @throws {RequiredError}
|
|
@@ -735,8 +732,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
735
732
|
return localVarFp.listAccountTransactions(requestParameters.accountId, requestParameters.nextPageToken, options).then((request) => request(axios, basePath));
|
|
736
733
|
},
|
|
737
734
|
/**
|
|
738
|
-
* Get
|
|
739
|
-
* @summary Get all Amazon
|
|
735
|
+
* Get Seller Wallet accounts for a seller.
|
|
736
|
+
* @summary Get all Amazon SW accounts for the seller
|
|
740
737
|
* @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
|
|
741
738
|
* @param {*} [options] Override http request option.
|
|
742
739
|
* @throws {RequiredError}
|
|
@@ -745,8 +742,8 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
745
742
|
return localVarFp.listAccounts(requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
|
|
746
743
|
},
|
|
747
744
|
/**
|
|
748
|
-
*
|
|
749
|
-
* @summary The API will return all the transfer schedules for a given Amazon
|
|
745
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
746
|
+
* @summary The API will return all the transfer schedules for a given Amazon SW account
|
|
750
747
|
* @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
|
|
751
748
|
* @param {*} [options] Override http request option.
|
|
752
749
|
* @throws {RequiredError}
|
|
@@ -755,7 +752,7 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
755
752
|
return localVarFp.listTransferSchedules(requestParameters.accountId, requestParameters.nextPageToken, options).then((request) => request(axios, basePath));
|
|
756
753
|
},
|
|
757
754
|
/**
|
|
758
|
-
*
|
|
755
|
+
* Returns a transfer belonging to the updated scheduled transfer request
|
|
759
756
|
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
760
757
|
* @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
|
|
761
758
|
* @param {*} [options] Override http request option.
|
|
@@ -769,139 +766,124 @@ const SellerWalletApiFactory = function (configuration, basePath, axios) {
|
|
|
769
766
|
exports.SellerWalletApiFactory = SellerWalletApiFactory;
|
|
770
767
|
/**
|
|
771
768
|
* SellerWalletApi - object-oriented interface
|
|
772
|
-
* @export
|
|
773
|
-
* @class SellerWalletApi
|
|
774
|
-
* @extends {BaseAPI}
|
|
775
769
|
*/
|
|
776
770
|
class SellerWalletApi extends base_1.BaseAPI {
|
|
777
771
|
/**
|
|
778
|
-
* Create a transaction request from
|
|
779
|
-
* @summary Create a transaction request from Amazon
|
|
772
|
+
* Create a transaction request from a Seller Wallet account to another customer-provided account.
|
|
773
|
+
* @summary Create a transaction request from Amazon SW account to another customer provided account
|
|
780
774
|
* @param {SellerWalletApiCreateTransactionRequest} requestParameters Request parameters.
|
|
781
775
|
* @param {*} [options] Override http request option.
|
|
782
776
|
* @throws {RequiredError}
|
|
783
|
-
* @memberof SellerWalletApi
|
|
784
777
|
*/
|
|
785
778
|
createTransaction(requestParameters, options) {
|
|
786
779
|
return (0, exports.SellerWalletApiFp)(this.configuration).createTransaction(requestParameters.destAccountDigitalSignature, requestParameters.amountDigitalSignature, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
787
780
|
}
|
|
788
781
|
/**
|
|
789
|
-
* Create a transfer schedule request from
|
|
790
|
-
* @summary Create a transfer schedule request from Amazon
|
|
782
|
+
* Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
|
|
783
|
+
* @summary Create a transfer schedule request from Amazon SW account to another customer provided account
|
|
791
784
|
* @param {SellerWalletApiCreateTransferScheduleRequest} requestParameters Request parameters.
|
|
792
785
|
* @param {*} [options] Override http request option.
|
|
793
786
|
* @throws {RequiredError}
|
|
794
|
-
* @memberof SellerWalletApi
|
|
795
787
|
*/
|
|
796
788
|
createTransferSchedule(requestParameters, options) {
|
|
797
789
|
return (0, exports.SellerWalletApiFp)(this.configuration).createTransferSchedule(requestParameters.destAccountDigitalSignature, requestParameters.amountDigitalSignature, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
798
790
|
}
|
|
799
791
|
/**
|
|
800
|
-
* Delete a transaction request that is scheduled from
|
|
801
|
-
* @summary Delete a transaction request that is scheduled from Amazon
|
|
792
|
+
* Delete a transaction request that is scheduled from a Seller Wallet account to another customer-provided account.
|
|
793
|
+
* @summary Delete a transaction request that is scheduled from Amazon SW account to another customer provided account
|
|
802
794
|
* @param {SellerWalletApiDeleteScheduleTransactionRequest} requestParameters Request parameters.
|
|
803
795
|
* @param {*} [options] Override http request option.
|
|
804
796
|
* @throws {RequiredError}
|
|
805
|
-
* @memberof SellerWalletApi
|
|
806
797
|
*/
|
|
807
798
|
deleteScheduleTransaction(requestParameters, options) {
|
|
808
799
|
return (0, exports.SellerWalletApiFp)(this.configuration).deleteScheduleTransaction(requestParameters.transferScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
809
800
|
}
|
|
810
801
|
/**
|
|
811
|
-
* Retrieve
|
|
812
|
-
* @summary Find particular Amazon
|
|
802
|
+
* Retrieve a Seller Wallet bank account by Amazon account identifier.
|
|
803
|
+
* @summary Find particular Amazon SW account by Amazon account identifier
|
|
813
804
|
* @param {SellerWalletApiGetAccountRequest} requestParameters Request parameters.
|
|
814
805
|
* @param {*} [options] Override http request option.
|
|
815
806
|
* @throws {RequiredError}
|
|
816
|
-
* @memberof SellerWalletApi
|
|
817
807
|
*/
|
|
818
808
|
getAccount(requestParameters, options) {
|
|
819
809
|
return (0, exports.SellerWalletApiFp)(this.configuration).getAccount(requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
820
810
|
}
|
|
821
811
|
/**
|
|
822
|
-
*
|
|
823
|
-
* @summary Find particular Amazon
|
|
812
|
+
* Returns a transaction
|
|
813
|
+
* @summary Find particular Amazon SW account transaction by Amazon transaction identifier
|
|
824
814
|
* @param {SellerWalletApiGetTransactionRequest} requestParameters Request parameters.
|
|
825
815
|
* @param {*} [options] Override http request option.
|
|
826
816
|
* @throws {RequiredError}
|
|
827
|
-
* @memberof SellerWalletApi
|
|
828
817
|
*/
|
|
829
818
|
getTransaction(requestParameters, options) {
|
|
830
819
|
return (0, exports.SellerWalletApiFp)(this.configuration).getTransaction(requestParameters.transactionId, options).then((request) => request(this.axios, this.basePath));
|
|
831
820
|
}
|
|
832
821
|
/**
|
|
833
|
-
*
|
|
822
|
+
* Returns list of potential fees on a transaction based on the source and destination country currency code
|
|
834
823
|
* @summary Fetch potential fees that could be applied on a transaction on the basis of the source and destination country currency code
|
|
835
824
|
* @param {SellerWalletApiGetTransferPreviewRequest} requestParameters Request parameters.
|
|
836
825
|
* @param {*} [options] Override http request option.
|
|
837
826
|
* @throws {RequiredError}
|
|
838
|
-
* @memberof SellerWalletApi
|
|
839
827
|
*/
|
|
840
828
|
getTransferPreview(requestParameters, options) {
|
|
841
829
|
return (0, exports.SellerWalletApiFp)(this.configuration).getTransferPreview(requestParameters.sourceCountryCode, requestParameters.sourceCurrencyCode, requestParameters.destinationCountryCode, requestParameters.destinationCurrencyCode, requestParameters.baseAmount, options).then((request) => request(this.axios, this.basePath));
|
|
842
830
|
}
|
|
843
831
|
/**
|
|
844
|
-
* Find a particular
|
|
845
|
-
* @summary Find particular Amazon
|
|
832
|
+
* Find a particular Seller Wallet account transfer schedule.
|
|
833
|
+
* @summary Find particular Amazon SW account transfer schedule by Amazon transfer schedule identifier
|
|
846
834
|
* @param {SellerWalletApiGetTransferScheduleRequest} requestParameters Request parameters.
|
|
847
835
|
* @param {*} [options] Override http request option.
|
|
848
836
|
* @throws {RequiredError}
|
|
849
|
-
* @memberof SellerWalletApi
|
|
850
837
|
*/
|
|
851
838
|
getTransferSchedule(requestParameters, options) {
|
|
852
839
|
return (0, exports.SellerWalletApiFp)(this.configuration).getTransferSchedule(requestParameters.transferScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
853
840
|
}
|
|
854
841
|
/**
|
|
855
|
-
* Retrieve the balance in a given
|
|
856
|
-
* @summary Find balance in particular Amazon
|
|
842
|
+
* Retrieve the balance in a given Seller Wallet bank account.
|
|
843
|
+
* @summary Find balance in particular Amazon SW account by Amazon account identifier
|
|
857
844
|
* @param {SellerWalletApiListAccountBalancesRequest} requestParameters Request parameters.
|
|
858
845
|
* @param {*} [options] Override http request option.
|
|
859
846
|
* @throws {RequiredError}
|
|
860
|
-
* @memberof SellerWalletApi
|
|
861
847
|
*/
|
|
862
848
|
listAccountBalances(requestParameters, options) {
|
|
863
849
|
return (0, exports.SellerWalletApiFp)(this.configuration).listAccountBalances(requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
864
850
|
}
|
|
865
851
|
/**
|
|
866
|
-
* Retrieve a list of transactions for a given
|
|
867
|
-
* @summary The API will return all the transactions for a given Amazon
|
|
852
|
+
* Retrieve a list of transactions for a given Seller Wallet bank account.
|
|
853
|
+
* @summary The API will return all the transactions for a given Amazon SW account sorted by the transaction request date
|
|
868
854
|
* @param {SellerWalletApiListAccountTransactionsRequest} requestParameters Request parameters.
|
|
869
855
|
* @param {*} [options] Override http request option.
|
|
870
856
|
* @throws {RequiredError}
|
|
871
|
-
* @memberof SellerWalletApi
|
|
872
857
|
*/
|
|
873
858
|
listAccountTransactions(requestParameters, options) {
|
|
874
859
|
return (0, exports.SellerWalletApiFp)(this.configuration).listAccountTransactions(requestParameters.accountId, requestParameters.nextPageToken, options).then((request) => request(this.axios, this.basePath));
|
|
875
860
|
}
|
|
876
861
|
/**
|
|
877
|
-
* Get
|
|
878
|
-
* @summary Get all Amazon
|
|
862
|
+
* Get Seller Wallet accounts for a seller.
|
|
863
|
+
* @summary Get all Amazon SW accounts for the seller
|
|
879
864
|
* @param {SellerWalletApiListAccountsRequest} requestParameters Request parameters.
|
|
880
865
|
* @param {*} [options] Override http request option.
|
|
881
866
|
* @throws {RequiredError}
|
|
882
|
-
* @memberof SellerWalletApi
|
|
883
867
|
*/
|
|
884
868
|
listAccounts(requestParameters, options) {
|
|
885
869
|
return (0, exports.SellerWalletApiFp)(this.configuration).listAccounts(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
|
|
886
870
|
}
|
|
887
871
|
/**
|
|
888
|
-
*
|
|
889
|
-
* @summary The API will return all the transfer schedules for a given Amazon
|
|
872
|
+
* Retrieve transfer schedules of a Seller Wallet bank account.
|
|
873
|
+
* @summary The API will return all the transfer schedules for a given Amazon SW account
|
|
890
874
|
* @param {SellerWalletApiListTransferSchedulesRequest} requestParameters Request parameters.
|
|
891
875
|
* @param {*} [options] Override http request option.
|
|
892
876
|
* @throws {RequiredError}
|
|
893
|
-
* @memberof SellerWalletApi
|
|
894
877
|
*/
|
|
895
878
|
listTransferSchedules(requestParameters, options) {
|
|
896
879
|
return (0, exports.SellerWalletApiFp)(this.configuration).listTransferSchedules(requestParameters.accountId, requestParameters.nextPageToken, options).then((request) => request(this.axios, this.basePath));
|
|
897
880
|
}
|
|
898
881
|
/**
|
|
899
|
-
*
|
|
882
|
+
* Returns a transfer belonging to the updated scheduled transfer request
|
|
900
883
|
* @summary Update a transfer schedule information. Only fields (i.e; transferScheduleInformation, paymentPreference, transferScheduleStatus) in the request body can be updated.
|
|
901
884
|
* @param {SellerWalletApiUpdateTransferScheduleRequest} requestParameters Request parameters.
|
|
902
885
|
* @param {*} [options] Override http request option.
|
|
903
886
|
* @throws {RequiredError}
|
|
904
|
-
* @memberof SellerWalletApi
|
|
905
887
|
*/
|
|
906
888
|
updateTransferSchedule(requestParameters, options) {
|
|
907
889
|
return (0, exports.SellerWalletApiFp)(this.configuration).updateTransferSchedule(requestParameters.destAccountDigitalSignature, requestParameters.amountDigitalSignature, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|