@rebilly/api 0.9.3 → 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.3 (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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.9.3",
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,