@sp-api-sdk/seller-wallet-api-2024-03-01 1.1.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/LICENSE +21 -0
- package/README.md +106 -0
- package/dist/cjs/api-model/api/seller-wallet-api.js +910 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +71 -0
- package/dist/cjs/api-model/common.js +145 -0
- package/dist/cjs/api-model/configuration.js +104 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/account-holder-address.js +15 -0
- package/dist/cjs/api-model/models/balance-listing.js +15 -0
- package/dist/cjs/api-model/models/balance-type.js +27 -0
- package/dist/cjs/api-model/models/balance.js +15 -0
- package/dist/cjs/api-model/models/bank-account-holder-status.js +27 -0
- package/dist/cjs/api-model/models/bank-account-listing.js +15 -0
- package/dist/cjs/api-model/models/bank-account-number-format.js +25 -0
- package/dist/cjs/api-model/models/bank-account-ownership-type.js +26 -0
- package/dist/cjs/api-model/models/bank-account.js +15 -0
- package/dist/cjs/api-model/models/bank-number-format.js +25 -0
- package/dist/cjs/api-model/models/currency.js +15 -0
- package/dist/cjs/api-model/models/delete-transfer-schedule.js +15 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/fee-type.js +26 -0
- package/dist/cjs/api-model/models/fee.js +15 -0
- package/dist/cjs/api-model/models/fx-rate-details.js +15 -0
- package/dist/cjs/api-model/models/index.js +54 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/payment-preference-payment-type.js +25 -0
- package/dist/cjs/api-model/models/payment-preference.js +15 -0
- package/dist/cjs/api-model/models/rate-direction.js +25 -0
- package/dist/cjs/api-model/models/recurring-frequency.js +27 -0
- package/dist/cjs/api-model/models/schedule-expression-type.js +25 -0
- package/dist/cjs/api-model/models/schedule-expression.js +15 -0
- package/dist/cjs/api-model/models/schedule-transfer-type.js +24 -0
- package/dist/cjs/api-model/models/transaction-account.js +15 -0
- package/dist/cjs/api-model/models/transaction-initiation-request.js +15 -0
- package/dist/cjs/api-model/models/transaction-instrument-details.js +15 -0
- package/dist/cjs/api-model/models/transaction-listing.js +15 -0
- package/dist/cjs/api-model/models/transaction-status.js +29 -0
- package/dist/cjs/api-model/models/transaction-type.js +25 -0
- package/dist/cjs/api-model/models/transaction.js +15 -0
- package/dist/cjs/api-model/models/transfer-rate-preview.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-failures.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-information.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-listing.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-request.js +15 -0
- package/dist/cjs/api-model/models/transfer-schedule-status.js +27 -0
- package/dist/cjs/api-model/models/transfer-schedule.js +15 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/seller-wallet-api.js +900 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +63 -0
- package/dist/es/api-model/common.js +133 -0
- package/dist/es/api-model/configuration.js +100 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/account-holder-address.js +14 -0
- package/dist/es/api-model/models/balance-listing.js +14 -0
- package/dist/es/api-model/models/balance-type.js +24 -0
- package/dist/es/api-model/models/balance.js +14 -0
- package/dist/es/api-model/models/bank-account-holder-status.js +24 -0
- package/dist/es/api-model/models/bank-account-listing.js +14 -0
- package/dist/es/api-model/models/bank-account-number-format.js +22 -0
- package/dist/es/api-model/models/bank-account-ownership-type.js +23 -0
- package/dist/es/api-model/models/bank-account.js +14 -0
- package/dist/es/api-model/models/bank-number-format.js +22 -0
- package/dist/es/api-model/models/currency.js +14 -0
- package/dist/es/api-model/models/delete-transfer-schedule.js +14 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/fee-type.js +23 -0
- package/dist/es/api-model/models/fee.js +14 -0
- package/dist/es/api-model/models/fx-rate-details.js +14 -0
- package/dist/es/api-model/models/index.js +38 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/payment-preference-payment-type.js +22 -0
- package/dist/es/api-model/models/payment-preference.js +14 -0
- package/dist/es/api-model/models/rate-direction.js +22 -0
- package/dist/es/api-model/models/recurring-frequency.js +24 -0
- package/dist/es/api-model/models/schedule-expression-type.js +22 -0
- package/dist/es/api-model/models/schedule-expression.js +14 -0
- package/dist/es/api-model/models/schedule-transfer-type.js +21 -0
- package/dist/es/api-model/models/transaction-account.js +14 -0
- package/dist/es/api-model/models/transaction-initiation-request.js +14 -0
- package/dist/es/api-model/models/transaction-instrument-details.js +14 -0
- package/dist/es/api-model/models/transaction-listing.js +14 -0
- package/dist/es/api-model/models/transaction-status.js +26 -0
- package/dist/es/api-model/models/transaction-type.js +22 -0
- package/dist/es/api-model/models/transaction.js +14 -0
- package/dist/es/api-model/models/transfer-rate-preview.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-failures.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-information.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-listing.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-request.js +14 -0
- package/dist/es/api-model/models/transfer-schedule-status.js +24 -0
- package/dist/es/api-model/models/transfer-schedule.js +14 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/seller-wallet-api.d.ts +700 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +66 -0
- package/dist/types/api-model/common.d.ts +65 -0
- package/dist/types/api-model/configuration.d.ts +91 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/account-holder-address.d.ts +60 -0
- package/dist/types/api-model/models/balance-listing.d.ts +25 -0
- package/dist/types/api-model/models/balance-type.d.ts +23 -0
- package/dist/types/api-model/models/balance.d.ts +49 -0
- package/dist/types/api-model/models/bank-account-holder-status.d.ts +23 -0
- package/dist/types/api-model/models/bank-account-listing.d.ts +25 -0
- package/dist/types/api-model/models/bank-account-number-format.d.ts +21 -0
- package/dist/types/api-model/models/bank-account-ownership-type.d.ts +22 -0
- package/dist/types/api-model/models/bank-account.d.ts +88 -0
- package/dist/types/api-model/models/bank-number-format.d.ts +21 -0
- package/dist/types/api-model/models/currency.d.ts +30 -0
- package/dist/types/api-model/models/delete-transfer-schedule.d.ts +36 -0
- package/dist/types/api-model/models/error-list.d.ts +24 -0
- package/dist/types/api-model/models/fee-type.d.ts +22 -0
- package/dist/types/api-model/models/fee.d.ts +44 -0
- package/dist/types/api-model/models/fx-rate-details.d.ts +43 -0
- package/dist/types/api-model/models/index.d.ts +38 -0
- package/dist/types/api-model/models/model-error.d.ts +36 -0
- package/dist/types/api-model/models/payment-preference-payment-type.d.ts +21 -0
- package/dist/types/api-model/models/payment-preference.d.ts +31 -0
- package/dist/types/api-model/models/rate-direction.d.ts +21 -0
- package/dist/types/api-model/models/recurring-frequency.d.ts +23 -0
- package/dist/types/api-model/models/schedule-expression-type.d.ts +21 -0
- package/dist/types/api-model/models/schedule-expression.d.ts +32 -0
- package/dist/types/api-model/models/schedule-transfer-type.d.ts +20 -0
- package/dist/types/api-model/models/transaction-account.d.ts +61 -0
- package/dist/types/api-model/models/transaction-initiation-request.d.ts +70 -0
- package/dist/types/api-model/models/transaction-instrument-details.d.ts +31 -0
- package/dist/types/api-model/models/transaction-listing.d.ts +31 -0
- package/dist/types/api-model/models/transaction-status.d.ts +25 -0
- package/dist/types/api-model/models/transaction-type.d.ts +21 -0
- package/dist/types/api-model/models/transaction.d.ts +119 -0
- package/dist/types/api-model/models/transfer-rate-preview.d.ts +45 -0
- package/dist/types/api-model/models/transfer-schedule-failures.d.ts +30 -0
- package/dist/types/api-model/models/transfer-schedule-information.d.ts +44 -0
- package/dist/types/api-model/models/transfer-schedule-listing.d.ts +31 -0
- package/dist/types/api-model/models/transfer-schedule-request.d.ts +71 -0
- package/dist/types/api-model/models/transfer-schedule-status.d.ts +23 -0
- package/dist/types/api-model/models/transfer-schedule.d.ts +72 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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
|
+
/**
|
|
13
|
+
* The type of transaction.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const TransactionType: {
|
|
18
|
+
readonly Credit: "CREDIT";
|
|
19
|
+
readonly Debit: "DEBIT";
|
|
20
|
+
};
|
|
21
|
+
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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 { Currency } from './currency';
|
|
13
|
+
import type { TransactionAccount } from './transaction-account';
|
|
14
|
+
import type { TransactionStatus } from './transaction-status';
|
|
15
|
+
import type { TransactionType } from './transaction-type';
|
|
16
|
+
import type { TransferRatePreview } from './transfer-rate-preview';
|
|
17
|
+
/**
|
|
18
|
+
* The current transaction status and historical details related to it.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface Transaction
|
|
21
|
+
*/
|
|
22
|
+
export interface Transaction {
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifier provided by Amazon to the transaction.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof Transaction
|
|
27
|
+
*/
|
|
28
|
+
'transactionId': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {TransactionType}
|
|
32
|
+
* @memberof Transaction
|
|
33
|
+
*/
|
|
34
|
+
'transactionType': TransactionType;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {TransactionStatus}
|
|
38
|
+
* @memberof Transaction
|
|
39
|
+
*/
|
|
40
|
+
'transactionStatus': TransactionStatus;
|
|
41
|
+
/**
|
|
42
|
+
* The date on which the transaction was initiated.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Transaction
|
|
45
|
+
*/
|
|
46
|
+
'transactionRequestDate': string;
|
|
47
|
+
/**
|
|
48
|
+
* The expected completion date of the transaction.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Transaction
|
|
51
|
+
*/
|
|
52
|
+
'expectedCompletionDate'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The transaction\'s completion date.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof Transaction
|
|
57
|
+
*/
|
|
58
|
+
'transactionActualCompletionDate'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The date of the most recent account balance update.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Transaction
|
|
63
|
+
*/
|
|
64
|
+
'lastUpdateDate': string;
|
|
65
|
+
/**
|
|
66
|
+
* The Amazon Seller Wallet customer who requested the transaction.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Transaction
|
|
69
|
+
*/
|
|
70
|
+
'requesterName'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The transaction initiation source. This value could be the Amazon portal or PISP name that the customer used to start the transaction.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof Transaction
|
|
75
|
+
*/
|
|
76
|
+
'transactionRequesterSource': string;
|
|
77
|
+
/**
|
|
78
|
+
* The description provided by the requester in the transaction request at time of transaction initiation.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Transaction
|
|
81
|
+
*/
|
|
82
|
+
'transactionDescription': string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {TransactionAccount}
|
|
86
|
+
* @memberof Transaction
|
|
87
|
+
*/
|
|
88
|
+
'transactionSourceAccount': TransactionAccount;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {TransactionAccount}
|
|
92
|
+
* @memberof Transaction
|
|
93
|
+
*/
|
|
94
|
+
'transactionDestinationAccount': TransactionAccount;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Currency}
|
|
98
|
+
* @memberof Transaction
|
|
99
|
+
*/
|
|
100
|
+
'transactionRequestAmount': Currency;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {TransferRatePreview}
|
|
104
|
+
* @memberof Transaction
|
|
105
|
+
*/
|
|
106
|
+
'transferRateDetails': TransferRatePreview;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {Currency}
|
|
110
|
+
* @memberof Transaction
|
|
111
|
+
*/
|
|
112
|
+
'transactionFinalAmount'?: Currency;
|
|
113
|
+
/**
|
|
114
|
+
* The reason the transaction failed, if applicable.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof Transaction
|
|
117
|
+
*/
|
|
118
|
+
'transactionFailureReason'?: string;
|
|
119
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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 { Currency } from './currency';
|
|
13
|
+
import type { Fee } from './fee';
|
|
14
|
+
import type { FxRateDetails } from './fx-rate-details';
|
|
15
|
+
/**
|
|
16
|
+
* The fees and foreign exchange rates applied to the transaction. If the fees are in terms of the `baseAmount` (source account) currency, then the effective rate is equal to **1 - (fees * `baseRate` / `baseAmount`)**. If the fees are in terms of the `transferAmount` (destination account) currency, then the effective rate is equal to **`baseRate` - (fees / `baseAmount`)**. In the preceding expressions, **fees** is equal to the sum of all `feeAmount.currencyAmount` values in the `fees` array.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface TransferRatePreview
|
|
19
|
+
*/
|
|
20
|
+
export interface TransferRatePreview {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Currency}
|
|
24
|
+
* @memberof TransferRatePreview
|
|
25
|
+
*/
|
|
26
|
+
'baseAmount': Currency;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {FxRateDetails}
|
|
30
|
+
* @memberof TransferRatePreview
|
|
31
|
+
*/
|
|
32
|
+
'fxRateDetails': FxRateDetails;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Currency}
|
|
36
|
+
* @memberof TransferRatePreview
|
|
37
|
+
*/
|
|
38
|
+
'transferAmount': Currency;
|
|
39
|
+
/**
|
|
40
|
+
* A list of fees.
|
|
41
|
+
* @type {Array<Fee>}
|
|
42
|
+
* @memberof TransferRatePreview
|
|
43
|
+
*/
|
|
44
|
+
'fees': Array<Fee>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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
|
+
/**
|
|
13
|
+
* The time of and reason for the transfer schedule failure.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TransferScheduleFailures
|
|
16
|
+
*/
|
|
17
|
+
export interface TransferScheduleFailures {
|
|
18
|
+
/**
|
|
19
|
+
* The transfer schedule failure date.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TransferScheduleFailures
|
|
22
|
+
*/
|
|
23
|
+
'transferScheduleFailureDate': string;
|
|
24
|
+
/**
|
|
25
|
+
* The reason listed for the failure of the transfer schedule.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TransferScheduleFailures
|
|
28
|
+
*/
|
|
29
|
+
'transferScheduleFailureReason': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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 { ScheduleExpression } from './schedule-expression';
|
|
13
|
+
import type { ScheduleTransferType } from './schedule-transfer-type';
|
|
14
|
+
/**
|
|
15
|
+
* Mandatory information for initiating a schedule transfer.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TransferScheduleInformation
|
|
18
|
+
*/
|
|
19
|
+
export interface TransferScheduleInformation {
|
|
20
|
+
/**
|
|
21
|
+
* The start date of the scheduled transfer.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof TransferScheduleInformation
|
|
24
|
+
*/
|
|
25
|
+
'scheduleStartDate'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The end date of the scheduled transfer.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof TransferScheduleInformation
|
|
30
|
+
*/
|
|
31
|
+
'scheduleEndDate'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ScheduleExpression}
|
|
35
|
+
* @memberof TransferScheduleInformation
|
|
36
|
+
*/
|
|
37
|
+
'scheduleExpression'?: ScheduleExpression;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ScheduleTransferType}
|
|
41
|
+
* @memberof TransferScheduleInformation
|
|
42
|
+
*/
|
|
43
|
+
'scheduleType'?: ScheduleTransferType;
|
|
44
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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 { TransferSchedule } from './transfer-schedule';
|
|
13
|
+
/**
|
|
14
|
+
* A list of transfer schedules.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TransferScheduleListing
|
|
17
|
+
*/
|
|
18
|
+
export interface TransferScheduleListing {
|
|
19
|
+
/**
|
|
20
|
+
* A token that you use to retrieve the next page of results. The response includes `nextPageToken` 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 `nextPageToken` is null. Note that this operation can return empty pages.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TransferScheduleListing
|
|
23
|
+
*/
|
|
24
|
+
'nextPageToken'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* A list of transfer schedules.
|
|
27
|
+
* @type {Array<TransferSchedule>}
|
|
28
|
+
* @memberof TransferScheduleListing
|
|
29
|
+
*/
|
|
30
|
+
'transferSchedules': Array<TransferSchedule>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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 { PaymentPreference } from './payment-preference';
|
|
13
|
+
import type { TransactionInstrumentDetails } from './transaction-instrument-details';
|
|
14
|
+
import type { TransactionType } from './transaction-type';
|
|
15
|
+
import type { TransferScheduleInformation } from './transfer-schedule-information';
|
|
16
|
+
import type { TransferScheduleStatus } from './transfer-schedule-status';
|
|
17
|
+
/**
|
|
18
|
+
* Request body to initiate a scheduled transfer from a Seller Wallet bank account to another customer-defined bank account.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface TransferScheduleRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface TransferScheduleRequest {
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifier of the source Amazon Seller Wallet bank account from which money is debited.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TransferScheduleRequest
|
|
27
|
+
*/
|
|
28
|
+
'sourceAccountId': string;
|
|
29
|
+
/**
|
|
30
|
+
* The three-letter currency code of the source payment method country, in ISO 4217 format.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TransferScheduleRequest
|
|
33
|
+
*/
|
|
34
|
+
'sourceCurrencyCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* The unique identifier of the destination bank account where the money is deposited.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TransferScheduleRequest
|
|
39
|
+
*/
|
|
40
|
+
'destinationAccountId': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {TransactionInstrumentDetails}
|
|
44
|
+
* @memberof TransferScheduleRequest
|
|
45
|
+
*/
|
|
46
|
+
'destinationTransactionInstrument': TransactionInstrumentDetails;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {TransactionType}
|
|
50
|
+
* @memberof TransferScheduleRequest
|
|
51
|
+
*/
|
|
52
|
+
'transactionType': TransactionType;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {TransferScheduleInformation}
|
|
56
|
+
* @memberof TransferScheduleRequest
|
|
57
|
+
*/
|
|
58
|
+
'transferScheduleInformation': TransferScheduleInformation;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {PaymentPreference}
|
|
62
|
+
* @memberof TransferScheduleRequest
|
|
63
|
+
*/
|
|
64
|
+
'paymentPreference': PaymentPreference;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {TransferScheduleStatus}
|
|
68
|
+
* @memberof TransferScheduleRequest
|
|
69
|
+
*/
|
|
70
|
+
'transferScheduleStatus'?: TransferScheduleStatus;
|
|
71
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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
|
+
/**
|
|
13
|
+
* The schedule status of the transfer.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const TransferScheduleStatus: {
|
|
18
|
+
readonly Enabled: "ENABLED";
|
|
19
|
+
readonly Disabled: "DISABLED";
|
|
20
|
+
readonly Expired: "EXPIRED";
|
|
21
|
+
readonly Deleted: "DELETED";
|
|
22
|
+
};
|
|
23
|
+
export type TransferScheduleStatus = typeof TransferScheduleStatus[keyof typeof TransferScheduleStatus];
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
3
|
+
* This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api\'s that the third party will have to connect to in order to receive information from Amazon related to their customer\'s financial data. _Please note the authentication & authorization api\'s are not part of this section and would be created & shared separately_ Some useful links: - [The SP-API repository](https://swagger-editor.dovydenk.people.a2z.com/) - [The source API definition for the Amazon Seller Wallet Open Banking API](https://swagger-editor.dovydenk.people.a2z.com/)
|
|
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 { PaymentPreference } from './payment-preference';
|
|
13
|
+
import type { TransactionAccount } from './transaction-account';
|
|
14
|
+
import type { TransactionType } from './transaction-type';
|
|
15
|
+
import type { TransferScheduleFailures } from './transfer-schedule-failures';
|
|
16
|
+
import type { TransferScheduleInformation } from './transfer-schedule-information';
|
|
17
|
+
import type { TransferScheduleStatus } from './transfer-schedule-status';
|
|
18
|
+
/**
|
|
19
|
+
* Transfer schedule details and historical details related to it.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface TransferSchedule
|
|
22
|
+
*/
|
|
23
|
+
export interface TransferSchedule {
|
|
24
|
+
/**
|
|
25
|
+
* The unique identifier provided by Amazon to the scheduled transfer.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TransferSchedule
|
|
28
|
+
*/
|
|
29
|
+
'transferScheduleId': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {TransactionType}
|
|
33
|
+
* @memberof TransferSchedule
|
|
34
|
+
*/
|
|
35
|
+
'transactionType': TransactionType;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {TransactionAccount}
|
|
39
|
+
* @memberof TransferSchedule
|
|
40
|
+
*/
|
|
41
|
+
'transactionSourceAccount'?: TransactionAccount;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {TransactionAccount}
|
|
45
|
+
* @memberof TransferSchedule
|
|
46
|
+
*/
|
|
47
|
+
'transactionDestinationAccount': TransactionAccount;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {TransferScheduleStatus}
|
|
51
|
+
* @memberof TransferSchedule
|
|
52
|
+
*/
|
|
53
|
+
'transferScheduleStatus': TransferScheduleStatus;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {TransferScheduleInformation}
|
|
57
|
+
* @memberof TransferSchedule
|
|
58
|
+
*/
|
|
59
|
+
'transferScheduleInformation': TransferScheduleInformation;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {PaymentPreference}
|
|
63
|
+
* @memberof TransferSchedule
|
|
64
|
+
*/
|
|
65
|
+
'paymentPreference'?: PaymentPreference;
|
|
66
|
+
/**
|
|
67
|
+
* A list of transfer schedule failures.
|
|
68
|
+
* @type {Array<TransferScheduleFailures>}
|
|
69
|
+
* @memberof TransferSchedule
|
|
70
|
+
*/
|
|
71
|
+
'transferScheduleFailures': Array<TransferScheduleFailures>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import { SellerWalletApi } from './api-model';
|
|
3
|
+
export declare const clientRateLimits: RateLimit[];
|
|
4
|
+
export declare class SellerWalletApiClient extends SellerWalletApi {
|
|
5
|
+
constructor(configuration: ClientConfiguration);
|
|
6
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sp-api-sdk/seller-wallet-api-2024-03-01",
|
|
3
|
+
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
|
+
"description": "This is a Amazon open banking api specification based on the Swagger 2.0 standard. It specifies all the api's that the third party will have to connect to in order to receive information from Amazon related to their customer's financial data. Please note the authentication & authorization api's are not part of this section and would be created & shared separately Some useful links: The SP-API repository The source API definition for the Amazon Seller Wallet Open Banking API",
|
|
5
|
+
"version": "1.1.0",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/es/index.js",
|
|
8
|
+
"types": "dist/types/index.d.ts",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"directories": {
|
|
14
|
+
"lib": "dist"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**/*.js",
|
|
18
|
+
"dist/**/*.d.ts"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@sp-api-sdk/common": "2.1.14",
|
|
22
|
+
"axios": "^1.9.0"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/bizon/selling-partner-api-sdk.git",
|
|
27
|
+
"directory": "clients/seller-wallet-api-2024-03-01"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/bizon/selling-partner-api-sdk/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/bizon/selling-partner-api-sdk/tree/master/clients/seller-wallet-api-2024-03-01",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"amazon",
|
|
35
|
+
"bizon",
|
|
36
|
+
"marketplace web services",
|
|
37
|
+
"mws",
|
|
38
|
+
"selling partner api",
|
|
39
|
+
"sp api",
|
|
40
|
+
"sp sdk",
|
|
41
|
+
"seller wallet api"
|
|
42
|
+
],
|
|
43
|
+
"gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
|
|
44
|
+
}
|