frameio 1.1.4 → 1.1.5

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.
Files changed (60) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/files/client/Client.d.ts +1 -0
  3. package/dist/cjs/api/resources/files/client/Client.js +5 -1
  4. package/dist/cjs/api/resources/files/client/requests/FileCopyParams.d.ts +4 -0
  5. package/dist/cjs/api/resources/files/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/files/index.js +1 -0
  7. package/dist/cjs/api/resources/files/types/FilesCopyRequestCopyComments.d.ts +7 -0
  8. package/dist/cjs/api/resources/files/types/FilesCopyRequestCopyComments.js +10 -0
  9. package/dist/cjs/api/resources/files/types/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/files/types/index.js +17 -0
  11. package/dist/cjs/api/resources/index.d.ts +2 -1
  12. package/dist/cjs/api/resources/index.js +3 -2
  13. package/dist/cjs/api/resources/metadata/client/Client.d.ts +4 -4
  14. package/dist/cjs/api/resources/metadata/client/Client.js +4 -4
  15. package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +4 -4
  16. package/dist/cjs/api/resources/shares/client/Client.d.ts +4 -4
  17. package/dist/cjs/api/resources/shares/client/Client.js +4 -4
  18. package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
  19. package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
  20. package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +1 -1
  21. package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +1 -1
  22. package/dist/cjs/api/resources/versionStacks/client/Client.js +1 -1
  23. package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +1 -1
  24. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +6 -1
  25. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +6 -1
  26. package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +6 -1
  27. package/dist/cjs/api/types/FileWithMediaLinksInclude.js +6 -1
  28. package/dist/cjs/version.d.ts +1 -1
  29. package/dist/cjs/version.js +1 -1
  30. package/dist/esm/Client.mjs +2 -2
  31. package/dist/esm/api/resources/files/client/Client.d.mts +1 -0
  32. package/dist/esm/api/resources/files/client/Client.mjs +5 -1
  33. package/dist/esm/api/resources/files/client/requests/FileCopyParams.d.mts +4 -0
  34. package/dist/esm/api/resources/files/index.d.mts +1 -0
  35. package/dist/esm/api/resources/files/index.mjs +1 -0
  36. package/dist/esm/api/resources/files/types/FilesCopyRequestCopyComments.d.mts +7 -0
  37. package/dist/esm/api/resources/files/types/FilesCopyRequestCopyComments.mjs +7 -0
  38. package/dist/esm/api/resources/files/types/index.d.mts +1 -0
  39. package/dist/esm/api/resources/files/types/index.mjs +1 -0
  40. package/dist/esm/api/resources/index.d.mts +2 -1
  41. package/dist/esm/api/resources/index.mjs +2 -1
  42. package/dist/esm/api/resources/metadata/client/Client.d.mts +4 -4
  43. package/dist/esm/api/resources/metadata/client/Client.mjs +4 -4
  44. package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +4 -4
  45. package/dist/esm/api/resources/shares/client/Client.d.mts +4 -4
  46. package/dist/esm/api/resources/shares/client/Client.mjs +4 -4
  47. package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
  48. package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
  49. package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +1 -1
  50. package/dist/esm/api/resources/versionStacks/client/Client.d.mts +1 -1
  51. package/dist/esm/api/resources/versionStacks/client/Client.mjs +1 -1
  52. package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +1 -1
  53. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +6 -1
  54. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +6 -1
  55. package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +6 -1
  56. package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +6 -1
  57. package/dist/esm/version.d.mts +1 -1
  58. package/dist/esm/version.mjs +1 -1
  59. package/package.json +1 -1
  60. package/reference.md +10 -9
