@rebilly/api 0.9.1 → 0.9.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,3 +1,3 @@
1
- ## 0.9.1 (2026-10-27)
1
+ ## 0.9.3 (2026-10-27)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -9373,6 +9373,9 @@ export type Subscription = {
9373
9373
  /**
9374
9374
  * Specifies if there is a trial for this subscription.
9375
9375
  * Plans without trial prices are free trials.
9376
+ * If the order is active, all its items are in a trial, and `isTrialOnly` is `false`, setting this value to `false` ends the trial immediately.
9377
+ * In the response, this field remains `true`, and `endTime` contains the date and time when the trial ended.
9378
+ * If only some items of an active order are in a trial, setting this value to `false` returns a 409 error.
9376
9379
  */
9377
9380
  enabled?: boolean;
9378
9381
  /**
@@ -10341,6 +10344,9 @@ export type RecurringOrder = {
10341
10344
  /**
10342
10345
  * Specifies if there is a trial for this subscription.
10343
10346
  * Plans without trial prices are free trials.
10347
+ * If the order is active, all its items are in a trial, and `isTrialOnly` is `false`, setting this value to `false` ends the trial immediately.
10348
+ * In the response, this field remains `true`, and `endTime` contains the date and time when the trial ended.
10349
+ * If only some items of an active order are in a trial, setting this value to `false` returns a 409 error.
10344
10350
  */
10345
10351
  enabled?: boolean;
10346
10352
  /**
@@ -10526,6 +10532,54 @@ export type RecurringOrder = {
10526
10532
  */
10527
10533
  readonly billingPortalToken?: string | null;
10528
10534
  customFields?: ResourceCustomFields;
10535
+ /**
10536
+ * Order line items that queue until the next renewal, or interim, invoice is issued for the order.
10537
+ */
10538
+ readonly lineItems?: {
10539
+ /**
10540
+ * Type of invoice line item.
10541
+ */
10542
+ type?: "debit" | "credit";
10543
+ /**
10544
+ * Description of the line item.
10545
+ * @maxLength 1000
10546
+ */
10547
+ description?: string;
10548
+ /**
10549
+ * Unit price of the line item.
10550
+ * @format double
10551
+ */
10552
+ unitPriceAmount?: number;
10553
+ unitPriceCurrency?: CurrencyCode;
10554
+ /**
10555
+ * Quantity of the line item.
10556
+ */
10557
+ quantity?: number;
10558
+ /**
10559
+ * Date and time when the service period begins for this item.
10560
+ * @format date-time
10561
+ */
10562
+ periodStartTime?: string;
10563
+ /**
10564
+ * Date and time when the service period ends for this item.
10565
+ * @format date-time
10566
+ */
10567
+ periodEndTime?: string;
10568
+ createdTime?: CreatedTime;
10569
+ updatedTime?: UpdatedTime;
10570
+ }[];
10571
+ /**
10572
+ * Subtotal of line items in this order (signed value).
10573
+ * If credits exceed debits, this value is a negative number.
10574
+ */
10575
+ readonly lineItemSubtotal?: {
10576
+ currency?: CurrencyCode;
10577
+ /**
10578
+ * Amount of the subtotal.
10579
+ * @format double
10580
+ */
10581
+ amount?: number;
10582
+ };
10529
10583
  /**
10530
10584
  * Monthly recurring revenue of the order.
10531
10585
  * @format double
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,