@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,12 @@
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
+ export * from './api/seller-wallet-api';
@@ -0,0 +1,66 @@
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 { Configuration } from './configuration';
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ export declare const BASE_PATH: string;
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const COLLECTION_FORMATS: {
20
+ csv: string;
21
+ ssv: string;
22
+ tsv: string;
23
+ pipes: string;
24
+ };
25
+ /**
26
+ *
27
+ * @export
28
+ * @interface RequestArgs
29
+ */
30
+ export interface RequestArgs {
31
+ url: string;
32
+ options: RawAxiosRequestConfig;
33
+ }
34
+ /**
35
+ *
36
+ * @export
37
+ * @class BaseAPI
38
+ */
39
+ export declare class BaseAPI {
40
+ protected basePath: string;
41
+ protected axios: AxiosInstance;
42
+ protected configuration: Configuration | undefined;
43
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
+ }
45
+ /**
46
+ *
47
+ * @export
48
+ * @class RequiredError
49
+ * @extends {Error}
50
+ */
51
+ export declare class RequiredError extends Error {
52
+ field: string;
53
+ constructor(field: string, msg?: string);
54
+ }
55
+ interface ServerMap {
56
+ [key: string]: {
57
+ url: string;
58
+ description: string;
59
+ }[];
60
+ }
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const operationServerMap: ServerMap;
66
+ export {};
@@ -0,0 +1,65 @@
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 { Configuration } from "./configuration";
13
+ import type { RequestArgs } from "./base";
14
+ import type { AxiosInstance, AxiosResponse } from 'axios';
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const DUMMY_BASE_URL = "https://example.com";
20
+ /**
21
+ *
22
+ * @throws {RequiredError}
23
+ * @export
24
+ */
25
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
+ /**
27
+ *
28
+ * @export
29
+ */
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
+ /**
32
+ *
33
+ * @export
34
+ */
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
+ /**
37
+ *
38
+ * @export
39
+ */
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
+ /**
42
+ *
43
+ * @export
44
+ */
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
+ /**
47
+ *
48
+ * @export
49
+ */
50
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
+ /**
57
+ *
58
+ * @export
59
+ */
60
+ export declare const toPathString: (url: URL) => string;
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -0,0 +1,91 @@
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
+ export interface ConfigurationParameters {
13
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
+ username?: string;
15
+ password?: string;
16
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
+ basePath?: string;
18
+ serverIndex?: number;
19
+ baseOptions?: any;
20
+ formDataCtor?: new () => any;
21
+ }
22
+ export declare class Configuration {
23
+ /**
24
+ * parameter for apiKey security
25
+ * @param name security name
26
+ * @memberof Configuration
27
+ */
28
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
+ /**
30
+ * parameter for basic security
31
+ *
32
+ * @type {string}
33
+ * @memberof Configuration
34
+ */
35
+ username?: string;
36
+ /**
37
+ * parameter for basic security
38
+ *
39
+ * @type {string}
40
+ * @memberof Configuration
41
+ */
42
+ password?: string;
43
+ /**
44
+ * parameter for oauth2 security
45
+ * @param name security name
46
+ * @param scopes oauth2 scope
47
+ * @memberof Configuration
48
+ */
49
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
+ /**
51
+ * override base path
52
+ *
53
+ * @type {string}
54
+ * @memberof Configuration
55
+ */
56
+ basePath?: string;
57
+ /**
58
+ * override server index
59
+ *
60
+ * @type {number}
61
+ * @memberof Configuration
62
+ */
63
+ serverIndex?: number;
64
+ /**
65
+ * base options for axios calls
66
+ *
67
+ * @type {any}
68
+ * @memberof Configuration
69
+ */
70
+ baseOptions?: any;
71
+ /**
72
+ * The FormData constructor that will be used to create multipart form data
73
+ * requests. You can inject this here so that execution environments that
74
+ * do not support the FormData class can still run the generated client.
75
+ *
76
+ * @type {new () => FormData}
77
+ */
78
+ formDataCtor?: new () => any;
79
+ constructor(param?: ConfigurationParameters);
80
+ /**
81
+ * Check if the given MIME is a JSON MIME.
82
+ * JSON MIME examples:
83
+ * application/json
84
+ * application/json; charset=UTF8
85
+ * APPLICATION/JSON
86
+ * application/vnd.company+json
87
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
88
+ * @return True if the given MIME is JSON, false otherwise.
89
+ */
90
+ isJsonMime(mime: string): boolean;
91
+ }
@@ -0,0 +1,14 @@
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
+ export * from "./api";
13
+ export * from "./configuration";
14
+ export * from "./models";
@@ -0,0 +1,60 @@
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 Address used to verify the bank account of the payee. This can be a person or business mailing address.
14
+ * @export
15
+ * @interface AccountHolderAddress
16
+ */
17
+ export interface AccountHolderAddress {
18
+ /**
19
+ * Address Line 1 of the public address.
20
+ * @type {string}
21
+ * @memberof AccountHolderAddress
22
+ */
23
+ 'addressLine1': string;
24
+ /**
25
+ * Address Line 2 of the public address.
26
+ * @type {string}
27
+ * @memberof AccountHolderAddress
28
+ */
29
+ 'addressLine2'?: string;
30
+ /**
31
+ * City name of the public address.
32
+ * @type {string}
33
+ * @memberof AccountHolderAddress
34
+ */
35
+ 'city': string;
36
+ /**
37
+ * State name of the public address. This will be state or region for CN (China) based addresses.
38
+ * @type {string}
39
+ * @memberof AccountHolderAddress
40
+ */
41
+ 'state': string;
42
+ /**
43
+ * Postal code of the public address.
44
+ * @type {string}
45
+ * @memberof AccountHolderAddress
46
+ */
47
+ 'postalCode': string;
48
+ /**
49
+ * Country name of the public address.
50
+ * @type {string}
51
+ * @memberof AccountHolderAddress
52
+ */
53
+ 'country'?: string;
54
+ /**
55
+ * The two digit country code, in ISO 3166 format.
56
+ * @type {string}
57
+ * @memberof AccountHolderAddress
58
+ */
59
+ 'countryCode': string;
60
+ }
@@ -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
+ import type { Balance } from './balance';
13
+ /**
14
+ * A list of balances in the seller account.
15
+ * @export
16
+ * @interface BalanceListing
17
+ */
18
+ export interface BalanceListing {
19
+ /**
20
+ * A list of balances in the seller account.
21
+ * @type {Array<Balance>}
22
+ * @memberof BalanceListing
23
+ */
24
+ 'balances'?: Array<Balance>;
25
+ }
@@ -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 type of bank account balance.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const BalanceType: {
18
+ readonly Available: "AVAILABLE";
19
+ readonly LockedIn: "LOCKED_IN";
20
+ readonly LockedOut: "LOCKED_OUT";
21
+ readonly Total: "TOTAL";
22
+ };
23
+ export type BalanceType = typeof BalanceType[keyof typeof BalanceType];
@@ -0,0 +1,49 @@
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 { BalanceType } from './balance-type';
13
+ /**
14
+ * The balance amount in the Amazon Seller Wallet bank account.
15
+ * @export
16
+ * @interface Balance
17
+ */
18
+ export interface Balance {
19
+ /**
20
+ * The unique identifier provided by Amazon to identify the account.
21
+ * @type {string}
22
+ * @memberof Balance
23
+ */
24
+ 'accountId': string;
25
+ /**
26
+ *
27
+ * @type {BalanceType}
28
+ * @memberof Balance
29
+ */
30
+ 'balanceType'?: BalanceType;
31
+ /**
32
+ * A decimal number, such as an amount or FX rate.
33
+ * @type {number}
34
+ * @memberof Balance
35
+ */
36
+ 'balanceAmount': number;
37
+ /**
38
+ * The Amazon Seller Wallet bank account currency code in ISO 4217 format.
39
+ * @type {string}
40
+ * @memberof Balance
41
+ */
42
+ 'balanceCurrency': string;
43
+ /**
44
+ * The date of the most recent account balance update.
45
+ * @type {string}
46
+ * @memberof Balance
47
+ */
48
+ 'lastUpdateDate': string;
49
+ }
@@ -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 status of the Amazon Seller Wallet account holder.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const BankAccountHolderStatus: {
18
+ readonly Active: "ACTIVE";
19
+ readonly Inactive: "INACTIVE";
20
+ readonly UnderReview: "UNDER_REVIEW";
21
+ readonly VerificationFailed: "VERIFICATION_FAILED";
22
+ };
23
+ export type BankAccountHolderStatus = typeof BankAccountHolderStatus[keyof typeof BankAccountHolderStatus];
@@ -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
+ import type { BankAccount } from './bank-account';
13
+ /**
14
+ * A list of bank accounts.
15
+ * @export
16
+ * @interface BankAccountListing
17
+ */
18
+ export interface BankAccountListing {
19
+ /**
20
+ * A list of bank accounts.
21
+ * @type {Array<BankAccount>}
22
+ * @memberof BankAccountListing
23
+ */
24
+ 'accounts': Array<BankAccount>;
25
+ }
@@ -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 bank account\'s format type.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const BankAccountNumberFormat: {
18
+ readonly Iban: "IBAN";
19
+ readonly Bban: "BBAN";
20
+ };
21
+ export type BankAccountNumberFormat = typeof BankAccountNumberFormat[keyof typeof BankAccountNumberFormat];
@@ -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 destination bank account\'s ownership type.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const BankAccountOwnershipType: {
18
+ readonly ThirdParty: "THIRD_PARTY";
19
+ readonly Self: "SELF";
20
+ readonly Government: "GOVERNMENT";
21
+ };
22
+ export type BankAccountOwnershipType = typeof BankAccountOwnershipType[keyof typeof BankAccountOwnershipType];
@@ -0,0 +1,88 @@
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 { BankAccountHolderStatus } from './bank-account-holder-status';
13
+ import type { BankAccountNumberFormat } from './bank-account-number-format';
14
+ import type { BankAccountOwnershipType } from './bank-account-ownership-type';
15
+ import type { BankNumberFormat } from './bank-number-format';
16
+ /**
17
+ * Details of an Amazon Seller Wallet bank account. This account is used to hold the money that a Seller Wallet customer earns by selling items.
18
+ * @export
19
+ * @interface BankAccount
20
+ */
21
+ export interface BankAccount {
22
+ /**
23
+ * The unique identifier provided by Amazon to identify the account.
24
+ * @type {string}
25
+ * @memberof BankAccount
26
+ */
27
+ 'accountId'?: string;
28
+ /**
29
+ * The bank account holder\'s name (expected to be an Amazon customer).
30
+ * @type {string}
31
+ * @memberof BankAccount
32
+ */
33
+ 'accountHolderName': string;
34
+ /**
35
+ *
36
+ * @type {BankAccountNumberFormat}
37
+ * @memberof BankAccount
38
+ */
39
+ 'bankAccountNumberFormat': BankAccountNumberFormat;
40
+ /**
41
+ * The name of the bank. This value is Amazon Seller Wallet for Amazon Seller Wallet accounts.
42
+ * @type {string}
43
+ * @memberof BankAccount
44
+ */
45
+ 'bankName'?: string;
46
+ /**
47
+ *
48
+ * @type {BankAccountOwnershipType}
49
+ * @memberof BankAccount
50
+ */
51
+ 'bankAccountOwnershipType': BankAccountOwnershipType;
52
+ /**
53
+ * Routing number for automated clearing house transfers. This value is nine consecutive zeros for Amazon Seller Wallet accounts.
54
+ * @type {string}
55
+ * @memberof BankAccount
56
+ */
57
+ 'routingNumber': string;
58
+ /**
59
+ *
60
+ * @type {BankNumberFormat}
61
+ * @memberof BankAccount
62
+ */
63
+ 'bankNumberFormat': BankNumberFormat;
64
+ /**
65
+ * The two-digit country code in ISO 3166 format.
66
+ * @type {string}
67
+ * @memberof BankAccount
68
+ */
69
+ 'accountCountryCode': string;
70
+ /**
71
+ * Bank account currency code in ISO 4217 format.
72
+ * @type {string}
73
+ * @memberof BankAccount
74
+ */
75
+ 'accountCurrency': string;
76
+ /**
77
+ * The last 3 digit of the bank account number. This value is three consecutive zeros for Amazon Seller Wallet accounts.
78
+ * @type {string}
79
+ * @memberof BankAccount
80
+ */
81
+ 'bankAccountNumberTail': string;
82
+ /**
83
+ *
84
+ * @type {BankAccountHolderStatus}
85
+ * @memberof BankAccount
86
+ */
87
+ 'bankAccountHolderStatus'?: BankAccountHolderStatus;
88
+ }
@@ -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 format of the bank number. Also known as the routing number type.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const BankNumberFormat: {
18
+ readonly Bic: "BIC";
19
+ readonly Basic: "BASIC";
20
+ };
21
+ export type BankNumberFormat = typeof BankNumberFormat[keyof typeof BankNumberFormat];
@@ -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
+ * A currency type and amount.
14
+ * @export
15
+ * @interface Currency
16
+ */
17
+ export interface Currency {
18
+ /**
19
+ * The three-digit currency code in ISO 4217 format.
20
+ * @type {string}
21
+ * @memberof Currency
22
+ */
23
+ 'currencyCode'?: string;
24
+ /**
25
+ * A decimal number, such as an amount or FX rate.
26
+ * @type {number}
27
+ * @memberof Currency
28
+ */
29
+ 'currencyAmount'?: number;
30
+ }