rebilly-js-sdk 62.212.1 → 62.212.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 CHANGED
@@ -1,3 +1,3 @@
1
- ## 62.212.1 (2026-10-09)
1
+ ## 62.212.2 (2026-10-09)
2
2
 
3
3
  This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
@@ -1728,10 +1728,10 @@ declare namespace rebilly {
1728
1728
  type PatchPayoutRequestAllocationResponse = operations['PatchPayoutRequestAllocation']['responses']['200']['content']['application/json']
1729
1729
  type PatchPayoutRequestAllocationResponsePromise = Promise<{fields: PatchPayoutRequestAllocationResponse}>
1730
1730
 
1731
- type PostPayoutRequestAllocationsProcessRequest = operations['PostPayoutRequestAllocationsProcess']['requestBody']['content']['application/json']
1732
- type CreatePayoutRequestAllocationsProcessRequest = { id?: string, data: PostPayoutRequestAllocationsProcessRequest, expand?: string }
1733
- type PostPayoutRequestAllocationsProcessResponse = operations['PostPayoutRequestAllocationsProcess']['responses']['204']
1734
- type PostPayoutRequestAllocationsProcessResponsePromise = Promise<{fields: PostPayoutRequestAllocationsProcessResponse}>
1731
+ type PostPayoutRequestAllocationOperationsRequest = operations['PostPayoutRequestAllocationOperations']['requestBody']['content']['application/json']
1732
+ type CreatePayoutRequestAllocationOperationsRequest = { id?: string, data: PostPayoutRequestAllocationOperationsRequest, expand?: string }
1733
+ type PostPayoutRequestAllocationOperationsResponse = operations['PostPayoutRequestAllocationOperations']['responses']['200']['content']['application/json']
1734
+ type PostPayoutRequestAllocationOperationsResponsePromise = Promise<{fields: PostPayoutRequestAllocationOperationsResponse}>
1735
1735
 
1736
1736
  type PostPayoutRequestBatchOperationsRequest = operations['PostPayoutRequestBatchOperations']['requestBody']['content']['application/json']
1737
1737
  type CreatePayoutRequestBatchOperationsRequest = { id?: string, data: PostPayoutRequestBatchOperationsRequest, expand?: string }
@@ -5540,16 +5540,20 @@ export interface corePaths {
5540
5540
  };
5541
5541
  };
5542
5542
  };
