rebilly-js-sdk 62.146.0 → 62.148.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/CHANGELOG.md +2 -2
- package/dist/rebilly-js-sdk.d.cts +312 -23
- package/dist/rebilly-js-sdk.d.mts +312 -23
- package/dist/rebilly-js-sdk.d.ts +312 -23
- package/dist/rebilly-js-sdk.es.mjs +107 -83
- package/dist/rebilly-js-sdk.umd.js +2 -2
- package/package.json +1 -1
- package/src/resources/payout-request-batches-resource.js +26 -2
|
@@ -1772,6 +1772,8 @@ declare namespace rebilly {
|
|
|
1772
1772
|
type PatchPayoutRequestBatchRequest = operations['PatchPayoutRequestBatch']['requestBody']['content']['application/json']
|
|
1773
1773
|
type PatchPayoutRequestBatchResponse = operations['PatchPayoutRequestBatch']['responses']['200']['content']['application/json']
|
|
1774
1774
|
type PatchPayoutRequestBatchResponsePromise = Promise<{fields: PatchPayoutRequestBatchResponse}>
|
|
1775
|
+
type DeletePayoutRequestBatchResponse = operations['DeletePayoutRequestBatch']['responses']['204']
|
|
1776
|
+
type DeletePayoutRequestBatchResponsePromise = Promise<{fields: DeletePayoutRequestBatchResponse}>
|
|
1775
1777
|
|
|
1776
1778
|
type PostPayoutRequestBatchAutoAllocateResponse = operations['PostPayoutRequestBatchAutoAllocate']['responses']['200']['content']['application/json']
|
|
1777
1779
|
type PostPayoutRequestBatchAutoAllocateResponsePromise = Promise<{fields: PostPayoutRequestBatchAutoAllocateResponse}>
|
|
@@ -1784,6 +1786,19 @@ declare namespace rebilly {
|
|
|
1784
1786
|
type PostPayoutRequestBatchBlockResponse = operations['PostPayoutRequestBatchBlock']['responses']['200']['content']['application/json']
|
|
1785
1787
|
type PostPayoutRequestBatchBlockResponsePromise = Promise<{fields: PostPayoutRequestBatchBlockResponse}>
|
|
1786
1788
|
|
|
1789
|
+
type PostPayoutRequestsToBatchRequest = operations['PostPayoutRequestsToBatch']['requestBody']['content']['application/json']
|
|
1790
|
+
type CreatePayoutRequestsToBatchRequest = { id?: string, data: PostPayoutRequestsToBatchRequest, expand?: string }
|
|
1791
|
+
type PostPayoutRequestsToBatchResponse = operations['PostPayoutRequestsToBatch']['responses']['200']['content']['application/json']
|
|
1792
|
+
type PostPayoutRequestsToBatchResponsePromise = Promise<{fields: PostPayoutRequestsToBatchResponse}>
|
|
1793
|
+
|
|
1794
|
+
type PostRemovePayoutRequestsFromBatchRequest = operations['PostRemovePayoutRequestsFromBatch']['requestBody']['content']['application/json']
|
|
1795
|
+
type CreateRemovePayoutRequestsFromBatchRequest = { id?: string, data: PostRemovePayoutRequestsFromBatchRequest, expand?: string }
|
|
1796
|
+
type PostRemovePayoutRequestsFromBatchResponse = operations['PostRemovePayoutRequestsFromBatch']['responses']['200']['content']['application/json']
|
|
1797
|
+
type PostRemovePayoutRequestsFromBatchResponsePromise = Promise<{fields: PostRemovePayoutRequestsFromBatchResponse}>
|
|
1798
|
+
|
|
1799
|
+
type PostPayoutRequestBatchUnblockResponse = operations['PostPayoutRequestBatchUnblock']['responses']['200']['content']['application/json']
|
|
1800
|
+
type PostPayoutRequestBatchUnblockResponsePromise = Promise<{fields: PostPayoutRequestBatchUnblockResponse}>
|
|
1801
|
+
|
|
1787
1802
|
type GetPayoutRequestBatchPreviewRequest = operations['GetPayoutRequestBatchPreview']['parameters']
|
|
1788
1803
|
|
|
1789
1804
|
type GetPayoutRequestBatchPreviewResponse = operations['GetPayoutRequestBatchPreview']['responses']['200']['content']['application/json']
|
|
@@ -5544,6 +5559,12 @@ export interface corePaths {
|
|
|
5544
5559
|
"/payout-request-batches/{id}": {
|
|
5545
5560
|
/** Retrieves a payout request batch with a specified ID. */
|
|
5546
5561
|
get: operations["GetPayoutRequestBatch"];
|
|
5562
|
+
/**
|
|
5563
|
+
* Deletes a payout request batch with a specified ID and clears the `batchId` field from every payout request in the batch.
|
|
5564
|
+
* This operation preserves every payout request, status, and blocked state.
|
|
5565
|
+
* This operation is atomic. It clears all `batchId` fields or leaves them all unchanged.
|
|
5566
|
+
*/
|
|
5567
|
+
delete: operations["DeletePayoutRequestBatch"];
|
|
5547
5568
|
/**
|
|
5548
5569
|
* Partially updates a payout request batch with a specified ID.
|
|
5549
5570
|
* Use this operation to update the description and allocation order.
|
|
@@ -5599,6 +5620,69 @@ export interface corePaths {
|
|
|
5599
5620
|
};
|
|
5600
5621
|
};
|
|
5601
5622
|
};
|
|
5623
|
+
"/payout-request-batches/{id}/payout-requests": {
|
|
5624
|
+
/**
|
|
5625
|
+
* Adds payout requests to a batch with a specified ID.
|
|
5626
|
+
* Accepts payout requests in any status, with or without allocations.
|
|
5627
|
+
* A batch contains a maximum of 1000 payout requests.
|
|
5628
|
+
*
|
|
5629
|
+
* Provide exactly one of the following fields:
|
|
5630
|
+
* - `payoutRequestIds` to add specific payout requests.
|
|
5631
|
+
* - `filter` to add payout requests that match the filter when the operation runs.
|
|
5632
|
+
*
|
|
5633
|
+
* If any explicitly specified payout request is already associated with a batch,
|
|
5634
|
+
* the operation returns a `409 Conflict` response.
|
|
5635
|
+
* Filter results exclude payout requests that are already associated with a batch.
|
|
5636
|
+
* If more payout requests match the filter than the batch can contain,
|
|
5637
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
5638
|
+
* sorted by creation time.
|
|
5639
|
+
* If adding explicitly specified payout requests would increase the batch to more than 1000 requests,
|
|
5640
|
+
* the operation returns a `409 Conflict` response.
|
|
5641
|
+
* If the batch has reached its payout request limit,
|
|
5642
|
+
* the operation returns a `409 Conflict` response for either selection method.
|
|
5643
|
+
* This operation is atomic. If a conflict occurs, the operation adds no payout requests to the batch.
|
|
5644
|
+
*/
|
|
5645
|
+
post: operations["PostPayoutRequestsToBatch"];
|
|
5646
|
+
parameters: {
|
|
5647
|
+
path: {
|
|
5648
|
+
/** ID of the resource. */
|
|
5649
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
5650
|
+
};
|
|
5651
|
+
};
|
|
5652
|
+
};
|
|
5653
|
+
"/payout-request-batches/{id}/payout-requests/remove": {
|
|
5654
|
+
/**
|
|
5655
|
+
* Removes specified payout requests from a batch with a specified ID by clearing `batchId` on each request.
|
|
5656
|
+
* This operation preserves each payout request, status, and blocked state.
|
|
5657
|
+
* Removes requests regardless of status or allocations.
|
|
5658
|
+
*
|
|
5659
|
+
* This operation is atomic.
|
|
5660
|
+
* If any payout request is not associated with the specified batch,
|
|
5661
|
+
* the operation clears no associations with the batch.
|
|
5662
|
+
*/
|
|
5663
|
+
post: operations["PostRemovePayoutRequestsFromBatch"];
|
|
5664
|
+
parameters: {
|
|
5665
|
+
path: {
|
|
5666
|
+
/** ID of the resource. */
|
|
5667
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
5668
|
+
};
|
|
5669
|
+
};
|
|
5670
|
+
};
|
|
5671
|
+
"/payout-request-batches/{id}/unblock": {
|
|
5672
|
+
/**
|
|
5673
|
+
* Unblocks every blocked payout request in a batch with a specified ID.
|
|
5674
|
+
* Leaves payout requests without a block unchanged.
|
|
5675
|
+
* Processes all requests in the batch, up to the 1000-request batch limit, without changing batch membership.
|
|
5676
|
+
* This operation is atomic.
|
|
5677
|
+
*/
|
|
5678
|
+
post: operations["PostPayoutRequestBatchUnblock"];
|
|
5679
|
+
parameters: {
|
|
5680
|
+
path: {
|
|
5681
|
+
/** ID of the resource. */
|
|
5682
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
5683
|
+
};
|
|
5684
|
+
};
|
|
5685
|
+
};
|
|
5602
5686
|
"/payout-request-batches/preview": {
|
|
5603
5687
|
/**
|
|
5604
5688
|
* Retrieves aggregate information for the payout requests that match a specified filter.
|
|
@@ -22656,10 +22740,6 @@ export interface coreComponents {
|
|
|
22656
22740
|
userId?: string;
|
|
22657
22741
|
/** Total number of payout requests in the batch. */
|
|
22658
22742
|
totalCount?: number;
|
|
22659
|
-
/** Number of payout requests successfully processed. */
|
|
22660
|
-
successCount?: number;
|
|
22661
|
-
/** Number of payout requests that failed to process. */
|
|
22662
|
-
failureCount?: number;
|
|
22663
22743
|
/** Number of unique customers in the batch. */
|
|
22664
22744
|
customerCount?: number;
|
|
22665
22745
|
/** Total payout amount grouped by currency in the batch. */
|
|
@@ -22717,7 +22797,7 @@ export interface coreComponents {
|
|
|
22717
22797
|
/** ID of the plan. */
|
|
22718
22798
|
planId: string;
|
|
22719
22799
|
/** Number of product units in the specified plan. */
|
|
22720
|
-
quantity
|
|
22800
|
+
quantity: number;
|
|
22721
22801
|
}[];
|
|
22722
22802
|
/** Billing address details. */
|
|
22723
22803
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
@@ -26976,7 +27056,7 @@ export interface coreComponents {
|
|
|
26976
27056
|
/** ID of the plan. */
|
|
26977
27057
|
planId: string;
|
|
26978
27058
|
/** Number of product units in the specified plan. */
|
|
26979
|
-
quantity
|
|
27059
|
+
quantity: number;
|
|
26980
27060
|
}[];
|
|
26981
27061
|
/** Billing address details. */
|
|
26982
27062
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
@@ -27030,7 +27110,7 @@ export interface coreComponents {
|
|
|
27030
27110
|
/** ID of the plan. */
|
|
27031
27111
|
planId: string;
|
|
27032
27112
|
/** Number of product units in the specified plan. */
|
|
27033
|
-
quantity
|
|
27113
|
+
quantity: number;
|
|
27034
27114
|
}[];
|
|
27035
27115
|
/** Billing address details. */
|
|
27036
27116
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
@@ -42157,6 +42237,8 @@ export interface operations {
|
|
|
42157
42237
|
limit?: coreComponents["parameters"]["collectionLimit"];
|
|
42158
42238
|
/** Specifies the starting point within the collection of items to be returned. */
|
|
42159
42239
|
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
42240
|
+
/** Use this field to perform a partial search of text fields. */
|
|
42241
|
+
q?: coreComponents["parameters"]["collectionQuery"];
|
|
42160
42242
|
/**
|
|
42161
42243
|
* Criteria for filtering collection items.
|
|
42162
42244
|
* This field requires a special format.
|
|
@@ -42276,6 +42358,27 @@ export interface operations {
|
|
|
42276
42358
|
429: coreComponents["responses"]["TooManyRequests"];
|
|
42277
42359
|
};
|
|
42278
42360
|
};
|
|
42361
|
+
/**
|
|
42362
|
+
* Deletes a payout request batch with a specified ID and clears the `batchId` field from every payout request in the batch.
|
|
42363
|
+
* This operation preserves every payout request, status, and blocked state.
|
|
42364
|
+
* This operation is atomic. It clears all `batchId` fields or leaves them all unchanged.
|
|
42365
|
+
*/
|
|
42366
|
+
DeletePayoutRequestBatch: {
|
|
42367
|
+
parameters: {
|
|
42368
|
+
path: {
|
|
42369
|
+
/** ID of the resource. */
|
|
42370
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
42371
|
+
};
|
|
42372
|
+
};
|
|
42373
|
+
responses: {
|
|
42374
|
+
/** Payout request batch deleted. */
|
|
42375
|
+
204: never;
|
|
42376
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
42377
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
42378
|
+
404: coreComponents["responses"]["NotFound"];
|
|
42379
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
42380
|
+
};
|
|
42381
|
+
};
|
|
42279
42382
|
/**
|
|
42280
42383
|
* Partially updates a payout request batch with a specified ID.
|
|
42281
42384
|
* Use this operation to update the description and allocation order.
|
|
@@ -42397,6 +42500,160 @@ export interface operations {
|
|
|
42397
42500
|
};
|
|
42398
42501
|
};
|
|
42399
42502
|
};
|
|
42503
|
+
/**
|
|
42504
|
+
* Adds payout requests to a batch with a specified ID.
|
|
42505
|
+
* Accepts payout requests in any status, with or without allocations.
|
|
42506
|
+
* A batch contains a maximum of 1000 payout requests.
|
|
42507
|
+
*
|
|
42508
|
+
* Provide exactly one of the following fields:
|
|
42509
|
+
* - `payoutRequestIds` to add specific payout requests.
|
|
42510
|
+
* - `filter` to add payout requests that match the filter when the operation runs.
|
|
42511
|
+
*
|
|
42512
|
+
* If any explicitly specified payout request is already associated with a batch,
|
|
42513
|
+
* the operation returns a `409 Conflict` response.
|
|
42514
|
+
* Filter results exclude payout requests that are already associated with a batch.
|
|
42515
|
+
* If more payout requests match the filter than the batch can contain,
|
|
42516
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
42517
|
+
* sorted by creation time.
|
|
42518
|
+
* If adding explicitly specified payout requests would increase the batch to more than 1000 requests,
|
|
42519
|
+
* the operation returns a `409 Conflict` response.
|
|
42520
|
+
* If the batch has reached its payout request limit,
|
|
42521
|
+
* the operation returns a `409 Conflict` response for either selection method.
|
|
42522
|
+
* This operation is atomic. If a conflict occurs, the operation adds no payout requests to the batch.
|
|
42523
|
+
*/
|
|
42524
|
+
PostPayoutRequestsToBatch: {
|
|
42525
|
+
parameters: {
|
|
42526
|
+
path: {
|
|
42527
|
+
/** ID of the resource. */
|
|
42528
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
42529
|
+
};
|
|
42530
|
+
};
|
|
42531
|
+
responses: {
|
|
42532
|
+
/** Payout requests added to the batch. */
|
|
42533
|
+
200: {
|
|
42534
|
+
headers: {};
|
|
42535
|
+
content: {
|
|
42536
|
+
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
42537
|
+
};
|
|
42538
|
+
};
|
|
42539
|
+
/** Invalid filter provided or no payout requests match the filter. */
|
|
42540
|
+
400: {
|
|
42541
|
+
content: {
|
|
42542
|
+
"application/json": coreComponents["schemas"]["Problem"];
|
|
42543
|
+
};
|
|
42544
|
+
};
|
|
42545
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
42546
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
42547
|
+
404: coreComponents["responses"]["NotFound"];
|
|
42548
|
+
/** Batch limit reached or would be exceeded, or one or more explicitly specified payout requests are already associated with a batch. */
|
|
42549
|
+
409: {
|
|
42550
|
+
content: {
|
|
42551
|
+
"application/json": coreComponents["schemas"]["Conflict"];
|
|
42552
|
+
};
|
|
42553
|
+
};
|
|
42554
|
+
422: coreComponents["responses"]["ValidationError"];
|
|
42555
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
42556
|
+
};
|
|
42557
|
+
/** Selection of payout requests to add to the batch. */
|
|
42558
|
+
requestBody: {
|
|
42559
|
+
content: {
|
|
42560
|
+
"application/json":
|
|
42561
|
+
| {
|
|
42562
|
+
/** IDs of the payout requests to add to the batch. */
|
|
42563
|
+
payoutRequestIds: string[];
|
|
42564
|
+
}
|
|
42565
|
+
| {
|
|
42566
|
+
/**
|
|
42567
|
+
* Filter string that selects payout requests to add to the batch.
|
|
42568
|
+
* This field uses the same format as filter parameters for collections.
|
|
42569
|
+
* Use semicolons to separate multiple filter conditions.
|
|
42570
|
+
*
|
|
42571
|
+
* Available fields for filtering: `id`, `status`, `websiteId`, `customerId`, `currency`, `amount`, `createdTime`, `updatedTime`.
|
|
42572
|
+
*
|
|
42573
|
+
* This operation ignores a `batchId` filter.
|
|
42574
|
+
* Filter results always exclude payout requests that are already associated with a batch.
|
|
42575
|
+
* If the filter matches more payout requests than the batch can contain,
|
|
42576
|
+
* the operation adds only the oldest matching requests up to the batch limit,
|
|
42577
|
+
* sorted by creation time.
|
|
42578
|
+
*/
|
|
42579
|
+
filter: string;
|
|
42580
|
+
};
|
|
42581
|
+
};
|
|
42582
|
+
};
|
|
42583
|
+
};
|
|
42584
|
+
/**
|
|
42585
|
+
* Removes specified payout requests from a batch with a specified ID by clearing `batchId` on each request.
|
|
42586
|
+
* This operation preserves each payout request, status, and blocked state.
|
|
42587
|
+
* Removes requests regardless of status or allocations.
|
|
42588
|
+
*
|
|
42589
|
+
* This operation is atomic.
|
|
42590
|
+
* If any payout request is not associated with the specified batch,
|
|
42591
|
+
* the operation clears no associations with the batch.
|
|
42592
|
+
*/
|
|
42593
|
+
PostRemovePayoutRequestsFromBatch: {
|
|
42594
|
+
parameters: {
|
|
42595
|
+
path: {
|
|
42596
|
+
/** ID of the resource. */
|
|
42597
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
42598
|
+
};
|
|
42599
|
+
};
|
|
42600
|
+
responses: {
|
|
42601
|
+
/** Payout requests removed from the batch. */
|
|
42602
|
+
200: {
|
|
42603
|
+
headers: {};
|
|
42604
|
+
content: {
|
|
42605
|
+
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
42606
|
+
};
|
|
42607
|
+
};
|
|
42608
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
42609
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
42610
|
+
404: coreComponents["responses"]["NotFound"];
|
|
42611
|
+
/** One or more payout requests are not associated with the specified batch. */
|
|
42612
|
+
409: {
|
|
42613
|
+
content: {
|
|
42614
|
+
"application/json": coreComponents["schemas"]["Conflict"];
|
|
42615
|
+
};
|
|
42616
|
+
};
|
|
42617
|
+
422: coreComponents["responses"]["ValidationError"];
|
|
42618
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
42619
|
+
};
|
|
42620
|
+
/** Payout requests to remove from the batch. */
|
|
42621
|
+
requestBody: {
|
|
42622
|
+
content: {
|
|
42623
|
+
"application/json": {
|
|
42624
|
+
/** IDs of the payout requests to remove from the batch. */
|
|
42625
|
+
payoutRequestIds: string[];
|
|
42626
|
+
};
|
|
42627
|
+
};
|
|
42628
|
+
};
|
|
42629
|
+
};
|
|
42630
|
+
/**
|
|
42631
|
+
* Unblocks every blocked payout request in a batch with a specified ID.
|
|
42632
|
+
* Leaves payout requests without a block unchanged.
|
|
42633
|
+
* Processes all requests in the batch, up to the 1000-request batch limit, without changing batch membership.
|
|
42634
|
+
* This operation is atomic.
|
|
42635
|
+
*/
|
|
42636
|
+
PostPayoutRequestBatchUnblock: {
|
|
42637
|
+
parameters: {
|
|
42638
|
+
path: {
|
|
42639
|
+
/** ID of the resource. */
|
|
42640
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
42641
|
+
};
|
|
42642
|
+
};
|
|
42643
|
+
responses: {
|
|
42644
|
+
/** Payout requests in the batch unblocked. */
|
|
42645
|
+
200: {
|
|
42646
|
+
headers: {};
|
|
42647
|
+
content: {
|
|
42648
|
+
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
42649
|
+
};
|
|
42650
|
+
};
|
|
42651
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
42652
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
42653
|
+
404: coreComponents["responses"]["NotFound"];
|
|
42654
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
42655
|
+
};
|
|
42656
|
+
};
|
|
42400
42657
|
/**
|
|
42401
42658
|
* Retrieves aggregate information for the payout requests that match a specified filter.
|
|
42402
42659
|
*
|
|
@@ -61205,10 +61462,6 @@ export interface storefrontComponents {
|
|
|
61205
61462
|
userId?: string;
|
|
61206
61463
|
/** Total number of payout requests in the batch. */
|
|
61207
61464
|
totalCount?: number;
|
|
61208
|
-
/** Number of payout requests successfully processed. */
|
|
61209
|
-
successCount?: number;
|
|
61210
|
-
/** Number of payout requests that failed to process. */
|
|
61211
|
-
failureCount?: number;
|
|
61212
61465
|
/** Number of unique customers in the batch. */
|
|
61213
61466
|
customerCount?: number;
|
|
61214
61467
|
/** Total payout amount grouped by currency in the batch. */
|
|
@@ -61266,7 +61519,7 @@ export interface storefrontComponents {
|
|
|
61266
61519
|
/** ID of the plan. */
|
|
61267
61520
|
planId: string;
|
|
61268
61521
|
/** Number of product units in the specified plan. */
|
|
61269
|
-
quantity
|
|
61522
|
+
quantity: number;
|
|
61270
61523
|
}[];
|
|
61271
61524
|
/** Billing address details. */
|
|
61272
61525
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
@@ -65525,7 +65778,7 @@ export interface storefrontComponents {
|
|
|
65525
65778
|
/** ID of the plan. */
|
|
65526
65779
|
planId: string;
|
|
65527
65780
|
/** Number of product units in the specified plan. */
|
|
65528
|
-
quantity
|
|
65781
|
+
quantity: number;
|
|
65529
65782
|
}[];
|
|
65530
65783
|
/** Billing address details. */
|
|
65531
65784
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
@@ -65579,7 +65832,7 @@ export interface storefrontComponents {
|
|
|
65579
65832
|
/** ID of the plan. */
|
|
65580
65833
|
planId: string;
|
|
65581
65834
|
/** Number of product units in the specified plan. */
|
|
65582
|
-
quantity
|
|
65835
|
+
quantity: number;
|
|
65583
65836
|
}[];
|
|
65584
65837
|
/** Billing address details. */
|
|
65585
65838
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
@@ -87207,10 +87460,6 @@ export interface reportsComponents {
|
|
|
87207
87460
|
userId?: string;
|
|
87208
87461
|
/** Total number of payout requests in the batch. */
|
|
87209
87462
|
totalCount?: number;
|
|
87210
|
-
/** Number of payout requests successfully processed. */
|
|
87211
|
-
successCount?: number;
|
|
87212
|
-
/** Number of payout requests that failed to process. */
|
|
87213
|
-
failureCount?: number;
|
|
87214
87463
|
/** Number of unique customers in the batch. */
|
|
87215
87464
|
customerCount?: number;
|
|
87216
87465
|
/** Total payout amount grouped by currency in the batch. */
|
|
@@ -87268,7 +87517,7 @@ export interface reportsComponents {
|
|
|
87268
87517
|
/** ID of the plan. */
|
|
87269
87518
|
planId: string;
|
|
87270
87519
|
/** Number of product units in the specified plan. */
|
|
87271
|
-
quantity
|
|
87520
|
+
quantity: number;
|
|
87272
87521
|
}[];
|
|
87273
87522
|
/** Billing address details. */
|
|
87274
87523
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
@@ -91527,7 +91776,7 @@ export interface reportsComponents {
|
|
|
91527
91776
|
/** ID of the plan. */
|
|
91528
91777
|
planId: string;
|
|
91529
91778
|
/** Number of product units in the specified plan. */
|
|
91530
|
-
quantity
|
|
91779
|
+
quantity: number;
|
|
91531
91780
|
}[];
|
|
91532
91781
|
/** Billing address details. */
|
|
91533
91782
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
@@ -91581,7 +91830,7 @@ export interface reportsComponents {
|
|
|
91581
91830
|
/** ID of the plan. */
|
|
91582
91831
|
planId: string;
|
|
91583
91832
|
/** Number of product units in the specified plan. */
|
|
91584
|
-
quantity
|
|
91833
|
+
quantity: number;
|
|
91585
91834
|
}[];
|
|
91586
91835
|
/** Billing address details. */
|
|
91587
91836
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
@@ -97461,6 +97710,8 @@ declare module "rebilly-js-sdk" {
|
|
|
97461
97710
|
export type PatchPayoutRequestBatchRequest = rebilly.PatchPayoutRequestBatchRequest;
|
|
97462
97711
|
export type PatchPayoutRequestBatchResponse = rebilly.PatchPayoutRequestBatchResponse;
|
|
97463
97712
|
export type PatchPayoutRequestBatchResponsePromise = rebilly.PatchPayoutRequestBatchResponsePromise;
|
|
97713
|
+
export type DeletePayoutRequestBatchResponse = rebilly.DeletePayoutRequestBatchResponse;
|
|
97714
|
+
export type DeletePayoutRequestBatchResponsePromise = rebilly.DeletePayoutRequestBatchResponsePromise;
|
|
97464
97715
|
export type PostPayoutRequestBatchAutoAllocateResponse = rebilly.PostPayoutRequestBatchAutoAllocateResponse;
|
|
97465
97716
|
export type PostPayoutRequestBatchAutoAllocateResponsePromise = rebilly.PostPayoutRequestBatchAutoAllocateResponsePromise;
|
|
97466
97717
|
export type PostPayoutRequestBatchApproveResponse = rebilly.PostPayoutRequestBatchApproveResponse;
|
|
@@ -97469,6 +97720,16 @@ declare module "rebilly-js-sdk" {
|
|
|
97469
97720
|
export type CreatePayoutRequestBatchBlockRequest = rebilly.CreatePayoutRequestBatchBlockRequest;
|
|
97470
97721
|
export type PostPayoutRequestBatchBlockResponse = rebilly.PostPayoutRequestBatchBlockResponse;
|
|
97471
97722
|
export type PostPayoutRequestBatchBlockResponsePromise = rebilly.PostPayoutRequestBatchBlockResponsePromise;
|
|
97723
|
+
export type PostPayoutRequestsToBatchRequest = rebilly.PostPayoutRequestsToBatchRequest;
|
|
97724
|
+
export type CreatePayoutRequestsToBatchRequest = rebilly.CreatePayoutRequestsToBatchRequest;
|
|
97725
|
+
export type PostPayoutRequestsToBatchResponse = rebilly.PostPayoutRequestsToBatchResponse;
|
|
97726
|
+
export type PostPayoutRequestsToBatchResponsePromise = rebilly.PostPayoutRequestsToBatchResponsePromise;
|
|
97727
|
+
export type PostRemovePayoutRequestsFromBatchRequest = rebilly.PostRemovePayoutRequestsFromBatchRequest;
|
|
97728
|
+
export type CreateRemovePayoutRequestsFromBatchRequest = rebilly.CreateRemovePayoutRequestsFromBatchRequest;
|
|
97729
|
+
export type PostRemovePayoutRequestsFromBatchResponse = rebilly.PostRemovePayoutRequestsFromBatchResponse;
|
|
97730
|
+
export type PostRemovePayoutRequestsFromBatchResponsePromise = rebilly.PostRemovePayoutRequestsFromBatchResponsePromise;
|
|
97731
|
+
export type PostPayoutRequestBatchUnblockResponse = rebilly.PostPayoutRequestBatchUnblockResponse;
|
|
97732
|
+
export type PostPayoutRequestBatchUnblockResponsePromise = rebilly.PostPayoutRequestBatchUnblockResponsePromise;
|
|
97472
97733
|
export type GetPayoutRequestBatchPreviewRequest = rebilly.GetPayoutRequestBatchPreviewRequest;
|
|
97473
97734
|
export type GetPayoutRequestBatchPreviewResponse = rebilly.GetPayoutRequestBatchPreviewResponse;
|
|
97474
97735
|
export type GetPayoutRequestBatchPreviewResponsePromise = rebilly.GetPayoutRequestBatchPreviewResponsePromise;
|
|
@@ -99498,13 +99759,16 @@ declare module "resources/payout-request-batches-resource" {
|
|
|
99498
99759
|
export default function PayoutRequestBatchesResource({ apiHandler }: {
|
|
99499
99760
|
apiHandler: any;
|
|
99500
99761
|
}): {
|
|
99501
|
-
getAll({ limit, offset, filter, sort }?: rebilly.GetPayoutRequestBatchCollectionRequest): rebilly.GetPayoutRequestBatchCollectionResponsePromise;
|
|
99762
|
+
getAll({ limit, offset, q, filter, sort, }?: rebilly.GetPayoutRequestBatchCollectionRequest): rebilly.GetPayoutRequestBatchCollectionResponsePromise;
|
|
99502
99763
|
create({ data }: {
|
|
99503
99764
|
data: any;
|
|
99504
99765
|
}): any;
|
|
99505
99766
|
get({ id }: {
|
|
99506
99767
|
id: any;
|
|
99507
99768
|
}): rebilly.GetPayoutRequestBatchResponsePromise;
|
|
99769
|
+
delete({ id }: {
|
|
99770
|
+
id: any;
|
|
99771
|
+
}): any;
|
|
99508
99772
|
patch({ id, data }: {
|
|
99509
99773
|
id: any;
|
|
99510
99774
|
data: any;
|
|
@@ -99519,6 +99783,17 @@ declare module "resources/payout-request-batches-resource" {
|
|
|
99519
99783
|
id: any;
|
|
99520
99784
|
data: any;
|
|
99521
99785
|
}): any;
|
|
99786
|
+
addPayoutRequests({ id, data }: {
|
|
99787
|
+
id: any;
|
|
99788
|
+
data: any;
|
|
99789
|
+
}): any;
|
|
99790
|
+
removePayoutRequests({ id, data }: {
|
|
99791
|
+
id: any;
|
|
99792
|
+
data: any;
|
|
99793
|
+
}): any;
|
|
99794
|
+
unblock({ id }: {
|
|
99795
|
+
id: any;
|
|
99796
|
+
}): any;
|
|
99522
99797
|
preview({ filter }: {
|
|
99523
99798
|
filter?: any;
|
|
99524
99799
|
}): rebilly.GetPayoutRequestBatchPreviewResponsePromise;
|
|
@@ -101286,13 +101561,16 @@ declare module "resources/api-instance" {
|
|
|
101286
101561
|
}): any;
|
|
101287
101562
|
};
|
|
101288
101563
|
payoutRequestBatches: {
|
|
101289
|
-
getAll({ limit, offset, filter, sort }?: rebilly.GetPayoutRequestBatchCollectionRequest): rebilly.GetPayoutRequestBatchCollectionResponsePromise;
|
|
101564
|
+
getAll({ limit, offset, q, filter, sort, }?: rebilly.GetPayoutRequestBatchCollectionRequest): rebilly.GetPayoutRequestBatchCollectionResponsePromise;
|
|
101290
101565
|
create({ data }: {
|
|
101291
101566
|
data: any;
|
|
101292
101567
|
}): any;
|
|
101293
101568
|
get({ id }: {
|
|
101294
101569
|
id: any;
|
|
101295
101570
|
}): rebilly.GetPayoutRequestBatchResponsePromise;
|
|
101571
|
+
delete({ id }: {
|
|
101572
|
+
id: any;
|
|
101573
|
+
}): any;
|
|
101296
101574
|
patch({ id, data }: {
|
|
101297
101575
|
id: any;
|
|
101298
101576
|
data: any;
|
|
@@ -101307,6 +101585,17 @@ declare module "resources/api-instance" {
|
|
|
101307
101585
|
id: any;
|
|
101308
101586
|
data: any;
|
|
101309
101587
|
}): any;
|
|
101588
|
+
addPayoutRequests({ id, data }: {
|
|
101589
|
+
id: any;
|
|
101590
|
+
data: any;
|
|
101591
|
+
}): any;
|
|
101592
|
+
removePayoutRequests({ id, data }: {
|
|
101593
|
+
id: any;
|
|
101594
|
+
data: any;
|
|
101595
|
+
}): any;
|
|
101596
|
+
unblock({ id }: {
|
|
101597
|
+
id: any;
|
|
101598
|
+
}): any;
|
|
101310
101599
|
preview({ filter }: {
|
|
101311
101600
|
filter?: any;
|
|
101312
101601
|
}): rebilly.GetPayoutRequestBatchPreviewResponsePromise;
|