@sp-api-sdk/seller-wallet-api-2024-03-01 1.5.1 → 1.5.2
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/dist/cjs/api-model/api/seller-wallet-api.js +5 -5
- package/dist/cjs/api-model/configuration.js +2 -2
- package/dist/cjs/api-model/models/balance-type.js +1 -1
- package/dist/cjs/api-model/models/bank-account-holder-status.js +1 -1
- package/dist/cjs/api-model/models/bank-account-number-format.js +1 -1
- package/dist/cjs/api-model/models/bank-account-ownership-type.js +1 -1
- package/dist/cjs/api-model/models/bank-number-format.js +1 -1
- package/dist/cjs/api-model/models/fee-type.js +1 -1
- package/dist/cjs/api-model/models/payee-entity-type.js +1 -1
- package/dist/cjs/api-model/models/payment-preference-payment-type.js +1 -1
- package/dist/cjs/api-model/models/rate-direction.js +1 -1
- package/dist/cjs/api-model/models/recurring-frequency.js +1 -1
- package/dist/cjs/api-model/models/schedule-expression-type.js +1 -1
- package/dist/cjs/api-model/models/schedule-transfer-type.js +1 -1
- package/dist/cjs/api-model/models/transaction-status.js +1 -1
- package/dist/cjs/api-model/models/transaction-type.js +1 -1
- package/dist/cjs/api-model/models/transfer-schedule-status.js +1 -1
- package/dist/es/api-model/api/seller-wallet-api.js +5 -5
- package/dist/es/api-model/configuration.js +2 -2
- package/dist/es/api-model/models/balance-type.js +1 -1
- package/dist/es/api-model/models/bank-account-holder-status.js +1 -1
- package/dist/es/api-model/models/bank-account-number-format.js +1 -1
- package/dist/es/api-model/models/bank-account-ownership-type.js +1 -1
- package/dist/es/api-model/models/bank-number-format.js +1 -1
- package/dist/es/api-model/models/fee-type.js +1 -1
- package/dist/es/api-model/models/payee-entity-type.js +1 -1
- package/dist/es/api-model/models/payment-preference-payment-type.js +1 -1
- package/dist/es/api-model/models/rate-direction.js +1 -1
- package/dist/es/api-model/models/recurring-frequency.js +1 -1
- package/dist/es/api-model/models/schedule-expression-type.js +1 -1
- package/dist/es/api-model/models/schedule-transfer-type.js +1 -1
- package/dist/es/api-model/models/transaction-status.js +1 -1
- package/dist/es/api-model/models/transaction-type.js +1 -1
- package/dist/es/api-model/models/transfer-schedule-status.js +1 -1
- package/package.json +4 -4
|
@@ -140,7 +140,7 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
140
140
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
141
141
|
(0, common_1.assertParamExists)('deleteScheduleTransaction', 'marketplaceId', marketplaceId);
|
|
142
142
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/transferSchedules/{transferScheduleId}`
|
|
143
|
-
.replace(
|
|
143
|
+
.replace('{transferScheduleId}', encodeURIComponent(String(transferScheduleId)));
|
|
144
144
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145
145
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
146
146
|
let baseOptions;
|
|
@@ -176,7 +176,7 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
176
176
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
177
177
|
(0, common_1.assertParamExists)('getAccount', 'marketplaceId', marketplaceId);
|
|
178
178
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/accounts/{accountId}`
|
|
179
|
-
.replace(
|
|
179
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
180
180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
181
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
182
182
|
let baseOptions;
|
|
@@ -212,7 +212,7 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
213
213
|
(0, common_1.assertParamExists)('getTransaction', 'marketplaceId', marketplaceId);
|
|
214
214
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/transactions/{transactionId}`
|
|
215
|
-
.replace(
|
|
215
|
+
.replace('{transactionId}', encodeURIComponent(String(transactionId)));
|
|
216
216
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
217
217
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
218
218
|
let baseOptions;
|
|
@@ -310,7 +310,7 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
310
310
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
311
311
|
(0, common_1.assertParamExists)('getTransferSchedule', 'marketplaceId', marketplaceId);
|
|
312
312
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/transferSchedules/{transferScheduleId}`
|
|
313
|
-
.replace(
|
|
313
|
+
.replace('{transferScheduleId}', encodeURIComponent(String(transferScheduleId)));
|
|
314
314
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
315
315
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
316
316
|
let baseOptions;
|
|
@@ -346,7 +346,7 @@ const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
346
346
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
347
347
|
(0, common_1.assertParamExists)('listAccountBalances', 'marketplaceId', marketplaceId);
|
|
348
348
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/accounts/{accountId}/balance`
|
|
349
|
-
.replace(
|
|
349
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
350
350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
351
351
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
352
352
|
let baseOptions;
|
|
@@ -91,8 +91,8 @@ class Configuration {
|
|
|
91
91
|
* @return True if the given MIME is JSON, false otherwise.
|
|
92
92
|
*/
|
|
93
93
|
isJsonMime(mime) {
|
|
94
|
-
const jsonMime =
|
|
95
|
-
return mime !== null &&
|
|
94
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
95
|
+
return mime !== null && jsonMime.test(mime);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
exports.Configuration = Configuration;
|
|
@@ -134,7 +134,7 @@ export const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
134
134
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
135
135
|
assertParamExists('deleteScheduleTransaction', 'marketplaceId', marketplaceId);
|
|
136
136
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/transferSchedules/{transferScheduleId}`
|
|
137
|
-
.replace(
|
|
137
|
+
.replace('{transferScheduleId}', encodeURIComponent(String(transferScheduleId)));
|
|
138
138
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
139
139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
140
140
|
let baseOptions;
|
|
@@ -170,7 +170,7 @@ export const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
170
170
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
171
171
|
assertParamExists('getAccount', 'marketplaceId', marketplaceId);
|
|
172
172
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/accounts/{accountId}`
|
|
173
|
-
.replace(
|
|
173
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
174
174
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
175
175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
176
176
|
let baseOptions;
|
|
@@ -206,7 +206,7 @@ export const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
206
206
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
207
207
|
assertParamExists('getTransaction', 'marketplaceId', marketplaceId);
|
|
208
208
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/transactions/{transactionId}`
|
|
209
|
-
.replace(
|
|
209
|
+
.replace('{transactionId}', encodeURIComponent(String(transactionId)));
|
|
210
210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
211
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
212
|
let baseOptions;
|
|
@@ -304,7 +304,7 @@ export const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
304
304
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
305
305
|
assertParamExists('getTransferSchedule', 'marketplaceId', marketplaceId);
|
|
306
306
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/transferSchedules/{transferScheduleId}`
|
|
307
|
-
.replace(
|
|
307
|
+
.replace('{transferScheduleId}', encodeURIComponent(String(transferScheduleId)));
|
|
308
308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
309
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
310
|
let baseOptions;
|
|
@@ -340,7 +340,7 @@ export const SellerWalletApiAxiosParamCreator = function (configuration) {
|
|
|
340
340
|
// verify required parameter 'marketplaceId' is not null or undefined
|
|
341
341
|
assertParamExists('listAccountBalances', 'marketplaceId', marketplaceId);
|
|
342
342
|
const localVarPath = `/finances/transfers/wallet/2024-03-01/accounts/{accountId}/balance`
|
|
343
|
-
.replace(
|
|
343
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
344
344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
345
345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
346
346
|
let baseOptions;
|
|
@@ -88,7 +88,7 @@ export class Configuration {
|
|
|
88
88
|
* @return True if the given MIME is JSON, false otherwise.
|
|
89
89
|
*/
|
|
90
90
|
isJsonMime(mime) {
|
|
91
|
-
const jsonMime =
|
|
92
|
-
return mime !== null &&
|
|
91
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
92
|
+
return mime !== null && jsonMime.test(mime);
|
|
93
93
|
}
|
|
94
94
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/seller-wallet-api-2024-03-01",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "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
|
-
"version": "1.5.
|
|
5
|
+
"version": "1.5.2",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.31",
|
|
22
|
+
"axios": "^1.15.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"seller wallet api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cc3ed7e58346bf7a4110ed8f1353aae840f294e2"
|
|
44
44
|
}
|