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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +9 -0
- package/dist/cjs/Client.js +45 -30
- package/dist/cjs/api/resources/accountPermissions/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/accountPermissions/client/Client.js +2 -1
- package/dist/cjs/api/resources/accountPermissions/client/requests/AccountPermissionsIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/accountPermissions/index.d.ts +1 -0
- package/dist/cjs/api/resources/accountPermissions/index.js +1 -0
- package/dist/cjs/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.d.ts +10 -0
- package/dist/cjs/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.js +13 -0
- package/dist/cjs/api/resources/accountPermissions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/accountPermissions/types/index.js +17 -0
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/accounts/client/Client.js +2 -1
- package/dist/cjs/api/resources/accounts/client/requests/AccountsIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/accounts/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/index.js +1 -0
- package/dist/cjs/api/resources/accounts/types/AccountsIndexRequestSort.d.ts +8 -0
- package/dist/cjs/api/resources/accounts/types/AccountsIndexRequestSort.js +11 -0
- package/dist/cjs/api/resources/accounts/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/types/index.js +17 -0
- package/dist/cjs/api/resources/collections/client/Client.d.ts +65 -0
- package/dist/cjs/api/resources/collections/client/Client.js +216 -0
- package/dist/cjs/api/resources/collections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/collections/client/index.js +17 -0
- package/dist/cjs/api/resources/collections/client/requests/CollectionsIndexRequest.d.ts +21 -0
- package/dist/cjs/api/resources/collections/client/requests/CollectionsIndexRequest.js +3 -0
- package/dist/cjs/api/resources/collections/client/requests/CollectionsShowRequest.d.ts +10 -0
- package/dist/cjs/api/resources/collections/client/requests/CollectionsShowRequest.js +3 -0
- package/dist/cjs/api/resources/collections/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/collections/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/collections/exports.d.ts +2 -0
- package/dist/cjs/api/resources/collections/exports.js +21 -0
- package/dist/cjs/api/resources/collections/index.d.ts +1 -0
- package/dist/cjs/api/resources/collections/index.js +17 -0
- package/dist/cjs/api/resources/comments/client/Client.d.ts +17 -17
- package/dist/cjs/api/resources/comments/client/Client.js +10 -10
- package/dist/cjs/api/resources/customActions/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/customActions/client/Client.js +5 -5
- package/dist/cjs/api/resources/files/client/Client.d.ts +33 -33
- package/dist/cjs/api/resources/files/client/Client.js +22 -22
- package/dist/cjs/api/resources/files/types/FilesListRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/files/types/FilesListRequestInclude.js +0 -1
- package/dist/cjs/api/resources/files/types/FilesShowRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/files/types/FilesShowRequestInclude.js +0 -1
- package/dist/cjs/api/resources/folderPermissions/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/folderPermissions/client/Client.js +287 -0
- package/dist/cjs/api/resources/folderPermissions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/folderPermissions/client/index.js +17 -0
- package/dist/cjs/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.ts +22 -0
- package/dist/cjs/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.js +3 -0
- package/dist/cjs/api/resources/folderPermissions/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/folderPermissions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/folderPermissions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/folderPermissions/exports.js +21 -0
- package/dist/cjs/api/resources/folderPermissions/index.d.ts +1 -0
- package/dist/cjs/api/resources/folderPermissions/index.js +17 -0
- package/dist/cjs/api/resources/folders/client/Client.d.ts +24 -24
- package/dist/cjs/api/resources/folders/client/Client.js +16 -16
- package/dist/cjs/api/resources/folders/types/FoldersIndexRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/folders/types/FoldersIndexRequestInclude.js +0 -1
- package/dist/cjs/api/resources/folders/types/FoldersListRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/folders/types/FoldersListRequestInclude.js +0 -1
- package/dist/cjs/api/resources/folders/types/FoldersShowRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/folders/types/FoldersShowRequestInclude.js +0 -1
- package/dist/cjs/api/resources/groups/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/groups/client/Client.js +4 -4
- package/dist/cjs/api/resources/index.d.ts +12 -0
- package/dist/cjs/api/resources/index.js +13 -1
- package/dist/cjs/api/resources/metadata/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/metadata/client/Client.js +8 -8
- package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +5 -5
- package/dist/cjs/api/resources/metadataFields/client/Client.d.ts +9 -8
- package/dist/cjs/api/resources/metadataFields/client/Client.js +7 -5
- package/dist/cjs/api/resources/metadataFields/client/requests/MetadataFieldDefinitionsIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.d.ts +8 -0
- package/dist/cjs/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.js +11 -0
- package/dist/cjs/api/resources/metadataFields/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/metadataFields/types/index.js +1 -0
- package/dist/cjs/api/resources/projectPermissions/client/Client.d.ts +10 -9
- package/dist/cjs/api/resources/projectPermissions/client/Client.js +7 -6
- package/dist/cjs/api/resources/projectPermissions/client/requests/ProjectPermissionsIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/projectPermissions/index.d.ts +1 -0
- package/dist/cjs/api/resources/projectPermissions/index.js +1 -0
- package/dist/cjs/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.d.ts +10 -0
- package/dist/cjs/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.js +13 -0
- package/dist/cjs/api/resources/projectPermissions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/projectPermissions/types/index.js +17 -0
- package/dist/cjs/api/resources/projects/client/Client.d.ts +14 -13
- package/dist/cjs/api/resources/projects/client/Client.js +9 -8
- package/dist/cjs/api/resources/projects/client/requests/ProjectsIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/projects/index.d.ts +1 -0
- package/dist/cjs/api/resources/projects/index.js +1 -0
- package/dist/cjs/api/resources/projects/types/ProjectsIndexRequestSort.d.ts +8 -0
- package/dist/cjs/api/resources/projects/types/ProjectsIndexRequestSort.js +11 -0
- package/dist/cjs/api/resources/projects/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/projects/types/index.js +17 -0
- package/dist/cjs/api/resources/search/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/search/client/Client.js +161 -0
- package/dist/cjs/api/resources/search/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/search/client/index.js +17 -0
- package/dist/cjs/api/resources/search/client/requests/SearchParams.d.ts +51 -0
- package/dist/cjs/api/resources/search/client/requests/SearchParams.js +12 -0
- package/dist/cjs/api/resources/search/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/search/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/search/exports.d.ts +2 -0
- package/dist/cjs/api/resources/search/exports.js +21 -0
- package/dist/cjs/api/resources/search/index.d.ts +1 -0
- package/dist/cjs/api/resources/search/index.js +17 -0
- package/dist/cjs/api/resources/shares/client/Client.d.ts +29 -27
- package/dist/cjs/api/resources/shares/client/Client.js +19 -17
- package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +2 -2
- package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
- package/dist/cjs/api/resources/shares/client/requests/SharesIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/shares/client/requests/SharesListReviewersRequest.d.ts +3 -0
- package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +2 -1
- package/dist/cjs/api/resources/shares/types/SharesIndexRequestSort.d.ts +8 -0
- package/dist/cjs/api/resources/shares/types/SharesIndexRequestSort.js +11 -0
- package/dist/cjs/api/resources/shares/types/SharesListReviewersRequestSort.d.ts +8 -0
- package/dist/cjs/api/resources/shares/types/SharesListReviewersRequestSort.js +11 -0
- package/dist/cjs/api/resources/shares/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/shares/types/index.js +2 -0
- package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/versionStacks/client/Client.js +13 -13
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +3 -2
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.js +0 -1
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksListRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksListRequestInclude.js +0 -1
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +0 -1
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +0 -1
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/webhooks/client/Client.js +5 -5
- package/dist/cjs/api/resources/workspacePermissions/client/Client.d.ts +8 -7
- package/dist/cjs/api/resources/workspacePermissions/client/Client.js +5 -4
- package/dist/cjs/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.d.ts +17 -0
- package/dist/cjs/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.js +3 -0
- package/dist/cjs/api/resources/workspacePermissions/client/requests/WorkspacePermissionsIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/workspacePermissions/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspacePermissions/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspacePermissions/index.js +1 -0
- package/dist/cjs/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.d.ts +10 -0
- package/dist/cjs/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.js +13 -0
- package/dist/cjs/api/resources/workspacePermissions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspacePermissions/types/index.js +17 -0
- package/dist/cjs/api/resources/workspaces/client/Client.d.ts +11 -10
- package/dist/cjs/api/resources/workspaces/client/Client.js +6 -5
- package/dist/cjs/api/resources/workspaces/client/requests/WorkspacesIndexRequest.d.ts +3 -0
- package/dist/cjs/api/resources/workspaces/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspaces/index.js +1 -0
- package/dist/cjs/api/resources/workspaces/types/WorkspacesIndexRequestSort.d.ts +8 -0
- package/dist/cjs/api/resources/workspaces/types/WorkspacesIndexRequestSort.js +11 -0
- package/dist/cjs/api/resources/workspaces/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspaces/types/index.js +17 -0
- package/dist/cjs/api/types/Account.d.ts +2 -0
- package/dist/cjs/api/types/AccountSort.d.ts +8 -0
- package/dist/cjs/api/types/AccountSort.js +11 -0
- package/dist/cjs/api/types/AccountUserSort.d.ts +10 -0
- package/dist/cjs/api/types/AccountUserSort.js +13 -0
- package/dist/cjs/api/types/AssetCommon.d.ts +2 -0
- package/dist/cjs/api/types/AssetCommonWithIncludes.d.ts +2 -0
- package/dist/cjs/api/types/AssetInclude.d.ts +0 -1
- package/dist/cjs/api/types/AssetInclude.js +0 -1
- package/dist/cjs/api/types/AssetSearchResult.d.ts +18 -0
- package/dist/cjs/api/types/AssetSearchResult.js +12 -0
- package/dist/cjs/api/types/AssetShareParams.d.ts +4 -2
- package/dist/cjs/api/types/AssigneeMatch.d.ts +7 -0
- package/dist/cjs/api/types/AssigneeMatch.js +3 -0
- package/dist/cjs/api/types/AudioSampleRateMatch.d.ts +7 -0
- package/dist/cjs/api/types/AudioSampleRateMatch.js +3 -0
- package/dist/cjs/api/types/AuditLogwithIncludes.d.ts +2 -0
- package/dist/cjs/api/types/AuditLogwithIncludes.js +2 -0
- package/dist/cjs/api/types/BitDepthMatch.d.ts +7 -0
- package/dist/cjs/api/types/BitDepthMatch.js +3 -0
- package/dist/cjs/api/types/BitRateMatch.d.ts +7 -0
- package/dist/cjs/api/types/BitRateMatch.js +3 -0
- package/dist/cjs/api/types/ChannelsMatch.d.ts +7 -0
- package/dist/cjs/api/types/ChannelsMatch.js +3 -0
- package/dist/cjs/api/types/CodecMatch.d.ts +7 -0
- package/dist/cjs/api/types/CodecMatch.js +3 -0
- package/dist/cjs/api/types/Collection.d.ts +31 -0
- package/dist/cjs/api/types/Collection.js +11 -0
- package/dist/cjs/api/types/CollectionInclude.d.ts +4 -0
- package/dist/cjs/api/types/CollectionInclude.js +3 -0
- package/dist/cjs/api/types/CollectionResponse.d.ts +4 -0
- package/dist/cjs/api/types/CollectionResponse.js +3 -0
- package/dist/cjs/api/types/CollectionsResponse.d.ts +8 -0
- package/dist/cjs/api/types/CollectionsResponse.js +3 -0
- package/dist/cjs/api/types/ColorSpaceMatch.d.ts +7 -0
- package/dist/cjs/api/types/ColorSpaceMatch.js +3 -0
- package/dist/cjs/api/types/CommentCountMatch.d.ts +7 -0
- package/dist/cjs/api/types/CommentCountMatch.js +3 -0
- package/dist/cjs/api/types/CommentMatch.d.ts +11 -0
- package/dist/cjs/api/types/CommentMatch.js +3 -0
- package/dist/cjs/api/types/CreatorMatch.d.ts +7 -0
- package/dist/cjs/api/types/CreatorMatch.js +3 -0
- package/dist/cjs/api/types/DeletedAtMatch.d.ts +7 -0
- package/dist/cjs/api/types/DeletedAtMatch.js +3 -0
- package/dist/cjs/api/types/DurationMatch.d.ts +7 -0
- package/dist/cjs/api/types/DurationMatch.js +3 -0
- package/dist/cjs/api/types/DynamicRangeMatch.d.ts +7 -0
- package/dist/cjs/api/types/DynamicRangeMatch.js +3 -0
- package/dist/cjs/api/types/FieldDefinitionSort.d.ts +8 -0
- package/dist/cjs/api/types/FieldDefinitionSort.js +11 -0
- package/dist/cjs/api/types/FileTypeMatch.d.ts +7 -0
- package/dist/cjs/api/types/FileTypeMatch.js +3 -0
- package/dist/cjs/api/types/FileWithIncludes.d.ts +2 -0
- package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +0 -1
- package/dist/cjs/api/types/FileWithMediaLinksInclude.js +0 -1
- package/dist/cjs/api/types/File_.d.ts +4 -0
- package/dist/cjs/api/types/FilesizeMatch.d.ts +7 -0
- package/dist/cjs/api/types/FilesizeMatch.js +3 -0
- package/dist/cjs/api/types/Filters.d.ts +2 -0
- package/dist/cjs/api/types/Filters.js +2 -0
- package/dist/cjs/api/types/FolderWithIncludes.d.ts +2 -0
- package/dist/cjs/api/types/FormatMatch.d.ts +7 -0
- package/dist/cjs/api/types/FormatMatch.js +3 -0
- package/dist/cjs/api/types/FrameOrAdobeId.d.ts +4 -0
- package/dist/cjs/api/types/FrameOrAdobeId.js +3 -0
- package/dist/cjs/api/types/FrameRateMatch.d.ts +7 -0
- package/dist/cjs/api/types/FrameRateMatch.js +3 -0
- package/dist/cjs/api/types/HasAlphaChannelMatch.d.ts +7 -0
- package/dist/cjs/api/types/HasAlphaChannelMatch.js +3 -0
- package/dist/cjs/api/types/InsertedAtMatch.d.ts +7 -0
- package/dist/cjs/api/types/InsertedAtMatch.js +3 -0
- package/dist/cjs/api/types/KeywordsMatch.d.ts +7 -0
- package/dist/cjs/api/types/KeywordsMatch.js +3 -0
- package/dist/cjs/api/types/NameMatch.d.ts +9 -0
- package/dist/cjs/api/types/NameMatch.js +3 -0
- package/dist/cjs/api/types/NotesMatch.d.ts +7 -0
- package/dist/cjs/api/types/NotesMatch.js +3 -0
- package/dist/cjs/api/types/PageCountMatch.d.ts +7 -0
- package/dist/cjs/api/types/PageCountMatch.js +3 -0
- package/dist/cjs/api/types/Project.d.ts +2 -0
- package/dist/cjs/api/types/ProjectMatch.d.ts +20 -0
- package/dist/cjs/api/types/ProjectMatch.js +3 -0
- package/dist/cjs/api/types/ProjectMatchInfo.d.ts +9 -0
- package/dist/cjs/api/types/ProjectMatchInfo.js +3 -0
- package/dist/cjs/api/types/ProjectSearchResult.d.ts +10 -0
- package/dist/cjs/api/types/ProjectSearchResult.js +3 -0
- package/dist/cjs/api/types/ProjectSort.d.ts +8 -0
- package/dist/cjs/api/types/ProjectSort.js +11 -0
- package/dist/cjs/api/types/RatingMatch.d.ts +13 -0
- package/dist/cjs/api/types/RatingMatch.js +3 -0
- package/dist/cjs/api/types/ResolutionHeightMatch.d.ts +7 -0
- package/dist/cjs/api/types/ResolutionHeightMatch.js +3 -0
- package/dist/cjs/api/types/ResolutionWidthMatch.d.ts +7 -0
- package/dist/cjs/api/types/ResolutionWidthMatch.js +3 -0
- package/dist/cjs/api/types/ReviewersSort.d.ts +8 -0
- package/dist/cjs/api/types/ReviewersSort.js +11 -0
- package/dist/cjs/api/types/SearchMatch.d.ts +106 -0
- package/dist/cjs/api/types/SearchMatch.js +3 -0
- package/dist/cjs/api/types/SearchResponse.d.ts +17 -0
- package/dist/cjs/api/types/SearchResponse.js +3 -0
- package/dist/cjs/api/types/Share.d.ts +3 -0
- package/dist/cjs/api/types/ShareSort.d.ts +8 -0
- package/dist/cjs/api/types/ShareSort.js +11 -0
- package/dist/cjs/api/types/SourceFilenameMatch.d.ts +9 -0
- package/dist/cjs/api/types/SourceFilenameMatch.js +3 -0
- package/dist/cjs/api/types/StatusMatch.d.ts +7 -0
- package/dist/cjs/api/types/StatusMatch.js +3 -0
- package/dist/cjs/api/types/TranscriptionMatch.d.ts +23 -0
- package/dist/cjs/api/types/TranscriptionMatch.js +3 -0
- package/dist/cjs/api/types/UpdateWorkspaceRoleResponse.d.ts +9 -0
- package/dist/cjs/api/types/UpdateWorkspaceRoleResponse.js +3 -0
- package/dist/cjs/api/types/UpdatedAtMatch.d.ts +7 -0
- package/dist/cjs/api/types/UpdatedAtMatch.js +3 -0
- package/dist/cjs/api/types/UploadedAtMatch.d.ts +7 -0
- package/dist/cjs/api/types/UploadedAtMatch.js +3 -0
- package/dist/cjs/api/types/UserRole.d.ts +1 -0
- package/dist/cjs/api/types/UserRole.js +1 -0
- package/dist/cjs/api/types/UserRoleSort.d.ts +10 -0
- package/dist/cjs/api/types/UserRoleSort.js +13 -0
- package/dist/cjs/api/types/UserRolesResponse.d.ts +11 -0
- package/dist/cjs/api/types/UserRolesResponse.js +3 -0
- package/dist/cjs/api/types/Uuid.d.ts +1 -1
- package/dist/cjs/api/types/VersionStack.d.ts +2 -0
- package/dist/cjs/api/types/VersionStackWithIncludes.d.ts +2 -0
- package/dist/cjs/api/types/VisualMatch.d.ts +27 -0
- package/dist/cjs/api/types/VisualMatch.js +3 -0
- package/dist/cjs/api/types/VisualMatchClip.d.ts +15 -0
- package/dist/cjs/api/types/VisualMatchClip.js +3 -0
- package/dist/cjs/api/types/WorkspaceRole.d.ts +10 -0
- package/dist/cjs/api/types/WorkspaceRole.js +13 -0
- package/dist/cjs/api/types/WorkspaceSort.d.ts +8 -0
- package/dist/cjs/api/types/WorkspaceSort.js +11 -0
- package/dist/cjs/api/types/WorkspaceUserRole.d.ts +21 -0
- package/dist/cjs/api/types/WorkspaceUserRole.js +17 -0
- package/dist/cjs/api/types/WorkspaceUserRolesResponse.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +56 -0
- package/dist/cjs/api/types/index.js +56 -0
- package/dist/cjs/oauth/BaseAuth.d.ts +2 -2
- package/dist/cjs/oauth/BaseAuth.js +13 -13
- package/dist/cjs/oauth/NativeAppAuth.d.ts +1 -1
- package/dist/cjs/oauth/NativeAppAuth.js +2 -2
- package/dist/cjs/oauth/SPAAuth.d.ts +2 -2
- package/dist/cjs/oauth/SPAAuth.js +12 -12
- package/dist/cjs/oauth/ServerToServerAuth.d.ts +2 -2
- package/dist/cjs/oauth/ServerToServerAuth.js +6 -6
- package/dist/cjs/oauth/TokenManager.d.ts +1 -1
- package/dist/cjs/oauth/TokenManager.js +11 -11
- package/dist/cjs/oauth/WebAppAuth.d.ts +2 -2
- package/dist/cjs/oauth/WebAppAuth.js +10 -10
- package/dist/cjs/oauth/http.d.ts +2 -2
- package/dist/cjs/oauth/http.js +15 -15
- package/dist/cjs/oauth/index.d.ts +14 -14
- package/dist/cjs/oauth/index.js +21 -21
- package/dist/cjs/oauth/validation.d.ts +1 -1
- package/dist/cjs/oauth/validation.js +6 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +9 -0
- package/dist/esm/Client.mjs +15 -0
- package/dist/esm/api/resources/accountPermissions/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/accountPermissions/client/Client.mjs +2 -1
- package/dist/esm/api/resources/accountPermissions/client/requests/AccountPermissionsIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/accountPermissions/index.d.mts +1 -0
- package/dist/esm/api/resources/accountPermissions/index.mjs +1 -0
- package/dist/esm/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.d.mts +10 -0
- package/dist/esm/api/resources/accountPermissions/types/AccountPermissionsIndexRequestSort.mjs +10 -0
- package/dist/esm/api/resources/accountPermissions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/accountPermissions/types/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/accounts/client/Client.mjs +2 -1
- package/dist/esm/api/resources/accounts/client/requests/AccountsIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/accounts/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/types/AccountsIndexRequestSort.d.mts +8 -0
- package/dist/esm/api/resources/accounts/types/AccountsIndexRequestSort.mjs +8 -0
- package/dist/esm/api/resources/accounts/types/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/types/index.mjs +1 -0
- package/dist/esm/api/resources/collections/client/Client.d.mts +65 -0
- package/dist/esm/api/resources/collections/client/Client.mjs +179 -0
- package/dist/esm/api/resources/collections/client/index.d.mts +1 -0
- package/dist/esm/api/resources/collections/client/index.mjs +1 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionsIndexRequest.d.mts +21 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionsIndexRequest.mjs +2 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionsShowRequest.d.mts +10 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionsShowRequest.mjs +2 -0
- package/dist/esm/api/resources/collections/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/collections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/collections/exports.d.mts +2 -0
- package/dist/esm/api/resources/collections/exports.mjs +3 -0
- package/dist/esm/api/resources/collections/index.d.mts +1 -0
- package/dist/esm/api/resources/collections/index.mjs +1 -0
- package/dist/esm/api/resources/comments/client/Client.d.mts +17 -17
- package/dist/esm/api/resources/comments/client/Client.mjs +10 -10
- package/dist/esm/api/resources/customActions/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/customActions/client/Client.mjs +5 -5
- package/dist/esm/api/resources/files/client/Client.d.mts +33 -33
- package/dist/esm/api/resources/files/client/Client.mjs +22 -22
- package/dist/esm/api/resources/files/types/FilesListRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/files/types/FilesListRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/files/types/FilesShowRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/files/types/FilesShowRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/folderPermissions/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/folderPermissions/client/Client.mjs +250 -0
- package/dist/esm/api/resources/folderPermissions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/folderPermissions/client/index.mjs +1 -0
- package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.mts +22 -0
- package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.mjs +2 -0
- package/dist/esm/api/resources/folderPermissions/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/folderPermissions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/folderPermissions/exports.d.mts +2 -0
- package/dist/esm/api/resources/folderPermissions/exports.mjs +3 -0
- package/dist/esm/api/resources/folderPermissions/index.d.mts +1 -0
- package/dist/esm/api/resources/folderPermissions/index.mjs +1 -0
- package/dist/esm/api/resources/folders/client/Client.d.mts +24 -24
- package/dist/esm/api/resources/folders/client/Client.mjs +16 -16
- package/dist/esm/api/resources/folders/types/FoldersIndexRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/folders/types/FoldersIndexRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/folders/types/FoldersListRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/folders/types/FoldersListRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/folders/types/FoldersShowRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/folders/types/FoldersShowRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/groups/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/groups/client/Client.mjs +4 -4
- package/dist/esm/api/resources/index.d.mts +12 -0
- package/dist/esm/api/resources/index.mjs +12 -0
- package/dist/esm/api/resources/metadata/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/metadata/client/Client.mjs +8 -8
- package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +5 -5
- package/dist/esm/api/resources/metadataFields/client/Client.d.mts +9 -8
- package/dist/esm/api/resources/metadataFields/client/Client.mjs +7 -5
- package/dist/esm/api/resources/metadataFields/client/requests/MetadataFieldDefinitionsIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.d.mts +8 -0
- package/dist/esm/api/resources/metadataFields/types/MetadataFieldDefinitionsIndexRequestSort.mjs +8 -0
- package/dist/esm/api/resources/metadataFields/types/index.d.mts +1 -0
- package/dist/esm/api/resources/metadataFields/types/index.mjs +1 -0
- package/dist/esm/api/resources/projectPermissions/client/Client.d.mts +10 -9
- package/dist/esm/api/resources/projectPermissions/client/Client.mjs +7 -6
- package/dist/esm/api/resources/projectPermissions/client/requests/ProjectPermissionsIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/projectPermissions/index.d.mts +1 -0
- package/dist/esm/api/resources/projectPermissions/index.mjs +1 -0
- package/dist/esm/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.d.mts +10 -0
- package/dist/esm/api/resources/projectPermissions/types/ProjectPermissionsIndexRequestSort.mjs +10 -0
- package/dist/esm/api/resources/projectPermissions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/projectPermissions/types/index.mjs +1 -0
- package/dist/esm/api/resources/projects/client/Client.d.mts +14 -13
- package/dist/esm/api/resources/projects/client/Client.mjs +9 -8
- package/dist/esm/api/resources/projects/client/requests/ProjectsIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/projects/index.d.mts +1 -0
- package/dist/esm/api/resources/projects/index.mjs +1 -0
- package/dist/esm/api/resources/projects/types/ProjectsIndexRequestSort.d.mts +8 -0
- package/dist/esm/api/resources/projects/types/ProjectsIndexRequestSort.mjs +8 -0
- package/dist/esm/api/resources/projects/types/index.d.mts +1 -0
- package/dist/esm/api/resources/projects/types/index.mjs +1 -0
- package/dist/esm/api/resources/search/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/search/client/Client.mjs +124 -0
- package/dist/esm/api/resources/search/client/index.d.mts +1 -0
- package/dist/esm/api/resources/search/client/index.mjs +1 -0
- package/dist/esm/api/resources/search/client/requests/SearchParams.d.mts +51 -0
- package/dist/esm/api/resources/search/client/requests/SearchParams.mjs +9 -0
- package/dist/esm/api/resources/search/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/search/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/search/exports.d.mts +2 -0
- package/dist/esm/api/resources/search/exports.mjs +3 -0
- package/dist/esm/api/resources/search/index.d.mts +1 -0
- package/dist/esm/api/resources/search/index.mjs +1 -0
- package/dist/esm/api/resources/shares/client/Client.d.mts +29 -27
- package/dist/esm/api/resources/shares/client/Client.mjs +19 -17
- package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +2 -2
- package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
- package/dist/esm/api/resources/shares/client/requests/SharesIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/shares/client/requests/SharesListReviewersRequest.d.mts +3 -0
- package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +2 -1
- package/dist/esm/api/resources/shares/types/SharesIndexRequestSort.d.mts +8 -0
- package/dist/esm/api/resources/shares/types/SharesIndexRequestSort.mjs +8 -0
- package/dist/esm/api/resources/shares/types/SharesListReviewersRequestSort.d.mts +8 -0
- package/dist/esm/api/resources/shares/types/SharesListReviewersRequestSort.mjs +8 -0
- package/dist/esm/api/resources/shares/types/index.d.mts +2 -0
- package/dist/esm/api/resources/shares/types/index.mjs +2 -0
- package/dist/esm/api/resources/versionStacks/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/versionStacks/client/Client.mjs +13 -13
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +3 -2
- package/dist/esm/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/versionStacks/types/VersionStacksIndexRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/versionStacks/types/VersionStacksListRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/versionStacks/types/VersionStacksListRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +0 -1
- package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +0 -1
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/webhooks/client/Client.mjs +5 -5
- package/dist/esm/api/resources/workspacePermissions/client/Client.d.mts +8 -7
- package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +5 -4
- package/dist/esm/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.d.mts +17 -0
- package/dist/esm/api/resources/workspacePermissions/client/requests/UpdateWorkspaceRoleParams.mjs +2 -0
- package/dist/esm/api/resources/workspacePermissions/client/requests/WorkspacePermissionsIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/workspacePermissions/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/workspacePermissions/index.d.mts +1 -0
- package/dist/esm/api/resources/workspacePermissions/index.mjs +1 -0
- package/dist/esm/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.d.mts +10 -0
- package/dist/esm/api/resources/workspacePermissions/types/WorkspacePermissionsIndexRequestSort.mjs +10 -0
- package/dist/esm/api/resources/workspacePermissions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/workspacePermissions/types/index.mjs +1 -0
- package/dist/esm/api/resources/workspaces/client/Client.d.mts +11 -10
- package/dist/esm/api/resources/workspaces/client/Client.mjs +6 -5
- package/dist/esm/api/resources/workspaces/client/requests/WorkspacesIndexRequest.d.mts +3 -0
- package/dist/esm/api/resources/workspaces/index.d.mts +1 -0
- package/dist/esm/api/resources/workspaces/index.mjs +1 -0
- package/dist/esm/api/resources/workspaces/types/WorkspacesIndexRequestSort.d.mts +8 -0
- package/dist/esm/api/resources/workspaces/types/WorkspacesIndexRequestSort.mjs +8 -0
- package/dist/esm/api/resources/workspaces/types/index.d.mts +1 -0
- package/dist/esm/api/resources/workspaces/types/index.mjs +1 -0
- package/dist/esm/api/types/Account.d.mts +2 -0
- package/dist/esm/api/types/AccountSort.d.mts +8 -0
- package/dist/esm/api/types/AccountSort.mjs +8 -0
- package/dist/esm/api/types/AccountUserSort.d.mts +10 -0
- package/dist/esm/api/types/AccountUserSort.mjs +10 -0
- package/dist/esm/api/types/AssetCommon.d.mts +2 -0
- package/dist/esm/api/types/AssetCommonWithIncludes.d.mts +2 -0
- package/dist/esm/api/types/AssetInclude.d.mts +0 -1
- package/dist/esm/api/types/AssetInclude.mjs +0 -1
- package/dist/esm/api/types/AssetSearchResult.d.mts +18 -0
- package/dist/esm/api/types/AssetSearchResult.mjs +9 -0
- package/dist/esm/api/types/AssetShareParams.d.mts +4 -2
- package/dist/esm/api/types/AssigneeMatch.d.mts +7 -0
- package/dist/esm/api/types/AssigneeMatch.mjs +2 -0
- package/dist/esm/api/types/AudioSampleRateMatch.d.mts +7 -0
- package/dist/esm/api/types/AudioSampleRateMatch.mjs +2 -0
- package/dist/esm/api/types/AuditLogwithIncludes.d.mts +2 -0
- package/dist/esm/api/types/AuditLogwithIncludes.mjs +2 -0
- package/dist/esm/api/types/BitDepthMatch.d.mts +7 -0
- package/dist/esm/api/types/BitDepthMatch.mjs +2 -0
- package/dist/esm/api/types/BitRateMatch.d.mts +7 -0
- package/dist/esm/api/types/BitRateMatch.mjs +2 -0
- package/dist/esm/api/types/ChannelsMatch.d.mts +7 -0
- package/dist/esm/api/types/ChannelsMatch.mjs +2 -0
- package/dist/esm/api/types/CodecMatch.d.mts +7 -0
- package/dist/esm/api/types/CodecMatch.mjs +2 -0
- package/dist/esm/api/types/Collection.d.mts +31 -0
- package/dist/esm/api/types/Collection.mjs +8 -0
- package/dist/esm/api/types/CollectionInclude.d.mts +4 -0
- package/dist/esm/api/types/CollectionInclude.mjs +2 -0
- package/dist/esm/api/types/CollectionResponse.d.mts +4 -0
- package/dist/esm/api/types/CollectionResponse.mjs +2 -0
- package/dist/esm/api/types/CollectionsResponse.d.mts +8 -0
- package/dist/esm/api/types/CollectionsResponse.mjs +2 -0
- package/dist/esm/api/types/ColorSpaceMatch.d.mts +7 -0
- package/dist/esm/api/types/ColorSpaceMatch.mjs +2 -0
- package/dist/esm/api/types/CommentCountMatch.d.mts +7 -0
- package/dist/esm/api/types/CommentCountMatch.mjs +2 -0
- package/dist/esm/api/types/CommentMatch.d.mts +11 -0
- package/dist/esm/api/types/CommentMatch.mjs +2 -0
- package/dist/esm/api/types/CreatorMatch.d.mts +7 -0
- package/dist/esm/api/types/CreatorMatch.mjs +2 -0
- package/dist/esm/api/types/DeletedAtMatch.d.mts +7 -0
- package/dist/esm/api/types/DeletedAtMatch.mjs +2 -0
- package/dist/esm/api/types/DurationMatch.d.mts +7 -0
- package/dist/esm/api/types/DurationMatch.mjs +2 -0
- package/dist/esm/api/types/DynamicRangeMatch.d.mts +7 -0
- package/dist/esm/api/types/DynamicRangeMatch.mjs +2 -0
- package/dist/esm/api/types/FieldDefinitionSort.d.mts +8 -0
- package/dist/esm/api/types/FieldDefinitionSort.mjs +8 -0
- package/dist/esm/api/types/FileTypeMatch.d.mts +7 -0
- package/dist/esm/api/types/FileTypeMatch.mjs +2 -0
- package/dist/esm/api/types/FileWithIncludes.d.mts +2 -0
- package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +0 -1
- package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +0 -1
- package/dist/esm/api/types/File_.d.mts +4 -0
- package/dist/esm/api/types/FilesizeMatch.d.mts +7 -0
- package/dist/esm/api/types/FilesizeMatch.mjs +2 -0
- package/dist/esm/api/types/Filters.d.mts +2 -0
- package/dist/esm/api/types/Filters.mjs +2 -0
- package/dist/esm/api/types/FolderWithIncludes.d.mts +2 -0
- package/dist/esm/api/types/FormatMatch.d.mts +7 -0
- package/dist/esm/api/types/FormatMatch.mjs +2 -0
- package/dist/esm/api/types/FrameOrAdobeId.d.mts +4 -0
- package/dist/esm/api/types/FrameOrAdobeId.mjs +2 -0
- package/dist/esm/api/types/FrameRateMatch.d.mts +7 -0
- package/dist/esm/api/types/FrameRateMatch.mjs +2 -0
- package/dist/esm/api/types/HasAlphaChannelMatch.d.mts +7 -0
- package/dist/esm/api/types/HasAlphaChannelMatch.mjs +2 -0
- package/dist/esm/api/types/InsertedAtMatch.d.mts +7 -0
- package/dist/esm/api/types/InsertedAtMatch.mjs +2 -0
- package/dist/esm/api/types/KeywordsMatch.d.mts +7 -0
- package/dist/esm/api/types/KeywordsMatch.mjs +2 -0
- package/dist/esm/api/types/NameMatch.d.mts +9 -0
- package/dist/esm/api/types/NameMatch.mjs +2 -0
- package/dist/esm/api/types/NotesMatch.d.mts +7 -0
- package/dist/esm/api/types/NotesMatch.mjs +2 -0
- package/dist/esm/api/types/PageCountMatch.d.mts +7 -0
- package/dist/esm/api/types/PageCountMatch.mjs +2 -0
- package/dist/esm/api/types/Project.d.mts +2 -0
- package/dist/esm/api/types/ProjectMatch.d.mts +20 -0
- package/dist/esm/api/types/ProjectMatch.mjs +2 -0
- package/dist/esm/api/types/ProjectMatchInfo.d.mts +9 -0
- package/dist/esm/api/types/ProjectMatchInfo.mjs +2 -0
- package/dist/esm/api/types/ProjectSearchResult.d.mts +10 -0
- package/dist/esm/api/types/ProjectSearchResult.mjs +2 -0
- package/dist/esm/api/types/ProjectSort.d.mts +8 -0
- package/dist/esm/api/types/ProjectSort.mjs +8 -0
- package/dist/esm/api/types/RatingMatch.d.mts +13 -0
- package/dist/esm/api/types/RatingMatch.mjs +2 -0
- package/dist/esm/api/types/ResolutionHeightMatch.d.mts +7 -0
- package/dist/esm/api/types/ResolutionHeightMatch.mjs +2 -0
- package/dist/esm/api/types/ResolutionWidthMatch.d.mts +7 -0
- package/dist/esm/api/types/ResolutionWidthMatch.mjs +2 -0
- package/dist/esm/api/types/ReviewersSort.d.mts +8 -0
- package/dist/esm/api/types/ReviewersSort.mjs +8 -0
- package/dist/esm/api/types/SearchMatch.d.mts +106 -0
- package/dist/esm/api/types/SearchMatch.mjs +2 -0
- package/dist/esm/api/types/SearchResponse.d.mts +17 -0
- package/dist/esm/api/types/SearchResponse.mjs +2 -0
- package/dist/esm/api/types/Share.d.mts +3 -0
- package/dist/esm/api/types/ShareSort.d.mts +8 -0
- package/dist/esm/api/types/ShareSort.mjs +8 -0
- package/dist/esm/api/types/SourceFilenameMatch.d.mts +9 -0
- package/dist/esm/api/types/SourceFilenameMatch.mjs +2 -0
- package/dist/esm/api/types/StatusMatch.d.mts +7 -0
- package/dist/esm/api/types/StatusMatch.mjs +2 -0
- package/dist/esm/api/types/TranscriptionMatch.d.mts +23 -0
- package/dist/esm/api/types/TranscriptionMatch.mjs +2 -0
- package/dist/esm/api/types/UpdateWorkspaceRoleResponse.d.mts +9 -0
- package/dist/esm/api/types/UpdateWorkspaceRoleResponse.mjs +2 -0
- package/dist/esm/api/types/UpdatedAtMatch.d.mts +7 -0
- package/dist/esm/api/types/UpdatedAtMatch.mjs +2 -0
- package/dist/esm/api/types/UploadedAtMatch.d.mts +7 -0
- package/dist/esm/api/types/UploadedAtMatch.mjs +2 -0
- package/dist/esm/api/types/UserRole.d.mts +1 -0
- package/dist/esm/api/types/UserRole.mjs +1 -0
- package/dist/esm/api/types/UserRoleSort.d.mts +10 -0
- package/dist/esm/api/types/UserRoleSort.mjs +10 -0
- package/dist/esm/api/types/UserRolesResponse.d.mts +11 -0
- package/dist/esm/api/types/UserRolesResponse.mjs +2 -0
- package/dist/esm/api/types/Uuid.d.mts +1 -1
- package/dist/esm/api/types/VersionStack.d.mts +2 -0
- package/dist/esm/api/types/VersionStackWithIncludes.d.mts +2 -0
- package/dist/esm/api/types/VisualMatch.d.mts +27 -0
- package/dist/esm/api/types/VisualMatch.mjs +2 -0
- package/dist/esm/api/types/VisualMatchClip.d.mts +15 -0
- package/dist/esm/api/types/VisualMatchClip.mjs +2 -0
- package/dist/esm/api/types/WorkspaceRole.d.mts +10 -0
- package/dist/esm/api/types/WorkspaceRole.mjs +10 -0
- package/dist/esm/api/types/WorkspaceSort.d.mts +8 -0
- package/dist/esm/api/types/WorkspaceSort.mjs +8 -0
- package/dist/esm/api/types/WorkspaceUserRole.d.mts +21 -0
- package/dist/esm/api/types/WorkspaceUserRole.mjs +14 -0
- package/dist/esm/api/types/WorkspaceUserRolesResponse.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +56 -0
- package/dist/esm/api/types/index.mjs +56 -0
- package/dist/esm/index.d.mts +4 -4
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/oauth/BaseAuth.d.mts +2 -2
- package/dist/esm/oauth/BaseAuth.mjs +4 -4
- package/dist/esm/oauth/NativeAppAuth.d.mts +1 -1
- package/dist/esm/oauth/NativeAppAuth.mjs +1 -1
- package/dist/esm/oauth/SPAAuth.d.mts +2 -2
- package/dist/esm/oauth/SPAAuth.mjs +5 -5
- package/dist/esm/oauth/ServerToServerAuth.d.mts +2 -2
- package/dist/esm/oauth/ServerToServerAuth.mjs +3 -3
- package/dist/esm/oauth/TokenManager.d.mts +1 -1
- package/dist/esm/oauth/TokenManager.mjs +3 -3
- package/dist/esm/oauth/WebAppAuth.d.mts +2 -2
- package/dist/esm/oauth/WebAppAuth.mjs +4 -4
- package/dist/esm/oauth/http.d.mts +2 -2
- package/dist/esm/oauth/http.mjs +2 -2
- package/dist/esm/oauth/index.d.mts +14 -14
- package/dist/esm/oauth/index.mjs +7 -7
- package/dist/esm/oauth/validation.d.mts +1 -1
- package/dist/esm/oauth/validation.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +34 -1
- package/reference.md +704 -181
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
12
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
13
|
+
import * as core from "../../../../core/index.mjs";
|
|
14
|
+
import * as environments from "../../../../environments.mjs";
|
|
15
|
+
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
17
|
+
import * as Frameio from "../../../index.mjs";
|
|
18
|
+
/**
|
|
19
|
+
* Manage Folder Permissions and related operations.
|
|
20
|
+
*/
|
|
21
|
+
export class FolderPermissionsClient {
|
|
22
|
+
constructor(options) {
|
|
23
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List user roles for a given folder. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
27
|
+
*
|
|
28
|
+
* @param {Frameio.Uuid} account_id
|
|
29
|
+
* @param {Frameio.Uuid} folder_id
|
|
30
|
+
* @param {Frameio.FolderUserRolesIndexRequest} request
|
|
31
|
+
* @param {FolderPermissionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
|
+
*
|
|
33
|
+
* @throws {@link Frameio.BadRequestError}
|
|
34
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
35
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
36
|
+
* @throws {@link Frameio.NotFoundError}
|
|
37
|
+
* @throws {@link Frameio.ConflictError}
|
|
38
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
39
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.folderPermissions.folderUserRolesIndex("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
43
|
+
* include_deactivated: true,
|
|
44
|
+
* after: "<opaque_cursor>",
|
|
45
|
+
* page_size: 10,
|
|
46
|
+
* include_total_count: false
|
|
47
|
+
* })
|
|
48
|
+
*/
|
|
49
|
+
folderUserRolesIndex(account_id, folder_id, request = {}, requestOptions) {
|
|
50
|
+
return core.HttpResponsePromise.fromPromise(this.__folderUserRolesIndex(account_id, folder_id, request, requestOptions));
|
|
51
|
+
}
|
|
52
|
+
__folderUserRolesIndex(account_id_1, folder_id_1) {
|
|
53
|
+
return __awaiter(this, arguments, void 0, function* (account_id, folder_id, request = {}, requestOptions) {
|
|
54
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
55
|
+
const { include_deactivated: includeDeactivated, after, page_size: pageSize, include_total_count: includeTotalCount, } = request;
|
|
56
|
+
const _queryParams = {
|
|
57
|
+
include_deactivated: includeDeactivated,
|
|
58
|
+
after,
|
|
59
|
+
page_size: pageSize,
|
|
60
|
+
include_total_count: includeTotalCount,
|
|
61
|
+
};
|
|
62
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
63
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
64
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
65
|
+
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)}/folders/${core.url.encodePathParam(folder_id)}/users`),
|
|
66
|
+
method: "GET",
|
|
67
|
+
headers: _headers,
|
|
68
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
69
|
+
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,
|
|
70
|
+
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,
|
|
71
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
72
|
+
fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
|
|
73
|
+
logging: this._options.logging,
|
|
74
|
+
});
|
|
75
|
+
if (_response.ok) {
|
|
76
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
77
|
+
}
|
|
78
|
+
if (_response.error.reason === "status-code") {
|
|
79
|
+
switch (_response.error.statusCode) {
|
|
80
|
+
case 400:
|
|
81
|
+
throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
|
|
82
|
+
case 401:
|
|
83
|
+
throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
84
|
+
case 403:
|
|
85
|
+
throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
86
|
+
case 404:
|
|
87
|
+
throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
|
|
88
|
+
case 409:
|
|
89
|
+
throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
|
|
90
|
+
case 422:
|
|
91
|
+
throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
92
|
+
case 429:
|
|
93
|
+
throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
94
|
+
default:
|
|
95
|
+
throw new errors.FrameioError({
|
|
96
|
+
statusCode: _response.error.statusCode,
|
|
97
|
+
body: _response.error.body,
|
|
98
|
+
rawResponse: _response.rawResponse,
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v4/accounts/{account_id}/folders/{folder_id}/users");
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Remove a user from a given folder. <br/>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
107
|
+
*
|
|
108
|
+
* @param {Frameio.Uuid} account_id
|
|
109
|
+
* @param {Frameio.Uuid} folder_id
|
|
110
|
+
* @param {Frameio.Uuid} user_id
|
|
111
|
+
* @param {FolderPermissionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link Frameio.BadRequestError}
|
|
114
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
115
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
116
|
+
* @throws {@link Frameio.NotFoundError}
|
|
117
|
+
* @throws {@link Frameio.ConflictError}
|
|
118
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
119
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* await client.folderPermissions.delete("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b")
|
|
123
|
+
*/
|
|
124
|
+
delete(account_id, folder_id, user_id, requestOptions) {
|
|
125
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(account_id, folder_id, user_id, requestOptions));
|
|
126
|
+
}
|
|
127
|
+
__delete(account_id, folder_id, user_id, requestOptions) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
130
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
131
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
132
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
133
|
+
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)}/folders/${core.url.encodePathParam(folder_id)}/users/${core.url.encodePathParam(user_id)}`),
|
|
134
|
+
method: "DELETE",
|
|
135
|
+
headers: _headers,
|
|
136
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
137
|
+
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,
|
|
138
|
+
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,
|
|
139
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
140
|
+
fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
|
|
141
|
+
logging: this._options.logging,
|
|
142
|
+
});
|
|
143
|
+
if (_response.ok) {
|
|
144
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
145
|
+
}
|
|
146
|
+
if (_response.error.reason === "status-code") {
|
|
147
|
+
switch (_response.error.statusCode) {
|
|
148
|
+
case 400:
|
|
149
|
+
throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
|
|
150
|
+
case 401:
|
|
151
|
+
throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
152
|
+
case 403:
|
|
153
|
+
throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
154
|
+
case 404:
|
|
155
|
+
throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
|
|
156
|
+
case 409:
|
|
157
|
+
throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
|
|
158
|
+
case 422:
|
|
159
|
+
throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
160
|
+
case 429:
|
|
161
|
+
throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
162
|
+
default:
|
|
163
|
+
throw new errors.FrameioError({
|
|
164
|
+
statusCode: _response.error.statusCode,
|
|
165
|
+
body: _response.error.body,
|
|
166
|
+
rawResponse: _response.rawResponse,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/v4/accounts/{account_id}/folders/{folder_id}/users/{user_id}");
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Update user roles for the given folder if the user is already added to the folder. If the user is
|
|
175
|
+
* not added to the folder, the user will be added with the given role. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
176
|
+
*
|
|
177
|
+
* @param {Frameio.Uuid} account_id
|
|
178
|
+
* @param {Frameio.Uuid} folder_id
|
|
179
|
+
* @param {Frameio.Uuid} user_id
|
|
180
|
+
* @param {Frameio.UpdateUserRolesParams} request
|
|
181
|
+
* @param {FolderPermissionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link Frameio.BadRequestError}
|
|
184
|
+
* @throws {@link Frameio.UnauthorizedError}
|
|
185
|
+
* @throws {@link Frameio.ForbiddenError}
|
|
186
|
+
* @throws {@link Frameio.NotFoundError}
|
|
187
|
+
* @throws {@link Frameio.ConflictError}
|
|
188
|
+
* @throws {@link Frameio.UnprocessableEntityError}
|
|
189
|
+
* @throws {@link Frameio.TooManyRequestsError}
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* await client.folderPermissions.folderUserRolesUpdate("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
193
|
+
* data: {
|
|
194
|
+
* role: "editor"
|
|
195
|
+
* }
|
|
196
|
+
* })
|
|
197
|
+
*/
|
|
198
|
+
folderUserRolesUpdate(account_id, folder_id, user_id, request, requestOptions) {
|
|
199
|
+
return core.HttpResponsePromise.fromPromise(this.__folderUserRolesUpdate(account_id, folder_id, user_id, request, requestOptions));
|
|
200
|
+
}
|
|
201
|
+
__folderUserRolesUpdate(account_id, folder_id, user_id, request, requestOptions) {
|
|
202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
204
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
205
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "user-agent": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.userAgent) !== null && _b !== void 0 ? _b : "frameio-ts" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
206
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
207
|
+
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)}/folders/${core.url.encodePathParam(folder_id)}/users/${core.url.encodePathParam(user_id)}`),
|
|
208
|
+
method: "PATCH",
|
|
209
|
+
headers: _headers,
|
|
210
|
+
contentType: "application/json",
|
|
211
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
212
|
+
requestType: "json",
|
|
213
|
+
body: request,
|
|
214
|
+
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,
|
|
215
|
+
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,
|
|
216
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
217
|
+
fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
|
|
218
|
+
logging: this._options.logging,
|
|
219
|
+
});
|
|
220
|
+
if (_response.ok) {
|
|
221
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
222
|
+
}
|
|
223
|
+
if (_response.error.reason === "status-code") {
|
|
224
|
+
switch (_response.error.statusCode) {
|
|
225
|
+
case 400:
|
|
226
|
+
throw new Frameio.BadRequestError(_response.error.body, _response.rawResponse);
|
|
227
|
+
case 401:
|
|
228
|
+
throw new Frameio.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
229
|
+
case 403:
|
|
230
|
+
throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
231
|
+
case 404:
|
|
232
|
+
throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
|
|
233
|
+
case 409:
|
|
234
|
+
throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
|
|
235
|
+
case 422:
|
|
236
|
+
throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
237
|
+
case 429:
|
|
238
|
+
throw new Frameio.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
239
|
+
default:
|
|
240
|
+
throw new errors.FrameioError({
|
|
241
|
+
statusCode: _response.error.statusCode,
|
|
242
|
+
body: _response.error.body,
|
|
243
|
+
rawResponse: _response.rawResponse,
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/v4/accounts/{account_id}/folders/{folder_id}/users/{user_id}");
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
package/dist/esm/api/resources/folderPermissions/client/requests/FolderUserRolesIndexRequest.d.mts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Frameio from "../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* include_deactivated: true,
|
|
6
|
+
* after: "<opaque_cursor>",
|
|
7
|
+
* page_size: 10,
|
|
8
|
+
* include_total_count: false
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface FolderUserRolesIndexRequest {
|
|
12
|
+
/** Supports including deactivated users in the response. Default is false. */
|
|
13
|
+
include_deactivated?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Opaque Cursor query param for requests returning paginated results.
|
|
16
|
+
* <br/>
|
|
17
|
+
* NOTE: this value is auto-generated and included as part of links from a previous response. It is not intended to be human readable.
|
|
18
|
+
*/
|
|
19
|
+
after?: Frameio.RequestAfterOpaqueCursor | undefined;
|
|
20
|
+
page_size?: Frameio.RequestPageSize;
|
|
21
|
+
include_total_count?: Frameio.IncludeTotalCount;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { FolderUserRolesIndexRequest } from "./FolderUserRolesIndexRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -16,8 +16,8 @@ export declare class FoldersClient {
|
|
|
16
16
|
/**
|
|
17
17
|
* Show folder details. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
18
18
|
*
|
|
19
|
-
* @param {Frameio.
|
|
20
|
-
* @param {Frameio.
|
|
19
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
20
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
21
21
|
* @param {Frameio.FoldersShowRequest} request
|
|
22
22
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
23
23
|
*
|
|
@@ -34,13 +34,13 @@ export declare class FoldersClient {
|
|
|
34
34
|
* include: "creator"
|
|
35
35
|
* })
|
|
36
36
|
*/
|
|
37
|
-
show(account_id: Frameio.
|
|
37
|
+
show(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request?: Frameio.FoldersShowRequest, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FolderWithIncludesResponse>;
|
|
38
38
|
private __show;
|
|
39
39
|
/**
|
|
40
40
|
* Delete folder by id. <br/>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
41
41
|
*
|
|
42
|
-
* @param {Frameio.
|
|
43
|
-
* @param {Frameio.
|
|
42
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
43
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
44
44
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
45
|
*
|
|
46
46
|
* @throws {@link Frameio.BadRequestError}
|
|
@@ -54,13 +54,13 @@ export declare class FoldersClient {
|
|
|
54
54
|
* @example
|
|
55
55
|
* await client.folders.delete("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b")
|
|
56
56
|
*/
|
|
57
|
-
delete(account_id: Frameio.
|
|
57
|
+
delete(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
58
58
|
private __delete;
|
|
59
59
|
/**
|
|
60
60
|
* Update folder details. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
61
61
|
*
|
|
62
|
-
* @param {Frameio.
|
|
63
|
-
* @param {Frameio.
|
|
62
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
63
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
64
64
|
* @param {Frameio.FolderUpdateParams} request
|
|
65
65
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
@@ -79,7 +79,7 @@ export declare class FoldersClient {
|
|
|
79
79
|
* }
|
|
80
80
|
* })
|
|
81
81
|
*/
|
|
82
|
-
update(account_id: Frameio.
|
|
82
|
+
update(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request: Frameio.FolderUpdateParams, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FolderResponse>;
|
|
83
83
|
private __update;
|
|
84
84
|
/**
|
|
85
85
|
* List the children in the given folder.
|
|
@@ -96,8 +96,8 @@ export declare class FoldersClient {
|
|
|
96
96
|
* null in the response payload. In short, the client must handle null media links gracefully.
|
|
97
97
|
* <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
98
98
|
*
|
|
99
|
-
* @param {Frameio.
|
|
100
|
-
* @param {Frameio.
|
|
99
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
100
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
101
101
|
* @param {Frameio.FoldersIndexRequest} request
|
|
102
102
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
103
|
*
|
|
@@ -118,13 +118,13 @@ export declare class FoldersClient {
|
|
|
118
118
|
* include_total_count: false
|
|
119
119
|
* })
|
|
120
120
|
*/
|
|
121
|
-
index(account_id: Frameio.
|
|
121
|
+
index(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request?: Frameio.FoldersIndexRequest, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FolderAssetsWithIncludesResponse>;
|
|
122
122
|
private __index;
|
|
123
123
|
/**
|
|
124
124
|
* Copy folder. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
125
125
|
*
|
|
126
|
-
* @param {Frameio.
|
|
127
|
-
* @param {Frameio.
|
|
126
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
127
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
128
128
|
* @param {Frameio.FolderCopyParams} request
|
|
129
129
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
130
|
*
|
|
@@ -144,13 +144,13 @@ export declare class FoldersClient {
|
|
|
144
144
|
* }
|
|
145
145
|
* })
|
|
146
146
|
*/
|
|
147
|
-
copy(account_id: Frameio.
|
|
147
|
+
copy(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request?: Frameio.FolderCopyParams, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FolderCopyResponse>;
|
|
148
148
|
private __copy;
|
|
149
149
|
/**
|
|
150
150
|
* List folders in a given folder. <br/>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
151
151
|
*
|
|
152
|
-
* @param {Frameio.
|
|
153
|
-
* @param {Frameio.
|
|
152
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
153
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
154
154
|
* @param {Frameio.FoldersListRequest} request
|
|
155
155
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
156
|
*
|
|
@@ -170,13 +170,13 @@ export declare class FoldersClient {
|
|
|
170
170
|
* include_total_count: false
|
|
171
171
|
* })
|
|
172
172
|
*/
|
|
173
|
-
list(account_id: Frameio.
|
|
173
|
+
list(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request?: Frameio.FoldersListRequest, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FoldersWithIncludesResponse>;
|
|
174
174
|
private __list;
|
|
175
175
|
/**
|
|
176
176
|
* Create a new folder inside the given <i>folder_id</i> path param. <br/>Rate Limits: 3 calls per 1 second(s) per account_user
|
|
177
177
|
*
|
|
178
|
-
* @param {Frameio.
|
|
179
|
-
* @param {Frameio.
|
|
178
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
179
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
180
180
|
* @param {Frameio.FolderCreateParams} request
|
|
181
181
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
182
182
|
*
|
|
@@ -195,13 +195,13 @@ export declare class FoldersClient {
|
|
|
195
195
|
* }
|
|
196
196
|
* })
|
|
197
197
|
*/
|
|
198
|
-
create(account_id: Frameio.
|
|
198
|
+
create(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request: Frameio.FolderCreateParams, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FolderResponse>;
|
|
199
199
|
private __create;
|
|
200
200
|
/**
|
|
201
201
|
* Move folder to a folder. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
202
202
|
*
|
|
203
|
-
* @param {Frameio.
|
|
204
|
-
* @param {Frameio.
|
|
203
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
204
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
205
205
|
* @param {Frameio.FolderMoveParams} request
|
|
206
206
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
207
207
|
*
|
|
@@ -220,6 +220,6 @@ export declare class FoldersClient {
|
|
|
220
220
|
* }
|
|
221
221
|
* })
|
|
222
222
|
*/
|
|
223
|
-
move(account_id: Frameio.
|
|
223
|
+
move(account_id: Frameio.FrameOrAdobeId, folder_id: Frameio.FrameOrAdobeId, request: Frameio.FolderMoveParams, requestOptions?: FoldersClient.RequestOptions): core.HttpResponsePromise<Frameio.FolderResponse>;
|
|
224
224
|
private __move;
|
|
225
225
|
}
|
|
@@ -36,8 +36,8 @@ export class FoldersClient {
|
|
|
36
36
|
/**
|
|
37
37
|
* Show folder details. <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
38
38
|
*
|
|
39
|
-
* @param {Frameio.
|
|
40
|
-
* @param {Frameio.
|
|
39
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
40
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
41
41
|
* @param {Frameio.FoldersShowRequest} request
|
|
42
42
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
43
|
*
|
|
@@ -110,8 +110,8 @@ export class FoldersClient {
|
|
|
110
110
|
/**
|
|
111
111
|
* Delete folder by id. <br/>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
112
112
|
*
|
|
113
|
-
* @param {Frameio.
|
|
114
|
-
* @param {Frameio.
|
|
113
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
114
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
115
115
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
116
|
*
|
|
117
117
|
* @throws {@link Frameio.BadRequestError}
|
|
@@ -177,8 +177,8 @@ export class FoldersClient {
|
|
|
177
177
|
/**
|
|
178
178
|
* Update folder details. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
179
179
|
*
|
|
180
|
-
* @param {Frameio.
|
|
181
|
-
* @param {Frameio.
|
|
180
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
181
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
182
182
|
* @param {Frameio.FolderUpdateParams} request
|
|
183
183
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
184
184
|
*
|
|
@@ -264,8 +264,8 @@ export class FoldersClient {
|
|
|
264
264
|
* null in the response payload. In short, the client must handle null media links gracefully.
|
|
265
265
|
* <br/>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
266
266
|
*
|
|
267
|
-
* @param {Frameio.
|
|
268
|
-
* @param {Frameio.
|
|
267
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
268
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
269
269
|
* @param {Frameio.FoldersIndexRequest} request
|
|
270
270
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
271
271
|
*
|
|
@@ -349,8 +349,8 @@ export class FoldersClient {
|
|
|
349
349
|
/**
|
|
350
350
|
* Copy folder. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
351
351
|
*
|
|
352
|
-
* @param {Frameio.
|
|
353
|
-
* @param {Frameio.
|
|
352
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
353
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
354
354
|
* @param {Frameio.FolderCopyParams} request
|
|
355
355
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
356
356
|
*
|
|
@@ -429,8 +429,8 @@ export class FoldersClient {
|
|
|
429
429
|
/**
|
|
430
430
|
* List folders in a given folder. <br/>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
431
431
|
*
|
|
432
|
-
* @param {Frameio.
|
|
433
|
-
* @param {Frameio.
|
|
432
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
433
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
434
434
|
* @param {Frameio.FoldersListRequest} request
|
|
435
435
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
436
436
|
*
|
|
@@ -509,8 +509,8 @@ export class FoldersClient {
|
|
|
509
509
|
/**
|
|
510
510
|
* Create a new folder inside the given <i>folder_id</i> path param. <br/>Rate Limits: 3 calls per 1 second(s) per account_user
|
|
511
511
|
*
|
|
512
|
-
* @param {Frameio.
|
|
513
|
-
* @param {Frameio.
|
|
512
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
513
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
514
514
|
* @param {Frameio.FolderCreateParams} request
|
|
515
515
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
516
516
|
*
|
|
@@ -584,8 +584,8 @@ export class FoldersClient {
|
|
|
584
584
|
/**
|
|
585
585
|
* Move folder to a folder. <br/>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
586
586
|
*
|
|
587
|
-
* @param {Frameio.
|
|
588
|
-
* @param {Frameio.
|
|
587
|
+
* @param {Frameio.FrameOrAdobeId} account_id
|
|
588
|
+
* @param {Frameio.FrameOrAdobeId} folder_id
|
|
589
589
|
* @param {Frameio.FolderMoveParams} request
|
|
590
590
|
* @param {FoldersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
591
591
|
*
|
|
@@ -9,7 +9,6 @@ export declare const FoldersIndexRequestInclude: {
|
|
|
9
9
|
readonly MediaLinksScrubSheet: "media_links.scrub_sheet";
|
|
10
10
|
readonly Creator: "creator";
|
|
11
11
|
readonly Project: "project";
|
|
12
|
-
readonly ProjectOwner: "project.owner";
|
|
13
12
|
readonly Metadata: "metadata";
|
|
14
13
|
};
|
|
15
14
|
export type FoldersIndexRequestInclude = (typeof FoldersIndexRequestInclude)[keyof typeof FoldersIndexRequestInclude];
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
export declare const FoldersListRequestInclude: {
|
|
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 FoldersListRequestInclude = (typeof FoldersListRequestInclude)[keyof typeof FoldersListRequestInclude];
|
|
@@ -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];
|