rebilly-js-sdk 62.202.1 → 62.204.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 CHANGED
@@ -1,3 +1,3 @@
1
- ## 62.202.1 (2026-10-06)
1
+ ## 62.204.0 (2026-10-06)
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.
@@ -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.
@@ -10462,6 +10382,12 @@ export interface coreComponents {
10462
10382
  isPhotocopy?: boolean;
10463
10383
  /** Specifies if the face liveness session completed. */
10464
10384
  hasCompletedFaceLiveness?: boolean;
10385
+ /**
10386
+ * Brightness of the lighting in the detected face area of the face proof image, on a scale from `0` to `100`.
10387
+ * A higher value indicates brighter lighting.
10388
+ * This value is `null` if no face proof is compared with the document.
10389
+ */
10390
+ faceProofBrightness?: number | null;
10465
10391
  /** Use `expirationDate` field instead. */
10466
10392
  expiryDate?: string | null;
10467
10393
  };
@@ -10545,6 +10471,18 @@ export interface coreComponents {
10545
10471
  minimumAge: number;
10546
10472
  }[];
10547
10473
  };
10474
+ /** Quality requirements for the face proof image of an identity proof document. */
10475
+ faceProofSettings?: {
10476
+ /**
10477
+ * Minimum brightness of the lighting in the detected face area of the face proof image.
10478
+ * The brightness scale ranges from `0` to `100`.
10479
+ * A higher value indicates brighter lighting.
10480
+ * If the detected brightness is below this value,
10481
+ * the `hasMatchingFaceProof` check fails with the `face_match_low_brightness` reason.
10482
+ * Use `0` to disable the brightness requirement.
10483
+ */
10484
+ minimumBrightness?: number;
10485
+ };
10548
10486
  };
10549
10487
  ProofOfIdentityKycDocument: {
10550
10488
  /** ID of the KYC document. */
@@ -43542,106 +43480,6 @@ export interface operations {
43542
43480
  };
43543
43481
  requestBody: coreComponents["requestBodies"]["PatchPayoutRequestBatch"];
43544
43482
  };
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
43483
  /**
43646
43484
  * Adds payout requests to a batch with a specified ID.
43647
43485
  * Accepts payout requests in any status, with or without allocations.
@@ -43769,35 +43607,6 @@ export interface operations {
43769
43607
  };
43770
43608
  };
43771
43609
  };
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
43610
  /**
43802
43611
  * Starts permissions emulation.
43803
43612
  *
@@ -50239,6 +50048,12 @@ export interface storefrontComponents {
50239
50048
  isPhotocopy?: boolean;
50240
50049
  /** Specifies if the face liveness session completed. */
50241
50050
  hasCompletedFaceLiveness?: boolean;
50051
+ /**
50052
+ * Brightness of the lighting in the detected face area of the face proof image, on a scale from `0` to `100`.
50053
+ * A higher value indicates brighter lighting.
50054
+ * This value is `null` if no face proof is compared with the document.
50055
+ */
50056
+ faceProofBrightness?: number | null;
50242
50057
  /** Use `expirationDate` field instead. */
50243
50058
  expiryDate?: string | null;
50244
50059
  };
@@ -50322,6 +50137,18 @@ export interface storefrontComponents {
50322
50137
  minimumAge: number;
50323
50138
  }[];
50324
50139
  };
50140
+ /** Quality requirements for the face proof image of an identity proof document. */
50141
+ faceProofSettings?: {
50142
+ /**
50143
+ * Minimum brightness of the lighting in the detected face area of the face proof image.
50144
+ * The brightness scale ranges from `0` to `100`.
50145
+ * A higher value indicates brighter lighting.
50146
+ * If the detected brightness is below this value,
50147
+ * the `hasMatchingFaceProof` check fails with the `face_match_low_brightness` reason.
50148
+ * Use `0` to disable the brightness requirement.
50149
+ */
50150
+ minimumBrightness?: number;
50151
+ };
50325
50152
  };
50326
50153
  ProofOfIdentityKycDocument: {
50327
50154
  /** ID of the KYC document. */
@@ -77133,6 +76960,12 @@ export interface reportsComponents {
77133
76960
  isPhotocopy?: boolean;
77134
76961
  /** Specifies if the face liveness session completed. */
77135
76962
  hasCompletedFaceLiveness?: boolean;
76963
+ /**
76964
+ * Brightness of the lighting in the detected face area of the face proof image, on a scale from `0` to `100`.
76965
+ * A higher value indicates brighter lighting.
76966
+ * This value is `null` if no face proof is compared with the document.
76967
+ */
76968
+ faceProofBrightness?: number | null;
77136
76969
  /** Use `expirationDate` field instead. */
77137
76970
  expiryDate?: string | null;
77138
76971
  };
@@ -77216,6 +77049,18 @@ export interface reportsComponents {
77216
77049
  minimumAge: number;
77217
77050
  }[];
77218
77051
  };
