rebilly-js-sdk 62.223.0 → 62.223.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/CHANGELOG.md +1 -1
- package/dist/rebilly-js-sdk.d.cts +105 -84
- package/dist/rebilly-js-sdk.d.mts +105 -84
- package/dist/rebilly-js-sdk.d.ts +105 -84
- package/dist/rebilly-js-sdk.es.mjs +1729 -1921
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +2 -4
- package/src/api-handler.spec.js +30 -0
- package/src/create-api-handler.js +26 -4
- package/src/deep-freeze.spec.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -23199,34 +23199,41 @@ export interface coreComponents {
|
|
|
23199
23199
|
*/
|
|
23200
23200
|
batchId: string;
|
|
23201
23201
|
};
|
|
23202
|
-
AddPayoutRequestBatchOperation:
|
|
23203
|
-
| {
|
|
23204
|
-
|
|
23205
|
-
|
|
23206
|
-
|
|
23207
|
-
|
|
23208
|
-
|
|
23209
|
-
|
|
23210
|
-
|
|
23211
|
-
|
|
23212
|
-
|
|
23213
|
-
|
|
23214
|
-
|
|
23215
|
-
|
|
23216
|
-
|
|
23217
|
-
|
|
23218
|
-
|
|
23219
|
-
|
|
23220
|
-
|
|
23221
|
-
|
|
23222
|
-
|
|
23223
|
-
|
|
23224
|
-
|
|
23225
|
-
|
|
23226
|
-
|
|
23227
|
-
|
|
23228
|
-
|
|
23229
|
-
|
|
23202
|
+
AddPayoutRequestBatchOperation:
|
|
23203
|
+
| {
|
|
23204
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
23205
|
+
type: "add";
|
|
23206
|
+
/**
|
|
23207
|
+
* ID of the payout request batch.
|
|
23208
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
23209
|
+
*/
|
|
23210
|
+
batchId: string;
|
|
23211
|
+
/** IDs of the payout requests to add to the batch. */
|
|
23212
|
+
payoutRequestIds: string[];
|
|
23213
|
+
}
|
|
23214
|
+
| {
|
|
23215
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
23216
|
+
type: "add";
|
|
23217
|
+
/**
|
|
23218
|
+
* ID of the payout request batch.
|
|
23219
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
23220
|
+
*/
|
|
23221
|
+
batchId: string;
|
|
23222
|
+
/**
|
|
23223
|
+
* Filter string that selects payout requests to add to the batch.
|
|
23224
|
+
* This field uses the same format as filter parameters for collections.
|
|
23225
|
+
* Use semicolons to separate multiple filter conditions.
|
|
23226
|
+
*
|
|
23227
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
23228
|
+
*
|
|
23229
|
+
* The operation ignores a `batchId` filter.
|
|
23230
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
23231
|
+
* If the filter matches more payout requests than the remaining batch capacity,
|
|
23232
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
23233
|
+
* sorted by creation time.
|
|
23234
|
+
*/
|
|
23235
|
+
filter: string;
|
|
23236
|
+
};
|
|
23230
23237
|
RemovePayoutRequestBatchOperation: {
|
|
23231
23238
|
/** Type of operation that removes payout requests from the batch. */
|
|
23232
23239
|
type: "remove";
|
|
@@ -63309,34 +63316,41 @@ export interface storefrontComponents {
|
|
|
63309
63316
|
*/
|
|
63310
63317
|
batchId: string;
|
|
63311
63318
|
};
|
|
63312
|
-
AddPayoutRequestBatchOperation:
|
|
63313
|
-
| {
|
|
63314
|
-
|
|
63315
|
-
|
|
63316
|
-
|
|
63317
|
-
|
|
63318
|
-
|
|
63319
|
-
|
|
63320
|
-
|
|
63321
|
-
|
|
63322
|
-
|
|
63323
|
-
|
|
63324
|
-
|
|
63325
|
-
|
|
63326
|
-
|
|
63327
|
-
|
|
63328
|
-
|
|
63329
|
-
|
|
63330
|
-
|
|
63331
|
-
|
|
63332
|
-
|
|
63333
|
-
|
|
63334
|
-
|
|
63335
|
-
|
|
63336
|
-
|
|
63337
|
-
|
|
63338
|
-
|
|
63339
|
-
|
|
63319
|
+
AddPayoutRequestBatchOperation:
|
|
63320
|
+
| {
|
|
63321
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
63322
|
+
type: "add";
|
|
63323
|
+
/**
|
|
63324
|
+
* ID of the payout request batch.
|
|
63325
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
63326
|
+
*/
|
|
63327
|
+
batchId: string;
|
|
63328
|
+
/** IDs of the payout requests to add to the batch. */
|
|
63329
|
+
payoutRequestIds: string[];
|
|
63330
|
+
}
|
|
63331
|
+
| {
|
|
63332
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
63333
|
+
type: "add";
|
|
63334
|
+
/**
|
|
63335
|
+
* ID of the payout request batch.
|
|
63336
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
63337
|
+
*/
|
|
63338
|
+
batchId: string;
|
|
63339
|
+
/**
|
|
63340
|
+
* Filter string that selects payout requests to add to the batch.
|
|
63341
|
+
* This field uses the same format as filter parameters for collections.
|
|
63342
|
+
* Use semicolons to separate multiple filter conditions.
|
|
63343
|
+
*
|
|
63344
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
63345
|
+
*
|
|
63346
|
+
* The operation ignores a `batchId` filter.
|
|
63347
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
63348
|
+
* If the filter matches more payout requests than the remaining batch capacity,
|
|
63349
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
63350
|
+
* sorted by creation time.
|
|
63351
|
+
*/
|
|
63352
|
+
filter: string;
|
|
63353
|
+
};
|
|
63340
63354
|
RemovePayoutRequestBatchOperation: {
|
|
63341
63355
|
/** Type of operation that removes payout requests from the batch. */
|
|
63342
63356
|
type: "remove";
|
|
@@ -90650,34 +90664,41 @@ export interface reportsComponents {
|
|
|
90650
90664
|
*/
|
|
90651
90665
|
batchId: string;
|
|
90652
90666
|
};
|
|
90653
|
-
AddPayoutRequestBatchOperation:
|
|
90654
|
-
| {
|
|
90655
|
-
|
|
90656
|
-
|
|
90657
|
-
|
|
90658
|
-
|
|
90659
|
-
|
|
90660
|
-
|
|
90661
|
-
|
|
90662
|
-
|
|
90663
|
-
|
|
90664
|
-
|
|
90665
|
-
|
|
90666
|
-
|
|
90667
|
-
|
|
90668
|
-
|
|
90669
|
-
|
|
90670
|
-
|
|
90671
|
-
|
|
90672
|
-
|
|
90673
|
-
|
|
90674
|
-
|
|
90675
|
-
|
|
90676
|
-
|
|
90677
|
-
|
|
90678
|
-
|
|
90679
|
-
|
|
90680
|
-
|
|
90667
|
+
AddPayoutRequestBatchOperation:
|
|
90668
|
+
| {
|
|
90669
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
90670
|
+
type: "add";
|
|
90671
|
+
/**
|
|
90672
|
+
* ID of the payout request batch.
|
|
90673
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
90674
|
+
*/
|
|
90675
|
+
batchId: string;
|
|
90676
|
+
/** IDs of the payout requests to add to the batch. */
|
|
90677
|
+
payoutRequestIds: string[];
|
|
90678
|
+
}
|
|
90679
|
+
| {
|
|
90680
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
90681
|
+
type: "add";
|
|
90682
|
+
/**
|
|
90683
|
+
* ID of the payout request batch.
|
|
90684
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
90685
|
+
*/
|
|
90686
|
+
batchId: string;
|
|
90687
|
+
/**
|
|
90688
|
+
* Filter string that selects payout requests to add to the batch.
|
|
90689
|
+
* This field uses the same format as filter parameters for collections.
|
|
90690
|
+
* Use semicolons to separate multiple filter conditions.
|
|
90691
|
+
*
|
|
90692
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
90693
|
+
*
|
|
90694
|
+
* The operation ignores a `batchId` filter.
|
|
90695
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
90696
|
+
* If the filter matches more payout requests than the remaining batch capacity,
|
|
90697
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
90698
|
+
* sorted by creation time.
|
|
90699
|
+
*/
|
|
90700
|
+
filter: string;
|
|
90701
|
+
};
|
|
90681
90702
|
RemovePayoutRequestBatchOperation: {
|
|
90682
90703
|
/** Type of operation that removes payout requests from the batch. */
|
|
90683
90704
|
type: "remove";
|
|
@@ -23199,34 +23199,41 @@ export interface coreComponents {
|
|
|
23199
23199
|
*/
|
|
23200
23200
|
batchId: string;
|
|
23201
23201
|
};
|
|
23202
|
-
AddPayoutRequestBatchOperation:
|
|
23203
|
-
| {
|
|
23204
|
-
|
|
23205
|
-
|
|
23206
|
-
|
|
23207
|
-
|
|
23208
|
-
|
|
23209
|
-
|
|
23210
|
-
|
|
23211
|
-
|
|
23212
|
-
|
|
23213
|
-
|
|
23214
|
-
|
|
23215
|
-
|
|
23216
|
-
|
|
23217
|
-
|
|
23218
|
-
|
|
23219
|
-
|
|
23220
|
-
|
|
23221
|
-
|
|
23222
|
-
|
|
23223
|
-
|
|
23224
|
-
|
|
23225
|
-
|
|
23226
|
-
|
|
23227
|
-
|
|
23228
|
-
|
|
23229
|
-
|
|
23202
|
+
AddPayoutRequestBatchOperation:
|
|
23203
|
+
| {
|
|
23204
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
23205
|
+
type: "add";
|
|
23206
|
+
/**
|
|
23207
|
+
* ID of the payout request batch.
|
|
23208
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
23209
|
+
*/
|
|
23210
|
+
batchId: string;
|
|
23211
|
+
/** IDs of the payout requests to add to the batch. */
|
|
23212
|
+
payoutRequestIds: string[];
|
|
23213
|
+
}
|
|
23214
|
+
| {
|
|
23215
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
23216
|
+
type: "add";
|
|
23217
|
+
/**
|
|
23218
|
+
* ID of the payout request batch.
|
|
23219
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
23220
|
+
*/
|
|
23221
|
+
batchId: string;
|
|
23222
|
+
/**
|
|
23223
|
+
* Filter string that selects payout requests to add to the batch.
|
|
23224
|
+
* This field uses the same format as filter parameters for collections.
|
|
23225
|
+
* Use semicolons to separate multiple filter conditions.
|
|
23226
|
+
*
|
|
23227
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
23228
|
+
*
|
|
23229
|
+
* The operation ignores a `batchId` filter.
|
|
23230
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
23231
|
+
* If the filter matches more payout requests than the remaining batch capacity,
|
|
23232
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
23233
|
+
* sorted by creation time.
|
|
23234
|
+
*/
|
|
23235
|
+
filter: string;
|
|
23236
|
+
};
|
|
23230
23237
|
RemovePayoutRequestBatchOperation: {
|
|
23231
23238
|
/** Type of operation that removes payout requests from the batch. */
|
|
23232
23239
|
type: "remove";
|
|
@@ -63309,34 +63316,41 @@ export interface storefrontComponents {
|
|
|
63309
63316
|
*/
|
|
63310
63317
|
batchId: string;
|
|
63311
63318
|
};
|
|
63312
|
-
AddPayoutRequestBatchOperation:
|
|
63313
|
-
| {
|
|
63314
|
-
|
|
63315
|
-
|
|
63316
|
-
|
|
63317
|
-
|
|
63318
|
-
|
|
63319
|
-
|
|
63320
|
-
|
|
63321
|
-
|
|
63322
|
-
|
|
63323
|
-
|
|
63324
|
-
|
|
63325
|
-
|
|
63326
|
-
|
|
63327
|
-
|
|
63328
|
-
|
|
63329
|
-
|
|
63330
|
-
|
|
63331
|
-
|
|
63332
|
-
|
|
63333
|
-
|
|
63334
|
-
|
|
63335
|
-
|
|
63336
|
-
|
|
63337
|
-
|
|
63338
|
-
|
|
63339
|
-
|
|
63319
|
+
AddPayoutRequestBatchOperation:
|
|
63320
|
+
| {
|
|
63321
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
63322
|
+
type: "add";
|
|
63323
|
+
/**
|
|
63324
|
+
* ID of the payout request batch.
|
|
63325
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
63326
|
+
*/
|
|
63327
|
+
batchId: string;
|
|
63328
|
+
/** IDs of the payout requests to add to the batch. */
|
|
63329
|
+
payoutRequestIds: string[];
|
|
63330
|
+
}
|
|
63331
|
+
| {
|
|
63332
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
63333
|
+
type: "add";
|
|
63334
|
+
/**
|
|
63335
|
+
* ID of the payout request batch.
|
|
63336
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
63337
|
+
*/
|
|
63338
|
+
batchId: string;
|
|
63339
|
+
/**
|
|
63340
|
+
* Filter string that selects payout requests to add to the batch.
|
|
63341
|
+
* This field uses the same format as filter parameters for collections.
|
|
63342
|
+
* Use semicolons to separate multiple filter conditions.
|
|
63343
|
+
*
|
|
63344
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
63345
|
+
*
|
|
63346
|
+
* The operation ignores a `batchId` filter.
|
|
63347
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
63348
|
+
* If the filter matches more payout requests than the remaining batch capacity,
|
|
63349
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
63350
|
+
* sorted by creation time.
|
|
63351
|
+
*/
|
|
63352
|
+
filter: string;
|
|
63353
|
+
};
|
|
63340
63354
|
RemovePayoutRequestBatchOperation: {
|
|
63341
63355
|
/** Type of operation that removes payout requests from the batch. */
|
|
63342
63356
|
type: "remove";
|
|
@@ -90650,34 +90664,41 @@ export interface reportsComponents {
|
|
|
90650
90664
|
*/
|
|
90651
90665
|
batchId: string;
|
|
90652
90666
|
};
|
|
90653
|
-
AddPayoutRequestBatchOperation:
|
|
90654
|
-
| {
|
|
90655
|
-
|
|
90656
|
-
|
|
90657
|
-
|
|
90658
|
-
|
|
90659
|
-
|
|
90660
|
-
|
|
90661
|
-
|
|
90662
|
-
|
|
90663
|
-
|
|
90664
|
-
|
|
90665
|
-
|
|
90666
|
-
|
|
90667
|
-
|
|
90668
|
-
|
|
90669
|
-
|
|
90670
|
-
|
|
90671
|
-
|
|
90672
|
-
|
|
90673
|
-
|
|
90674
|
-
|
|
90675
|
-
|
|
90676
|
-
|
|
90677
|
-
|
|
90678
|
-
|
|
90679
|
-
|
|
90680
|
-
|
|
90667
|
+
AddPayoutRequestBatchOperation:
|
|
90668
|
+
| {
|
|
90669
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
90670
|
+
type: "add";
|
|
90671
|
+
/**
|
|
90672
|
+
* ID of the payout request batch.
|
|
90673
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
90674
|
+
*/
|
|
90675
|
+
batchId: string;
|
|
90676
|
+
/** IDs of the payout requests to add to the batch. */
|
|
90677
|
+
payoutRequestIds: string[];
|
|
90678
|
+
}
|
|
90679
|
+
| {
|
|
90680
|
+
/** Type of operation that adds payout requests to the batch. */
|
|
90681
|
+
type: "add";
|
|
90682
|
+
/**
|
|
90683
|
+
* ID of the payout request batch.
|
|
90684
|
+
* A payout request batch groups payout requests so one action applies to every request in the group.
|
|
90685
|
+
*/
|
|
90686
|
+
batchId: string;
|
|
90687
|
+
/**
|
|
90688
|
+
* Filter string that selects payout requests to add to the batch.
|
|
90689
|
+
* This field uses the same format as filter parameters for collections.
|
|
90690
|
+
* Use semicolons to separate multiple filter conditions.
|
|
90691
|
+
*
|
|
90692
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
90693
|
+
*
|
|
90694
|
+
* The operation ignores a `batchId` filter.
|
|
90695
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
90696
|
+
* If the filter matches more payout requests than the remaining batch capacity,
|
|
90697
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
90698
|
+
* sorted by creation time.
|
|
90699
|
+
*/
|
|
90700
|
+
filter: string;
|
|
90701
|
+
};
|
|
90681
90702
|
RemovePayoutRequestBatchOperation: {
|
|
90682
90703
|
/** Type of operation that removes payout requests from the batch. */
|
|
90683
90704
|
type: "remove";
|