@rebilly/api 0.22.2 → 0.22.3
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/core-client.d.ts +10 -4
- package/dist/core-client.schemas.d.ts +7 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/core-client.d.ts
CHANGED
|
@@ -8206,6 +8206,10 @@ export type PatchPayoutRequestBody = {
|
|
|
8206
8206
|
canceledBy?: "customer" | "merchant" | "system";
|
|
8207
8207
|
/**
|
|
8208
8208
|
* Description of the cancellation reason.
|
|
8209
|
+
* When a blocked payout request is canceled, the block reason is added to this description.
|
|
8210
|
+
* For example, `Fraud confirmed` becomes `Fraud confirmed (blocked: fraud-suspected)`.
|
|
8211
|
+
* If this field is omitted, the description is the block reason only, such as `blocked: fraud-suspected`.
|
|
8212
|
+
* If the combined text is longer than 255 characters, the text before the block reason is shortened to fit.
|
|
8209
8213
|
* @minLength 1
|
|
8210
8214
|
* @maxLength 255
|
|
8211
8215
|
*/
|
|
@@ -8215,17 +8219,19 @@ export type PatchPayoutRequestBody = {
|
|
|
8215
8219
|
*/
|
|
8216
8220
|
description?: string | null;
|
|
8217
8221
|
/**
|
|
8218
|
-
* Specifies
|
|
8222
|
+
* Specifies if the payout request is blocked or unblocked.
|
|
8219
8223
|
* This field can only be applied to payout requests in the following statuses:
|
|
8220
8224
|
* `pending`, `ready`, `approved`, or `in-progress`.
|
|
8221
8225
|
*
|
|
8222
8226
|
* When a payout request is blocked, it cannot:
|
|
8223
|
-
* - Transition to `ready`, `approved`, `in-progress`, `merged`,
|
|
8227
|
+
* - Transition to `ready`, `approved`, `in-progress`, `merged`, or `split`.
|
|
8224
8228
|
* - Have allocations created.
|
|
8225
8229
|
* - Start allocation processing.
|
|
8226
|
-
* - Cancel pending allocations.
|
|
8227
8230
|
*
|
|
8228
|
-
*
|
|
8231
|
+
* Cancellation of the payout request and pending allocations remains available.
|
|
8232
|
+
* When a blocked payout request is canceled, `blocked` is set to `false`, `blockReason` is set to `null`,
|
|
8233
|
+
* and the block reason is added to `cancellationDescription`.
|
|
8234
|
+
* If allocation processing starts before the payout request is blocked, the request still transitions to the `fulfilled` status.
|
|
8229
8235
|
*/
|
|
8230
8236
|
blocked?: boolean;
|
|
8231
8237
|
blockReason?: PayoutRequestBlockReason | null;
|
|
@@ -13559,11 +13559,14 @@ export type PayoutRequest = {
|
|
|
13559
13559
|
*/
|
|
13560
13560
|
readonly status?: "pending" | "ready" | "approved" | "in-progress" | "fulfilled" | "canceled" | "split" | "merged";
|
|
13561
13561
|
/**
|
|
13562
|
-
* Specifies
|
|
13562
|
+
* Specifies if the payout request is blocked or unblocked.
|
|
13563
13563
|
*
|
|
13564
|
-
* When blocked, the payout request cannot transition to `ready`, `approved`, `in-progress`, `merged`,
|
|
13565
|
-
* Allocation creation
|
|
13566
|
-
*
|
|
13564
|
+
* When blocked, the payout request cannot transition to `ready`, `approved`, `in-progress`, `merged`, or `split`.
|
|
13565
|
+
* Allocation creation and allocation processing are also blocked.
|
|
13566
|
+
* Cancellation of the payout request and pending allocations remains available.
|
|
13567
|
+
* When a blocked payout request is canceled, `blocked` is set to `false`, `blockReason` is set to `null`,
|
|
13568
|
+
* and the block reason is added to the cancellation description.
|
|
13569
|
+
* If allocation processing starts before the payout request is blocked, the request still transitions to the `fulfilled` status.
|
|
13567
13570
|
*/
|
|
13568
13571
|
blocked?: boolean;
|
|
13569
13572
|
blockReason?: PayoutRequestBlockReason | null;
|