@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.
- package/README.md +4 -4
- package/dist/index.cjs +1252 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1894 -0
- package/dist/index.d.ts +1894 -0
- package/dist/index.js +1195 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/seller-wallet-api.js +0 -981
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/balance-listing.js +0 -15
- package/dist/cjs/api-model/models/balance-type.js +0 -25
- package/dist/cjs/api-model/models/balance.js +0 -15
- package/dist/cjs/api-model/models/bank-account-holder-status.js +0 -25
- package/dist/cjs/api-model/models/bank-account-listing.js +0 -15
- package/dist/cjs/api-model/models/bank-account-number-format.js +0 -23
- package/dist/cjs/api-model/models/bank-account-ownership-type.js +0 -23
- package/dist/cjs/api-model/models/bank-account.js +0 -15
- package/dist/cjs/api-model/models/bank-number-format.js +0 -23
- package/dist/cjs/api-model/models/create-transaction-response.js +0 -15
- package/dist/cjs/api-model/models/currency.js +0 -15
- package/dist/cjs/api-model/models/delete-transfer-schedule.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/fee-type.js +0 -24
- package/dist/cjs/api-model/models/fee.js +0 -15
- package/dist/cjs/api-model/models/fx-rate-details.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -56
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/payee-contact-information.js +0 -15
- package/dist/cjs/api-model/models/payee-entity-type.js +0 -24
- package/dist/cjs/api-model/models/payment-preference-payment-type.js +0 -23
- package/dist/cjs/api-model/models/payment-preference.js +0 -15
- package/dist/cjs/api-model/models/rate-direction.js +0 -23
- package/dist/cjs/api-model/models/recurring-frequency.js +0 -25
- package/dist/cjs/api-model/models/schedule-expression-type.js +0 -23
- package/dist/cjs/api-model/models/schedule-expression.js +0 -15
- package/dist/cjs/api-model/models/schedule-transfer-type.js +0 -22
- package/dist/cjs/api-model/models/transaction-account.js +0 -15
- package/dist/cjs/api-model/models/transaction-initiation-request.js +0 -15
- package/dist/cjs/api-model/models/transaction-instrument-details.js +0 -15
- package/dist/cjs/api-model/models/transaction-listing.js +0 -15
- package/dist/cjs/api-model/models/transaction-status.js +0 -27
- package/dist/cjs/api-model/models/transaction-type.js +0 -23
- package/dist/cjs/api-model/models/transaction.js +0 -15
- package/dist/cjs/api-model/models/transfer-rate-preview.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-failures.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-information.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-listing.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-request.js +0 -15
- package/dist/cjs/api-model/models/transfer-schedule-status.js +0 -25
- package/dist/cjs/api-model/models/transfer-schedule.js +0 -15
- package/dist/cjs/client.js +0 -13
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/seller-wallet-api.js +0 -971
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/balance-listing.js +0 -14
- package/dist/es/api-model/models/balance-type.js +0 -22
- package/dist/es/api-model/models/balance.js +0 -14
- package/dist/es/api-model/models/bank-account-holder-status.js +0 -22
- package/dist/es/api-model/models/bank-account-listing.js +0 -14
- package/dist/es/api-model/models/bank-account-number-format.js +0 -20
- package/dist/es/api-model/models/bank-account-ownership-type.js +0 -20
- package/dist/es/api-model/models/bank-account.js +0 -14
- package/dist/es/api-model/models/bank-number-format.js +0 -20
- package/dist/es/api-model/models/create-transaction-response.js +0 -14
- package/dist/es/api-model/models/currency.js +0 -14
- package/dist/es/api-model/models/delete-transfer-schedule.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/fee-type.js +0 -21
- package/dist/es/api-model/models/fee.js +0 -14
- package/dist/es/api-model/models/fx-rate-details.js +0 -14
- package/dist/es/api-model/models/index.js +0 -40
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/payee-contact-information.js +0 -14
- package/dist/es/api-model/models/payee-entity-type.js +0 -21
- package/dist/es/api-model/models/payment-preference-payment-type.js +0 -20
- package/dist/es/api-model/models/payment-preference.js +0 -14
- package/dist/es/api-model/models/rate-direction.js +0 -20
- package/dist/es/api-model/models/recurring-frequency.js +0 -22
- package/dist/es/api-model/models/schedule-expression-type.js +0 -20
- package/dist/es/api-model/models/schedule-expression.js +0 -14
- package/dist/es/api-model/models/schedule-transfer-type.js +0 -19
- package/dist/es/api-model/models/transaction-account.js +0 -14
- package/dist/es/api-model/models/transaction-initiation-request.js +0 -14
- package/dist/es/api-model/models/transaction-instrument-details.js +0 -14
- package/dist/es/api-model/models/transaction-listing.js +0 -14
- package/dist/es/api-model/models/transaction-status.js +0 -24
- package/dist/es/api-model/models/transaction-type.js +0 -20
- package/dist/es/api-model/models/transaction.js +0 -14
- package/dist/es/api-model/models/transfer-rate-preview.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-failures.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-information.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-listing.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-request.js +0 -14
- package/dist/es/api-model/models/transfer-schedule-status.js +0 -22
- package/dist/es/api-model/models/transfer-schedule.js +0 -14
- package/dist/es/client.js +0 -9
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/seller-wallet-api.d.ts +0 -677
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/balance-listing.d.ts +0 -21
- package/dist/types/api-model/models/balance-type.d.ts +0 -21
- package/dist/types/api-model/models/balance.d.ts +0 -34
- package/dist/types/api-model/models/bank-account-holder-status.d.ts +0 -21
- package/dist/types/api-model/models/bank-account-listing.d.ts +0 -21
- package/dist/types/api-model/models/bank-account-number-format.d.ts +0 -19
- package/dist/types/api-model/models/bank-account-ownership-type.d.ts +0 -19
- package/dist/types/api-model/models/bank-account.d.ts +0 -52
- package/dist/types/api-model/models/bank-number-format.d.ts +0 -19
- package/dist/types/api-model/models/create-transaction-response.d.ts +0 -22
- package/dist/types/api-model/models/currency.d.ts +0 -24
- package/dist/types/api-model/models/delete-transfer-schedule.d.ts +0 -28
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/fee-type.d.ts +0 -20
- package/dist/types/api-model/models/fee.d.ts +0 -28
- package/dist/types/api-model/models/fx-rate-details.d.ts +0 -30
- package/dist/types/api-model/models/index.d.ts +0 -40
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/payee-contact-information.d.ts +0 -66
- package/dist/types/api-model/models/payee-entity-type.d.ts +0 -20
- package/dist/types/api-model/models/payment-preference-payment-type.d.ts +0 -19
- package/dist/types/api-model/models/payment-preference.d.ts +0 -22
- package/dist/types/api-model/models/rate-direction.d.ts +0 -19
- package/dist/types/api-model/models/recurring-frequency.d.ts +0 -21
- package/dist/types/api-model/models/schedule-expression-type.d.ts +0 -19
- package/dist/types/api-model/models/schedule-expression.d.ts +0 -20
- package/dist/types/api-model/models/schedule-transfer-type.d.ts +0 -18
- package/dist/types/api-model/models/transaction-account.d.ts +0 -42
- package/dist/types/api-model/models/transaction-initiation-request.d.ts +0 -44
- package/dist/types/api-model/models/transaction-instrument-details.d.ts +0 -26
- package/dist/types/api-model/models/transaction-listing.d.ts +0 -25
- package/dist/types/api-model/models/transaction-status.d.ts +0 -23
- package/dist/types/api-model/models/transaction-type.d.ts +0 -19
- package/dist/types/api-model/models/transaction.d.ts +0 -68
- package/dist/types/api-model/models/transfer-rate-preview.d.ts +0 -26
- package/dist/types/api-model/models/transfer-schedule-failures.d.ts +0 -24
- package/dist/types/api-model/models/transfer-schedule-information.d.ts +0 -28
- package/dist/types/api-model/models/transfer-schedule-listing.d.ts +0 -25
- package/dist/types/api-model/models/transfer-schedule-request.d.ts +0 -38
- package/dist/types/api-model/models/transfer-schedule-status.d.ts +0 -21
- package/dist/types/api-model/models/transfer-schedule.d.ts +0 -36
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
package/dist/es/api-model/api.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from './api/seller-wallet-api';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import globalAxios from 'axios';
|
|
15
|
-
export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
16
|
-
export const COLLECTION_FORMATS = {
|
|
17
|
-
csv: ",",
|
|
18
|
-
ssv: " ",
|
|
19
|
-
tsv: "\t",
|
|
20
|
-
pipes: "|",
|
|
21
|
-
};
|
|
22
|
-
export class BaseAPI {
|
|
23
|
-
basePath;
|
|
24
|
-
axios;
|
|
25
|
-
configuration;
|
|
26
|
-
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
27
|
-
this.basePath = basePath;
|
|
28
|
-
this.axios = axios;
|
|
29
|
-
if (configuration) {
|
|
30
|
-
this.configuration = configuration;
|
|
31
|
-
this.basePath = configuration.basePath ?? basePath;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
;
|
|
36
|
-
export class RequiredError extends Error {
|
|
37
|
-
field;
|
|
38
|
-
constructor(field, msg) {
|
|
39
|
-
super(msg);
|
|
40
|
-
this.field = field;
|
|
41
|
-
this.name = "RequiredError";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export const operationServerMap = {};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { RequiredError } from "./base";
|
|
15
|
-
export const DUMMY_BASE_URL = 'https://example.com';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @throws {RequiredError}
|
|
19
|
-
*/
|
|
20
|
-
export const assertParamExists = function (functionName, paramName, paramValue) {
|
|
21
|
-
if (paramValue === null || paramValue === undefined) {
|
|
22
|
-
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
26
|
-
if (configuration && configuration.apiKey) {
|
|
27
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
28
|
-
? await configuration.apiKey(keyParamName)
|
|
29
|
-
: await configuration.apiKey;
|
|
30
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export const setBasicAuthToObject = function (object, configuration) {
|
|
34
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
35
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
export const setBearerAuthToObject = async function (object, configuration) {
|
|
39
|
-
if (configuration && configuration.accessToken) {
|
|
40
|
-
const accessToken = typeof configuration.accessToken === 'function'
|
|
41
|
-
? await configuration.accessToken()
|
|
42
|
-
: await configuration.accessToken;
|
|
43
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
export const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
47
|
-
if (configuration && configuration.accessToken) {
|
|
48
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
49
|
-
? await configuration.accessToken(name, scopes)
|
|
50
|
-
: await configuration.accessToken;
|
|
51
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
55
|
-
if (parameter == null)
|
|
56
|
-
return;
|
|
57
|
-
if (typeof parameter === "object") {
|
|
58
|
-
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
59
|
-
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
if (urlSearchParams.has(key)) {
|
|
67
|
-
urlSearchParams.append(key, parameter);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
urlSearchParams.set(key, parameter);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export const setSearchParams = function (url, ...objects) {
|
|
75
|
-
const searchParams = new URLSearchParams(url.search);
|
|
76
|
-
setFlattenedQueryParams(searchParams, objects);
|
|
77
|
-
url.search = searchParams.toString();
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
81
|
-
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
82
|
-
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
83
|
-
*/
|
|
84
|
-
// @ts-ignore
|
|
85
|
-
export const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
86
|
-
if (value instanceof Set) {
|
|
87
|
-
return Array.from(value);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
94
|
-
const nonString = typeof value !== 'string';
|
|
95
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
96
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
97
|
-
: nonString;
|
|
98
|
-
return needsSerialization
|
|
99
|
-
? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
|
|
100
|
-
: (value || "");
|
|
101
|
-
};
|
|
102
|
-
export const toPathString = function (url) {
|
|
103
|
-
return url.pathname + url.search + url.hash;
|
|
104
|
-
};
|
|
105
|
-
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
106
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
107
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
|
108
|
-
return axios.request(axiosRequestArgs);
|
|
109
|
-
};
|
|
110
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/**
|
|
3
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
4
|
-
* 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.
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
export class Configuration {
|
|
14
|
-
/**
|
|
15
|
-
* parameter for apiKey security
|
|
16
|
-
* @param name security name
|
|
17
|
-
*/
|
|
18
|
-
apiKey;
|
|
19
|
-
/**
|
|
20
|
-
* parameter for basic security
|
|
21
|
-
*/
|
|
22
|
-
username;
|
|
23
|
-
/**
|
|
24
|
-
* parameter for basic security
|
|
25
|
-
*/
|
|
26
|
-
password;
|
|
27
|
-
/**
|
|
28
|
-
* parameter for oauth2 security
|
|
29
|
-
* @param name security name
|
|
30
|
-
* @param scopes oauth2 scope
|
|
31
|
-
*/
|
|
32
|
-
accessToken;
|
|
33
|
-
/**
|
|
34
|
-
* parameter for aws4 signature security
|
|
35
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
-
* @param {string} options.region - aws region
|
|
37
|
-
* @param {string} options.service - name of the service.
|
|
38
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
-
* @memberof Configuration
|
|
42
|
-
*/
|
|
43
|
-
awsv4;
|
|
44
|
-
/**
|
|
45
|
-
* override base path
|
|
46
|
-
*/
|
|
47
|
-
basePath;
|
|
48
|
-
/**
|
|
49
|
-
* override server index
|
|
50
|
-
*/
|
|
51
|
-
serverIndex;
|
|
52
|
-
/**
|
|
53
|
-
* base options for axios calls
|
|
54
|
-
*/
|
|
55
|
-
baseOptions;
|
|
56
|
-
/**
|
|
57
|
-
* The FormData constructor that will be used to create multipart form data
|
|
58
|
-
* requests. You can inject this here so that execution environments that
|
|
59
|
-
* do not support the FormData class can still run the generated client.
|
|
60
|
-
*
|
|
61
|
-
* @type {new () => FormData}
|
|
62
|
-
*/
|
|
63
|
-
formDataCtor;
|
|
64
|
-
constructor(param = {}) {
|
|
65
|
-
this.apiKey = param.apiKey;
|
|
66
|
-
this.username = param.username;
|
|
67
|
-
this.password = param.password;
|
|
68
|
-
this.accessToken = param.accessToken;
|
|
69
|
-
this.awsv4 = param.awsv4;
|
|
70
|
-
this.basePath = param.basePath;
|
|
71
|
-
this.serverIndex = param.serverIndex;
|
|
72
|
-
this.baseOptions = {
|
|
73
|
-
...param.baseOptions,
|
|
74
|
-
headers: {
|
|
75
|
-
...param.baseOptions?.headers,
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
this.formDataCtor = param.formDataCtor;
|
|
79
|
-
}
|
|
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) {
|
|
91
|
-
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
92
|
-
return mime !== null && jsonMime.test(mime);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from "./api";
|
|
15
|
-
export * from "./configuration";
|
|
16
|
-
export * from "./models";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The type of bank account balance.
|
|
16
|
-
*/
|
|
17
|
-
export const BalanceType = {
|
|
18
|
-
Available: 'AVAILABLE',
|
|
19
|
-
LockedIn: 'LOCKED_IN',
|
|
20
|
-
LockedOut: 'LOCKED_OUT',
|
|
21
|
-
Total: 'TOTAL',
|
|
22
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The status of the Amazon Seller Wallet account holder.
|
|
16
|
-
*/
|
|
17
|
-
export const BankAccountHolderStatus = {
|
|
18
|
-
Active: 'ACTIVE',
|
|
19
|
-
Inactive: 'INACTIVE',
|
|
20
|
-
UnderReview: 'UNDER_REVIEW',
|
|
21
|
-
VerificationFailed: 'VERIFICATION_FAILED',
|
|
22
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The format of the bank account number.
|
|
16
|
-
*/
|
|
17
|
-
export const BankAccountNumberFormat = {
|
|
18
|
-
Iban: 'IBAN',
|
|
19
|
-
Bban: 'BBAN',
|
|
20
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The destination bank account\'s ownership type.
|
|
16
|
-
*/
|
|
17
|
-
export const BankAccountOwnershipType = {
|
|
18
|
-
ThirdParty: 'THIRD_PARTY',
|
|
19
|
-
Self: 'SELF',
|
|
20
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The format of the bank number. Also known as the routing number type.
|
|
16
|
-
*/
|
|
17
|
-
export const BankNumberFormat = {
|
|
18
|
-
Bic: 'BIC',
|
|
19
|
-
Basic: 'BASIC',
|
|
20
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The type of fee on the transaction.
|
|
16
|
-
*/
|
|
17
|
-
export const FeeType = {
|
|
18
|
-
MiscellaneousFee: 'MISCELLANEOUS_FEE',
|
|
19
|
-
Tax: 'TAX',
|
|
20
|
-
TransactionFee: 'TRANSACTION_FEE',
|
|
21
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -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,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* The Selling Partner API for Amazon Seller Wallet Open Banking API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024-03-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|