@rebilly/api 0.9.3 → 0.10.1
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.schemas.d.ts +11 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
|
/**
|
|
@@ -15288,6 +15291,9 @@ export type ApiKey = {
|
|
|
15288
15291
|
readonly apiUser?: string;
|
|
15289
15292
|
/**
|
|
15290
15293
|
* Value of the API secret key.
|
|
15294
|
+
* For a secret key, the full value is returned only in the response to the request that creates the key.
|
|
15295
|
+
* Other responses return a masked value that keeps only the prefix and the `apiUser` value.
|
|
15296
|
+
* For a publishable key, every response returns the full value.
|
|
15291
15297
|
*/
|
|
15292
15298
|
readonly secretKey?: string;
|
|
15293
15299
|
createdTime?: CreatedTime;
|