frameio 4.1.1 → 4.2.1

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 (764) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +15 -0
  3. package/dist/cjs/Client.js +51 -26
  4. package/dist/cjs/api/resources/accountPermissions/client/Client.d.ts +3 -2
  5. package/dist/cjs/api/resources/accountPermissions/client/Client.js +2 -1
  6. package/dist/cjs/api/resources/accountPermissions/client/requests/AccountPermissionsIndexRequest.d.ts +3 -0
  7. package/dist/cjs/api/resources/accountPermissions/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/accountPermissions/index.js +1 -0
  9. package/dist/cjs/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.d.ts +10 -0
  10. package/dist/cjs/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.js +13 -0
  11. package/dist/cjs/api/resources/accountPermissions/types/index.d.ts +1 -0
  12. package/dist/cjs/api/resources/accountPermissions/types/index.js +17 -0
  13. package/dist/cjs/api/resources/accounts/client/Client.d.ts +3 -2
  14. package/dist/cjs/api/resources/accounts/client/Client.js +2 -1
  15. package/dist/cjs/api/resources/accounts/client/requests/AccountsIndexRequest.d.ts +3 -0
  16. package/dist/cjs/api/resources/accounts/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/accounts/index.js +1 -0
  18. package/dist/cjs/api/resources/accounts/types/AccountsIndexRequestSort.d.ts +8 -0
  19. package/dist/cjs/api/resources/accounts/types/AccountsIndexRequestSort.js +11 -0
  20. package/dist/cjs/api/resources/accounts/types/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/accounts/types/index.js +17 -0
  22. package/dist/cjs/api/resources/collections/client/Client.d.ts +65 -0
  23. package/dist/cjs/api/resources/collections/client/Client.js +216 -0
  24. package/dist/cjs/api/resources/collections/client/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/collections/client/index.js +17 -0
  26. package/dist/cjs/api/resources/collections/client/requests/CollectionsIndexRequest.d.ts +21 -0
  27. package/dist/cjs/api/resources/collections/client/requests/CollectionsIndexRequest.js +3 -0
  28. package/dist/cjs/api/resources/collections/client/requests/CollectionsShowRequest.d.ts +10 -0
  29. package/dist/cjs/api/resources/collections/client/requests/CollectionsShowRequest.js +3 -0
  30. package/dist/cjs/api/resources/collections/client/requests/index.d.ts +2 -0
  31. package/dist/cjs/api/resources/collections/client/requests/index.js +2 -0
  32. package/dist/cjs/api/resources/collections/exports.d.ts +2 -0
  33. package/dist/cjs/api/resources/collections/exports.js +21 -0
  34. package/dist/cjs/api/resources/collections/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/collections/index.js +17 -0
  36. package/dist/cjs/api/resources/comments/client/Client.d.ts +17 -17
  37. package/dist/cjs/api/resources/comments/client/Client.js +10 -10
  38. package/dist/cjs/api/resources/customActions/client/Client.d.ts +145 -0
  39. package/dist/cjs/api/resources/customActions/client/Client.js +443 -0
  40. package/dist/cjs/api/resources/customActions/client/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/customActions/client/index.js +17 -0
  42. package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.d.ts +31 -0
  43. package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.js +3 -0
  44. package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.d.ts +35 -0
  45. package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.js +3 -0
  46. package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.d.ts +21 -0
  47. package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.js +3 -0
  48. package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.d.ts +9 -0
  49. package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.js +3 -0
  50. package/dist/cjs/api/resources/customActions/client/requests/index.d.ts +4 -0
  51. package/dist/cjs/api/resources/customActions/client/requests/index.js +2 -0
  52. package/dist/cjs/api/resources/customActions/exports.d.ts +2 -0
  53. package/dist/cjs/api/resources/customActions/exports.js +21 -0
  54. package/dist/cjs/api/resources/customActions/index.d.ts +1 -0
  55. package/dist/cjs/api/resources/customActions/index.js +17 -0
  56. package/dist/cjs/api/resources/files/client/Client.d.ts +34 -34
  57. package/dist/cjs/api/resources/files/client/Client.js +23 -23
  58. package/dist/cjs/api/resources/files/types/FilesListRequestInclude.d.ts +0 -1
  59. package/dist/cjs/api/resources/files/types/FilesListRequestInclude.js +0 -1
  60. package/dist/cjs/api/resources/files/types/FilesShowRequestInclude.d.ts +0 -1
  61. package/dist/cjs/api/resources/files/types/FilesShowRequestInclude.js +0 -1
  62. package/dist/cjs/api/resources/folderPermissions/client/Client.d.ts +90 -0
  63. package/dist/cjs/api/resources/folderPermissions/client/Client.js +287 -0
  64. package/dist/cjs/api/resources/folderPermissions/client/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/folderPermissions/client/index.js +17 -0
  66. package/dist/cjs/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.ts +22 -0
  67. package/dist/cjs/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.js +3 -0
  68. package/dist/cjs/api/resources/folderPermissions/client/requests/index.d.ts +1 -0
  69. package/dist/cjs/api/resources/folderPermissions/client/requests/index.js +2 -0
  70. package/dist/cjs/api/resources/folderPermissions/exports.d.ts +2 -0
  71. package/dist/cjs/api/resources/folderPermissions/exports.js +21 -0
  72. package/dist/cjs/api/resources/folderPermissions/index.d.ts +1 -0
  73. package/dist/cjs/api/resources/folderPermissions/index.js +17 -0
  74. package/dist/cjs/api/resources/folders/client/Client.d.ts +24 -24
  75. package/dist/cjs/api/resources/folders/client/Client.js +16 -16
  76. package/dist/cjs/api/resources/folders/types/FoldersIndexRequestInclude.d.ts +0 -1
  77. package/dist/cjs/api/resources/folders/types/FoldersIndexRequestInclude.js +0 -1
  78. package/dist/cjs/api/resources/folders/types/FoldersListRequestInclude.d.ts +0 -1
  79. package/dist/cjs/api/resources/folders/types/FoldersListRequestInclude.js +0 -1
  80. package/dist/cjs/api/resources/folders/types/FoldersShowRequestInclude.d.ts +0 -1
  81. package/dist/cjs/api/resources/folders/types/FoldersShowRequestInclude.js +0 -1
  82. package/dist/cjs/api/resources/groups/client/Client.d.ts +116 -0
  83. package/dist/cjs/api/resources/groups/client/Client.js +368 -0
  84. package/dist/cjs/api/resources/groups/client/index.d.ts +1 -0
  85. package/dist/cjs/api/resources/groups/client/index.js +17 -0
  86. package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.d.ts +20 -0
  87. package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.js +3 -0
  88. package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.d.ts +24 -0
  89. package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.js +3 -0
  90. package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.d.ts +9 -0
  91. package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.js +3 -0
  92. package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.d.ts +20 -0
  93. package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.js +3 -0
  94. package/dist/cjs/api/resources/groups/client/requests/index.d.ts +4 -0
  95. package/dist/cjs/api/resources/groups/client/requests/index.js +2 -0
  96. package/dist/cjs/api/resources/groups/exports.d.ts +2 -0
  97. package/dist/cjs/api/resources/groups/exports.js +21 -0
  98. package/dist/cjs/api/resources/groups/index.d.ts +2 -0
  99. package/dist/cjs/api/resources/groups/index.js +18 -0
  100. package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.d.ts +10 -0
  101. package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.js +13 -0
  102. package/dist/cjs/api/resources/groups/types/index.d.ts +1 -0
  103. package/dist/cjs/api/resources/groups/types/index.js +17 -0
  104. package/dist/cjs/api/resources/index.d.ts +17 -0
  105. package/dist/cjs/api/resources/index.js +18 -1
  106. package/dist/cjs/api/resources/metadata/client/Client.d.ts +10 -10
  107. package/dist/cjs/api/resources/metadata/client/Client.js +8 -8
  108. package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +5 -5
  109. package/dist/cjs/api/resources/metadataFields/client/Client.d.ts +9 -8
  110. package/dist/cjs/api/resources/metadataFields/client/Client.js +7 -5
  111. package/dist/cjs/api/resources/metadataFields/client/requests/MetadataFieldDefinitionsIndexRequest.d.ts +3 -0
  112. package/dist/cjs/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.d.ts +8 -0
  113. package/dist/cjs/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.js +11 -0
  114. package/dist/cjs/api/resources/metadataFields/types/index.d.ts +1 -0
  115. package/dist/cjs/api/resources/metadataFields/types/index.js +1 -0
  116. package/dist/cjs/api/resources/projectPermissions/client/Client.d.ts +10 -9
  117. package/dist/cjs/api/resources/projectPermissions/client/Client.js +7 -6
  118. package/dist/cjs/api/resources/projectPermissions/client/requests/ProjectPermissionsIndexRequest.d.ts +3 -0
  119. package/dist/cjs/api/resources/projectPermissions/index.d.ts +1 -0
  120. package/dist/cjs/api/resources/projectPermissions/index.js +1 -0
  121. package/dist/cjs/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.d.ts +10 -0
  122. package/dist/cjs/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.js +13 -0
  123. package/dist/cjs/api/resources/projectPermissions/types/index.d.ts +1 -0
  124. package/dist/cjs/api/resources/projectPermissions/types/index.js +17 -0
  125. package/dist/cjs/api/resources/projects/client/Client.d.ts +14 -13
  126. package/dist/cjs/api/resources/projects/client/Client.js +9 -8
  127. package/dist/cjs/api/resources/projects/client/requests/ProjectsIndexRequest.d.ts +3 -0
  128. package/dist/cjs/api/resources/projects/index.d.ts +1 -0
  129. package/dist/cjs/api/resources/projects/index.js +1 -0
  130. package/dist/cjs/api/resources/projects/types/ProjectsIndexRequestSort.d.ts +8 -0
  131. package/dist/cjs/api/resources/projects/types/ProjectsIndexRequestSort.js +11 -0
  132. package/dist/cjs/api/resources/projects/types/index.d.ts +1 -0
  133. package/dist/cjs/api/resources/projects/types/index.js +17 -0
  134. package/dist/cjs/api/resources/search/client/Client.d.ts +48 -0
  135. package/dist/cjs/api/resources/search/client/Client.js +161 -0
  136. package/dist/cjs/api/resources/search/client/index.d.ts +1 -0
  137. package/dist/cjs/api/resources/search/client/index.js +17 -0
  138. package/dist/cjs/api/resources/search/client/requests/SearchParams.d.ts +51 -0
  139. package/dist/cjs/api/resources/search/client/requests/SearchParams.js +12 -0
  140. package/dist/cjs/api/resources/search/client/requests/index.d.ts +1 -0
  141. package/dist/cjs/api/resources/search/client/requests/index.js +5 -0
  142. package/dist/cjs/api/resources/search/exports.d.ts +2 -0
  143. package/dist/cjs/api/resources/search/exports.js +21 -0
  144. package/dist/cjs/api/resources/search/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/search/index.js +17 -0
  146. package/dist/cjs/api/resources/shares/client/Client.d.ts +29 -27
  147. package/dist/cjs/api/resources/shares/client/Client.js +19 -17
  148. package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +2 -2
  149. package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
  150. package/dist/cjs/api/resources/shares/client/requests/SharesIndexRequest.d.ts +3 -0
  151. package/dist/cjs/api/resources/shares/client/requests/SharesListReviewersRequest.d.ts +3 -0
  152. package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +2 -1
  153. package/dist/cjs/api/resources/shares/types/SharesIndexRequestSort.d.ts +8 -0
  154. package/dist/cjs/api/resources/shares/types/SharesIndexRequestSort.js +11 -0
  155. package/dist/cjs/api/resources/shares/types/SharesListReviewersRequestSort.d.ts +8 -0
  156. package/dist/cjs/api/resources/shares/types/SharesListReviewersRequestSort.js +11 -0
  157. package/dist/cjs/api/resources/shares/types/index.d.ts +2 -0
  158. package/dist/cjs/api/resources/shares/types/index.js +2 -0
  159. package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +19 -19
  160. package/dist/cjs/api/resources/versionStacks/client/Client.js +13 -13
  161. package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +3 -2
  162. package/dist/cjs/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.d.ts +0 -1
  163. package/dist/cjs/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.js +0 -1
  164. package/dist/cjs/api/resources/versionStacks/types/VersionStacksListRequestInclude.d.ts +0 -1
  165. package/dist/cjs/api/resources/versionStacks/types/VersionStacksListRequestInclude.js +0 -1
  166. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +0 -1
  167. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +0 -1
  168. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +10 -10
  169. package/dist/cjs/api/resources/webhooks/client/Client.js +5 -5
  170. package/dist/cjs/api/resources/workspacePermissions/client/Client.d.ts +8 -7
  171. package/dist/cjs/api/resources/workspacePermissions/client/Client.js +5 -4
  172. package/dist/cjs/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.d.ts +17 -0
  173. package/dist/cjs/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.js +3 -0
  174. package/dist/cjs/api/resources/workspacePermissions/client/requests/WorkspacePermissionsIndexRequest.d.ts +3 -0
  175. package/dist/cjs/api/resources/workspacePermissions/client/requests/index.d.ts +1 -0
  176. package/dist/cjs/api/resources/workspacePermissions/index.d.ts +1 -0
  177. package/dist/cjs/api/resources/workspacePermissions/index.js +1 -0
  178. package/dist/cjs/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.d.ts +10 -0
  179. package/dist/cjs/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.js +13 -0
  180. package/dist/cjs/api/resources/workspacePermissions/types/index.d.ts +1 -0
  181. package/dist/cjs/api/resources/workspacePermissions/types/index.js +17 -0
  182. package/dist/cjs/api/resources/workspaces/client/Client.d.ts +11 -10
  183. package/dist/cjs/api/resources/workspaces/client/Client.js +6 -5
  184. package/dist/cjs/api/resources/workspaces/client/requests/WorkspacesIndexRequest.d.ts +3 -0
  185. package/dist/cjs/api/resources/workspaces/index.d.ts +1 -0
  186. package/dist/cjs/api/resources/workspaces/index.js +1 -0
  187. package/dist/cjs/api/resources/workspaces/types/WorkspacesIndexRequestSort.d.ts +8 -0
  188. package/dist/cjs/api/resources/workspaces/types/WorkspacesIndexRequestSort.js +11 -0
  189. package/dist/cjs/api/resources/workspaces/types/index.d.ts +1 -0
  190. package/dist/cjs/api/resources/workspaces/types/index.js +17 -0
  191. package/dist/cjs/api/types/Account.d.ts +2 -0
  192. package/dist/cjs/api/types/AccountSort.d.ts +8 -0
  193. package/dist/cjs/api/types/AccountSort.js +11 -0
  194. package/dist/cjs/api/types/AccountUserSort.d.ts +10 -0
  195. package/dist/cjs/api/types/AccountUserSort.js +13 -0
  196. package/dist/cjs/api/types/Action.d.ts +25 -0
  197. package/dist/cjs/api/types/Action.js +3 -0
  198. package/dist/cjs/api/types/ActionCreateResponse.d.ts +13 -0
  199. package/dist/cjs/api/types/ActionCreateResponse.js +3 -0
  200. package/dist/cjs/api/types/ActionInclude.d.ts +4 -0
  201. package/dist/cjs/api/types/ActionInclude.js +3 -0
  202. package/dist/cjs/api/types/ActionResponse.d.ts +7 -0
  203. package/dist/cjs/api/types/ActionResponse.js +3 -0
  204. package/dist/cjs/api/types/ActionWithIncludes.d.ts +4 -0
  205. package/dist/cjs/api/types/ActionWithIncludes.js +3 -0
  206. package/dist/cjs/api/types/ActionWithIncludesResponse.d.ts +7 -0
  207. package/dist/cjs/api/types/ActionWithIncludesResponse.js +3 -0
  208. package/dist/cjs/api/types/ActionsWithIncludesResponse.d.ts +11 -0
  209. package/dist/cjs/api/types/ActionsWithIncludesResponse.js +3 -0
  210. package/dist/cjs/api/types/AssetCommon.d.ts +2 -0
  211. package/dist/cjs/api/types/AssetCommonWithIncludes.d.ts +2 -0
  212. package/dist/cjs/api/types/AssetInclude.d.ts +0 -1
  213. package/dist/cjs/api/types/AssetInclude.js +0 -1
  214. package/dist/cjs/api/types/AssetSearchResult.d.ts +18 -0
  215. package/dist/cjs/api/types/AssetSearchResult.js +12 -0
  216. package/dist/cjs/api/types/AssetShareParams.d.ts +4 -2
  217. package/dist/cjs/api/types/AssigneeMatch.d.ts +7 -0
  218. package/dist/cjs/api/types/AssigneeMatch.js +3 -0
  219. package/dist/cjs/api/types/AudioSampleRateMatch.d.ts +7 -0
  220. package/dist/cjs/api/types/AudioSampleRateMatch.js +3 -0
  221. package/dist/cjs/api/types/AuditLogwithIncludes.d.ts +5 -0
  222. package/dist/cjs/api/types/AuditLogwithIncludes.js +5 -0
  223. package/dist/cjs/api/types/BitDepthMatch.d.ts +7 -0
  224. package/dist/cjs/api/types/BitDepthMatch.js +3 -0
  225. package/dist/cjs/api/types/BitRateMatch.d.ts +7 -0
  226. package/dist/cjs/api/types/BitRateMatch.js +3 -0
  227. package/dist/cjs/api/types/ChannelsMatch.d.ts +7 -0
  228. package/dist/cjs/api/types/ChannelsMatch.js +3 -0
  229. package/dist/cjs/api/types/CodecMatch.d.ts +7 -0
  230. package/dist/cjs/api/types/CodecMatch.js +3 -0
  231. package/dist/cjs/api/types/Collection.d.ts +31 -0
  232. package/dist/cjs/api/types/Collection.js +11 -0
  233. package/dist/cjs/api/types/CollectionInclude.d.ts +4 -0
  234. package/dist/cjs/api/types/CollectionInclude.js +3 -0
  235. package/dist/cjs/api/types/CollectionResponse.d.ts +4 -0
  236. package/dist/cjs/api/types/CollectionResponse.js +3 -0
  237. package/dist/cjs/api/types/CollectionsResponse.d.ts +8 -0
  238. package/dist/cjs/api/types/CollectionsResponse.js +3 -0
  239. package/dist/cjs/api/types/ColorSpaceMatch.d.ts +7 -0
  240. package/dist/cjs/api/types/ColorSpaceMatch.js +3 -0
  241. package/dist/cjs/api/types/CommentCountMatch.d.ts +7 -0
  242. package/dist/cjs/api/types/CommentCountMatch.js +3 -0
  243. package/dist/cjs/api/types/CommentMatch.d.ts +11 -0
  244. package/dist/cjs/api/types/CommentMatch.js +3 -0
  245. package/dist/cjs/api/types/CreatorMatch.d.ts +7 -0
  246. package/dist/cjs/api/types/CreatorMatch.js +3 -0
  247. package/dist/cjs/api/types/DeletedAtMatch.d.ts +7 -0
  248. package/dist/cjs/api/types/DeletedAtMatch.js +3 -0
  249. package/dist/cjs/api/types/DurationMatch.d.ts +7 -0
  250. package/dist/cjs/api/types/DurationMatch.js +3 -0
  251. package/dist/cjs/api/types/DynamicRangeMatch.d.ts +7 -0
  252. package/dist/cjs/api/types/DynamicRangeMatch.js +3 -0
  253. package/dist/cjs/api/types/FieldDefinitionSort.d.ts +8 -0
  254. package/dist/cjs/api/types/FieldDefinitionSort.js +11 -0
  255. package/dist/cjs/api/types/FileTypeMatch.d.ts +7 -0
  256. package/dist/cjs/api/types/FileTypeMatch.js +3 -0
  257. package/dist/cjs/api/types/FileWithIncludes.d.ts +2 -0
  258. package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +0 -1
  259. package/dist/cjs/api/types/FileWithMediaLinksInclude.js +0 -1
  260. package/dist/cjs/api/types/File_.d.ts +4 -0
  261. package/dist/cjs/api/types/FilesizeMatch.d.ts +7 -0
  262. package/dist/cjs/api/types/FilesizeMatch.js +3 -0
  263. package/dist/cjs/api/types/Filters.d.ts +5 -0
  264. package/dist/cjs/api/types/Filters.js +5 -0
  265. package/dist/cjs/api/types/FolderWithIncludes.d.ts +2 -0
  266. package/dist/cjs/api/types/FormatMatch.d.ts +7 -0
  267. package/dist/cjs/api/types/FormatMatch.js +3 -0
  268. package/dist/cjs/api/types/FrameOrAdobeId.d.ts +4 -0
  269. package/dist/cjs/api/types/FrameOrAdobeId.js +3 -0
  270. package/dist/cjs/api/types/FrameRateMatch.d.ts +7 -0
  271. package/dist/cjs/api/types/FrameRateMatch.js +3 -0
  272. package/dist/cjs/api/types/GroupCommon.d.ts +16 -0
  273. package/dist/cjs/api/types/GroupCommon.js +3 -0
  274. package/dist/cjs/api/types/GroupCommonWithIncludes.d.ts +4 -0
  275. package/dist/cjs/api/types/GroupCommonWithIncludes.js +3 -0
  276. package/dist/cjs/api/types/GroupResponse.d.ts +4 -0
  277. package/dist/cjs/api/types/GroupResponse.js +3 -0
  278. package/dist/cjs/api/types/GroupWithIncludes.d.ts +13 -0
  279. package/dist/cjs/api/types/GroupWithIncludes.js +3 -0
  280. package/dist/cjs/api/types/GroupWithIncludesResponse.d.ts +4 -0
  281. package/dist/cjs/api/types/GroupWithIncludesResponse.js +3 -0
  282. package/dist/cjs/api/types/GroupsInclude.d.ts +4 -0
  283. package/dist/cjs/api/types/GroupsInclude.js +3 -0
  284. package/dist/cjs/api/types/GroupsSort.d.ts +10 -0
  285. package/dist/cjs/api/types/GroupsSort.js +13 -0
  286. package/dist/cjs/api/types/GroupsWithIncludesResponse.d.ts +8 -0
  287. package/dist/cjs/api/types/GroupsWithIncludesResponse.js +3 -0
  288. package/dist/cjs/api/types/HasAlphaChannelMatch.d.ts +7 -0
  289. package/dist/cjs/api/types/HasAlphaChannelMatch.js +3 -0
  290. package/dist/cjs/api/types/InsertedAtMatch.d.ts +7 -0
  291. package/dist/cjs/api/types/InsertedAtMatch.js +3 -0
  292. package/dist/cjs/api/types/KeywordsMatch.d.ts +7 -0
  293. package/dist/cjs/api/types/KeywordsMatch.js +3 -0
  294. package/dist/cjs/api/types/NameMatch.d.ts +9 -0
  295. package/dist/cjs/api/types/NameMatch.js +3 -0
  296. package/dist/cjs/api/types/NotesMatch.d.ts +7 -0
  297. package/dist/cjs/api/types/NotesMatch.js +3 -0
  298. package/dist/cjs/api/types/PageCountMatch.d.ts +7 -0
  299. package/dist/cjs/api/types/PageCountMatch.js +3 -0
  300. package/dist/cjs/api/types/Project.d.ts +2 -0
  301. package/dist/cjs/api/types/ProjectMatch.d.ts +20 -0
  302. package/dist/cjs/api/types/ProjectMatch.js +3 -0
  303. package/dist/cjs/api/types/ProjectMatchInfo.d.ts +9 -0
  304. package/dist/cjs/api/types/ProjectMatchInfo.js +3 -0
  305. package/dist/cjs/api/types/ProjectSearchResult.d.ts +10 -0
  306. package/dist/cjs/api/types/ProjectSearchResult.js +3 -0
  307. package/dist/cjs/api/types/ProjectSort.d.ts +8 -0
  308. package/dist/cjs/api/types/ProjectSort.js +11 -0
  309. package/dist/cjs/api/types/RatingMatch.d.ts +13 -0
  310. package/dist/cjs/api/types/RatingMatch.js +3 -0
  311. package/dist/cjs/api/types/ResolutionHeightMatch.d.ts +7 -0
  312. package/dist/cjs/api/types/ResolutionHeightMatch.js +3 -0
  313. package/dist/cjs/api/types/ResolutionWidthMatch.d.ts +7 -0
  314. package/dist/cjs/api/types/ResolutionWidthMatch.js +3 -0
  315. package/dist/cjs/api/types/ReviewersSort.d.ts +8 -0
  316. package/dist/cjs/api/types/ReviewersSort.js +11 -0
  317. package/dist/cjs/api/types/SearchMatch.d.ts +106 -0
  318. package/dist/cjs/api/types/SearchMatch.js +3 -0
  319. package/dist/cjs/api/types/SearchResponse.d.ts +17 -0
  320. package/dist/cjs/api/types/SearchResponse.js +3 -0
  321. package/dist/cjs/api/types/Share.d.ts +3 -0
  322. package/dist/cjs/api/types/ShareSort.d.ts +8 -0
  323. package/dist/cjs/api/types/ShareSort.js +11 -0
  324. package/dist/cjs/api/types/SingleUserValue.d.ts +1 -1
  325. package/dist/cjs/api/types/SourceFilenameMatch.d.ts +9 -0
  326. package/dist/cjs/api/types/SourceFilenameMatch.js +3 -0
  327. package/dist/cjs/api/types/StatusMatch.d.ts +7 -0
  328. package/dist/cjs/api/types/StatusMatch.js +3 -0
  329. package/dist/cjs/api/types/SyncGroupWithIncludes.d.ts +15 -0
  330. package/dist/cjs/api/types/SyncGroupWithIncludes.js +14 -0
  331. package/dist/cjs/api/types/TranscriptionMatch.d.ts +23 -0
  332. package/dist/cjs/api/types/TranscriptionMatch.js +3 -0
  333. package/dist/cjs/api/types/UpdateWorkspaceRoleResponse.d.ts +9 -0
  334. package/dist/cjs/api/types/UpdateWorkspaceRoleResponse.js +3 -0
  335. package/dist/cjs/api/types/UpdatedAtMatch.d.ts +7 -0
  336. package/dist/cjs/api/types/UpdatedAtMatch.js +3 -0
  337. package/dist/cjs/api/types/UploadedAtMatch.d.ts +7 -0
  338. package/dist/cjs/api/types/UploadedAtMatch.js +3 -0
  339. package/dist/cjs/api/types/UserRole.d.ts +1 -0
  340. package/dist/cjs/api/types/UserRole.js +1 -0
  341. package/dist/cjs/api/types/UserRoleSort.d.ts +10 -0
  342. package/dist/cjs/api/types/UserRoleSort.js +13 -0
  343. package/dist/cjs/api/types/UserRolesResponse.d.ts +11 -0
  344. package/dist/cjs/api/types/UserRolesResponse.js +3 -0
  345. package/dist/cjs/api/types/Uuid.d.ts +1 -1
  346. package/dist/cjs/api/types/VersionStack.d.ts +2 -0
  347. package/dist/cjs/api/types/VersionStackWithIncludes.d.ts +2 -0
  348. package/dist/cjs/api/types/VisualMatch.d.ts +27 -0
  349. package/dist/cjs/api/types/VisualMatch.js +3 -0
  350. package/dist/cjs/api/types/VisualMatchClip.d.ts +15 -0
  351. package/dist/cjs/api/types/VisualMatchClip.js +3 -0
  352. package/dist/cjs/api/types/WorkspaceRole.d.ts +10 -0
  353. package/dist/cjs/api/types/WorkspaceRole.js +13 -0
  354. package/dist/cjs/api/types/WorkspaceSort.d.ts +8 -0
  355. package/dist/cjs/api/types/WorkspaceSort.js +11 -0
  356. package/dist/cjs/api/types/WorkspaceUserRole.d.ts +21 -0
  357. package/dist/cjs/api/types/WorkspaceUserRole.js +17 -0
  358. package/dist/cjs/api/types/WorkspaceUserRolesResponse.d.ts +2 -2
  359. package/dist/cjs/api/types/index.d.ts +72 -0
  360. package/dist/cjs/api/types/index.js +72 -0
  361. package/dist/cjs/oauth/BaseAuth.d.ts +2 -2
  362. package/dist/cjs/oauth/BaseAuth.js +13 -13
  363. package/dist/cjs/oauth/NativeAppAuth.d.ts +1 -1
  364. package/dist/cjs/oauth/NativeAppAuth.js +2 -2
  365. package/dist/cjs/oauth/SPAAuth.d.ts +2 -2
  366. package/dist/cjs/oauth/SPAAuth.js +12 -12
  367. package/dist/cjs/oauth/ServerToServerAuth.d.ts +2 -2
  368. package/dist/cjs/oauth/ServerToServerAuth.js +6 -6
  369. package/dist/cjs/oauth/TokenManager.d.ts +1 -1
  370. package/dist/cjs/oauth/TokenManager.js +11 -11
  371. package/dist/cjs/oauth/WebAppAuth.d.ts +2 -2
  372. package/dist/cjs/oauth/WebAppAuth.js +10 -10
  373. package/dist/cjs/oauth/http.d.ts +2 -2
  374. package/dist/cjs/oauth/http.js +15 -15
  375. package/dist/cjs/oauth/index.d.ts +14 -14
  376. package/dist/cjs/oauth/index.js +21 -21
  377. package/dist/cjs/oauth/validation.d.ts +1 -1
  378. package/dist/cjs/oauth/validation.js +6 -6
  379. package/dist/cjs/version.d.ts +1 -1
  380. package/dist/cjs/version.js +1 -1
  381. package/dist/esm/BaseClient.mjs +2 -2
  382. package/dist/esm/Client.d.mts +15 -0
  383. package/dist/esm/Client.mjs +25 -0
  384. package/dist/esm/api/resources/accountPermissions/client/Client.d.mts +3 -2
  385. package/dist/esm/api/resources/accountPermissions/client/Client.mjs +2 -1
  386. package/dist/esm/api/resources/accountPermissions/client/requests/AccountPermissionsIndexRequest.d.mts +3 -0
  387. package/dist/esm/api/resources/accountPermissions/index.d.mts +1 -0
  388. package/dist/esm/api/resources/accountPermissions/index.mjs +1 -0
  389. package/dist/esm/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.d.mts +10 -0
  390. package/dist/esm/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.mjs +10 -0
  391. package/dist/esm/api/resources/accountPermissions/types/index.d.mts +1 -0
  392. package/dist/esm/api/resources/accountPermissions/types/index.mjs +1 -0
  393. package/dist/esm/api/resources/accounts/client/Client.d.mts +3 -2
  394. package/dist/esm/api/resources/accounts/client/Client.mjs +2 -1
  395. package/dist/esm/api/resources/accounts/client/requests/AccountsIndexRequest.d.mts +3 -0
  396. package/dist/esm/api/resources/accounts/index.d.mts +1 -0
  397. package/dist/esm/api/resources/accounts/index.mjs +1 -0
  398. package/dist/esm/api/resources/accounts/types/AccountsIndexRequestSort.d.mts +8 -0
  399. package/dist/esm/api/resources/accounts/types/AccountsIndexRequestSort.mjs +8 -0
  400. package/dist/esm/api/resources/accounts/types/index.d.mts +1 -0
  401. package/dist/esm/api/resources/accounts/types/index.mjs +1 -0
  402. package/dist/esm/api/resources/collections/client/Client.d.mts +65 -0
  403. package/dist/esm/api/resources/collections/client/Client.mjs +179 -0
  404. package/dist/esm/api/resources/collections/client/index.d.mts +1 -0
  405. package/dist/esm/api/resources/collections/client/index.mjs +1 -0
  406. package/dist/esm/api/resources/collections/client/requests/CollectionsIndexRequest.d.mts +21 -0
  407. package/dist/esm/api/resources/collections/client/requests/CollectionsIndexRequest.mjs +2 -0
  408. package/dist/esm/api/resources/collections/client/requests/CollectionsShowRequest.d.mts +10 -0
  409. package/dist/esm/api/resources/collections/client/requests/CollectionsShowRequest.mjs +2 -0
  410. package/dist/esm/api/resources/collections/client/requests/index.d.mts +2 -0
  411. package/dist/esm/api/resources/collections/client/requests/index.mjs +1 -0
  412. package/dist/esm/api/resources/collections/exports.d.mts +2 -0
  413. package/dist/esm/api/resources/collections/exports.mjs +3 -0
  414. package/dist/esm/api/resources/collections/index.d.mts +1 -0
  415. package/dist/esm/api/resources/collections/index.mjs +1 -0
  416. package/dist/esm/api/resources/comments/client/Client.d.mts +17 -17
  417. package/dist/esm/api/resources/comments/client/Client.mjs +10 -10
  418. package/dist/esm/api/resources/customActions/client/Client.d.mts +145 -0
  419. package/dist/esm/api/resources/customActions/client/Client.mjs +406 -0
  420. package/dist/esm/api/resources/customActions/client/index.d.mts +1 -0
  421. package/dist/esm/api/resources/customActions/client/index.mjs +1 -0
  422. package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.d.mts +31 -0
  423. package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.mjs +2 -0
  424. package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.d.mts +35 -0
  425. package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.mjs +2 -0
  426. package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.d.mts +21 -0
  427. package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.mjs +2 -0
  428. package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.d.mts +9 -0
  429. package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.mjs +2 -0
  430. package/dist/esm/api/resources/customActions/client/requests/index.d.mts +4 -0
  431. package/dist/esm/api/resources/customActions/client/requests/index.mjs +1 -0
  432. package/dist/esm/api/resources/customActions/exports.d.mts +2 -0
  433. package/dist/esm/api/resources/customActions/exports.mjs +3 -0
  434. package/dist/esm/api/resources/customActions/index.d.mts +1 -0
  435. package/dist/esm/api/resources/customActions/index.mjs +1 -0
  436. package/dist/esm/api/resources/files/client/Client.d.mts +34 -34
  437. package/dist/esm/api/resources/files/client/Client.mjs +23 -23
  438. package/dist/esm/api/resources/files/types/FilesListRequestInclude.d.mts +0 -1
  439. package/dist/esm/api/resources/files/types/FilesListRequestInclude.mjs +0 -1
  440. package/dist/esm/api/resources/files/types/FilesShowRequestInclude.d.mts +0 -1
  441. package/dist/esm/api/resources/files/types/FilesShowRequestInclude.mjs +0 -1
  442. package/dist/esm/api/resources/folderPermissions/client/Client.d.mts +90 -0
  443. package/dist/esm/api/resources/folderPermissions/client/Client.mjs +250 -0
  444. package/dist/esm/api/resources/folderPermissions/client/index.d.mts +1 -0
  445. package/dist/esm/api/resources/folderPermissions/client/index.mjs +1 -0
  446. package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.mts +22 -0
  447. package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.mjs +2 -0
  448. package/dist/esm/api/resources/folderPermissions/client/requests/index.d.mts +1 -0
  449. package/dist/esm/api/resources/folderPermissions/client/requests/index.mjs +1 -0
  450. package/dist/esm/api/resources/folderPermissions/exports.d.mts +2 -0
  451. package/dist/esm/api/resources/folderPermissions/exports.mjs +3 -0
  452. package/dist/esm/api/resources/folderPermissions/index.d.mts +1 -0
  453. package/dist/esm/api/resources/folderPermissions/index.mjs +1 -0
  454. package/dist/esm/api/resources/folders/client/Client.d.mts +24 -24
  455. package/dist/esm/api/resources/folders/client/Client.mjs +16 -16
  456. package/dist/esm/api/resources/folders/types/FoldersIndexRequestInclude.d.mts +0 -1
  457. package/dist/esm/api/resources/folders/types/FoldersIndexRequestInclude.mjs +0 -1
  458. package/dist/esm/api/resources/folders/types/FoldersListRequestInclude.d.mts +0 -1
  459. package/dist/esm/api/resources/folders/types/FoldersListRequestInclude.mjs +0 -1
  460. package/dist/esm/api/resources/folders/types/FoldersShowRequestInclude.d.mts +0 -1
  461. package/dist/esm/api/resources/folders/types/FoldersShowRequestInclude.mjs +0 -1
  462. package/dist/esm/api/resources/groups/client/Client.d.mts +116 -0
  463. package/dist/esm/api/resources/groups/client/Client.mjs +331 -0
  464. package/dist/esm/api/resources/groups/client/index.d.mts +1 -0
  465. package/dist/esm/api/resources/groups/client/index.mjs +1 -0
  466. package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.d.mts +20 -0
  467. package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.mjs +2 -0
  468. package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.d.mts +24 -0
  469. package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.mjs +2 -0
  470. package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.d.mts +9 -0
  471. package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.mjs +2 -0
  472. package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.d.mts +20 -0
  473. package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.mjs +2 -0
  474. package/dist/esm/api/resources/groups/client/requests/index.d.mts +4 -0
  475. package/dist/esm/api/resources/groups/client/requests/index.mjs +1 -0
  476. package/dist/esm/api/resources/groups/exports.d.mts +2 -0
  477. package/dist/esm/api/resources/groups/exports.mjs +3 -0
  478. package/dist/esm/api/resources/groups/index.d.mts +2 -0
  479. package/dist/esm/api/resources/groups/index.mjs +2 -0
  480. package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.d.mts +10 -0
  481. package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.mjs +10 -0
  482. package/dist/esm/api/resources/groups/types/index.d.mts +1 -0
  483. package/dist/esm/api/resources/groups/types/index.mjs +1 -0
  484. package/dist/esm/api/resources/index.d.mts +17 -0
  485. package/dist/esm/api/resources/index.mjs +17 -0
  486. package/dist/esm/api/resources/metadata/client/Client.d.mts +10 -10
  487. package/dist/esm/api/resources/metadata/client/Client.mjs +8 -8
  488. package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +5 -5
  489. package/dist/esm/api/resources/metadataFields/client/Client.d.mts +9 -8
  490. package/dist/esm/api/resources/metadataFields/client/Client.mjs +7 -5
  491. package/dist/esm/api/resources/metadataFields/client/requests/MetadataFieldDefinitionsIndexRequest.d.mts +3 -0
  492. package/dist/esm/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.d.mts +8 -0
  493. package/dist/esm/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.mjs +8 -0
  494. package/dist/esm/api/resources/metadataFields/types/index.d.mts +1 -0
  495. package/dist/esm/api/resources/metadataFields/types/index.mjs +1 -0
  496. package/dist/esm/api/resources/projectPermissions/client/Client.d.mts +10 -9
  497. package/dist/esm/api/resources/projectPermissions/client/Client.mjs +7 -6
  498. package/dist/esm/api/resources/projectPermissions/client/requests/ProjectPermissionsIndexRequest.d.mts +3 -0
  499. package/dist/esm/api/resources/projectPermissions/index.d.mts +1 -0
  500. package/dist/esm/api/resources/projectPermissions/index.mjs +1 -0
  501. package/dist/esm/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.d.mts +10 -0
  502. package/dist/esm/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.mjs +10 -0
  503. package/dist/esm/api/resources/projectPermissions/types/index.d.mts +1 -0
  504. package/dist/esm/api/resources/projectPermissions/types/index.mjs +1 -0
  505. package/dist/esm/api/resources/projects/client/Client.d.mts +14 -13
  506. package/dist/esm/api/resources/projects/client/Client.mjs +9 -8
  507. package/dist/esm/api/resources/projects/client/requests/ProjectsIndexRequest.d.mts +3 -0
  508. package/dist/esm/api/resources/projects/index.d.mts +1 -0
  509. package/dist/esm/api/resources/projects/index.mjs +1 -0
  510. package/dist/esm/api/resources/projects/types/ProjectsIndexRequestSort.d.mts +8 -0
  511. package/dist/esm/api/resources/projects/types/ProjectsIndexRequestSort.mjs +8 -0
  512. package/dist/esm/api/resources/projects/types/index.d.mts +1 -0
  513. package/dist/esm/api/resources/projects/types/index.mjs +1 -0
  514. package/dist/esm/api/resources/search/client/Client.d.mts +48 -0
  515. package/dist/esm/api/resources/search/client/Client.mjs +124 -0
  516. package/dist/esm/api/resources/search/client/index.d.mts +1 -0
  517. package/dist/esm/api/resources/search/client/index.mjs +1 -0
  518. package/dist/esm/api/resources/search/client/requests/SearchParams.d.mts +51 -0
  519. package/dist/esm/api/resources/search/client/requests/SearchParams.mjs +9 -0
  520. package/dist/esm/api/resources/search/client/requests/index.d.mts +1 -0
  521. package/dist/esm/api/resources/search/client/requests/index.mjs +1 -0
  522. package/dist/esm/api/resources/search/exports.d.mts +2 -0
  523. package/dist/esm/api/resources/search/exports.mjs +3 -0
  524. package/dist/esm/api/resources/search/index.d.mts +1 -0
  525. package/dist/esm/api/resources/search/index.mjs +1 -0
  526. package/dist/esm/api/resources/shares/client/Client.d.mts +29 -27
  527. package/dist/esm/api/resources/shares/client/Client.mjs +19 -17
  528. package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +2 -2
  529. package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
  530. package/dist/esm/api/resources/shares/client/requests/SharesIndexRequest.d.mts +3 -0
  531. package/dist/esm/api/resources/shares/client/requests/SharesListReviewersRequest.d.mts +3 -0
  532. package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +2 -1
  533. package/dist/esm/api/resources/shares/types/SharesIndexRequestSort.d.mts +8 -0
  534. package/dist/esm/api/resources/shares/types/SharesIndexRequestSort.mjs +8 -0
  535. package/dist/esm/api/resources/shares/types/SharesListReviewersRequestSort.d.mts +8 -0
  536. package/dist/esm/api/resources/shares/types/SharesListReviewersRequestSort.mjs +8 -0
  537. package/dist/esm/api/resources/shares/types/index.d.mts +2 -0
  538. package/dist/esm/api/resources/shares/types/index.mjs +2 -0
  539. package/dist/esm/api/resources/versionStacks/client/Client.d.mts +19 -19
  540. package/dist/esm/api/resources/versionStacks/client/Client.mjs +13 -13
  541. package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +3 -2
  542. package/dist/esm/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.d.mts +0 -1
  543. package/dist/esm/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.mjs +0 -1
  544. package/dist/esm/api/resources/versionStacks/types/VersionStacksListRequestInclude.d.mts +0 -1
  545. package/dist/esm/api/resources/versionStacks/types/VersionStacksListRequestInclude.mjs +0 -1
  546. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +0 -1
  547. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +0 -1
  548. package/dist/esm/api/resources/webhooks/client/Client.d.mts +10 -10
  549. package/dist/esm/api/resources/webhooks/client/Client.mjs +5 -5
  550. package/dist/esm/api/resources/workspacePermissions/client/Client.d.mts +8 -7
  551. package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +5 -4
  552. package/dist/esm/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.d.mts +17 -0
  553. package/dist/esm/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.mjs +2 -0
  554. package/dist/esm/api/resources/workspacePermissions/client/requests/WorkspacePermissionsIndexRequest.d.mts +3 -0
  555. package/dist/esm/api/resources/workspacePermissions/client/requests/index.d.mts +1 -0
  556. package/dist/esm/api/resources/workspacePermissions/index.d.mts +1 -0
  557. package/dist/esm/api/resources/workspacePermissions/index.mjs +1 -0
  558. package/dist/esm/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.d.mts +10 -0
  559. package/dist/esm/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.mjs +10 -0
  560. package/dist/esm/api/resources/workspacePermissions/types/index.d.mts +1 -0
  561. package/dist/esm/api/resources/workspacePermissions/types/index.mjs +1 -0
  562. package/dist/esm/api/resources/workspaces/client/Client.d.mts +11 -10
  563. package/dist/esm/api/resources/workspaces/client/Client.mjs +6 -5
  564. package/dist/esm/api/resources/workspaces/client/requests/WorkspacesIndexRequest.d.mts +3 -0
  565. package/dist/esm/api/resources/workspaces/index.d.mts +1 -0
  566. package/dist/esm/api/resources/workspaces/index.mjs +1 -0
  567. package/dist/esm/api/resources/workspaces/types/WorkspacesIndexRequestSort.d.mts +8 -0
  568. package/dist/esm/api/resources/workspaces/types/WorkspacesIndexRequestSort.mjs +8 -0
  569. package/dist/esm/api/resources/workspaces/types/index.d.mts +1 -0
  570. package/dist/esm/api/resources/workspaces/types/index.mjs +1 -0
  571. package/dist/esm/api/types/Account.d.mts +2 -0
  572. package/dist/esm/api/types/AccountSort.d.mts +8 -0
  573. package/dist/esm/api/types/AccountSort.mjs +8 -0
  574. package/dist/esm/api/types/AccountUserSort.d.mts +10 -0
  575. package/dist/esm/api/types/AccountUserSort.mjs +10 -0
  576. package/dist/esm/api/types/Action.d.mts +25 -0
  577. package/dist/esm/api/types/Action.mjs +2 -0
  578. package/dist/esm/api/types/ActionCreateResponse.d.mts +13 -0
  579. package/dist/esm/api/types/ActionCreateResponse.mjs +2 -0
  580. package/dist/esm/api/types/ActionInclude.d.mts +4 -0
  581. package/dist/esm/api/types/ActionInclude.mjs +2 -0
  582. package/dist/esm/api/types/ActionResponse.d.mts +7 -0
  583. package/dist/esm/api/types/ActionResponse.mjs +2 -0
  584. package/dist/esm/api/types/ActionWithIncludes.d.mts +4 -0
  585. package/dist/esm/api/types/ActionWithIncludes.mjs +2 -0
  586. package/dist/esm/api/types/ActionWithIncludesResponse.d.mts +7 -0
  587. package/dist/esm/api/types/ActionWithIncludesResponse.mjs +2 -0
  588. package/dist/esm/api/types/ActionsWithIncludesResponse.d.mts +11 -0
  589. package/dist/esm/api/types/ActionsWithIncludesResponse.mjs +2 -0
  590. package/dist/esm/api/types/AssetCommon.d.mts +2 -0
  591. package/dist/esm/api/types/AssetCommonWithIncludes.d.mts +2 -0
  592. package/dist/esm/api/types/AssetInclude.d.mts +0 -1
  593. package/dist/esm/api/types/AssetInclude.mjs +0 -1
  594. package/dist/esm/api/types/AssetSearchResult.d.mts +18 -0
  595. package/dist/esm/api/types/AssetSearchResult.mjs +9 -0
  596. package/dist/esm/api/types/AssetShareParams.d.mts +4 -2
  597. package/dist/esm/api/types/AssigneeMatch.d.mts +7 -0
  598. package/dist/esm/api/types/AssigneeMatch.mjs +2 -0
  599. package/dist/esm/api/types/AudioSampleRateMatch.d.mts +7 -0
  600. package/dist/esm/api/types/AudioSampleRateMatch.mjs +2 -0
  601. package/dist/esm/api/types/AuditLogwithIncludes.d.mts +5 -0
  602. package/dist/esm/api/types/AuditLogwithIncludes.mjs +5 -0
  603. package/dist/esm/api/types/BitDepthMatch.d.mts +7 -0
  604. package/dist/esm/api/types/BitDepthMatch.mjs +2 -0
  605. package/dist/esm/api/types/BitRateMatch.d.mts +7 -0
  606. package/dist/esm/api/types/BitRateMatch.mjs +2 -0
  607. package/dist/esm/api/types/ChannelsMatch.d.mts +7 -0
  608. package/dist/esm/api/types/ChannelsMatch.mjs +2 -0
  609. package/dist/esm/api/types/CodecMatch.d.mts +7 -0
  610. package/dist/esm/api/types/CodecMatch.mjs +2 -0
  611. package/dist/esm/api/types/Collection.d.mts +31 -0
  612. package/dist/esm/api/types/Collection.mjs +8 -0
  613. package/dist/esm/api/types/CollectionInclude.d.mts +4 -0
  614. package/dist/esm/api/types/CollectionInclude.mjs +2 -0
  615. package/dist/esm/api/types/CollectionResponse.d.mts +4 -0
  616. package/dist/esm/api/types/CollectionResponse.mjs +2 -0
  617. package/dist/esm/api/types/CollectionsResponse.d.mts +8 -0
  618. package/dist/esm/api/types/CollectionsResponse.mjs +2 -0
  619. package/dist/esm/api/types/ColorSpaceMatch.d.mts +7 -0
  620. package/dist/esm/api/types/ColorSpaceMatch.mjs +2 -0
  621. package/dist/esm/api/types/CommentCountMatch.d.mts +7 -0
  622. package/dist/esm/api/types/CommentCountMatch.mjs +2 -0
  623. package/dist/esm/api/types/CommentMatch.d.mts +11 -0
  624. package/dist/esm/api/types/CommentMatch.mjs +2 -0
  625. package/dist/esm/api/types/CreatorMatch.d.mts +7 -0
  626. package/dist/esm/api/types/CreatorMatch.mjs +2 -0
  627. package/dist/esm/api/types/DeletedAtMatch.d.mts +7 -0
  628. package/dist/esm/api/types/DeletedAtMatch.mjs +2 -0
  629. package/dist/esm/api/types/DurationMatch.d.mts +7 -0
  630. package/dist/esm/api/types/DurationMatch.mjs +2 -0
  631. package/dist/esm/api/types/DynamicRangeMatch.d.mts +7 -0
  632. package/dist/esm/api/types/DynamicRangeMatch.mjs +2 -0
  633. package/dist/esm/api/types/FieldDefinitionSort.d.mts +8 -0
  634. package/dist/esm/api/types/FieldDefinitionSort.mjs +8 -0
  635. package/dist/esm/api/types/FileTypeMatch.d.mts +7 -0
  636. package/dist/esm/api/types/FileTypeMatch.mjs +2 -0
  637. package/dist/esm/api/types/FileWithIncludes.d.mts +2 -0
  638. package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +0 -1
  639. package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +0 -1
  640. package/dist/esm/api/types/File_.d.mts +4 -0
  641. package/dist/esm/api/types/FilesizeMatch.d.mts +7 -0
  642. package/dist/esm/api/types/FilesizeMatch.mjs +2 -0
  643. package/dist/esm/api/types/Filters.d.mts +5 -0
  644. package/dist/esm/api/types/Filters.mjs +5 -0
  645. package/dist/esm/api/types/FolderWithIncludes.d.mts +2 -0
  646. package/dist/esm/api/types/FormatMatch.d.mts +7 -0
  647. package/dist/esm/api/types/FormatMatch.mjs +2 -0
  648. package/dist/esm/api/types/FrameOrAdobeId.d.mts +4 -0
  649. package/dist/esm/api/types/FrameOrAdobeId.mjs +2 -0
  650. package/dist/esm/api/types/FrameRateMatch.d.mts +7 -0
  651. package/dist/esm/api/types/FrameRateMatch.mjs +2 -0
  652. package/dist/esm/api/types/GroupCommon.d.mts +16 -0
  653. package/dist/esm/api/types/GroupCommon.mjs +2 -0
  654. package/dist/esm/api/types/GroupCommonWithIncludes.d.mts +4 -0
  655. package/dist/esm/api/types/GroupCommonWithIncludes.mjs +2 -0
  656. package/dist/esm/api/types/GroupResponse.d.mts +4 -0
  657. package/dist/esm/api/types/GroupResponse.mjs +2 -0
  658. package/dist/esm/api/types/GroupWithIncludes.d.mts +13 -0
  659. package/dist/esm/api/types/GroupWithIncludes.mjs +2 -0
  660. package/dist/esm/api/types/GroupWithIncludesResponse.d.mts +4 -0
  661. package/dist/esm/api/types/GroupWithIncludesResponse.mjs +2 -0
  662. package/dist/esm/api/types/GroupsInclude.d.mts +4 -0
  663. package/dist/esm/api/types/GroupsInclude.mjs +2 -0
  664. package/dist/esm/api/types/GroupsSort.d.mts +10 -0
  665. package/dist/esm/api/types/GroupsSort.mjs +10 -0
  666. package/dist/esm/api/types/GroupsWithIncludesResponse.d.mts +8 -0
  667. package/dist/esm/api/types/GroupsWithIncludesResponse.mjs +2 -0
  668. package/dist/esm/api/types/HasAlphaChannelMatch.d.mts +7 -0
  669. package/dist/esm/api/types/HasAlphaChannelMatch.mjs +2 -0
  670. package/dist/esm/api/types/InsertedAtMatch.d.mts +7 -0
  671. package/dist/esm/api/types/InsertedAtMatch.mjs +2 -0
  672. package/dist/esm/api/types/KeywordsMatch.d.mts +7 -0
  673. package/dist/esm/api/types/KeywordsMatch.mjs +2 -0
  674. package/dist/esm/api/types/NameMatch.d.mts +9 -0
  675. package/dist/esm/api/types/NameMatch.mjs +2 -0
  676. package/dist/esm/api/types/NotesMatch.d.mts +7 -0
  677. package/dist/esm/api/types/NotesMatch.mjs +2 -0
  678. package/dist/esm/api/types/PageCountMatch.d.mts +7 -0
  679. package/dist/esm/api/types/PageCountMatch.mjs +2 -0
  680. package/dist/esm/api/types/Project.d.mts +2 -0
  681. package/dist/esm/api/types/ProjectMatch.d.mts +20 -0
  682. package/dist/esm/api/types/ProjectMatch.mjs +2 -0
  683. package/dist/esm/api/types/ProjectMatchInfo.d.mts +9 -0
  684. package/dist/esm/api/types/ProjectMatchInfo.mjs +2 -0
  685. package/dist/esm/api/types/ProjectSearchResult.d.mts +10 -0
  686. package/dist/esm/api/types/ProjectSearchResult.mjs +2 -0
  687. package/dist/esm/api/types/ProjectSort.d.mts +8 -0
  688. package/dist/esm/api/types/ProjectSort.mjs +8 -0
  689. package/dist/esm/api/types/RatingMatch.d.mts +13 -0
  690. package/dist/esm/api/types/RatingMatch.mjs +2 -0
  691. package/dist/esm/api/types/ResolutionHeightMatch.d.mts +7 -0
  692. package/dist/esm/api/types/ResolutionHeightMatch.mjs +2 -0
  693. package/dist/esm/api/types/ResolutionWidthMatch.d.mts +7 -0
  694. package/dist/esm/api/types/ResolutionWidthMatch.mjs +2 -0
  695. package/dist/esm/api/types/ReviewersSort.d.mts +8 -0
  696. package/dist/esm/api/types/ReviewersSort.mjs +8 -0
  697. package/dist/esm/api/types/SearchMatch.d.mts +106 -0
  698. package/dist/esm/api/types/SearchMatch.mjs +2 -0
  699. package/dist/esm/api/types/SearchResponse.d.mts +17 -0
  700. package/dist/esm/api/types/SearchResponse.mjs +2 -0
  701. package/dist/esm/api/types/Share.d.mts +3 -0
  702. package/dist/esm/api/types/ShareSort.d.mts +8 -0
  703. package/dist/esm/api/types/ShareSort.mjs +8 -0
  704. package/dist/esm/api/types/SingleUserValue.d.mts +1 -1
  705. package/dist/esm/api/types/SourceFilenameMatch.d.mts +9 -0
  706. package/dist/esm/api/types/SourceFilenameMatch.mjs +2 -0
  707. package/dist/esm/api/types/StatusMatch.d.mts +7 -0
  708. package/dist/esm/api/types/StatusMatch.mjs +2 -0
  709. package/dist/esm/api/types/SyncGroupWithIncludes.d.mts +15 -0
  710. package/dist/esm/api/types/SyncGroupWithIncludes.mjs +11 -0
  711. package/dist/esm/api/types/TranscriptionMatch.d.mts +23 -0
  712. package/dist/esm/api/types/TranscriptionMatch.mjs +2 -0
  713. package/dist/esm/api/types/UpdateWorkspaceRoleResponse.d.mts +9 -0
  714. package/dist/esm/api/types/UpdateWorkspaceRoleResponse.mjs +2 -0
  715. package/dist/esm/api/types/UpdatedAtMatch.d.mts +7 -0
  716. package/dist/esm/api/types/UpdatedAtMatch.mjs +2 -0
  717. package/dist/esm/api/types/UploadedAtMatch.d.mts +7 -0
  718. package/dist/esm/api/types/UploadedAtMatch.mjs +2 -0
  719. package/dist/esm/api/types/UserRole.d.mts +1 -0
  720. package/dist/esm/api/types/UserRole.mjs +1 -0
  721. package/dist/esm/api/types/UserRoleSort.d.mts +10 -0
  722. package/dist/esm/api/types/UserRoleSort.mjs +10 -0
  723. package/dist/esm/api/types/UserRolesResponse.d.mts +11 -0
  724. package/dist/esm/api/types/UserRolesResponse.mjs +2 -0
  725. package/dist/esm/api/types/Uuid.d.mts +1 -1
  726. package/dist/esm/api/types/VersionStack.d.mts +2 -0
  727. package/dist/esm/api/types/VersionStackWithIncludes.d.mts +2 -0
  728. package/dist/esm/api/types/VisualMatch.d.mts +27 -0
  729. package/dist/esm/api/types/VisualMatch.mjs +2 -0
  730. package/dist/esm/api/types/VisualMatchClip.d.mts +15 -0
  731. package/dist/esm/api/types/VisualMatchClip.mjs +2 -0
  732. package/dist/esm/api/types/WorkspaceRole.d.mts +10 -0
  733. package/dist/esm/api/types/WorkspaceRole.mjs +10 -0
  734. package/dist/esm/api/types/WorkspaceSort.d.mts +8 -0
  735. package/dist/esm/api/types/WorkspaceSort.mjs +8 -0
  736. package/dist/esm/api/types/WorkspaceUserRole.d.mts +21 -0
  737. package/dist/esm/api/types/WorkspaceUserRole.mjs +14 -0
  738. package/dist/esm/api/types/WorkspaceUserRolesResponse.d.mts +2 -2
  739. package/dist/esm/api/types/index.d.mts +72 -0
  740. package/dist/esm/api/types/index.mjs +72 -0
  741. package/dist/esm/index.d.mts +4 -4
  742. package/dist/esm/index.mjs +3 -3
  743. package/dist/esm/oauth/BaseAuth.d.mts +2 -2
  744. package/dist/esm/oauth/BaseAuth.mjs +4 -4
  745. package/dist/esm/oauth/NativeAppAuth.d.mts +1 -1
  746. package/dist/esm/oauth/NativeAppAuth.mjs +1 -1
  747. package/dist/esm/oauth/SPAAuth.d.mts +2 -2
  748. package/dist/esm/oauth/SPAAuth.mjs +5 -5
  749. package/dist/esm/oauth/ServerToServerAuth.d.mts +2 -2
  750. package/dist/esm/oauth/ServerToServerAuth.mjs +3 -3
  751. package/dist/esm/oauth/TokenManager.d.mts +1 -1
  752. package/dist/esm/oauth/TokenManager.mjs +3 -3
  753. package/dist/esm/oauth/WebAppAuth.d.mts +2 -2
  754. package/dist/esm/oauth/WebAppAuth.mjs +4 -4
  755. package/dist/esm/oauth/http.d.mts +2 -2
  756. package/dist/esm/oauth/http.mjs +2 -2
  757. package/dist/esm/oauth/index.d.mts +14 -14
  758. package/dist/esm/oauth/index.mjs +7 -7
  759. package/dist/esm/oauth/validation.d.mts +1 -1
  760. package/dist/esm/oauth/validation.mjs +1 -1
  761. package/dist/esm/version.d.mts +1 -1
  762. package/dist/esm/version.mjs +1 -1
  763. package/package.json +56 -1
  764. package/reference.md +2307 -1052
