frameio 4.2.0 → 4.2.2
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
|
@@ -3,6 +3,8 @@ export interface VersionStack {
|
|
|
3
3
|
head_version: Frameio.File_;
|
|
4
4
|
/** Parent Folder ID */
|
|
5
5
|
parent_id?: string | undefined;
|
|
6
|
+
/** Adobe cloud storage asset identifier, when available. */
|
|
7
|
+
adobe_id?: string | undefined;
|
|
6
8
|
/** Creation timestamp */
|
|
7
9
|
created_at: string;
|
|
8
10
|
/** File, Folder, or Version Stack ID */
|
|
@@ -3,6 +3,8 @@ export interface VersionStackWithIncludes {
|
|
|
3
3
|
head_version?: Frameio.FileWithIncludes | undefined;
|
|
4
4
|
/** Parent Folder ID */
|
|
5
5
|
parent_id?: string | undefined;
|
|
6
|
+
/** Adobe cloud storage asset identifier, when available. */
|
|
7
|
+
adobe_id?: string | undefined;
|
|
6
8
|
/** Creation timestamp */
|
|
7
9
|
created_at: string;
|
|
8
10
|
creator?: Frameio.User | undefined;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The result's content vector embedding is a match for the search query
|
|
3
|
+
*/
|
|
4
|
+
export interface VisualMatch {
|
|
5
|
+
/** The list of subclips matching the query */
|
|
6
|
+
clips: VisualMatch.Clips.Item[];
|
|
7
|
+
}
|
|
8
|
+
export declare namespace VisualMatch {
|
|
9
|
+
type Clips = Clips.Item[];
|
|
10
|
+
namespace Clips {
|
|
11
|
+
/**
|
|
12
|
+
* A subclip within a video that is a match for the search query
|
|
13
|
+
*/
|
|
14
|
+
interface Item {
|
|
15
|
+
/** Best matching frame time in milliseconds */
|
|
16
|
+
best_frame_time: number;
|
|
17
|
+
/** End time in milliseconds */
|
|
18
|
+
end_time: number;
|
|
19
|
+
/** Chronological index of this clip */
|
|
20
|
+
index: number;
|
|
21
|
+
/** Index ordered by relevancy score */
|
|
22
|
+
relevancy_index: number;
|
|
23
|
+
/** Start time in milliseconds */
|
|
24
|
+
start_time: number;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A subclip within a video that is a match for the search query
|
|
3
|
+
*/
|
|
4
|
+
export interface VisualMatchClip {
|
|
5
|
+
/** Best matching frame time in milliseconds */
|
|
6
|
+
best_frame_time: number;
|
|
7
|
+
/** End time in milliseconds */
|
|
8
|
+
end_time: number;
|
|
9
|
+
/** Chronological index of this clip */
|
|
10
|
+
index: number;
|
|
11
|
+
/** Index ordered by relevancy score */
|
|
12
|
+
relevancy_index: number;
|
|
13
|
+
/** Start time in milliseconds */
|
|
14
|
+
start_time: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** A workspace role. */
|
|
2
|
+
export declare const WorkspaceRole: {
|
|
3
|
+
readonly WorkspaceAdmin: "workspace_admin";
|
|
4
|
+
readonly FullAccess: "full_access";
|
|
5
|
+
readonly Editor: "editor";
|
|
6
|
+
readonly EditOnly: "edit_only";
|
|
7
|
+
readonly Commenter: "commenter";
|
|
8
|
+
readonly Viewer: "viewer";
|
|
9
|
+
};
|
|
10
|
+
export type WorkspaceRole = (typeof WorkspaceRole)[keyof typeof WorkspaceRole];
|
|
@@ -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.WorkspaceRole = void 0;
|
|
5
|
+
/** A workspace role. */
|
|
6
|
+
exports.WorkspaceRole = {
|
|
7
|
+
WorkspaceAdmin: "workspace_admin",
|
|
8
|
+
FullAccess: "full_access",
|
|
9
|
+
Editor: "editor",
|
|
10
|
+
EditOnly: "edit_only",
|
|
11
|
+
Commenter: "commenter",
|
|
12
|
+
Viewer: "viewer",
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Sort query parameter for workspaces */
|
|
2
|
+
export declare const WorkspaceSort: {
|
|
3
|
+
readonly NameAsc: "name_asc";
|
|
4
|
+
readonly CreatedAtAsc: "created_at_asc";
|
|
5
|
+
readonly NameDesc: "name_desc";
|
|
6
|
+
readonly CreatedAtDesc: "created_at_desc";
|
|
7
|
+
};
|
|
8
|
+
export type WorkspaceSort = (typeof WorkspaceSort)[keyof typeof WorkspaceSort];
|
|
@@ -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.WorkspaceSort = void 0;
|
|
5
|
+
/** Sort query parameter for workspaces */
|
|
6
|
+
exports.WorkspaceSort = {
|
|
7
|
+
NameAsc: "name_asc",
|
|
8
|
+
CreatedAtAsc: "created_at_asc",
|
|
9
|
+
NameDesc: "name_desc",
|
|
10
|
+
CreatedAtDesc: "created_at_desc",
|
|
11
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as Frameio from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Frame.io Workspace User Role
|
|
4
|
+
*/
|
|
5
|
+
export interface WorkspaceUserRole {
|
|
6
|
+
role: WorkspaceUserRole.Role;
|
|
7
|
+
user: Frameio.User;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace WorkspaceUserRole {
|
|
10
|
+
const Role: {
|
|
11
|
+
readonly FullAccess: "full_access";
|
|
12
|
+
readonly Editor: "editor";
|
|
13
|
+
readonly EditOnly: "edit_only";
|
|
14
|
+
readonly Commenter: "commenter";
|
|
15
|
+
readonly Viewer: "viewer";
|
|
16
|
+
readonly Admin: "admin";
|
|
17
|
+
readonly Owner: "owner";
|
|
18
|
+
readonly WorkspaceAdmin: "workspace_admin";
|
|
19
|
+
};
|
|
20
|
+
type Role = (typeof Role)[keyof typeof Role];
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WorkspaceUserRole = void 0;
|
|
5
|
+
var WorkspaceUserRole;
|
|
6
|
+
(function (WorkspaceUserRole) {
|
|
7
|
+
WorkspaceUserRole.Role = {
|
|
8
|
+
FullAccess: "full_access",
|
|
9
|
+
Editor: "editor",
|
|
10
|
+
EditOnly: "edit_only",
|
|
11
|
+
Commenter: "commenter",
|
|
12
|
+
Viewer: "viewer",
|
|
13
|
+
Admin: "admin",
|
|
14
|
+
Owner: "owner",
|
|
15
|
+
WorkspaceAdmin: "workspace_admin",
|
|
16
|
+
};
|
|
17
|
+
})(WorkspaceUserRole || (exports.WorkspaceUserRole = WorkspaceUserRole = {}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as Frameio from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Frame.io user role details
|
|
3
|
+
* Frame.io workspace user role details
|
|
4
4
|
*/
|
|
5
5
|
export interface WorkspaceUserRolesResponse {
|
|
6
6
|
/** User Roles */
|
|
7
|
-
data: Frameio.
|
|
7
|
+
data: Frameio.WorkspaceUserRole[];
|
|
8
8
|
links: Frameio.Links;
|
|
9
9
|
/** Total count */
|
|
10
10
|
total_count?: number | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from "./Account.js";
|
|
2
|
+
export * from "./AccountSort.js";
|
|
2
3
|
export * from "./AccountsResponse.js";
|
|
3
4
|
export * from "./AccountUserRole.js";
|
|
4
5
|
export * from "./AccountUserRolesResponse.js";
|
|
6
|
+
export * from "./AccountUserSort.js";
|
|
5
7
|
export * from "./Action.js";
|
|
6
8
|
export * from "./ActionCreateResponse.js";
|
|
7
9
|
export * from "./ActionInclude.js";
|
|
@@ -14,34 +16,53 @@ export * from "./Anchor.js";
|
|
|
14
16
|
export * from "./AssetCommon.js";
|
|
15
17
|
export * from "./AssetCommonWithIncludes.js";
|
|
16
18
|
export * from "./AssetInclude.js";
|
|
19
|
+
export * from "./AssetSearchResult.js";
|
|
17
20
|
export * from "./AssetShareParams.js";
|
|
18
21
|
export * from "./AssetWithIncludes.js";
|
|
22
|
+
export * from "./AssigneeMatch.js";
|
|
19
23
|
export * from "./AttachmentInput.js";
|
|
24
|
+
export * from "./AudioSampleRateMatch.js";
|
|
20
25
|
export * from "./AuditLogsInclude.js";
|
|
21
26
|
export * from "./AuditLogsWithIncludesResponse.js";
|
|
22
27
|
export * from "./AuditLogwithIncludes.js";
|
|
23
28
|
export * from "./BadRequest.js";
|
|
29
|
+
export * from "./BitDepthMatch.js";
|
|
30
|
+
export * from "./BitRateMatch.js";
|
|
24
31
|
export * from "./BooleanValue.js";
|
|
32
|
+
export * from "./ChannelsMatch.js";
|
|
25
33
|
export * from "./ChildrenType.js";
|
|
34
|
+
export * from "./CodecMatch.js";
|
|
35
|
+
export * from "./Collection.js";
|
|
36
|
+
export * from "./CollectionInclude.js";
|
|
37
|
+
export * from "./CollectionResponse.js";
|
|
38
|
+
export * from "./CollectionsResponse.js";
|
|
39
|
+
export * from "./ColorSpaceMatch.js";
|
|
26
40
|
export * from "./Comment.js";
|
|
27
41
|
export * from "./CommentAttachment.js";
|
|
28
42
|
export * from "./CommentAttachmentResponse.js";
|
|
43
|
+
export * from "./CommentCountMatch.js";
|
|
29
44
|
export * from "./CommentInclude.js";
|
|
45
|
+
export * from "./CommentMatch.js";
|
|
30
46
|
export * from "./CommentResponse.js";
|
|
31
47
|
export * from "./CommentSort.js";
|
|
32
48
|
export * from "./CommentsWithIncludesResponse.js";
|
|
33
49
|
export * from "./CommentWithIncludes.js";
|
|
34
50
|
export * from "./CommentWithIncludesResponse.js";
|
|
35
51
|
export * from "./Conflict.js";
|
|
52
|
+
export * from "./CreatorMatch.js";
|
|
36
53
|
export * from "./DateDefinition.js";
|
|
37
54
|
export * from "./DateDefinitionParams.js";
|
|
38
55
|
export * from "./DateDefinitionWithIncludes.js";
|
|
39
56
|
export * from "./DateValue.js";
|
|
57
|
+
export * from "./DeletedAtMatch.js";
|
|
58
|
+
export * from "./DurationMatch.js";
|
|
59
|
+
export * from "./DynamicRangeMatch.js";
|
|
40
60
|
export * from "./Email.js";
|
|
41
61
|
export * from "./EmptyJson.js";
|
|
42
62
|
export * from "./FieldDefinition.js";
|
|
43
63
|
export * from "./FieldDefinitionInclude.js";
|
|
44
64
|
export * from "./FieldDefinitionResponse.js";
|
|
65
|
+
export * from "./FieldDefinitionSort.js";
|
|
45
66
|
export * from "./FieldDefinitionsWithIncludesResponse.js";
|
|
46
67
|
export * from "./FieldDefinitionWithIncludes.js";
|
|
47
68
|
export * from "./FieldValueCommon.js";
|
|
@@ -51,6 +72,8 @@ export * from "./FileCopyResponse.js";
|
|
|
51
72
|
export * from "./FileRemoteUploadResponse.js";
|
|
52
73
|
export * from "./FileResponse.js";
|
|
53
74
|
export * from "./FileSort.js";
|
|
75
|
+
export * from "./FilesizeMatch.js";
|
|
76
|
+
export * from "./FileTypeMatch.js";
|
|
54
77
|
export * from "./FileUploadStatus.js";
|
|
55
78
|
export * from "./FileUploadStatusResponse.js";
|
|
56
79
|
export * from "./FileWithIncludes.js";
|
|
@@ -67,6 +90,9 @@ export * from "./FoldersWithIncludesResponse.js";
|
|
|
67
90
|
export * from "./FolderWithIncludes.js";
|
|
68
91
|
export * from "./FolderWithIncludesResponse.js";
|
|
69
92
|
export * from "./Forbidden.js";
|
|
93
|
+
export * from "./FormatMatch.js";
|
|
94
|
+
export * from "./FrameOrAdobeId.js";
|
|
95
|
+
export * from "./FrameRateMatch.js";
|
|
70
96
|
export * from "./GroupCommon.js";
|
|
71
97
|
export * from "./GroupCommonWithIncludes.js";
|
|
72
98
|
export * from "./GroupResponse.js";
|
|
@@ -75,10 +101,13 @@ export * from "./GroupsSort.js";
|
|
|
75
101
|
export * from "./GroupsWithIncludesResponse.js";
|
|
76
102
|
export * from "./GroupWithIncludes.js";
|
|
77
103
|
export * from "./GroupWithIncludesResponse.js";
|
|
104
|
+
export * from "./HasAlphaChannelMatch.js";
|
|
78
105
|
export * from "./Include.js";
|
|
79
106
|
export * from "./IncludeTotalCount.js";
|
|
107
|
+
export * from "./InsertedAtMatch.js";
|
|
80
108
|
export * from "./IntegerValue.js";
|
|
81
109
|
export * from "./JsonErrorResponse.js";
|
|
110
|
+
export * from "./KeywordsMatch.js";
|
|
82
111
|
export * from "./Link.js";
|
|
83
112
|
export * from "./LinkParams.js";
|
|
84
113
|
export * from "./Links.js";
|
|
@@ -93,18 +122,25 @@ export * from "./MetadataResponse.js";
|
|
|
93
122
|
export * from "./MetadataWithDefinition.js";
|
|
94
123
|
export * from "./MultiSelectValue.js";
|
|
95
124
|
export * from "./MultiUserValue.js";
|
|
125
|
+
export * from "./NameMatch.js";
|
|
96
126
|
export * from "./NoContent.js";
|
|
127
|
+
export * from "./NotesMatch.js";
|
|
97
128
|
export * from "./NotFound.js";
|
|
98
129
|
export * from "./NumberDefinition.js";
|
|
99
130
|
export * from "./NumberDefinitionParams.js";
|
|
100
131
|
export * from "./NumberDefinitionWithIncludes.js";
|
|
101
132
|
export * from "./NumberValue.js";
|
|
102
133
|
export * from "./OriginalMediaLink.js";
|
|
134
|
+
export * from "./PageCountMatch.js";
|
|
103
135
|
export * from "./Profile.js";
|
|
104
136
|
export * from "./ProfileResponse.js";
|
|
105
137
|
export * from "./Project.js";
|
|
106
138
|
export * from "./ProjectInclude.js";
|
|
139
|
+
export * from "./ProjectMatch.js";
|
|
140
|
+
export * from "./ProjectMatchInfo.js";
|
|
107
141
|
export * from "./ProjectResponse.js";
|
|
142
|
+
export * from "./ProjectSearchResult.js";
|
|
143
|
+
export * from "./ProjectSort.js";
|
|
108
144
|
export * from "./ProjectsWithIncludesResponse.js";
|
|
109
145
|
export * from "./ProjectUserRolesResponse.js";
|
|
110
146
|
export * from "./ProjectWithIncludes.js";
|
|
@@ -112,10 +148,16 @@ export * from "./ProjectWithIncludesResponse.js";
|
|
|
112
148
|
export * from "./RatingDefinition.js";
|
|
113
149
|
export * from "./RatingDefinitionParams.js";
|
|
114
150
|
export * from "./RatingDefinitionWithIncludes.js";
|
|
151
|
+
export * from "./RatingMatch.js";
|
|
115
152
|
export * from "./RemoveAssetResponse.js";
|
|
116
153
|
export * from "./RenditionMediaLink.js";
|
|
117
154
|
export * from "./RequestAfterOpaqueCursor.js";
|
|
118
155
|
export * from "./RequestPageSize.js";
|
|
156
|
+
export * from "./ResolutionHeightMatch.js";
|
|
157
|
+
export * from "./ResolutionWidthMatch.js";
|
|
158
|
+
export * from "./ReviewersSort.js";
|
|
159
|
+
export * from "./SearchMatch.js";
|
|
160
|
+
export * from "./SearchResponse.js";
|
|
119
161
|
export * from "./SelectDefinition.js";
|
|
120
162
|
export * from "./SelectDefinitionParams.js";
|
|
121
163
|
export * from "./SelectDefinitionWithIncludes.js";
|
|
@@ -127,8 +169,11 @@ export * from "./SelectValue.js";
|
|
|
127
169
|
export * from "./Share.js";
|
|
128
170
|
export * from "./ShareResponse.js";
|
|
129
171
|
export * from "./ShareReviewersResponse.js";
|
|
172
|
+
export * from "./ShareSort.js";
|
|
130
173
|
export * from "./SharesResponse.js";
|
|
131
174
|
export * from "./SingleUserValue.js";
|
|
175
|
+
export * from "./SourceFilenameMatch.js";
|
|
176
|
+
export * from "./StatusMatch.js";
|
|
132
177
|
export * from "./SyncGroupWithIncludes.js";
|
|
133
178
|
export * from "./TextDefinition.js";
|
|
134
179
|
export * from "./TextDefinitionParams.js";
|
|
@@ -142,9 +187,11 @@ export * from "./ToggleDefinition.js";
|
|
|
142
187
|
export * from "./ToggleDefinitionParams.js";
|
|
143
188
|
export * from "./ToggleDefinitionWithIncludes.js";
|
|
144
189
|
export * from "./TooManyRequests.js";
|
|
190
|
+
export * from "./TranscriptionMatch.js";
|
|
145
191
|
export * from "./Unauthorized.js";
|
|
146
192
|
export * from "./UnprocessableContent.js";
|
|
147
193
|
export * from "./UpdateDateDefinitionParams.js";
|
|
194
|
+
export * from "./UpdatedAtMatch.js";
|
|
148
195
|
export * from "./UpdateLongTextDefinitionParams.js";
|
|
149
196
|
export * from "./UpdateNumberDefinitionParams.js";
|
|
150
197
|
export * from "./UpdateRatingDefinitionParams.js";
|
|
@@ -156,12 +203,16 @@ export * from "./UpdateUserMultiDefinitionParams.js";
|
|
|
156
203
|
export * from "./UpdateUserRolesParams.js";
|
|
157
204
|
export * from "./UpdateUserRolesResponse.js";
|
|
158
205
|
export * from "./UpdateUserSingleDefinitionParams.js";
|
|
206
|
+
export * from "./UpdateWorkspaceRoleResponse.js";
|
|
207
|
+
export * from "./UploadedAtMatch.js";
|
|
159
208
|
export * from "./UploadUrl.js";
|
|
160
209
|
export * from "./User.js";
|
|
161
210
|
export * from "./UserMultiDefinition.js";
|
|
162
211
|
export * from "./UserMultiDefinitionParams.js";
|
|
163
212
|
export * from "./UserMultiDefinitionWithIncludes.js";
|
|
164
213
|
export * from "./UserRole.js";
|
|
214
|
+
export * from "./UserRoleSort.js";
|
|
215
|
+
export * from "./UserRolesResponse.js";
|
|
165
216
|
export * from "./UserSingleDefinition.js";
|
|
166
217
|
export * from "./UserSingleDefinitionParams.js";
|
|
167
218
|
export * from "./UserSingleDefinitionWithIncludes.js";
|
|
@@ -174,6 +225,8 @@ export * from "./VersionStackResponse.js";
|
|
|
174
225
|
export * from "./VersionStacksWithIncludesResponse.js";
|
|
175
226
|
export * from "./VersionStackWithIncludes.js";
|
|
176
227
|
export * from "./VersionStackWithIncludesResponse.js";
|
|
228
|
+
export * from "./VisualMatch.js";
|
|
229
|
+
export * from "./VisualMatchClip.js";
|
|
177
230
|
export * from "./Webhook.js";
|
|
178
231
|
export * from "./WebhookCreateResponse.js";
|
|
179
232
|
export * from "./WebhookEvents.js";
|
|
@@ -185,7 +238,10 @@ export * from "./Workspace.js";
|
|
|
185
238
|
export * from "./WorkspaceInclude.js";
|
|
186
239
|
export * from "./WorkspaceParams.js";
|
|
187
240
|
export * from "./WorkspaceResponse.js";
|
|
241
|
+
export * from "./WorkspaceRole.js";
|
|
242
|
+
export * from "./WorkspaceSort.js";
|
|
188
243
|
export * from "./WorkspacesWithIncludesResponse.js";
|
|
244
|
+
export * from "./WorkspaceUserRole.js";
|
|
189
245
|
export * from "./WorkspaceUserRolesResponse.js";
|
|
190
246
|
export * from "./WorkspaceWithIncludes.js";
|
|
191
247
|
export * from "./WorkspaceWithIncludesResponse.js";
|
|
@@ -15,9 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Account.js"), exports);
|
|
18
|
+
__exportStar(require("./AccountSort.js"), exports);
|
|
18
19
|
__exportStar(require("./AccountsResponse.js"), exports);
|
|
19
20
|
__exportStar(require("./AccountUserRole.js"), exports);
|
|
20
21
|
__exportStar(require("./AccountUserRolesResponse.js"), exports);
|
|
22
|
+
__exportStar(require("./AccountUserSort.js"), exports);
|
|
21
23
|
__exportStar(require("./Action.js"), exports);
|
|
22
24
|
__exportStar(require("./ActionCreateResponse.js"), exports);
|
|
23
25
|
__exportStar(require("./ActionInclude.js"), exports);
|
|
@@ -30,34 +32,53 @@ __exportStar(require("./Anchor.js"), exports);
|
|
|
30
32
|
__exportStar(require("./AssetCommon.js"), exports);
|
|
31
33
|
__exportStar(require("./AssetCommonWithIncludes.js"), exports);
|
|
32
34
|
__exportStar(require("./AssetInclude.js"), exports);
|
|
35
|
+
__exportStar(require("./AssetSearchResult.js"), exports);
|
|
33
36
|
__exportStar(require("./AssetShareParams.js"), exports);
|
|
34
37
|
__exportStar(require("./AssetWithIncludes.js"), exports);
|
|
38
|
+
__exportStar(require("./AssigneeMatch.js"), exports);
|
|
35
39
|
__exportStar(require("./AttachmentInput.js"), exports);
|
|
40
|
+
__exportStar(require("./AudioSampleRateMatch.js"), exports);
|
|
36
41
|
__exportStar(require("./AuditLogsInclude.js"), exports);
|
|
37
42
|
__exportStar(require("./AuditLogsWithIncludesResponse.js"), exports);
|
|
38
43
|
__exportStar(require("./AuditLogwithIncludes.js"), exports);
|
|
39
44
|
__exportStar(require("./BadRequest.js"), exports);
|
|
45
|
+
__exportStar(require("./BitDepthMatch.js"), exports);
|
|
46
|
+
__exportStar(require("./BitRateMatch.js"), exports);
|
|
40
47
|
__exportStar(require("./BooleanValue.js"), exports);
|
|
48
|
+
__exportStar(require("./ChannelsMatch.js"), exports);
|
|
41
49
|
__exportStar(require("./ChildrenType.js"), exports);
|
|
50
|
+
__exportStar(require("./CodecMatch.js"), exports);
|
|
51
|
+
__exportStar(require("./Collection.js"), exports);
|
|
52
|
+
__exportStar(require("./CollectionInclude.js"), exports);
|
|
53
|
+
__exportStar(require("./CollectionResponse.js"), exports);
|
|
54
|
+
__exportStar(require("./CollectionsResponse.js"), exports);
|
|
55
|
+
__exportStar(require("./ColorSpaceMatch.js"), exports);
|
|
42
56
|
__exportStar(require("./Comment.js"), exports);
|
|
43
57
|
__exportStar(require("./CommentAttachment.js"), exports);
|
|
44
58
|
__exportStar(require("./CommentAttachmentResponse.js"), exports);
|
|
59
|
+
__exportStar(require("./CommentCountMatch.js"), exports);
|
|
45
60
|
__exportStar(require("./CommentInclude.js"), exports);
|
|
61
|
+
__exportStar(require("./CommentMatch.js"), exports);
|
|
46
62
|
__exportStar(require("./CommentResponse.js"), exports);
|
|
47
63
|
__exportStar(require("./CommentSort.js"), exports);
|
|
48
64
|
__exportStar(require("./CommentsWithIncludesResponse.js"), exports);
|
|
49
65
|
__exportStar(require("./CommentWithIncludes.js"), exports);
|
|
50
66
|
__exportStar(require("./CommentWithIncludesResponse.js"), exports);
|
|
51
67
|
__exportStar(require("./Conflict.js"), exports);
|
|
68
|
+
__exportStar(require("./CreatorMatch.js"), exports);
|
|
52
69
|
__exportStar(require("./DateDefinition.js"), exports);
|
|
53
70
|
__exportStar(require("./DateDefinitionParams.js"), exports);
|
|
54
71
|
__exportStar(require("./DateDefinitionWithIncludes.js"), exports);
|
|
55
72
|
__exportStar(require("./DateValue.js"), exports);
|
|
73
|
+
__exportStar(require("./DeletedAtMatch.js"), exports);
|
|
74
|
+
__exportStar(require("./DurationMatch.js"), exports);
|
|
75
|
+
__exportStar(require("./DynamicRangeMatch.js"), exports);
|
|
56
76
|
__exportStar(require("./Email.js"), exports);
|
|
57
77
|
__exportStar(require("./EmptyJson.js"), exports);
|
|
58
78
|
__exportStar(require("./FieldDefinition.js"), exports);
|
|
59
79
|
__exportStar(require("./FieldDefinitionInclude.js"), exports);
|
|
60
80
|
__exportStar(require("./FieldDefinitionResponse.js"), exports);
|
|
81
|
+
__exportStar(require("./FieldDefinitionSort.js"), exports);
|
|
61
82
|
__exportStar(require("./FieldDefinitionsWithIncludesResponse.js"), exports);
|
|
62
83
|
__exportStar(require("./FieldDefinitionWithIncludes.js"), exports);
|
|
63
84
|
__exportStar(require("./FieldValueCommon.js"), exports);
|
|
@@ -67,6 +88,8 @@ __exportStar(require("./FileCopyResponse.js"), exports);
|
|
|
67
88
|
__exportStar(require("./FileRemoteUploadResponse.js"), exports);
|
|
68
89
|
__exportStar(require("./FileResponse.js"), exports);
|
|
69
90
|
__exportStar(require("./FileSort.js"), exports);
|
|
91
|
+
__exportStar(require("./FilesizeMatch.js"), exports);
|
|
92
|
+
__exportStar(require("./FileTypeMatch.js"), exports);
|
|
70
93
|
__exportStar(require("./FileUploadStatus.js"), exports);
|
|
71
94
|
__exportStar(require("./FileUploadStatusResponse.js"), exports);
|
|
72
95
|
__exportStar(require("./FileWithIncludes.js"), exports);
|
|
@@ -83,6 +106,9 @@ __exportStar(require("./FoldersWithIncludesResponse.js"), exports);
|
|
|
83
106
|
__exportStar(require("./FolderWithIncludes.js"), exports);
|
|
84
107
|
__exportStar(require("./FolderWithIncludesResponse.js"), exports);
|
|
85
108
|
__exportStar(require("./Forbidden.js"), exports);
|
|
109
|
+
__exportStar(require("./FormatMatch.js"), exports);
|
|
110
|
+
__exportStar(require("./FrameOrAdobeId.js"), exports);
|
|
111
|
+
__exportStar(require("./FrameRateMatch.js"), exports);
|
|
86
112
|
__exportStar(require("./GroupCommon.js"), exports);
|
|
87
113
|
__exportStar(require("./GroupCommonWithIncludes.js"), exports);
|
|
88
114
|
__exportStar(require("./GroupResponse.js"), exports);
|
|
@@ -91,10 +117,13 @@ __exportStar(require("./GroupsSort.js"), exports);
|
|
|
91
117
|
__exportStar(require("./GroupsWithIncludesResponse.js"), exports);
|
|
92
118
|
__exportStar(require("./GroupWithIncludes.js"), exports);
|
|
93
119
|
__exportStar(require("./GroupWithIncludesResponse.js"), exports);
|
|
120
|
+
__exportStar(require("./HasAlphaChannelMatch.js"), exports);
|
|
94
121
|
__exportStar(require("./Include.js"), exports);
|
|
95
122
|
__exportStar(require("./IncludeTotalCount.js"), exports);
|
|
123
|
+
__exportStar(require("./InsertedAtMatch.js"), exports);
|
|
96
124
|
__exportStar(require("./IntegerValue.js"), exports);
|
|
97
125
|
__exportStar(require("./JsonErrorResponse.js"), exports);
|
|
126
|
+
__exportStar(require("./KeywordsMatch.js"), exports);
|
|
98
127
|
__exportStar(require("./Link.js"), exports);
|
|
99
128
|
__exportStar(require("./LinkParams.js"), exports);
|
|
100
129
|
__exportStar(require("./Links.js"), exports);
|
|
@@ -109,18 +138,25 @@ __exportStar(require("./MetadataResponse.js"), exports);
|
|
|
109
138
|
__exportStar(require("./MetadataWithDefinition.js"), exports);
|
|
110
139
|
__exportStar(require("./MultiSelectValue.js"), exports);
|
|
111
140
|
__exportStar(require("./MultiUserValue.js"), exports);
|
|
141
|
+
__exportStar(require("./NameMatch.js"), exports);
|
|
112
142
|
__exportStar(require("./NoContent.js"), exports);
|
|
143
|
+
__exportStar(require("./NotesMatch.js"), exports);
|
|
113
144
|
__exportStar(require("./NotFound.js"), exports);
|
|
114
145
|
__exportStar(require("./NumberDefinition.js"), exports);
|
|
115
146
|
__exportStar(require("./NumberDefinitionParams.js"), exports);
|
|
116
147
|
__exportStar(require("./NumberDefinitionWithIncludes.js"), exports);
|
|
117
148
|
__exportStar(require("./NumberValue.js"), exports);
|
|
118
149
|
__exportStar(require("./OriginalMediaLink.js"), exports);
|
|
150
|
+
__exportStar(require("./PageCountMatch.js"), exports);
|
|
119
151
|
__exportStar(require("./Profile.js"), exports);
|
|
120
152
|
__exportStar(require("./ProfileResponse.js"), exports);
|
|
121
153
|
__exportStar(require("./Project.js"), exports);
|
|
122
154
|
__exportStar(require("./ProjectInclude.js"), exports);
|
|
155
|
+
__exportStar(require("./ProjectMatch.js"), exports);
|
|
156
|
+
__exportStar(require("./ProjectMatchInfo.js"), exports);
|
|
123
157
|
__exportStar(require("./ProjectResponse.js"), exports);
|
|
158
|
+
__exportStar(require("./ProjectSearchResult.js"), exports);
|
|
159
|
+
__exportStar(require("./ProjectSort.js"), exports);
|
|
124
160
|
__exportStar(require("./ProjectsWithIncludesResponse.js"), exports);
|
|
125
161
|
__exportStar(require("./ProjectUserRolesResponse.js"), exports);
|
|
126
162
|
__exportStar(require("./ProjectWithIncludes.js"), exports);
|
|
@@ -128,10 +164,16 @@ __exportStar(require("./ProjectWithIncludesResponse.js"), exports);
|
|
|
128
164
|
__exportStar(require("./RatingDefinition.js"), exports);
|
|
129
165
|
__exportStar(require("./RatingDefinitionParams.js"), exports);
|
|
130
166
|
__exportStar(require("./RatingDefinitionWithIncludes.js"), exports);
|
|
167
|
+
__exportStar(require("./RatingMatch.js"), exports);
|
|
131
168
|
__exportStar(require("./RemoveAssetResponse.js"), exports);
|
|
132
169
|
__exportStar(require("./RenditionMediaLink.js"), exports);
|
|
133
170
|
__exportStar(require("./RequestAfterOpaqueCursor.js"), exports);
|
|
134
171
|
__exportStar(require("./RequestPageSize.js"), exports);
|
|
172
|
+
__exportStar(require("./ResolutionHeightMatch.js"), exports);
|
|
173
|
+
__exportStar(require("./ResolutionWidthMatch.js"), exports);
|
|
174
|
+
__exportStar(require("./ReviewersSort.js"), exports);
|
|
175
|
+
__exportStar(require("./SearchMatch.js"), exports);
|
|
176
|
+
__exportStar(require("./SearchResponse.js"), exports);
|
|
135
177
|
__exportStar(require("./SelectDefinition.js"), exports);
|
|
136
178
|
__exportStar(require("./SelectDefinitionParams.js"), exports);
|
|
137
179
|
__exportStar(require("./SelectDefinitionWithIncludes.js"), exports);
|
|
@@ -143,8 +185,11 @@ __exportStar(require("./SelectValue.js"), exports);
|
|
|
143
185
|
__exportStar(require("./Share.js"), exports);
|
|
144
186
|
__exportStar(require("./ShareResponse.js"), exports);
|
|
145
187
|
__exportStar(require("./ShareReviewersResponse.js"), exports);
|
|
188
|
+
__exportStar(require("./ShareSort.js"), exports);
|
|
146
189
|
__exportStar(require("./SharesResponse.js"), exports);
|
|
147
190
|
__exportStar(require("./SingleUserValue.js"), exports);
|
|
191
|
+
__exportStar(require("./SourceFilenameMatch.js"), exports);
|
|
192
|
+
__exportStar(require("./StatusMatch.js"), exports);
|
|
148
193
|
__exportStar(require("./SyncGroupWithIncludes.js"), exports);
|
|
149
194
|
__exportStar(require("./TextDefinition.js"), exports);
|
|
150
195
|
__exportStar(require("./TextDefinitionParams.js"), exports);
|
|
@@ -158,9 +203,11 @@ __exportStar(require("./ToggleDefinition.js"), exports);
|
|
|
158
203
|
__exportStar(require("./ToggleDefinitionParams.js"), exports);
|
|
159
204
|
__exportStar(require("./ToggleDefinitionWithIncludes.js"), exports);
|
|
160
205
|
__exportStar(require("./TooManyRequests.js"), exports);
|
|
206
|
+
__exportStar(require("./TranscriptionMatch.js"), exports);
|
|
161
207
|
__exportStar(require("./Unauthorized.js"), exports);
|
|
162
208
|
__exportStar(require("./UnprocessableContent.js"), exports);
|
|
163
209
|
__exportStar(require("./UpdateDateDefinitionParams.js"), exports);
|
|
210
|
+
__exportStar(require("./UpdatedAtMatch.js"), exports);
|
|
164
211
|
__exportStar(require("./UpdateLongTextDefinitionParams.js"), exports);
|
|
165
212
|
__exportStar(require("./UpdateNumberDefinitionParams.js"), exports);
|
|
166
213
|
__exportStar(require("./UpdateRatingDefinitionParams.js"), exports);
|
|
@@ -172,12 +219,16 @@ __exportStar(require("./UpdateUserMultiDefinitionParams.js"), exports);
|
|
|
172
219
|
__exportStar(require("./UpdateUserRolesParams.js"), exports);
|
|
173
220
|
__exportStar(require("./UpdateUserRolesResponse.js"), exports);
|
|
174
221
|
__exportStar(require("./UpdateUserSingleDefinitionParams.js"), exports);
|
|
222
|
+
__exportStar(require("./UpdateWorkspaceRoleResponse.js"), exports);
|
|
223
|
+
__exportStar(require("./UploadedAtMatch.js"), exports);
|
|
175
224
|
__exportStar(require("./UploadUrl.js"), exports);
|
|
176
225
|
__exportStar(require("./User.js"), exports);
|
|
177
226
|
__exportStar(require("./UserMultiDefinition.js"), exports);
|
|
178
227
|
__exportStar(require("./UserMultiDefinitionParams.js"), exports);
|
|
179
228
|
__exportStar(require("./UserMultiDefinitionWithIncludes.js"), exports);
|
|
180
229
|
__exportStar(require("./UserRole.js"), exports);
|
|
230
|
+
__exportStar(require("./UserRoleSort.js"), exports);
|
|
231
|
+
__exportStar(require("./UserRolesResponse.js"), exports);
|
|
181
232
|
__exportStar(require("./UserSingleDefinition.js"), exports);
|
|
182
233
|
__exportStar(require("./UserSingleDefinitionParams.js"), exports);
|
|
183
234
|
__exportStar(require("./UserSingleDefinitionWithIncludes.js"), exports);
|
|
@@ -190,6 +241,8 @@ __exportStar(require("./VersionStackResponse.js"), exports);
|
|
|
190
241
|
__exportStar(require("./VersionStacksWithIncludesResponse.js"), exports);
|
|
191
242
|
__exportStar(require("./VersionStackWithIncludes.js"), exports);
|
|
192
243
|
__exportStar(require("./VersionStackWithIncludesResponse.js"), exports);
|
|
244
|
+
__exportStar(require("./VisualMatch.js"), exports);
|
|
245
|
+
__exportStar(require("./VisualMatchClip.js"), exports);
|
|
193
246
|
__exportStar(require("./Webhook.js"), exports);
|
|
194
247
|
__exportStar(require("./WebhookCreateResponse.js"), exports);
|
|
195
248
|
__exportStar(require("./WebhookEvents.js"), exports);
|
|
@@ -201,7 +254,10 @@ __exportStar(require("./Workspace.js"), exports);
|
|
|
201
254
|
__exportStar(require("./WorkspaceInclude.js"), exports);
|
|
202
255
|
__exportStar(require("./WorkspaceParams.js"), exports);
|
|
203
256
|
__exportStar(require("./WorkspaceResponse.js"), exports);
|
|
257
|
+
__exportStar(require("./WorkspaceRole.js"), exports);
|
|
258
|
+
__exportStar(require("./WorkspaceSort.js"), exports);
|
|
204
259
|
__exportStar(require("./WorkspacesWithIncludesResponse.js"), exports);
|
|
260
|
+
__exportStar(require("./WorkspaceUserRole.js"), exports);
|
|
205
261
|
__exportStar(require("./WorkspaceUserRolesResponse.js"), exports);
|
|
206
262
|
__exportStar(require("./WorkspaceWithIncludes.js"), exports);
|
|
207
263
|
__exportStar(require("./WorkspaceWithIncludesResponse.js"), exports);
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Also consolidates shared constructor options and initialization logic.
|
|
8
8
|
*/
|
|
9
|
-
import type { Logger } from "./logger";
|
|
10
|
-
import { TokenManager, type ExportedTokens, type OnTokenRefreshed, type TokenResponse } from "./TokenManager";
|
|
9
|
+
import type { Logger } from "./logger.js";
|
|
10
|
+
import { TokenManager, type ExportedTokens, type OnTokenRefreshed, type TokenResponse } from "./TokenManager.js";
|
|
11
11
|
/** Default fallback when Adobe IMS doesn't return expires_in. */
|
|
12
12
|
export declare const DEFAULT_EXPIRES_IN = 86400;
|
|
13
13
|
/** Options shared by all auth flow constructors. */
|
|
@@ -18,29 +18,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.BaseAuth = exports.DEFAULT_EXPIRES_IN = void 0;
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
21
|
+
const http_js_1 = require("./http.js");
|
|
22
|
+
const errors_js_1 = require("./errors.js");
|
|
23
|
+
const logger_js_1 = require("./logger.js");
|
|
24
|
+
const TokenManager_js_1 = require("./TokenManager.js");
|
|
25
25
|
/** Default fallback when Adobe IMS doesn't return expires_in. */
|
|
26
26
|
exports.DEFAULT_EXPIRES_IN = 86400;
|
|
27
27
|
class BaseAuth {
|
|
28
28
|
constructor(options, clientSecret) {
|
|
29
29
|
var _a, _b, _c, _d;
|
|
30
30
|
if (!options.clientId) {
|
|
31
|
-
throw new
|
|
31
|
+
throw new errors_js_1.ConfigurationError("clientId is required");
|
|
32
32
|
}
|
|
33
33
|
this._clientId = options.clientId;
|
|
34
34
|
this._clientSecret = clientSecret;
|
|
35
|
-
this._timeout = (_a = options.timeout) !== null && _a !== void 0 ? _a :
|
|
36
|
-
this._maxRetries = (_b = options.maxRetries) !== null && _b !== void 0 ? _b :
|
|
37
|
-
this._logger = (_c = options.logger) !== null && _c !== void 0 ? _c :
|
|
35
|
+
this._timeout = (_a = options.timeout) !== null && _a !== void 0 ? _a : http_js_1.DEFAULT_TIMEOUT;
|
|
36
|
+
this._maxRetries = (_b = options.maxRetries) !== null && _b !== void 0 ? _b : http_js_1.DEFAULT_MAX_RETRIES;
|
|
37
|
+
this._logger = (_c = options.logger) !== null && _c !== void 0 ? _c : logger_js_1.noopLogger;
|
|
38
38
|
this._fetch = options.fetch;
|
|
39
|
-
const urls = (0,
|
|
39
|
+
const urls = (0, http_js_1.buildImsUrls)((_d = options.imsBaseUrl) !== null && _d !== void 0 ? _d : http_js_1.DEFAULT_IMS_BASE_URL);
|
|
40
40
|
this._authorizeUrl = urls.authorizeUrl;
|
|
41
41
|
this._tokenUrl = urls.tokenUrl;
|
|
42
42
|
this._revokeUrl = urls.revokeUrl;
|
|
43
|
-
this._tokenManager = new
|
|
43
|
+
this._tokenManager = new TokenManager_js_1.TokenManager({
|
|
44
44
|
refreshFunc: () => this._refresh(),
|
|
45
45
|
refreshBuffer: options.refreshBuffer,
|
|
46
46
|
onTokenRefreshed: options.onTokenRefreshed,
|
|
@@ -74,10 +74,10 @@ class BaseAuth {
|
|
|
74
74
|
const refreshToken = this._tokenManager.refreshTokenValue;
|
|
75
75
|
const revocations = [];
|
|
76
76
|
if (accessToken) {
|
|
77
|
-
revocations.push((0,
|
|
77
|
+
revocations.push((0, http_js_1.revokeRequest)(accessToken, this._clientId, this._clientSecret, revokeOpts));
|
|
78
78
|
}
|
|
79
79
|
if (refreshToken) {
|
|
80
|
-
revocations.push((0,
|
|
80
|
+
revocations.push((0, http_js_1.revokeRequest)(refreshToken, this._clientId, this._clientSecret, revokeOpts));
|
|
81
81
|
}
|
|
82
82
|
yield Promise.all(revocations);
|
|
83
83
|
this._tokenManager.clear();
|
|
@@ -101,7 +101,7 @@ class BaseAuth {
|
|
|
101
101
|
}
|
|
102
102
|
/** Send a token request with the shared options. */
|
|
103
103
|
_tokenRequest(data) {
|
|
104
|
-
return (0,
|
|
104
|
+
return (0, http_js_1.tokenRequest)(data, {
|
|
105
105
|
timeout: this._timeout,
|
|
106
106
|
maxRetries: this._maxRetries,
|
|
107
107
|
logger: this._logger,
|