@@ -57,8 +57,8 @@ class FrameioClient {
57
57
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
58
58
  "X-Fern-Language": "JavaScript",
59
59
  "X-Fern-SDK-Name": "frameio",
60
- "X-Fern-SDK-Version": "1.1.4",
61
- "User-Agent": "frameio/1.1.4",
60
+ "X-Fern-SDK-Version": "1.1.5",
61
+ "User-Agent": "frameio/1.1.5",
62
62
  "X-Fern-Runtime": core.RUNTIME.type,
63
63
  "X-Fern-Runtime-Version": core.RUNTIME.version,
64
64
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -175,6 +175,7 @@ export declare class Files {
175
175
  * @example
176
176
  * await client.files.copy("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
177
177
  * copy_metadata: true,
178
+ * copy_comments: "none",
178
179
  * data: {
179
180
  * parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec"
180
181
  * }
@@ -518,6 +518,7 @@ class Files {
518
518
  * @example
519
519
  * await client.files.copy("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
520
520
  * copy_metadata: true,
521
+ * copy_comments: "none",
521
522
  * data: {
522
523
  * parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec"
523
524
  * }
@@ -529,11 +530,14 @@ class Files {
529
530
  __copy(accountId_1, fileId_1) {
530
531
  return __awaiter(this, arguments, void 0, function* (accountId, fileId, request = {}, requestOptions) {
531
532
  var _a, _b, _c;
532
- const { copy_metadata: copyMetadata } = request, _body = __rest(request, ["copy_metadata"]);
533
+ const { copy_metadata: copyMetadata, copy_comments: copyComments } = request, _body = __rest(request, ["copy_metadata", "copy_comments"]);
533
534
  const _queryParams = {};
534
535
  if (copyMetadata != null) {
535
536
  _queryParams["copy_metadata"] = copyMetadata.toString();
536
537
  }
538
+ if (copyComments != null) {
539
+ _queryParams["copy_comments"] = copyComments;
540
+ }
537
541
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
538
542
  const _response = yield core.fetcher({
539
543
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FrameioEnvironment.Default, `v4/accounts/${encodeURIComponent(accountId)}/files/${encodeURIComponent(fileId)}/copy`),
@@ -1,7 +1,9 @@
1
+ import * as Frameio from "../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {
4
5
  * copy_metadata: true,
6
+ * copy_comments: "none",
5
7
  * data: {
6
8
  * parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec"
7
9
  * }
@@ -10,6 +12,8 @@
10
12
  export interface FileCopyParams {
11
13
  /** Whether to copy metadata values along with the file */
12
14
  copy_metadata?: boolean;
15
+ /** Which comments to copy along with the file */
16
+ copy_comments?: Frameio.FilesCopyRequestCopyComments;
13
17
  data?: FileCopyParams.Data;
14
18
  }
15
19
  export declare namespace FileCopyParams {
@@ -1 +1,2 @@
1
+ export * from "./types/index.js";
1
2
  export * from "./client/index.js";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types/index.js"), exports);
17
18
  __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,7 @@
1
+ export declare const FilesCopyRequestCopyComments: {
2
+ readonly None: "none";
3
+ readonly Internal: "internal";
4
+ readonly Public: "public";
5
+ readonly All: "all";
6
+ };
7
+ export type FilesCopyRequestCopyComments = (typeof FilesCopyRequestCopyComments)[keyof typeof FilesCopyRequestCopyComments];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.FilesCopyRequestCopyComments = void 0;
5
+ exports.FilesCopyRequestCopyComments = {
6
+ None: "none",
7
+ Internal: "internal",
8
+ Public: "public",
9
+ All: "all",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./FilesCopyRequestCopyComments.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./FilesCopyRequestCopyComments.js"), exports);
@@ -6,6 +6,8 @@ export * as comments from "./comments/index.js";
6
6
  export * from "./comments/types/index.js";
7
7
  export * as shares from "./shares/index.js";
8
8
  export * from "./shares/types/index.js";
9
+ export * as files from "./files/index.js";
10
+ export * from "./files/types/index.js";
9
11
  export * as projectPermissions from "./projectPermissions/index.js";
10
12
  export * as folders from "./folders/index.js";
11
13
  export * as accountPermissions from "./accountPermissions/index.js";
@@ -13,7 +15,6 @@ export * as accounts from "./accounts/index.js";
13
15
  export * as webhooks from "./webhooks/index.js";
14
16
  export * as workspacePermissions from "./workspacePermissions/index.js";
15
17
  export * as metadata from "./metadata/index.js";
16
- export * as files from "./files/index.js";
17
18
  export * as users from "./users/index.js";
18
19
  export * as projects from "./projects/index.js";
19
20
  export * as workspaces from "./workspaces/index.js";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.workspaces = exports.projects = exports.users = exports.files = exports.metadata = exports.workspacePermissions = exports.webhooks = exports.accounts = exports.accountPermissions = exports.folders = exports.projectPermissions = exports.shares = exports.comments = exports.versionStacks = exports.metadataFields = void 0;
39
+ exports.workspaces = exports.projects = exports.users = exports.metadata = exports.workspacePermissions = exports.webhooks = exports.accounts = exports.accountPermissions = exports.folders = exports.projectPermissions = exports.files = exports.shares = exports.comments = exports.versionStacks = exports.metadataFields = void 0;
40
40
  exports.metadataFields = __importStar(require("./metadataFields/index.js"));
41
41
  __exportStar(require("./metadataFields/types/index.js"), exports);
42
42
  exports.versionStacks = __importStar(require("./versionStacks/index.js"));
@@ -45,6 +45,8 @@ exports.comments = __importStar(require("./comments/index.js"));
45
45
  __exportStar(require("./comments/types/index.js"), exports);
46
46
  exports.shares = __importStar(require("./shares/index.js"));
47
47
  __exportStar(require("./shares/types/index.js"), exports);
48
+ exports.files = __importStar(require("./files/index.js"));
49
+ __exportStar(require("./files/types/index.js"), exports);
48
50
  exports.projectPermissions = __importStar(require("./projectPermissions/index.js"));
49
51
  exports.folders = __importStar(require("./folders/index.js"));
50
52
  exports.accountPermissions = __importStar(require("./accountPermissions/index.js"));
@@ -52,7 +54,6 @@ exports.accounts = __importStar(require("./accounts/index.js"));
52
54
  exports.webhooks = __importStar(require("./webhooks/index.js"));
53
55
  exports.workspacePermissions = __importStar(require("./workspacePermissions/index.js"));
54
56
  exports.metadata = __importStar(require("./metadata/index.js"));
55
- exports.files = __importStar(require("./files/index.js"));
56
57
  exports.users = __importStar(require("./users/index.js"));
57
58
  exports.projects = __importStar(require("./projects/index.js"));
58
59
  exports.workspaces = __importStar(require("./workspaces/index.js"));
@@ -47,16 +47,16 @@ export declare class Metadata {
47
47
  * @example
48
48
  * await client.metadata.bulkUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
49
49
  * data: {
50
- * file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
50
+ * file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
51
51
  * values: [{
52
- * field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
52
+ * field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
53
53
  * value: [
54
54
  * {
55
- * "id": "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
55
+ * "id": "987e2e06-21a8-48cc-b562-df4de25f7f15",
56
56
  * "type": "user"
57
57
  * },
58
58
  * {
59
- * "id": "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
59
+ * "id": "e6036025-349e-458d-aa45-ef87cf0a7207",
60
60
  * "type": "account_user_group"
61
61
  * }
62
62
  * ]
@@ -74,16 +74,16 @@ class Metadata {
74
74
  * @example
75
75
  * await client.metadata.bulkUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
76
76
  * data: {
77
- * file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
77
+ * file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
78
78
  * values: [{
79
- * field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
79
+ * field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
80
80
  * value: [
81
81
  * {
82
- * "id": "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
82
+ * "id": "987e2e06-21a8-48cc-b562-df4de25f7f15",
83
83
  * "type": "user"
84
84
  * },
85
85
  * {
86
- * "id": "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
86
+ * "id": "e6036025-349e-458d-aa45-ef87cf0a7207",
87
87
  * "type": "account_user_group"
88
88
  * }
89
89
  * ]
@@ -3,16 +3,16 @@ import * as Frameio from "../../../../index.js";
3
3
  * @example
4
4
  * {
5
5
  * data: {
6
- * file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
6
+ * file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
7
7
  * values: [{
8
- * field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
8
+ * field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
9
9
  * value: [
10
10
  * {
11
- * "id": "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
11
+ * "id": "987e2e06-21a8-48cc-b562-df4de25f7f15",
12
12
  * "type": "user"
13
13
  * },
14
14
  * {
15
- * "id": "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
15
+ * "id": "e6036025-349e-458d-aa45-ef87cf0a7207",
16
16
  * "type": "account_user_group"
17
17
  * }
18
18
  * ]
@@ -88,7 +88,7 @@ export declare class Shares {
88
88
  * access: "public",
89
89
  * description: "A descriptive summary of the share",
90
90
  * downloading_enabled: true,
91
- * expiration: "2026-01-09T22:40:58Z",
91
+ * expiration: "2026-01-12T23:28:07Z",
92
92
  * name: "Share Name",
93
93
  * passphrase: "as!dfj39sd(*"
94
94
  * }
@@ -218,7 +218,7 @@ export declare class Shares {
218
218
  * @example
219
219
  * await client.shares.addAsset("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
220
220
  * data: {
221
- * asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46"
221
+ * asset_id: "893396e8-f6da-4167-aa09-1fd22101df82"
222
222
  * }
223
223
  * })
224
224
  */
@@ -267,9 +267,9 @@ export declare class Shares {
267
267
  * data: {
268
268
  * type: "asset",
269
269
  * access: "public",
270
- * asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
270
+ * asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
271
271
  * downloading_enabled: true,
272
- * expiration: "2026-01-09T22:40:58Z",
272
+ * expiration: "2026-01-12T23:28:07Z",
273
273
  * name: "Share Name",
274
274
  * passphrase: "as!dfj39sd(*"
275
275
  * }
@@ -227,7 +227,7 @@ class Shares {
227
227
  * access: "public",
228
228
  * description: "A descriptive summary of the share",
229
229
  * downloading_enabled: true,
230
- * expiration: "2026-01-09T22:40:58Z",
230
+ * expiration: "2026-01-12T23:28:07Z",
231
231
  * name: "Share Name",
232
232
  * passphrase: "as!dfj39sd(*"
233
233
  * }
@@ -671,7 +671,7 @@ class Shares {
671
671
  * @example
672
672
  * await client.shares.addAsset("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
673
673
  * data: {
674
- * asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46"
674
+ * asset_id: "893396e8-f6da-4167-aa09-1fd22101df82"
675
675
  * }
676
676
  * })
677
677
  */
@@ -857,9 +857,9 @@ class Shares {
857
857
  * data: {
858
858
  * type: "asset",
859
859
  * access: "public",
860
- * asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
860
+ * asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
861
861
  * downloading_enabled: true,
862
- * expiration: "2026-01-09T22:40:58Z",
862
+ * expiration: "2026-01-12T23:28:07Z",
863
863
  * name: "Share Name",
864
864
  * passphrase: "as!dfj39sd(*"
865
865
  * }
@@ -2,7 +2,7 @@
2
2
  * @example
3
3
  * {
4
4
  * data: {
5
- * asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46"
5
+ * asset_id: "893396e8-f6da-4167-aa09-1fd22101df82"
6
6
  * }
7
7
  * }
8
8
  */
@@ -5,9 +5,9 @@ import * as Frameio from "../../../../index.js";
5
5
  * data: {
6
6
  * type: "asset",
7
7
  * access: "public",
8
- * asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
8
+ * asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
9
9
  * downloading_enabled: true,
10
- * expiration: "2026-01-09T22:40:58Z",
10
+ * expiration: "2026-01-12T23:28:07Z",
11
11
  * name: "Share Name",
12
12
  * passphrase: "as!dfj39sd(*"
13
13
  * }
@@ -5,7 +5,7 @@
5
5
  * access: "public",
6
6
  * description: "A descriptive summary of the share",
7
7
  * downloading_enabled: true,
8
- * expiration: "2026-01-09T22:40:58Z",
8
+ * expiration: "2026-01-12T23:28:07Z",
9
9
  * name: "Share Name",
10
10
  * passphrase: "as!dfj39sd(*"
11
11
  * }
@@ -156,7 +156,7 @@ export declare class VersionStacks {
156
156
  * @example
157
157
  * await client.versionStacks.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
158
158
  * data: {
159
- * file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"]
159
+ * file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"]
160
160
  * }
161
161
  * })
162
162
  */
@@ -465,7 +465,7 @@ class VersionStacks {
465
465
  * @example
466
466
  * await client.versionStacks.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
467
467
  * data: {
468
- * file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"]
468
+ * file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"]
469
469
  * }
470
470
  * })
471
471
  */
@@ -2,7 +2,7 @@
2
2
  * @example
3
3
  * {
4
4
  * data: {
5
- * file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"]
5
+ * file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"]
6
6
  * }
7
7
  * }
8
8
  */
@@ -1,9 +1,14 @@
1
1
  /** Supported include query parameter values for endpoints that return files with media links */
2
2
  export declare const VersionStacksShowRequestInclude: {
3
3
  readonly MediaLinks: "media_links";
4
+ readonly MediaLinksOriginal: "media_links.original";
5
+ readonly MediaLinksThumbnail: "media_links.thumbnail";
6
+ readonly MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality";
7
+ readonly MediaLinksVideoH264180: "media_links.video_h264_180";
8
+ readonly MediaLinksHighQuality: "media_links.high_quality";
9
+ readonly MediaLinksEfficient: "media_links.efficient";
4
10
  readonly Creator: "creator";
5
11
  readonly Project: "project";
6
- readonly ProjectOwner: "project.owner";
7
12
  readonly Metadata: "metadata";
8
13
  };
9
14
  export type VersionStacksShowRequestInclude = (typeof VersionStacksShowRequestInclude)[keyof typeof VersionStacksShowRequestInclude];
@@ -5,8 +5,13 @@ exports.VersionStacksShowRequestInclude = void 0;
5
5
  /** Supported include query parameter values for endpoints that return files with media links */
6
6
  exports.VersionStacksShowRequestInclude = {
7
7
  MediaLinks: "media_links",
8
+ MediaLinksOriginal: "media_links.original",
9
+ MediaLinksThumbnail: "media_links.thumbnail",
10
+ MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality",
11
+ MediaLinksVideoH264180: "media_links.video_h264_180",
12
+ MediaLinksHighQuality: "media_links.high_quality",
13
+ MediaLinksEfficient: "media_links.efficient",
8
14
  Creator: "creator",
9
15
  Project: "project",
10
- ProjectOwner: "project.owner",
11
16
  Metadata: "metadata",
12
17
  };
@@ -1,9 +1,14 @@
1
1
  /** Supported include query parameter values for endpoints that return files with media links */
2
2
  export declare const FileWithMediaLinksInclude: {
3
3
  readonly MediaLinks: "media_links";
4
+ readonly MediaLinksOriginal: "media_links.original";
5
+ readonly MediaLinksThumbnail: "media_links.thumbnail";
6
+ readonly MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality";
7
+ readonly MediaLinksVideoH264180: "media_links.video_h264_180";
8
+ readonly MediaLinksHighQuality: "media_links.high_quality";
9
+ readonly MediaLinksEfficient: "media_links.efficient";
4
10
  readonly Creator: "creator";
5
11
  readonly Project: "project";
6
- readonly ProjectOwner: "project.owner";
7
12
  readonly Metadata: "metadata";
8
13
  };
9
14
  export type FileWithMediaLinksInclude = (typeof FileWithMediaLinksInclude)[keyof typeof FileWithMediaLinksInclude];
@@ -5,8 +5,13 @@ exports.FileWithMediaLinksInclude = void 0;
5
5
  /** Supported include query parameter values for endpoints that return files with media links */
6
6
  exports.FileWithMediaLinksInclude = {
7
7
  MediaLinks: "media_links",
8
+ MediaLinksOriginal: "media_links.original",
9
+ MediaLinksThumbnail: "media_links.thumbnail",
10
+ MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality",
11
+ MediaLinksVideoH264180: "media_links.video_h264_180",
12
+ MediaLinksHighQuality: "media_links.high_quality",
13
+ MediaLinksEfficient: "media_links.efficient",
8
14
  Creator: "creator",
9
15
  Project: "project",
10
- ProjectOwner: "project.owner",
11
16
  Metadata: "metadata",
12
17
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.4";
1
+ export declare const SDK_VERSION = "1.1.5";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.1.4";
4
+ exports.SDK_VERSION = "1.1.5";
@@ -21,8 +21,8 @@ export class FrameioClient {
21
21
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
22
22
  "X-Fern-Language": "JavaScript",
23
23
  "X-Fern-SDK-Name": "frameio",
24
- "X-Fern-SDK-Version": "1.1.4",
25
- "User-Agent": "frameio/1.1.4",
24
+ "X-Fern-SDK-Version": "1.1.5",
25
+ "User-Agent": "frameio/1.1.5",
26
26
  "X-Fern-Runtime": core.RUNTIME.type,
27
27
  "X-Fern-Runtime-Version": core.RUNTIME.version,
28
28
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -175,6 +175,7 @@ export declare class Files {
175
175
  * @example
176
176
  * await client.files.copy("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
177
177
  * copy_metadata: true,
178
+ * copy_comments: "none",
178
179
  * data: {
179
180
  * parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec"
180
181
  * }
@@ -482,6 +482,7 @@ export class Files {
482
482
  * @example
483
483
  * await client.files.copy("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
484
484
  * copy_metadata: true,
485
+ * copy_comments: "none",
485
486
  * data: {
486
487
  * parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec"
487
488
  * }
@@ -493,11 +494,14 @@ export class Files {
493
494
  __copy(accountId_1, fileId_1) {
494
495
  return __awaiter(this, arguments, void 0, function* (accountId, fileId, request = {}, requestOptions) {
495
496
  var _a, _b, _c;
496
- const { copy_metadata: copyMetadata } = request, _body = __rest(request, ["copy_metadata"]);
497
+ const { copy_metadata: copyMetadata, copy_comments: copyComments } = request, _body = __rest(request, ["copy_metadata", "copy_comments"]);
497
498
  const _queryParams = {};
498
499
  if (copyMetadata != null) {
499
500
  _queryParams["copy_metadata"] = copyMetadata.toString();
500
501
  }
502
+ if (copyComments != null) {
503
+ _queryParams["copy_comments"] = copyComments;
504
+ }
501
505
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
502
506
  const _response = yield core.fetcher({
503
507
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FrameioEnvironment.Default, `v4/accounts/${encodeURIComponent(accountId)}/files/${encodeURIComponent(fileId)}/copy`),
@@ -1,7 +1,9 @@
1
+ import * as Frameio from "../../../../index.mjs";
1
2
  /**
2
3
  * @example
3
4
  * {
4
5
  * copy_metadata: true,
6
+ * copy_comments: "none",
5
7
  * data: {
6
8
  * parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec"
7
9
  * }
@@ -10,6 +12,8 @@
10
12
  export interface FileCopyParams {
11
13
  /** Whether to copy metadata values along with the file */
12
14
  copy_metadata?: boolean;
15
+ /** Which comments to copy along with the file */
16
+ copy_comments?: Frameio.FilesCopyRequestCopyComments;
13
17
  data?: FileCopyParams.Data;
14
18
  }
15
19
  export declare namespace FileCopyParams {
@@ -1 +1,2 @@
1
+ export * from "./types/index.mjs";
1
2
  export * from "./client/index.mjs";
@@ -1 +1,2 @@
1
+ export * from "./types/index.mjs";
1
2
  export * from "./client/index.mjs";
@@ -0,0 +1,7 @@
1
+ export declare const FilesCopyRequestCopyComments: {
2
+ readonly None: "none";
3
+ readonly Internal: "internal";
4
+ readonly Public: "public";
5
+ readonly All: "all";
6
+ };
7
+ export type FilesCopyRequestCopyComments = (typeof FilesCopyRequestCopyComments)[keyof typeof FilesCopyRequestCopyComments];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const FilesCopyRequestCopyComments = {
3
+ None: "none",
4
+ Internal: "internal",
5
+ Public: "public",
6
+ All: "all",
7
+ };
@@ -0,0 +1 @@
1
+ export * from "./FilesCopyRequestCopyComments.mjs";
@@ -0,0 +1 @@
1
+ export * from "./FilesCopyRequestCopyComments.mjs";
@@ -6,6 +6,8 @@ export * as comments from "./comments/index.mjs";
6
6
  export * from "./comments/types/index.mjs";
7
7
  export * as shares from "./shares/index.mjs";
8
8
  export * from "./shares/types/index.mjs";
9
+ export * as files from "./files/index.mjs";
10
+ export * from "./files/types/index.mjs";
9
11
  export * as projectPermissions from "./projectPermissions/index.mjs";
10
12
  export * as folders from "./folders/index.mjs";
11
13
  export * as accountPermissions from "./accountPermissions/index.mjs";
@@ -13,7 +15,6 @@ export * as accounts from "./accounts/index.mjs";
13
15
  export * as webhooks from "./webhooks/index.mjs";
14
16
  export * as workspacePermissions from "./workspacePermissions/index.mjs";
15
17
  export * as metadata from "./metadata/index.mjs";
16
- export * as files from "./files/index.mjs";
17
18
  export * as users from "./users/index.mjs";
18
19
  export * as projects from "./projects/index.mjs";
19
20
  export * as workspaces from "./workspaces/index.mjs";
@@ -6,6 +6,8 @@ export * as comments from "./comments/index.mjs";
6
6
  export * from "./comments/types/index.mjs";
7
7
  export * as shares from "./shares/index.mjs";
8
8
  export * from "./shares/types/index.mjs";
9
+ export * as files from "./files/index.mjs";
10
+ export * from "./files/types/index.mjs";
9
11
  export * as projectPermissions from "./projectPermissions/index.mjs";
10
12
  export * as folders from "./folders/index.mjs";
11
13
  export * as accountPermissions from "./accountPermissions/index.mjs";
@@ -13,7 +15,6 @@ export * as accounts from "./accounts/index.mjs";
13
15
  export * as webhooks from "./webhooks/index.mjs";
14
16
  export * as workspacePermissions from "./workspacePermissions/index.mjs";
15
17
  export * as metadata from "./metadata/index.mjs";
16
- export * as files from "./files/index.mjs";
17
18
  export * as users from "./users/index.mjs";
18
19
  export * as projects from "./projects/index.mjs";
19
20
  export * as workspaces from "./workspaces/index.mjs";
@@ -47,16 +47,16 @@ export declare class Metadata {
47
47
  * @example
48
48
  * await client.metadata.bulkUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
49
49
  * data: {
50
- * file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
50
+ * file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
51
51
  * values: [{
52
- * field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
52
+ * field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
53
53
  * value: [
54
54
  * {
55
- * "id": "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
55
+ * "id": "987e2e06-21a8-48cc-b562-df4de25f7f15",
56
56
  * "type": "user"
57
57
  * },
58
58
  * {
59
- * "id": "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
59
+ * "id": "e6036025-349e-458d-aa45-ef87cf0a7207",
60
60
  * "type": "account_user_group"
61
61
  * }
62
62
  * ]
@@ -38,16 +38,16 @@ export class Metadata {
38
38
  * @example
39
39
  * await client.metadata.bulkUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
40
40
  * data: {
41
- * file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
41
+ * file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
42
42
  * values: [{
43
- * field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
43
+ * field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
44
44
  * value: [
45
45
  * {
46
- * "id": "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
46
+ * "id": "987e2e06-21a8-48cc-b562-df4de25f7f15",
47
47
  * "type": "user"
48
48
  * },
49
49
  * {
50
- * "id": "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
50
+ * "id": "e6036025-349e-458d-aa45-ef87cf0a7207",
51
51
  * "type": "account_user_group"
52
52
  * }
53
53
  * ]
@@ -3,16 +3,16 @@ import * as Frameio from "../../../../index.mjs";
3
3
  * @example
4
4
  * {
5
5
  * data: {
6
- * file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
6
+ * file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
7
7
  * values: [{
8
- * field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
8
+ * field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
9
9
  * value: [
10
10
  * {
11
- * "id": "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
11
+ * "id": "987e2e06-21a8-48cc-b562-df4de25f7f15",
12
12
  * "type": "user"
13
13
  * },
14
14
  * {
15
- * "id": "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
15
+ * "id": "e6036025-349e-458d-aa45-ef87cf0a7207",
16
16
  * "type": "account_user_group"
17
17
  * }
18
18
  * ]
@@ -88,7 +88,7 @@ export declare class Shares {
88
88
  * access: "public",
89
89
  * description: "A descriptive summary of the share",
90
90
  * downloading_enabled: true,
91
- * expiration: "2026-01-09T22:40:58Z",
91
+ * expiration: "2026-01-12T23:28:07Z",
92
92
  * name: "Share Name",
93
93
  * passphrase: "as!dfj39sd(*"
94
94
  * }
@@ -218,7 +218,7 @@ export declare class Shares {
218
218
  * @example
219
219
  * await client.shares.addAsset("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
220
220
  * data: {
221
- * asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46"
221
+ * asset_id: "893396e8-f6da-4167-aa09-1fd22101df82"
222
222
  * }
223
223
  * })
224
224
  */
@@ -267,9 +267,9 @@ export declare class Shares {
267
267
  * data: {
268
268
  * type: "asset",
269
269
  * access: "public",
270
- * asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
270
+ * asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
271
271
  * downloading_enabled: true,
272
- * expiration: "2026-01-09T22:40:58Z",
272
+ * expiration: "2026-01-12T23:28:07Z",
273
273
  * name: "Share Name",
274
274
  * passphrase: "as!dfj39sd(*"
275
275
  * }
@@ -191,7 +191,7 @@ export class Shares {
191
191
  * access: "public",
192
192
  * description: "A descriptive summary of the share",
193
193
  * downloading_enabled: true,
194
- * expiration: "2026-01-09T22:40:58Z",
194
+ * expiration: "2026-01-12T23:28:07Z",
195
195
  * name: "Share Name",
196
196
  * passphrase: "as!dfj39sd(*"
197
197
  * }
@@ -635,7 +635,7 @@ export class Shares {
635
635
  * @example
636
636
  * await client.shares.addAsset("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
637
637
  * data: {
638
- * asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46"
638
+ * asset_id: "893396e8-f6da-4167-aa09-1fd22101df82"
639
639
  * }
640
640
  * })
641
641
  */
@@ -821,9 +821,9 @@ export class Shares {
821
821
  * data: {
822
822
  * type: "asset",
823
823
  * access: "public",
824
- * asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
824
+ * asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
825
825
  * downloading_enabled: true,
826
- * expiration: "2026-01-09T22:40:58Z",
826
+ * expiration: "2026-01-12T23:28:07Z",
827
827
  * name: "Share Name",
828
828
  * passphrase: "as!dfj39sd(*"
829
829
  * }
@@ -2,7 +2,7 @@
2
2
  * @example
3
3
  * {
4
4
  * data: {
5
- * asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46"
5
+ * asset_id: "893396e8-f6da-4167-aa09-1fd22101df82"
6
6
  * }
7
7
  * }
8
8
  */
@@ -5,9 +5,9 @@ import * as Frameio from "../../../../index.mjs";
5
5
  * data: {
6
6
  * type: "asset",
7
7
  * access: "public",
8
- * asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
8
+ * asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
9
9
  * downloading_enabled: true,
10
- * expiration: "2026-01-09T22:40:58Z",
10
+ * expiration: "2026-01-12T23:28:07Z",
11
11
  * name: "Share Name",
12
12
  * passphrase: "as!dfj39sd(*"
13
13
  * }
@@ -5,7 +5,7 @@
5
5
  * access: "public",
6
6
  * description: "A descriptive summary of the share",
7
7
  * downloading_enabled: true,
8
- * expiration: "2026-01-09T22:40:58Z",
8
+ * expiration: "2026-01-12T23:28:07Z",
9
9
  * name: "Share Name",
10
10
  * passphrase: "as!dfj39sd(*"
11
11
  * }
@@ -156,7 +156,7 @@ export declare class VersionStacks {
156
156
  * @example
157
157
  * await client.versionStacks.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
158
158
  * data: {
159
- * file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"]
159
+ * file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"]
160
160
  * }
161
161
  * })
162
162
  */
@@ -429,7 +429,7 @@ export class VersionStacks {
429
429
  * @example
430
430
  * await client.versionStacks.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
431
431
  * data: {
432
- * file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"]
432
+ * file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"]
433
433
  * }
434
434
  * })
435
435
  */
@@ -2,7 +2,7 @@
2
2
  * @example
3
3
  * {
4
4
  * data: {
5
- * file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"]
5
+ * file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"]
6
6
  * }
7
7
  * }
8
8
  */
@@ -1,9 +1,14 @@
1
1
  /** Supported include query parameter values for endpoints that return files with media links */
2
2
  export declare const VersionStacksShowRequestInclude: {
3
3
  readonly MediaLinks: "media_links";
4
+ readonly MediaLinksOriginal: "media_links.original";
5
+ readonly MediaLinksThumbnail: "media_links.thumbnail";
6
+ readonly MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality";
7
+ readonly MediaLinksVideoH264180: "media_links.video_h264_180";
8
+ readonly MediaLinksHighQuality: "media_links.high_quality";
9
+ readonly MediaLinksEfficient: "media_links.efficient";
4
10
  readonly Creator: "creator";
5
11
  readonly Project: "project";
6
- readonly ProjectOwner: "project.owner";
7
12
  readonly Metadata: "metadata";
8
13
  };
9
14
  export type VersionStacksShowRequestInclude = (typeof VersionStacksShowRequestInclude)[keyof typeof VersionStacksShowRequestInclude];
@@ -2,8 +2,13 @@
2
2
  /** Supported include query parameter values for endpoints that return files with media links */
3
3
  export const VersionStacksShowRequestInclude = {
4
4
  MediaLinks: "media_links",
5
+ MediaLinksOriginal: "media_links.original",
6
+ MediaLinksThumbnail: "media_links.thumbnail",
7
+ MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality",
8
+ MediaLinksVideoH264180: "media_links.video_h264_180",
9
+ MediaLinksHighQuality: "media_links.high_quality",
10
+ MediaLinksEfficient: "media_links.efficient",
5
11
  Creator: "creator",
6
12
  Project: "project",
7
- ProjectOwner: "project.owner",
8
13
  Metadata: "metadata",
9
14
  };
@@ -1,9 +1,14 @@
1
1
  /** Supported include query parameter values for endpoints that return files with media links */
2
2
  export declare const FileWithMediaLinksInclude: {
3
3
  readonly MediaLinks: "media_links";
4
+ readonly MediaLinksOriginal: "media_links.original";
5
+ readonly MediaLinksThumbnail: "media_links.thumbnail";
6
+ readonly MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality";
7
+ readonly MediaLinksVideoH264180: "media_links.video_h264_180";
8
+ readonly MediaLinksHighQuality: "media_links.high_quality";
9
+ readonly MediaLinksEfficient: "media_links.efficient";
4
10
  readonly Creator: "creator";
5
11
  readonly Project: "project";
6
- readonly ProjectOwner: "project.owner";
7
12
  readonly Metadata: "metadata";
8
13
  };
9
14
  export type FileWithMediaLinksInclude = (typeof FileWithMediaLinksInclude)[keyof typeof FileWithMediaLinksInclude];
@@ -2,8 +2,13 @@
2
2
  /** Supported include query parameter values for endpoints that return files with media links */
3
3
  export const FileWithMediaLinksInclude = {
4
4
  MediaLinks: "media_links",
5
+ MediaLinksOriginal: "media_links.original",
6
+ MediaLinksThumbnail: "media_links.thumbnail",
7
+ MediaLinksThumbnailHighQuality: "media_links.thumbnail_high_quality",
8
+ MediaLinksVideoH264180: "media_links.video_h264_180",
9
+ MediaLinksHighQuality: "media_links.high_quality",
10
+ MediaLinksEfficient: "media_links.efficient",
5
11
  Creator: "creator",
6
12
  Project: "project",
7
- ProjectOwner: "project.owner",
8
13
  Metadata: "metadata",
9
14
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.4";
1
+ export declare const SDK_VERSION = "1.1.5";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1.4";
1
+ export const SDK_VERSION = "1.1.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frameio",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "private": false,
5
5
  "repository": "github:Frameio/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -1671,7 +1671,7 @@ Create a new Version Stack under the parent folder. <br>Rate Limits: 10 calls pe
1671
1671
  ```typescript
1672
1672
  await client.versionStacks.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
1673
1673
  data: {
1674
- file_ids: ["56682518-5f7f-4e1a-bc27-ad251544b1a8", "d4363143-20db-484d-a19d-6cf31d085700"],
1674
+ file_ids: ["c98452b0-e895-49d2-bdbc-499440f1dacb", "ad05b4a6-788b-4ec0-b5ac-877f82172060"],
1675
1675
  },
1676
1676
  });
1677
1677
  ```
@@ -3398,7 +3398,7 @@ await client.shares.update("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6d
3398
3398
  access: "public",
3399
3399
  description: "A descriptive summary of the share",
3400
3400
  downloading_enabled: true,
3401
- expiration: "2026-01-09T22:40:58Z",
3401
+ expiration: "2026-01-12T23:28:07Z",
3402
3402
  name: "Share Name",
3403
3403
  passphrase: "as!dfj39sd(*",
3404
3404
  },
@@ -3849,7 +3849,7 @@ Add new asset share. <br>Rate Limits: 10 calls per 1.00 minute(s) per account_us
3849
3849
  ```typescript
3850
3850
  await client.shares.addAsset("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
3851
3851
  data: {
3852
- asset_id: "3e0ae4a7-282e-40ea-bb19-08a9f08bdf46",
3852
+ asset_id: "893396e8-f6da-4167-aa09-1fd22101df82",
3853
3853
  },
3854
3854
  });
3855
3855
  ```
@@ -4034,9 +4034,9 @@ await client.shares.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6d
4034
4034
  data: {
4035
4035
  type: "asset",
4036
4036
  access: "public",
4037
- asset_ids: ["a95d8cc6-7241-4fda-9d6a-2ffb9d01f0ed", "e61d86dd-d344-4657-b87d-ff58418c0ea9"],
4037
+ asset_ids: ["65796db9-475d-4673-81ed-99c37a0282c6", "f5c71ec3-0a32-466f-9c2e-8c0a0f25f1b7"],
4038
4038
  downloading_enabled: true,
4039
- expiration: "2026-01-09T22:40:58Z",
4039
+ expiration: "2026-01-12T23:28:07Z",
4040
4040
  name: "Share Name",
4041
4041
  passphrase: "as!dfj39sd(*",
4042
4042
  },
@@ -4123,17 +4123,17 @@ Update metadata values across multiple files. <br>Rate Limits: 10 calls per 1.00
4123
4123
  ```typescript
4124
4124
  await client.metadata.bulkUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
4125
4125
  data: {
4126
- file_ids: ["ff3b55e2-d5d3-48f7-bbee-974ee854325e", "0a1a8113-5e21-447f-8aa5-8a4beee6dff8"],
4126
+ file_ids: ["4fe002be-50ad-4edb-9bf4-fef882f8beea", "427354dd-8ae7-4712-a7d7-a07524649897"],
4127
4127
  values: [
4128
4128
  {
4129
- field_definition_id: "3b0e3ddc-486e-46bf-a11f-1098e5477c6f",
4129
+ field_definition_id: "557614dd-ebe8-4c40-b6f7-6cec90475994",
4130
4130
  value: [
4131
4131
  {
4132
- id: "b8ddff78-5d85-40fa-8cc5-cbce9f5e8b81",
4132
+ id: "987e2e06-21a8-48cc-b562-df4de25f7f15",
4133
4133
  type: "user",
4134
4134
  },
4135
4135
  {
4136
- id: "32a52e93-c4d7-4117-bc50-b5d7ad6fa336",
4136
+ id: "e6036025-349e-458d-aa45-ef87cf0a7207",
4137
4137
  type: "account_user_group",
4138
4138
  },
4139
4139
  ],
@@ -4720,6 +4720,7 @@ Copy file. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
4720
4720
  ```typescript
4721
4721
  await client.files.copy("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
4722
4722
  copy_metadata: true,
4723
+ copy_comments: "none",
4723
4724
  data: {
4724
4725
  parent_id: "2e426fe0-f965-4594-8b2b-b4dff1dc00ec",
4725
4726
  },