5543
- "/payout-request-allocations/process": {
5543
+ "/payout-request-allocation-operations": {
5544
5544
  /**
5545
- * Initiates the processing of one or more payout request allocations.
5545
+ * Creates a payout request allocation operation and queues the given allocations for processing.
5546
+ *
5547
+ * The `type` field specifies the action:
5548
+ * - `process`: Queues the given allocations for processing.
5546
5549
  *
5547
5550
  * Only allocations with status `pending` are processed.
5548
- * Each allocation is processed by creating a transaction.
5549
5551
  * Rejects the request without queueing allocations when any allocation uses an inactive gateway account
5550
5552
  * or a gateway account with payout instruction `none`.
5553
+ * Poll the allocation status for the result.
5554
+ * The operation completes before the response returns.
5551
5555
  */
5552
- post: operations["PostPayoutRequestAllocationsProcess"];
5556
+ post: operations["PostPayoutRequestAllocationOperations"];
5553
5557
  };
5554
5558
  "/payout-request-batch-operations": {
5555
5559
  /**
@@ -22983,6 +22987,26 @@ export interface coreComponents {
22983
22987
  status?: number;
22984
22988
  invalidFields?: coreComponents["schemas"]["InvalidFields"];
22985
22989
  } & coreComponents["schemas"]["BaseProblem"];
22990
+ ProcessPayoutRequestAllocationOperation: {
22991
+ /** Type of operation that queues the given allocations for processing. */
22992
+ type: "process";
22993
+ /** Array of allocation IDs to process. */
22994
+ allocationIds: string[];
22995
+ };
22996
+ /** Action to apply to payout request allocations. */
22997
+ PayoutRequestAllocationOperationRequest: coreComponents["schemas"]["ProcessPayoutRequestAllocationOperation"];
22998
+ /** Action applied to a set of payout request allocations. */
22999
+ PayoutRequestAllocationOperation: {
23000
+ /** Type of action applied to the allocations. */
23001
+ type: "process";
23002
+ /** IDs of the payout request allocations in the operation. */
23003
+ allocationIds: string[];
23004
+ /**
23005
+ * Status of the operation.
23006
+ * The operation completes before the response returns, so the status is always `completed`.
23007
+ */
23008
+ status: "completed";
23009
+ };
22986
23010
  ApprovePayoutRequestBatchOperation: {
22987
23011
  /** Type of operation that approves payout requests in the batch. */
22988
23012
  type: "approve";
@@ -29316,8 +29340,9 @@ export interface coreComponents {
29316
29340
  * ID of the payout request for which the transaction is fully allocated.
29317
29341
  *
29318
29342
  * > **Note:** Use the payout request allocation flow instead of this field.
29319
- * Create an allocation with `POST /payout-request-allocations`,
29320
- * then initiate processing with `POST /payout-request-allocations/process`.
29343
+ * Create an allocation with `POST /payout-request-allocations`.
29344
+ * To process a selected set, send `POST /payout-request-allocation-operations` with `type` set to `process`.
29345
+ * To process a batch, send `POST /payout-request-batch-operations` with `type` set to `process`.
29321
29346
  */
29322
29347
  payoutRequestId?: string;
29323
29348
  };
@@ -43415,29 +43440,35 @@ export interface operations {
43415
43440
  };
43416
43441
  };
43417
43442
  /**
43418
- * Initiates the processing of one or more payout request allocations.
43443
+ * Creates a payout request allocation operation and queues the given allocations for processing.
43444
+ *
43445
+ * The `type` field specifies the action:
43446
+ * - `process`: Queues the given allocations for processing.
43419
43447
  *
43420
43448
  * Only allocations with status `pending` are processed.
43421
- * Each allocation is processed by creating a transaction.
43422
43449
  * Rejects the request without queueing allocations when any allocation uses an inactive gateway account
43423
43450
  * or a gateway account with payout instruction `none`.
43451
+ * Poll the allocation status for the result.
43452
+ * The operation completes before the response returns.
43424
43453
  */
43425
- PostPayoutRequestAllocationsProcess: {
43454
+ PostPayoutRequestAllocationOperations: {
43426
43455
  responses: {
43427
- /** Allocation processing has been initiated. */
43428
- 204: never;
43456
+ /** Allocation operation completed. */
43457
+ 200: {
43458
+ headers: {};
43459
+ content: {
43460
+ "application/json": coreComponents["schemas"]["PayoutRequestAllocationOperation"];
43461
+ };
43462
+ };
43429
43463
  401: coreComponents["responses"]["Unauthorized"];
43430
43464
  403: coreComponents["responses"]["Forbidden"];
43431
43465
  422: coreComponents["responses"]["ValidationError"];
43432
43466
  429: coreComponents["responses"]["TooManyRequests"];
43433
43467
  };
43434
- /** Allocation processing options. */
43468
+ /** Action to apply to payout request allocations. */
43435
43469
  requestBody: {
43436
43470
  content: {
43437
- "application/json": {
43438
- /** Array of allocation IDs to process. */
43439
- allocationIds: string[];
43440
- };
43471
+ "application/json": coreComponents["schemas"]["PayoutRequestAllocationOperationRequest"];
43441
43472
  };
43442
43473
  };
43443
43474
  };
@@ -62840,6 +62871,26 @@ export interface storefrontComponents {
62840
62871
  status?: number;
62841
62872
  invalidFields?: storefrontComponents["schemas"]["InvalidFields"];
62842
62873
  } & storefrontComponents["schemas"]["BaseProblem"];
62874
+ ProcessPayoutRequestAllocationOperation: {
62875
+ /** Type of operation that queues the given allocations for processing. */
62876
+ type: "process";
62877
+ /** Array of allocation IDs to process. */
62878
+ allocationIds: string[];
62879
+ };
62880
+ /** Action to apply to payout request allocations. */
62881
+ PayoutRequestAllocationOperationRequest: storefrontComponents["schemas"]["ProcessPayoutRequestAllocationOperation"];
62882
+ /** Action applied to a set of payout request allocations. */
62883
+ PayoutRequestAllocationOperation: {
62884
+ /** Type of action applied to the allocations. */
62885
+ type: "process";
62886
+ /** IDs of the payout request allocations in the operation. */
62887
+ allocationIds: string[];
62888
+ /**
62889
+ * Status of the operation.
62890
+ * The operation completes before the response returns, so the status is always `completed`.
62891
+ */
62892
+ status: "completed";
62893
+ };
62843
62894
  ApprovePayoutRequestBatchOperation: {
62844
62895
  /** Type of operation that approves payout requests in the batch. */
62845
62896
  type: "approve";
@@ -69173,8 +69224,9 @@ export interface storefrontComponents {
69173
69224
  * ID of the payout request for which the transaction is fully allocated.
69174
69225
  *
69175
69226
  * > **Note:** Use the payout request allocation flow instead of this field.
69176
- * Create an allocation with `POST /payout-request-allocations`,
69177
- * then initiate processing with `POST /payout-request-allocations/process`.
69227
+ * Create an allocation with `POST /payout-request-allocations`.
69228
+ * To process a selected set, send `POST /payout-request-allocation-operations` with `type` set to `process`.
69229
+ * To process a batch, send `POST /payout-request-batch-operations` with `type` set to `process`.
69178
69230
  */
69179
69231
  payoutRequestId?: string;
69180
69232
  };
@@ -90011,6 +90063,26 @@ export interface reportsComponents {
90011
90063
  status?: number;
90012
90064
  invalidFields?: reportsComponents["schemas"]["InvalidFields"];
90013
90065
  } & reportsComponents["schemas"]["BaseProblem"];
90066
+ ProcessPayoutRequestAllocationOperation: {
90067
+ /** Type of operation that queues the given allocations for processing. */
90068
+ type: "process";
90069
+ /** Array of allocation IDs to process. */
90070
+ allocationIds: string[];
90071
+ };
90072
+ /** Action to apply to payout request allocations. */
90073
+ PayoutRequestAllocationOperationRequest: reportsComponents["schemas"]["ProcessPayoutRequestAllocationOperation"];
90074
+ /** Action applied to a set of payout request allocations. */
90075
+ PayoutRequestAllocationOperation: {
90076
+ /** Type of action applied to the allocations. */
90077
+ type: "process";
90078
+ /** IDs of the payout request allocations in the operation. */
90079
+ allocationIds: string[];
90080
+ /**
90081
+ * Status of the operation.
90082
+ * The operation completes before the response returns, so the status is always `completed`.
90083
+ */
90084
+ status: "completed";
90085
+ };
90014
90086
  ApprovePayoutRequestBatchOperation: {
90015
90087
  /** Type of operation that approves payout requests in the batch. */
90016
90088
  type: "approve";
@@ -96344,8 +96416,9 @@ export interface reportsComponents {
96344
96416
  * ID of the payout request for which the transaction is fully allocated.
96345
96417
  *
96346
96418
  * > **Note:** Use the payout request allocation flow instead of this field.
96347
- * Create an allocation with `POST /payout-request-allocations`,
96348
- * then initiate processing with `POST /payout-request-allocations/process`.
96419
+ * Create an allocation with `POST /payout-request-allocations`.
96420
+ * To process a selected set, send `POST /payout-request-allocation-operations` with `type` set to `process`.
96421
+ * To process a batch, send `POST /payout-request-batch-operations` with `type` set to `process`.
96349
96422
  */
96350
96423
  payoutRequestId?: string;
96351
96424
  };
@@ -101121,10 +101194,10 @@ declare module "rebilly-js-sdk" {
101121
101194
  export type PatchPayoutRequestAllocationRequest = rebilly.PatchPayoutRequestAllocationRequest;
101122
101195
  export type PatchPayoutRequestAllocationResponse = rebilly.PatchPayoutRequestAllocationResponse;
101123
101196
  export type PatchPayoutRequestAllocationResponsePromise = rebilly.PatchPayoutRequestAllocationResponsePromise;
101124
- export type PostPayoutRequestAllocationsProcessRequest = rebilly.PostPayoutRequestAllocationsProcessRequest;
101125
- export type CreatePayoutRequestAllocationsProcessRequest = rebilly.CreatePayoutRequestAllocationsProcessRequest;
101126
- export type PostPayoutRequestAllocationsProcessResponse = rebilly.PostPayoutRequestAllocationsProcessResponse;
101127
- export type PostPayoutRequestAllocationsProcessResponsePromise = rebilly.PostPayoutRequestAllocationsProcessResponsePromise;
101197
+ export type PostPayoutRequestAllocationOperationsRequest = rebilly.PostPayoutRequestAllocationOperationsRequest;
101198
+ export type CreatePayoutRequestAllocationOperationsRequest = rebilly.CreatePayoutRequestAllocationOperationsRequest;
101199
+ export type PostPayoutRequestAllocationOperationsResponse = rebilly.PostPayoutRequestAllocationOperationsResponse;
101200
+ export type PostPayoutRequestAllocationOperationsResponsePromise = rebilly.PostPayoutRequestAllocationOperationsResponsePromise;
101128
101201
  export type PostPayoutRequestBatchOperationsRequest = rebilly.PostPayoutRequestBatchOperationsRequest;
101129
101202
  export type CreatePayoutRequestBatchOperationsRequest = rebilly.CreatePayoutRequestBatchOperationsRequest;
101130
101203
  export type PostPayoutRequestBatchOperationsResponse = rebilly.PostPayoutRequestBatchOperationsResponse;
@@ -103112,6 +103185,15 @@ declare module "resources/payment-tokens-resource" {
103112
103185
  }): rebilly.GetTokenResponsePromise;
103113
103186
  };
103114
103187
  }
103188
+ declare module "resources/payout-request-allocation-operations-resource" {
103189
+ export default function PayoutRequestAllocationOperationsResource({ apiHandler, }: {
103190
+ apiHandler: any;
103191
+ }): {
103192
+ create({ data }: {
103193
+ data: any;
103194
+ }): any;
103195
+ };
103196
+ }
103115
103197
  declare module "resources/payout-request-allocations-resource" {
103116
103198
  export default function PayoutRequestAllocationsResource({ apiHandler }: {
103117
103199
  apiHandler: any;
@@ -103127,9 +103209,6 @@ declare module "resources/payout-request-allocations-resource" {
103127
103209
  id: any;
103128
103210
  data: any;
103129
103211
  }): any;
103130
- process({ data }: {
103131
- data: any;
103132
- }): any;
103133
103212
  };
103134
103213
  }
103135
103214
  declare module "resources/payout-request-auto-allocations-resource" {
@@ -104912,6 +104991,11 @@ declare module "resources/api-instance" {
104912
104991
  token: any;
104913
104992
  }): rebilly.GetTokenResponsePromise;
104914
104993
  };
104994
+ payoutRequestAllocationOperations: {
104995
+ create({ data }: {
104996
+ data: any;
104997
+ }): any;
104998
+ };
104915
104999
  payoutRequestAllocations: {
104916
105000
  getAll({ limit, offset, filter, sort }?: rebilly.GetPayoutRequestAllocationCollectionRequest): rebilly.GetPayoutRequestAllocationCollectionResponsePromise;
104917
105001
  create({ data }: {
@@ -104924,9 +105008,6 @@ declare module "resources/api-instance" {
104924
105008
  id: any;
104925
105009
  data: any;
104926
105010
  }): any;
104927
- process({ data }: {
104928
- data: any;
104929
- }): any;
104930
105011
  };
104931
105012
  payoutRequestAutoAllocations: {
104932
105013
  create({ data }: {
@@ -1728,10 +1728,10 @@ declare namespace rebilly {
1728
1728
  type PatchPayoutRequestAllocationResponse = operations['PatchPayoutRequestAllocation']['responses']['200']['content']['application/json']
1729
1729
  type PatchPayoutRequestAllocationResponsePromise = Promise<{fields: PatchPayoutRequestAllocationResponse}>
1730
1730
 
1731
- type PostPayoutRequestAllocationsProcessRequest = operations['PostPayoutRequestAllocationsProcess']['requestBody']['content']['application/json']
1732
- type CreatePayoutRequestAllocationsProcessRequest = { id?: string, data: PostPayoutRequestAllocationsProcessRequest, expand?: string }
1733
- type PostPayoutRequestAllocationsProcessResponse = operations['PostPayoutRequestAllocationsProcess']['responses']['204']
1734
- type PostPayoutRequestAllocationsProcessResponsePromise = Promise<{fields: PostPayoutRequestAllocationsProcessResponse}>
1731
+ type PostPayoutRequestAllocationOperationsRequest = operations['PostPayoutRequestAllocationOperations']['requestBody']['content']['application/json']
1732
+ type CreatePayoutRequestAllocationOperationsRequest = { id?: string, data: PostPayoutRequestAllocationOperationsRequest, expand?: string }
1733
+ type PostPayoutRequestAllocationOperationsResponse = operations['PostPayoutRequestAllocationOperations']['responses']['200']['content']['application/json']
1734
+ type PostPayoutRequestAllocationOperationsResponsePromise = Promise<{fields: PostPayoutRequestAllocationOperationsResponse}>
1735
1735
 
1736
1736
  type PostPayoutRequestBatchOperationsRequest = operations['PostPayoutRequestBatchOperations']['requestBody']['content']['application/json']
1737
1737
  type CreatePayoutRequestBatchOperationsRequest = { id?: string, data: PostPayoutRequestBatchOperationsRequest, expand?: string }
@@ -5540,16 +5540,20 @@ export interface corePaths {
5540
5540
  };
5541
5541
  };
5542
5542
  };
5543
- "/payout-request-allocations/process": {
5543
+ "/payout-request-allocation-operations": {
5544
5544
  /**
5545
- * Initiates the processing of one or more payout request allocations.
5545
+ * Creates a payout request allocation operation and queues the given allocations for processing.
5546
+ *
5547
+ * The `type` field specifies the action:
5548
+ * - `process`: Queues the given allocations for processing.
5546
5549
  *
5547
5550
  * Only allocations with status `pending` are processed.
5548
- * Each allocation is processed by creating a transaction.
5549
5551
  * Rejects the request without queueing allocations when any allocation uses an inactive gateway account
5550
5552
  * or a gateway account with payout instruction `none`.
5553
+ * Poll the allocation status for the result.
5554
+ * The operation completes before the response returns.
5551
5555
  */
5552
- post: operations["PostPayoutRequestAllocationsProcess"];
5556
+ post: operations["PostPayoutRequestAllocationOperations"];
5553
5557
  };
5554
5558
  "/payout-request-batch-operations": {
5555
5559
  /**
@@ -22983,6 +22987,26 @@ export interface coreComponents {
22983
22987
  status?: number;
22984
22988
  invalidFields?: coreComponents["schemas"]["InvalidFields"];
22985
22989
  } & coreComponents["schemas"]["BaseProblem"];
22990
+ ProcessPayoutRequestAllocationOperation: {
22991
+ /** Type of operation that queues the given allocations for processing. */
22992
+ type: "process";
22993
+ /** Array of allocation IDs to process. */
22994
+ allocationIds: string[];
22995
+ };
22996
+ /** Action to apply to payout request allocations. */
22997
+ PayoutRequestAllocationOperationRequest: coreComponents["schemas"]["ProcessPayoutRequestAllocationOperation"];
22998
+ /** Action applied to a set of payout request allocations. */
22999
+ PayoutRequestAllocationOperation: {
23000
+ /** Type of action applied to the allocations. */
23001
+ type: "process";
23002
+ /** IDs of the payout request allocations in the operation. */
23003
+ allocationIds: string[];
23004
+ /**
23005
+ * Status of the operation.
23006
+ * The operation completes before the response returns, so the status is always `completed`.
23007
+ */
23008
+ status: "completed";
23009
+ };
22986
23010
  ApprovePayoutRequestBatchOperation: {
22987
23011
  /** Type of operation that approves payout requests in the batch. */
22988
23012
  type: "approve";
@@ -29316,8 +29340,9 @@ export interface coreComponents {
29316
29340
  * ID of the payout request for which the transaction is fully allocated.
29317
29341
  *
29318
29342
  * > **Note:** Use the payout request allocation flow instead of this field.
29319
- * Create an allocation with `POST /payout-request-allocations`,
29320
- * then initiate processing with `POST /payout-request-allocations/process`.
29343
+ * Create an allocation with `POST /payout-request-allocations`.
29344
+ * To process a selected set, send `POST /payout-request-allocation-operations` with `type` set to `process`.
29345
+ * To process a batch, send `POST /payout-request-batch-operations` with `type` set to `process`.
29321
29346
  */
29322
29347
  payoutRequestId?: string;
29323
29348
  };
@@ -43415,29 +43440,35 @@ export interface operations {
43415
43440
  };
43416
43441
  };
43417
43442
  /**
43418
- * Initiates the processing of one or more payout request allocations.
43443
+ * Creates a payout request allocation operation and queues the given allocations for processing.
43444
+ *
43445
+ * The `type` field specifies the action:
43446
+ * - `process`: Queues the given allocations for processing.
43419
43447
  *
43420
43448
  * Only allocations with status `pending` are processed.
43421
- * Each allocation is processed by creating a transaction.
43422
43449
  * Rejects the request without queueing allocations when any allocation uses an inactive gateway account
43423
43450
  * or a gateway account with payout instruction `none`.
43451
+ * Poll the allocation status for the result.
43452
+ * The operation completes before the response returns.
43424
43453
  */
43425
- PostPayoutRequestAllocationsProcess: {
43454
+ PostPayoutRequestAllocationOperations: {
43426
43455
  responses: {
43427
- /** Allocation processing has been initiated. */
43428
- 204: never;
43456
+ /** Allocation operation completed. */
43457
+ 200: {
43458
+ headers: {};
43459
+ content: {
43460
+ "application/json": coreComponents["schemas"]["PayoutRequestAllocationOperation"];
43461
+ };
43462
+ };
43429
43463
  401: coreComponents["responses"]["Unauthorized"];
43430
43464
  403: coreComponents["responses"]["Forbidden"];
43431
43465
  422: coreComponents["responses"]["ValidationError"];
43432
43466
  429: coreComponents["responses"]["TooManyRequests"];
43433
43467
  };
43434
- /** Allocation processing options. */
43468
+ /** Action to apply to payout request allocations. */
43435
43469
  requestBody: {
43436
43470
  content: {
43437
- "application/json": {
43438
- /** Array of allocation IDs to process. */
43439
- allocationIds: string[];
43440
- };
43471
+ "application/json": coreComponents["schemas"]["PayoutRequestAllocationOperationRequest"];
43441
43472
  };
43442
43473
  };
43443
43474
  };
@@ -62840,6 +62871,26 @@ export interface storefrontComponents {
62840
62871
  status?: number;
62841
62872
  invalidFields?: storefrontComponents["schemas"]["InvalidFields"];
62842
62873
  } & storefrontComponents["schemas"]["BaseProblem"];
62874
+ ProcessPayoutRequestAllocationOperation: {
62875
+ /** Type of operation that queues the given allocations for processing. */
62876
+ type: "process";
62877
+ /** Array of allocation IDs to process. */
62878
+ allocationIds: string[];
62879
+ };
62880
+ /** Action to apply to payout request allocations. */
62881
+ PayoutRequestAllocationOperationRequest: storefrontComponents["schemas"]["ProcessPayoutRequestAllocationOperation"];
62882
+ /** Action applied to a set of payout request allocations. */
62883
+ PayoutRequestAllocationOperation: {
62884
+ /** Type of action applied to the allocations. */
62885
+ type: "process";
62886
+ /** IDs of the payout request allocations in the operation. */
62887
+ allocationIds: string[];
62888
+ /**
62889
+ * Status of the operation.
62890
+ * The operation completes before the response returns, so the status is always `completed`.
62891
+ */
62892
+ status: "completed";
62893
+ };
62843
62894
  ApprovePayoutRequestBatchOperation: {
62844
62895
  /** Type of operation that approves payout requests in the batch. */
62845
62896
  type: "approve";
@@ -69173,8 +69224,9 @@ export interface storefrontComponents {
69173
69224
  * ID of the payout request for which the transaction is fully allocated.
69174
69225
  *
69175
69226
  * > **Note:** Use the payout request allocation flow instead of this field.
69176
- * Create an allocation with `POST /payout-request-allocations`,
69177
- * then initiate processing with `POST /payout-request-allocations/process`.
69227
+ * Create an allocation with `POST /payout-request-allocations`.
69228
+ * To process a selected set, send `POST /payout-request-allocation-operations` with `type` set to `process`.
69229
+ * To process a batch, send `POST /payout-request-batch-operations` with `type` set to `process`.
69178
69230
  */
69179
69231
  payoutRequestId?: string;
69180
69232
  };
@@ -90011,6 +90063,26 @@ export interface reportsComponents {
90011
90063
  status?: number;
90012
90064
  invalidFields?: reportsComponents["schemas"]["InvalidFields"];
90013
90065
  } & reportsComponents["schemas"]["BaseProblem"];
90066
+ ProcessPayoutRequestAllocationOperation: {
90067
+ /** Type of operation that queues the given allocations for processing. */
90068
+ type: "process";
90069
+ /** Array of allocation IDs to process. */
90070
+ allocationIds: string[];
90071
+ };
90072
+ /** Action to apply to payout request allocations. */
90073
+ PayoutRequestAllocationOperationRequest: reportsComponents["schemas"]["ProcessPayoutRequestAllocationOperation"];
90074
+ /** Action applied to a set of payout request allocations. */
90075
+ PayoutRequestAllocationOperation: {
90076
+ /** Type of action applied to the allocations. */
90077
+ type: "process";
90078
+ /** IDs of the payout request allocations in the operation. */
90079
+ allocationIds: string[];
90080
+ /**
90081
+ * Status of the operation.
90082
+ * The operation completes before the response returns, so the status is always `completed`.
90083
+ */
90084
+ status: "completed";
90085
+ };
90014
90086
  ApprovePayoutRequestBatchOperation: {
90015
90087
  /** Type of operation that approves payout requests in the batch. */
90016
90088
  type: "approve";
@@ -96344,8 +96416,9 @@ export interface reportsComponents {
96344
96416
  * ID of the payout request for which the transaction is fully allocated.
96345
96417
  *
96346
96418
  * > **Note:** Use the payout request allocation flow instead of this field.
96347
- * Create an allocation with `POST /payout-request-allocations`,
96348
- * then initiate processing with `POST /payout-request-allocations/process`.
96419
+ * Create an allocation with `POST /payout-request-allocations`.
96420
+ * To process a selected set, send `POST /payout-request-allocation-operations` with `type` set to `process`.
96421
+ * To process a batch, send `POST /payout-request-batch-operations` with `type` set to `process`.
96349
96422
  */
96350
96423
  payoutRequestId?: string;
96351
96424
  };
@@ -101121,10 +101194,10 @@ declare module "rebilly-js-sdk" {
101121
101194
  export type PatchPayoutRequestAllocationRequest = rebilly.PatchPayoutRequestAllocationRequest;
101122
101195
  export type PatchPayoutRequestAllocationResponse = rebilly.PatchPayoutRequestAllocationResponse;
101123
101196
  export type PatchPayoutRequestAllocationResponsePromise = rebilly.PatchPayoutRequestAllocationResponsePromise;
101124
- export type PostPayoutRequestAllocationsProcessRequest = rebilly.PostPayoutRequestAllocationsProcessRequest;
101125
- export type CreatePayoutRequestAllocationsProcessRequest = rebilly.CreatePayoutRequestAllocationsProcessRequest;
101126
- export type PostPayoutRequestAllocationsProcessResponse = rebilly.PostPayoutRequestAllocationsProcessResponse;
101127
- export type PostPayoutRequestAllocationsProcessResponsePromise = rebilly.PostPayoutRequestAllocationsProcessResponsePromise;
101197
+ export type PostPayoutRequestAllocationOperationsRequest = rebilly.PostPayoutRequestAllocationOperationsRequest;
101198
+ export type CreatePayoutRequestAllocationOperationsRequest = rebilly.CreatePayoutRequestAllocationOperationsRequest;
101199
+ export type PostPayoutRequestAllocationOperationsResponse = rebilly.PostPayoutRequestAllocationOperationsResponse;
101200
+ export type PostPayoutRequestAllocationOperationsResponsePromise = rebilly.PostPayoutRequestAllocationOperationsResponsePromise;
101128
101201
  export type PostPayoutRequestBatchOperationsRequest = rebilly.PostPayoutRequestBatchOperationsRequest;
101129
101202
  export type CreatePayoutRequestBatchOperationsRequest = rebilly.CreatePayoutRequestBatchOperationsRequest;
101130
101203
  export type PostPayoutRequestBatchOperationsResponse = rebilly.PostPayoutRequestBatchOperationsResponse;
@@ -103112,6 +103185,15 @@ declare module "resources/payment-tokens-resource" {
103112
103185
  }): rebilly.GetTokenResponsePromise;
103113
103186
  };
103114
103187
  }
103188
+ declare module "resources/payout-request-allocation-operations-resource" {
103189
+ export default function PayoutRequestAllocationOperationsResource({ apiHandler, }: {
103190
+ apiHandler: any;
103191
+ }): {
103192
+ create({ data }: {
103193
+ data: any;
103194
+ }): any;
103195
+ };
103196
+ }
103115
103197
  declare module "resources/payout-request-allocations-resource" {
103116
103198
  export default function PayoutRequestAllocationsResource({ apiHandler }: {
103117
103199
  apiHandler: any;
@@ -103127,9 +103209,6 @@ declare module "resources/payout-request-allocations-resource" {
103127
103209
  id: any;
103128
103210
  data: any;
103129
103211
  }): any;
103130
- process({ data }: {
103131
- data: any;
103132
- }): any;
103133
103212
  };
103134
103213
  }
103135
103214
  declare module "resources/payout-request-auto-allocations-resource" {
@@ -104912,6 +104991,11 @@ declare module "resources/api-instance" {
104912
104991
  token: any;
104913
104992
  }): rebilly.GetTokenResponsePromise;
104914
104993
  };
104994
+ payoutRequestAllocationOperations: {
104995
+ create({ data }: {
104996
+ data: any;
104997
+ }): any;
104998
+ };
104915
104999
  payoutRequestAllocations: {
104916
105000
  getAll({ limit, offset, filter, sort }?: rebilly.GetPayoutRequestAllocationCollectionRequest): rebilly.GetPayoutRequestAllocationCollectionResponsePromise;
104917
105001
  create({ data }: {
@@ -104924,9 +105008,6 @@ declare module "resources/api-instance" {
104924
105008
  id: any;
104925
105009
  data: any;
104926
105010
  }): any;
104927
- process({ data }: {
104928
- data: any;
104929
- }): any;
104930
105011
  };
104931
105012
  payoutRequestAutoAllocations: {
104932
105013
  create({ data }: {