@@ -6,6 +6,5 @@ exports.FoldersListRequestInclude = void 0;
6
6
  exports.FoldersListRequestInclude = {
7
7
  Creator: "creator",
8
8
  Project: "project",
9
- ProjectOwner: "project.owner",
10
9
  Metadata: "metadata",
11
10
  };
@@ -2,7 +2,6 @@
2
2
  export declare const FoldersShowRequestInclude: {
3
3
  readonly Creator: "creator";
4
4
  readonly Project: "project";
5
- readonly ProjectOwner: "project.owner";
6
5
  readonly Metadata: "metadata";
7
6
  };
8
7
  export type FoldersShowRequestInclude = (typeof FoldersShowRequestInclude)[keyof typeof FoldersShowRequestInclude];
@@ -6,6 +6,5 @@ exports.FoldersShowRequestInclude = void 0;
6
6
  exports.FoldersShowRequestInclude = {
7
7
  Creator: "creator",
8
8
  Project: "project",
9
- ProjectOwner: "project.owner",
10
9
  Metadata: "metadata",
11
10
  };
@@ -0,0 +1,116 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as Frameio from "../../../index.js";
5
+ export declare namespace GroupsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ /**
11
+ * Manage Groups and related operations.
12
+ */
13
+ export declare class GroupsClient {
14
+ protected readonly _options: NormalizedClientOptionsWithAuth<GroupsClient.Options>;
15
+ constructor(options: GroupsClient.Options);
16
+ /**
17
+ * List groups in account. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
18
+ *
19
+ * @param {Frameio.FrameOrAdobeId} account_id
20
+ * @param {Frameio.GroupsIndexRequest} request
21
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
22
+ *
23
+ * @throws {@link Frameio.BadRequestError}
24
+ * @throws {@link Frameio.UnauthorizedError}
25
+ * @throws {@link Frameio.ForbiddenError}
26
+ * @throws {@link Frameio.NotFoundError}
27
+ * @throws {@link Frameio.ConflictError}
28
+ * @throws {@link Frameio.UnprocessableEntityError}
29
+ * @throws {@link Frameio.TooManyRequestsError}
30
+ *
31
+ * @example
32
+ * await client.groups.index("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
33
+ * include: "creator",
34
+ * sort: "creator_asc",
35
+ * after: "<opaque_cursor>",
36
+ * page_size: 10,
37
+ * include_total_count: false
38
+ * })
39
+ */
40
+ index(account_id: Frameio.FrameOrAdobeId, request?: Frameio.GroupsIndexRequest, requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<Frameio.GroupsWithIncludesResponse>;
41
+ private __index;
42
+ /**
43
+ * Create group for the current account. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
44
+ *
45
+ * @param {Frameio.FrameOrAdobeId} account_id
46
+ * @param {Frameio.CreateGroupParams} request
47
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
48
+ *
49
+ * @throws {@link Frameio.BadRequestError}
50
+ * @throws {@link Frameio.UnauthorizedError}
51
+ * @throws {@link Frameio.ForbiddenError}
52
+ * @throws {@link Frameio.NotFoundError}
53
+ * @throws {@link Frameio.ConflictError}
54
+ * @throws {@link Frameio.UnprocessableEntityError}
55
+ * @throws {@link Frameio.TooManyRequestsError}
56
+ *
57
+ * @example
58
+ * await client.groups.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
59
+ * data: {
60
+ * emoji: "smile",
61
+ * name: "group-1"
62
+ * }
63
+ * })
64
+ */
65
+ create(account_id: Frameio.FrameOrAdobeId, request: Frameio.CreateGroupParams, requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<Frameio.GroupResponse>;
66
+ private __create;
67
+ /**
68
+ * Show group details. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
69
+ *
70
+ * @param {Frameio.FrameOrAdobeId} account_id
71
+ * @param {Frameio.Uuid} group_id
72
+ * @param {Frameio.GroupsShowRequest} request
73
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Frameio.BadRequestError}
76
+ * @throws {@link Frameio.UnauthorizedError}
77
+ * @throws {@link Frameio.ForbiddenError}
78
+ * @throws {@link Frameio.NotFoundError}
79
+ * @throws {@link Frameio.ConflictError}
80
+ * @throws {@link Frameio.UnprocessableEntityError}
81
+ * @throws {@link Frameio.TooManyRequestsError}
82
+ *
83
+ * @example
84
+ * await client.groups.show("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
85
+ * include: "creator"
86
+ * })
87
+ */
88
+ show(account_id: Frameio.FrameOrAdobeId, group_id: Frameio.Uuid, request?: Frameio.GroupsShowRequest, requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<Frameio.GroupWithIncludesResponse>;
89
+ private __show;
90
+ /**
91
+ * Update group details. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
92
+ *
93
+ * @param {Frameio.FrameOrAdobeId} account_id
94
+ * @param {Frameio.Uuid} group_id
95
+ * @param {Frameio.UpdateGroupParams} request
96
+ * @param {GroupsClient.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.groups.update("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
108
+ * data: {
109
+ * emoji: "smile",
110
+ * name: "group-1"
111
+ * }
112
+ * })
113
+ */
114
+ update(account_id: Frameio.FrameOrAdobeId, group_id: Frameio.Uuid, request: Frameio.UpdateGroupParams, requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<Frameio.GroupResponse>;
115
+ private __update;
116
+ }
@@ -0,0 +1,368 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.GroupsClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../errors/index.js"));
53
+ const Frameio = __importStar(require("../../../index.js"));
54
+ /**
55
+ * Manage Groups and related operations.
56
+ */
57
+ class GroupsClient {
58
+ constructor(options) {
59
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
60
+ }
61
+ /**
62
+ * List groups in account. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
63
+ *
64
+ * @param {Frameio.FrameOrAdobeId} account_id
65
+ * @param {Frameio.GroupsIndexRequest} request
66
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Frameio.BadRequestError}
69
+ * @throws {@link Frameio.UnauthorizedError}
70
+ * @throws {@link Frameio.ForbiddenError}
71
+ * @throws {@link Frameio.NotFoundError}
72
+ * @throws {@link Frameio.ConflictError}
73
+ * @throws {@link Frameio.UnprocessableEntityError}
74
+ * @throws {@link Frameio.TooManyRequestsError}
75
+ *
76
+ * @example
77
+ * await client.groups.index("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
78
+ * include: "creator",
79
+ * sort: "creator_asc",
80
+ * after: "<opaque_cursor>",
81
+ * page_size: 10,
82
+ * include_total_count: false
83
+ * })
84
+ */
85
+ index(account_id, request = {}, requestOptions) {
86
+ return core.HttpResponsePromise.fromPromise(this.__index(account_id, request, requestOptions));
87
+ }
88
+ __index(account_id_1) {
89
+ return __awaiter(this, arguments, void 0, function* (account_id, request = {}, requestOptions) {
90
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
91
+ const { include, sort, after, page_size: pageSize, include_total_count: includeTotalCount } = request;
92
+ const _queryParams = {
93
+ include: include != null ? include : undefined,
94
+ sort: sort != null ? sort : undefined,
95
+ after,
96
+ page_size: pageSize,
97
+ include_total_count: includeTotalCount,
98
+ };
99
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
100
+ 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);
101
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
102
+ 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)}/groups`),
103
+ method: "GET",
104
+ headers: _headers,
105
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
106
+ 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,
107
+ 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,
108
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
109
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
110
+ logging: this._options.logging,
111
+ });
112
+ if (_response.ok) {
113
+ return { data: _response.body, rawResponse: _response.rawResponse };
114
+ }
115
+ if (_response.error.reason === "status-code") {
116
+ switch (_response.error.statusCode) {
117
+ case 400:
118
+ throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
119
+ case 401:
120
+ throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
121
+ case 403:
122
+ throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
123
+ case 404:
124
+ throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
125
+ case 409:
126
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
127
+ case 422:
128
+ throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
129
+ case 429:
130
+ throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
131
+ default:
132
+ throw new errors.FrameioError({
133
+ statusCode: _response.error.statusCode,
134
+ body: _response.error.body,
135
+ rawResponse: _response.rawResponse,
136
+ });
137
+ }
138
+ }
139
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v4/accounts/{account_id}/groups");
140
+ });
141
+ }
142
+ /**
143
+ * Create group for the current account. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
144
+ *
145
+ * @param {Frameio.FrameOrAdobeId} account_id
146
+ * @param {Frameio.CreateGroupParams} request
147
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
148
+ *
149
+ * @throws {@link Frameio.BadRequestError}
150
+ * @throws {@link Frameio.UnauthorizedError}
151
+ * @throws {@link Frameio.ForbiddenError}
152
+ * @throws {@link Frameio.NotFoundError}
153
+ * @throws {@link Frameio.ConflictError}
154
+ * @throws {@link Frameio.UnprocessableEntityError}
155
+ * @throws {@link Frameio.TooManyRequestsError}
156
+ *
157
+ * @example
158
+ * await client.groups.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
159
+ * data: {
160
+ * emoji: "smile",
161
+ * name: "group-1"
162
+ * }
163
+ * })
164
+ */
165
+ create(account_id, request, requestOptions) {
166
+ return core.HttpResponsePromise.fromPromise(this.__create(account_id, request, requestOptions));
167
+ }
168
+ __create(account_id, request, requestOptions) {
169
+ return __awaiter(this, void 0, void 0, function* () {
170
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
171
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
172
+ 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);
173
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
174
+ 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)}/groups`),
175
+ method: "POST",
176
+ headers: _headers,
177
+ contentType: "application/json",
178
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
179
+ requestType: "json",
180
+ body: request,
181
+ 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,
182
+ 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,
183
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
184
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
185
+ logging: this._options.logging,
186
+ });
187
+ if (_response.ok) {
188
+ return { data: _response.body, rawResponse: _response.rawResponse };
189
+ }
190
+ if (_response.error.reason === "status-code") {
191
+ switch (_response.error.statusCode) {
192
+ case 400:
193
+ throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
194
+ case 401:
195
+ throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
196
+ case 403:
197
+ throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
198
+ case 404:
199
+ throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
200
+ case 409:
201
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
202
+ case 422:
203
+ throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
204
+ case 429:
205
+ throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
206
+ default:
207
+ throw new errors.FrameioError({
208
+ statusCode: _response.error.statusCode,
209
+ body: _response.error.body,
210
+ rawResponse: _response.rawResponse,
211
+ });
212
+ }
213
+ }
214
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v4/accounts/{account_id}/groups");
215
+ });
216
+ }
217
+ /**
218
+ * Show group details. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
219
+ *
220
+ * @param {Frameio.FrameOrAdobeId} account_id
221
+ * @param {Frameio.Uuid} group_id
222
+ * @param {Frameio.GroupsShowRequest} request
223
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
224
+ *
225
+ * @throws {@link Frameio.BadRequestError}
226
+ * @throws {@link Frameio.UnauthorizedError}
227
+ * @throws {@link Frameio.ForbiddenError}
228
+ * @throws {@link Frameio.NotFoundError}
229
+ * @throws {@link Frameio.ConflictError}
230
+ * @throws {@link Frameio.UnprocessableEntityError}
231
+ * @throws {@link Frameio.TooManyRequestsError}
232
+ *
233
+ * @example
234
+ * await client.groups.show("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
235
+ * include: "creator"
236
+ * })
237
+ */
238
+ show(account_id, group_id, request = {}, requestOptions) {
239
+ return core.HttpResponsePromise.fromPromise(this.__show(account_id, group_id, request, requestOptions));
240
+ }
241
+ __show(account_id_1, group_id_1) {
242
+ return __awaiter(this, arguments, void 0, function* (account_id, group_id, request = {}, requestOptions) {
243
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
244
+ const { include } = request;
245
+ const _queryParams = {
246
+ include: include != null ? include : undefined,
247
+ };
248
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
249
+ 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);
250
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
251
+ 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)}/groups/${core.url.encodePathParam(group_id)}`),
252
+ method: "GET",
253
+ headers: _headers,
254
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
255
+ 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,
256
+ 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,
257
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
258
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
259
+ logging: this._options.logging,
260
+ });
261
+ if (_response.ok) {
262
+ return { data: _response.body, rawResponse: _response.rawResponse };
263
+ }
264
+ if (_response.error.reason === "status-code") {
265
+ switch (_response.error.statusCode) {
266
+ case 400:
267
+ throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
268
+ case 401:
269
+ throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
270
+ case 403:
271
+ throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
272
+ case 404:
273
+ throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
274
+ case 409:
275
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
276
+ case 422:
277
+ throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
278
+ case 429:
279
+ throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
280
+ default:
281
+ throw new errors.FrameioError({
282
+ statusCode: _response.error.statusCode,
283
+ body: _response.error.body,
284
+ rawResponse: _response.rawResponse,
285
+ });
286
+ }
287
+ }
288
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v4/accounts/{account_id}/groups/{group_id}");
289
+ });
290
+ }
291
+ /**
292
+ * Update group details. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
293
+ *
294
+ * @param {Frameio.FrameOrAdobeId} account_id
295
+ * @param {Frameio.Uuid} group_id
296
+ * @param {Frameio.UpdateGroupParams} request
297
+ * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
298
+ *
299
+ * @throws {@link Frameio.BadRequestError}
300
+ * @throws {@link Frameio.UnauthorizedError}
301
+ * @throws {@link Frameio.ForbiddenError}
302
+ * @throws {@link Frameio.NotFoundError}
303
+ * @throws {@link Frameio.ConflictError}
304
+ * @throws {@link Frameio.UnprocessableEntityError}
305
+ * @throws {@link Frameio.TooManyRequestsError}
306
+ *
307
+ * @example
308
+ * await client.groups.update("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
309
+ * data: {
310
+ * emoji: "smile",
311
+ * name: "group-1"
312
+ * }
313
+ * })
314
+ */
315
+ update(account_id, group_id, request, requestOptions) {
316
+ return core.HttpResponsePromise.fromPromise(this.__update(account_id, group_id, request, requestOptions));
317
+ }
318
+ __update(account_id, group_id, request, requestOptions) {
319
+ return __awaiter(this, void 0, void 0, function* () {
320
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
321
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
322
+ 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);
323
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
324
+ 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)}/groups/${core.url.encodePathParam(group_id)}`),
325
+ method: "PATCH",
326
+ headers: _headers,
327
+ contentType: "application/json",
328
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
329
+ requestType: "json",
330
+ body: request,
331
+ 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,
332
+ 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,
333
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
334
+ fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
335
+ logging: this._options.logging,
336
+ });
337
+ if (_response.ok) {
338
+ return { data: _response.body, rawResponse: _response.rawResponse };
339
+ }
340
+ if (_response.error.reason === "status-code") {
341
+ switch (_response.error.statusCode) {
342
+ case 400:
343
+ throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
344
+ case 401:
345
+ throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
346
+ case 403:
347
+ throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
348
+ case 404:
349
+ throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
350
+ case 409:
351
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
352
+ case 422:
353
+ throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
354
+ case 429:
355
+ throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
356
+ default:
357
+ throw new errors.FrameioError({
358
+ statusCode: _response.error.statusCode,
359
+ body: _response.error.body,
360
+ rawResponse: _response.rawResponse,
361
+ });
362
+ }
363
+ }
364
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v4/accounts/{account_id}/groups/{group_id}");
365
+ });
366
+ }
367
+ }
368
+ exports.GroupsClient = GroupsClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * data: {
5
+ * emoji: "smile",
6
+ * name: "group-1"
7
+ * }
8
+ * }
9
+ */
10
+ export interface CreateGroupParams {
11
+ data: CreateGroupParams.Data;
12
+ }
13
+ export declare namespace CreateGroupParams {
14
+ interface Data {
15
+ /** Group emoji for UI display */
16
+ emoji: string;
17
+ /** Group name */
18
+ name: string;
19
+ }
20
+ }
@@ -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,24 @@
1
+ import type * as Frameio from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * include: "creator",
6
+ * sort: "creator_asc",
7
+ * after: "<opaque_cursor>",
8
+ * page_size: 10,
9
+ * include_total_count: false
10
+ * }
11
+ */
12
+ export interface GroupsIndexRequest {
13
+ include?: "creator";
14
+ /** Sort groups by query params */
15
+ sort?: Frameio.GroupsIndexRequestSort;
16
+ /**
17
+ * Opaque Cursor query param for requests returning paginated results.
18
+ * <br/>
19
+ * NOTE: this value is auto-generated and included as part of links from a previous response. It is not intended to be human readable.
20
+ */
21
+ after?: Frameio.RequestAfterOpaqueCursor | undefined;
22
+ page_size?: Frameio.RequestPageSize;
23
+ include_total_count?: Frameio.IncludeTotalCount;
24
+ }
@@ -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,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * include: "creator"
5
+ * }
6
+ */
7
+ export interface GroupsShowRequest {
8
+ include?: "creator";
9
+ }
@@ -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,20 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * data: {
5
+ * emoji: "smile",
6
+ * name: "group-1"
7
+ * }
8
+ * }
9
+ */
10
+ export interface UpdateGroupParams {
11
+ data: UpdateGroupParams.Data;
12
+ }
13
+ export declare namespace UpdateGroupParams {
14
+ interface Data {
15
+ /** Group emoji for UI display */
16
+ emoji?: string | undefined;
17
+ /** Group name */
18
+ name?: string | undefined;
19
+ }
20
+ }
@@ -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
+ export type { CreateGroupParams } from "./CreateGroupParams.js";
2
+ export type { GroupsIndexRequest } from "./GroupsIndexRequest.js";
3
+ export type { GroupsShowRequest } from "./GroupsShowRequest.js";
4
+ export type { UpdateGroupParams } from "./UpdateGroupParams.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { GroupsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";