frameio 4.2.0 → 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 (626) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +9 -0
  3. package/dist/cjs/Client.js +45 -30
  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 +10 -10
  39. package/dist/cjs/api/resources/customActions/client/Client.js +5 -5
  40. package/dist/cjs/api/resources/files/client/Client.d.ts +33 -33
  41. package/dist/cjs/api/resources/files/client/Client.js +22 -22
  42. package/dist/cjs/api/resources/files/types/FilesListRequestInclude.d.ts +0 -1
  43. package/dist/cjs/api/resources/files/types/FilesListRequestInclude.js +0 -1
  44. package/dist/cjs/api/resources/files/types/FilesShowRequestInclude.d.ts +0 -1
  45. package/dist/cjs/api/resources/files/types/FilesShowRequestInclude.js +0 -1
  46. package/dist/cjs/api/resources/folderPermissions/client/Client.d.ts +90 -0
  47. package/dist/cjs/api/resources/folderPermissions/client/Client.js +287 -0
  48. package/dist/cjs/api/resources/folderPermissions/client/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/folderPermissions/client/index.js +17 -0
  50. package/dist/cjs/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.ts +22 -0
  51. package/dist/cjs/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.js +3 -0
  52. package/dist/cjs/api/resources/folderPermissions/client/requests/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/folderPermissions/client/requests/index.js +2 -0
  54. package/dist/cjs/api/resources/folderPermissions/exports.d.ts +2 -0
  55. package/dist/cjs/api/resources/folderPermissions/exports.js +21 -0
  56. package/dist/cjs/api/resources/folderPermissions/index.d.ts +1 -0
  57. package/dist/cjs/api/resources/folderPermissions/index.js +17 -0
  58. package/dist/cjs/api/resources/folders/client/Client.d.ts +24 -24
  59. package/dist/cjs/api/resources/folders/client/Client.js +16 -16
  60. package/dist/cjs/api/resources/folders/types/FoldersIndexRequestInclude.d.ts +0 -1
  61. package/dist/cjs/api/resources/folders/types/FoldersIndexRequestInclude.js +0 -1
  62. package/dist/cjs/api/resources/folders/types/FoldersListRequestInclude.d.ts +0 -1
  63. package/dist/cjs/api/resources/folders/types/FoldersListRequestInclude.js +0 -1
  64. package/dist/cjs/api/resources/folders/types/FoldersShowRequestInclude.d.ts +0 -1
  65. package/dist/cjs/api/resources/folders/types/FoldersShowRequestInclude.js +0 -1
  66. package/dist/cjs/api/resources/groups/client/Client.d.ts +8 -8
  67. package/dist/cjs/api/resources/groups/client/Client.js +4 -4
  68. package/dist/cjs/api/resources/index.d.ts +12 -0
  69. package/dist/cjs/api/resources/index.js +13 -1
  70. package/dist/cjs/api/resources/metadata/client/Client.d.ts +10 -10
  71. package/dist/cjs/api/resources/metadata/client/Client.js +8 -8
  72. package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +5 -5
  73. package/dist/cjs/api/resources/metadataFields/client/Client.d.ts +9 -8
  74. package/dist/cjs/api/resources/metadataFields/client/Client.js +7 -5
  75. package/dist/cjs/api/resources/metadataFields/client/requests/MetadataFieldDefinitionsIndexRequest.d.ts +3 -0
  76. package/dist/cjs/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.d.ts +8 -0
  77. package/dist/cjs/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.js +11 -0
  78. package/dist/cjs/api/resources/metadataFields/types/index.d.ts +1 -0
  79. package/dist/cjs/api/resources/metadataFields/types/index.js +1 -0
  80. package/dist/cjs/api/resources/projectPermissions/client/Client.d.ts +10 -9
  81. package/dist/cjs/api/resources/projectPermissions/client/Client.js +7 -6
  82. package/dist/cjs/api/resources/projectPermissions/client/requests/ProjectPermissionsIndexRequest.d.ts +3 -0
  83. package/dist/cjs/api/resources/projectPermissions/index.d.ts +1 -0
  84. package/dist/cjs/api/resources/projectPermissions/index.js +1 -0
  85. package/dist/cjs/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.d.ts +10 -0
  86. package/dist/cjs/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.js +13 -0
  87. package/dist/cjs/api/resources/projectPermissions/types/index.d.ts +1 -0
  88. package/dist/cjs/api/resources/projectPermissions/types/index.js +17 -0
  89. package/dist/cjs/api/resources/projects/client/Client.d.ts +14 -13
  90. package/dist/cjs/api/resources/projects/client/Client.js +9 -8
  91. package/dist/cjs/api/resources/projects/client/requests/ProjectsIndexRequest.d.ts +3 -0
  92. package/dist/cjs/api/resources/projects/index.d.ts +1 -0
  93. package/dist/cjs/api/resources/projects/index.js +1 -0
  94. package/dist/cjs/api/resources/projects/types/ProjectsIndexRequestSort.d.ts +8 -0
  95. package/dist/cjs/api/resources/projects/types/ProjectsIndexRequestSort.js +11 -0
  96. package/dist/cjs/api/resources/projects/types/index.d.ts +1 -0
  97. package/dist/cjs/api/resources/projects/types/index.js +17 -0
  98. package/dist/cjs/api/resources/search/client/Client.d.ts +48 -0
  99. package/dist/cjs/api/resources/search/client/Client.js +161 -0
  100. package/dist/cjs/api/resources/search/client/index.d.ts +1 -0
  101. package/dist/cjs/api/resources/search/client/index.js +17 -0
  102. package/dist/cjs/api/resources/search/client/requests/SearchParams.d.ts +51 -0
  103. package/dist/cjs/api/resources/search/client/requests/SearchParams.js +12 -0
  104. package/dist/cjs/api/resources/search/client/requests/index.d.ts +1 -0
  105. package/dist/cjs/api/resources/search/client/requests/index.js +5 -0
  106. package/dist/cjs/api/resources/search/exports.d.ts +2 -0
  107. package/dist/cjs/api/resources/search/exports.js +21 -0
  108. package/dist/cjs/api/resources/search/index.d.ts +1 -0
  109. package/dist/cjs/api/resources/search/index.js +17 -0
  110. package/dist/cjs/api/resources/shares/client/Client.d.ts +29 -27
  111. package/dist/cjs/api/resources/shares/client/Client.js +19 -17
  112. package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +2 -2
  113. package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
  114. package/dist/cjs/api/resources/shares/client/requests/SharesIndexRequest.d.ts +3 -0
  115. package/dist/cjs/api/resources/shares/client/requests/SharesListReviewersRequest.d.ts +3 -0
  116. package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +2 -1
  117. package/dist/cjs/api/resources/shares/types/SharesIndexRequestSort.d.ts +8 -0
  118. package/dist/cjs/api/resources/shares/types/SharesIndexRequestSort.js +11 -0
  119. package/dist/cjs/api/resources/shares/types/SharesListReviewersRequestSort.d.ts +8 -0
  120. package/dist/cjs/api/resources/shares/types/SharesListReviewersRequestSort.js +11 -0
  121. package/dist/cjs/api/resources/shares/types/index.d.ts +2 -0
  122. package/dist/cjs/api/resources/shares/types/index.js +2 -0
  123. package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +19 -19
  124. package/dist/cjs/api/resources/versionStacks/client/Client.js +13 -13
  125. package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +3 -2
  126. package/dist/cjs/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.d.ts +0 -1
  127. package/dist/cjs/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.js +0 -1
  128. package/dist/cjs/api/resources/versionStacks/types/VersionStacksListRequestInclude.d.ts +0 -1
  129. package/dist/cjs/api/resources/versionStacks/types/VersionStacksListRequestInclude.js +0 -1
  130. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +0 -1
  131. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +0 -1
  132. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +10 -10
  133. package/dist/cjs/api/resources/webhooks/client/Client.js +5 -5
  134. package/dist/cjs/api/resources/workspacePermissions/client/Client.d.ts +8 -7
  135. package/dist/cjs/api/resources/workspacePermissions/client/Client.js +5 -4
  136. package/dist/cjs/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.d.ts +17 -0
  137. package/dist/cjs/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.js +3 -0
  138. package/dist/cjs/api/resources/workspacePermissions/client/requests/WorkspacePermissionsIndexRequest.d.ts +3 -0
  139. package/dist/cjs/api/resources/workspacePermissions/client/requests/index.d.ts +1 -0
  140. package/dist/cjs/api/resources/workspacePermissions/index.d.ts +1 -0
  141. package/dist/cjs/api/resources/workspacePermissions/index.js +1 -0
  142. package/dist/cjs/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.d.ts +10 -0
  143. package/dist/cjs/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.js +13 -0
  144. package/dist/cjs/api/resources/workspacePermissions/types/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/workspacePermissions/types/index.js +17 -0
  146. package/dist/cjs/api/resources/workspaces/client/Client.d.ts +11 -10
  147. package/dist/cjs/api/resources/workspaces/client/Client.js +6 -5
  148. package/dist/cjs/api/resources/workspaces/client/requests/WorkspacesIndexRequest.d.ts +3 -0
  149. package/dist/cjs/api/resources/workspaces/index.d.ts +1 -0
  150. package/dist/cjs/api/resources/workspaces/index.js +1 -0
  151. package/dist/cjs/api/resources/workspaces/types/WorkspacesIndexRequestSort.d.ts +8 -0
  152. package/dist/cjs/api/resources/workspaces/types/WorkspacesIndexRequestSort.js +11 -0
  153. package/dist/cjs/api/resources/workspaces/types/index.d.ts +1 -0
  154. package/dist/cjs/api/resources/workspaces/types/index.js +17 -0
  155. package/dist/cjs/api/types/Account.d.ts +2 -0
  156. package/dist/cjs/api/types/AccountSort.d.ts +8 -0
  157. package/dist/cjs/api/types/AccountSort.js +11 -0
  158. package/dist/cjs/api/types/AccountUserSort.d.ts +10 -0
  159. package/dist/cjs/api/types/AccountUserSort.js +13 -0
  160. package/dist/cjs/api/types/AssetCommon.d.ts +2 -0
  161. package/dist/cjs/api/types/AssetCommonWithIncludes.d.ts +2 -0
  162. package/dist/cjs/api/types/AssetInclude.d.ts +0 -1
  163. package/dist/cjs/api/types/AssetInclude.js +0 -1
  164. package/dist/cjs/api/types/AssetSearchResult.d.ts +18 -0
  165. package/dist/cjs/api/types/AssetSearchResult.js +12 -0
  166. package/dist/cjs/api/types/AssetShareParams.d.ts +4 -2
  167. package/dist/cjs/api/types/AssigneeMatch.d.ts +7 -0
  168. package/dist/cjs/api/types/AssigneeMatch.js +3 -0
  169. package/dist/cjs/api/types/AudioSampleRateMatch.d.ts +7 -0
  170. package/dist/cjs/api/types/AudioSampleRateMatch.js +3 -0
  171. package/dist/cjs/api/types/AuditLogwithIncludes.d.ts +2 -0
  172. package/dist/cjs/api/types/AuditLogwithIncludes.js +2 -0
  173. package/dist/cjs/api/types/BitDepthMatch.d.ts +7 -0
  174. package/dist/cjs/api/types/BitDepthMatch.js +3 -0
  175. package/dist/cjs/api/types/BitRateMatch.d.ts +7 -0
  176. package/dist/cjs/api/types/BitRateMatch.js +3 -0
  177. package/dist/cjs/api/types/ChannelsMatch.d.ts +7 -0
  178. package/dist/cjs/api/types/ChannelsMatch.js +3 -0
  179. package/dist/cjs/api/types/CodecMatch.d.ts +7 -0
  180. package/dist/cjs/api/types/CodecMatch.js +3 -0
  181. package/dist/cjs/api/types/Collection.d.ts +31 -0
  182. package/dist/cjs/api/types/Collection.js +11 -0
  183. package/dist/cjs/api/types/CollectionInclude.d.ts +4 -0
  184. package/dist/cjs/api/types/CollectionInclude.js +3 -0
  185. package/dist/cjs/api/types/CollectionResponse.d.ts +4 -0
  186. package/dist/cjs/api/types/CollectionResponse.js +3 -0
  187. package/dist/cjs/api/types/CollectionsResponse.d.ts +8 -0
  188. package/dist/cjs/api/types/CollectionsResponse.js +3 -0
  189. package/dist/cjs/api/types/ColorSpaceMatch.d.ts +7 -0
  190. package/dist/cjs/api/types/ColorSpaceMatch.js +3 -0
  191. package/dist/cjs/api/types/CommentCountMatch.d.ts +7 -0
  192. package/dist/cjs/api/types/CommentCountMatch.js +3 -0
  193. package/dist/cjs/api/types/CommentMatch.d.ts +11 -0
  194. package/dist/cjs/api/types/CommentMatch.js +3 -0
  195. package/dist/cjs/api/types/CreatorMatch.d.ts +7 -0
  196. package/dist/cjs/api/types/CreatorMatch.js +3 -0
  197. package/dist/cjs/api/types/DeletedAtMatch.d.ts +7 -0
  198. package/dist/cjs/api/types/DeletedAtMatch.js +3 -0
  199. package/dist/cjs/api/types/DurationMatch.d.ts +7 -0
  200. package/dist/cjs/api/types/DurationMatch.js +3 -0
  201. package/dist/cjs/api/types/DynamicRangeMatch.d.ts +7 -0
  202. package/dist/cjs/api/types/DynamicRangeMatch.js +3 -0
  203. package/dist/cjs/api/types/FieldDefinitionSort.d.ts +8 -0
  204. package/dist/cjs/api/types/FieldDefinitionSort.js +11 -0
  205. package/dist/cjs/api/types/FileTypeMatch.d.ts +7 -0
  206. package/dist/cjs/api/types/FileTypeMatch.js +3 -0
  207. package/dist/cjs/api/types/FileWithIncludes.d.ts +2 -0
  208. package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +0 -1
  209. package/dist/cjs/api/types/FileWithMediaLinksInclude.js +0 -1
  210. package/dist/cjs/api/types/File_.d.ts +4 -0
  211. package/dist/cjs/api/types/FilesizeMatch.d.ts +7 -0
  212. package/dist/cjs/api/types/FilesizeMatch.js +3 -0
  213. package/dist/cjs/api/types/Filters.d.ts +2 -0
  214. package/dist/cjs/api/types/Filters.js +2 -0
  215. package/dist/cjs/api/types/FolderWithIncludes.d.ts +2 -0
  216. package/dist/cjs/api/types/FormatMatch.d.ts +7 -0
  217. package/dist/cjs/api/types/FormatMatch.js +3 -0
  218. package/dist/cjs/api/types/FrameOrAdobeId.d.ts +4 -0
  219. package/dist/cjs/api/types/FrameOrAdobeId.js +3 -0
  220. package/dist/cjs/api/types/FrameRateMatch.d.ts +7 -0
  221. package/dist/cjs/api/types/FrameRateMatch.js +3 -0
  222. package/dist/cjs/api/types/HasAlphaChannelMatch.d.ts +7 -0
  223. package/dist/cjs/api/types/HasAlphaChannelMatch.js +3 -0
  224. package/dist/cjs/api/types/InsertedAtMatch.d.ts +7 -0
  225. package/dist/cjs/api/types/InsertedAtMatch.js +3 -0
  226. package/dist/cjs/api/types/KeywordsMatch.d.ts +7 -0
  227. package/dist/cjs/api/types/KeywordsMatch.js +3 -0
  228. package/dist/cjs/api/types/NameMatch.d.ts +9 -0
  229. package/dist/cjs/api/types/NameMatch.js +3 -0
  230. package/dist/cjs/api/types/NotesMatch.d.ts +7 -0
  231. package/dist/cjs/api/types/NotesMatch.js +3 -0
  232. package/dist/cjs/api/types/PageCountMatch.d.ts +7 -0
  233. package/dist/cjs/api/types/PageCountMatch.js +3 -0
  234. package/dist/cjs/api/types/Project.d.ts +2 -0
  235. package/dist/cjs/api/types/ProjectMatch.d.ts +20 -0
  236. package/dist/cjs/api/types/ProjectMatch.js +3 -0
  237. package/dist/cjs/api/types/ProjectMatchInfo.d.ts +9 -0
  238. package/dist/cjs/api/types/ProjectMatchInfo.js +3 -0
  239. package/dist/cjs/api/types/ProjectSearchResult.d.ts +10 -0
  240. package/dist/cjs/api/types/ProjectSearchResult.js +3 -0
  241. package/dist/cjs/api/types/ProjectSort.d.ts +8 -0
  242. package/dist/cjs/api/types/ProjectSort.js +11 -0
  243. package/dist/cjs/api/types/RatingMatch.d.ts +13 -0
  244. package/dist/cjs/api/types/RatingMatch.js +3 -0
  245. package/dist/cjs/api/types/ResolutionHeightMatch.d.ts +7 -0
  246. package/dist/cjs/api/types/ResolutionHeightMatch.js +3 -0
  247. package/dist/cjs/api/types/ResolutionWidthMatch.d.ts +7 -0
  248. package/dist/cjs/api/types/ResolutionWidthMatch.js +3 -0
  249. package/dist/cjs/api/types/ReviewersSort.d.ts +8 -0
  250. package/dist/cjs/api/types/ReviewersSort.js +11 -0
  251. package/dist/cjs/api/types/SearchMatch.d.ts +106 -0
  252. package/dist/cjs/api/types/SearchMatch.js +3 -0
  253. package/dist/cjs/api/types/SearchResponse.d.ts +17 -0
  254. package/dist/cjs/api/types/SearchResponse.js +3 -0
  255. package/dist/cjs/api/types/Share.d.ts +3 -0
  256. package/dist/cjs/api/types/ShareSort.d.ts +8 -0
  257. package/dist/cjs/api/types/ShareSort.js +11 -0
  258. package/dist/cjs/api/types/SourceFilenameMatch.d.ts +9 -0
  259. package/dist/cjs/api/types/SourceFilenameMatch.js +3 -0
  260. package/dist/cjs/api/types/StatusMatch.d.ts +7 -0
  261. package/dist/cjs/api/types/StatusMatch.js +3 -0
  262. package/dist/cjs/api/types/TranscriptionMatch.d.ts +23 -0
  263. package/dist/cjs/api/types/TranscriptionMatch.js +3 -0
  264. package/dist/cjs/api/types/UpdateWorkspaceRoleResponse.d.ts +9 -0
  265. package/dist/cjs/api/types/UpdateWorkspaceRoleResponse.js +3 -0
  266. package/dist/cjs/api/types/UpdatedAtMatch.d.ts +7 -0
  267. package/dist/cjs/api/types/UpdatedAtMatch.js +3 -0
  268. package/dist/cjs/api/types/UploadedAtMatch.d.ts +7 -0
  269. package/dist/cjs/api/types/UploadedAtMatch.js +3 -0
  270. package/dist/cjs/api/types/UserRole.d.ts +1 -0
  271. package/dist/cjs/api/types/UserRole.js +1 -0
  272. package/dist/cjs/api/types/UserRoleSort.d.ts +10 -0
  273. package/dist/cjs/api/types/UserRoleSort.js +13 -0
  274. package/dist/cjs/api/types/UserRolesResponse.d.ts +11 -0
  275. package/dist/cjs/api/types/UserRolesResponse.js +3 -0
  276. package/dist/cjs/api/types/Uuid.d.ts +1 -1
  277. package/dist/cjs/api/types/VersionStack.d.ts +2 -0
  278. package/dist/cjs/api/types/VersionStackWithIncludes.d.ts +2 -0
  279. package/dist/cjs/api/types/VisualMatch.d.ts +27 -0
  280. package/dist/cjs/api/types/VisualMatch.js +3 -0
  281. package/dist/cjs/api/types/VisualMatchClip.d.ts +15 -0
  282. package/dist/cjs/api/types/VisualMatchClip.js +3 -0
  283. package/dist/cjs/api/types/WorkspaceRole.d.ts +10 -0
  284. package/dist/cjs/api/types/WorkspaceRole.js +13 -0
  285. package/dist/cjs/api/types/WorkspaceSort.d.ts +8 -0
  286. package/dist/cjs/api/types/WorkspaceSort.js +11 -0
  287. package/dist/cjs/api/types/WorkspaceUserRole.d.ts +21 -0
  288. package/dist/cjs/api/types/WorkspaceUserRole.js +17 -0
  289. package/dist/cjs/api/types/WorkspaceUserRolesResponse.d.ts +2 -2
  290. package/dist/cjs/api/types/index.d.ts +56 -0
  291. package/dist/cjs/api/types/index.js +56 -0
  292. package/dist/cjs/oauth/BaseAuth.d.ts +2 -2
  293. package/dist/cjs/oauth/BaseAuth.js +13 -13
  294. package/dist/cjs/oauth/NativeAppAuth.d.ts +1 -1
  295. package/dist/cjs/oauth/NativeAppAuth.js +2 -2
  296. package/dist/cjs/oauth/SPAAuth.d.ts +2 -2
  297. package/dist/cjs/oauth/SPAAuth.js +12 -12
  298. package/dist/cjs/oauth/ServerToServerAuth.d.ts +2 -2
  299. package/dist/cjs/oauth/ServerToServerAuth.js +6 -6
  300. package/dist/cjs/oauth/TokenManager.d.ts +1 -1
  301. package/dist/cjs/oauth/TokenManager.js +11 -11
  302. package/dist/cjs/oauth/WebAppAuth.d.ts +2 -2
  303. package/dist/cjs/oauth/WebAppAuth.js +10 -10
  304. package/dist/cjs/oauth/http.d.ts +2 -2
  305. package/dist/cjs/oauth/http.js +15 -15
  306. package/dist/cjs/oauth/index.d.ts +14 -14
  307. package/dist/cjs/oauth/index.js +21 -21
  308. package/dist/cjs/oauth/validation.d.ts +1 -1
  309. package/dist/cjs/oauth/validation.js +6 -6
  310. package/dist/cjs/version.d.ts +1 -1
  311. package/dist/cjs/version.js +1 -1
  312. package/dist/esm/BaseClient.mjs +2 -2
  313. package/dist/esm/Client.d.mts +9 -0
  314. package/dist/esm/Client.mjs +15 -0
  315. package/dist/esm/api/resources/accountPermissions/client/Client.d.mts +3 -2
  316. package/dist/esm/api/resources/accountPermissions/client/Client.mjs +2 -1
  317. package/dist/esm/api/resources/accountPermissions/client/requests/AccountPermissionsIndexRequest.d.mts +3 -0
  318. package/dist/esm/api/resources/accountPermissions/index.d.mts +1 -0
  319. package/dist/esm/api/resources/accountPermissions/index.mjs +1 -0
  320. package/dist/esm/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.d.mts +10 -0
  321. package/dist/esm/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.mjs +10 -0
  322. package/dist/esm/api/resources/accountPermissions/types/index.d.mts +1 -0
  323. package/dist/esm/api/resources/accountPermissions/types/index.mjs +1 -0
  324. package/dist/esm/api/resources/accounts/client/Client.d.mts +3 -2
  325. package/dist/esm/api/resources/accounts/client/Client.mjs +2 -1
  326. package/dist/esm/api/resources/accounts/client/requests/AccountsIndexRequest.d.mts +3 -0
  327. package/dist/esm/api/resources/accounts/index.d.mts +1 -0
  328. package/dist/esm/api/resources/accounts/index.mjs +1 -0
  329. package/dist/esm/api/resources/accounts/types/AccountsIndexRequestSort.d.mts +8 -0
  330. package/dist/esm/api/resources/accounts/types/AccountsIndexRequestSort.mjs +8 -0
  331. package/dist/esm/api/resources/accounts/types/index.d.mts +1 -0
  332. package/dist/esm/api/resources/accounts/types/index.mjs +1 -0
  333. package/dist/esm/api/resources/collections/client/Client.d.mts +65 -0
  334. package/dist/esm/api/resources/collections/client/Client.mjs +179 -0
  335. package/dist/esm/api/resources/collections/client/index.d.mts +1 -0
  336. package/dist/esm/api/resources/collections/client/index.mjs +1 -0
  337. package/dist/esm/api/resources/collections/client/requests/CollectionsIndexRequest.d.mts +21 -0
  338. package/dist/esm/api/resources/collections/client/requests/CollectionsIndexRequest.mjs +2 -0
  339. package/dist/esm/api/resources/collections/client/requests/CollectionsShowRequest.d.mts +10 -0
  340. package/dist/esm/api/resources/collections/client/requests/CollectionsShowRequest.mjs +2 -0
  341. package/dist/esm/api/resources/collections/client/requests/index.d.mts +2 -0
  342. package/dist/esm/api/resources/collections/client/requests/index.mjs +1 -0
  343. package/dist/esm/api/resources/collections/exports.d.mts +2 -0
  344. package/dist/esm/api/resources/collections/exports.mjs +3 -0
  345. package/dist/esm/api/resources/collections/index.d.mts +1 -0
  346. package/dist/esm/api/resources/collections/index.mjs +1 -0
  347. package/dist/esm/api/resources/comments/client/Client.d.mts +17 -17
  348. package/dist/esm/api/resources/comments/client/Client.mjs +10 -10
  349. package/dist/esm/api/resources/customActions/client/Client.d.mts +10 -10
  350. package/dist/esm/api/resources/customActions/client/Client.mjs +5 -5
  351. package/dist/esm/api/resources/files/client/Client.d.mts +33 -33
  352. package/dist/esm/api/resources/files/client/Client.mjs +22 -22
  353. package/dist/esm/api/resources/files/types/FilesListRequestInclude.d.mts +0 -1
  354. package/dist/esm/api/resources/files/types/FilesListRequestInclude.mjs +0 -1
  355. package/dist/esm/api/resources/files/types/FilesShowRequestInclude.d.mts +0 -1
  356. package/dist/esm/api/resources/files/types/FilesShowRequestInclude.mjs +0 -1
  357. package/dist/esm/api/resources/folderPermissions/client/Client.d.mts +90 -0
  358. package/dist/esm/api/resources/folderPermissions/client/Client.mjs +250 -0
  359. package/dist/esm/api/resources/folderPermissions/client/index.d.mts +1 -0
  360. package/dist/esm/api/resources/folderPermissions/client/index.mjs +1 -0
  361. package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.mts +22 -0
  362. package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.mjs +2 -0
  363. package/dist/esm/api/resources/folderPermissions/client/requests/index.d.mts +1 -0
  364. package/dist/esm/api/resources/folderPermissions/client/requests/index.mjs +1 -0
  365. package/dist/esm/api/resources/folderPermissions/exports.d.mts +2 -0
  366. package/dist/esm/api/resources/folderPermissions/exports.mjs +3 -0
  367. package/dist/esm/api/resources/folderPermissions/index.d.mts +1 -0
  368. package/dist/esm/api/resources/folderPermissions/index.mjs +1 -0
  369. package/dist/esm/api/resources/folders/client/Client.d.mts +24 -24
  370. package/dist/esm/api/resources/folders/client/Client.mjs +16 -16
  371. package/dist/esm/api/resources/folders/types/FoldersIndexRequestInclude.d.mts +0 -1
  372. package/dist/esm/api/resources/folders/types/FoldersIndexRequestInclude.mjs +0 -1
  373. package/dist/esm/api/resources/folders/types/FoldersListRequestInclude.d.mts +0 -1
  374. package/dist/esm/api/resources/folders/types/FoldersListRequestInclude.mjs +0 -1
  375. package/dist/esm/api/resources/folders/types/FoldersShowRequestInclude.d.mts +0 -1
  376. package/dist/esm/api/resources/folders/types/FoldersShowRequestInclude.mjs +0 -1
  377. package/dist/esm/api/resources/groups/client/Client.d.mts +8 -8
  378. package/dist/esm/api/resources/groups/client/Client.mjs +4 -4
  379. package/dist/esm/api/resources/index.d.mts +12 -0
  380. package/dist/esm/api/resources/index.mjs +12 -0
  381. package/dist/esm/api/resources/metadata/client/Client.d.mts +10 -10
  382. package/dist/esm/api/resources/metadata/client/Client.mjs +8 -8
  383. package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +5 -5
  384. package/dist/esm/api/resources/metadataFields/client/Client.d.mts +9 -8
  385. package/dist/esm/api/resources/metadataFields/client/Client.mjs +7 -5
  386. package/dist/esm/api/resources/metadataFields/client/requests/MetadataFieldDefinitionsIndexRequest.d.mts +3 -0
  387. package/dist/esm/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.d.mts +8 -0
  388. package/dist/esm/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.mjs +8 -0
  389. package/dist/esm/api/resources/metadataFields/types/index.d.mts +1 -0
  390. package/dist/esm/api/resources/metadataFields/types/index.mjs +1 -0
  391. package/dist/esm/api/resources/projectPermissions/client/Client.d.mts +10 -9
  392. package/dist/esm/api/resources/projectPermissions/client/Client.mjs +7 -6
  393. package/dist/esm/api/resources/projectPermissions/client/requests/ProjectPermissionsIndexRequest.d.mts +3 -0
  394. package/dist/esm/api/resources/projectPermissions/index.d.mts +1 -0
  395. package/dist/esm/api/resources/projectPermissions/index.mjs +1 -0
  396. package/dist/esm/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.d.mts +10 -0
  397. package/dist/esm/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.mjs +10 -0
  398. package/dist/esm/api/resources/projectPermissions/types/index.d.mts +1 -0
  399. package/dist/esm/api/resources/projectPermissions/types/index.mjs +1 -0
  400. package/dist/esm/api/resources/projects/client/Client.d.mts +14 -13
  401. package/dist/esm/api/resources/projects/client/Client.mjs +9 -8
  402. package/dist/esm/api/resources/projects/client/requests/ProjectsIndexRequest.d.mts +3 -0
  403. package/dist/esm/api/resources/projects/index.d.mts +1 -0
  404. package/dist/esm/api/resources/projects/index.mjs +1 -0
  405. package/dist/esm/api/resources/projects/types/ProjectsIndexRequestSort.d.mts +8 -0
  406. package/dist/esm/api/resources/projects/types/ProjectsIndexRequestSort.mjs +8 -0
  407. package/dist/esm/api/resources/projects/types/index.d.mts +1 -0
  408. package/dist/esm/api/resources/projects/types/index.mjs +1 -0
  409. package/dist/esm/api/resources/search/client/Client.d.mts +48 -0
  410. package/dist/esm/api/resources/search/client/Client.mjs +124 -0
  411. package/dist/esm/api/resources/search/client/index.d.mts +1 -0
  412. package/dist/esm/api/resources/search/client/index.mjs +1 -0
  413. package/dist/esm/api/resources/search/client/requests/SearchParams.d.mts +51 -0
  414. package/dist/esm/api/resources/search/client/requests/SearchParams.mjs +9 -0
  415. package/dist/esm/api/resources/search/client/requests/index.d.mts +1 -0
  416. package/dist/esm/api/resources/search/client/requests/index.mjs +1 -0
  417. package/dist/esm/api/resources/search/exports.d.mts +2 -0
  418. package/dist/esm/api/resources/search/exports.mjs +3 -0
  419. package/dist/esm/api/resources/search/index.d.mts +1 -0
  420. package/dist/esm/api/resources/search/index.mjs +1 -0
  421. package/dist/esm/api/resources/shares/client/Client.d.mts +29 -27
  422. package/dist/esm/api/resources/shares/client/Client.mjs +19 -17
  423. package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +2 -2
  424. package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
  425. package/dist/esm/api/resources/shares/client/requests/SharesIndexRequest.d.mts +3 -0
  426. package/dist/esm/api/resources/shares/client/requests/SharesListReviewersRequest.d.mts +3 -0
  427. package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +2 -1
  428. package/dist/esm/api/resources/shares/types/SharesIndexRequestSort.d.mts +8 -0
  429. package/dist/esm/api/resources/shares/types/SharesIndexRequestSort.mjs +8 -0
  430. package/dist/esm/api/resources/shares/types/SharesListReviewersRequestSort.d.mts +8 -0
  431. package/dist/esm/api/resources/shares/types/SharesListReviewersRequestSort.mjs +8 -0
  432. package/dist/esm/api/resources/shares/types/index.d.mts +2 -0
  433. package/dist/esm/api/resources/shares/types/index.mjs +2 -0
  434. package/dist/esm/api/resources/versionStacks/client/Client.d.mts +19 -19
  435. package/dist/esm/api/resources/versionStacks/client/Client.mjs +13 -13
  436. package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +3 -2
  437. package/dist/esm/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.d.mts +0 -1
  438. package/dist/esm/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.mjs +0 -1
  439. package/dist/esm/api/resources/versionStacks/types/VersionStacksListRequestInclude.d.mts +0 -1
  440. package/dist/esm/api/resources/versionStacks/types/VersionStacksListRequestInclude.mjs +0 -1
  441. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +0 -1
  442. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +0 -1
  443. package/dist/esm/api/resources/webhooks/client/Client.d.mts +10 -10
  444. package/dist/esm/api/resources/webhooks/client/Client.mjs +5 -5
  445. package/dist/esm/api/resources/workspacePermissions/client/Client.d.mts +8 -7
  446. package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +5 -4
  447. package/dist/esm/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.d.mts +17 -0
  448. package/dist/esm/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.mjs +2 -0
  449. package/dist/esm/api/resources/workspacePermissions/client/requests/WorkspacePermissionsIndexRequest.d.mts +3 -0
  450. package/dist/esm/api/resources/workspacePermissions/client/requests/index.d.mts +1 -0
  451. package/dist/esm/api/resources/workspacePermissions/index.d.mts +1 -0
  452. package/dist/esm/api/resources/workspacePermissions/index.mjs +1 -0
  453. package/dist/esm/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.d.mts +10 -0
  454. package/dist/esm/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.mjs +10 -0
  455. package/dist/esm/api/resources/workspacePermissions/types/index.d.mts +1 -0
  456. package/dist/esm/api/resources/workspacePermissions/types/index.mjs +1 -0
  457. package/dist/esm/api/resources/workspaces/client/Client.d.mts +11 -10
  458. package/dist/esm/api/resources/workspaces/client/Client.mjs +6 -5
  459. package/dist/esm/api/resources/workspaces/client/requests/WorkspacesIndexRequest.d.mts +3 -0
  460. package/dist/esm/api/resources/workspaces/index.d.mts +1 -0
  461. package/dist/esm/api/resources/workspaces/index.mjs +1 -0
  462. package/dist/esm/api/resources/workspaces/types/WorkspacesIndexRequestSort.d.mts +8 -0
  463. package/dist/esm/api/resources/workspaces/types/WorkspacesIndexRequestSort.mjs +8 -0
  464. package/dist/esm/api/resources/workspaces/types/index.d.mts +1 -0
  465. package/dist/esm/api/resources/workspaces/types/index.mjs +1 -0
  466. package/dist/esm/api/types/Account.d.mts +2 -0
  467. package/dist/esm/api/types/AccountSort.d.mts +8 -0
  468. package/dist/esm/api/types/AccountSort.mjs +8 -0
  469. package/dist/esm/api/types/AccountUserSort.d.mts +10 -0
  470. package/dist/esm/api/types/AccountUserSort.mjs +10 -0
  471. package/dist/esm/api/types/AssetCommon.d.mts +2 -0
  472. package/dist/esm/api/types/AssetCommonWithIncludes.d.mts +2 -0
  473. package/dist/esm/api/types/AssetInclude.d.mts +0 -1
  474. package/dist/esm/api/types/AssetInclude.mjs +0 -1
  475. package/dist/esm/api/types/AssetSearchResult.d.mts +18 -0
  476. package/dist/esm/api/types/AssetSearchResult.mjs +9 -0
  477. package/dist/esm/api/types/AssetShareParams.d.mts +4 -2
  478. package/dist/esm/api/types/AssigneeMatch.d.mts +7 -0
  479. package/dist/esm/api/types/AssigneeMatch.mjs +2 -0
  480. package/dist/esm/api/types/AudioSampleRateMatch.d.mts +7 -0
  481. package/dist/esm/api/types/AudioSampleRateMatch.mjs +2 -0
  482. package/dist/esm/api/types/AuditLogwithIncludes.d.mts +2 -0
  483. package/dist/esm/api/types/AuditLogwithIncludes.mjs +2 -0
  484. package/dist/esm/api/types/BitDepthMatch.d.mts +7 -0
  485. package/dist/esm/api/types/BitDepthMatch.mjs +2 -0
  486. package/dist/esm/api/types/BitRateMatch.d.mts +7 -0
  487. package/dist/esm/api/types/BitRateMatch.mjs +2 -0
  488. package/dist/esm/api/types/ChannelsMatch.d.mts +7 -0
  489. package/dist/esm/api/types/ChannelsMatch.mjs +2 -0
  490. package/dist/esm/api/types/CodecMatch.d.mts +7 -0
  491. package/dist/esm/api/types/CodecMatch.mjs +2 -0
  492. package/dist/esm/api/types/Collection.d.mts +31 -0
  493. package/dist/esm/api/types/Collection.mjs +8 -0
  494. package/dist/esm/api/types/CollectionInclude.d.mts +4 -0
  495. package/dist/esm/api/types/CollectionInclude.mjs +2 -0
  496. package/dist/esm/api/types/CollectionResponse.d.mts +4 -0
  497. package/dist/esm/api/types/CollectionResponse.mjs +2 -0
  498. package/dist/esm/api/types/CollectionsResponse.d.mts +8 -0
  499. package/dist/esm/api/types/CollectionsResponse.mjs +2 -0
  500. package/dist/esm/api/types/ColorSpaceMatch.d.mts +7 -0
  501. package/dist/esm/api/types/ColorSpaceMatch.mjs +2 -0
  502. package/dist/esm/api/types/CommentCountMatch.d.mts +7 -0
  503. package/dist/esm/api/types/CommentCountMatch.mjs +2 -0
  504. package/dist/esm/api/types/CommentMatch.d.mts +11 -0
  505. package/dist/esm/api/types/CommentMatch.mjs +2 -0
  506. package/dist/esm/api/types/CreatorMatch.d.mts +7 -0
  507. package/dist/esm/api/types/CreatorMatch.mjs +2 -0
  508. package/dist/esm/api/types/DeletedAtMatch.d.mts +7 -0
  509. package/dist/esm/api/types/DeletedAtMatch.mjs +2 -0
  510. package/dist/esm/api/types/DurationMatch.d.mts +7 -0
  511. package/dist/esm/api/types/DurationMatch.mjs +2 -0
  512. package/dist/esm/api/types/DynamicRangeMatch.d.mts +7 -0
  513. package/dist/esm/api/types/DynamicRangeMatch.mjs +2 -0
  514. package/dist/esm/api/types/FieldDefinitionSort.d.mts +8 -0
  515. package/dist/esm/api/types/FieldDefinitionSort.mjs +8 -0
  516. package/dist/esm/api/types/FileTypeMatch.d.mts +7 -0
  517. package/dist/esm/api/types/FileTypeMatch.mjs +2 -0
  518. package/dist/esm/api/types/FileWithIncludes.d.mts +2 -0
  519. package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +0 -1
  520. package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +0 -1
  521. package/dist/esm/api/types/File_.d.mts +4 -0
  522. package/dist/esm/api/types/FilesizeMatch.d.mts +7 -0
  523. package/dist/esm/api/types/FilesizeMatch.mjs +2 -0
  524. package/dist/esm/api/types/Filters.d.mts +2 -0
  525. package/dist/esm/api/types/Filters.mjs +2 -0
  526. package/dist/esm/api/types/FolderWithIncludes.d.mts +2 -0
  527. package/dist/esm/api/types/FormatMatch.d.mts +7 -0
  528. package/dist/esm/api/types/FormatMatch.mjs +2 -0
  529. package/dist/esm/api/types/FrameOrAdobeId.d.mts +4 -0
  530. package/dist/esm/api/types/FrameOrAdobeId.mjs +2 -0
  531. package/dist/esm/api/types/FrameRateMatch.d.mts +7 -0
  532. package/dist/esm/api/types/FrameRateMatch.mjs +2 -0
  533. package/dist/esm/api/types/HasAlphaChannelMatch.d.mts +7 -0
  534. package/dist/esm/api/types/HasAlphaChannelMatch.mjs +2 -0
  535. package/dist/esm/api/types/InsertedAtMatch.d.mts +7 -0
  536. package/dist/esm/api/types/InsertedAtMatch.mjs +2 -0
  537. package/dist/esm/api/types/KeywordsMatch.d.mts +7 -0
  538. package/dist/esm/api/types/KeywordsMatch.mjs +2 -0
  539. package/dist/esm/api/types/NameMatch.d.mts +9 -0
  540. package/dist/esm/api/types/NameMatch.mjs +2 -0
  541. package/dist/esm/api/types/NotesMatch.d.mts +7 -0
  542. package/dist/esm/api/types/NotesMatch.mjs +2 -0
  543. package/dist/esm/api/types/PageCountMatch.d.mts +7 -0
  544. package/dist/esm/api/types/PageCountMatch.mjs +2 -0
  545. package/dist/esm/api/types/Project.d.mts +2 -0
  546. package/dist/esm/api/types/ProjectMatch.d.mts +20 -0
  547. package/dist/esm/api/types/ProjectMatch.mjs +2 -0
  548. package/dist/esm/api/types/ProjectMatchInfo.d.mts +9 -0
  549. package/dist/esm/api/types/ProjectMatchInfo.mjs +2 -0
  550. package/dist/esm/api/types/ProjectSearchResult.d.mts +10 -0
  551. package/dist/esm/api/types/ProjectSearchResult.mjs +2 -0
  552. package/dist/esm/api/types/ProjectSort.d.mts +8 -0
  553. package/dist/esm/api/types/ProjectSort.mjs +8 -0
  554. package/dist/esm/api/types/RatingMatch.d.mts +13 -0
  555. package/dist/esm/api/types/RatingMatch.mjs +2 -0
  556. package/dist/esm/api/types/ResolutionHeightMatch.d.mts +7 -0
  557. package/dist/esm/api/types/ResolutionHeightMatch.mjs +2 -0
  558. package/dist/esm/api/types/ResolutionWidthMatch.d.mts +7 -0
  559. package/dist/esm/api/types/ResolutionWidthMatch.mjs +2 -0
  560. package/dist/esm/api/types/ReviewersSort.d.mts +8 -0
  561. package/dist/esm/api/types/ReviewersSort.mjs +8 -0
  562. package/dist/esm/api/types/SearchMatch.d.mts +106 -0
  563. package/dist/esm/api/types/SearchMatch.mjs +2 -0
  564. package/dist/esm/api/types/SearchResponse.d.mts +17 -0
  565. package/dist/esm/api/types/SearchResponse.mjs +2 -0
  566. package/dist/esm/api/types/Share.d.mts +3 -0
  567. package/dist/esm/api/types/ShareSort.d.mts +8 -0
  568. package/dist/esm/api/types/ShareSort.mjs +8 -0
  569. package/dist/esm/api/types/SourceFilenameMatch.d.mts +9 -0
  570. package/dist/esm/api/types/SourceFilenameMatch.mjs +2 -0
  571. package/dist/esm/api/types/StatusMatch.d.mts +7 -0
  572. package/dist/esm/api/types/StatusMatch.mjs +2 -0
  573. package/dist/esm/api/types/TranscriptionMatch.d.mts +23 -0
  574. package/dist/esm/api/types/TranscriptionMatch.mjs +2 -0
  575. package/dist/esm/api/types/UpdateWorkspaceRoleResponse.d.mts +9 -0
  576. package/dist/esm/api/types/UpdateWorkspaceRoleResponse.mjs +2 -0
  577. package/dist/esm/api/types/UpdatedAtMatch.d.mts +7 -0
  578. package/dist/esm/api/types/UpdatedAtMatch.mjs +2 -0
  579. package/dist/esm/api/types/UploadedAtMatch.d.mts +7 -0
  580. package/dist/esm/api/types/UploadedAtMatch.mjs +2 -0
  581. package/dist/esm/api/types/UserRole.d.mts +1 -0
  582. package/dist/esm/api/types/UserRole.mjs +1 -0
  583. package/dist/esm/api/types/UserRoleSort.d.mts +10 -0
  584. package/dist/esm/api/types/UserRoleSort.mjs +10 -0
  585. package/dist/esm/api/types/UserRolesResponse.d.mts +11 -0
  586. package/dist/esm/api/types/UserRolesResponse.mjs +2 -0
  587. package/dist/esm/api/types/Uuid.d.mts +1 -1
  588. package/dist/esm/api/types/VersionStack.d.mts +2 -0
  589. package/dist/esm/api/types/VersionStackWithIncludes.d.mts +2 -0
  590. package/dist/esm/api/types/VisualMatch.d.mts +27 -0
  591. package/dist/esm/api/types/VisualMatch.mjs +2 -0
  592. package/dist/esm/api/types/VisualMatchClip.d.mts +15 -0
  593. package/dist/esm/api/types/VisualMatchClip.mjs +2 -0
  594. package/dist/esm/api/types/WorkspaceRole.d.mts +10 -0
  595. package/dist/esm/api/types/WorkspaceRole.mjs +10 -0
  596. package/dist/esm/api/types/WorkspaceSort.d.mts +8 -0
  597. package/dist/esm/api/types/WorkspaceSort.mjs +8 -0
  598. package/dist/esm/api/types/WorkspaceUserRole.d.mts +21 -0
  599. package/dist/esm/api/types/WorkspaceUserRole.mjs +14 -0
  600. package/dist/esm/api/types/WorkspaceUserRolesResponse.d.mts +2 -2
  601. package/dist/esm/api/types/index.d.mts +56 -0
  602. package/dist/esm/api/types/index.mjs +56 -0
  603. package/dist/esm/index.d.mts +4 -4
  604. package/dist/esm/index.mjs +3 -3
  605. package/dist/esm/oauth/BaseAuth.d.mts +2 -2
  606. package/dist/esm/oauth/BaseAuth.mjs +4 -4
  607. package/dist/esm/oauth/NativeAppAuth.d.mts +1 -1
  608. package/dist/esm/oauth/NativeAppAuth.mjs +1 -1
  609. package/dist/esm/oauth/SPAAuth.d.mts +2 -2
  610. package/dist/esm/oauth/SPAAuth.mjs +5 -5
  611. package/dist/esm/oauth/ServerToServerAuth.d.mts +2 -2
  612. package/dist/esm/oauth/ServerToServerAuth.mjs +3 -3
  613. package/dist/esm/oauth/TokenManager.d.mts +1 -1
  614. package/dist/esm/oauth/TokenManager.mjs +3 -3
  615. package/dist/esm/oauth/WebAppAuth.d.mts +2 -2
  616. package/dist/esm/oauth/WebAppAuth.mjs +4 -4
  617. package/dist/esm/oauth/http.d.mts +2 -2
  618. package/dist/esm/oauth/http.mjs +2 -2
  619. package/dist/esm/oauth/index.d.mts +14 -14
  620. package/dist/esm/oauth/index.mjs +7 -7
  621. package/dist/esm/oauth/validation.d.mts +1 -1
  622. package/dist/esm/oauth/validation.mjs +1 -1
  623. package/dist/esm/version.d.mts +1 -1
  624. package/dist/esm/version.mjs +1 -1
  625. package/package.json +34 -1
  626. package/reference.md +704 -181
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_js_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "frameio",
47
- "X-Fern-SDK-Version": "4.2.0",
48
- "User-Agent": "frameio/4.2.0",
47
+ "X-Fern-SDK-Version": "4.2.1",
48
+ "User-Agent": "frameio/4.2.1",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  "user-agent": (_a = options === null || options === void 0 ? void 0 : options.userAgent) !== null && _a !== void 0 ? _a : "frameio-ts",
@@ -1,14 +1,17 @@
1
1
  import { AccountPermissionsClient } from "./api/resources/accountPermissions/client/Client.js";