77052
+ /** Quality requirements for the face proof image of an identity proof document. */
77053
+ faceProofSettings?: {
77054
+ /**
77055
+ * Minimum brightness of the lighting in the detected face area of the face proof image.
77056
+ * The brightness scale ranges from `0` to `100`.
77057
+ * A higher value indicates brighter lighting.
77058
+ * If the detected brightness is below this value,
77059
+ * the `hasMatchingFaceProof` check fails with the `face_match_low_brightness` reason.
77060
+ * Use `0` to disable the brightness requirement.
77061
+ */
77062
+ minimumBrightness?: number;
77063
+ };
77219
77064
  };
77220
77065
  ProofOfIdentityKycDocument: {
77221
77066
  /** ID of the KYC document. */
@@ -100651,14 +100496,6 @@ declare module "rebilly-js-sdk" {
100651
100496
  export type PatchPayoutRequestBatchResponsePromise = rebilly.PatchPayoutRequestBatchResponsePromise;
100652
100497
  export type DeletePayoutRequestBatchResponse = rebilly.DeletePayoutRequestBatchResponse;
100653
100498
  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
100499
  export type PostPayoutRequestsToBatchRequest = rebilly.PostPayoutRequestsToBatchRequest;
100663
100500
  export type CreatePayoutRequestsToBatchRequest = rebilly.CreatePayoutRequestsToBatchRequest;
100664
100501
  export type PostPayoutRequestsToBatchResponse = rebilly.PostPayoutRequestsToBatchResponse;
@@ -100667,8 +100504,6 @@ declare module "rebilly-js-sdk" {
100667
100504
  export type CreateRemovePayoutRequestsFromBatchRequest = rebilly.CreateRemovePayoutRequestsFromBatchRequest;
100668
100505
  export type PostRemovePayoutRequestsFromBatchResponse = rebilly.PostRemovePayoutRequestsFromBatchResponse;
100669
100506
  export type PostRemovePayoutRequestsFromBatchResponsePromise = rebilly.PostRemovePayoutRequestsFromBatchResponsePromise;
100670
- export type PostPayoutRequestBatchUnblockResponse = rebilly.PostPayoutRequestBatchUnblockResponse;
100671
- export type PostPayoutRequestBatchUnblockResponsePromise = rebilly.PostPayoutRequestBatchUnblockResponsePromise;
100672
100507
  export type PostPermissionsEmulationRequest = rebilly.PostPermissionsEmulationRequest;
100673
100508
  export type CreatePermissionsEmulationRequest = rebilly.CreatePermissionsEmulationRequest;
100674
100509
  export type PostPermissionsEmulationResponse = rebilly.PostPermissionsEmulationResponse;
@@ -102686,16 +102521,6 @@ declare module "resources/payout-request-batches-resource" {
102686
102521
  id: any;
102687
102522
  data: any;
102688
102523
  }): 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
102524
  addPayoutRequests({ id, data }: {
102700
102525
  id: any;
102701
102526
  data: any;
@@ -102704,9 +102529,6 @@ declare module "resources/payout-request-batches-resource" {
102704
102529
  id: any;
102705
102530
  data: any;
102706
102531
  }): any;
102707
- unblock({ id }: {
102708
- id: any;
102709
- }): any;
102710
102532
  };
102711
102533
  }
102712
102534
  declare module "resources/payout-request-splits-resource" {
@@ -104477,16 +104299,6 @@ declare module "resources/api-instance" {
104477
104299
  id: any;
104478
104300
  data: any;
104479
104301
  }): 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
104302
  addPayoutRequests({ id, data }: {
104491
104303
  id: any;
104492
104304
  data: any;
@@ -104495,9 +104307,6 @@ declare module "resources/api-instance" {
104495
104307
  id: any;
104496
104308
  data: any;
104497
104309
  }): any;
104498
- unblock({ id }: {
104499
- id: any;
104500
- }): any;
104501
104310
  };
104502
104311
  payoutRequestSplits: {
104503
104312
  create({ data }: {