rebilly-js-sdk 62.202.1 → 62.203.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 +1 -1
- package/dist/rebilly-js-sdk.d.cts +0 -245
- package/dist/rebilly-js-sdk.d.mts +0 -245
- package/dist/rebilly-js-sdk.d.ts +0 -245
- package/dist/rebilly-js-sdk.es.mjs +1 -13
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/src/resources/payout-request-batches-resource.js +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1756,17 +1756,6 @@ declare namespace rebilly {
|
|
|
1756
1756
|
type DeletePayoutRequestBatchResponse = operations['DeletePayoutRequestBatch']['responses']['204']
|
|
1757
1757
|
type DeletePayoutRequestBatchResponsePromise = Promise<{fields: DeletePayoutRequestBatchResponse}>
|
|
1758
1758
|
|
|
1759
|
-
type PostPayoutRequestBatchAutoAllocateResponse = operations['PostPayoutRequestBatchAutoAllocate']['responses']['200']['content']['application/json']
|
|
1760
|
-
type PostPayoutRequestBatchAutoAllocateResponsePromise = Promise<{fields: PostPayoutRequestBatchAutoAllocateResponse}>
|
|
1761
|
-
|
|
1762
|
-
type PostPayoutRequestBatchApproveResponse = operations['PostPayoutRequestBatchApprove']['responses']['200']['content']['application/json']
|
|
1763
|
-
type PostPayoutRequestBatchApproveResponsePromise = Promise<{fields: PostPayoutRequestBatchApproveResponse}>
|
|
1764
|
-
|
|
1765
|
-
type PostPayoutRequestBatchBlockRequest = operations['PostPayoutRequestBatchBlock']['requestBody']['content']['application/json']
|
|
1766
|
-
type CreatePayoutRequestBatchBlockRequest = { id?: string, data: PostPayoutRequestBatchBlockRequest, expand?: string }
|
|
1767
|
-
type PostPayoutRequestBatchBlockResponse = operations['PostPayoutRequestBatchBlock']['responses']['200']['content']['application/json']
|
|
1768
|
-
type PostPayoutRequestBatchBlockResponsePromise = Promise<{fields: PostPayoutRequestBatchBlockResponse}>
|
|
1769
|
-
|
|
1770
1759
|
type PostPayoutRequestsToBatchRequest = operations['PostPayoutRequestsToBatch']['requestBody']['content']['application/json']
|
|
1771
1760
|
type CreatePayoutRequestsToBatchRequest = { id?: string, data: PostPayoutRequestsToBatchRequest, expand?: string }
|
|
1772
1761
|
type PostPayoutRequestsToBatchResponse = operations['PostPayoutRequestsToBatch']['responses']['200']['content']['application/json']
|
|
@@ -1777,9 +1766,6 @@ declare namespace rebilly {
|
|
|
1777
1766
|
type PostRemovePayoutRequestsFromBatchResponse = operations['PostRemovePayoutRequestsFromBatch']['responses']['200']['content']['application/json']
|
|
1778
1767
|
type PostRemovePayoutRequestsFromBatchResponsePromise = Promise<{fields: PostRemovePayoutRequestsFromBatchResponse}>
|
|
1779
1768
|
|
|
1780
|
-
type PostPayoutRequestBatchUnblockResponse = operations['PostPayoutRequestBatchUnblock']['responses']['200']['content']['application/json']
|
|
1781
|
-
type PostPayoutRequestBatchUnblockResponsePromise = Promise<{fields: PostPayoutRequestBatchUnblockResponse}>
|
|
1782
|
-
|
|
1783
1769
|
type PostPermissionsEmulationRequest = operations['PostPermissionsEmulation']['requestBody']['content']['application/json']
|
|
1784
1770
|
type CreatePermissionsEmulationRequest = { id?: string, data: PostPermissionsEmulationRequest, expand?: string }
|
|
1785
1771
|
type PostPermissionsEmulationResponse = operations['PostPermissionsEmulation']['responses']['201']['content']['application/json']
|
|
@@ -5603,55 +5589,6 @@ export interface corePaths {
|
|
|
5603
5589
|
};
|
|
5604
5590
|
};
|
|
5605
5591
|
};
|
|
5606
|
-
"/payout-request-batches/{id}/auto-allocate": {
|
|
5607
|
-
/**
|
|
5608
|
-
* Creates allocations automatically for all payout requests in the batch using the auto-allocation algorithm.
|
|
5609
|
-
*
|
|
5610
|
-
* Each payout request is processed independently.
|
|
5611
|
-
* This endpoint is deprecated.
|
|
5612
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5613
|
-
*/
|
|
5614
|
-
post: operations["PostPayoutRequestBatchAutoAllocate"];
|
|
5615
|
-
parameters: {
|
|
5616
|
-
path: {
|
|
5617
|
-
/** ID of the resource. */
|
|
5618
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5619
|
-
};
|
|
5620
|
-
};
|
|
5621
|
-
};
|
|
5622
|
-
"/payout-request-batches/{id}/approve": {
|
|
5623
|
-
/**
|
|
5624
|
-
* Approves all payout requests in a specified batch.
|
|
5625
|
-
*
|
|
5626
|
-
* Each payout request is processed independently.
|
|
5627
|
-
* Only payout requests with a status of `ready` can be approved.
|
|
5628
|
-
* This endpoint is deprecated.
|
|
5629
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5630
|
-
*/
|
|
5631
|
-
post: operations["PostPayoutRequestBatchApprove"];
|
|
5632
|
-
parameters: {
|
|
5633
|
-
path: {
|
|
5634
|
-
/** ID of the resource. */
|
|
5635
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5636
|
-
};
|
|
5637
|
-
};
|
|
5638
|
-
};
|
|
5639
|
-
"/payout-request-batches/{id}/block": {
|
|
5640
|
-
/**
|
|
5641
|
-
* Blocks all payout requests in a specified batch.
|
|
5642
|
-
*
|
|
5643
|
-
* Each payout request is processed independently.
|
|
5644
|
-
* This endpoint is deprecated.
|
|
5645
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5646
|
-
*/
|
|
5647
|
-
post: operations["PostPayoutRequestBatchBlock"];
|
|
5648
|
-
parameters: {
|
|
5649
|
-
path: {
|
|
5650
|
-
/** ID of the resource. */
|
|
5651
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5652
|
-
};
|
|
5653
|
-
};
|
|
5654
|
-
};
|
|
5655
5592
|
"/payout-request-batches/{id}/payout-requests": {
|
|
5656
5593
|
/**
|
|
5657
5594
|
* Adds payout requests to a batch with a specified ID.
|
|
@@ -5700,23 +5637,6 @@ export interface corePaths {
|
|
|
5700
5637
|
};
|
|
5701
5638
|
};
|
|
5702
5639
|
};
|
|
5703
|
-
"/payout-request-batches/{id}/unblock": {
|
|
5704
|
-
/**
|
|
5705
|
-
* Unblocks every blocked payout request in a batch with a specified ID.
|
|
5706
|
-
* Leaves payout requests without a block unchanged.
|
|
5707
|
-
* Processes all requests in the batch, up to the 1000-request batch limit, without changing batch membership.
|
|
5708
|
-
* This operation is atomic.
|
|
5709
|
-
* This endpoint is deprecated.
|
|
5710
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5711
|
-
*/
|
|
5712
|
-
post: operations["PostPayoutRequestBatchUnblock"];
|
|
5713
|
-
parameters: {
|
|
5714
|
-
path: {
|
|
5715
|
-
/** ID of the resource. */
|
|
5716
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5717
|
-
};
|
|
5718
|
-
};
|
|
5719
|
-
};
|
|
5720
5640
|
"/permissions-emulation": {
|
|
5721
5641
|
/**
|
|
5722
5642
|
* Starts permissions emulation.
|
|
@@ -43542,106 +43462,6 @@ export interface operations {
|
|
|
43542
43462
|
};
|
|
43543
43463
|
requestBody: coreComponents["requestBodies"]["PatchPayoutRequestBatch"];
|
|
43544
43464
|
};
|
|
43545
|
-
/**
|
|
43546
|
-
* Creates allocations automatically for all payout requests in the batch using the auto-allocation algorithm.
|
|
43547
|
-
*
|
|
43548
|
-
* Each payout request is processed independently.
|
|
43549
|
-
* This endpoint is deprecated.
|
|
43550
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43551
|
-
*/
|
|
43552
|
-
PostPayoutRequestBatchAutoAllocate: {
|
|
43553
|
-
parameters: {
|
|
43554
|
-
path: {
|
|
43555
|
-
/** ID of the resource. */
|
|
43556
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43557
|
-
};
|
|
43558
|
-
};
|
|
43559
|
-
responses: {
|
|
43560
|
-
/** Batch auto-allocation completed. */
|
|
43561
|
-
200: {
|
|
43562
|
-
headers: {};
|
|
43563
|
-
content: {
|
|
43564
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43565
|
-
};
|
|
43566
|
-
};
|
|
43567
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43568
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43569
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43570
|
-
409: coreComponents["responses"]["Conflict"];
|
|
43571
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
43572
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43573
|
-
};
|
|
43574
|
-
};
|
|
43575
|
-
/**
|
|
43576
|
-
* Approves all payout requests in a specified batch.
|
|
43577
|
-
*
|
|
43578
|
-
* Each payout request is processed independently.
|
|
43579
|
-
* Only payout requests with a status of `ready` can be approved.
|
|
43580
|
-
* This endpoint is deprecated.
|
|
43581
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43582
|
-
*/
|
|
43583
|
-
PostPayoutRequestBatchApprove: {
|
|
43584
|
-
parameters: {
|
|
43585
|
-
path: {
|
|
43586
|
-
/** ID of the resource. */
|
|
43587
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43588
|
-
};
|
|
43589
|
-
};
|
|
43590
|
-
responses: {
|
|
43591
|
-
/** Batch approval completed. */
|
|
43592
|
-
200: {
|
|
43593
|
-
headers: {};
|
|
43594
|
-
content: {
|
|
43595
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43596
|
-
};
|
|
43597
|
-
};
|
|
43598
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43599
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43600
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43601
|
-
409: coreComponents["responses"]["Conflict"];
|
|
43602
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
43603
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43604
|
-
};
|
|
43605
|
-
};
|
|
43606
|
-
/**
|
|
43607
|
-
* Blocks all payout requests in a specified batch.
|
|
43608
|
-
*
|
|
43609
|
-
* Each payout request is processed independently.
|
|
43610
|
-
* This endpoint is deprecated.
|
|
43611
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43612
|
-
*/
|
|
43613
|
-
PostPayoutRequestBatchBlock: {
|
|
43614
|
-
parameters: {
|
|
43615
|
-
path: {
|
|
43616
|
-
/** ID of the resource. */
|
|
43617
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43618
|
-
};
|
|
43619
|
-
};
|
|
43620
|
-
responses: {
|
|
43621
|
-
/** Batch blocking completed. */
|
|
43622
|
-
200: {
|
|
43623
|
-
headers: {};
|
|
43624
|
-
content: {
|
|
43625
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43626
|
-
};
|
|
43627
|
-
};
|
|
43628
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43629
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43630
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43631
|
-
409: coreComponents["responses"]["Conflict"];
|
|
43632
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
43633
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43634
|
-
};
|
|
43635
|
-
requestBody: {
|
|
43636
|
-
content: {
|
|
43637
|
-
"application/json": {
|
|
43638
|
-
reason: coreComponents["schemas"]["PayoutRequestBlockReason"];
|
|
43639
|
-
/** Additional description for blocking the payout requests in the batch. */
|
|
43640
|
-
description?: string | null;
|
|
43641
|
-
};
|
|
43642
|
-
};
|
|
43643
|
-
};
|
|
43644
|
-
};
|
|
43645
43465
|
/**
|
|
43646
43466
|
* Adds payout requests to a batch with a specified ID.
|
|
43647
43467
|
* Accepts payout requests in any status, with or without allocations.
|
|
@@ -43769,35 +43589,6 @@ export interface operations {
|
|
|
43769
43589
|
};
|
|
43770
43590
|
};
|
|
43771
43591
|
};
|
|
43772
|
-
/**
|
|
43773
|
-
* Unblocks every blocked payout request in a batch with a specified ID.
|
|
43774
|
-
* Leaves payout requests without a block unchanged.
|
|
43775
|
-
* Processes all requests in the batch, up to the 1000-request batch limit, without changing batch membership.
|
|
43776
|
-
* This operation is atomic.
|
|
43777
|
-
* This endpoint is deprecated.
|
|
43778
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43779
|
-
*/
|
|
43780
|
-
PostPayoutRequestBatchUnblock: {
|
|
43781
|
-
parameters: {
|
|
43782
|
-
path: {
|
|
43783
|
-
/** ID of the resource. */
|
|
43784
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43785
|
-
};
|
|
43786
|
-
};
|
|
43787
|
-
responses: {
|
|
43788
|
-
/** Payout requests in the batch unblocked. */
|
|
43789
|
-
200: {
|
|
43790
|
-
headers: {};
|
|
43791
|
-
content: {
|
|
43792
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43793
|
-
};
|
|
43794
|
-
};
|
|
43795
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43796
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43797
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43798
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43799
|
-
};
|
|
43800
|
-
};
|
|
43801
43592
|
/**
|
|
43802
43593
|
* Starts permissions emulation.
|
|
43803
43594
|
*
|
|
@@ -100651,14 +100442,6 @@ declare module "rebilly-js-sdk" {
|
|
|
100651
100442
|
export type PatchPayoutRequestBatchResponsePromise = rebilly.PatchPayoutRequestBatchResponsePromise;
|
|
100652
100443
|
export type DeletePayoutRequestBatchResponse = rebilly.DeletePayoutRequestBatchResponse;
|
|
100653
100444
|
export type DeletePayoutRequestBatchResponsePromise = rebilly.DeletePayoutRequestBatchResponsePromise;
|
|
100654
|
-
export type PostPayoutRequestBatchAutoAllocateResponse = rebilly.PostPayoutRequestBatchAutoAllocateResponse;
|
|
100655
|
-
export type PostPayoutRequestBatchAutoAllocateResponsePromise = rebilly.PostPayoutRequestBatchAutoAllocateResponsePromise;
|
|
100656
|
-
export type PostPayoutRequestBatchApproveResponse = rebilly.PostPayoutRequestBatchApproveResponse;
|
|
100657
|
-
export type PostPayoutRequestBatchApproveResponsePromise = rebilly.PostPayoutRequestBatchApproveResponsePromise;
|
|
100658
|
-
export type PostPayoutRequestBatchBlockRequest = rebilly.PostPayoutRequestBatchBlockRequest;
|
|
100659
|
-
export type CreatePayoutRequestBatchBlockRequest = rebilly.CreatePayoutRequestBatchBlockRequest;
|
|
100660
|
-
export type PostPayoutRequestBatchBlockResponse = rebilly.PostPayoutRequestBatchBlockResponse;
|
|
100661
|
-
export type PostPayoutRequestBatchBlockResponsePromise = rebilly.PostPayoutRequestBatchBlockResponsePromise;
|
|
100662
100445
|
export type PostPayoutRequestsToBatchRequest = rebilly.PostPayoutRequestsToBatchRequest;
|
|
100663
100446
|
export type CreatePayoutRequestsToBatchRequest = rebilly.CreatePayoutRequestsToBatchRequest;
|
|
100664
100447
|
export type PostPayoutRequestsToBatchResponse = rebilly.PostPayoutRequestsToBatchResponse;
|
|
@@ -100667,8 +100450,6 @@ declare module "rebilly-js-sdk" {
|
|
|
100667
100450
|
export type CreateRemovePayoutRequestsFromBatchRequest = rebilly.CreateRemovePayoutRequestsFromBatchRequest;
|
|
100668
100451
|
export type PostRemovePayoutRequestsFromBatchResponse = rebilly.PostRemovePayoutRequestsFromBatchResponse;
|
|
100669
100452
|
export type PostRemovePayoutRequestsFromBatchResponsePromise = rebilly.PostRemovePayoutRequestsFromBatchResponsePromise;
|
|
100670
|
-
export type PostPayoutRequestBatchUnblockResponse = rebilly.PostPayoutRequestBatchUnblockResponse;
|
|
100671
|
-
export type PostPayoutRequestBatchUnblockResponsePromise = rebilly.PostPayoutRequestBatchUnblockResponsePromise;
|
|
100672
100453
|
export type PostPermissionsEmulationRequest = rebilly.PostPermissionsEmulationRequest;
|
|
100673
100454
|
export type CreatePermissionsEmulationRequest = rebilly.CreatePermissionsEmulationRequest;
|
|
100674
100455
|
export type PostPermissionsEmulationResponse = rebilly.PostPermissionsEmulationResponse;
|
|
@@ -102686,16 +102467,6 @@ declare module "resources/payout-request-batches-resource" {
|
|
|
102686
102467
|
id: any;
|
|
102687
102468
|
data: any;
|
|
102688
102469
|
}): any;
|
|
102689
|
-
autoAllocate({ id }: {
|
|
102690
|
-
id: any;
|
|
102691
|
-
}): any;
|
|
102692
|
-
approve({ id }: {
|
|
102693
|
-
id: any;
|
|
102694
|
-
}): any;
|
|
102695
|
-
block({ id, data }: {
|
|
102696
|
-
id: any;
|
|
102697
|
-
data: any;
|
|
102698
|
-
}): any;
|
|
102699
102470
|
addPayoutRequests({ id, data }: {
|
|
102700
102471
|
id: any;
|
|
102701
102472
|
data: any;
|
|
@@ -102704,9 +102475,6 @@ declare module "resources/payout-request-batches-resource" {
|
|
|
102704
102475
|
id: any;
|
|
102705
102476
|
data: any;
|
|
102706
102477
|
}): any;
|
|
102707
|
-
unblock({ id }: {
|
|
102708
|
-
id: any;
|
|
102709
|
-
}): any;
|
|
102710
102478
|
};
|
|
102711
102479
|
}
|
|
102712
102480
|
declare module "resources/payout-request-splits-resource" {
|
|
@@ -104477,16 +104245,6 @@ declare module "resources/api-instance" {
|
|
|
104477
104245
|
id: any;
|
|
104478
104246
|
data: any;
|
|
104479
104247
|
}): any;
|
|
104480
|
-
autoAllocate({ id }: {
|
|
104481
|
-
id: any;
|
|
104482
|
-
}): any;
|
|
104483
|
-
approve({ id }: {
|
|
104484
|
-
id: any;
|
|
104485
|
-
}): any;
|
|
104486
|
-
block({ id, data }: {
|
|
104487
|
-
id: any;
|
|
104488
|
-
data: any;
|
|
104489
|
-
}): any;
|
|
104490
104248
|
addPayoutRequests({ id, data }: {
|
|
104491
104249
|
id: any;
|
|
104492
104250
|
data: any;
|
|
@@ -104495,9 +104253,6 @@ declare module "resources/api-instance" {
|
|
|
104495
104253
|
id: any;
|
|
104496
104254
|
data: any;
|
|
104497
104255
|
}): any;
|
|
104498
|
-
unblock({ id }: {
|
|
104499
|
-
id: any;
|
|
104500
|
-
}): any;
|
|
104501
104256
|
};
|
|
104502
104257
|
payoutRequestSplits: {
|
|
104503
104258
|
create({ data }: {
|
|
@@ -1756,17 +1756,6 @@ declare namespace rebilly {
|
|
|
1756
1756
|
type DeletePayoutRequestBatchResponse = operations['DeletePayoutRequestBatch']['responses']['204']
|
|
1757
1757
|
type DeletePayoutRequestBatchResponsePromise = Promise<{fields: DeletePayoutRequestBatchResponse}>
|
|
1758
1758
|
|
|
1759
|
-
type PostPayoutRequestBatchAutoAllocateResponse = operations['PostPayoutRequestBatchAutoAllocate']['responses']['200']['content']['application/json']
|
|
1760
|
-
type PostPayoutRequestBatchAutoAllocateResponsePromise = Promise<{fields: PostPayoutRequestBatchAutoAllocateResponse}>
|
|
1761
|
-
|
|
1762
|
-
type PostPayoutRequestBatchApproveResponse = operations['PostPayoutRequestBatchApprove']['responses']['200']['content']['application/json']
|
|
1763
|
-
type PostPayoutRequestBatchApproveResponsePromise = Promise<{fields: PostPayoutRequestBatchApproveResponse}>
|
|
1764
|
-
|
|
1765
|
-
type PostPayoutRequestBatchBlockRequest = operations['PostPayoutRequestBatchBlock']['requestBody']['content']['application/json']
|
|
1766
|
-
type CreatePayoutRequestBatchBlockRequest = { id?: string, data: PostPayoutRequestBatchBlockRequest, expand?: string }
|
|
1767
|
-
type PostPayoutRequestBatchBlockResponse = operations['PostPayoutRequestBatchBlock']['responses']['200']['content']['application/json']
|
|
1768
|
-
type PostPayoutRequestBatchBlockResponsePromise = Promise<{fields: PostPayoutRequestBatchBlockResponse}>
|
|
1769
|
-
|
|
1770
1759
|
type PostPayoutRequestsToBatchRequest = operations['PostPayoutRequestsToBatch']['requestBody']['content']['application/json']
|
|
1771
1760
|
type CreatePayoutRequestsToBatchRequest = { id?: string, data: PostPayoutRequestsToBatchRequest, expand?: string }
|
|
1772
1761
|
type PostPayoutRequestsToBatchResponse = operations['PostPayoutRequestsToBatch']['responses']['200']['content']['application/json']
|
|
@@ -1777,9 +1766,6 @@ declare namespace rebilly {
|
|
|
1777
1766
|
type PostRemovePayoutRequestsFromBatchResponse = operations['PostRemovePayoutRequestsFromBatch']['responses']['200']['content']['application/json']
|
|
1778
1767
|
type PostRemovePayoutRequestsFromBatchResponsePromise = Promise<{fields: PostRemovePayoutRequestsFromBatchResponse}>
|
|
1779
1768
|
|
|
1780
|
-
type PostPayoutRequestBatchUnblockResponse = operations['PostPayoutRequestBatchUnblock']['responses']['200']['content']['application/json']
|
|
1781
|
-
type PostPayoutRequestBatchUnblockResponsePromise = Promise<{fields: PostPayoutRequestBatchUnblockResponse}>
|
|
1782
|
-
|
|
1783
1769
|
type PostPermissionsEmulationRequest = operations['PostPermissionsEmulation']['requestBody']['content']['application/json']
|
|
1784
1770
|
type CreatePermissionsEmulationRequest = { id?: string, data: PostPermissionsEmulationRequest, expand?: string }
|
|
1785
1771
|
type PostPermissionsEmulationResponse = operations['PostPermissionsEmulation']['responses']['201']['content']['application/json']
|
|
@@ -5603,55 +5589,6 @@ export interface corePaths {
|
|
|
5603
5589
|
};
|
|
5604
5590
|
};
|
|
5605
5591
|
};
|
|
5606
|
-
"/payout-request-batches/{id}/auto-allocate": {
|
|
5607
|
-
/**
|
|
5608
|
-
* Creates allocations automatically for all payout requests in the batch using the auto-allocation algorithm.
|
|
5609
|
-
*
|
|
5610
|
-
* Each payout request is processed independently.
|
|
5611
|
-
* This endpoint is deprecated.
|
|
5612
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5613
|
-
*/
|
|
5614
|
-
post: operations["PostPayoutRequestBatchAutoAllocate"];
|
|
5615
|
-
parameters: {
|
|
5616
|
-
path: {
|
|
5617
|
-
/** ID of the resource. */
|
|
5618
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5619
|
-
};
|
|
5620
|
-
};
|
|
5621
|
-
};
|
|
5622
|
-
"/payout-request-batches/{id}/approve": {
|
|
5623
|
-
/**
|
|
5624
|
-
* Approves all payout requests in a specified batch.
|
|
5625
|
-
*
|
|
5626
|
-
* Each payout request is processed independently.
|
|
5627
|
-
* Only payout requests with a status of `ready` can be approved.
|
|
5628
|
-
* This endpoint is deprecated.
|
|
5629
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5630
|
-
*/
|
|
5631
|
-
post: operations["PostPayoutRequestBatchApprove"];
|
|
5632
|
-
parameters: {
|
|
5633
|
-
path: {
|
|
5634
|
-
/** ID of the resource. */
|
|
5635
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5636
|
-
};
|
|
5637
|
-
};
|
|
5638
|
-
};
|
|
5639
|
-
"/payout-request-batches/{id}/block": {
|
|
5640
|
-
/**
|
|
5641
|
-
* Blocks all payout requests in a specified batch.
|
|
5642
|
-
*
|
|
5643
|
-
* Each payout request is processed independently.
|
|
5644
|
-
* This endpoint is deprecated.
|
|
5645
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5646
|
-
*/
|
|
5647
|
-
post: operations["PostPayoutRequestBatchBlock"];
|
|
5648
|
-
parameters: {
|
|
5649
|
-
path: {
|
|
5650
|
-
/** ID of the resource. */
|
|
5651
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5652
|
-
};
|
|
5653
|
-
};
|
|
5654
|
-
};
|
|
5655
5592
|
"/payout-request-batches/{id}/payout-requests": {
|
|
5656
5593
|
/**
|
|
5657
5594
|
* Adds payout requests to a batch with a specified ID.
|
|
@@ -5700,23 +5637,6 @@ export interface corePaths {
|
|
|
5700
5637
|
};
|
|
5701
5638
|
};
|
|
5702
5639
|
};
|
|
5703
|
-
"/payout-request-batches/{id}/unblock": {
|
|
5704
|
-
/**
|
|
5705
|
-
* Unblocks every blocked payout request in a batch with a specified ID.
|
|
5706
|
-
* Leaves payout requests without a block unchanged.
|
|
5707
|
-
* Processes all requests in the batch, up to the 1000-request batch limit, without changing batch membership.
|
|
5708
|
-
* This operation is atomic.
|
|
5709
|
-
* This endpoint is deprecated.
|
|
5710
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
5711
|
-
*/
|
|
5712
|
-
post: operations["PostPayoutRequestBatchUnblock"];
|
|
5713
|
-
parameters: {
|
|
5714
|
-
path: {
|
|
5715
|
-
/** ID of the resource. */
|
|
5716
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
5717
|
-
};
|
|
5718
|
-
};
|
|
5719
|
-
};
|
|
5720
5640
|
"/permissions-emulation": {
|
|
5721
5641
|
/**
|
|
5722
5642
|
* Starts permissions emulation.
|
|
@@ -43542,106 +43462,6 @@ export interface operations {
|
|
|
43542
43462
|
};
|
|
43543
43463
|
requestBody: coreComponents["requestBodies"]["PatchPayoutRequestBatch"];
|
|
43544
43464
|
};
|
|
43545
|
-
/**
|
|
43546
|
-
* Creates allocations automatically for all payout requests in the batch using the auto-allocation algorithm.
|
|
43547
|
-
*
|
|
43548
|
-
* Each payout request is processed independently.
|
|
43549
|
-
* This endpoint is deprecated.
|
|
43550
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43551
|
-
*/
|
|
43552
|
-
PostPayoutRequestBatchAutoAllocate: {
|
|
43553
|
-
parameters: {
|
|
43554
|
-
path: {
|
|
43555
|
-
/** ID of the resource. */
|
|
43556
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43557
|
-
};
|
|
43558
|
-
};
|
|
43559
|
-
responses: {
|
|
43560
|
-
/** Batch auto-allocation completed. */
|
|
43561
|
-
200: {
|
|
43562
|
-
headers: {};
|
|
43563
|
-
content: {
|
|
43564
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43565
|
-
};
|
|
43566
|
-
};
|
|
43567
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43568
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43569
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43570
|
-
409: coreComponents["responses"]["Conflict"];
|
|
43571
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
43572
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43573
|
-
};
|
|
43574
|
-
};
|
|
43575
|
-
/**
|
|
43576
|
-
* Approves all payout requests in a specified batch.
|
|
43577
|
-
*
|
|
43578
|
-
* Each payout request is processed independently.
|
|
43579
|
-
* Only payout requests with a status of `ready` can be approved.
|
|
43580
|
-
* This endpoint is deprecated.
|
|
43581
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43582
|
-
*/
|
|
43583
|
-
PostPayoutRequestBatchApprove: {
|
|
43584
|
-
parameters: {
|
|
43585
|
-
path: {
|
|
43586
|
-
/** ID of the resource. */
|
|
43587
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43588
|
-
};
|
|
43589
|
-
};
|
|
43590
|
-
responses: {
|
|
43591
|
-
/** Batch approval completed. */
|
|
43592
|
-
200: {
|
|
43593
|
-
headers: {};
|
|
43594
|
-
content: {
|
|
43595
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43596
|
-
};
|
|
43597
|
-
};
|
|
43598
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43599
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43600
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43601
|
-
409: coreComponents["responses"]["Conflict"];
|
|
43602
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
43603
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43604
|
-
};
|
|
43605
|
-
};
|
|
43606
|
-
/**
|
|
43607
|
-
* Blocks all payout requests in a specified batch.
|
|
43608
|
-
*
|
|
43609
|
-
* Each payout request is processed independently.
|
|
43610
|
-
* This endpoint is deprecated.
|
|
43611
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43612
|
-
*/
|
|
43613
|
-
PostPayoutRequestBatchBlock: {
|
|
43614
|
-
parameters: {
|
|
43615
|
-
path: {
|
|
43616
|
-
/** ID of the resource. */
|
|
43617
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43618
|
-
};
|
|
43619
|
-
};
|
|
43620
|
-
responses: {
|
|
43621
|
-
/** Batch blocking completed. */
|
|
43622
|
-
200: {
|
|
43623
|
-
headers: {};
|
|
43624
|
-
content: {
|
|
43625
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43626
|
-
};
|
|
43627
|
-
};
|
|
43628
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43629
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43630
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43631
|
-
409: coreComponents["responses"]["Conflict"];
|
|
43632
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
43633
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43634
|
-
};
|
|
43635
|
-
requestBody: {
|
|
43636
|
-
content: {
|
|
43637
|
-
"application/json": {
|
|
43638
|
-
reason: coreComponents["schemas"]["PayoutRequestBlockReason"];
|
|
43639
|
-
/** Additional description for blocking the payout requests in the batch. */
|
|
43640
|
-
description?: string | null;
|
|
43641
|
-
};
|
|
43642
|
-
};
|
|
43643
|
-
};
|
|
43644
|
-
};
|
|
43645
43465
|
/**
|
|
43646
43466
|
* Adds payout requests to a batch with a specified ID.
|
|
43647
43467
|
* Accepts payout requests in any status, with or without allocations.
|
|
@@ -43769,35 +43589,6 @@ export interface operations {
|
|
|
43769
43589
|
};
|
|
43770
43590
|
};
|
|
43771
43591
|
};
|
|
43772
|
-
/**
|
|
43773
|
-
* Unblocks every blocked payout request in a batch with a specified ID.
|
|
43774
|
-
* Leaves payout requests without a block unchanged.
|
|
43775
|
-
* Processes all requests in the batch, up to the 1000-request batch limit, without changing batch membership.
|
|
43776
|
-
* This operation is atomic.
|
|
43777
|
-
* This endpoint is deprecated.
|
|
43778
|
-
* Use [Create a payout request batch operation](../PostPayoutRequestBatchOperations) instead.
|
|
43779
|
-
*/
|
|
43780
|
-
PostPayoutRequestBatchUnblock: {
|
|
43781
|
-
parameters: {
|
|
43782
|
-
path: {
|
|
43783
|
-
/** ID of the resource. */
|
|
43784
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
43785
|
-
};
|
|
43786
|
-
};
|
|
43787
|
-
responses: {
|
|
43788
|
-
/** Payout requests in the batch unblocked. */
|
|
43789
|
-
200: {
|
|
43790
|
-
headers: {};
|
|
43791
|
-
content: {
|
|
43792
|
-
"application/json": coreComponents["schemas"]["PayoutRequestBatch"];
|
|
43793
|
-
};
|
|
43794
|
-
};
|
|
43795
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
43796
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
43797
|
-
404: coreComponents["responses"]["NotFound"];
|
|
43798
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
43799
|
-
};
|
|
43800
|
-
};
|
|
43801
43592
|
/**
|
|
43802
43593
|
* Starts permissions emulation.
|
|
43803
43594
|
*
|
|
@@ -100651,14 +100442,6 @@ declare module "rebilly-js-sdk" {
|
|
|
100651
100442
|
export type PatchPayoutRequestBatchResponsePromise = rebilly.PatchPayoutRequestBatchResponsePromise;
|
|
100652
100443
|
export type DeletePayoutRequestBatchResponse = rebilly.DeletePayoutRequestBatchResponse;
|
|
100653
100444
|
export type DeletePayoutRequestBatchResponsePromise = rebilly.DeletePayoutRequestBatchResponsePromise;
|
|
100654
|
-
export type PostPayoutRequestBatchAutoAllocateResponse = rebilly.PostPayoutRequestBatchAutoAllocateResponse;
|
|
100655
|
-
export type PostPayoutRequestBatchAutoAllocateResponsePromise = rebilly.PostPayoutRequestBatchAutoAllocateResponsePromise;
|
|
100656
|
-
export type PostPayoutRequestBatchApproveResponse = rebilly.PostPayoutRequestBatchApproveResponse;
|
|
100657
|
-
export type PostPayoutRequestBatchApproveResponsePromise = rebilly.PostPayoutRequestBatchApproveResponsePromise;
|
|
100658
|
-
export type PostPayoutRequestBatchBlockRequest = rebilly.PostPayoutRequestBatchBlockRequest;
|
|
100659
|
-
export type CreatePayoutRequestBatchBlockRequest = rebilly.CreatePayoutRequestBatchBlockRequest;
|
|
100660
|
-
export type PostPayoutRequestBatchBlockResponse = rebilly.PostPayoutRequestBatchBlockResponse;
|
|
100661
|
-
export type PostPayoutRequestBatchBlockResponsePromise = rebilly.PostPayoutRequestBatchBlockResponsePromise;
|
|
100662
100445
|
export type PostPayoutRequestsToBatchRequest = rebilly.PostPayoutRequestsToBatchRequest;
|
|
100663
100446
|
export type CreatePayoutRequestsToBatchRequest = rebilly.CreatePayoutRequestsToBatchRequest;
|
|
100664
100447
|
export type PostPayoutRequestsToBatchResponse = rebilly.PostPayoutRequestsToBatchResponse;
|
|
@@ -100667,8 +100450,6 @@ declare module "rebilly-js-sdk" {
|
|
|
100667
100450
|
export type CreateRemovePayoutRequestsFromBatchRequest = rebilly.CreateRemovePayoutRequestsFromBatchRequest;
|
|
100668
100451
|
export type PostRemovePayoutRequestsFromBatchResponse = rebilly.PostRemovePayoutRequestsFromBatchResponse;
|
|
100669
100452
|
export type PostRemovePayoutRequestsFromBatchResponsePromise = rebilly.PostRemovePayoutRequestsFromBatchResponsePromise;
|
|
100670
|
-
export type PostPayoutRequestBatchUnblockResponse = rebilly.PostPayoutRequestBatchUnblockResponse;
|
|
100671
|
-
export type PostPayoutRequestBatchUnblockResponsePromise = rebilly.PostPayoutRequestBatchUnblockResponsePromise;
|
|
100672
100453
|
export type PostPermissionsEmulationRequest = rebilly.PostPermissionsEmulationRequest;
|
|
100673
100454
|
export type CreatePermissionsEmulationRequest = rebilly.CreatePermissionsEmulationRequest;
|
|
100674
100455
|
export type PostPermissionsEmulationResponse = rebilly.PostPermissionsEmulationResponse;
|
|
@@ -102686,16 +102467,6 @@ declare module "resources/payout-request-batches-resource" {
|
|
|
102686
102467
|
id: any;
|
|
102687
102468
|
data: any;
|
|
102688
102469
|
}): any;
|
|
102689
|
-
autoAllocate({ id }: {
|
|
102690
|
-
id: any;
|
|
102691
|
-
}): any;
|
|
102692
|
-
approve({ id }: {
|
|
102693
|
-
id: any;
|
|
102694
|
-
}): any;
|
|
102695
|
-
block({ id, data }: {
|
|
102696
|
-
id: any;
|
|
102697
|
-
data: any;
|
|
102698
|
-
}): any;
|
|
102699
102470
|
addPayoutRequests({ id, data }: {
|
|
102700
102471
|
id: any;
|
|
102701
102472
|
data: any;
|
|
@@ -102704,9 +102475,6 @@ declare module "resources/payout-request-batches-resource" {
|
|
|
102704
102475
|
id: any;
|
|
102705
102476
|
data: any;
|
|
102706
102477
|
}): any;
|
|
102707
|
-
unblock({ id }: {
|
|
102708
|
-
id: any;
|
|
102709
|
-
}): any;
|
|
102710
102478
|
};
|
|
102711
102479
|
}
|
|
102712
102480
|
declare module "resources/payout-request-splits-resource" {
|
|
@@ -104477,16 +104245,6 @@ declare module "resources/api-instance" {
|
|
|
104477
104245
|
id: any;
|
|
104478
104246
|
data: any;
|
|
104479
104247
|
}): any;
|
|
104480
|
-
autoAllocate({ id }: {
|
|
104481
|
-
id: any;
|
|
104482
|
-
}): any;
|
|
104483
|
-
approve({ id }: {
|
|
104484
|
-
id: any;
|
|
104485
|
-
}): any;
|
|
104486
|
-
block({ id, data }: {
|
|
104487
|
-
id: any;
|
|
104488
|
-
data: any;
|
|
104489
|
-
}): any;
|
|
104490
104248
|
addPayoutRequests({ id, data }: {
|
|
104491
104249
|
id: any;
|
|
104492
104250
|
data: any;
|
|
@@ -104495,9 +104253,6 @@ declare module "resources/api-instance" {
|
|
|
104495
104253
|
id: any;
|
|
104496
104254
|
data: any;
|
|
104497
104255
|
}): any;
|
|
104498
|
-
unblock({ id }: {
|
|
104499
|
-
id: any;
|
|
104500
|
-
}): any;
|
|
104501
104256
|
};
|
|
104502
104257
|
payoutRequestSplits: {
|
|
104503
104258
|
create({ data }: {
|