frameio 3.2.3 → 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 (279) hide show
  1. package/README.md +159 -4
  2. package/dist/cjs/BaseClient.d.ts +4 -0
  3. package/dist/cjs/BaseClient.js +4 -2
  4. package/dist/cjs/Client.d.ts +6 -0
  5. package/dist/cjs/Client.js +34 -24
  6. package/dist/cjs/api/resources/accountPermissions/client/Client.js +6 -6
  7. package/dist/cjs/api/resources/accounts/client/Client.js +13 -13
  8. package/dist/cjs/api/resources/comments/client/Client.js +48 -48
  9. package/dist/cjs/api/resources/customActions/client/Client.d.ts +145 -0
  10. package/dist/cjs/api/resources/customActions/client/Client.js +443 -0
  11. package/dist/cjs/api/resources/customActions/client/index.d.ts +1 -0
  12. package/dist/cjs/api/resources/customActions/client/index.js +17 -0
  13. package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.d.ts +31 -0
  14. package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.js +3 -0
  15. package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.d.ts +35 -0
  16. package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.js +3 -0
  17. package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.d.ts +21 -0
  18. package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.js +3 -0
  19. package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.d.ts +9 -0
  20. package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.js +3 -0
  21. package/dist/cjs/api/resources/customActions/client/requests/index.d.ts +4 -0
  22. package/dist/cjs/api/resources/customActions/client/requests/index.js +2 -0
  23. package/dist/cjs/api/resources/customActions/exports.d.ts +2 -0
  24. package/dist/cjs/api/resources/customActions/exports.js +21 -0
  25. package/dist/cjs/api/resources/customActions/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/customActions/index.js +17 -0
  27. package/dist/cjs/api/resources/files/client/Client.d.ts +1 -1
  28. package/dist/cjs/api/resources/files/client/Client.js +78 -78
  29. package/dist/cjs/api/resources/folders/client/Client.js +56 -56
  30. package/dist/cjs/api/resources/groups/client/Client.d.ts +116 -0
  31. package/dist/cjs/api/resources/groups/client/Client.js +368 -0
  32. package/dist/cjs/api/resources/groups/client/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/groups/client/index.js +17 -0
  34. package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.d.ts +20 -0
  35. package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.js +3 -0
  36. package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.d.ts +24 -0
  37. package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.js +3 -0
  38. package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.d.ts +9 -0
  39. package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.js +3 -0
  40. package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.d.ts +20 -0
  41. package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.js +3 -0
  42. package/dist/cjs/api/resources/groups/client/requests/index.d.ts +4 -0
  43. package/dist/cjs/api/resources/groups/client/requests/index.js +2 -0
  44. package/dist/cjs/api/resources/groups/exports.d.ts +2 -0
  45. package/dist/cjs/api/resources/groups/exports.js +21 -0
  46. package/dist/cjs/api/resources/groups/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/groups/index.js +18 -0
  48. package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.d.ts +10 -0
  49. package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.js +13 -0
  50. package/dist/cjs/api/resources/groups/types/index.d.ts +1 -0
  51. package/dist/cjs/api/resources/groups/types/index.js +17 -0
  52. package/dist/cjs/api/resources/index.d.ts +5 -0
  53. package/dist/cjs/api/resources/index.js +6 -1
  54. package/dist/cjs/api/resources/metadata/client/Client.d.ts +4 -4
  55. package/dist/cjs/api/resources/metadata/client/Client.js +18 -18
  56. package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +4 -4
  57. package/dist/cjs/api/resources/metadataFields/client/Client.js +28 -28
  58. package/dist/cjs/api/resources/projectPermissions/client/Client.js +20 -20
  59. package/dist/cjs/api/resources/projects/client/Client.js +34 -34
  60. package/dist/cjs/api/resources/shares/client/Client.d.ts +4 -4
  61. package/dist/cjs/api/resources/shares/client/Client.js +72 -72
  62. package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
  63. package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
  64. package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +1 -1
  65. package/dist/cjs/api/resources/users/client/Client.js +7 -7
  66. package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +1 -1
  67. package/dist/cjs/api/resources/versionStacks/client/Client.js +43 -43
  68. package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +1 -1
  69. package/dist/cjs/api/resources/webhooks/client/Client.js +34 -34
  70. package/dist/cjs/api/resources/workspacePermissions/client/Client.js +20 -20
  71. package/dist/cjs/api/resources/workspaces/client/Client.js +34 -34
  72. package/dist/cjs/api/types/Account.d.ts +0 -2
  73. package/dist/cjs/api/types/Action.d.ts +25 -0
  74. package/dist/cjs/api/types/Action.js +3 -0
  75. package/dist/cjs/api/types/ActionCreateResponse.d.ts +13 -0
  76. package/dist/cjs/api/types/ActionCreateResponse.js +3 -0
  77. package/dist/cjs/api/types/ActionInclude.d.ts +4 -0
  78. package/dist/cjs/api/types/ActionInclude.js +3 -0
  79. package/dist/cjs/api/types/ActionResponse.d.ts +7 -0
  80. package/dist/cjs/api/types/ActionResponse.js +3 -0
  81. package/dist/cjs/api/types/ActionWithIncludes.d.ts +4 -0
  82. package/dist/cjs/api/types/ActionWithIncludes.js +3 -0
  83. package/dist/cjs/api/types/ActionWithIncludesResponse.d.ts +7 -0
  84. package/dist/cjs/api/types/ActionWithIncludesResponse.js +3 -0
  85. package/dist/cjs/api/types/ActionsWithIncludesResponse.d.ts +11 -0
  86. package/dist/cjs/api/types/ActionsWithIncludesResponse.js +3 -0
  87. package/dist/cjs/api/types/AuditLogwithIncludes.d.ts +7 -0
  88. package/dist/cjs/api/types/AuditLogwithIncludes.js +7 -0
  89. package/dist/cjs/api/types/Filters.d.ts +7 -0
  90. package/dist/cjs/api/types/Filters.js +7 -0
  91. package/dist/cjs/api/types/GroupCommon.d.ts +16 -0
  92. package/dist/cjs/api/types/GroupCommon.js +3 -0
  93. package/dist/cjs/api/types/GroupCommonWithIncludes.d.ts +4 -0
  94. package/dist/cjs/api/types/GroupCommonWithIncludes.js +3 -0
  95. package/dist/cjs/api/types/GroupResponse.d.ts +4 -0
  96. package/dist/cjs/api/types/GroupResponse.js +3 -0
  97. package/dist/cjs/api/types/GroupWithIncludes.d.ts +13 -0
  98. package/dist/cjs/api/types/GroupWithIncludes.js +3 -0
  99. package/dist/cjs/api/types/GroupWithIncludesResponse.d.ts +4 -0
  100. package/dist/cjs/api/types/GroupWithIncludesResponse.js +3 -0
  101. package/dist/cjs/api/types/GroupsInclude.d.ts +4 -0
  102. package/dist/cjs/api/types/GroupsInclude.js +3 -0
  103. package/dist/cjs/api/types/GroupsSort.d.ts +10 -0
  104. package/dist/cjs/api/types/GroupsSort.js +13 -0
  105. package/dist/cjs/api/types/GroupsWithIncludesResponse.d.ts +8 -0
  106. package/dist/cjs/api/types/GroupsWithIncludesResponse.js +3 -0
  107. package/dist/cjs/api/types/SingleUserValue.d.ts +1 -1
  108. package/dist/cjs/api/types/SyncGroupWithIncludes.d.ts +15 -0
  109. package/dist/cjs/api/types/SyncGroupWithIncludes.js +14 -0
  110. package/dist/cjs/api/types/index.d.ts +16 -0
  111. package/dist/cjs/api/types/index.js +16 -0
  112. package/dist/cjs/index.d.ts +4 -0
  113. package/dist/cjs/index.js +21 -1
  114. package/dist/cjs/oauth/BaseAuth.d.ts +66 -0
  115. package/dist/cjs/oauth/BaseAuth.js +113 -0
  116. package/dist/cjs/oauth/NativeAppAuth.d.ts +32 -0
  117. package/dist/cjs/oauth/NativeAppAuth.js +35 -0
  118. package/dist/cjs/oauth/SPAAuth.d.ts +38 -0
  119. package/dist/cjs/oauth/SPAAuth.js +96 -0
  120. package/dist/cjs/oauth/ServerToServerAuth.d.ts +17 -0
  121. package/dist/cjs/oauth/ServerToServerAuth.js +49 -0
  122. package/dist/cjs/oauth/TokenManager.d.ts +83 -0
  123. package/dist/cjs/oauth/TokenManager.js +174 -0
  124. package/dist/cjs/oauth/WebAppAuth.d.ts +29 -0
  125. package/dist/cjs/oauth/WebAppAuth.js +88 -0
  126. package/dist/cjs/oauth/errors.d.ts +41 -0
  127. package/dist/cjs/oauth/errors.js +83 -0
  128. package/dist/cjs/oauth/http.d.ts +70 -0
  129. package/dist/cjs/oauth/http.js +280 -0
  130. package/dist/cjs/oauth/index.d.ts +34 -0
  131. package/dist/cjs/oauth/index.js +47 -0
  132. package/dist/cjs/oauth/logger.d.ts +17 -0
  133. package/dist/cjs/oauth/logger.js +18 -0
  134. package/dist/cjs/oauth/pkce.d.ts +30 -0
  135. package/dist/cjs/oauth/pkce.js +102 -0
  136. package/dist/cjs/oauth/validation.d.ts +17 -0
  137. package/dist/cjs/oauth/validation.js +55 -0
  138. package/dist/cjs/version.d.ts +1 -1
  139. package/dist/cjs/version.js +1 -1
  140. package/dist/esm/BaseClient.d.mts +4 -0
  141. package/dist/esm/BaseClient.mjs +4 -2
  142. package/dist/esm/Client.d.mts +6 -0
  143. package/dist/esm/Client.mjs +10 -0
  144. package/dist/esm/api/resources/accountPermissions/client/Client.mjs +7 -7
  145. package/dist/esm/api/resources/accounts/client/Client.mjs +13 -13
  146. package/dist/esm/api/resources/comments/client/Client.mjs +49 -49
  147. package/dist/esm/api/resources/customActions/client/Client.d.mts +145 -0
  148. package/dist/esm/api/resources/customActions/client/Client.mjs +406 -0
  149. package/dist/esm/api/resources/customActions/client/index.d.mts +1 -0
  150. package/dist/esm/api/resources/customActions/client/index.mjs +1 -0
  151. package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.d.mts +31 -0
  152. package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.mjs +2 -0
  153. package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.d.mts +35 -0
  154. package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.mjs +2 -0
  155. package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.d.mts +21 -0
  156. package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.mjs +2 -0
  157. package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.d.mts +9 -0
  158. package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.mjs +2 -0
  159. package/dist/esm/api/resources/customActions/client/requests/index.d.mts +4 -0
  160. package/dist/esm/api/resources/customActions/client/requests/index.mjs +1 -0
  161. package/dist/esm/api/resources/customActions/exports.d.mts +2 -0
  162. package/dist/esm/api/resources/customActions/exports.mjs +3 -0
  163. package/dist/esm/api/resources/customActions/index.d.mts +1 -0
  164. package/dist/esm/api/resources/customActions/index.mjs +1 -0
  165. package/dist/esm/api/resources/files/client/Client.d.mts +1 -1
  166. package/dist/esm/api/resources/files/client/Client.mjs +79 -79
  167. package/dist/esm/api/resources/folders/client/Client.mjs +57 -57
  168. package/dist/esm/api/resources/groups/client/Client.d.mts +116 -0
  169. package/dist/esm/api/resources/groups/client/Client.mjs +331 -0
  170. package/dist/esm/api/resources/groups/client/index.d.mts +1 -0
  171. package/dist/esm/api/resources/groups/client/index.mjs +1 -0
  172. package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.d.mts +20 -0
  173. package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.mjs +2 -0
  174. package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.d.mts +24 -0
  175. package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.mjs +2 -0
  176. package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.d.mts +9 -0
  177. package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.mjs +2 -0
  178. package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.d.mts +20 -0
  179. package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.mjs +2 -0
  180. package/dist/esm/api/resources/groups/client/requests/index.d.mts +4 -0
  181. package/dist/esm/api/resources/groups/client/requests/index.mjs +1 -0
  182. package/dist/esm/api/resources/groups/exports.d.mts +2 -0
  183. package/dist/esm/api/resources/groups/exports.mjs +3 -0
  184. package/dist/esm/api/resources/groups/index.d.mts +2 -0
  185. package/dist/esm/api/resources/groups/index.mjs +2 -0
  186. package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.d.mts +10 -0
  187. package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.mjs +10 -0
  188. package/dist/esm/api/resources/groups/types/index.d.mts +1 -0
  189. package/dist/esm/api/resources/groups/types/index.mjs +1 -0
  190. package/dist/esm/api/resources/index.d.mts +5 -0
  191. package/dist/esm/api/resources/index.mjs +5 -0
  192. package/dist/esm/api/resources/metadata/client/Client.d.mts +4 -4
  193. package/dist/esm/api/resources/metadata/client/Client.mjs +19 -19
  194. package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +4 -4
  195. package/dist/esm/api/resources/metadataFields/client/Client.mjs +29 -29
  196. package/dist/esm/api/resources/projectPermissions/client/Client.mjs +21 -21
  197. package/dist/esm/api/resources/projects/client/Client.mjs +35 -35
  198. package/dist/esm/api/resources/shares/client/Client.d.mts +4 -4
  199. package/dist/esm/api/resources/shares/client/Client.mjs +73 -73
  200. package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
  201. package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
  202. package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +1 -1
  203. package/dist/esm/api/resources/users/client/Client.mjs +8 -8
  204. package/dist/esm/api/resources/versionStacks/client/Client.d.mts +1 -1
  205. package/dist/esm/api/resources/versionStacks/client/Client.mjs +44 -44
  206. package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +1 -1
  207. package/dist/esm/api/resources/webhooks/client/Client.mjs +35 -35
  208. package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +21 -21
  209. package/dist/esm/api/resources/workspaces/client/Client.mjs +35 -35
  210. package/dist/esm/api/types/Account.d.mts +0 -2
  211. package/dist/esm/api/types/Action.d.mts +25 -0
  212. package/dist/esm/api/types/Action.mjs +2 -0
  213. package/dist/esm/api/types/ActionCreateResponse.d.mts +13 -0
  214. package/dist/esm/api/types/ActionCreateResponse.mjs +2 -0
  215. package/dist/esm/api/types/ActionInclude.d.mts +4 -0
  216. package/dist/esm/api/types/ActionInclude.mjs +2 -0
  217. package/dist/esm/api/types/ActionResponse.d.mts +7 -0
  218. package/dist/esm/api/types/ActionResponse.mjs +2 -0
  219. package/dist/esm/api/types/ActionWithIncludes.d.mts +4 -0
  220. package/dist/esm/api/types/ActionWithIncludes.mjs +2 -0
  221. package/dist/esm/api/types/ActionWithIncludesResponse.d.mts +7 -0
  222. package/dist/esm/api/types/ActionWithIncludesResponse.mjs +2 -0
  223. package/dist/esm/api/types/ActionsWithIncludesResponse.d.mts +11 -0
  224. package/dist/esm/api/types/ActionsWithIncludesResponse.mjs +2 -0
  225. package/dist/esm/api/types/AuditLogwithIncludes.d.mts +7 -0
  226. package/dist/esm/api/types/AuditLogwithIncludes.mjs +7 -0
  227. package/dist/esm/api/types/Filters.d.mts +7 -0
  228. package/dist/esm/api/types/Filters.mjs +7 -0
  229. package/dist/esm/api/types/GroupCommon.d.mts +16 -0
  230. package/dist/esm/api/types/GroupCommon.mjs +2 -0
  231. package/dist/esm/api/types/GroupCommonWithIncludes.d.mts +4 -0
  232. package/dist/esm/api/types/GroupCommonWithIncludes.mjs +2 -0
  233. package/dist/esm/api/types/GroupResponse.d.mts +4 -0
  234. package/dist/esm/api/types/GroupResponse.mjs +2 -0
  235. package/dist/esm/api/types/GroupWithIncludes.d.mts +13 -0
  236. package/dist/esm/api/types/GroupWithIncludes.mjs +2 -0
  237. package/dist/esm/api/types/GroupWithIncludesResponse.d.mts +4 -0
  238. package/dist/esm/api/types/GroupWithIncludesResponse.mjs +2 -0
  239. package/dist/esm/api/types/GroupsInclude.d.mts +4 -0
  240. package/dist/esm/api/types/GroupsInclude.mjs +2 -0
  241. package/dist/esm/api/types/GroupsSort.d.mts +10 -0
  242. package/dist/esm/api/types/GroupsSort.mjs +10 -0
  243. package/dist/esm/api/types/GroupsWithIncludesResponse.d.mts +8 -0
  244. package/dist/esm/api/types/GroupsWithIncludesResponse.mjs +2 -0
  245. package/dist/esm/api/types/SingleUserValue.d.mts +1 -1
  246. package/dist/esm/api/types/SyncGroupWithIncludes.d.mts +15 -0
  247. package/dist/esm/api/types/SyncGroupWithIncludes.mjs +11 -0
  248. package/dist/esm/api/types/index.d.mts +16 -0
  249. package/dist/esm/api/types/index.mjs +16 -0
  250. package/dist/esm/index.d.mts +4 -0
  251. package/dist/esm/index.mjs +6 -0
  252. package/dist/esm/oauth/BaseAuth.d.mts +66 -0
  253. package/dist/esm/oauth/BaseAuth.mjs +109 -0
  254. package/dist/esm/oauth/NativeAppAuth.d.mts +32 -0
  255. package/dist/esm/oauth/NativeAppAuth.mjs +31 -0
  256. package/dist/esm/oauth/SPAAuth.d.mts +38 -0
  257. package/dist/esm/oauth/SPAAuth.mjs +92 -0
  258. package/dist/esm/oauth/ServerToServerAuth.d.mts +17 -0
  259. package/dist/esm/oauth/ServerToServerAuth.mjs +45 -0
  260. package/dist/esm/oauth/TokenManager.d.mts +83 -0
  261. package/dist/esm/oauth/TokenManager.mjs +170 -0
  262. package/dist/esm/oauth/WebAppAuth.d.mts +29 -0
  263. package/dist/esm/oauth/WebAppAuth.mjs +84 -0
  264. package/dist/esm/oauth/errors.d.mts +41 -0
  265. package/dist/esm/oauth/errors.mjs +72 -0
  266. package/dist/esm/oauth/http.d.mts +70 -0
  267. package/dist/esm/oauth/http.mjs +274 -0
  268. package/dist/esm/oauth/index.d.mts +34 -0
  269. package/dist/esm/oauth/index.mjs +30 -0
  270. package/dist/esm/oauth/logger.d.mts +17 -0
  271. package/dist/esm/oauth/logger.mjs +15 -0
  272. package/dist/esm/oauth/pkce.d.mts +30 -0
  273. package/dist/esm/oauth/pkce.mjs +98 -0
  274. package/dist/esm/oauth/validation.d.mts +17 -0
  275. package/dist/esm/oauth/validation.mjs +51 -0
  276. package/dist/esm/version.d.mts +1 -1
  277. package/dist/esm/version.mjs +1 -1
  278. package/package.json +23 -1
  279. package/reference.md +1318 -586
