@rebilly/api 0.9.2 → 0.10.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
- ## 0.9.2 (2026-10-27)
1
+ ## 0.10.0 (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.
@@ -2667,7 +2667,7 @@ export type File = {
2667
2667
  /**
2668
2668
  * MIME type of the file.
2669
2669
  */
2670
- readonly mime?: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | "application/pdf" | "application/json" | "application/zip" | "text/csv";
2670
+ readonly mime?: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | "image/svg+xml" | "application/pdf" | "application/json" | "application/zip" | "text/csv";
2671
2671
  /**
2672
2672
  * File size, in bytes.
2673
2673
  */
@@ -2695,7 +2695,8 @@ export type File = {
2695
2695
  updatedTime?: UpdatedTime;
2696
2696
  /**
2697
2697
  * Specifies if the file is available publicly without authentication.
2698
- * If this value is `true`, the permalink in the `_links` section contains the public URL.
2698
+ * If this value is `true`, the `permalink` and `cdn` links in the `_links` section contain the public URLs.
2699
+ * The `cdn` link is served from a cache and accepts the `imageSize` query parameter for images.
2699
2700
  */
2700
2701
  isPublic?: boolean;
2701
2702
  /**
@@ -2709,7 +2710,7 @@ export type File = {
2709
2710
  /**
2710
2711
  * Type of link.
2711
2712
  */
2712
- rel?: "self" | "download" | "signedLink" | "permalink";
2713
+ rel?: "self" | "download" | "signedLink" | "permalink" | "cdn";
2713
2714
  }[];
2714
2715
  };
2715
2716
  export type FileCreateFromInline = {
@@ -2719,7 +2720,8 @@ export type FileCreateFromInline = {
2719
2720
  file: string;
2720
2721
  /**
2721
2722
  * Specifies if the file is available publicly without authentication.
2722
- * If this value is `true`, the permalink in the `_links` section contains the public URL.
2723
+ * If this value is `true`, the `permalink` and `cdn` links in the `_links` section contain the public URLs.
2724
+ * The `cdn` link is served from a cache and accepts the `imageSize` query parameter for images.
2723
2725
  */
2724
2726
  isPublic?: boolean;
2725
2727
  /**
@@ -2748,7 +2750,8 @@ export type FileCreateFromUrl = {
2748
2750
  url: string;
2749
2751
  /**
2750
2752
  * Specifies if the file is available publicly without authentication.
2751
- * If this value is `true`, the permalink in the `_links` section contains the public URL.
2753
+ * If this value is `true`, the `permalink` and `cdn` links in the `_links` section contain the public URLs.
2754
+ * The `cdn` link is served from a cache and accepts the `imageSize` query parameter for images.
2752
2755
  */
2753
2756
  isPublic?: boolean;
2754
2757
  /**
@@ -10532,6 +10535,54 @@ export type RecurringOrder = {
10532
10535
  */
10533
10536
  readonly billingPortalToken?: string | null;
10534
10537
  customFields?: ResourceCustomFields;
10538
+ /**
10539
+ * Order line items that queue until the next renewal, or interim, invoice is issued for the order.
10540
+ */
10541
+ readonly lineItems?: {
10542
+ /**
10543
+ * Type of invoice line item.
10544
+ */
10545
+ type?: "debit" | "credit";
10546
+ /**
10547
+ * Description of the line item.
10548
+ * @maxLength 1000
10549
+ */
10550
+ description?: string;
10551
+ /**
10552
+ * Unit price of the line item.
10553
+ * @format double
10554
+ */
10555
+ unitPriceAmount?: number;
10556
+ unitPriceCurrency?: CurrencyCode;
10557
+ /**
10558
+ * Quantity of the line item.
10559
+ */
10560
+ quantity?: number;
10561
+ /**
10562
+ * Date and time when the service period begins for this item.
10563
+ * @format date-time
10564
+ */
10565
+ periodStartTime?: string;
10566
+ /**
10567
+ * Date and time when the service period ends for this item.
10568
+ * @format date-time
10569
+ */
10570
+ periodEndTime?: string;
10571
+ createdTime?: CreatedTime;
10572
+ updatedTime?: UpdatedTime;
10573
+ }[];
10574
+ /**
10575
+ * Subtotal of line items in this order (signed value).
10576
+ * If credits exceed debits, this value is a negative number.
10577
+ */
10578
+ readonly lineItemSubtotal?: {
10579
+ currency?: CurrencyCode;
10580
+ /**
10581
+ * Amount of the subtotal.
10582
+ * @format double
10583
+ */
10584
+ amount?: number;
10585
+ };
10535
10586
  /**
10536
10587
  * Monthly recurring revenue of the order.
10537
10588
  * @format double
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,