frameio 0.1.0 → 1.1.4
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/README.md +5 -1
- package/dist/cjs/Client.d.ts +2 -2
- package/dist/cjs/Client.js +3 -3
- package/dist/cjs/api/resources/accountPermissions/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/accountPermissions/client/Client.js +3 -7
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/accounts/client/Client.js +3 -7
- package/dist/cjs/api/resources/comments/client/Client.d.ts +16 -9
- package/dist/cjs/api/resources/comments/client/Client.js +40 -16
- package/dist/cjs/api/resources/comments/client/requests/CommentsShowRequest.d.ts +1 -1
- package/dist/cjs/api/resources/comments/client/requests/CreateCommentParams.d.ts +13 -3
- package/dist/cjs/api/resources/comments/client/requests/UpdateCommentParams.d.ts +11 -2
- package/dist/cjs/api/resources/comments/index.d.ts +1 -0
- package/dist/cjs/api/resources/comments/index.js +1 -0
- package/dist/cjs/api/resources/comments/types/CommentsShowRequestInclude.d.ts +6 -0
- package/dist/cjs/api/resources/comments/types/CommentsShowRequestInclude.js +9 -0
- package/dist/cjs/api/resources/comments/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/comments/types/index.js +17 -0
- package/dist/cjs/api/resources/files/client/Client.d.ts +16 -15
- package/dist/cjs/api/resources/files/client/Client.js +33 -20
- package/dist/cjs/api/resources/files/client/requests/FileCopyParams.d.ts +3 -0
- package/dist/cjs/api/resources/folders/client/Client.d.ts +14 -12
- package/dist/cjs/api/resources/folders/client/Client.js +31 -17
- package/dist/cjs/api/resources/folders/client/requests/FolderCopyParams.d.ts +3 -0
- package/dist/cjs/api/resources/index.d.ts +4 -2
- package/dist/cjs/api/resources/index.js +5 -3
- package/dist/cjs/api/resources/metadata/client/Client.d.ts +17 -14
- package/dist/cjs/api/resources/metadata/client/Client.js +16 -17
- package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +13 -10
- package/dist/cjs/api/resources/metadataFields/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/metadataFields/client/Client.js +6 -10
- package/dist/cjs/api/resources/projectPermissions/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/projectPermissions/client/Client.js +5 -9
- package/dist/cjs/api/resources/projects/client/Client.d.ts +15 -12
- package/dist/cjs/api/resources/projects/client/Client.js +13 -14
- package/dist/cjs/api/resources/projects/client/requests/ProjectParams.d.ts +20 -0
- package/dist/cjs/api/resources/projects/client/requests/ProjectUpdateParams.d.ts +31 -0
- package/dist/cjs/api/resources/projects/client/requests/ProjectUpdateParams.js +15 -0
- package/dist/cjs/api/resources/projects/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shares/client/Client.d.ts +22 -20
- package/dist/cjs/api/resources/shares/client/Client.js +21 -23
- package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
- package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +3 -2
- package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +3 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/users/client/Client.js +3 -7
- package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +34 -10
- package/dist/cjs/api/resources/versionStacks/client/Client.js +115 -15
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCopyParams.d.ts +3 -0
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +2 -2
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStacksShowRequest.d.ts +11 -0
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStacksShowRequest.js +3 -0
- package/dist/cjs/api/resources/versionStacks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/versionStacks/index.d.ts +1 -0
- package/dist/cjs/api/resources/versionStacks/index.js +1 -0
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +9 -0
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +12 -0
- package/dist/cjs/api/resources/versionStacks/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/versionStacks/types/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/webhooks/client/Client.js +6 -10
- package/dist/cjs/api/resources/workspacePermissions/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/workspacePermissions/client/Client.js +5 -9
- package/dist/cjs/api/resources/workspaces/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/workspaces/client/Client.js +7 -11
- package/dist/cjs/api/types/Account.d.ts +2 -0
- package/dist/cjs/api/types/AssetCommonWithIncludes.d.ts +9 -0
- package/dist/cjs/api/types/AssetCommonWithIncludes.js +9 -0
- package/dist/cjs/api/types/AssetShareParams.d.ts +1 -0
- package/dist/cjs/api/types/Comment.d.ts +6 -2
- package/dist/cjs/api/types/DateDefinition.d.ts +16 -0
- package/dist/cjs/api/types/DateDefinition.js +13 -0
- package/dist/cjs/api/types/EmptyJson.d.ts +4 -0
- package/dist/cjs/api/types/EmptyJson.js +3 -0
- package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +0 -5
- package/dist/cjs/api/types/FileWithMediaLinksInclude.js +0 -5
- package/dist/cjs/api/types/FolderWithIncludes.d.ts +9 -0
- package/dist/cjs/api/types/FolderWithIncludes.js +9 -0
- package/dist/cjs/api/types/LongTextDefinition.d.ts +16 -0
- package/dist/cjs/api/types/LongTextDefinition.js +17 -0
- package/dist/cjs/api/types/MediaLinksCollection.d.ts +1 -0
- package/dist/cjs/api/types/MultiUserValue.d.ts +1 -1
- package/dist/cjs/api/types/Project.d.ts +12 -0
- package/dist/cjs/api/types/Project.js +9 -0
- package/dist/cjs/api/types/SelectMultiDefinition.d.ts +16 -0
- package/dist/cjs/api/types/SelectMultiDefinition.js +17 -0
- package/dist/cjs/api/types/TextDefinition.d.ts +16 -0
- package/dist/cjs/api/types/TextDefinition.js +17 -0
- package/dist/cjs/api/types/TimeStamp.d.ts +7 -0
- package/dist/cjs/api/types/TimeStamp.js +3 -0
- package/dist/cjs/api/types/UserMultiDefinition.d.ts +16 -0
- package/dist/cjs/api/types/UserMultiDefinition.js +13 -0
- package/dist/cjs/api/types/UserSingleDefinition.d.ts +16 -0
- package/dist/cjs/api/types/UserSingleDefinition.js +13 -0
- package/dist/cjs/api/types/VersionStackWithIncludes.d.ts +9 -0
- package/dist/cjs/api/types/VersionStackWithIncludes.js +9 -0
- package/dist/cjs/api/types/index.d.ts +3 -2
- package/dist/cjs/api/types/index.js +3 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +2 -2
- package/dist/esm/Client.mjs +3 -3
- package/dist/esm/api/resources/accountPermissions/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/accountPermissions/client/Client.mjs +3 -7
- package/dist/esm/api/resources/accounts/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/accounts/client/Client.mjs +3 -7
- package/dist/esm/api/resources/comments/client/Client.d.mts +16 -9
- package/dist/esm/api/resources/comments/client/Client.mjs +40 -16
- package/dist/esm/api/resources/comments/client/requests/CommentsShowRequest.d.mts +1 -1
- package/dist/esm/api/resources/comments/client/requests/CreateCommentParams.d.mts +13 -3
- package/dist/esm/api/resources/comments/client/requests/UpdateCommentParams.d.mts +11 -2
- package/dist/esm/api/resources/comments/index.d.mts +1 -0
- package/dist/esm/api/resources/comments/index.mjs +1 -0
- package/dist/esm/api/resources/comments/types/CommentsShowRequestInclude.d.mts +6 -0
- package/dist/esm/api/resources/comments/types/CommentsShowRequestInclude.mjs +6 -0
- package/dist/esm/api/resources/comments/types/index.d.mts +1 -0
- package/dist/esm/api/resources/comments/types/index.mjs +1 -0
- package/dist/esm/api/resources/files/client/Client.d.mts +16 -15
- package/dist/esm/api/resources/files/client/Client.mjs +33 -20
- package/dist/esm/api/resources/files/client/requests/FileCopyParams.d.mts +3 -0
- package/dist/esm/api/resources/folders/client/Client.d.mts +14 -12
- package/dist/esm/api/resources/folders/client/Client.mjs +31 -17
- package/dist/esm/api/resources/folders/client/requests/FolderCopyParams.d.mts +3 -0
- package/dist/esm/api/resources/index.d.mts +4 -2
- package/dist/esm/api/resources/index.mjs +4 -2
- package/dist/esm/api/resources/metadata/client/Client.d.mts +17 -14
- package/dist/esm/api/resources/metadata/client/Client.mjs +16 -17
- package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +13 -10
- package/dist/esm/api/resources/metadataFields/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/metadataFields/client/Client.mjs +6 -10
- package/dist/esm/api/resources/projectPermissions/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/projectPermissions/client/Client.mjs +5 -9
- package/dist/esm/api/resources/projects/client/Client.d.mts +15 -12
- package/dist/esm/api/resources/projects/client/Client.mjs +13 -14
- package/dist/esm/api/resources/projects/client/requests/ProjectParams.d.mts +20 -0
- package/dist/esm/api/resources/projects/client/requests/ProjectUpdateParams.d.mts +31 -0
- package/dist/esm/api/resources/projects/client/requests/ProjectUpdateParams.mjs +12 -0
- package/dist/esm/api/resources/projects/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shares/client/Client.d.mts +22 -20
- package/dist/esm/api/resources/shares/client/Client.mjs +21 -23
- package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
- package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +3 -2
- package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +3 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/users/client/Client.mjs +3 -7
- package/dist/esm/api/resources/versionStacks/client/Client.d.mts +34 -10
- package/dist/esm/api/resources/versionStacks/client/Client.mjs +115 -15
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCopyParams.d.mts +3 -0
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +2 -2
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStacksShowRequest.d.mts +11 -0
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStacksShowRequest.mjs +2 -0
- package/dist/esm/api/resources/versionStacks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/versionStacks/index.d.mts +1 -0
- package/dist/esm/api/resources/versionStacks/index.mjs +1 -0
- package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +9 -0
- package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +9 -0
- package/dist/esm/api/resources/versionStacks/types/index.d.mts +1 -0
- package/dist/esm/api/resources/versionStacks/types/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/webhooks/client/Client.mjs +6 -10
- package/dist/esm/api/resources/workspacePermissions/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +5 -9
- package/dist/esm/api/resources/workspaces/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/workspaces/client/Client.mjs +7 -11
- package/dist/esm/api/types/Account.d.mts +2 -0
- package/dist/esm/api/types/AssetCommonWithIncludes.d.mts +9 -0
- package/dist/esm/api/types/AssetCommonWithIncludes.mjs +8 -1
- package/dist/esm/api/types/AssetShareParams.d.mts +1 -0
- package/dist/esm/api/types/Comment.d.mts +6 -2
- package/dist/esm/api/types/DateDefinition.d.mts +16 -0
- package/dist/esm/api/types/DateDefinition.mjs +13 -0
- package/dist/esm/api/types/EmptyJson.d.mts +4 -0
- package/dist/esm/api/types/EmptyJson.mjs +2 -0
- package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +0 -5
- package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +0 -5
- package/dist/esm/api/types/FolderWithIncludes.d.mts +9 -0
- package/dist/esm/api/types/FolderWithIncludes.mjs +8 -1
- package/dist/esm/api/types/LongTextDefinition.d.mts +16 -0
- package/dist/esm/api/types/LongTextDefinition.mjs +16 -1
- package/dist/esm/api/types/MediaLinksCollection.d.mts +1 -0
- package/dist/esm/api/types/MultiUserValue.d.mts +1 -1
- package/dist/esm/api/types/Project.d.mts +12 -0
- package/dist/esm/api/types/Project.mjs +8 -1
- package/dist/esm/api/types/SelectMultiDefinition.d.mts +16 -0
- package/dist/esm/api/types/SelectMultiDefinition.mjs +16 -1
- package/dist/esm/api/types/TextDefinition.d.mts +16 -0
- package/dist/esm/api/types/TextDefinition.mjs +16 -1
- package/dist/esm/api/types/TimeStamp.d.mts +7 -0
- package/dist/esm/api/types/TimeStamp.mjs +2 -0
- package/dist/esm/api/types/UserMultiDefinition.d.mts +16 -0
- package/dist/esm/api/types/UserMultiDefinition.mjs +13 -0
- package/dist/esm/api/types/UserSingleDefinition.d.mts +16 -0
- package/dist/esm/api/types/UserSingleDefinition.mjs +13 -0
- package/dist/esm/api/types/VersionStackWithIncludes.d.mts +9 -0
- package/dist/esm/api/types/VersionStackWithIncludes.mjs +8 -1
- package/dist/esm/api/types/index.d.mts +3 -2
- package/dist/esm/api/types/index.mjs +3 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +394 -120
- package/dist/cjs/api/types/ProjectParams.d.ts +0 -12
- package/dist/esm/api/types/ProjectParams.d.mts +0 -12
- /package/dist/cjs/api/{types → resources/projects/client/requests}/ProjectParams.js +0 -0
- /package/dist/esm/api/{types → resources/projects/client/requests}/ProjectParams.mjs +0 -0
|
@@ -14,8 +14,17 @@ export interface AssetCommonWithIncludes {
|
|
|
14
14
|
project?: Frameio.ProjectWithIncludes;
|
|
15
15
|
/** Project ID */
|
|
16
16
|
project_id: string;
|
|
17
|
+
type: AssetCommonWithIncludes.Type;
|
|
17
18
|
/** Update timestamp */
|
|
18
19
|
updated_at: string;
|
|
19
20
|
/** URL to view the asset in the Frame.io web application */
|
|
20
21
|
view_url: string;
|
|
21
22
|
}
|
|
23
|
+
export declare namespace AssetCommonWithIncludes {
|
|
24
|
+
const Type: {
|
|
25
|
+
readonly File: "file";
|
|
26
|
+
readonly Folder: "folder";
|
|
27
|
+
readonly VersionStack: "version_stack";
|
|
28
|
+
};
|
|
29
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
30
|
+
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var AssetCommonWithIncludes;
|
|
3
|
+
(function (AssetCommonWithIncludes) {
|
|
4
|
+
AssetCommonWithIncludes.Type = {
|
|
5
|
+
File: "file",
|
|
6
|
+
Folder: "folder",
|
|
7
|
+
VersionStack: "version_stack",
|
|
8
|
+
};
|
|
9
|
+
})(AssetCommonWithIncludes || (AssetCommonWithIncludes = {}));
|
|
@@ -4,6 +4,7 @@ export interface AssetShareParams {
|
|
|
4
4
|
asset_ids?: string[];
|
|
5
5
|
/** Share description - NOTE: Requires feature custom_branded_shares */
|
|
6
6
|
description?: string;
|
|
7
|
+
downloading_enabled?: boolean;
|
|
7
8
|
/** Expiration timestamp */
|
|
8
9
|
expiration?: string;
|
|
9
10
|
/** Share Name (must include at least one non-whitespace character and no line breaks) */
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import * as Frameio from "../index.mjs";
|
|
1
2
|
export interface Comment {
|
|
2
3
|
annotation?: string;
|
|
4
|
+
/** Completion timestamp */
|
|
5
|
+
completed_at?: string;
|
|
6
|
+
/** ID of user who marked the comment as completed */
|
|
7
|
+
completer_id?: string;
|
|
3
8
|
/** Creation timestamp */
|
|
4
9
|
created_at: string;
|
|
5
10
|
/** File ID */
|
|
@@ -12,8 +17,7 @@ export interface Comment {
|
|
|
12
17
|
text: string;
|
|
13
18
|
/** Text edited timestamp */
|
|
14
19
|
text_edited_at?: string;
|
|
15
|
-
|
|
16
|
-
timestamp?: number;
|
|
20
|
+
timestamp: Frameio.TimeStamp;
|
|
17
21
|
/** Update timestamp */
|
|
18
22
|
updated_at: string;
|
|
19
23
|
}
|
|
@@ -4,6 +4,8 @@ export interface DateDefinition {
|
|
|
4
4
|
/** Field definition creator ID */
|
|
5
5
|
creator_id: string;
|
|
6
6
|
field_configuration: DateDefinition.FieldConfiguration;
|
|
7
|
+
/** Field type */
|
|
8
|
+
field_type: DateDefinition.FieldType;
|
|
7
9
|
/** Field definition ID */
|
|
8
10
|
id: string;
|
|
9
11
|
/** Field definition mutability. System fields cannot be updated. */
|
|
@@ -36,4 +38,18 @@ export declare namespace DateDefinition {
|
|
|
36
38
|
};
|
|
37
39
|
type TimeFormat = (typeof TimeFormat)[keyof typeof TimeFormat];
|
|
38
40
|
}
|
|
41
|
+
/** Field type */
|
|
42
|
+
const FieldType: {
|
|
43
|
+
readonly Text: "text";
|
|
44
|
+
readonly LongText: "long_text";
|
|
45
|
+
readonly Select: "select";
|
|
46
|
+
readonly SelectMulti: "select_multi";
|
|
47
|
+
readonly Rating: "rating";
|
|
48
|
+
readonly Number: "number";
|
|
49
|
+
readonly Toggle: "toggle";
|
|
50
|
+
readonly UserSingle: "user_single";
|
|
51
|
+
readonly UserMulti: "user_multi";
|
|
52
|
+
readonly Date: "date";
|
|
53
|
+
};
|
|
54
|
+
type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
39
55
|
}
|
|
@@ -15,4 +15,17 @@ export var DateDefinition;
|
|
|
15
15
|
TwentyFourHour: "twenty_four_hour",
|
|
16
16
|
};
|
|
17
17
|
})(FieldConfiguration = DateDefinition.FieldConfiguration || (DateDefinition.FieldConfiguration = {}));
|
|
18
|
+
/** Field type */
|
|
19
|
+
DateDefinition.FieldType = {
|
|
20
|
+
Text: "text",
|
|
21
|
+
LongText: "long_text",
|
|
22
|
+
Select: "select",
|
|
23
|
+
SelectMulti: "select_multi",
|
|
24
|
+
Rating: "rating",
|
|
25
|
+
Number: "number",
|
|
26
|
+
Toggle: "toggle",
|
|
27
|
+
UserSingle: "user_single",
|
|
28
|
+
UserMulti: "user_multi",
|
|
29
|
+
Date: "date",
|
|
30
|
+
};
|
|
18
31
|
})(DateDefinition || (DateDefinition = {}));
|
|
@@ -1,11 +1,6 @@
|
|
|
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 MediaLinksVideoH264180: "media_links.video_h264_180";
|
|
7
|
-
readonly MediaLinksHighQuality: "media_links.high_quality";
|
|
8
|
-
readonly MediaLinksEfficient: "media_links.efficient";
|
|
9
4
|
readonly Creator: "creator";
|
|
10
5
|
readonly Project: "project";
|
|
11
6
|
readonly ProjectOwner: "project.owner";
|
|
@@ -2,11 +2,6 @@
|
|
|
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
|
-
MediaLinksVideoH264180: "media_links.video_h264_180",
|
|
8
|
-
MediaLinksHighQuality: "media_links.high_quality",
|
|
9
|
-
MediaLinksEfficient: "media_links.efficient",
|
|
10
5
|
Creator: "creator",
|
|
11
6
|
Project: "project",
|
|
12
7
|
ProjectOwner: "project.owner",
|
|
@@ -16,8 +16,17 @@ export interface FolderWithIncludes {
|
|
|
16
16
|
project?: Frameio.ProjectWithIncludes;
|
|
17
17
|
/** Project ID */
|
|
18
18
|
project_id: string;
|
|
19
|
+
type: FolderWithIncludes.Type;
|
|
19
20
|
/** Update timestamp */
|
|
20
21
|
updated_at: string;
|
|
21
22
|
/** URL to view the asset in the Frame.io web application */
|
|
22
23
|
view_url: string;
|
|
23
24
|
}
|
|
25
|
+
export declare namespace FolderWithIncludes {
|
|
26
|
+
const Type: {
|
|
27
|
+
readonly File: "file";
|
|
28
|
+
readonly Folder: "folder";
|
|
29
|
+
readonly VersionStack: "version_stack";
|
|
30
|
+
};
|
|
31
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
32
|
+
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var FolderWithIncludes;
|
|
3
|
+
(function (FolderWithIncludes) {
|
|
4
|
+
FolderWithIncludes.Type = {
|
|
5
|
+
File: "file",
|
|
6
|
+
Folder: "folder",
|
|
7
|
+
VersionStack: "version_stack",
|
|
8
|
+
};
|
|
9
|
+
})(FolderWithIncludes || (FolderWithIncludes = {}));
|
|
@@ -4,6 +4,8 @@ export interface LongTextDefinition {
|
|
|
4
4
|
/** Field definition creator ID */
|
|
5
5
|
creator_id: string;
|
|
6
6
|
field_configuration: LongTextDefinition.FieldConfiguration;
|
|
7
|
+
/** Field type */
|
|
8
|
+
field_type: LongTextDefinition.FieldType;
|
|
7
9
|
/** Field definition ID */
|
|
8
10
|
id: string;
|
|
9
11
|
/** Field definition mutability. System fields cannot be updated. */
|
|
@@ -16,4 +18,18 @@ export interface LongTextDefinition {
|
|
|
16
18
|
export declare namespace LongTextDefinition {
|
|
17
19
|
interface FieldConfiguration {
|
|
18
20
|
}
|
|
21
|
+
/** Field type */
|
|
22
|
+
const FieldType: {
|
|
23
|
+
readonly Text: "text";
|
|
24
|
+
readonly LongText: "long_text";
|
|
25
|
+
readonly Select: "select";
|
|
26
|
+
readonly SelectMulti: "select_multi";
|
|
27
|
+
readonly Rating: "rating";
|
|
28
|
+
readonly Number: "number";
|
|
29
|
+
readonly Toggle: "toggle";
|
|
30
|
+
readonly UserSingle: "user_single";
|
|
31
|
+
readonly UserMulti: "user_multi";
|
|
32
|
+
readonly Date: "date";
|
|
33
|
+
};
|
|
34
|
+
type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
19
35
|
}
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var LongTextDefinition;
|
|
3
|
+
(function (LongTextDefinition) {
|
|
4
|
+
/** Field type */
|
|
5
|
+
LongTextDefinition.FieldType = {
|
|
6
|
+
Text: "text",
|
|
7
|
+
LongText: "long_text",
|
|
8
|
+
Select: "select",
|
|
9
|
+
SelectMulti: "select_multi",
|
|
10
|
+
Rating: "rating",
|
|
11
|
+
Number: "number",
|
|
12
|
+
Toggle: "toggle",
|
|
13
|
+
UserSingle: "user_single",
|
|
14
|
+
UserMulti: "user_multi",
|
|
15
|
+
Date: "date",
|
|
16
|
+
};
|
|
17
|
+
})(LongTextDefinition || (LongTextDefinition = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Frameio from "../index.mjs";
|
|
2
2
|
export interface MultiUserValue extends Frameio.FieldValueCommon {
|
|
3
|
-
/** Populated with
|
|
3
|
+
/** Populated with custom member options only if `member_options_type` is set to 'custom'. */
|
|
4
4
|
custom_members?: Frameio.UserValue[];
|
|
5
5
|
member_options_type?: MultiUserValue.MemberOptionsType;
|
|
6
6
|
value?: Frameio.UserValue[];
|
|
@@ -8,8 +8,12 @@ export interface Project {
|
|
|
8
8
|
id: string;
|
|
9
9
|
/** Project Name */
|
|
10
10
|
name: string;
|
|
11
|
+
/** Whether the project is restricted or not */
|
|
12
|
+
restricted?: boolean;
|
|
11
13
|
/** Root Folder ID */
|
|
12
14
|
root_folder_id: string;
|
|
15
|
+
/** Project Status */
|
|
16
|
+
status: Project.Status;
|
|
13
17
|
/** Storage Usage */
|
|
14
18
|
storage: number;
|
|
15
19
|
/** Updated Timestamp */
|
|
@@ -19,3 +23,11 @@ export interface Project {
|
|
|
19
23
|
/** Workspace ID */
|
|
20
24
|
workspace_id: string;
|
|
21
25
|
}
|
|
26
|
+
export declare namespace Project {
|
|
27
|
+
/** Project Status */
|
|
28
|
+
const Status: {
|
|
29
|
+
readonly Active: "active";
|
|
30
|
+
readonly Inactive: "inactive";
|
|
31
|
+
};
|
|
32
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
33
|
+
}
|
|
@@ -4,6 +4,8 @@ export interface SelectMultiDefinition {
|
|
|
4
4
|
/** Field definition creator ID */
|
|
5
5
|
creator_id: string;
|
|
6
6
|
field_configuration: SelectMultiDefinition.FieldConfiguration;
|
|
7
|
+
/** Field type */
|
|
8
|
+
field_type: SelectMultiDefinition.FieldType;
|
|
7
9
|
/** Field definition ID */
|
|
8
10
|
id: string;
|
|
9
11
|
/** Field definition mutability. System fields cannot be updated. */
|
|
@@ -31,4 +33,18 @@ export declare namespace SelectMultiDefinition {
|
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
}
|
|
36
|
+
/** Field type */
|
|
37
|
+
const FieldType: {
|
|
38
|
+
readonly Text: "text";
|
|
39
|
+
readonly LongText: "long_text";
|
|
40
|
+
readonly Select: "select";
|
|
41
|
+
readonly SelectMulti: "select_multi";
|
|
42
|
+
readonly Rating: "rating";
|
|
43
|
+
readonly Number: "number";
|
|
44
|
+
readonly Toggle: "toggle";
|
|
45
|
+
readonly UserSingle: "user_single";
|
|
46
|
+
readonly UserMulti: "user_multi";
|
|
47
|
+
readonly Date: "date";
|
|
48
|
+
};
|
|
49
|
+
type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
34
50
|
}
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var SelectMultiDefinition;
|
|
3
|
+
(function (SelectMultiDefinition) {
|
|
4
|
+
/** Field type */
|
|
5
|
+
SelectMultiDefinition.FieldType = {
|
|
6
|
+
Text: "text",
|
|
7
|
+
LongText: "long_text",
|
|
8
|
+
Select: "select",
|
|
9
|
+
SelectMulti: "select_multi",
|
|
10
|
+
Rating: "rating",
|
|
11
|
+
Number: "number",
|
|
12
|
+
Toggle: "toggle",
|
|
13
|
+
UserSingle: "user_single",
|
|
14
|
+
UserMulti: "user_multi",
|
|
15
|
+
Date: "date",
|
|
16
|
+
};
|
|
17
|
+
})(SelectMultiDefinition || (SelectMultiDefinition = {}));
|
|
@@ -4,6 +4,8 @@ export interface TextDefinition {
|
|
|
4
4
|
/** Field definition creator ID */
|
|
5
5
|
creator_id: string;
|
|
6
6
|
field_configuration: TextDefinition.FieldConfiguration;
|
|
7
|
+
/** Field type */
|
|
8
|
+
field_type: TextDefinition.FieldType;
|
|
7
9
|
/** Field definition ID */
|
|
8
10
|
id: string;
|
|
9
11
|
/** Field definition mutability. System fields cannot be updated. */
|
|
@@ -16,4 +18,18 @@ export interface TextDefinition {
|
|
|
16
18
|
export declare namespace TextDefinition {
|
|
17
19
|
interface FieldConfiguration {
|
|
18
20
|
}
|
|
21
|
+
/** Field type */
|
|
22
|
+
const FieldType: {
|
|
23
|
+
readonly Text: "text";
|
|
24
|
+
readonly LongText: "long_text";
|
|
25
|
+
readonly Select: "select";
|
|
26
|
+
readonly SelectMulti: "select_multi";
|
|
27
|
+
readonly Rating: "rating";
|
|
28
|
+
readonly Number: "number";
|
|
29
|
+
readonly Toggle: "toggle";
|
|
30
|
+
readonly UserSingle: "user_single";
|
|
31
|
+
readonly UserMulti: "user_multi";
|
|
32
|
+
readonly Date: "date";
|
|
33
|
+
};
|
|
34
|
+
type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
19
35
|
}
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var TextDefinition;
|
|
3
|
+
(function (TextDefinition) {
|
|
4
|
+
/** Field type */
|
|
5
|
+
TextDefinition.FieldType = {
|
|
6
|
+
Text: "text",
|
|
7
|
+
LongText: "long_text",
|
|
8
|
+
Select: "select",
|
|
9
|
+
SelectMulti: "select_multi",
|
|
10
|
+
Rating: "rating",
|
|
11
|
+
Number: "number",
|
|
12
|
+
Toggle: "toggle",
|
|
13
|
+
UserSingle: "user_single",
|
|
14
|
+
UserMulti: "user_multi",
|
|
15
|
+
Date: "date",
|
|
16
|
+
};
|
|
17
|
+
})(TextDefinition || (TextDefinition = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type TimeStamp =
|
|
2
|
+
/**
|
|
3
|
+
* Comment timecode in media. Only allowed when file type is 'audio', 'stream', or 'video'. */
|
|
4
|
+
string | undefined
|
|
5
|
+
/**
|
|
6
|
+
* Comment frame in media. Only allowed when file type is 'audio', 'stream', or 'video'. */
|
|
7
|
+
| number | undefined;
|
|
@@ -4,6 +4,8 @@ export interface UserMultiDefinition {
|
|
|
4
4
|
/** Field definition creator ID */
|
|
5
5
|
creator_id: string;
|
|
6
6
|
field_configuration: UserMultiDefinition.FieldConfiguration;
|
|
7
|
+
/** Field type */
|
|
8
|
+
field_type: UserMultiDefinition.FieldType;
|
|
7
9
|
/** Field definition ID */
|
|
8
10
|
id: string;
|
|
9
11
|
/** Field definition mutability. System fields cannot be updated. */
|
|
@@ -42,4 +44,18 @@ export declare namespace UserMultiDefinition {
|
|
|
42
44
|
};
|
|
43
45
|
type MemberOptionsType = (typeof MemberOptionsType)[keyof typeof MemberOptionsType];
|
|
44
46
|
}
|
|
47
|
+
/** Field type */
|
|
48
|
+
const FieldType: {
|
|
49
|
+
readonly Text: "text";
|
|
50
|
+
readonly LongText: "long_text";
|
|
51
|
+
readonly Select: "select";
|
|
52
|
+
readonly SelectMulti: "select_multi";
|
|
53
|
+
readonly Rating: "rating";
|
|
54
|
+
readonly Number: "number";
|
|
55
|
+
readonly Toggle: "toggle";
|
|
56
|
+
readonly UserSingle: "user_single";
|
|
57
|
+
readonly UserMulti: "user_multi";
|
|
58
|
+
readonly Date: "date";
|
|
59
|
+
};
|
|
60
|
+
type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
45
61
|
}
|
|
@@ -18,4 +18,17 @@ export var UserMultiDefinition;
|
|
|
18
18
|
Custom: "custom",
|
|
19
19
|
};
|
|
20
20
|
})(FieldConfiguration = UserMultiDefinition.FieldConfiguration || (UserMultiDefinition.FieldConfiguration = {}));
|
|
21
|
+
/** Field type */
|
|
22
|
+
UserMultiDefinition.FieldType = {
|
|
23
|
+
Text: "text",
|
|
24
|
+
LongText: "long_text",
|
|
25
|
+
Select: "select",
|
|
26
|
+
SelectMulti: "select_multi",
|
|
27
|
+
Rating: "rating",
|
|
28
|
+
Number: "number",
|
|
29
|
+
Toggle: "toggle",
|
|
30
|
+
UserSingle: "user_single",
|
|
31
|
+
UserMulti: "user_multi",
|
|
32
|
+
Date: "date",
|
|
33
|
+
};
|
|
21
34
|
})(UserMultiDefinition || (UserMultiDefinition = {}));
|
|
@@ -4,6 +4,8 @@ export interface UserSingleDefinition {
|
|
|
4
4
|
/** Field definition creator ID */
|
|
5
5
|
creator_id: string;
|
|
6
6
|
field_configuration: UserSingleDefinition.FieldConfiguration;
|
|
7
|
+
/** Field type */
|
|
8
|
+
field_type: UserSingleDefinition.FieldType;
|
|
7
9
|
/** Field definition ID */
|
|
8
10
|
id: string;
|
|
9
11
|
/** Field definition mutability. System fields cannot be updated. */
|
|
@@ -42,4 +44,18 @@ export declare namespace UserSingleDefinition {
|
|
|
42
44
|
};
|
|
43
45
|
type MemberOptionsType = (typeof MemberOptionsType)[keyof typeof MemberOptionsType];
|
|
44
46
|
}
|
|
47
|
+
/** Field type */
|
|
48
|
+
const FieldType: {
|
|
49
|
+
readonly Text: "text";
|
|
50
|
+
readonly LongText: "long_text";
|
|
51
|
+
readonly Select: "select";
|
|
52
|
+
readonly SelectMulti: "select_multi";
|
|
53
|
+
readonly Rating: "rating";
|
|
54
|
+
readonly Number: "number";
|
|
55
|
+
readonly Toggle: "toggle";
|
|
56
|
+
readonly UserSingle: "user_single";
|
|
57
|
+
readonly UserMulti: "user_multi";
|
|
58
|
+
readonly Date: "date";
|
|
59
|
+
};
|
|
60
|
+
type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
45
61
|
}
|
|
@@ -18,4 +18,17 @@ export var UserSingleDefinition;
|
|
|
18
18
|
Custom: "custom",
|
|
19
19
|
};
|
|
20
20
|
})(FieldConfiguration = UserSingleDefinition.FieldConfiguration || (UserSingleDefinition.FieldConfiguration = {}));
|
|
21
|
+
/** Field type */
|
|
22
|
+
UserSingleDefinition.FieldType = {
|
|
23
|
+
Text: "text",
|
|
24
|
+
LongText: "long_text",
|
|
25
|
+
Select: "select",
|
|
26
|
+
SelectMulti: "select_multi",
|
|
27
|
+
Rating: "rating",
|
|
28
|
+
Number: "number",
|
|
29
|
+
Toggle: "toggle",
|
|
30
|
+
UserSingle: "user_single",
|
|
31
|
+
UserMulti: "user_multi",
|
|
32
|
+
Date: "date",
|
|
33
|
+
};
|
|
21
34
|
})(UserSingleDefinition || (UserSingleDefinition = {}));
|
|
@@ -15,8 +15,17 @@ export interface VersionStackWithIncludes {
|
|
|
15
15
|
project?: Frameio.ProjectWithIncludes;
|
|
16
16
|
/** Project ID */
|
|
17
17
|
project_id: string;
|
|
18
|
+
type: VersionStackWithIncludes.Type;
|
|
18
19
|
/** Update timestamp */
|
|
19
20
|
updated_at: string;
|
|
20
21
|
/** URL to view the asset in the Frame.io web application */
|
|
21
22
|
view_url: string;
|
|
22
23
|
}
|
|
24
|
+
export declare namespace VersionStackWithIncludes {
|
|
25
|
+
const Type: {
|
|
26
|
+
readonly File: "file";
|
|
27
|
+
readonly Folder: "folder";
|
|
28
|
+
readonly VersionStack: "version_stack";
|
|
29
|
+
};
|
|
30
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
31
|
+
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var VersionStackWithIncludes;
|
|
3
|
+
(function (VersionStackWithIncludes) {
|
|
4
|
+
VersionStackWithIncludes.Type = {
|
|
5
|
+
File: "file",
|
|
6
|
+
Folder: "folder",
|
|
7
|
+
VersionStack: "version_stack",
|
|
8
|
+
};
|
|
9
|
+
})(VersionStackWithIncludes || (VersionStackWithIncludes = {}));
|
|
@@ -6,7 +6,6 @@ export * from "./Folder.mjs";
|
|
|
6
6
|
export * from "./WebhookWithIncludesResponse.mjs";
|
|
7
7
|
export * from "./WebhookResponse.mjs";
|
|
8
8
|
export * from "./Webhook.mjs";
|
|
9
|
-
export * from "./ProjectParams.mjs";
|
|
10
9
|
export * from "./UpdateUserSingleDefinitionParams.mjs";
|
|
11
10
|
export * from "./ChildrenType.mjs";
|
|
12
11
|
export * from "./NumberDefinitionParams.mjs";
|
|
@@ -15,7 +14,6 @@ export * from "./DateDefinitionWithIncludes.mjs";
|
|
|
15
14
|
export * from "./DateDefinition.mjs";
|
|
16
15
|
export * from "./UserValue.mjs";
|
|
17
16
|
export * from "./FolderWithIncludes.mjs";
|
|
18
|
-
export * from "./AssetCommonWithIncludes.mjs";
|
|
19
17
|
export * from "./UserSingleDefinitionParams.mjs";
|
|
20
18
|
export * from "./UserRolesResponse.mjs";
|
|
21
19
|
export * from "./CommentInclude.mjs";
|
|
@@ -38,6 +36,7 @@ export * from "./CommentWithIncludesResponse.mjs";
|
|
|
38
36
|
export * from "./FileRemoteUploadResponse.mjs";
|
|
39
37
|
export * from "./RatingDefinition.mjs";
|
|
40
38
|
export * from "./FolderWithIncludesResponse.mjs";
|
|
39
|
+
export * from "./EmptyJson.mjs";
|
|
41
40
|
export * from "./AccountUserRolesResponse.mjs";
|
|
42
41
|
export * from "./ProjectWithIncludes.mjs";
|
|
43
42
|
export * from "./SelectDefinitionWithIncludes.mjs";
|
|
@@ -88,9 +87,11 @@ export * from "./OriginalMediaLink.mjs";
|
|
|
88
87
|
export * from "./AssetCommon.mjs";
|
|
89
88
|
export * from "./WebhooksWithIncludesResponse.mjs";
|
|
90
89
|
export * from "./DateValue.mjs";
|
|
90
|
+
export * from "./TimeStamp.mjs";
|
|
91
91
|
export * from "./CommentsWithIncludesResponse.mjs";
|
|
92
92
|
export * from "./NumberValue.mjs";
|
|
93
93
|
export * from "./FileWithIncludesResponse.mjs";
|
|
94
|
+
export * from "./AssetCommonWithIncludes.mjs";
|
|
94
95
|
export * from "./RemoveAssetResponse.mjs";
|
|
95
96
|
export * from "./AccountUserRole.mjs";
|
|
96
97
|
export * from "./UploadUrl.mjs";
|
|
@@ -6,7 +6,6 @@ export * from "./Folder.mjs";
|
|
|
6
6
|
export * from "./WebhookWithIncludesResponse.mjs";
|
|
7
7
|
export * from "./WebhookResponse.mjs";
|
|
8
8
|
export * from "./Webhook.mjs";
|
|
9
|
-
export * from "./ProjectParams.mjs";
|
|
10
9
|
export * from "./UpdateUserSingleDefinitionParams.mjs";
|
|
11
10
|
export * from "./ChildrenType.mjs";
|
|
12
11
|
export * from "./NumberDefinitionParams.mjs";
|
|
@@ -15,7 +14,6 @@ export * from "./DateDefinitionWithIncludes.mjs";
|
|
|
15
14
|
export * from "./DateDefinition.mjs";
|
|
16
15
|
export * from "./UserValue.mjs";
|
|
17
16
|
export * from "./FolderWithIncludes.mjs";
|
|
18
|
-
export * from "./AssetCommonWithIncludes.mjs";
|
|
19
17
|
export * from "./UserSingleDefinitionParams.mjs";
|
|
20
18
|
export * from "./UserRolesResponse.mjs";
|
|
21
19
|
export * from "./CommentInclude.mjs";
|
|
@@ -38,6 +36,7 @@ export * from "./CommentWithIncludesResponse.mjs";
|
|
|
38
36
|
export * from "./FileRemoteUploadResponse.mjs";
|
|
39
37
|
export * from "./RatingDefinition.mjs";
|
|
40
38
|
export * from "./FolderWithIncludesResponse.mjs";
|
|
39
|
+
export * from "./EmptyJson.mjs";
|
|
41
40
|
export * from "./AccountUserRolesResponse.mjs";
|
|
42
41
|
export * from "./ProjectWithIncludes.mjs";
|
|
43
42
|
export * from "./SelectDefinitionWithIncludes.mjs";
|
|
@@ -88,9 +87,11 @@ export * from "./OriginalMediaLink.mjs";
|
|
|
88
87
|
export * from "./AssetCommon.mjs";
|
|
89
88
|
export * from "./WebhooksWithIncludesResponse.mjs";
|
|
90
89
|
export * from "./DateValue.mjs";
|
|
90
|
+
export * from "./TimeStamp.mjs";
|
|
91
91
|
export * from "./CommentsWithIncludesResponse.mjs";
|
|
92
92
|
export * from "./NumberValue.mjs";
|
|
93
93
|
export * from "./FileWithIncludesResponse.mjs";
|
|
94
|
+
export * from "./AssetCommonWithIncludes.mjs";
|
|
94
95
|
export * from "./RemoveAssetResponse.mjs";
|
|
95
96
|
export * from "./AccountUserRole.mjs";
|
|
96
97
|
export * from "./UploadUrl.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "1.1.4";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "1.1.4";
|