@@ -84,22 +84,22 @@ class WorkspacesClient {
84
84
  }
85
85
  __show(account_id_1, workspace_id_1) {
86
86
  return __awaiter(this, arguments, void 0, function* (account_id, workspace_id, request = {}, requestOptions) {
87
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
87
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
88
88
  const { include } = request;
89
89
  const _queryParams = {
90
90
  include: include != null ? include : undefined,
91
91
  };
92
92
  const _authRequest = yield this._options.authProvider.getAuthRequest();
93
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
94
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
95
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces/${core.url.encodePathParam(workspace_id)}`),
93
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
94
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
95
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces/${core.url.encodePathParam(workspace_id)}`),
96
96
  method: "GET",
97
97
  headers: _headers,
98
98
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
99
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
100
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
99
+ timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 60) * 1000,
100
+ maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
101
101
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
102
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
102
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
103
103
  logging: this._options.logging,
104
104
  });
105
105
  if (_response.ok) {
@@ -158,18 +158,18 @@ class WorkspacesClient {
158
158
  }
159
159
  __delete(account_id, workspace_id, requestOptions) {
160
160
  return __awaiter(this, void 0, void 0, function* () {
161
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
161
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
162
162
  const _authRequest = yield this._options.authProvider.getAuthRequest();
163
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
164
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
165
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces/${core.url.encodePathParam(workspace_id)}`),
163
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
164
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
165
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces/${core.url.encodePathParam(workspace_id)}`),
166
166
  method: "DELETE",
167
167
  headers: _headers,
168
168
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
169
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
170
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
169
+ timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 60) * 1000,
170
+ maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
171
171
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
172
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
172
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
173
173
  logging: this._options.logging,
174
174
  });
