@sp-api-sdk/seller-wallet-api-2024-03-01 1.5.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +1252 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +1894 -0
  5. package/dist/index.d.ts +1894 -0
  6. package/dist/index.js +1195 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/seller-wallet-api.js +0 -981
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/balance-listing.js +0 -15
  16. package/dist/cjs/api-model/models/balance-type.js +0 -25
  17. package/dist/cjs/api-model/models/balance.js +0 -15
  18. package/dist/cjs/api-model/models/bank-account-holder-status.js +0 -25
  19. package/dist/cjs/api-model/models/bank-account-listing.js +0 -15
  20. package/dist/cjs/api-model/models/bank-account-number-format.js +0 -23
  21. package/dist/cjs/api-model/models/bank-account-ownership-type.js +0 -23
  22. package/dist/cjs/api-model/models/bank-account.js +0 -15
  23. package/dist/cjs/api-model/models/bank-number-format.js +0 -23
  24. package/dist/cjs/api-model/models/create-transaction-response.js +0 -15
  25. package/dist/cjs/api-model/models/currency.js +0 -15
  26. package/dist/cjs/api-model/models/delete-transfer-schedule.js +0 -15
  27. package/dist/cjs/api-model/models/error-list.js +0 -15
  28. package/dist/cjs/api-model/models/fee-type.js +0 -24
  29. package/dist/cjs/api-model/models/fee.js +0 -15
  30. package/dist/cjs/api-model/models/fx-rate-details.js +0 -15
  31. package/dist/cjs/api-model/models/index.js +0 -56
  32. package/dist/cjs/api-model/models/model-error.js +0 -15
  33. package/dist/cjs/api-model/models/payee-contact-information.js +0 -15
  34. package/dist/cjs/api-model/models/payee-entity-type.js +0 -24
  35. package/dist/cjs/api-model/models/payment-preference-payment-type.js +0 -23
  36. package/dist/cjs/api-model/models/payment-preference.js +0 -15
  37. package/dist/cjs/api-model/models/rate-direction.js +0 -23
  38. package/dist/cjs/api-model/models/recurring-frequency.js +0 -25
  39. package/dist/cjs/api-model/models/schedule-expression-type.js +0 -23
  40. package/dist/cjs/api-model/models/schedule-expression.js +0 -15
  41. package/dist/cjs/api-model/models/schedule-transfer-type.js +0 -22
  42. package/dist/cjs/api-model/models/transaction-account.js +0 -15
  43. package/dist/cjs/api-model/models/transaction-initiation-request.js +0 -15
  44. package/dist/cjs/api-model/models/transaction-instrument-details.js +0 -15
  45. package/dist/cjs/api-model/models/transaction-listing.js +0 -15
  46. package/dist/cjs/api-model/models/transaction-status.js +0 -27
  47. package/dist/cjs/api-model/models/transaction-type.js +0 -23
  48. package/dist/cjs/api-model/models/transaction.js +0 -15
  49. package/dist/cjs/api-model/models/transfer-rate-preview.js +0 -15
  50. package/dist/cjs/api-model/models/transfer-schedule-failures.js +0 -15
  51. package/dist/cjs/api-model/models/transfer-schedule-information.js +0 -15
  52. package/dist/cjs/api-model/models/transfer-schedule-listing.js +0 -15
  53. package/dist/cjs/api-model/models/transfer-schedule-request.js +0 -15
  54. package/dist/cjs/api-model/models/transfer-schedule-status.js +0 -25
  55. package/dist/cjs/api-model/models/transfer-schedule.js +0 -15
  56. package/dist/cjs/client.js +0 -13
  57. package/dist/cjs/index.js +0 -19
  58. package/dist/es/api-model/api/seller-wallet-api.js +0 -971
  59. package/dist/es/api-model/api.js +0 -14
  60. package/dist/es/api-model/base.js +0 -44
  61. package/dist/es/api-model/common.js +0 -110
  62. package/dist/es/api-model/configuration.js +0 -94
  63. package/dist/es/api-model/index.js +0 -16
  64. package/dist/es/api-model/models/balance-listing.js +0 -14
  65. package/dist/es/api-model/models/balance-type.js +0 -22
  66. package/dist/es/api-model/models/balance.js +0 -14
  67. package/dist/es/api-model/models/bank-account-holder-status.js +0 -22
  68. package/dist/es/api-model/models/bank-account-listing.js +0 -14
  69. package/dist/es/api-model/models/bank-account-number-format.js +0 -20
  70. package/dist/es/api-model/models/bank-account-ownership-type.js +0 -20
  71. package/dist/es/api-model/models/bank-account.js +0 -14
  72. package/dist/es/api-model/models/bank-number-format.js +0 -20
  73. package/dist/es/api-model/models/create-transaction-response.js +0 -14
  74. package/dist/es/api-model/models/currency.js +0 -14
  75. package/dist/es/api-model/models/delete-transfer-schedule.js +0 -14
  76. package/dist/es/api-model/models/error-list.js +0 -14
  77. package/dist/es/api-model/models/fee-type.js +0 -21
  78. package/dist/es/api-model/models/fee.js +0 -14
  79. package/dist/es/api-model/models/fx-rate-details.js +0 -14
  80. package/dist/es/api-model/models/index.js +0 -40
  81. package/dist/es/api-model/models/model-error.js +0 -14
  82. package/dist/es/api-model/models/payee-contact-information.js +0 -14
  83. package/dist/es/api-model/models/payee-entity-type.js +0 -21
  84. package/dist/es/api-model/models/payment-preference-payment-type.js +0 -20
  85. package/dist/es/api-model/models/payment-preference.js +0 -14
  86. package/dist/es/api-model/models/rate-direction.js +0 -20
  87. package/dist/es/api-model/models/recurring-frequency.js +0 -22
  88. package/dist/es/api-model/models/schedule-expression-type.js +0 -20
  89. package/dist/es/api-model/models/schedule-expression.js +0 -14
  90. package/dist/es/api-model/models/schedule-transfer-type.js +0 -19
  91. package/dist/es/api-model/models/transaction-account.js +0 -14
  92. package/dist/es/api-model/models/transaction-initiation-request.js +0 -14
  93. package/dist/es/api-model/models/transaction-instrument-details.js +0 -14
  94. package/dist/es/api-model/models/transaction-listing.js +0 -14
  95. package/dist/es/api-model/models/transaction-status.js +0 -24
  96. package/dist/es/api-model/models/transaction-type.js +0 -20
  97. package/dist/es/api-model/models/transaction.js +0 -14
  98. package/dist/es/api-model/models/transfer-rate-preview.js +0 -14
  99. package/dist/es/api-model/models/transfer-schedule-failures.js +0 -14
  100. package/dist/es/api-model/models/transfer-schedule-information.js +0 -14
  101. package/dist/es/api-model/models/transfer-schedule-listing.js +0 -14
  102. package/dist/es/api-model/models/transfer-schedule-request.js +0 -14
  103. package/dist/es/api-model/models/transfer-schedule-status.js +0 -22
  104. package/dist/es/api-model/models/transfer-schedule.js +0 -14
  105. package/dist/es/client.js +0 -9
  106. package/dist/es/index.js +0 -3
  107. package/dist/types/api-model/api/seller-wallet-api.d.ts +0 -677
  108. package/dist/types/api-model/api.d.ts +0 -12
  109. package/dist/types/api-model/base.d.ts +0 -42
  110. package/dist/types/api-model/common.d.ts +0 -34
  111. package/dist/types/api-model/configuration.d.ts +0 -98
  112. package/dist/types/api-model/index.d.ts +0 -14
  113. package/dist/types/api-model/models/balance-listing.d.ts +0 -21
  114. package/dist/types/api-model/models/balance-type.d.ts +0 -21
  115. package/dist/types/api-model/models/balance.d.ts +0 -34
  116. package/dist/types/api-model/models/bank-account-holder-status.d.ts +0 -21
  117. package/dist/types/api-model/models/bank-account-listing.d.ts +0 -21
  118. package/dist/types/api-model/models/bank-account-number-format.d.ts +0 -19
  119. package/dist/types/api-model/models/bank-account-ownership-type.d.ts +0 -19
  120. package/dist/types/api-model/models/bank-account.d.ts +0 -52
  121. package/dist/types/api-model/models/bank-number-format.d.ts +0 -19
  122. package/dist/types/api-model/models/create-transaction-response.d.ts +0 -22
  123. package/dist/types/api-model/models/currency.d.ts +0 -24
  124. package/dist/types/api-model/models/delete-transfer-schedule.d.ts +0 -28
  125. package/dist/types/api-model/models/error-list.d.ts +0 -20
  126. package/dist/types/api-model/models/fee-type.d.ts +0 -20
  127. package/dist/types/api-model/models/fee.d.ts +0 -28
  128. package/dist/types/api-model/models/fx-rate-details.d.ts +0 -30
  129. package/dist/types/api-model/models/index.d.ts +0 -40
  130. package/dist/types/api-model/models/model-error.d.ts +0 -28
  131. package/dist/types/api-model/models/payee-contact-information.d.ts +0 -66
  132. package/dist/types/api-model/models/payee-entity-type.d.ts +0 -20
  133. package/dist/types/api-model/models/payment-preference-payment-type.d.ts +0 -19
  134. package/dist/types/api-model/models/payment-preference.d.ts +0 -22
  135. package/dist/types/api-model/models/rate-direction.d.ts +0 -19
  136. package/dist/types/api-model/models/recurring-frequency.d.ts +0 -21
  137. package/dist/types/api-model/models/schedule-expression-type.d.ts +0 -19
  138. package/dist/types/api-model/models/schedule-expression.d.ts +0 -20
  139. package/dist/types/api-model/models/schedule-transfer-type.d.ts +0 -18
  140. package/dist/types/api-model/models/transaction-account.d.ts +0 -42
  141. package/dist/types/api-model/models/transaction-initiation-request.d.ts +0 -44
  142. package/dist/types/api-model/models/transaction-instrument-details.d.ts +0 -26
  143. package/dist/types/api-model/models/transaction-listing.d.ts +0 -25
  144. package/dist/types/api-model/models/transaction-status.d.ts +0 -23
  145. package/dist/types/api-model/models/transaction-type.d.ts +0 -19
  146. package/dist/types/api-model/models/transaction.d.ts +0 -68
  147. package/dist/types/api-model/models/transfer-rate-preview.d.ts +0 -26
  148. package/dist/types/api-model/models/transfer-schedule-failures.d.ts +0 -24
  149. package/dist/types/api-model/models/transfer-schedule-information.d.ts +0 -28
  150. package/dist/types/api-model/models/transfer-schedule-listing.d.ts +0 -25
  151. package/dist/types/api-model/models/transfer-schedule-request.d.ts +0 -38
  152. package/dist/types/api-model/models/transfer-schedule-status.d.ts +0 -21
  153. package/dist/types/api-model/models/transfer-schedule.d.ts +0 -36
  154. package/dist/types/client.d.ts +0 -6
  155. package/dist/types/index.d.ts +0 -3
