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.
Files changed (200) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +6 -0
  3. package/dist/cjs/Client.js +34 -24
  4. package/dist/cjs/api/resources/customActions/client/Client.d.ts +145 -0
  5. package/dist/cjs/api/resources/customActions/client/Client.js +443 -0
  6. package/dist/cjs/api/resources/customActions/client/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/customActions/client/index.js +17 -0
  8. package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.d.ts +31 -0
  9. package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.js +3 -0
  10. package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.d.ts +35 -0
  11. package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.js +3 -0
  12. package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.d.ts +21 -0
  13. package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.js +3 -0
  14. package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.d.ts +9 -0
  15. package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.js +3 -0
  16. package/dist/cjs/api/resources/customActions/client/requests/index.d.ts +4 -0
  17. package/dist/cjs/api/resources/customActions/client/requests/index.js +2 -0
  18. package/dist/cjs/api/resources/customActions/exports.d.ts +2 -0
  19. package/dist/cjs/api/resources/customActions/exports.js +21 -0
  20. package/dist/cjs/api/resources/customActions/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/customActions/index.js +17 -0
  22. package/dist/cjs/api/resources/files/client/Client.d.ts +1 -1
  23. package/dist/cjs/api/resources/files/client/Client.js +1 -1
  24. package/dist/cjs/api/resources/groups/client/Client.d.ts +116 -0
  25. package/dist/cjs/api/resources/groups/client/Client.js +368 -0
  26. package/dist/cjs/api/resources/groups/client/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/groups/client/index.js +17 -0
  28. package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.d.ts +20 -0
  29. package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.js +3 -0
  30. package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.d.ts +24 -0
  31. package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.js +3 -0
  32. package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.d.ts +9 -0
  33. package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.js +3 -0
  34. package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.d.ts +20 -0
  35. package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.js +3 -0
  36. package/dist/cjs/api/resources/groups/client/requests/index.d.ts +4 -0
  37. package/dist/cjs/api/resources/groups/client/requests/index.js +2 -0
  38. package/dist/cjs/api/resources/groups/exports.d.ts +2 -0
  39. package/dist/cjs/api/resources/groups/exports.js +21 -0
  40. package/dist/cjs/api/resources/groups/index.d.ts +2 -0
  41. package/dist/cjs/api/resources/groups/index.js +18 -0
  42. package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.d.ts +10 -0
  43. package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.js +13 -0
  44. package/dist/cjs/api/resources/groups/types/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/groups/types/index.js +17 -0
  46. package/dist/cjs/api/resources/index.d.ts +5 -0
  47. package/dist/cjs/api/resources/index.js +6 -1
  48. package/dist/cjs/api/resources/metadata/client/Client.d.ts +4 -4
  49. package/dist/cjs/api/resources/metadata/client/Client.js +4 -4
  50. package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +4 -4
  51. package/dist/cjs/api/resources/shares/client/Client.d.ts +4 -4
  52. package/dist/cjs/api/resources/shares/client/Client.js +4 -4
  53. package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
  54. package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
  55. package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +1 -1
  56. package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +1 -1
  57. package/dist/cjs/api/resources/versionStacks/client/Client.js +1 -1
  58. package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +1 -1
  59. package/dist/cjs/api/types/Action.d.ts +25 -0
  60. package/dist/cjs/api/types/Action.js +3 -0
  61. package/dist/cjs/api/types/ActionCreateResponse.d.ts +13 -0
  62. package/dist/cjs/api/types/ActionCreateResponse.js +3 -0
  63. package/dist/cjs/api/types/ActionInclude.d.ts +4 -0
  64. package/dist/cjs/api/types/ActionInclude.js +3 -0
  65. package/dist/cjs/api/types/ActionResponse.d.ts +7 -0
  66. package/dist/cjs/api/types/ActionResponse.js +3 -0
  67. package/dist/cjs/api/types/ActionWithIncludes.d.ts +4 -0
  68. package/dist/cjs/api/types/ActionWithIncludes.js +3 -0
  69. package/dist/cjs/api/types/ActionWithIncludesResponse.d.ts +7 -0
  70. package/dist/cjs/api/types/ActionWithIncludesResponse.js +3 -0
  71. package/dist/cjs/api/types/ActionsWithIncludesResponse.d.ts +11 -0
  72. package/dist/cjs/api/types/ActionsWithIncludesResponse.js +3 -0
  73. package/dist/cjs/api/types/AuditLogwithIncludes.d.ts +3 -0
  74. package/dist/cjs/api/types/AuditLogwithIncludes.js +3 -0
  75. package/dist/cjs/api/types/Filters.d.ts +3 -0
  76. package/dist/cjs/api/types/Filters.js +3 -0
  77. package/dist/cjs/api/types/GroupCommon.d.ts +16 -0
  78. package/dist/cjs/api/types/GroupCommon.js +3 -0
  79. package/dist/cjs/api/types/GroupCommonWithIncludes.d.ts +4 -0
  80. package/dist/cjs/api/types/GroupCommonWithIncludes.js +3 -0
  81. package/dist/cjs/api/types/GroupResponse.d.ts +4 -0
  82. package/dist/cjs/api/types/GroupResponse.js +3 -0
  83. package/dist/cjs/api/types/GroupWithIncludes.d.ts +13 -0
  84. package/dist/cjs/api/types/GroupWithIncludes.js +3 -0
  85. package/dist/cjs/api/types/GroupWithIncludesResponse.d.ts +4 -0
  86. package/dist/cjs/api/types/GroupWithIncludesResponse.js +3 -0
  87. package/dist/cjs/api/types/GroupsInclude.d.ts +4 -0
  88. package/dist/cjs/api/types/GroupsInclude.js +3 -0
  89. package/dist/cjs/api/types/GroupsSort.d.ts +10 -0
  90. package/dist/cjs/api/types/GroupsSort.js +13 -0
  91. package/dist/cjs/api/types/GroupsWithIncludesResponse.d.ts +8 -0
  92. package/dist/cjs/api/types/GroupsWithIncludesResponse.js +3 -0
  93. package/dist/cjs/api/types/SingleUserValue.d.ts +1 -1
  94. package/dist/cjs/api/types/SyncGroupWithIncludes.d.ts +15 -0
  95. package/dist/cjs/api/types/SyncGroupWithIncludes.js +14 -0
  96. package/dist/cjs/api/types/index.d.ts +16 -0
  97. package/dist/cjs/api/types/index.js +16 -0
  98. package/dist/cjs/version.d.ts +1 -1
  99. package/dist/cjs/version.js +1 -1
  100. package/dist/esm/BaseClient.mjs +2 -2
  101. package/dist/esm/Client.d.mts +6 -0
  102. package/dist/esm/Client.mjs +10 -0
  103. package/dist/esm/api/resources/customActions/client/Client.d.mts +145 -0
  104. package/dist/esm/api/resources/customActions/client/Client.mjs +406 -0
  105. package/dist/esm/api/resources/customActions/client/index.d.mts +1 -0
  106. package/dist/esm/api/resources/customActions/client/index.mjs +1 -0
  107. package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.d.mts +31 -0
  108. package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.mjs +2 -0
  109. package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.d.mts +35 -0
  110. package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.mjs +2 -0
  111. package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.d.mts +21 -0
  112. package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.mjs +2 -0
  113. package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.d.mts +9 -0
  114. package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.mjs +2 -0
  115. package/dist/esm/api/resources/customActions/client/requests/index.d.mts +4 -0
  116. package/dist/esm/api/resources/customActions/client/requests/index.mjs +1 -0
  117. package/dist/esm/api/resources/customActions/exports.d.mts +2 -0
  118. package/dist/esm/api/resources/customActions/exports.mjs +3 -0
  119. package/dist/esm/api/resources/customActions/index.d.mts +1 -0
  120. package/dist/esm/api/resources/customActions/index.mjs +1 -0
  121. package/dist/esm/api/resources/files/client/Client.d.mts +1 -1
  122. package/dist/esm/api/resources/files/client/Client.mjs +1 -1
  123. package/dist/esm/api/resources/groups/client/Client.d.mts +116 -0
  124. package/dist/esm/api/resources/groups/client/Client.mjs +331 -0
  125. package/dist/esm/api/resources/groups/client/index.d.mts +1 -0
  126. package/dist/esm/api/resources/groups/client/index.mjs +1 -0
  127. package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.d.mts +20 -0
  128. package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.mjs +2 -0
  129. package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.d.mts +24 -0
  130. package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.mjs +2 -0
  131. package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.d.mts +9 -0
  132. package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.mjs +2 -0
  133. package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.d.mts +20 -0
  134. package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.mjs +2 -0
  135. package/dist/esm/api/resources/groups/client/requests/index.d.mts +4 -0
  136. package/dist/esm/api/resources/groups/client/requests/index.mjs +1 -0
  137. package/dist/esm/api/resources/groups/exports.d.mts +2 -0
  138. package/dist/esm/api/resources/groups/exports.mjs +3 -0
  139. package/dist/esm/api/resources/groups/index.d.mts +2 -0
  140. package/dist/esm/api/resources/groups/index.mjs +2 -0
  141. package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.d.mts +10 -0
  142. package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.mjs +10 -0
  143. package/dist/esm/api/resources/groups/types/index.d.mts +1 -0
  144. package/dist/esm/api/resources/groups/types/index.mjs +1 -0
  145. package/dist/esm/api/resources/index.d.mts +5 -0
  146. package/dist/esm/api/resources/index.mjs +5 -0
  147. package/dist/esm/api/resources/metadata/client/Client.d.mts +4 -4
  148. package/dist/esm/api/resources/metadata/client/Client.mjs +4 -4
  149. package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +4 -4
  150. package/dist/esm/api/resources/shares/client/Client.d.mts +4 -4
  151. package/dist/esm/api/resources/shares/client/Client.mjs +4 -4
  152. package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
  153. package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
  154. package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +1 -1
  155. package/dist/esm/api/resources/versionStacks/client/Client.d.mts +1 -1
  156. package/dist/esm/api/resources/versionStacks/client/Client.mjs +1 -1
  157. package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +1 -1
  158. package/dist/esm/api/types/Action.d.mts +25 -0
  159. package/dist/esm/api/types/Action.mjs +2 -0
  160. package/dist/esm/api/types/ActionCreateResponse.d.mts +13 -0
  161. package/dist/esm/api/types/ActionCreateResponse.mjs +2 -0
  162. package/dist/esm/api/types/ActionInclude.d.mts +4 -0
  163. package/dist/esm/api/types/ActionInclude.mjs +2 -0
  164. package/dist/esm/api/types/ActionResponse.d.mts +7 -0
  165. package/dist/esm/api/types/ActionResponse.mjs +2 -0
  166. package/dist/esm/api/types/ActionWithIncludes.d.mts +4 -0
  167. package/dist/esm/api/types/ActionWithIncludes.mjs +2 -0
  168. package/dist/esm/api/types/ActionWithIncludesResponse.d.mts +7 -0
  169. package/dist/esm/api/types/ActionWithIncludesResponse.mjs +2 -0
  170. package/dist/esm/api/types/ActionsWithIncludesResponse.d.mts +11 -0
  171. package/dist/esm/api/types/ActionsWithIncludesResponse.mjs +2 -0
  172. package/dist/esm/api/types/AuditLogwithIncludes.d.mts +3 -0
  173. package/dist/esm/api/types/AuditLogwithIncludes.mjs +3 -0
  174. package/dist/esm/api/types/Filters.d.mts +3 -0
  175. package/dist/esm/api/types/Filters.mjs +3 -0
  176. package/dist/esm/api/types/GroupCommon.d.mts +16 -0
  177. package/dist/esm/api/types/GroupCommon.mjs +2 -0
  178. package/dist/esm/api/types/GroupCommonWithIncludes.d.mts +4 -0
  179. package/dist/esm/api/types/GroupCommonWithIncludes.mjs +2 -0
  180. package/dist/esm/api/types/GroupResponse.d.mts +4 -0
  181. package/dist/esm/api/types/GroupResponse.mjs +2 -0
  182. package/dist/esm/api/types/GroupWithIncludes.d.mts +13 -0
  183. package/dist/esm/api/types/GroupWithIncludes.mjs +2 -0
  184. package/dist/esm/api/types/GroupWithIncludesResponse.d.mts +4 -0
  185. package/dist/esm/api/types/GroupWithIncludesResponse.mjs +2 -0
  186. package/dist/esm/api/types/GroupsInclude.d.mts +4 -0
  187. package/dist/esm/api/types/GroupsInclude.mjs +2 -0
  188. package/dist/esm/api/types/GroupsSort.d.mts +10 -0
  189. package/dist/esm/api/types/GroupsSort.mjs +10 -0
  190. package/dist/esm/api/types/GroupsWithIncludesResponse.d.mts +8 -0
  191. package/dist/esm/api/types/GroupsWithIncludesResponse.mjs +2 -0
  192. package/dist/esm/api/types/SingleUserValue.d.mts +1 -1
  193. package/dist/esm/api/types/SyncGroupWithIncludes.d.mts +15 -0
  194. package/dist/esm/api/types/SyncGroupWithIncludes.mjs +11 -0
  195. package/dist/esm/api/types/index.d.mts +16 -0
  196. package/dist/esm/api/types/index.mjs +16 -0
  197. package/dist/esm/version.d.mts +1 -1
  198. package/dist/esm/version.mjs +1 -1
  199. package/package.json +23 -1
  200. package/reference.md +1318 -586