2
2
  import { AccountsClient } from "./api/resources/accounts/client/Client.js";
3
+ import { CollectionsClient } from "./api/resources/collections/client/Client.js";
3
4
  import { CommentsClient } from "./api/resources/comments/client/Client.js";
4
5
  import { CustomActionsClient } from "./api/resources/customActions/client/Client.js";
5
6
  import { FilesClient } from "./api/resources/files/client/Client.js";
7
+ import { FolderPermissionsClient } from "./api/resources/folderPermissions/client/Client.js";
6
8
  import { FoldersClient } from "./api/resources/folders/client/Client.js";
7
9
  import { GroupsClient } from "./api/resources/groups/client/Client.js";
8
10
  import { MetadataClient } from "./api/resources/metadata/client/Client.js";
9
11
  import { MetadataFieldsClient } from "./api/resources/metadataFields/client/Client.js";
10
12
  import { ProjectPermissionsClient } from "./api/resources/projectPermissions/client/Client.js";
11
13
  import { ProjectsClient } from "./api/resources/projects/client/Client.js";
14
+ import { SearchClient } from "./api/resources/search/client/Client.js";
12
15
  import { SharesClient } from "./api/resources/shares/client/Client.js";
13
16
  import { UsersClient } from "./api/resources/users/client/Client.js";