175
175
  if (_response.ok) {
@@ -230,21 +230,21 @@ class WorkspacesClient {
230
230
  }
231
231
  __update(account_id, workspace_id, request, requestOptions) {
232
232
  return __awaiter(this, void 0, void 0, function* () {
233
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
233
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
234
234
  const _authRequest = yield this._options.authProvider.getAuthRequest();
235
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
236
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
237
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces/${core.url.encodePathParam(workspace_id)}`),
235
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
236
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
237
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces/${core.url.encodePathParam(workspace_id)}`),
238
238
  method: "PATCH",
239
239
  headers: _headers,
240
240
  contentType: "application/json",
241
241
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
242
242
  requestType: "json",
243
243
  body: request,
244
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
245
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
244
+ timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 60) * 1000,
245
+ maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
246
246
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
247
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
247
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
248
248
  logging: this._options.logging,
249
249
  });
250
250
  if (_response.ok) {
@@ -304,17 +304,17 @@ class WorkspacesClient {
304
304
  return __awaiter(this, arguments, void 0, function* (account_id, _request = {}, requestOptions) {
305
305
  var _a, _b;
306
306
  const list = core.HttpResponsePromise.interceptFunction((_requestUrl) => __awaiter(this, void 0, void 0, function* () {
307
- var _a, _b, _c, _d, _e, _f, _g, _h;
307
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
308
308
  const _authRequest = yield this._options.authProvider.getAuthRequest();
309
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
310
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
309
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
310
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
311
311
  url: _requestUrl,
312
312
  method: "GET",
313
313
  headers: _headers,
314
- timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
315
- maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
314
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
315
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
316
316
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
317
- fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
317
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
318
318
  logging: this._options.logging,
319
319
  });
320
320
  if (_response.ok) {
@@ -389,21 +389,21 @@ class WorkspacesClient {
389
389
  }
390
390
  __create(account_id, request, requestOptions) {
391
391
  return __awaiter(this, void 0, void 0, function* () {
392
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
392
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
393
393
  const _authRequest = yield this._options.authProvider.getAuthRequest();
394
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
395
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
396
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces`),
394
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
395
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
396
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.FrameioEnvironment.Default, `v4/accounts/${core.url.encodePathParam(account_id)}/workspaces`),
397
397
  method: "POST",
398
398
  headers: _headers,
399
399
  contentType: "application/json",
400
400
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
401
401
  requestType: "json",
402
402
  body: request,
403
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
404
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
403
+ timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 60) * 1000,
404
+ maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
405
405
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
406
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
406
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
407
407
  logging: this._options.logging,
408
408
  });
409
409
  if (_response.ok) {
@@ -10,8 +10,6 @@ export interface Account {
10
10
  id: string;
11
11
  /** The account image url */
12
12
  image?: string | undefined;
13
- /** Whether mounted storage is enabled for this account */
14
- mounted_storage_enabled?: boolean | undefined;
15
13
  /** Account User Roles */
16
14
  roles: Account.Roles.Item[];
17
15
  /** The number of bytes of non-archived storage in the account. Value is nil when there is no limit */
@@ -0,0 +1,25 @@
1
+ export interface Action {
2
+ /** Active Status */
3
+ active: boolean;
4
+ created_at: string;
5
+ /** Creator ID */
6
+ creator_id: string;
7
+ deleted_at?: string | undefined;
8
+ /** Action Description */
9
+ description: string;
10
+ /** Event Name */
11
+ event: string;
12
+ /** Action ID */
13
+ id: string;
14
+ /** Manages action trigger on multiple assets */
15
+ multi_asset?: boolean | undefined;
16
+ /** Action Name */
17
+ name: string;
18
+ /** Timeout for the action requests in seconds */
19
+ timeout?: number | undefined;
20
+ updated_at: string;
21
+ /** Action URL */
22
+ url: string;
23
+ /** Workspace ID */
24
+ workspace_id: string;
25
+ }
@@ -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 });
@@ -0,0 +1,13 @@
1
+ import type * as Frameio from "../index.js";
2
+ /**
3
+ * Returns a single custom action with secret.
4
+ */
5
+ export interface ActionCreateResponse {
6
+ data: ActionCreateResponse.Data;
7
+ }
8
+ export declare namespace ActionCreateResponse {
9
+ interface Data extends Frameio.Action {
10
+ /** Secret used to validate underlying webhook requests. Make sure to store your secret. You won't be able to see it again! */
11
+ secret: string;
12
+ }
13
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Include query parameter for custom actions
3
+ */
4
+ export type ActionInclude = "creator";
@@ -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 });
@@ -0,0 +1,7 @@
1
+ import type * as Frameio from "../index.js";
2
+ /**
3
+ * Action details
4
+ */
5
+ export interface ActionResponse {
6
+ data: Frameio.Action;
7
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ import type * as Frameio from "../index.js";
2
+ export interface ActionWithIncludes extends Frameio.Action {
3
+ creator?: Frameio.User | undefined;
4
+ }
@@ -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 });
@@ -0,0 +1,7 @@
1
+ import type * as Frameio from "../index.js";
2
+ /**
3
+ * Frame.io action details
4
+ */
5
+ export interface ActionWithIncludesResponse {
6
+ data: Frameio.ActionWithIncludes;
7
+ }
@@ -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 });
@@ -0,0 +1,11 @@
1
+ import type * as Frameio from "../index.js";
2
+ /**
3
+ * Frame.io actions
4
+ */
5
+ export interface ActionsWithIncludesResponse {
6
+ /** Actions */
7
+ data: Frameio.ActionWithIncludes[];
8
+ links: Frameio.Links;
9
+ /** Total count */
10
+ total_count?: number | undefined;
11
+ }
@@ -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 });
@@ -91,6 +91,8 @@ export declare namespace AuditLogwithIncludes {
91
91
  readonly CommentLiked: "comment_liked";
92
92
  readonly CommentUncompleted: "comment_uncompleted";
93
93
  readonly CommentUpdated: "comment_updated";
94
+ readonly ControlledDomainCreated: "controlled_domain_created";
95
+ readonly ControlledDomainUpdated: "controlled_domain_updated";
94
96
  readonly EmailAddressChanged: "email_address_changed";
95
97
  readonly EmailChangeConfirmationRequested: "email_change_confirmation_requested";
96
98
  readonly EmailConfirmed: "email_confirmed";
@@ -179,6 +181,9 @@ export declare namespace AuditLogwithIncludes {
179
181
  readonly ShareCreated: "share_created";
180
182
  readonly ShareDeleted: "share_deleted";
181
183
  readonly ShareInvitesSent: "share_invites_sent";
184
+ readonly ShareListCreated: "share_list_created";
185
+ readonly ShareListDeleted: "share_list_deleted";
186
+ readonly ShareListUpdated: "share_list_updated";
182
187
  readonly ShareReviewersAdded: "share_reviewers_added";
183
188
  readonly ShareReviewersRemoved: "share_reviewers_removed";
184
189
  readonly ShareUpdated: "share_updated";
@@ -240,6 +245,7 @@ export declare namespace AuditLogwithIncludes {
240
245
  readonly Collection: "collection";
241
246
  readonly Comment: "comment";
242
247
  readonly CommentImpression: "comment_impression";
248
+ readonly ControlledDomain: "controlled_domain";
243
249
  readonly Folder: "folder";
244
250
  readonly JoinRequest: "join_request";
245
251
  readonly LoginFactor: "login_factor";
@@ -260,6 +266,7 @@ export declare namespace AuditLogwithIncludes {
260
266
  readonly Reviewer: "reviewer";
261
267
  readonly SbwmTemplate: "sbwm_template";
262
268
  readonly Share: "share";
269
+ readonly ShareList: "share_list";
263
270
  readonly Subscription: "subscription";
264
271
  readonly SubscriptionLineItem: "subscription_line_item";
265
272
  readonly Team: "team";
@@ -80,6 +80,8 @@ var AuditLogwithIncludes;
80
80
  CommentLiked: "comment_liked",
81
81
  CommentUncompleted: "comment_uncompleted",
82
82
  CommentUpdated: "comment_updated",
83
+ ControlledDomainCreated: "controlled_domain_created",
84
+ ControlledDomainUpdated: "controlled_domain_updated",
83
85
  EmailAddressChanged: "email_address_changed",
84
86
  EmailChangeConfirmationRequested: "email_change_confirmation_requested",
85
87
  EmailConfirmed: "email_confirmed",
@@ -168,6 +170,9 @@ var AuditLogwithIncludes;
168
170
  ShareCreated: "share_created",
169
171
  ShareDeleted: "share_deleted",
170
172
  ShareInvitesSent: "share_invites_sent",
173
+ ShareListCreated: "share_list_created",
174
+ ShareListDeleted: "share_list_deleted",
175
+ ShareListUpdated: "share_list_updated",
171
176
  ShareReviewersAdded: "share_reviewers_added",
172
177
  ShareReviewersRemoved: "share_reviewers_removed",
173
178
  ShareUpdated: "share_updated",
@@ -228,6 +233,7 @@ var AuditLogwithIncludes;
228
233
  Collection: "collection",
229
234
  Comment: "comment",
230
235
  CommentImpression: "comment_impression",
236
+ ControlledDomain: "controlled_domain",
231
237
  Folder: "folder",
232
238
  JoinRequest: "join_request",
233
239
  LoginFactor: "login_factor",
@@ -248,6 +254,7 @@ var AuditLogwithIncludes;
248
254
  Reviewer: "reviewer",
249
255
  SbwmTemplate: "sbwm_template",
250
256
  Share: "share",
257
+ ShareList: "share_list",
251
258
  Subscription: "subscription",
252
259
  SubscriptionLineItem: "subscription_line_item",
253
260
  Team: "team",
@@ -99,6 +99,8 @@ export declare namespace Filters {
99
99
  readonly CommentLiked: "comment_liked";
100
100
  readonly CommentUncompleted: "comment_uncompleted";
101
101
  readonly CommentUpdated: "comment_updated";
102
+ readonly ControlledDomainCreated: "controlled_domain_created";
103
+ readonly ControlledDomainUpdated: "controlled_domain_updated";
102
104
  readonly EmailAddressChanged: "email_address_changed";
103
105
  readonly EmailChangeConfirmationRequested: "email_change_confirmation_requested";
104
106
  readonly EmailConfirmed: "email_confirmed";
@@ -187,6 +189,9 @@ export declare namespace Filters {
187
189
  readonly ShareCreated: "share_created";
188
190
  readonly ShareDeleted: "share_deleted";
189
191
  readonly ShareInvitesSent: "share_invites_sent";
192
+ readonly ShareListCreated: "share_list_created";
193
+ readonly ShareListDeleted: "share_list_deleted";
194
+ readonly ShareListUpdated: "share_list_updated";
190
195
  readonly ShareReviewersAdded: "share_reviewers_added";
191
196
  readonly ShareReviewersRemoved: "share_reviewers_removed";
192
197
  readonly ShareUpdated: "share_updated";
@@ -249,6 +254,7 @@ export declare namespace Filters {
249
254
  readonly Collection: "collection";
250
255
  readonly Comment: "comment";
251
256
  readonly CommentImpression: "comment_impression";
257
+ readonly ControlledDomain: "controlled_domain";
252
258
  readonly Folder: "folder";
253
259
  readonly JoinRequest: "join_request";
254
260
  readonly LoginFactor: "login_factor";
@@ -269,6 +275,7 @@ export declare namespace Filters {
269
275
  readonly Reviewer: "reviewer";
270
276
  readonly SbwmTemplate: "sbwm_template";
271
277
  readonly Share: "share";
278
+ readonly ShareList: "share_list";
272
279
  readonly Subscription: "subscription";
273
280
  readonly SubscriptionLineItem: "subscription_line_item";
274
281
  readonly Team: "team";
@@ -81,6 +81,8 @@ var Filters;
81
81
  CommentLiked: "comment_liked",
82
82
  CommentUncompleted: "comment_uncompleted",
83
83
  CommentUpdated: "comment_updated",
84
+ ControlledDomainCreated: "controlled_domain_created",
85
+ ControlledDomainUpdated: "controlled_domain_updated",
84
86
  EmailAddressChanged: "email_address_changed",
85
87
  EmailChangeConfirmationRequested: "email_change_confirmation_requested",
86
88
  EmailConfirmed: "email_confirmed",
@@ -169,6 +171,9 @@ var Filters;
169
171
  ShareCreated: "share_created",
170
172
  ShareDeleted: "share_deleted",
171
173
  ShareInvitesSent: "share_invites_sent",
174
+ ShareListCreated: "share_list_created",
175
+ ShareListDeleted: "share_list_deleted",
176
+ ShareListUpdated: "share_list_updated",
172
177
  ShareReviewersAdded: "share_reviewers_added",
173
178
  ShareReviewersRemoved: "share_reviewers_removed",
174
179
  ShareUpdated: "share_updated",
@@ -230,6 +235,7 @@ var Filters;
230
235
  Collection: "collection",
231
236
  Comment: "comment",
232
237
  CommentImpression: "comment_impression",
238
+ ControlledDomain: "controlled_domain",
233
239
  Folder: "folder",
234
240
  JoinRequest: "join_request",
235
241
  LoginFactor: "login_factor",
@@ -250,6 +256,7 @@ var Filters;
250
256
  Reviewer: "reviewer",
251
257
  SbwmTemplate: "sbwm_template",
252
258
  Share: "share",
259
+ ShareList: "share_list",
253
260
  Subscription: "subscription",
254
261
  SubscriptionLineItem: "subscription_line_item",
255
262
  Team: "team",
@@ -0,0 +1,16 @@
1
+ export interface GroupCommon {
2
+ /** Creation timestamp */
3
+ created_at: string;
4
+ /** ID of group creator */
5
+ creator_id?: string | undefined;
6
+ /** Group emoji for UI display */
7
+ emoji: string;
8
+ /** Group ID */
9
+ id: string;
10
+ /** Number of members in group */
11
+ member_count: number;
12
+ /** Group name */
13
+ name: string;
14
+ /** Update timestamp */
15
+ updated_at: string;
16
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ import type * as Frameio from "../index.js";
2
+ export interface GroupCommonWithIncludes extends Frameio.GroupCommon {
3
+ creator?: Frameio.User | undefined;
4
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ import type * as Frameio from "../index.js";
2
+ export interface GroupResponse {
3
+ data: Frameio.GroupCommon;
4
+ }
@@ -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 });
@@ -0,0 +1,13 @@
1
+ import type * as Frameio from "../index.js";
2
+ export type GroupWithIncludes = Frameio.GroupWithIncludes.Adobe | Frameio.GroupWithIncludes.Frame | Frameio.GroupWithIncludes.Workfront;
3
+ export declare namespace GroupWithIncludes {
4
+ interface Adobe extends Frameio.SyncGroupWithIncludes {
5
+ source: "adobe";
6
+ }
7
+ interface Frame extends Frameio.GroupCommonWithIncludes {
8
+ source: "frame";
9
+ }
10
+ interface Workfront extends Frameio.GroupCommonWithIncludes {
11
+ source: "workfront";
12
+ }
13
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ import type * as Frameio from "../index.js";
2
+ export interface GroupWithIncludesResponse {
3
+ data: Frameio.GroupWithIncludes;
4
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Include query parameter for groups
3
+ */
4
+ export type GroupsInclude = "creator";
@@ -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 });
@@ -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 = {}));