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
@@ -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)));
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
12
- import { mergeHeaders } from "../../../../core/headers.mjs";
12
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
13
13
  import * as core from "../../../../core/index.mjs";
14
14
  import * as environments from "../../../../environments.mjs";
15
15
  import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
@@ -49,17 +49,17 @@ export class AccountPermissionsClient {
49
49
  return __awaiter(this, arguments, void 0, function* (account_id, _request = {}, requestOptions) {
50
50
  var _a, _b;
51
51
  const list = core.HttpResponsePromise.interceptFunction((_requestUrl) => __awaiter(this, void 0, void 0, function* () {
52
- var _a, _b, _c, _d, _e, _f, _g, _h;
52
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
53
53
  const _authRequest = yield this._options.authProvider.getAuthRequest();
54
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
55
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
54
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
55
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
56
56
  url: _requestUrl,
57
57
  method: "GET",
58
58
  headers: _headers,
59
- 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,
60
- 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,
59
+ 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,
60
+ 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,
61
61
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
62
- fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
62
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
63
63
  logging: this._options.logging,
64
64
  });
65
65
  if (_response.ok) {
@@ -47,17 +47,17 @@ export class AccountsClient {
47
47
  return __awaiter(this, arguments, void 0, function* (_request = {}, requestOptions) {
48
48
  var _a, _b;
49
49
  const list = core.HttpResponsePromise.interceptFunction((_requestUrl) => __awaiter(this, void 0, void 0, function* () {
50
- var _a, _b, _c, _d, _e, _f, _g, _h;
50
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
51
51
  const _authRequest = yield this._options.authProvider.getAuthRequest();
52
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
53
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
52
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
53
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
54
54
  url: _requestUrl,
55
55
  method: "GET",
56
56
  headers: _headers,
57
- 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,
58
- 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,
57
+ 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,
58
+ 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,
59
59
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
60
- fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
60
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
61
61
  logging: this._options.logging,
62
62
  });
63
63
  if (_response.ok) {
@@ -130,7 +130,7 @@ export class AccountsClient {
130
130
  }
131
131
  __auditlogIndex(account_id_1) {
132
132
  return __awaiter(this, arguments, void 0, function* (account_id, request = {}, requestOptions) {
133
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
133
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
134
134
  const { include, filters, after, page_size: pageSize, include_total_count: includeTotalCount } = request;
135
135
  const _queryParams = {
136
136
  include: include != null ? include : undefined,
@@ -140,16 +140,16 @@ export class AccountsClient {
140
140
  include_total_count: includeTotalCount,
141
141
  };
142
142
  const _authRequest = yield this._options.authProvider.getAuthRequest();
143
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "api-version": "4.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
144
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
145
- 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)}/audit_logs`),
143
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "api-version": "4.0", "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);
144
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
145
+ 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)}/audit_logs`),
146
146
  method: "GET",
147
147
  headers: _headers,
148
148
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
149
- 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,
150
- 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,
149
+ 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,
150
+ 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,
151
151
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
152
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
152
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
153
153
  logging: this._options.logging,
154
154
  });
155
155
  if (_response.ok) {
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  return t;
21
21
  };
22
22
  import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
23
- import { mergeHeaders } from "../../../../core/headers.mjs";
23
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
24
24
  import * as core from "../../../../core/index.mjs";
25
25
  import * as environments from "../../../../environments.mjs";
26
26
  import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
@@ -57,18 +57,18 @@ export class CommentsClient {
57
57
  }
58
58
  __deleteAttachment(account_id, comment_id, attachment_id, requestOptions) {
59
59
  return __awaiter(this, void 0, void 0, function* () {
60
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
60
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
61
61
  const _authRequest = yield this._options.authProvider.getAuthRequest();
62
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
63
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
64
- 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)}/comments/${core.url.encodePathParam(comment_id)}/attachments/${core.url.encodePathParam(attachment_id)}`),
62
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
63
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
64
+ 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)}/comments/${core.url.encodePathParam(comment_id)}/attachments/${core.url.encodePathParam(attachment_id)}`),
65
65
  method: "DELETE",
66
66
  headers: _headers,
67
67
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
68
- 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,
69
- 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,
68
+ 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,
69
+ 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,
70
70
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
71
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
71
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
72
72
  logging: this._options.logging,
73
73
  });
74
74
  if (_response.ok) {
@@ -131,21 +131,21 @@ export class CommentsClient {
131
131
  }
132
132
  __createAttachment(account_id, comment_id, request, requestOptions) {
133
133
  return __awaiter(this, void 0, void 0, function* () {
134
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
134
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
135
135
  const _authRequest = yield this._options.authProvider.getAuthRequest();
136
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
137
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
138
- 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)}/comments/${core.url.encodePathParam(comment_id)}/attachments`),
136
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
137
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
138
+ 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)}/comments/${core.url.encodePathParam(comment_id)}/attachments`),
139
139
  method: "POST",
140
140
  headers: _headers,
141
141
  contentType: "application/json",
142
142
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
143
143
  requestType: "json",
144
144
  body: request,
145
- 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,
146
- 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,
145
+ 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,
146
+ 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,
147
147
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
148
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
148
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
149
149
  logging: this._options.logging,
150
150
  });
151
151
  if (_response.ok) {
@@ -205,23 +205,23 @@ export class CommentsClient {
205
205
  }
206
206
  __show(account_id_1, comment_id_1) {
207
207
  return __awaiter(this, arguments, void 0, function* (account_id, comment_id, request = {}, requestOptions) {
208
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
208
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
209
209
  const { timestamp_as_timecode: timestampAsTimecode, include } = request;
210
210
  const _queryParams = {
211
211
  timestamp_as_timecode: timestampAsTimecode,
212
212
  include: include != null ? include : undefined,
213
213
  };
214
214
  const _authRequest = yield this._options.authProvider.getAuthRequest();
215
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
216
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
217
- 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)}/comments/${core.url.encodePathParam(comment_id)}`),
215
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
216
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
217
+ 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)}/comments/${core.url.encodePathParam(comment_id)}`),
218
218
  method: "GET",
219
219
  headers: _headers,
220
220
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
221
- 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,
222
- 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,
221
+ 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,
222
+ 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,
223
223
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
224
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
224
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
225
225
  logging: this._options.logging,
226
226
  });
227
227
  if (_response.ok) {
@@ -277,18 +277,18 @@ export class CommentsClient {
277
277
  }
278
278
  __delete(account_id, comment_id, requestOptions) {
279
279
  return __awaiter(this, void 0, void 0, function* () {
280
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
280
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
281
281
  const _authRequest = yield this._options.authProvider.getAuthRequest();
282
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
283
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
284
- 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)}/comments/${core.url.encodePathParam(comment_id)}`),
282
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
283
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
284
+ 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)}/comments/${core.url.encodePathParam(comment_id)}`),
285
285
  method: "DELETE",
286
286
  headers: _headers,
287
287
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
288
- 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,
289
- 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,
288
+ 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,
289
+ 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,
290
290
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
291
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
291
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
292
292
  logging: this._options.logging,
293
293
  });
294
294
  if (_response.ok) {
@@ -368,25 +368,25 @@ export class CommentsClient {
368
368
  }
369
369
  __update(account_id, comment_id, request, requestOptions) {
370
370
  return __awaiter(this, void 0, void 0, function* () {
371
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
371
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
372
372
  const { timestamp_as_timecode: timestampAsTimecode } = request, _body = __rest(request, ["timestamp_as_timecode"]);
373
373
  const _queryParams = {
374
374
  timestamp_as_timecode: timestampAsTimecode,
375
375
  };
376
376
  const _authRequest = yield this._options.authProvider.getAuthRequest();
377
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
378
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
379
- 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)}/comments/${core.url.encodePathParam(comment_id)}`),
377
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
378
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
379
+ 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)}/comments/${core.url.encodePathParam(comment_id)}`),
380
380
  method: "PATCH",
381
381
  headers: _headers,
382
382
  contentType: "application/json",
383
383
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
384
384
  requestType: "json",
385
385
  body: _body,
386
- 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,
387
- 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,
386
+ 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,
387
+ 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,
388
388
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
389
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
389
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
390
390
  logging: this._options.logging,
391
391
  });
392
392
  if (_response.ok) {
@@ -449,17 +449,17 @@ export class CommentsClient {
449
449
  return __awaiter(this, arguments, void 0, function* (account_id, file_id, _request = {}, requestOptions) {
450
450
  var _a, _b;
451
451
  const list = core.HttpResponsePromise.interceptFunction((_requestUrl) => __awaiter(this, void 0, void 0, function* () {
452
- var _a, _b, _c, _d, _e, _f, _g, _h;
452
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
453
453
  const _authRequest = yield this._options.authProvider.getAuthRequest();
454
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
455
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
454
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
455
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
456
456
  url: _requestUrl,
457
457
  method: "GET",
458
458
  headers: _headers,
459
- 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,
460
- 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,
459
+ 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,
460
+ 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,
461
461
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
462
- fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
462
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
463
463
  logging: this._options.logging,
464
464
  });
465
465
  if (_response.ok) {
@@ -566,25 +566,25 @@ export class CommentsClient {
566
566
  }
567
567
  __create(account_id, file_id, request, requestOptions) {
568
568
  return __awaiter(this, void 0, void 0, function* () {
569
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
569
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
570
570
  const { timestamp_as_timecode: timestampAsTimecode } = request, _body = __rest(request, ["timestamp_as_timecode"]);
571
571
  const _queryParams = {
572
572
  timestamp_as_timecode: timestampAsTimecode,
573
573
  };
574
574
  const _authRequest = yield this._options.authProvider.getAuthRequest();
575
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
576
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
577
- 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)}/files/${core.url.encodePathParam(file_id)}/comments`),
575
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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);
576
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
577
+ 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)}/files/${core.url.encodePathParam(file_id)}/comments`),
578
578
  method: "POST",
579
579
  headers: _headers,
580
580
  contentType: "application/json",
581
581
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
582
582
  requestType: "json",
583
583
  body: _body,
584
- 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,
585
- 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,
584
+ 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,
585
+ 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,
586
586
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
587
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
587
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
588
588
  logging: this._options.logging,
589
589
  });
590
590
  if (_response.ok) {
@@ -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
+ }