@rebilly/api 0.22.1 → 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 CHANGED
@@ -1,5 +1,3 @@
1
- ## 0.22.1 (2026-11-11)
1
+ ## 0.22.3 (2026-11-11)
2
2
 
3
- ### 🧱 Updated Dependencies
4
-
5
- - Updated eslint-config to 4.32.24
3
+ This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -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 whether the payout request is blocked or unblocked.
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`, `split`, or `canceled`.
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
- * A blocked payout request can still transition to the `fulfilled` status if allocation processing starts before the payout request is blocked.
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 whether the payout request is blocked or unblocked.
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`, `split`, or `canceled`.
13565
- * Allocation creation, allocation processing, and cancellation of pending allocations are also prevented.
13566
- * A blocked payout request can still transition to the `fulfilled` status if allocation processing starts before the payout request is blocked.
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;
@@ -25837,7 +25840,7 @@ export type Profile = {
25837
25840
  */
25838
25841
  readonly invoiceId: string;
25839
25842
  /**
25840
- * ID of the website for the invoice.
25843
+ * ID of the website associated with the invoice.
25841
25844
  * @maxLength 50
25842
25845
  */
25843
25846
  readonly websiteId: string;
@@ -2847,7 +2847,9 @@ export type StorefrontInvoice = {
2847
2847
  */
2848
2848
  readonly paymentFormUrl?: string;
2849
2849
  /**
2850
- * Invoice transactions array.
2850
+ * Up to 10 of the newest transactions associated with the invoice.
2851
+ * [`GET /storefront/invoices`](https://www.rebilly.com/catalog/all/storefront-invoices/storefrontgetinvoicecollection) does not return this field.
2852
+ * @maxItems 10
2851
2853
  */
2852
2854
  readonly transactions?: StorefrontTransaction[];
2853
2855
  _links?: SelfLink;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.22.1",
3
+ "version": "0.22.3",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,