@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.
Files changed (144) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +106 -0
  3. package/dist/cjs/api-model/api/seller-wallet-api.js +910 -0
  4. package/dist/cjs/api-model/api.js +30 -0
  5. package/dist/cjs/api-model/base.js +71 -0
  6. package/dist/cjs/api-model/common.js +145 -0
  7. package/dist/cjs/api-model/configuration.js +104 -0
  8. package/dist/cjs/api-model/index.js +32 -0
  9. package/dist/cjs/api-model/models/account-holder-address.js +15 -0
  10. package/dist/cjs/api-model/models/balance-listing.js +15 -0
  11. package/dist/cjs/api-model/models/balance-type.js +27 -0
  12. package/dist/cjs/api-model/models/balance.js +15 -0
  13. package/dist/cjs/api-model/models/bank-account-holder-status.js +27 -0
  14. package/dist/cjs/api-model/models/bank-account-listing.js +15 -0
  15. package/dist/cjs/api-model/models/bank-account-number-format.js +25 -0
  16. package/dist/cjs/api-model/models/bank-account-ownership-type.js +26 -0
  17. package/dist/cjs/api-model/models/bank-account.js +15 -0
  18. package/dist/cjs/api-model/models/bank-number-format.js +25 -0
  19. package/dist/cjs/api-model/models/currency.js +15 -0
  20. package/dist/cjs/api-model/models/delete-transfer-schedule.js +15 -0
  21. package/dist/cjs/api-model/models/error-list.js +15 -0
  22. package/dist/cjs/api-model/models/fee-type.js +26 -0
  23. package/dist/cjs/api-model/models/fee.js +15 -0
  24. package/dist/cjs/api-model/models/fx-rate-details.js +15 -0
  25. package/dist/cjs/api-model/models/index.js +54 -0
  26. package/dist/cjs/api-model/models/model-error.js +15 -0
  27. package/dist/cjs/api-model/models/payment-preference-payment-type.js +25 -0
  28. package/dist/cjs/api-model/models/payment-preference.js +15 -0
  29. package/dist/cjs/api-model/models/rate-direction.js +25 -0
  30. package/dist/cjs/api-model/models/recurring-frequency.js +27 -0
  31. package/dist/cjs/api-model/models/schedule-expression-type.js +25 -0
  32. package/dist/cjs/api-model/models/schedule-expression.js +15 -0
  33. package/dist/cjs/api-model/models/schedule-transfer-type.js +24 -0
  34. package/dist/cjs/api-model/models/transaction-account.js +15 -0
  35. package/dist/cjs/api-model/models/transaction-initiation-request.js +15 -0
  36. package/dist/cjs/api-model/models/transaction-instrument-details.js +15 -0
  37. package/dist/cjs/api-model/models/transaction-listing.js +15 -0
  38. package/dist/cjs/api-model/models/transaction-status.js +29 -0
  39. package/dist/cjs/api-model/models/transaction-type.js +25 -0
  40. package/dist/cjs/api-model/models/transaction.js +15 -0
  41. package/dist/cjs/api-model/models/transfer-rate-preview.js +15 -0
  42. package/dist/cjs/api-model/models/transfer-schedule-failures.js +15 -0
  43. package/dist/cjs/api-model/models/transfer-schedule-information.js +15 -0
  44. package/dist/cjs/api-model/models/transfer-schedule-listing.js +15 -0
  45. package/dist/cjs/api-model/models/transfer-schedule-request.js +15 -0
  46. package/dist/cjs/api-model/models/transfer-schedule-status.js +27 -0
  47. package/dist/cjs/api-model/models/transfer-schedule.js +15 -0
  48. package/dist/cjs/client.js +13 -0
  49. package/dist/cjs/index.js +19 -0
  50. package/dist/es/api-model/api/seller-wallet-api.js +900 -0
  51. package/dist/es/api-model/api.js +14 -0
  52. package/dist/es/api-model/base.js +63 -0
  53. package/dist/es/api-model/common.js +133 -0
  54. package/dist/es/api-model/configuration.js +100 -0
  55. package/dist/es/api-model/index.js +16 -0
  56. package/dist/es/api-model/models/account-holder-address.js +14 -0
  57. package/dist/es/api-model/models/balance-listing.js +14 -0
  58. package/dist/es/api-model/models/balance-type.js +24 -0
  59. package/dist/es/api-model/models/balance.js +14 -0
  60. package/dist/es/api-model/models/bank-account-holder-status.js +24 -0
  61. package/dist/es/api-model/models/bank-account-listing.js +14 -0
  62. package/dist/es/api-model/models/bank-account-number-format.js +22 -0
  63. package/dist/es/api-model/models/bank-account-ownership-type.js +23 -0
  64. package/dist/es/api-model/models/bank-account.js +14 -0
  65. package/dist/es/api-model/models/bank-number-format.js +22 -0
  66. package/dist/es/api-model/models/currency.js +14 -0
  67. package/dist/es/api-model/models/delete-transfer-schedule.js +14 -0
  68. package/dist/es/api-model/models/error-list.js +14 -0
  69. package/dist/es/api-model/models/fee-type.js +23 -0
  70. package/dist/es/api-model/models/fee.js +14 -0
  71. package/dist/es/api-model/models/fx-rate-details.js +14 -0
  72. package/dist/es/api-model/models/index.js +38 -0
  73. package/dist/es/api-model/models/model-error.js +14 -0
  74. package/dist/es/api-model/models/payment-preference-payment-type.js +22 -0
  75. package/dist/es/api-model/models/payment-preference.js +14 -0
  76. package/dist/es/api-model/models/rate-direction.js +22 -0
  77. package/dist/es/api-model/models/recurring-frequency.js +24 -0
  78. package/dist/es/api-model/models/schedule-expression-type.js +22 -0
  79. package/dist/es/api-model/models/schedule-expression.js +14 -0
  80. package/dist/es/api-model/models/schedule-transfer-type.js +21 -0
  81. package/dist/es/api-model/models/transaction-account.js +14 -0
  82. package/dist/es/api-model/models/transaction-initiation-request.js +14 -0
  83. package/dist/es/api-model/models/transaction-instrument-details.js +14 -0
  84. package/dist/es/api-model/models/transaction-listing.js +14 -0
  85. package/dist/es/api-model/models/transaction-status.js +26 -0
  86. package/dist/es/api-model/models/transaction-type.js +22 -0
  87. package/dist/es/api-model/models/transaction.js +14 -0
  88. package/dist/es/api-model/models/transfer-rate-preview.js +14 -0
  89. package/dist/es/api-model/models/transfer-schedule-failures.js +14 -0
  90. package/dist/es/api-model/models/transfer-schedule-information.js +14 -0
  91. package/dist/es/api-model/models/transfer-schedule-listing.js +14 -0
  92. package/dist/es/api-model/models/transfer-schedule-request.js +14 -0
  93. package/dist/es/api-model/models/transfer-schedule-status.js +24 -0
  94. package/dist/es/api-model/models/transfer-schedule.js +14 -0
  95. package/dist/es/client.js +9 -0
  96. package/dist/es/index.js +3 -0
  97. package/dist/types/api-model/api/seller-wallet-api.d.ts +700 -0
  98. package/dist/types/api-model/api.d.ts +12 -0
  99. package/dist/types/api-model/base.d.ts +66 -0
  100. package/dist/types/api-model/common.d.ts +65 -0
  101. package/dist/types/api-model/configuration.d.ts +91 -0
  102. package/dist/types/api-model/index.d.ts +14 -0
  103. package/dist/types/api-model/models/account-holder-address.d.ts +60 -0
  104. package/dist/types/api-model/models/balance-listing.d.ts +25 -0
  105. package/dist/types/api-model/models/balance-type.d.ts +23 -0
  106. package/dist/types/api-model/models/balance.d.ts +49 -0
  107. package/dist/types/api-model/models/bank-account-holder-status.d.ts +23 -0
  108. package/dist/types/api-model/models/bank-account-listing.d.ts +25 -0
  109. package/dist/types/api-model/models/bank-account-number-format.d.ts +21 -0
  110. package/dist/types/api-model/models/bank-account-ownership-type.d.ts +22 -0
  111. package/dist/types/api-model/models/bank-account.d.ts +88 -0
  112. package/dist/types/api-model/models/bank-number-format.d.ts +21 -0
  113. package/dist/types/api-model/models/currency.d.ts +30 -0
  114. package/dist/types/api-model/models/delete-transfer-schedule.d.ts +36 -0
  115. package/dist/types/api-model/models/error-list.d.ts +24 -0
  116. package/dist/types/api-model/models/fee-type.d.ts +22 -0
  117. package/dist/types/api-model/models/fee.d.ts +44 -0
  118. package/dist/types/api-model/models/fx-rate-details.d.ts +43 -0
  119. package/dist/types/api-model/models/index.d.ts +38 -0
  120. package/dist/types/api-model/models/model-error.d.ts +36 -0
  121. package/dist/types/api-model/models/payment-preference-payment-type.d.ts +21 -0
  122. package/dist/types/api-model/models/payment-preference.d.ts +31 -0
  123. package/dist/types/api-model/models/rate-direction.d.ts +21 -0
  124. package/dist/types/api-model/models/recurring-frequency.d.ts +23 -0
  125. package/dist/types/api-model/models/schedule-expression-type.d.ts +21 -0
  126. package/dist/types/api-model/models/schedule-expression.d.ts +32 -0
  127. package/dist/types/api-model/models/schedule-transfer-type.d.ts +20 -0
  128. package/dist/types/api-model/models/transaction-account.d.ts +61 -0
  129. package/dist/types/api-model/models/transaction-initiation-request.d.ts +70 -0
  130. package/dist/types/api-model/models/transaction-instrument-details.d.ts +31 -0
  131. package/dist/types/api-model/models/transaction-listing.d.ts +31 -0
  132. package/dist/types/api-model/models/transaction-status.d.ts +25 -0
  133. package/dist/types/api-model/models/transaction-type.d.ts +21 -0
  134. package/dist/types/api-model/models/transaction.d.ts +119 -0
  135. package/dist/types/api-model/models/transfer-rate-preview.d.ts +45 -0
  136. package/dist/types/api-model/models/transfer-schedule-failures.d.ts +30 -0
  137. package/dist/types/api-model/models/transfer-schedule-information.d.ts +44 -0
  138. package/dist/types/api-model/models/transfer-schedule-listing.d.ts +31 -0
  139. package/dist/types/api-model/models/transfer-schedule-request.d.ts +71 -0
  140. package/dist/types/api-model/models/transfer-schedule-status.d.ts +23 -0
  141. package/dist/types/api-model/models/transfer-schedule.d.ts +72 -0
  142. package/dist/types/client.d.ts +6 -0
  143. package/dist/types/index.d.ts +3 -0
  144. 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
+ }
@@ -0,0 +1,3 @@
1
+ export * from './client';
2
+ export * from './api-model/api';
3
+ export * from './api-model/models';
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
+ }