@@ -1,40 +0,0 @@
1
- export * from './balance';
2
- export * from './balance-listing';
3
- export * from './balance-type';
4
- export * from './bank-account';
5
- export * from './bank-account-holder-status';
6
- export * from './bank-account-listing';
7
- export * from './bank-account-number-format';
8
- export * from './bank-account-ownership-type';
9
- export * from './bank-number-format';
10
- export * from './create-transaction-response';
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 './payee-contact-information';
19
- export * from './payee-entity-type';
20
- export * from './payment-preference';
21
- export * from './payment-preference-payment-type';
22
- export * from './rate-direction';
23
- export * from './recurring-frequency';
24
- export * from './schedule-expression';
25
- export * from './schedule-expression-type';
26
- export * from './schedule-transfer-type';
27
- export * from './transaction';
28
- export * from './transaction-account';
29
- export * from './transaction-initiation-request';
30
- export * from './transaction-instrument-details';
31
- export * from './transaction-listing';
32
- export * from './transaction-status';
33
- export * from './transaction-type';
34
- export * from './transfer-rate-preview';
35
- export * from './transfer-schedule';
36
- export * from './transfer-schedule-failures';
37
- export * from './transfer-schedule-information';
38
- export * from './transfer-schedule-listing';
39
- export * from './transfer-schedule-request';
40
- export * from './transfer-schedule-status';
@@ -1,28 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Error response returned when the request is unsuccessful.
14
- */
15
- export interface ModelError {
16
- /**
17
- * An error code that identifies the type of error that occurred.
18
- */
19
- 'code': string;
20
- /**
21
- * A message that describes the error condition.
22
- */
23
- 'message': string;
24
- /**
25
- * Additional details that can help the caller understand or fix the issue.
26
- */
27
- 'details'?: string;
28
- }
@@ -1,66 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PayeeEntityType } from './payee-entity-type';
13
- /**
14
- * The contact information of the payee. This field is required when the request `bankAccountOwnershipType` is `THIRD_PARTY`. The contact information is used for payee verification and registration purposes.
15
- */
16
- export interface PayeeContactInformation {
17
- /**
18
- * First name of the payee. There is a 50 character limit.
19
- */
20
- 'payeeFirstName': string;
21
- /**
22
- * Middle name of the payee. There is a 50 character limit.
23
- */
24
- 'payeeMiddleName'?: string;
25
- /**
26
- * Last name of the payee. There is a 50 character limit.
27
- */
28
- 'payeeLastName': string;
29
- /**
30
- * Address Line 1 of the public address.
31
- */
32
- 'addressLine1': string;
33
- /**
34
- * Address Line 2 of the public address.
35
- */
36
- 'addressLine2'?: string;
37
- /**
38
- * City name of the public address.
39
- */
40
- 'city': string;
41
- /**
42
- * State name of the public address. This is the state or region for China-based addresses.
43
- */
44
- 'state': string;
45
- /**
46
- * Postal code of the public address.
47
- */
48
- 'postalCode': string;
49
- /**
50
- * Country name of the public address.
51
- */
52
- 'country'?: string;
53
- /**
54
- * The two digit country code, in ISO 3166 format.
55
- */
56
- 'countryCode': string;
57
- /**
58
- * Email address of the payee.
59
- */
60
- 'emailAddress': string;
61
- /**
62
- * Valid phone number of the payee.
63
- */
64
- 'phoneNumber': string;
65
- 'payeeEntityType': PayeeEntityType;
66
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The entity type of the transaction payee when the bank account ownership type is `THIRD_PARTY`.
14
- */
15
- export declare const PayeeEntityType: {
16
- readonly Individual: "INDIVIDUAL";
17
- readonly Business: "BUSINESS";
18
- readonly TaxAuthority: "TAX_AUTHORITY";
19
- };
20
- export type PayeeEntityType = typeof PayeeEntityType[keyof typeof PayeeEntityType];
@@ -1,19 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The type of payment preference.
14
- */
15
- export declare const PaymentPreferencePaymentType: {
16
- readonly Percentage: "PERCENTAGE";
17
- readonly Amount: "AMOUNT";
18
- };
19
- export type PaymentPreferencePaymentType = typeof PaymentPreferencePaymentType[keyof typeof PaymentPreferencePaymentType];
@@ -1,22 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PaymentPreferencePaymentType } from './payment-preference-payment-type';
13
- /**
14
- * The type of payment preference in which the transfer is being scheduled.
15
- */
16
- export interface PaymentPreference {
17
- 'paymentPreferencePaymentType': PaymentPreferencePaymentType;
18
- /**
19
- * A decimal number, such as an amount or FX rate.
20
- */
21
- 'value': number;
22
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Whether the customer is buying or selling the source currency.
14
- */
15
- export declare const RateDirection: {
16
- readonly Buy: "BUY";
17
- readonly Sell: "SELL";
18
- };
19
- export type RateDirection = typeof RateDirection[keyof typeof RateDirection];
@@ -1,21 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The frequency at which the transaction is repeated.
14
- */
15
- export declare const RecurringFrequency: {
16
- readonly Daily: "DAILY";
17
- readonly Weekly: "WEEKLY";
18
- readonly Biweekly: "BIWEEKLY";
19
- readonly Monthly: "MONTHLY";
20
- };
21
- export type RecurringFrequency = typeof RecurringFrequency[keyof typeof RecurringFrequency];
@@ -1,19 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The type of scheduled transfer expression.
14
- */
15
- export declare const ScheduleExpressionType: {
16
- readonly Recurring: "RECURRING";
17
- readonly OneTime: "ONE_TIME";
18
- };
19
- export type ScheduleExpressionType = typeof ScheduleExpressionType[keyof typeof ScheduleExpressionType];
@@ -1,20 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { RecurringFrequency } from './recurring-frequency';
13
- import type { ScheduleExpressionType } from './schedule-expression-type';
14
- /**
15
- * The configuration of the schedule.
16
- */
17
- export interface ScheduleExpression {
18
- 'scheduleExpressionType': ScheduleExpressionType;
19
- 'recurringFrequency'?: RecurringFrequency;
20
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The type of schedule the transfer is on. Schedules based on time patterns use EventBridge.
14
- */
15
- export declare const ScheduleTransferType: {
16
- readonly TimeBased: "TIME_BASED";
17
- };
18
- export type ScheduleTransferType = typeof ScheduleTransferType[keyof typeof ScheduleTransferType];
@@ -1,42 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { BankAccountNumberFormat } from './bank-account-number-format';
13
- /**
14
- * Details of the bank account involved in the transaction.
15
- */
16
- export interface TransactionAccount {
17
- /**
18
- * The unique identifier provided by Amazon to identify the account.
19
- */
20
- 'accountId'?: string;
21
- /**
22
- * The account holder\'s name.
23
- */
24
- 'bankAccountHolderName'?: string;
25
- /**
26
- * The name of the bank.
27
- */
28
- 'bankName': string;
29
- 'bankAccountNumberFormat': BankAccountNumberFormat;
30
- /**
31
- * The last three digits of the bank account number.
32
- */
33
- 'bankAccountNumberTail'?: string;
34
- /**
35
- * The two-digit country code, in ISO 3166 format. This field is optional for `transactionSourceAccount`, but is mandatory for `transactionDestinationAccount`.
36
- */
37
- 'bankAccountCountryCode'?: string;
38
- /**
39
- * The currency code in ISO 4217 format.
40
- */
41
- 'bankAccountCurrency': string;
42
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Currency } from './currency';
13
- import type { PayeeContactInformation } from './payee-contact-information';
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
- */
19
- export interface TransactionInitiationRequest {
20
- /**
21
- * The unique identifier of the source Amazon Seller Wallet bank account from which the money is debited.
22
- */
23
- 'sourceAccountId': string;
24
- /**
25
- * The unique identifier of the destination bank account where the money is deposited.
26
- */
27
- 'destinationAccountId'?: string;
28
- 'destinationTransactionInstrument': TransactionInstrumentDetails;
29
- /**
30
- * A description of the transaction.
31
- */
32
- 'transactionDescription'?: string;
33
- /**
34
- * If the payment is for VAT (Value-Added-Tax) then enter VAT identification number in this field which will be mandatory. The length constraint is 140 characters and do not allow user to enter any sensitive information other than VAT-ID.
35
- */
36
- 'customerPaymentReference'?: string;
37
- 'payeeContactInformation'?: PayeeContactInformation;
38
- 'sourceAmount': Currency;
39
- 'transferRateDetails'?: TransferRatePreview;
40
- /**
41
- * The time at which the transaction was initiated in [ISO 8601 date time format](https://developer-docs.amazon.com/sp-api/docs/iso-8601).
42
- */
43
- 'requestTime': string;
44
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { BankAccount } from './bank-account';
13
- /**
14
- * Details of the destination bank account in the transaction request.
15
- */
16
- export interface TransactionInstrumentDetails {
17
- 'bankAccount': BankAccount;
18
- /**
19
- * 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.
20
- */
21
- 'bankAccountNumber': string;
22
- /**
23
- * The bank account holder\'s name (expected to be an Amazon customer). **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.
24
- */
25
- 'accountHolderName': string;
26
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Transaction } from './transaction';
13
- /**
14
- * A list of transactions.
15
- */
16
- export interface TransactionListing {
17
- /**
18
- * 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.
19
- */
20
- 'nextPageToken'?: string;
21
- /**
22
- * A list of transactions.
23
- */
24
- 'transactions': Array<Transaction>;
25
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The current status of the transaction.
14
- */
15
- export declare const TransactionStatus: {
16
- readonly Expired: "EXPIRED";
17
- readonly Failed: "FAILED";
18
- readonly FailedCreditsApplied: "FAILED_CREDITS_APPLIED";
19
- readonly InProgress: "IN_PROGRESS";
20
- readonly PendingUserApproval: "PENDING_USER_APPROVAL";
21
- readonly Successful: "SUCCESSFUL";
22
- };
23
- export type TransactionStatus = typeof TransactionStatus[keyof typeof TransactionStatus];
@@ -1,19 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The type of transaction.
14
- */
15
- export declare const TransactionType: {
16
- readonly Credit: "CREDIT";
17
- readonly Debit: "DEBIT";
18
- };
19
- export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
@@ -1,68 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { 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 related historical details.
19
- */
20
- export interface Transaction {
21
- /**
22
- * The unique identifier of the Amazon Seller Wallet bank account from which the money is debited.
23
- */
24
- 'accountId': string;
25
- /**
26
- * The unique identifier provided by Amazon to the transaction.
27
- */
28
- 'transactionId': string;
29
- 'transactionType': TransactionType;
30
- 'transactionStatus': TransactionStatus;
31
- /**
32
- * The date when the transaction was initiated.
33
- */
34
- 'transactionRequestDate': string;
35
- /**
36
- * The expected completion date of the transaction.
37
- */
38
- 'expectedCompletionDate'?: string;
39
- /**
40
- * The transaction\'s completion date.
41
- */
42
- 'transactionActualCompletionDate'?: string;
43
- /**
44
- * The date of the most recent account balance update.
45
- */
46
- 'lastUpdateDate': string;
47
- /**
48
- * The Amazon Seller Wallet customer who requested the transaction.
49
- */
50
- 'requesterName'?: string;
51
- /**
52
- * The transaction initiation source. This value is either the Amazon portal or PISP name that the customer used to start the transaction.
53
- */
54
- 'transactionRequesterSource': string;
55
- /**
56
- * A description of the transaction that the requester provides when they initiate the transaction.
57
- */
58
- 'transactionDescription': string;
59
- 'transactionSourceAccount'?: TransactionAccount;
60
- 'transactionDestinationAccount': TransactionAccount;
61
- 'transactionRequestAmount': Currency;
62
- 'transferRateDetails': TransferRatePreview;
63
- 'transactionFinalAmount'?: Currency;
64
- /**
65
- * The reason the transaction failed, if applicable.
66
- */
67
- 'transactionFailureReason'?: string;
68
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { 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 that apply 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
- */
18
- export interface TransferRatePreview {
19
- 'baseAmount': Currency;
20
- 'fxRateDetails': FxRateDetails;
21
- 'transferAmount': Currency;
22
- /**
23
- * A list of fees.
24
- */
25
- 'fees': Array<Fee>;
26
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The time of and reason for the transfer schedule failure.
14
- */
15
- export interface TransferScheduleFailures {
16
- /**
17
- * The transfer schedule failure date.
18
- */
19
- 'transferScheduleFailureDate': string;
20
- /**
21
- * The reason listed for the failure of the transfer schedule.
22
- */
23
- 'transferScheduleFailureReason': string;
24
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * The Selling Partner API for Amazon Seller Wallet Open Banking API
3
- * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller\'s Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
4
- *
5
- * The version of the OpenAPI document: 2024-03-01
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ScheduleExpression } from './schedule-expression';
13
- import type { ScheduleTransferType } from './schedule-transfer-type';
14
- /**
15
- * Mandatory information for initiating a schedule transfer.
16
- */
17
- export interface TransferScheduleInformation {
18
- /**
19
- * The start date of the scheduled transfer.
20
- */
21
- 'scheduleStartDate'?: string;
22
- /**
23
- * The end date of the scheduled transfer.
24
- */
25
- 'scheduleEndDate'?: string;
26
- 'scheduleExpression'?: ScheduleExpression;
27
- 'scheduleType'?: ScheduleTransferType;
28
- }