@@ -0,0 +1,10 @@
1
+ /** Sort query parameter for Groups. */
2
+ export declare const GroupsSort: {
3
+ readonly CreatorAsc: "creator_asc";
4
+ readonly CreatorDesc: "creator_desc";
5
+ readonly NameAsc: "name_asc";
6
+ readonly NameDesc: "name_desc";
7
+ readonly CreatedAtAsc: "created_at_asc";
8
+ readonly CreatedAtDesc: "created_at_desc";
9
+ };
10
+ export type GroupsSort = (typeof GroupsSort)[keyof typeof GroupsSort];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GroupsSort = void 0;
5
+ /** Sort query parameter for Groups. */
6
+ exports.GroupsSort = {
7
+ CreatorAsc: "creator_asc",
8
+ CreatorDesc: "creator_desc",
9
+ NameAsc: "name_asc",
10
+ NameDesc: "name_desc",
11
+ CreatedAtAsc: "created_at_asc",
12
+ CreatedAtDesc: "created_at_desc",
13
+ };
@@ -0,0 +1,8 @@
1
+ import type * as Frameio from "../index.js";
2
+ export interface GroupsWithIncludesResponse {
3
+ /** Groups */
4
+ data: Frameio.GroupWithIncludes[];
5
+ links: Frameio.Links;
6
+ /** Total count */
7
+ total_count?: number | undefined;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  import type * as Frameio from "../index.js";
2
2
  export interface SingleUserValue extends Frameio.FieldValueCommon {
3
- /** Populated with costum member options only if `member_options_type` is set to 'custom'. */
3
+ /** Populated with custom member options only if `member_options_type` is set to 'custom'. */
4
4
  custom_members?: Frameio.UserValue[] | undefined;
5
5
  member_options_type?: SingleUserValue.MemberOptionsType | undefined;
6
6
  value: Frameio.UserValue[];
@@ -0,0 +1,15 @@
1
+ import type * as Frameio from "../index.js";
2
+ export interface SyncGroupWithIncludes extends Frameio.GroupCommonWithIncludes {
3
+ /** Imported group sync status */
4
+ sync_status: SyncGroupWithIncludes.SyncStatus;
5
+ }
6
+ export declare namespace SyncGroupWithIncludes {
7
+ /** Imported group sync status */
8
+ const SyncStatus: {
9
+ readonly NotStarted: "not_started";
10
+ readonly InProgress: "in_progress";
11
+ readonly Completed: "completed";
12
+ readonly Error: "error";
13
+ };
14
+ type SyncStatus = (typeof SyncStatus)[keyof typeof SyncStatus];
15
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SyncGroupWithIncludes = void 0;
5
+ var SyncGroupWithIncludes;
6
+ (function (SyncGroupWithIncludes) {
7
+ /** Imported group sync status */
8
+ SyncGroupWithIncludes.SyncStatus = {
9
+ NotStarted: "not_started",
10
+ InProgress: "in_progress",
11
+ Completed: "completed",
12
+ Error: "error",
13
+ };
14
+ })(SyncGroupWithIncludes || (exports.SyncGroupWithIncludes = SyncGroupWithIncludes = {}));
@@ -2,6 +2,13 @@ export * from "./Account.js";
2
2
  export * from "./AccountsResponse.js";
3
3
  export * from "./AccountUserRole.js";
4
4
  export * from "./AccountUserRolesResponse.js";
5
+ export * from "./Action.js";
6
+ export * from "./ActionCreateResponse.js";
7
+ export * from "./ActionInclude.js";
8
+ export * from "./ActionResponse.js";
9
+ export * from "./ActionsWithIncludesResponse.js";
10
+ export * from "./ActionWithIncludes.js";
11
+ export * from "./ActionWithIncludesResponse.js";
5
12
  export * from "./AddAssetResponse.js";
6
13
  export * from "./Anchor.js";
7
14
  export * from "./AssetCommon.js";
@@ -60,6 +67,14 @@ export * from "./FoldersWithIncludesResponse.js";
60
67
  export * from "./FolderWithIncludes.js";
61
68
  export * from "./FolderWithIncludesResponse.js";
62
69
  export * from "./Forbidden.js";
70
+ export * from "./GroupCommon.js";
71
+ export * from "./GroupCommonWithIncludes.js";
72
+ export * from "./GroupResponse.js";
73
+ export * from "./GroupsInclude.js";
74
+ export * from "./GroupsSort.js";
75
+ export * from "./GroupsWithIncludesResponse.js";
76
+ export * from "./GroupWithIncludes.js";
77
+ export * from "./GroupWithIncludesResponse.js";
63
78
  export * from "./Include.js";
64
79
  export * from "./IncludeTotalCount.js";
65
80
  export * from "./IntegerValue.js";
@@ -114,6 +129,7 @@ export * from "./ShareResponse.js";
114
129
  export * from "./ShareReviewersResponse.js";
115
130
  export * from "./SharesResponse.js";
116
131
  export * from "./SingleUserValue.js";
132
+ export * from "./SyncGroupWithIncludes.js";
117
133
  export * from "./TextDefinition.js";
118
134
  export * from "./TextDefinitionParams.js";
119
135
  export * from "./TextDefinitionWithIncludes.js";
@@ -18,6 +18,13 @@ __exportStar(require("./Account.js"), exports);
18
18
  __exportStar(require("./AccountsResponse.js"), exports);
19
19
  __exportStar(require("./AccountUserRole.js"), exports);
20
20
  __exportStar(require("./AccountUserRolesResponse.js"), exports);
21
+ __exportStar(require("./Action.js"), exports);
22
+ __exportStar(require("./ActionCreateResponse.js"), exports);
23
+ __exportStar(require("./ActionInclude.js"), exports);
24
+ __exportStar(require("./ActionResponse.js"), exports);
25
+ __exportStar(require("./ActionsWithIncludesResponse.js"), exports);
26
+ __exportStar(require("./ActionWithIncludes.js"), exports);
27
+ __exportStar(require("./ActionWithIncludesResponse.js"), exports);
21
28
  __exportStar(require("./AddAssetResponse.js"), exports);
22
29
  __exportStar(require("./Anchor.js"), exports);
23
30
  __exportStar(require("./AssetCommon.js"), exports);
@@ -76,6 +83,14 @@ __exportStar(require("./FoldersWithIncludesResponse.js"), exports);
76
83
  __exportStar(require("./FolderWithIncludes.js"), exports);
77
84
  __exportStar(require("./FolderWithIncludesResponse.js"), exports);
78
85
  __exportStar(require("./Forbidden.js"), exports);
86
+ __exportStar(require("./GroupCommon.js"), exports);
87
+ __exportStar(require("./GroupCommonWithIncludes.js"), exports);
88
+ __exportStar(require("./GroupResponse.js"), exports);
89
+ __exportStar(require("./GroupsInclude.js"), exports);
90
+ __exportStar(require("./GroupsSort.js"), exports);
91
+ __exportStar(require("./GroupsWithIncludesResponse.js"), exports);
92
+ __exportStar(require("./GroupWithIncludes.js"), exports);
93
+ __exportStar(require("./GroupWithIncludesResponse.js"), exports);
79
94
  __exportStar(require("./Include.js"), exports);
80
95
  __exportStar(require("./IncludeTotalCount.js"), exports);
81
96
  __exportStar(require("./IntegerValue.js"), exports);
@@ -130,6 +145,7 @@ __exportStar(require("./ShareResponse.js"), exports);
130
145
  __exportStar(require("./ShareReviewersResponse.js"), exports);
131
146
  __exportStar(require("./SharesResponse.js"), exports);
132
147
  __exportStar(require("./SingleUserValue.js"), exports);
148
+ __exportStar(require("./SyncGroupWithIncludes.js"), exports);
133
149
  __exportStar(require("./TextDefinition.js"), exports);
134
150
  __exportStar(require("./TextDefinitionParams.js"), exports);
135
151
  __exportStar(require("./TextDefinitionWithIncludes.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.1.0";
1
+ export declare const SDK_VERSION = "4.2.0";
@@ -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 = "4.1.0";
4
+ exports.SDK_VERSION = "4.2.0";
@@ -7,8 +7,8 @@ export function normalizeClientOptions(options) {
7
7
  const headers = mergeHeaders({
8
8
  "X-Fern-Language": "JavaScript",
9
9
  "X-Fern-SDK-Name": "frameio",
10
- "X-Fern-SDK-Version": "4.1.0",
11
- "User-Agent": "frameio/4.1.0",
10
+ "X-Fern-SDK-Version": "4.2.0",
11
+ "User-Agent": "frameio/4.2.0",
12
12
  "X-Fern-Runtime": core.RUNTIME.type,
13
13
  "X-Fern-Runtime-Version": core.RUNTIME.version,
14
14
  "user-agent": (_a = options === null || options === void 0 ? void 0 : options.userAgent) !== null && _a !== void 0 ? _a : "frameio-ts",
@@ -1,8 +1,10 @@
1
1
  import { AccountPermissionsClient } from "./api/resources/accountPermissions/client/Client.mjs";
2
2
  import { AccountsClient } from "./api/resources/accounts/client/Client.mjs";
3
3
  import { CommentsClient } from "./api/resources/comments/client/Client.mjs";
4
+ import { CustomActionsClient } from "./api/resources/customActions/client/Client.mjs";
4
5
  import { FilesClient } from "./api/resources/files/client/Client.mjs";
5
6
  import { FoldersClient } from "./api/resources/folders/client/Client.mjs";
7
+ import { GroupsClient } from "./api/resources/groups/client/Client.mjs";
6
8
  import { MetadataClient } from "./api/resources/metadata/client/Client.mjs";
7
9
  import { MetadataFieldsClient } from "./api/resources/metadataFields/client/Client.mjs";
8
10
  import { ProjectPermissionsClient } from "./api/resources/projectPermissions/client/Client.mjs";
@@ -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;
@@ -11,8 +11,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  import { AccountPermissionsClient } from "./api/resources/accountPermissions/client/Client.mjs";
12
12
  import { AccountsClient } from "./api/resources/accounts/client/Client.mjs";
13
13
  import { CommentsClient } from "./api/resources/comments/client/Client.mjs";
14
+ import { CustomActionsClient } from "./api/resources/customActions/client/Client.mjs";
14
15
  import { FilesClient } from "./api/resources/files/client/Client.mjs";
15
16
  import { FoldersClient } from "./api/resources/folders/client/Client.mjs";
17
+ import { GroupsClient } from "./api/resources/groups/client/Client.mjs";
16
18
  import { MetadataClient } from "./api/resources/metadata/client/Client.mjs";
17
19
  import { MetadataFieldsClient } from "./api/resources/metadataFields/client/Client.mjs";
18
20
  import { ProjectPermissionsClient } from "./api/resources/projectPermissions/client/Client.mjs";
@@ -29,6 +31,10 @@ export class FrameioClient {
29
31
  constructor(options) {
30
32
  this._options = normalizeClientOptionsWithAuth(options);
31
33
  }
34
+ get customActions() {
35
+ var _a;
36
+ return ((_a = this._customActions) !== null && _a !== void 0 ? _a : (this._customActions = new CustomActionsClient(this._options)));
37
+ }
32
38
  get metadataFields() {
33
39
  var _a;
34
40
  return ((_a = this._metadataFields) !== null && _a !== void 0 ? _a : (this._metadataFields = new MetadataFieldsClient(this._options)));
@@ -65,6 +71,10 @@ export class FrameioClient {
65
71
  var _a;
66
72
  return ((_a = this._workspacePermissions) !== null && _a !== void 0 ? _a : (this._workspacePermissions = new WorkspacePermissionsClient(this._options)));
67
73
  }
74
+ get groups() {
75
+ var _a;
76
+ return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new GroupsClient(this._options)));
77
+ }
68
78
  get shares() {
69
79
  var _a;
70
80
  return ((_a = this._shares) !== null && _a !== void 0 ? _a : (this._shares = new SharesClient(this._options)));
@@ -0,0 +1,145 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as Frameio from "../../../index.mjs";
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
+ }