frameio 4.1.1 → 4.2.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +34 -24
- package/dist/cjs/api/resources/customActions/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/customActions/client/Client.js +443 -0
- package/dist/cjs/api/resources/customActions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customActions/client/index.js +17 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.d.ts +31 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.d.ts +35 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.d.ts +21 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/customActions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customActions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customActions/exports.js +21 -0
- package/dist/cjs/api/resources/customActions/index.d.ts +1 -0
- package/dist/cjs/api/resources/customActions/index.js +17 -0
- package/dist/cjs/api/resources/files/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/files/client/Client.js +1 -1
- package/dist/cjs/api/resources/groups/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/groups/client/Client.js +368 -0
- package/dist/cjs/api/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/groups/client/index.js +17 -0
- package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.d.ts +20 -0
- package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.d.ts +24 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.d.ts +9 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.d.ts +20 -0
- package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/groups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/groups/exports.d.ts +2 -0
- package/dist/cjs/api/resources/groups/exports.js +21 -0
- package/dist/cjs/api/resources/groups/index.d.ts +2 -0
- package/dist/cjs/api/resources/groups/index.js +18 -0
- package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.d.ts +10 -0
- package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.js +13 -0
- package/dist/cjs/api/resources/groups/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/groups/types/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/index.js +6 -1
- package/dist/cjs/api/resources/metadata/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/metadata/client/Client.js +4 -4
- package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +4 -4
- package/dist/cjs/api/resources/shares/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/shares/client/Client.js +4 -4
- package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
- package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
- package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +1 -1
- package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/versionStacks/client/Client.js +1 -1
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +1 -1
- package/dist/cjs/api/types/Action.d.ts +25 -0
- package/dist/cjs/api/types/Action.js +3 -0
- package/dist/cjs/api/types/ActionCreateResponse.d.ts +13 -0
- package/dist/cjs/api/types/ActionCreateResponse.js +3 -0
- package/dist/cjs/api/types/ActionInclude.d.ts +4 -0
- package/dist/cjs/api/types/ActionInclude.js +3 -0
- package/dist/cjs/api/types/ActionResponse.d.ts +7 -0
- package/dist/cjs/api/types/ActionResponse.js +3 -0
- package/dist/cjs/api/types/ActionWithIncludes.d.ts +4 -0
- package/dist/cjs/api/types/ActionWithIncludes.js +3 -0
- package/dist/cjs/api/types/ActionWithIncludesResponse.d.ts +7 -0
- package/dist/cjs/api/types/ActionWithIncludesResponse.js +3 -0
- package/dist/cjs/api/types/ActionsWithIncludesResponse.d.ts +11 -0
- package/dist/cjs/api/types/ActionsWithIncludesResponse.js +3 -0
- package/dist/cjs/api/types/AuditLogwithIncludes.d.ts +3 -0
- package/dist/cjs/api/types/AuditLogwithIncludes.js +3 -0
- package/dist/cjs/api/types/Filters.d.ts +3 -0
- package/dist/cjs/api/types/Filters.js +3 -0
- package/dist/cjs/api/types/GroupCommon.d.ts +16 -0
- package/dist/cjs/api/types/GroupCommon.js +3 -0
- package/dist/cjs/api/types/GroupCommonWithIncludes.d.ts +4 -0
- package/dist/cjs/api/types/GroupCommonWithIncludes.js +3 -0
- package/dist/cjs/api/types/GroupResponse.d.ts +4 -0
- package/dist/cjs/api/types/GroupResponse.js +3 -0
- package/dist/cjs/api/types/GroupWithIncludes.d.ts +13 -0
- package/dist/cjs/api/types/GroupWithIncludes.js +3 -0
- package/dist/cjs/api/types/GroupWithIncludesResponse.d.ts +4 -0
- package/dist/cjs/api/types/GroupWithIncludesResponse.js +3 -0
- package/dist/cjs/api/types/GroupsInclude.d.ts +4 -0
- package/dist/cjs/api/types/GroupsInclude.js +3 -0
- package/dist/cjs/api/types/GroupsSort.d.ts +10 -0
- package/dist/cjs/api/types/GroupsSort.js +13 -0
- package/dist/cjs/api/types/GroupsWithIncludesResponse.d.ts +8 -0
- package/dist/cjs/api/types/GroupsWithIncludesResponse.js +3 -0
- package/dist/cjs/api/types/SingleUserValue.d.ts +1 -1
- package/dist/cjs/api/types/SyncGroupWithIncludes.d.ts +15 -0
- package/dist/cjs/api/types/SyncGroupWithIncludes.js +14 -0
- package/dist/cjs/api/types/index.d.ts +16 -0
- package/dist/cjs/api/types/index.js +16 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +10 -0
- package/dist/esm/api/resources/customActions/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/customActions/client/Client.mjs +406 -0
- package/dist/esm/api/resources/customActions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customActions/client/index.mjs +1 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.d.mts +31 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.d.mts +35 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.d.mts +21 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.d.mts +9 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/customActions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customActions/exports.d.mts +2 -0
- package/dist/esm/api/resources/customActions/exports.mjs +3 -0
- package/dist/esm/api/resources/customActions/index.d.mts +1 -0
- package/dist/esm/api/resources/customActions/index.mjs +1 -0
- package/dist/esm/api/resources/files/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/files/client/Client.mjs +1 -1
- package/dist/esm/api/resources/groups/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/groups/client/Client.mjs +331 -0
- package/dist/esm/api/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/api/resources/groups/client/index.mjs +1 -0
- package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.d.mts +20 -0
- package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.d.mts +24 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.d.mts +9 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.d.mts +20 -0
- package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/groups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/groups/exports.d.mts +2 -0
- package/dist/esm/api/resources/groups/exports.mjs +3 -0
- package/dist/esm/api/resources/groups/index.d.mts +2 -0
- package/dist/esm/api/resources/groups/index.mjs +2 -0
- package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.d.mts +10 -0
- package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.mjs +10 -0
- package/dist/esm/api/resources/groups/types/index.d.mts +1 -0
- package/dist/esm/api/resources/groups/types/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/index.mjs +5 -0
- package/dist/esm/api/resources/metadata/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/metadata/client/Client.mjs +4 -4
- package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +4 -4
- package/dist/esm/api/resources/shares/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/shares/client/Client.mjs +4 -4
- package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
- package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
- package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +1 -1
- package/dist/esm/api/resources/versionStacks/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/versionStacks/client/Client.mjs +1 -1
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +1 -1
- package/dist/esm/api/types/Action.d.mts +25 -0
- package/dist/esm/api/types/Action.mjs +2 -0
- package/dist/esm/api/types/ActionCreateResponse.d.mts +13 -0
- package/dist/esm/api/types/ActionCreateResponse.mjs +2 -0
- package/dist/esm/api/types/ActionInclude.d.mts +4 -0
- package/dist/esm/api/types/ActionInclude.mjs +2 -0
- package/dist/esm/api/types/ActionResponse.d.mts +7 -0
- package/dist/esm/api/types/ActionResponse.mjs +2 -0
- package/dist/esm/api/types/ActionWithIncludes.d.mts +4 -0
- package/dist/esm/api/types/ActionWithIncludes.mjs +2 -0
- package/dist/esm/api/types/ActionWithIncludesResponse.d.mts +7 -0
- package/dist/esm/api/types/ActionWithIncludesResponse.mjs +2 -0
- package/dist/esm/api/types/ActionsWithIncludesResponse.d.mts +11 -0
- package/dist/esm/api/types/ActionsWithIncludesResponse.mjs +2 -0
- package/dist/esm/api/types/AuditLogwithIncludes.d.mts +3 -0
- package/dist/esm/api/types/AuditLogwithIncludes.mjs +3 -0
- package/dist/esm/api/types/Filters.d.mts +3 -0
- package/dist/esm/api/types/Filters.mjs +3 -0
- package/dist/esm/api/types/GroupCommon.d.mts +16 -0
- package/dist/esm/api/types/GroupCommon.mjs +2 -0
- package/dist/esm/api/types/GroupCommonWithIncludes.d.mts +4 -0
- package/dist/esm/api/types/GroupCommonWithIncludes.mjs +2 -0
- package/dist/esm/api/types/GroupResponse.d.mts +4 -0
- package/dist/esm/api/types/GroupResponse.mjs +2 -0
- package/dist/esm/api/types/GroupWithIncludes.d.mts +13 -0
- package/dist/esm/api/types/GroupWithIncludes.mjs +2 -0
- package/dist/esm/api/types/GroupWithIncludesResponse.d.mts +4 -0
- package/dist/esm/api/types/GroupWithIncludesResponse.mjs +2 -0
- package/dist/esm/api/types/GroupsInclude.d.mts +4 -0
- package/dist/esm/api/types/GroupsInclude.mjs +2 -0
- package/dist/esm/api/types/GroupsSort.d.mts +10 -0
- package/dist/esm/api/types/GroupsSort.mjs +10 -0
- package/dist/esm/api/types/GroupsWithIncludesResponse.d.mts +8 -0
- package/dist/esm/api/types/GroupsWithIncludesResponse.mjs +2 -0
- package/dist/esm/api/types/SingleUserValue.d.mts +1 -1
- package/dist/esm/api/types/SyncGroupWithIncludes.d.mts +15 -0
- package/dist/esm/api/types/SyncGroupWithIncludes.mjs +11 -0
- package/dist/esm/api/types/index.d.mts +16 -0
- package/dist/esm/api/types/index.mjs +16 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +23 -1
- package/reference.md +1318 -586
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "frameio",
|
|
47
|
-
"X-Fern-SDK-Version": "4.
|
|
48
|
-
"User-Agent": "frameio/4.
|
|
47
|
+
"X-Fern-SDK-Version": "4.2.0",
|
|
48
|
+
"User-Agent": "frameio/4.2.0",
|
|
49
49
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
50
50
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
51
51
|
"user-agent": (_a = options === null || options === void 0 ? void 0 : options.userAgent) !== null && _a !== void 0 ? _a : "frameio-ts",
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AccountPermissionsClient } from "./api/resources/accountPermissions/client/Client.js";
|
|
2
2
|
import { AccountsClient } from "./api/resources/accounts/client/Client.js";
|
|
3
3
|
import { CommentsClient } from "./api/resources/comments/client/Client.js";
|
|
4
|
+
import { CustomActionsClient } from "./api/resources/customActions/client/Client.js";
|
|
4
5
|
import { FilesClient } from "./api/resources/files/client/Client.js";
|
|
5
6
|
import { FoldersClient } from "./api/resources/folders/client/Client.js";
|
|
7
|
+
import { GroupsClient } from "./api/resources/groups/client/Client.js";
|
|
6
8
|
import { MetadataClient } from "./api/resources/metadata/client/Client.js";
|
|
7
9
|
import { MetadataFieldsClient } from "./api/resources/metadataFields/client/Client.js";
|
|
8
10
|
import { ProjectPermissionsClient } from "./api/resources/projectPermissions/client/Client.js";
|
|
@@ -23,6 +25,7 @@ export declare namespace FrameioClient {
|
|
|
23
25
|
}
|
|
24
26
|
export declare class FrameioClient {
|
|
25
27
|
protected readonly _options: NormalizedClientOptionsWithAuth<FrameioClient.Options>;
|
|
28
|
+
protected _customActions: CustomActionsClient | undefined;
|
|
26
29
|
protected _metadataFields: MetadataFieldsClient | undefined;
|
|
27
30
|
protected _projectPermissions: ProjectPermissionsClient | undefined;
|
|
28
31
|
protected _folders: FoldersClient | undefined;
|
|
@@ -32,6 +35,7 @@ export declare class FrameioClient {
|
|
|
32
35
|
protected _accounts: AccountsClient | undefined;
|
|
33
36
|
protected _webhooks: WebhooksClient | undefined;
|
|
34
37
|
protected _workspacePermissions: WorkspacePermissionsClient | undefined;
|
|
38
|
+
protected _groups: GroupsClient | undefined;
|
|
35
39
|
protected _shares: SharesClient | undefined;
|
|
36
40
|
protected _metadata: MetadataClient | undefined;
|
|
37
41
|
protected _files: FilesClient | undefined;
|
|
@@ -39,6 +43,7 @@ export declare class FrameioClient {
|
|
|
39
43
|
protected _projects: ProjectsClient | undefined;
|
|
40
44
|
protected _workspaces: WorkspacesClient | undefined;
|
|
41
45
|
constructor(options: FrameioClient.Options);
|
|
46
|
+
get customActions(): CustomActionsClient;
|
|
42
47
|
get metadataFields(): MetadataFieldsClient;
|
|
43
48
|
get projectPermissions(): ProjectPermissionsClient;
|
|
44
49
|
get folders(): FoldersClient;
|
|
@@ -48,6 +53,7 @@ export declare class FrameioClient {
|
|
|
48
53
|
get accounts(): AccountsClient;
|
|
49
54
|
get webhooks(): WebhooksClient;
|
|
50
55
|
get workspacePermissions(): WorkspacePermissionsClient;
|
|
56
|
+
get groups(): GroupsClient;
|
|
51
57
|
get shares(): SharesClient;
|
|
52
58
|
get metadata(): MetadataClient;
|
|
53
59
|
get files(): FilesClient;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -47,39 +47,45 @@ exports.FrameioClient = void 0;
|
|
|
47
47
|
const Client_js_1 = require("./api/resources/accountPermissions/client/Client.js");
|
|
48
48
|
const Client_js_2 = require("./api/resources/accounts/client/Client.js");
|
|
49
49
|
const Client_js_3 = require("./api/resources/comments/client/Client.js");
|
|
50
|
-
const Client_js_4 = require("./api/resources/
|
|
51
|
-
const Client_js_5 = require("./api/resources/
|
|
52
|
-
const Client_js_6 = require("./api/resources/
|
|
53
|
-
const Client_js_7 = require("./api/resources/
|
|
54
|
-
const Client_js_8 = require("./api/resources/
|
|
55
|
-
const Client_js_9 = require("./api/resources/
|
|
56
|
-
const Client_js_10 = require("./api/resources/
|
|
57
|
-
const Client_js_11 = require("./api/resources/
|
|
58
|
-
const Client_js_12 = require("./api/resources/
|
|
59
|
-
const Client_js_13 = require("./api/resources/
|
|
60
|
-
const Client_js_14 = require("./api/resources/
|
|
61
|
-
const Client_js_15 = require("./api/resources/
|
|
50
|
+
const Client_js_4 = require("./api/resources/customActions/client/Client.js");
|
|
51
|
+
const Client_js_5 = require("./api/resources/files/client/Client.js");
|
|
52
|
+
const Client_js_6 = require("./api/resources/folders/client/Client.js");
|
|
53
|
+
const Client_js_7 = require("./api/resources/groups/client/Client.js");
|
|
54
|
+
const Client_js_8 = require("./api/resources/metadata/client/Client.js");
|
|
55
|
+
const Client_js_9 = require("./api/resources/metadataFields/client/Client.js");
|
|
56
|
+
const Client_js_10 = require("./api/resources/projectPermissions/client/Client.js");
|
|
57
|
+
const Client_js_11 = require("./api/resources/projects/client/Client.js");
|
|
58
|
+
const Client_js_12 = require("./api/resources/shares/client/Client.js");
|
|
59
|
+
const Client_js_13 = require("./api/resources/users/client/Client.js");
|
|
60
|
+
const Client_js_14 = require("./api/resources/versionStacks/client/Client.js");
|
|
61
|
+
const Client_js_15 = require("./api/resources/webhooks/client/Client.js");
|
|
62
|
+
const Client_js_16 = require("./api/resources/workspacePermissions/client/Client.js");
|
|
63
|
+
const Client_js_17 = require("./api/resources/workspaces/client/Client.js");
|
|
62
64
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
63
65
|
const core = __importStar(require("./core/index.js"));
|
|
64
66
|
class FrameioClient {
|
|
65
67
|
constructor(options) {
|
|
66
68
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
67
69
|
}
|
|
70
|
+
get customActions() {
|
|
71
|
+
var _a;
|
|
72
|
+
return ((_a = this._customActions) !== null && _a !== void 0 ? _a : (this._customActions = new Client_js_4.CustomActionsClient(this._options)));
|
|
73
|
+
}
|
|
68
74
|
get metadataFields() {
|
|
69
75
|
var _a;
|
|
70
|
-
return ((_a = this._metadataFields) !== null && _a !== void 0 ? _a : (this._metadataFields = new
|
|
76
|
+
return ((_a = this._metadataFields) !== null && _a !== void 0 ? _a : (this._metadataFields = new Client_js_9.MetadataFieldsClient(this._options)));
|
|
71
77
|
}
|
|
72
78
|
get projectPermissions() {
|
|
73
79
|
var _a;
|
|
74
|
-
return ((_a = this._projectPermissions) !== null && _a !== void 0 ? _a : (this._projectPermissions = new
|
|
80
|
+
return ((_a = this._projectPermissions) !== null && _a !== void 0 ? _a : (this._projectPermissions = new Client_js_10.ProjectPermissionsClient(this._options)));
|
|
75
81
|
}
|
|
76
82
|
get folders() {
|
|
77
83
|
var _a;
|
|
78
|
-
return ((_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new
|
|
84
|
+
return ((_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new Client_js_6.FoldersClient(this._options)));
|
|
79
85
|
}
|
|
80
86
|
get versionStacks() {
|
|
81
87
|
var _a;
|
|
82
|
-
return ((_a = this._versionStacks) !== null && _a !== void 0 ? _a : (this._versionStacks = new
|
|
88
|
+
return ((_a = this._versionStacks) !== null && _a !== void 0 ? _a : (this._versionStacks = new Client_js_14.VersionStacksClient(this._options)));
|
|
83
89
|
}
|
|
84
90
|
get accountPermissions() {
|
|
85
91
|
var _a;
|
|
@@ -95,35 +101,39 @@ class FrameioClient {
|
|
|
95
101
|
}
|
|
96
102
|
get webhooks() {
|
|
97
103
|
var _a;
|
|
98
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
104
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_15.WebhooksClient(this._options)));
|
|
99
105
|
}
|
|
100
106
|
get workspacePermissions() {
|
|
101
107
|
var _a;
|
|
102
|
-
return ((_a = this._workspacePermissions) !== null && _a !== void 0 ? _a : (this._workspacePermissions = new
|
|
108
|
+
return ((_a = this._workspacePermissions) !== null && _a !== void 0 ? _a : (this._workspacePermissions = new Client_js_16.WorkspacePermissionsClient(this._options)));
|
|
109
|
+
}
|
|
110
|
+
get groups() {
|
|
111
|
+
var _a;
|
|
112
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_js_7.GroupsClient(this._options)));
|
|
103
113
|
}
|
|
104
114
|
get shares() {
|
|
105
115
|
var _a;
|
|
106
|
-
return ((_a = this._shares) !== null && _a !== void 0 ? _a : (this._shares = new
|
|
116
|
+
return ((_a = this._shares) !== null && _a !== void 0 ? _a : (this._shares = new Client_js_12.SharesClient(this._options)));
|
|
107
117
|
}
|
|
108
118
|
get metadata() {
|
|
109
119
|
var _a;
|
|
110
|
-
return ((_a = this._metadata) !== null && _a !== void 0 ? _a : (this._metadata = new
|
|
120
|
+
return ((_a = this._metadata) !== null && _a !== void 0 ? _a : (this._metadata = new Client_js_8.MetadataClient(this._options)));
|
|
111
121
|
}
|
|
112
122
|
get files() {
|
|
113
123
|
var _a;
|
|
114
|
-
return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new
|
|
124
|
+
return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_js_5.FilesClient(this._options)));
|
|
115
125
|
}
|
|
116
126
|
get users() {
|
|
117
127
|
var _a;
|
|
118
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
128
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_13.UsersClient(this._options)));
|
|
119
129
|
}
|
|
120
130
|
get projects() {
|
|
121
131
|
var _a;
|
|
122
|
-
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new
|
|
132
|
+
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_js_11.ProjectsClient(this._options)));
|
|
123
133
|
}
|
|
124
134
|
get workspaces() {
|
|
125
135
|
var _a;
|
|
126
|
-
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new
|
|
136
|
+
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_js_17.WorkspacesClient(this._options)));
|
|
127
137
|
}
|
|
128
138
|
/**
|
|
129
139
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Frameio from "../../../index.js";
|
|
5
|
+
export declare namespace CustomActionsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Manage Custom Actions and related operations.
|
|
12
|
+
*/
|
|
13
|
+
export declare class CustomActionsClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CustomActionsClient.Options>;
|
|
15
|
+
constructor(options: CustomActionsClient.Options);
|
|
16
|
+
/**
|
|
17
|
+
* Show custom action details. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
18
|
+
*
|
|
19
|
+
* @param {Frameio.Uuid} account_id
|
|
20
|
+
* @param {Frameio.Uuid} action_id
|
|
21
|
+
* @param {Frameio.ActionsShowRequest} request
|
|
22
|
+
* @param {CustomActionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
23
|
+
*
|
|
24
|
+
* @throws {@link Frameio.BadRequestError}
|
|
25
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
26
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
27
|
+
* @throws {@link Frameio.NotFoundError}
|
|
28
|
+
* @throws {@link Frameio.ConflictError}
|
|
29
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
30
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* await client.customActions.actionsShow("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
34
|
+
* include: "creator"
|
|
35
|
+
* })
|
|
36
|
+
*/
|
|
37
|
+
actionsShow(account_id: Frameio.Uuid, action_id: Frameio.Uuid, request?: Frameio.ActionsShowRequest, requestOptions?: CustomActionsClient.RequestOptions): core.HttpResponsePromise<Frameio.ActionWithIncludesResponse>;
|
|
38
|
+
private __actionsShow;
|
|
39
|
+
/**
|
|
40
|
+
* Delete a custom action. <br/>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
41
|
+
*
|
|
42
|
+
* @param {Frameio.Uuid} account_id
|
|
43
|
+
* @param {Frameio.Uuid} action_id
|
|
44
|
+
* @param {CustomActionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link Frameio.BadRequestError}
|
|
47
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
48
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
49
|
+
* @throws {@link Frameio.NotFoundError}
|
|
50
|
+
* @throws {@link Frameio.ConflictError}
|
|
51
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
52
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* await client.customActions.actionsDelete("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b")
|
|
56
|
+
*/
|
|
57
|
+
actionsDelete(account_id: Frameio.Uuid, action_id: Frameio.Uuid, requestOptions?: CustomActionsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
58
|
+
private __actionsDelete;
|
|
59
|
+
/**
|
|
60
|
+
* Update custom action details. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
61
|
+
*
|
|
62
|
+
* @param {Frameio.Uuid} account_id
|
|
63
|
+
* @param {Frameio.Uuid} action_id
|
|
64
|
+
* @param {Frameio.ActionUpdateParams} request
|
|
65
|
+
* @param {CustomActionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link Frameio.BadRequestError}
|
|
68
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
69
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
70
|
+
* @throws {@link Frameio.NotFoundError}
|
|
71
|
+
* @throws {@link Frameio.ConflictError}
|
|
72
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
73
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.customActions.actionsUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
77
|
+
* data: {
|
|
78
|
+
* active: true,
|
|
79
|
+
* description: "customizing our workflow",
|
|
80
|
+
* event: "my.event",
|
|
81
|
+
* multi_asset: true,
|
|
82
|
+
* name: "First Custom Action",
|
|
83
|
+
* timeout: 7,
|
|
84
|
+
* url: "https://example.com/custom-action"
|
|
85
|
+
* }
|
|
86
|
+
* })
|
|
87
|
+
*/
|
|
88
|
+
actionsUpdate(account_id: Frameio.Uuid, action_id: Frameio.Uuid, request: Frameio.ActionUpdateParams, requestOptions?: CustomActionsClient.RequestOptions): core.HttpResponsePromise<Frameio.ActionResponse>;
|
|
89
|
+
private __actionsUpdate;
|
|
90
|
+
/**
|
|
91
|
+
* List actions in a given workspace. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
92
|
+
*
|
|
93
|
+
* @param {Frameio.Uuid} account_id
|
|
94
|
+
* @param {Frameio.Uuid} workspace_id
|
|
95
|
+
* @param {Frameio.ActionsIndexRequest} request
|
|
96
|
+
* @param {CustomActionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link Frameio.BadRequestError}
|
|
99
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
100
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
101
|
+
* @throws {@link Frameio.NotFoundError}
|
|
102
|
+
* @throws {@link Frameio.ConflictError}
|
|
103
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
104
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.customActions.actionsIndex("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
108
|
+
* include: "creator",
|
|
109
|
+
* after: "<opaque_cursor>",
|
|
110
|
+
* page_size: 10,
|
|
111
|
+
* include_total_count: false
|
|
112
|
+
* })
|
|
113
|
+
*/
|
|
114
|
+
actionsIndex(account_id: Frameio.Uuid, workspace_id: Frameio.Uuid, request?: Frameio.ActionsIndexRequest, requestOptions?: CustomActionsClient.RequestOptions): core.HttpResponsePromise<Frameio.ActionsWithIncludesResponse>;
|
|
115
|
+
private __actionsIndex;
|
|
116
|
+
/**
|
|
117
|
+
* Create a custom action in a workspace. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
118
|
+
*
|
|
119
|
+
* @param {Frameio.Uuid} account_id
|
|
120
|
+
* @param {Frameio.Uuid} workspace_id
|
|
121
|
+
* @param {Frameio.ActionCreateParams} request
|
|
122
|
+
* @param {CustomActionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link Frameio.BadRequestError}
|
|
125
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
126
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
127
|
+
* @throws {@link Frameio.NotFoundError}
|
|
128
|
+
* @throws {@link Frameio.ConflictError}
|
|
129
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
130
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* await client.customActions.actionsCreate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
134
|
+
* data: {
|
|
135
|
+
* description: "customizing our workflow",
|
|
136
|
+
* event: "my.event",
|
|
137
|
+
* name: "First Custom Action",
|
|
138
|
+
* timeout: 7,
|
|
139
|
+
* url: "https://example.com/custom-action"
|
|
140
|
+
* }
|
|
141
|
+
* })
|
|
142
|
+
*/
|
|
143
|
+
actionsCreate(account_id: Frameio.Uuid, workspace_id: Frameio.Uuid, request: Frameio.ActionCreateParams, requestOptions?: CustomActionsClient.RequestOptions): core.HttpResponsePromise<Frameio.ActionCreateResponse>;
|
|
144
|
+
private __actionsCreate;
|
|
145
|
+
}
|