@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,36 @@
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 response returned when the schedule transfer\'s delete request is successful.
14
+ * @export
15
+ * @interface DeleteTransferSchedule
16
+ */
17
+ export interface DeleteTransferSchedule {
18
+ /**
19
+ * A success code that specifies that the delete operation was successful. For example, HTTP 200.
20
+ * @type {string}
21
+ * @memberof DeleteTransferSchedule
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * A message that describes the success condition of the delete schedule transaction.
26
+ * @type {string}
27
+ * @memberof DeleteTransferSchedule
28
+ */
29
+ 'message': string;
30
+ /**
31
+ * Additional details that can help the caller understand the operation execution.
32
+ * @type {string}
33
+ * @memberof DeleteTransferSchedule
34
+ */
35
+ 'details'?: string;
36
+ }
@@ -0,0 +1,24 @@
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
+ * A list of error responses returned when a request is unsuccessful.
14
+ * @export
15
+ * @interface ErrorList
16
+ */
17
+ export interface ErrorList {
18
+ /**
19
+ * List of errors
20
+ * @type {Array<Error>}
21
+ * @memberof ErrorList
22
+ */
23
+ 'errors': Array<Error>;
24
+ }
@@ -0,0 +1,22 @@
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 fee on the transaction.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const FeeType: {
18
+ readonly MiscellaneousFee: "MISCELLANEOUS_FEE";
19
+ readonly Tax: "TAX";
20
+ readonly TransactionFee: "TRANSACTION_FEE";
21
+ };
22
+ export type FeeType = typeof FeeType[keyof typeof FeeType];
@@ -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 { Currency } from './currency';
13
+ import type { FeeType } from './fee-type';
14
+ /**
15
+ * Details of the fee.
16
+ * @export
17
+ * @interface Fee
18
+ */
19
+ export interface Fee {
20
+ /**
21
+ * The unique identifier assigned to the fee.
22
+ * @type {string}
23
+ * @memberof Fee
24
+ */
25
+ 'feeId': string;
26
+ /**
27
+ *
28
+ * @type {FeeType}
29
+ * @memberof Fee
30
+ */
31
+ 'feeType': FeeType;
32
+ /**
33
+ * A decimal number, such as an amount or FX rate.
34
+ * @type {number}
35
+ * @memberof Fee
36
+ */
37
+ 'feeRateValue': number;
38
+ /**
39
+ *
40
+ * @type {Currency}
41
+ * @memberof Fee
42
+ */
43
+ 'feeAmount': Currency;
44
+ }
@@ -0,0 +1,43 @@
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 { RateDirection } from './rate-direction';
13
+ /**
14
+ * Foreign exchange rate details.
15
+ * @export
16
+ * @interface FxRateDetails
17
+ */
18
+ export interface FxRateDetails {
19
+ /**
20
+ * The unique identifier assigned to the fees / foreign exchange rate of a transaction.
21
+ * @type {string}
22
+ * @memberof FxRateDetails
23
+ */
24
+ 'fxRateId': string;
25
+ /**
26
+ * A decimal number, such as an amount or FX rate.
27
+ * @type {number}
28
+ * @memberof FxRateDetails
29
+ */
30
+ 'baseRate': number;
31
+ /**
32
+ * A decimal number, such as an amount or FX rate.
33
+ * @type {number}
34
+ * @memberof FxRateDetails
35
+ */
36
+ 'effectiveFxRate': number;
37
+ /**
38
+ *
39
+ * @type {RateDirection}
40
+ * @memberof FxRateDetails
41
+ */
42
+ 'rateDirection': RateDirection;
43
+ }
@@ -0,0 +1,38 @@
1
+ export * from './account-holder-address';
2
+ export * from './balance';
3
+ export * from './balance-listing';
4
+ export * from './balance-type';
5
+ export * from './bank-account';
6
+ export * from './bank-account-holder-status';
7
+ export * from './bank-account-listing';
8
+ export * from './bank-account-number-format';
9
+ export * from './bank-account-ownership-type';
10
+ export * from './bank-number-format';
11
+ export * from './currency';
12
+ export * from './delete-transfer-schedule';
13
+ export * from './error-list';
14
+ export * from './fee';
15
+ export * from './fee-type';
16
+ export * from './fx-rate-details';
17
+ export * from './model-error';
18
+ export * from './payment-preference';
19
+ export * from './payment-preference-payment-type';
20
+ export * from './rate-direction';
21
+ export * from './recurring-frequency';
22
+ export * from './schedule-expression';
23
+ export * from './schedule-expression-type';
24
+ export * from './schedule-transfer-type';
25
+ export * from './transaction';
26
+ export * from './transaction-account';
27
+ export * from './transaction-initiation-request';
28
+ export * from './transaction-instrument-details';
29
+ export * from './transaction-listing';
30
+ export * from './transaction-status';
31
+ export * from './transaction-type';
32
+ export * from './transfer-rate-preview';
33
+ export * from './transfer-schedule';
34
+ export * from './transfer-schedule-failures';
35
+ export * from './transfer-schedule-information';
36
+ export * from './transfer-schedule-listing';
37
+ export * from './transfer-schedule-request';
38
+ export * from './transfer-schedule-status';
@@ -0,0 +1,36 @@
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
+ * Error response returned when the request is unsuccessful.
14
+ * @export
15
+ * @interface ModelError
16
+ */
17
+ export interface ModelError {
18
+ /**
19
+ * An error code that identifies the type of error that occurred.
20
+ * @type {string}
21
+ * @memberof ModelError
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * A message that describes the error condition.
26
+ * @type {string}
27
+ * @memberof ModelError
28
+ */
29
+ 'message': string;
30
+ /**
31
+ * Additional details that can help the caller understand or fix the issue.
32
+ * @type {string}
33
+ * @memberof ModelError
34
+ */
35
+ 'details'?: string;
36
+ }
@@ -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 payment preference.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const PaymentPreferencePaymentType: {
18
+ readonly Percentage: "PERCENTAGE";
19
+ readonly Amount: "AMOUNT";
20
+ };
21
+ export type PaymentPreferencePaymentType = typeof PaymentPreferencePaymentType[keyof typeof PaymentPreferencePaymentType];
@@ -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 { PaymentPreferencePaymentType } from './payment-preference-payment-type';
13
+ /**
14
+ * The type of payment preference in which the transfer is being scheduled.
15
+ * @export
16
+ * @interface PaymentPreference
17
+ */
18
+ export interface PaymentPreference {
19
+ /**
20
+ *
21
+ * @type {PaymentPreferencePaymentType}
22
+ * @memberof PaymentPreference
23
+ */
24
+ 'paymentPreferencePaymentType': PaymentPreferencePaymentType;
25
+ /**
26
+ * A decimal number, such as an amount or FX rate.
27
+ * @type {number}
28
+ * @memberof PaymentPreference
29
+ */
30
+ 'value': number;
31
+ }
@@ -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
+ * Whether the customer is buying or selling the source currency.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const RateDirection: {
18
+ readonly Buy: "BUY";
19
+ readonly Sell: "SELL";
20
+ };
21
+ export type RateDirection = typeof RateDirection[keyof typeof RateDirection];
@@ -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 frequency at which the transaction is repeated.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const RecurringFrequency: {
18
+ readonly Biweekly: "BIWEEKLY";
19
+ readonly Daily: "DAILY";
20
+ readonly Monthly: "MONTHLY";
21
+ readonly Weekly: "WEEKLY";
22
+ };
23
+ export type RecurringFrequency = typeof RecurringFrequency[keyof typeof RecurringFrequency];
@@ -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 scheduled transfer expression.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ScheduleExpressionType: {
18
+ readonly Recurring: "RECURRING";
19
+ readonly OneTime: "ONE_TIME";
20
+ };
21
+ export type ScheduleExpressionType = typeof ScheduleExpressionType[keyof typeof ScheduleExpressionType];
@@ -0,0 +1,32 @@
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 { RecurringFrequency } from './recurring-frequency';
13
+ import type { ScheduleExpressionType } from './schedule-expression-type';
14
+ /**
15
+ * The configuration of the schedule.
16
+ * @export
17
+ * @interface ScheduleExpression
18
+ */
19
+ export interface ScheduleExpression {
20
+ /**
21
+ *
22
+ * @type {ScheduleExpressionType}
23
+ * @memberof ScheduleExpression
24
+ */
25
+ 'scheduleExpressionType': ScheduleExpressionType;
26
+ /**
27
+ *
28
+ * @type {RecurringFrequency}
29
+ * @memberof ScheduleExpression
30
+ */
31
+ 'recurringFrequency'?: RecurringFrequency;
32
+ }
@@ -0,0 +1,20 @@
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 schedule the transfer is on. Schedules based on time patterns use EventBridge.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ScheduleTransferType: {
18
+ readonly TimeBased: "TIME_BASED";
19
+ };
20
+ export type ScheduleTransferType = typeof ScheduleTransferType[keyof typeof ScheduleTransferType];
@@ -0,0 +1,61 @@
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 { BankAccountNumberFormat } from './bank-account-number-format';
13
+ /**
14
+ * Details of the bank account involved in transaction.
15
+ * @export
16
+ * @interface TransactionAccount
17
+ */
18
+ export interface TransactionAccount {
19
+ /**
20
+ * The unique identifier provided by Amazon to identify the account.
21
+ * @type {string}
22
+ * @memberof TransactionAccount
23
+ */
24
+ 'accountId'?: string;
25
+ /**
26
+ * The account holder\'s name.
27
+ * @type {string}
28
+ * @memberof TransactionAccount
29
+ */
30
+ 'bankAccountHolderName': string;
31
+ /**
32
+ * The name of the bank.
33
+ * @type {string}
34
+ * @memberof TransactionAccount
35
+ */
36
+ 'bankName': string;
37
+ /**
38
+ *
39
+ * @type {BankAccountNumberFormat}
40
+ * @memberof TransactionAccount
41
+ */
42
+ 'bankAccountNumberFormat': BankAccountNumberFormat;
43
+ /**
44
+ * The last three digits of the bank account number.
45
+ * @type {string}
46
+ * @memberof TransactionAccount
47
+ */
48
+ 'bankAccountNumberTail'?: string;
49
+ /**
50
+ * The two-digit country code, in ISO 3166 format. This field is optional for `transactionSourceAccount`, but is mandatory for `transactionDestinationAccount`.
51
+ * @type {string}
52
+ * @memberof TransactionAccount
53
+ */
54
+ 'bankAccountCountryCode'?: string;
55
+ /**
56
+ * The currency code in ISO 4217 format.
57
+ * @type {string}
58
+ * @memberof TransactionAccount
59
+ */
60
+ 'bankAccountCurrency': string;
61
+ }
@@ -0,0 +1,70 @@
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 { AccountHolderAddress } from './account-holder-address';
13
+ import type { Currency } from './currency';
14
+ import type { TransactionInstrumentDetails } from './transaction-instrument-details';
15
+ import type { TransferRatePreview } from './transfer-rate-preview';
16
+ /**
17
+ * Request body to initiate a transaction from a Seller Wallet bank account to another customer-defined bank account.
18
+ * @export
19
+ * @interface TransactionInitiationRequest
20
+ */
21
+ export interface TransactionInitiationRequest {
22
+ /**
23
+ * The unique identifier of the source Amazon Seller Wallet bank account from which the money is debited.
24
+ * @type {string}
25
+ * @memberof TransactionInitiationRequest
26
+ */
27
+ 'sourceAccountId': string;
28
+ /**
29
+ * The unique identifier of the destination bank account where the money is deposited.
30
+ * @type {string}
31
+ * @memberof TransactionInitiationRequest
32
+ */
33
+ 'destinationAccountId'?: string;
34
+ /**
35
+ * A description of the transaction.
36
+ * @type {string}
37
+ * @memberof TransactionInitiationRequest
38
+ */
39
+ 'description': string;
40
+ /**
41
+ *
42
+ * @type {TransactionInstrumentDetails}
43
+ * @memberof TransactionInitiationRequest
44
+ */
45
+ 'destinationTransactionInstrument': TransactionInstrumentDetails;
46
+ /**
47
+ *
48
+ * @type {AccountHolderAddress}
49
+ * @memberof TransactionInitiationRequest
50
+ */
51
+ 'destinationAccountHolderAddress'?: AccountHolderAddress;
52
+ /**
53
+ *
54
+ * @type {Currency}
55
+ * @memberof TransactionInitiationRequest
56
+ */
57
+ 'sourceAmount': Currency;
58
+ /**
59
+ *
60
+ * @type {TransferRatePreview}
61
+ * @memberof TransactionInitiationRequest
62
+ */
63
+ 'transferRateDetails'?: TransferRatePreview;
64
+ /**
65
+ * The time at which the transaction was initiated in [ISO 8601 date time format](https://developer-docs.amazon.com/sp-api/docs/iso-8601).
66
+ * @type {string}
67
+ * @memberof TransactionInitiationRequest
68
+ */
69
+ 'requestTime': string;
70
+ }
@@ -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 { BankAccount } from './bank-account';
13
+ /**
14
+ * Details of the destination bank account in the transaction request.
15
+ * @export
16
+ * @interface TransactionInstrumentDetails
17
+ */
18
+ export interface TransactionInstrumentDetails {
19
+ /**
20
+ *
21
+ * @type {BankAccount}
22
+ * @memberof TransactionInstrumentDetails
23
+ */
24
+ 'bankAccount': BankAccount;
25
+ /**
26
+ * The bank account number of the destination payment method. **Note:** This field is encrypted before Amazon receives it, so should not be used to generate `destAccountDigitalSignature`, and should not be included in the request signature.
27
+ * @type {string}
28
+ * @memberof TransactionInstrumentDetails
29
+ */
30
+ 'bankAccountNumber': string;
31
+ }
@@ -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 { Transaction } from './transaction';
13
+ /**
14
+ * A list of transactions.
15
+ * @export
16
+ * @interface TransactionListing
17
+ */
18
+ export interface TransactionListing {
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 TransactionListing
23
+ */
24
+ 'nextPageToken'?: string;
25
+ /**
26
+ * A list of transactions.
27
+ * @type {Array<Transaction>}
28
+ * @memberof TransactionListing
29
+ */
30
+ 'transactions': Array<Transaction>;
31
+ }
@@ -0,0 +1,25 @@
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 current status of the transaction.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const TransactionStatus: {
18
+ readonly Failed: "FAILED";
19
+ readonly FailedCreditsApplied: "FAILED_CREDITS_APPLIED";
20
+ readonly Initiated: "INITIATED";
21
+ readonly InProgress: "IN_PROGRESS";
22
+ readonly PayeeUnderReview: "PAYEE_UNDER_REVIEW";
23
+ readonly Successful: "SUCCESSFUL";
24
+ };
25
+ export type TransactionStatus = typeof TransactionStatus[keyof typeof TransactionStatus];