14
17
  import { VersionStacksClient } from "./api/resources/versionStacks/client/Client.js";
@@ -41,7 +44,10 @@ export declare class FrameioClient {
41
44
  protected _files: FilesClient | undefined;
42
45
  protected _users: UsersClient | undefined;
43
46
  protected _projects: ProjectsClient | undefined;
47
+ protected _folderPermissions: FolderPermissionsClient | undefined;
44
48
  protected _workspaces: WorkspacesClient | undefined;
49
+ protected _collections: CollectionsClient | undefined;
50
+ protected _search: SearchClient | undefined;
45
51
  constructor(options: FrameioClient.Options);
46
52
  get customActions(): CustomActionsClient;
47
53
  get metadataFields(): MetadataFieldsClient;
@@ -59,7 +65,10 @@ export declare class FrameioClient {
59
65
  get files(): FilesClient;
60
66
  get users(): UsersClient;
61
67
  get projects(): ProjectsClient;
68
+ get folderPermissions(): FolderPermissionsClient;
62
69
  get workspaces(): WorkspacesClient;
70
+ get collections(): CollectionsClient;
71
+ get search(): SearchClient;
63
72
  /**
64
73
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
65
74
  * This is useful for making requests to endpoints not yet supported in the SDK.
@@ -46,21 +46,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.FrameioClient = void 0;
47
47
  const Client_js_1 = require("./api/resources/accountPermissions/client/Client.js");
48
48
  const Client_js_2 = require("./api/resources/accounts/client/Client.js");
49
- const Client_js_3 = require("./api/resources/comments/client/Client.js");
50
- const Client_js_4 = require("./api/resources/customActions/client/Client.js");
51
- const Client_js_5 = require("./api/resources/files/client/Client.js");
52
- const Client_js_6 = require("./api/resources/folders/client/Client.js");
53
- const Client_js_7 = require("./api/resources/groups/client/Client.js");
54
- const Client_js_8 = require("./api/resources/metadata/client/Client.js");
55
- const Client_js_9 = require("./api/resources/metadataFields/client/Client.js");
56
- const Client_js_10 = require("./api/resources/projectPermissions/client/Client.js");
57
- const Client_js_11 = require("./api/resources/projects/client/Client.js");
58
- const Client_js_12 = require("./api/resources/shares/client/Client.js");
59
- const Client_js_13 = require("./api/resources/users/client/Client.js");
60
- const Client_js_14 = require("./api/resources/versionStacks/client/Client.js");
61
- const Client_js_15 = require("./api/resources/webhooks/client/Client.js");
62
- const Client_js_16 = require("./api/resources/workspacePermissions/client/Client.js");
63
- const Client_js_17 = require("./api/resources/workspaces/client/Client.js");
49
+ const Client_js_3 = require("./api/resources/collections/client/Client.js");
50
+ const Client_js_4 = require("./api/resources/comments/client/Client.js");
51
+ const Client_js_5 = require("./api/resources/customActions/client/Client.js");
52
+ const Client_js_6 = require("./api/resources/files/client/Client.js");
53
+ const Client_js_7 = require("./api/resources/folderPermissions/client/Client.js");
54
+ const Client_js_8 = require("./api/resources/folders/client/Client.js");
55
+ const Client_js_9 = require("./api/resources/groups/client/Client.js");
56
+ const Client_js_10 = require("./api/resources/metadata/client/Client.js");
57
+ const Client_js_11 = require("./api/resources/metadataFields/client/Client.js");
58
+ const Client_js_12 = require("./api/resources/projectPermissions/client/Client.js");
59
+ const Client_js_13 = require("./api/resources/projects/client/Client.js");
60
+ const Client_js_14 = require("./api/resources/search/client/Client.js");
61
+ const Client_js_15 = require("./api/resources/shares/client/Client.js");
62
+ const Client_js_16 = require("./api/resources/users/client/Client.js");
63
+ const Client_js_17 = require("./api/resources/versionStacks/client/Client.js");
64
+ const Client_js_18 = require("./api/resources/webhooks/client/Client.js");
65
+ const Client_js_19 = require("./api/resources/workspacePermissions/client/Client.js");
66
+ const Client_js_20 = require("./api/resources/workspaces/client/Client.js");
64
67
  const BaseClient_js_1 = require("./BaseClient.js");
65
68
  const core = __importStar(require("./core/index.js"));
66
69
  class FrameioClient {
@@ -69,23 +72,23 @@ class FrameioClient {
69
72
  }
70
73
  get customActions() {
71
74
  var _a;
72
- return ((_a = this._customActions) !== null && _a !== void 0 ? _a : (this._customActions = new Client_js_4.CustomActionsClient(this._options)));
75
+ return ((_a = this._customActions) !== null && _a !== void 0 ? _a : (this._customActions = new Client_js_5.CustomActionsClient(this._options)));
73
76
  }
74
77
  get metadataFields() {
75
78
  var _a;
76
- return ((_a = this._metadataFields) !== null && _a !== void 0 ? _a : (this._metadataFields = new Client_js_9.MetadataFieldsClient(this._options)));
79
+ return ((_a = this._metadataFields) !== null && _a !== void 0 ? _a : (this._metadataFields = new Client_js_11.MetadataFieldsClient(this._options)));
77
80
  }
78
81
  get projectPermissions() {
79
82
  var _a;
80
- return ((_a = this._projectPermissions) !== null && _a !== void 0 ? _a : (this._projectPermissions = new Client_js_10.ProjectPermissionsClient(this._options)));
83
+ return ((_a = this._projectPermissions) !== null && _a !== void 0 ? _a : (this._projectPermissions = new Client_js_12.ProjectPermissionsClient(this._options)));
81
84
  }
82
85
  get folders() {
83
86
  var _a;
84
- return ((_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new Client_js_6.FoldersClient(this._options)));
87
+ return ((_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new Client_js_8.FoldersClient(this._options)));
85
88
  }
86
89
  get versionStacks() {
87
90
  var _a;
88
- return ((_a = this._versionStacks) !== null && _a !== void 0 ? _a : (this._versionStacks = new Client_js_14.VersionStacksClient(this._options)));
91
+ return ((_a = this._versionStacks) !== null && _a !== void 0 ? _a : (this._versionStacks = new Client_js_17.VersionStacksClient(this._options)));
89
92
  }
90
93
  get accountPermissions() {
91
94
  var _a;
@@ -93,7 +96,7 @@ class FrameioClient {
93
96
  }
94
97
  get comments() {
95
98
  var _a;
96
- return ((_a = this._comments) !== null && _a !== void 0 ? _a : (this._comments = new Client_js_3.CommentsClient(this._options)));
99
+ return ((_a = this._comments) !== null && _a !== void 0 ? _a : (this._comments = new Client_js_4.CommentsClient(this._options)));
97
100
  }
98
101
  get accounts() {
99
102
  var _a;
@@ -101,39 +104,51 @@ class FrameioClient {
101
104
  }
102
105
  get webhooks() {
103
106
  var _a;
104
- return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_15.WebhooksClient(this._options)));
107
+ return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_18.WebhooksClient(this._options)));
105
108
  }
106
109
  get workspacePermissions() {
107
110
  var _a;
108
- return ((_a = this._workspacePermissions) !== null && _a !== void 0 ? _a : (this._workspacePermissions = new Client_js_16.WorkspacePermissionsClient(this._options)));
111
+ return ((_a = this._workspacePermissions) !== null && _a !== void 0 ? _a : (this._workspacePermissions = new Client_js_19.WorkspacePermissionsClient(this._options)));
109
112
  }
110
113
  get groups() {
111
114
  var _a;
112
- return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_js_7.GroupsClient(this._options)));
115
+ return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_js_9.GroupsClient(this._options)));
113
116
  }
114
117
  get shares() {
115
118
  var _a;
116
- return ((_a = this._shares) !== null && _a !== void 0 ? _a : (this._shares = new Client_js_12.SharesClient(this._options)));
119
+ return ((_a = this._shares) !== null && _a !== void 0 ? _a : (this._shares = new Client_js_15.SharesClient(this._options)));
117
120
  }
118
121
  get metadata() {
119
122
  var _a;
120
- return ((_a = this._metadata) !== null && _a !== void 0 ? _a : (this._metadata = new Client_js_8.MetadataClient(this._options)));
123
+ return ((_a = this._metadata) !== null && _a !== void 0 ? _a : (this._metadata = new Client_js_10.MetadataClient(this._options)));
121
124
  }
122
125
  get files() {
123
126
  var _a;
124
- return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_js_5.FilesClient(this._options)));
127
+ return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_js_6.FilesClient(this._options)));
125
128
  }
126
129
  get users() {
127
130
  var _a;
128
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_13.UsersClient(this._options)));
131
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_16.UsersClient(this._options)));
129
132
  }
130
133
  get projects() {
131
134
  var _a;
132
- return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_js_11.ProjectsClient(this._options)));
135
+ return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_js_13.ProjectsClient(this._options)));
136
+ }
137
+ get folderPermissions() {
138
+ var _a;
139
+ return ((_a = this._folderPermissions) !== null && _a !== void 0 ? _a : (this._folderPermissions = new Client_js_7.FolderPermissionsClient(this._options)));
133
140
  }
134
141
  get workspaces() {
135
142
  var _a;
136
- return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_js_17.WorkspacesClient(this._options)));
143
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_js_20.WorkspacesClient(this._options)));
144
+ }
145
+ get collections() {
146
+ var _a;
147
+ return ((_a = this._collections) !== null && _a !== void 0 ? _a : (this._collections = new Client_js_3.CollectionsClient(this._options)));
148
+ }
149
+ get search() {
150
+ var _a;
151
+ return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_js_14.SearchClient(this._options)));
137
152
  }
138
153
  /**
139
154
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -16,7 +16,7 @@ export declare class AccountPermissionsClient {
16
16
  /**
17
17
  * List user roles for a given account. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
18
18
  *
19
- * @param {Frameio.Uuid} account_id
19
+ * @param {Frameio.FrameOrAdobeId} account_id
20
20
  * @param {Frameio.AccountPermissionsIndexRequest} request
21
21
  * @param {AccountPermissionsClient.RequestOptions} requestOptions - Request-specific configuration.
22
22
  *
@@ -31,10 +31,11 @@ export declare class AccountPermissionsClient {
31
31
  * @example
32
32
  * await client.accountPermissions.index("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
33
33
  * include_deactivated: true,
34
+ * sort: "role_asc",
34
35
  * after: "<opaque_cursor>",
35
36
  * page_size: 10,
36
37
  * include_total_count: false
37
38
  * })
38
39
  */
39
- index(account_id: Frameio.Uuid, _request?: Frameio.AccountPermissionsIndexRequest, requestOptions?: AccountPermissionsClient.RequestOptions): Promise<core.Page<Frameio.AccountUserRole, Frameio.AccountUserRolesResponse>>;
40
+ index(account_id: Frameio.FrameOrAdobeId, _request?: Frameio.AccountPermissionsIndexRequest, requestOptions?: AccountPermissionsClient.RequestOptions): Promise<core.Page<Frameio.AccountUserRole, Frameio.AccountUserRolesResponse>>;
40
41
  }
@@ -61,7 +61,7 @@ class AccountPermissionsClient {
61
61
  /**
62
62
  * List user roles for a given account. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
63
63
  *
64
- * @param {Frameio.Uuid} account_id
64
+ * @param {Frameio.FrameOrAdobeId} account_id
65
65
  * @param {Frameio.AccountPermissionsIndexRequest} request
66
66
  * @param {AccountPermissionsClient.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
@@ -76,6 +76,7 @@ class AccountPermissionsClient {
76
76
  * @example
77
77
  * await client.accountPermissions.index("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
78
78
  * include_deactivated: true,
79
+ * sort: "role_asc",
79
80
  * after: "<opaque_cursor>",
80
81
  * page_size: 10,
81
82
  * include_total_count: false
@@ -3,6 +3,7 @@ import type * as Frameio from "../../../../index.js";
3
3
  * @example
4
4
  * {
5
5
  * include_deactivated: true,
6
+ * sort: "role_asc",
6
7
  * after: "<opaque_cursor>",
7
8
  * page_size: 10,
8
9
  * include_total_count: false
@@ -11,6 +12,8 @@ import type * as Frameio from "../../../../index.js";
11
12
  export interface AccountPermissionsIndexRequest {
12
13
  /** Supports including deactivated users in the response. Default is false. */
13
14
  include_deactivated?: boolean;
15
+ /** Sort account users by query params */
16
+ sort?: Frameio.AccountPermissionsIndexRequestSort;
14
17
  /**
15
18
  * Opaque Cursor query param for requests returning paginated results.
16
19
  * <br/>
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,10 @@
1
+ /** Sort by query parameter for account users */
2
+ export declare const AccountPermissionsIndexRequestSort: {
3
+ readonly RoleAsc: "role_asc";
4
+ readonly RoleDesc: "role_desc";
5
+ readonly NameAsc: "name_asc";
6
+ readonly NameDesc: "name_desc";
7
+ readonly EmailAsc: "email_asc";
8
+ readonly EmailDesc: "email_desc";
9
+ };
10
+ export type AccountPermissionsIndexRequestSort = (typeof AccountPermissionsIndexRequestSort)[keyof typeof AccountPermissionsIndexRequestSort];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AccountPermissionsIndexRequestSort = void 0;
5
+ /** Sort by query parameter for account users */
6
+ exports.AccountPermissionsIndexRequestSort = {
7
+ RoleAsc: "role_asc",
8
+ RoleDesc: "role_desc",
9
+ NameAsc: "name_asc",
10
+ NameDesc: "name_desc",
11
+ EmailAsc: "email_asc",
12
+ EmailDesc: "email_desc",
13
+ };
@@ -0,0 +1 @@
1
+ export * from "./AccountPermissionsIndexRequestSort.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("./AccountPermissionsIndexRequestSort.js"), exports);
@@ -29,6 +29,7 @@ export declare class AccountsClient {
29
29
  *
30
30
  * @example
31
31
  * await client.accounts.index({
32
+ * sort: "display_name_asc",
32
33
  * after: "<opaque_cursor>",
33
34
  * page_size: 10,
34
35
  * include_total_count: false
@@ -38,7 +39,7 @@ export declare class AccountsClient {
38
39
  /**
39
40
  * List audit logs with filtering capabilities via query params. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
40
41
  *
41
- * @param {Frameio.Uuid} account_id
42
+ * @param {Frameio.FrameOrAdobeId} account_id
42
43
  * @param {Frameio.AuditlogIndexRequest} request
43
44
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
44
45
  *
@@ -58,6 +59,6 @@ export declare class AccountsClient {
58
59
  * include_total_count: false
59
60
  * })
60
61
  */
61
- auditlogIndex(account_id: Frameio.Uuid, request?: Frameio.AuditlogIndexRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Frameio.AuditLogsWithIncludesResponse>;
62
+ auditlogIndex(account_id: Frameio.FrameOrAdobeId, request?: Frameio.AuditlogIndexRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Frameio.AuditLogsWithIncludesResponse>;
62
63
  private __auditlogIndex;
63
64
  }
@@ -74,6 +74,7 @@ class AccountsClient {
74
74
  *
75
75
  * @example
76
76
  * await client.accounts.index({
77
+ * sort: "display_name_asc",
77
78
  * after: "<opaque_cursor>",
78
79
  * page_size: 10,
79
80
  * include_total_count: false
@@ -141,7 +142,7 @@ class AccountsClient {
141
142
  /**
142
143
  * List audit logs with filtering capabilities via query params. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
143
144
  *
144
- * @param {Frameio.Uuid} account_id
145
+ * @param {Frameio.FrameOrAdobeId} account_id
145
146
  * @param {Frameio.AuditlogIndexRequest} request
146
147
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
147
148
  *
@@ -2,12 +2,15 @@ import type * as Frameio from "../../../../index.js";
2
2
  /**
3
3
  * @example
4
4
  * {
5
+ * sort: "display_name_asc",
5
6
  * after: "<opaque_cursor>",
6
7
  * page_size: 10,
7
8
  * include_total_count: false
8
9
  * }
9
10
  */
10
11
  export interface AccountsIndexRequest {
12
+ /** Sort accounts by query params */
13
+ sort?: Frameio.AccountsIndexRequestSort;
11
14
  /**
12
15
  * Opaque Cursor query param for requests returning paginated results.
13
16
  * <br/>
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,8 @@
1
+ /** Sort by query parameter for accounts */
2
+ export declare const AccountsIndexRequestSort: {
3
+ readonly DisplayNameAsc: "display_name_asc";
4
+ readonly CreatedAtAsc: "created_at_asc";
5
+ readonly DisplayNameDesc: "display_name_desc";
6
+ readonly CreatedAtDesc: "created_at_desc";
7
+ };
8
+ export type AccountsIndexRequestSort = (typeof AccountsIndexRequestSort)[keyof typeof AccountsIndexRequestSort];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AccountsIndexRequestSort = void 0;
5
+ /** Sort by query parameter for accounts */
6
+ exports.AccountsIndexRequestSort = {
7
+ DisplayNameAsc: "display_name_asc",
8
+ CreatedAtAsc: "created_at_asc",
9
+ DisplayNameDesc: "display_name_desc",
10
+ CreatedAtDesc: "created_at_desc",
11
+ };
@@ -0,0 +1 @@
1
+ export * from "./AccountsIndexRequestSort.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("./AccountsIndexRequestSort.js"), exports);
@@ -0,0 +1,65 @@
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 CollectionsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ /**
11
+ * Manage Collections and related operations.
12
+ */
13
+ export declare class CollectionsClient {
14
+ protected readonly _options: NormalizedClientOptionsWithAuth<CollectionsClient.Options>;
15
+ constructor(options: CollectionsClient.Options);
16
+ /**
17
+ * Show collection 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} collection_id
21
+ * @param {Frameio.CollectionsShowRequest} request
22
+ * @param {CollectionsClient.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.collections.show("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
34
+ * include: "creator,project"
35
+ * })
36
+ */
37
+ show(account_id: Frameio.Uuid, collection_id: Frameio.Uuid, request?: Frameio.CollectionsShowRequest, requestOptions?: CollectionsClient.RequestOptions): core.HttpResponsePromise<Frameio.CollectionResponse>;
38
+ private __show;
39
+ /**
40
+ * List collections for a project. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
41
+ *
42
+ * @param {Frameio.Uuid} account_id
43
+ * @param {Frameio.Uuid} project_id
44
+ * @param {Frameio.CollectionsIndexRequest} request
45
+ * @param {CollectionsClient.RequestOptions} requestOptions - Request-specific configuration.
46
+ *
47
+ * @throws {@link Frameio.BadRequestError}
48
+ * @throws {@link Frameio.UnauthorizedError}
49
+ * @throws {@link Frameio.ForbiddenError}
50
+ * @throws {@link Frameio.NotFoundError}
51
+ * @throws {@link Frameio.ConflictError}
52
+ * @throws {@link Frameio.UnprocessableEntityError}
53
+ * @throws {@link Frameio.TooManyRequestsError}
54
+ *
55
+ * @example
56
+ * await client.collections.index("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
57
+ * include: "creator,project",
58
+ * after: "<opaque_cursor>",
59
+ * page_size: 10,
60
+ * include_total_count: false
61
+ * })
62
+ */
63
+ index(account_id: Frameio.Uuid, project_id: Frameio.Uuid, request?: Frameio.CollectionsIndexRequest, requestOptions?: CollectionsClient.RequestOptions): core.HttpResponsePromise<Frameio.CollectionsResponse>;
64
+ private __index;
65
+ }