frameio 4.1.1 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +15 -0
- package/dist/cjs/Client.js +51 -26
- 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 +145 -0
- package/dist/cjs/api/resources/customActions/client/Client.js +443 -0
- package/dist/cjs/api/resources/customActions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customActions/client/index.js +17 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.d.ts +31 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionCreateParams.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.d.ts +35 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionUpdateParams.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.d.ts +21 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsIndexRequest.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customActions/client/requests/ActionsShowRequest.js +3 -0
- package/dist/cjs/api/resources/customActions/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/customActions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customActions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customActions/exports.js +21 -0
- package/dist/cjs/api/resources/customActions/index.d.ts +1 -0
- package/dist/cjs/api/resources/customActions/index.js +17 -0
- package/dist/cjs/api/resources/files/client/Client.d.ts +34 -34
- package/dist/cjs/api/resources/files/client/Client.js +23 -23
- 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 +116 -0
- package/dist/cjs/api/resources/groups/client/Client.js +368 -0
- package/dist/cjs/api/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/groups/client/index.js +17 -0
- package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.d.ts +20 -0
- package/dist/cjs/api/resources/groups/client/requests/CreateGroupParams.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.d.ts +24 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsIndexRequest.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.d.ts +9 -0
- package/dist/cjs/api/resources/groups/client/requests/GroupsShowRequest.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.d.ts +20 -0
- package/dist/cjs/api/resources/groups/client/requests/UpdateGroupParams.js +3 -0
- package/dist/cjs/api/resources/groups/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/groups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/groups/exports.d.ts +2 -0
- package/dist/cjs/api/resources/groups/exports.js +21 -0
- package/dist/cjs/api/resources/groups/index.d.ts +2 -0
- package/dist/cjs/api/resources/groups/index.js +18 -0
- package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.d.ts +10 -0
- package/dist/cjs/api/resources/groups/types/GroupsIndexRequestSort.js +13 -0
- package/dist/cjs/api/resources/groups/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/groups/types/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +17 -0
- package/dist/cjs/api/resources/index.js +18 -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/Action.d.ts +25 -0
- package/dist/cjs/api/types/Action.js +3 -0
- package/dist/cjs/api/types/ActionCreateResponse.d.ts +13 -0
- package/dist/cjs/api/types/ActionCreateResponse.js +3 -0
- package/dist/cjs/api/types/ActionInclude.d.ts +4 -0
- package/dist/cjs/api/types/ActionInclude.js +3 -0
- package/dist/cjs/api/types/ActionResponse.d.ts +7 -0
- package/dist/cjs/api/types/ActionResponse.js +3 -0
- package/dist/cjs/api/types/ActionWithIncludes.d.ts +4 -0
- package/dist/cjs/api/types/ActionWithIncludes.js +3 -0
- package/dist/cjs/api/types/ActionWithIncludesResponse.d.ts +7 -0
- package/dist/cjs/api/types/ActionWithIncludesResponse.js +3 -0
- package/dist/cjs/api/types/ActionsWithIncludesResponse.d.ts +11 -0
- package/dist/cjs/api/types/ActionsWithIncludesResponse.js +3 -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 +5 -0
- package/dist/cjs/api/types/AuditLogwithIncludes.js +5 -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 +5 -0
- package/dist/cjs/api/types/Filters.js +5 -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/GroupCommon.d.ts +16 -0
- package/dist/cjs/api/types/GroupCommon.js +3 -0
- package/dist/cjs/api/types/GroupCommonWithIncludes.d.ts +4 -0
- package/dist/cjs/api/types/GroupCommonWithIncludes.js +3 -0
- package/dist/cjs/api/types/GroupResponse.d.ts +4 -0
- package/dist/cjs/api/types/GroupResponse.js +3 -0
- package/dist/cjs/api/types/GroupWithIncludes.d.ts +13 -0
- package/dist/cjs/api/types/GroupWithIncludes.js +3 -0
- package/dist/cjs/api/types/GroupWithIncludesResponse.d.ts +4 -0
- package/dist/cjs/api/types/GroupWithIncludesResponse.js +3 -0
- package/dist/cjs/api/types/GroupsInclude.d.ts +4 -0
- package/dist/cjs/api/types/GroupsInclude.js +3 -0
- package/dist/cjs/api/types/GroupsSort.d.ts +10 -0
- package/dist/cjs/api/types/GroupsSort.js +13 -0
- package/dist/cjs/api/types/GroupsWithIncludesResponse.d.ts +8 -0
- package/dist/cjs/api/types/GroupsWithIncludesResponse.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/SingleUserValue.d.ts +1 -1
- 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/SyncGroupWithIncludes.d.ts +15 -0
- package/dist/cjs/api/types/SyncGroupWithIncludes.js +14 -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 +72 -0
- package/dist/cjs/api/types/index.js +72 -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 +15 -0
- package/dist/esm/Client.mjs +25 -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 +145 -0
- package/dist/esm/api/resources/customActions/client/Client.mjs +406 -0
- package/dist/esm/api/resources/customActions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customActions/client/index.mjs +1 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.d.mts +31 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionCreateParams.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.d.mts +35 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionUpdateParams.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.d.mts +21 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsIndexRequest.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.d.mts +9 -0
- package/dist/esm/api/resources/customActions/client/requests/ActionsShowRequest.mjs +2 -0
- package/dist/esm/api/resources/customActions/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/customActions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customActions/exports.d.mts +2 -0
- package/dist/esm/api/resources/customActions/exports.mjs +3 -0
- package/dist/esm/api/resources/customActions/index.d.mts +1 -0
- package/dist/esm/api/resources/customActions/index.mjs +1 -0
- package/dist/esm/api/resources/files/client/Client.d.mts +34 -34
- package/dist/esm/api/resources/files/client/Client.mjs +23 -23
- 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 +116 -0
- package/dist/esm/api/resources/groups/client/Client.mjs +331 -0
- package/dist/esm/api/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/api/resources/groups/client/index.mjs +1 -0
- package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.d.mts +20 -0
- package/dist/esm/api/resources/groups/client/requests/CreateGroupParams.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.d.mts +24 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsIndexRequest.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.d.mts +9 -0
- package/dist/esm/api/resources/groups/client/requests/GroupsShowRequest.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.d.mts +20 -0
- package/dist/esm/api/resources/groups/client/requests/UpdateGroupParams.mjs +2 -0
- package/dist/esm/api/resources/groups/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/groups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/groups/exports.d.mts +2 -0
- package/dist/esm/api/resources/groups/exports.mjs +3 -0
- package/dist/esm/api/resources/groups/index.d.mts +2 -0
- package/dist/esm/api/resources/groups/index.mjs +2 -0
- package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.d.mts +10 -0
- package/dist/esm/api/resources/groups/types/GroupsIndexRequestSort.mjs +10 -0
- package/dist/esm/api/resources/groups/types/index.d.mts +1 -0
- package/dist/esm/api/resources/groups/types/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +17 -0
- package/dist/esm/api/resources/index.mjs +17 -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/Action.d.mts +25 -0
- package/dist/esm/api/types/Action.mjs +2 -0
- package/dist/esm/api/types/ActionCreateResponse.d.mts +13 -0
- package/dist/esm/api/types/ActionCreateResponse.mjs +2 -0
- package/dist/esm/api/types/ActionInclude.d.mts +4 -0
- package/dist/esm/api/types/ActionInclude.mjs +2 -0
- package/dist/esm/api/types/ActionResponse.d.mts +7 -0
- package/dist/esm/api/types/ActionResponse.mjs +2 -0
- package/dist/esm/api/types/ActionWithIncludes.d.mts +4 -0
- package/dist/esm/api/types/ActionWithIncludes.mjs +2 -0
- package/dist/esm/api/types/ActionWithIncludesResponse.d.mts +7 -0
- package/dist/esm/api/types/ActionWithIncludesResponse.mjs +2 -0
- package/dist/esm/api/types/ActionsWithIncludesResponse.d.mts +11 -0
- package/dist/esm/api/types/ActionsWithIncludesResponse.mjs +2 -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 +5 -0
- package/dist/esm/api/types/AuditLogwithIncludes.mjs +5 -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 +5 -0
- package/dist/esm/api/types/Filters.mjs +5 -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/GroupCommon.d.mts +16 -0
- package/dist/esm/api/types/GroupCommon.mjs +2 -0
- package/dist/esm/api/types/GroupCommonWithIncludes.d.mts +4 -0
- package/dist/esm/api/types/GroupCommonWithIncludes.mjs +2 -0
- package/dist/esm/api/types/GroupResponse.d.mts +4 -0
- package/dist/esm/api/types/GroupResponse.mjs +2 -0
- package/dist/esm/api/types/GroupWithIncludes.d.mts +13 -0
- package/dist/esm/api/types/GroupWithIncludes.mjs +2 -0
- package/dist/esm/api/types/GroupWithIncludesResponse.d.mts +4 -0
- package/dist/esm/api/types/GroupWithIncludesResponse.mjs +2 -0
- package/dist/esm/api/types/GroupsInclude.d.mts +4 -0
- package/dist/esm/api/types/GroupsInclude.mjs +2 -0
- package/dist/esm/api/types/GroupsSort.d.mts +10 -0
- package/dist/esm/api/types/GroupsSort.mjs +10 -0
- package/dist/esm/api/types/GroupsWithIncludesResponse.d.mts +8 -0
- package/dist/esm/api/types/GroupsWithIncludesResponse.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/SingleUserValue.d.mts +1 -1
- 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/SyncGroupWithIncludes.d.mts +15 -0
- package/dist/esm/api/types/SyncGroupWithIncludes.mjs +11 -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 +72 -0
- package/dist/esm/api/types/index.mjs +72 -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 +56 -1
- package/reference.md +2307 -1052
|
@@ -1,40 +1,68 @@
|
|
|
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";
|
|
7
|
+
export * from "./Action.js";
|
|
8
|
+
export * from "./ActionCreateResponse.js";
|
|
9
|
+
export * from "./ActionInclude.js";
|
|
10
|
+
export * from "./ActionResponse.js";
|
|
11
|
+
export * from "./ActionsWithIncludesResponse.js";
|
|
12
|
+
export * from "./ActionWithIncludes.js";
|
|
13
|
+
export * from "./ActionWithIncludesResponse.js";
|
|
5
14
|
export * from "./AddAssetResponse.js";
|
|
6
15
|
export * from "./Anchor.js";
|
|
7
16
|
export * from "./AssetCommon.js";
|
|
8
17
|
export * from "./AssetCommonWithIncludes.js";
|
|
9
18
|
export * from "./AssetInclude.js";
|
|
19
|
+
export * from "./AssetSearchResult.js";
|
|
10
20
|
export * from "./AssetShareParams.js";
|
|
11
21
|
export * from "./AssetWithIncludes.js";
|
|
22
|
+
export * from "./AssigneeMatch.js";
|
|
12
23
|
export * from "./AttachmentInput.js";
|
|
24
|
+
export * from "./AudioSampleRateMatch.js";
|
|
13
25
|
export * from "./AuditLogsInclude.js";
|
|
14
26
|
export * from "./AuditLogsWithIncludesResponse.js";
|
|
15
27
|
export * from "./AuditLogwithIncludes.js";
|
|
16
28
|
export * from "./BadRequest.js";
|
|
29
|
+
export * from "./BitDepthMatch.js";
|
|
30
|
+
export * from "./BitRateMatch.js";
|
|
17
31
|
export * from "./BooleanValue.js";
|
|
32
|
+
export * from "./ChannelsMatch.js";
|
|
18
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";
|
|
19
40
|
export * from "./Comment.js";
|
|
20
41
|
export * from "./CommentAttachment.js";
|
|
21
42
|
export * from "./CommentAttachmentResponse.js";
|
|
43
|
+
export * from "./CommentCountMatch.js";
|
|
22
44
|
export * from "./CommentInclude.js";
|
|
45
|
+
export * from "./CommentMatch.js";
|
|
23
46
|
export * from "./CommentResponse.js";
|
|
24
47
|
export * from "./CommentSort.js";
|
|
25
48
|
export * from "./CommentsWithIncludesResponse.js";
|
|
26
49
|
export * from "./CommentWithIncludes.js";
|
|
27
50
|
export * from "./CommentWithIncludesResponse.js";
|
|
28
51
|
export * from "./Conflict.js";
|
|
52
|
+
export * from "./CreatorMatch.js";
|
|
29
53
|
export * from "./DateDefinition.js";
|
|
30
54
|
export * from "./DateDefinitionParams.js";
|
|
31
55
|
export * from "./DateDefinitionWithIncludes.js";
|
|
32
56
|
export * from "./DateValue.js";
|
|
57
|
+
export * from "./DeletedAtMatch.js";
|
|
58
|
+
export * from "./DurationMatch.js";
|
|
59
|
+
export * from "./DynamicRangeMatch.js";
|
|
33
60
|
export * from "./Email.js";
|
|
34
61
|
export * from "./EmptyJson.js";
|
|
35
62
|
export * from "./FieldDefinition.js";
|
|
36
63
|
export * from "./FieldDefinitionInclude.js";
|
|
37
64
|
export * from "./FieldDefinitionResponse.js";
|
|
65
|
+
export * from "./FieldDefinitionSort.js";
|
|
38
66
|
export * from "./FieldDefinitionsWithIncludesResponse.js";
|
|
39
67
|
export * from "./FieldDefinitionWithIncludes.js";
|
|
40
68
|
export * from "./FieldValueCommon.js";
|
|
@@ -44,6 +72,8 @@ export * from "./FileCopyResponse.js";
|
|
|
44
72
|
export * from "./FileRemoteUploadResponse.js";
|
|
45
73
|
export * from "./FileResponse.js";
|
|
46
74
|
export * from "./FileSort.js";
|
|
75
|
+
export * from "./FilesizeMatch.js";
|
|
76
|
+
export * from "./FileTypeMatch.js";
|
|
47
77
|
export * from "./FileUploadStatus.js";
|
|
48
78
|
export * from "./FileUploadStatusResponse.js";
|
|
49
79
|
export * from "./FileWithIncludes.js";
|
|
@@ -60,10 +90,24 @@ export * from "./FoldersWithIncludesResponse.js";
|
|
|
60
90
|
export * from "./FolderWithIncludes.js";
|
|
61
91
|
export * from "./FolderWithIncludesResponse.js";
|
|
62
92
|
export * from "./Forbidden.js";
|
|
93
|
+
export * from "./FormatMatch.js";
|
|
94
|
+
export * from "./FrameOrAdobeId.js";
|
|
95
|
+
export * from "./FrameRateMatch.js";
|
|
96
|
+
export * from "./GroupCommon.js";
|
|
97
|
+
export * from "./GroupCommonWithIncludes.js";
|
|
98
|
+
export * from "./GroupResponse.js";
|
|
99
|
+
export * from "./GroupsInclude.js";
|
|
100
|
+
export * from "./GroupsSort.js";
|
|
101
|
+
export * from "./GroupsWithIncludesResponse.js";
|
|
102
|
+
export * from "./GroupWithIncludes.js";
|
|
103
|
+
export * from "./GroupWithIncludesResponse.js";
|
|
104
|
+
export * from "./HasAlphaChannelMatch.js";
|
|
63
105
|
export * from "./Include.js";
|
|
64
106
|
export * from "./IncludeTotalCount.js";
|
|
107
|
+
export * from "./InsertedAtMatch.js";
|
|
65
108
|
export * from "./IntegerValue.js";
|
|
66
109
|
export * from "./JsonErrorResponse.js";
|
|
110
|
+
export * from "./KeywordsMatch.js";
|
|
67
111
|
export * from "./Link.js";
|
|
68
112
|
export * from "./LinkParams.js";
|
|
69
113
|
export * from "./Links.js";
|
|
@@ -78,18 +122,25 @@ export * from "./MetadataResponse.js";
|
|
|
78
122
|
export * from "./MetadataWithDefinition.js";
|
|
79
123
|
export * from "./MultiSelectValue.js";
|
|
80
124
|
export * from "./MultiUserValue.js";
|
|
125
|
+
export * from "./NameMatch.js";
|
|
81
126
|
export * from "./NoContent.js";
|
|
127
|
+
export * from "./NotesMatch.js";
|
|
82
128
|
export * from "./NotFound.js";
|
|
83
129
|
export * from "./NumberDefinition.js";
|
|
84
130
|
export * from "./NumberDefinitionParams.js";
|
|
85
131
|
export * from "./NumberDefinitionWithIncludes.js";
|
|
86
132
|
export * from "./NumberValue.js";
|
|
87
133
|
export * from "./OriginalMediaLink.js";
|
|
134
|
+
export * from "./PageCountMatch.js";
|
|
88
135
|
export * from "./Profile.js";
|
|
89
136
|
export * from "./ProfileResponse.js";
|
|
90
137
|
export * from "./Project.js";
|
|
91
138
|
export * from "./ProjectInclude.js";
|
|
139
|
+
export * from "./ProjectMatch.js";
|
|
140
|
+
export * from "./ProjectMatchInfo.js";
|
|
92
141
|
export * from "./ProjectResponse.js";
|
|
142
|
+
export * from "./ProjectSearchResult.js";
|
|
143
|
+
export * from "./ProjectSort.js";
|
|
93
144
|
export * from "./ProjectsWithIncludesResponse.js";
|
|
94
145
|
export * from "./ProjectUserRolesResponse.js";
|
|
95
146
|
export * from "./ProjectWithIncludes.js";
|
|
@@ -97,10 +148,16 @@ export * from "./ProjectWithIncludesResponse.js";
|
|
|
97
148
|
export * from "./RatingDefinition.js";
|
|
98
149
|
export * from "./RatingDefinitionParams.js";
|
|
99
150
|
export * from "./RatingDefinitionWithIncludes.js";
|
|
151
|
+
export * from "./RatingMatch.js";
|
|
100
152
|
export * from "./RemoveAssetResponse.js";
|
|
101
153
|
export * from "./RenditionMediaLink.js";
|
|
102
154
|
export * from "./RequestAfterOpaqueCursor.js";
|
|
103
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";
|
|
104
161
|
export * from "./SelectDefinition.js";
|
|
105
162
|
export * from "./SelectDefinitionParams.js";
|
|
106
163
|
export * from "./SelectDefinitionWithIncludes.js";
|
|
@@ -112,8 +169,12 @@ export * from "./SelectValue.js";
|
|
|
112
169
|
export * from "./Share.js";
|
|
113
170
|
export * from "./ShareResponse.js";
|
|
114
171
|
export * from "./ShareReviewersResponse.js";
|
|
172
|
+
export * from "./ShareSort.js";
|
|
115
173
|
export * from "./SharesResponse.js";
|
|
116
174
|
export * from "./SingleUserValue.js";
|
|
175
|
+
export * from "./SourceFilenameMatch.js";
|
|
176
|
+
export * from "./StatusMatch.js";
|
|
177
|
+
export * from "./SyncGroupWithIncludes.js";
|
|
117
178
|
export * from "./TextDefinition.js";
|
|
118
179
|
export * from "./TextDefinitionParams.js";
|
|
119
180
|
export * from "./TextDefinitionWithIncludes.js";
|
|
@@ -126,9 +187,11 @@ export * from "./ToggleDefinition.js";
|
|
|
126
187
|
export * from "./ToggleDefinitionParams.js";
|
|
127
188
|
export * from "./ToggleDefinitionWithIncludes.js";
|
|
128
189
|
export * from "./TooManyRequests.js";
|
|
190
|
+
export * from "./TranscriptionMatch.js";
|
|
129
191
|
export * from "./Unauthorized.js";
|
|
130
192
|
export * from "./UnprocessableContent.js";
|
|
131
193
|
export * from "./UpdateDateDefinitionParams.js";
|
|
194
|
+
export * from "./UpdatedAtMatch.js";
|
|
132
195
|
export * from "./UpdateLongTextDefinitionParams.js";
|
|
133
196
|
export * from "./UpdateNumberDefinitionParams.js";
|
|
134
197
|
export * from "./UpdateRatingDefinitionParams.js";
|
|
@@ -140,12 +203,16 @@ export * from "./UpdateUserMultiDefinitionParams.js";
|
|
|
140
203
|
export * from "./UpdateUserRolesParams.js";
|
|
141
204
|
export * from "./UpdateUserRolesResponse.js";
|
|
142
205
|
export * from "./UpdateUserSingleDefinitionParams.js";
|
|
206
|
+
export * from "./UpdateWorkspaceRoleResponse.js";
|
|
207
|
+
export * from "./UploadedAtMatch.js";
|
|
143
208
|
export * from "./UploadUrl.js";
|
|
144
209
|
export * from "./User.js";
|
|
145
210
|
export * from "./UserMultiDefinition.js";
|
|
146
211
|
export * from "./UserMultiDefinitionParams.js";
|
|
147
212
|
export * from "./UserMultiDefinitionWithIncludes.js";
|
|
148
213
|
export * from "./UserRole.js";
|
|
214
|
+
export * from "./UserRoleSort.js";
|
|
215
|
+
export * from "./UserRolesResponse.js";
|
|
149
216
|
export * from "./UserSingleDefinition.js";
|
|
150
217
|
export * from "./UserSingleDefinitionParams.js";
|
|
151
218
|
export * from "./UserSingleDefinitionWithIncludes.js";
|
|
@@ -158,6 +225,8 @@ export * from "./VersionStackResponse.js";
|
|
|
158
225
|
export * from "./VersionStacksWithIncludesResponse.js";
|
|
159
226
|
export * from "./VersionStackWithIncludes.js";
|
|
160
227
|
export * from "./VersionStackWithIncludesResponse.js";
|
|
228
|
+
export * from "./VisualMatch.js";
|
|
229
|
+
export * from "./VisualMatchClip.js";
|
|
161
230
|
export * from "./Webhook.js";
|
|
162
231
|
export * from "./WebhookCreateResponse.js";
|
|
163
232
|
export * from "./WebhookEvents.js";
|
|
@@ -169,7 +238,10 @@ export * from "./Workspace.js";
|
|
|
169
238
|
export * from "./WorkspaceInclude.js";
|
|
170
239
|
export * from "./WorkspaceParams.js";
|
|
171
240
|
export * from "./WorkspaceResponse.js";
|
|
241
|
+
export * from "./WorkspaceRole.js";
|
|
242
|
+
export * from "./WorkspaceSort.js";
|
|
172
243
|
export * from "./WorkspacesWithIncludesResponse.js";
|
|
244
|
+
export * from "./WorkspaceUserRole.js";
|
|
173
245
|
export * from "./WorkspaceUserRolesResponse.js";
|
|
174
246
|
export * from "./WorkspaceWithIncludes.js";
|
|
175
247
|
export * from "./WorkspaceWithIncludesResponse.js";
|
|
@@ -15,42 +15,70 @@ 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);
|
|
23
|
+
__exportStar(require("./Action.js"), exports);
|
|
24
|
+
__exportStar(require("./ActionCreateResponse.js"), exports);
|
|
25
|
+
__exportStar(require("./ActionInclude.js"), exports);
|
|
26
|
+
__exportStar(require("./ActionResponse.js"), exports);
|
|
27
|
+
__exportStar(require("./ActionsWithIncludesResponse.js"), exports);
|
|
28
|
+
__exportStar(require("./ActionWithIncludes.js"), exports);
|
|
29
|
+
__exportStar(require("./ActionWithIncludesResponse.js"), exports);
|
|
21
30
|
__exportStar(require("./AddAssetResponse.js"), exports);
|
|
22
31
|
__exportStar(require("./Anchor.js"), exports);
|
|
23
32
|
__exportStar(require("./AssetCommon.js"), exports);
|
|
24
33
|
__exportStar(require("./AssetCommonWithIncludes.js"), exports);
|
|
25
34
|
__exportStar(require("./AssetInclude.js"), exports);
|
|
35
|
+
__exportStar(require("./AssetSearchResult.js"), exports);
|
|
26
36
|
__exportStar(require("./AssetShareParams.js"), exports);
|
|
27
37
|
__exportStar(require("./AssetWithIncludes.js"), exports);
|
|
38
|
+
__exportStar(require("./AssigneeMatch.js"), exports);
|
|
28
39
|
__exportStar(require("./AttachmentInput.js"), exports);
|
|
40
|
+
__exportStar(require("./AudioSampleRateMatch.js"), exports);
|
|
29
41
|
__exportStar(require("./AuditLogsInclude.js"), exports);
|
|
30
42
|
__exportStar(require("./AuditLogsWithIncludesResponse.js"), exports);
|
|
31
43
|
__exportStar(require("./AuditLogwithIncludes.js"), exports);
|
|
32
44
|
__exportStar(require("./BadRequest.js"), exports);
|
|
45
|
+
__exportStar(require("./BitDepthMatch.js"), exports);
|
|
46
|
+
__exportStar(require("./BitRateMatch.js"), exports);
|
|
33
47
|
__exportStar(require("./BooleanValue.js"), exports);
|
|
48
|
+
__exportStar(require("./ChannelsMatch.js"), exports);
|
|
34
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);
|
|
35
56
|
__exportStar(require("./Comment.js"), exports);
|
|
36
57
|
__exportStar(require("./CommentAttachment.js"), exports);
|
|
37
58
|
__exportStar(require("./CommentAttachmentResponse.js"), exports);
|
|
59
|
+
__exportStar(require("./CommentCountMatch.js"), exports);
|
|
38
60
|
__exportStar(require("./CommentInclude.js"), exports);
|
|
61
|
+
__exportStar(require("./CommentMatch.js"), exports);
|
|
39
62
|
__exportStar(require("./CommentResponse.js"), exports);
|
|
40
63
|
__exportStar(require("./CommentSort.js"), exports);
|
|
41
64
|
__exportStar(require("./CommentsWithIncludesResponse.js"), exports);
|
|
42
65
|
__exportStar(require("./CommentWithIncludes.js"), exports);
|
|
43
66
|
__exportStar(require("./CommentWithIncludesResponse.js"), exports);
|
|
44
67
|
__exportStar(require("./Conflict.js"), exports);
|
|
68
|
+
__exportStar(require("./CreatorMatch.js"), exports);
|
|
45
69
|
__exportStar(require("./DateDefinition.js"), exports);
|
|
46
70
|
__exportStar(require("./DateDefinitionParams.js"), exports);
|
|
47
71
|
__exportStar(require("./DateDefinitionWithIncludes.js"), exports);
|
|
48
72
|
__exportStar(require("./DateValue.js"), exports);
|
|
73
|
+
__exportStar(require("./DeletedAtMatch.js"), exports);
|
|
74
|
+
__exportStar(require("./DurationMatch.js"), exports);
|
|
75
|
+
__exportStar(require("./DynamicRangeMatch.js"), exports);
|
|
49
76
|
__exportStar(require("./Email.js"), exports);
|
|
50
77
|
__exportStar(require("./EmptyJson.js"), exports);
|
|
51
78
|
__exportStar(require("./FieldDefinition.js"), exports);
|
|
52
79
|
__exportStar(require("./FieldDefinitionInclude.js"), exports);
|
|
53
80
|
__exportStar(require("./FieldDefinitionResponse.js"), exports);
|
|
81
|
+
__exportStar(require("./FieldDefinitionSort.js"), exports);
|
|
54
82
|
__exportStar(require("./FieldDefinitionsWithIncludesResponse.js"), exports);
|
|
55
83
|
__exportStar(require("./FieldDefinitionWithIncludes.js"), exports);
|
|
56
84
|
__exportStar(require("./FieldValueCommon.js"), exports);
|
|
@@ -60,6 +88,8 @@ __exportStar(require("./FileCopyResponse.js"), exports);
|
|
|
60
88
|
__exportStar(require("./FileRemoteUploadResponse.js"), exports);
|
|
61
89
|
__exportStar(require("./FileResponse.js"), exports);
|
|
62
90
|
__exportStar(require("./FileSort.js"), exports);
|
|
91
|
+
__exportStar(require("./FilesizeMatch.js"), exports);
|
|
92
|
+
__exportStar(require("./FileTypeMatch.js"), exports);
|
|
63
93
|
__exportStar(require("./FileUploadStatus.js"), exports);
|
|
64
94
|
__exportStar(require("./FileUploadStatusResponse.js"), exports);
|
|
65
95
|
__exportStar(require("./FileWithIncludes.js"), exports);
|
|
@@ -76,10 +106,24 @@ __exportStar(require("./FoldersWithIncludesResponse.js"), exports);
|
|
|
76
106
|
__exportStar(require("./FolderWithIncludes.js"), exports);
|
|
77
107
|
__exportStar(require("./FolderWithIncludesResponse.js"), exports);
|
|
78
108
|
__exportStar(require("./Forbidden.js"), exports);
|
|
109
|
+
__exportStar(require("./FormatMatch.js"), exports);
|
|
110
|
+
__exportStar(require("./FrameOrAdobeId.js"), exports);
|
|
111
|
+
__exportStar(require("./FrameRateMatch.js"), exports);
|
|
112
|
+
__exportStar(require("./GroupCommon.js"), exports);
|
|
113
|
+
__exportStar(require("./GroupCommonWithIncludes.js"), exports);
|
|
114
|
+
__exportStar(require("./GroupResponse.js"), exports);
|
|
115
|
+
__exportStar(require("./GroupsInclude.js"), exports);
|
|
116
|
+
__exportStar(require("./GroupsSort.js"), exports);
|
|
117
|
+
__exportStar(require("./GroupsWithIncludesResponse.js"), exports);
|
|
118
|
+
__exportStar(require("./GroupWithIncludes.js"), exports);
|
|
119
|
+
__exportStar(require("./GroupWithIncludesResponse.js"), exports);
|
|
120
|
+
__exportStar(require("./HasAlphaChannelMatch.js"), exports);
|
|
79
121
|
__exportStar(require("./Include.js"), exports);
|
|
80
122
|
__exportStar(require("./IncludeTotalCount.js"), exports);
|
|
123
|
+
__exportStar(require("./InsertedAtMatch.js"), exports);
|
|
81
124
|
__exportStar(require("./IntegerValue.js"), exports);
|
|
82
125
|
__exportStar(require("./JsonErrorResponse.js"), exports);
|
|
126
|
+
__exportStar(require("./KeywordsMatch.js"), exports);
|
|
83
127
|
__exportStar(require("./Link.js"), exports);
|
|
84
128
|
__exportStar(require("./LinkParams.js"), exports);
|
|
85
129
|
__exportStar(require("./Links.js"), exports);
|
|
@@ -94,18 +138,25 @@ __exportStar(require("./MetadataResponse.js"), exports);
|
|
|
94
138
|
__exportStar(require("./MetadataWithDefinition.js"), exports);
|
|
95
139
|
__exportStar(require("./MultiSelectValue.js"), exports);
|
|
96
140
|
__exportStar(require("./MultiUserValue.js"), exports);
|
|
141
|
+
__exportStar(require("./NameMatch.js"), exports);
|
|
97
142
|
__exportStar(require("./NoContent.js"), exports);
|
|
143
|
+
__exportStar(require("./NotesMatch.js"), exports);
|
|
98
144
|
__exportStar(require("./NotFound.js"), exports);
|
|
99
145
|
__exportStar(require("./NumberDefinition.js"), exports);
|
|
100
146
|
__exportStar(require("./NumberDefinitionParams.js"), exports);
|
|
101
147
|
__exportStar(require("./NumberDefinitionWithIncludes.js"), exports);
|
|
102
148
|
__exportStar(require("./NumberValue.js"), exports);
|
|
103
149
|
__exportStar(require("./OriginalMediaLink.js"), exports);
|
|
150
|
+
__exportStar(require("./PageCountMatch.js"), exports);
|
|
104
151
|
__exportStar(require("./Profile.js"), exports);
|
|
105
152
|
__exportStar(require("./ProfileResponse.js"), exports);
|
|
106
153
|
__exportStar(require("./Project.js"), exports);
|
|
107
154
|
__exportStar(require("./ProjectInclude.js"), exports);
|
|
155
|
+
__exportStar(require("./ProjectMatch.js"), exports);
|
|
156
|
+
__exportStar(require("./ProjectMatchInfo.js"), exports);
|
|
108
157
|
__exportStar(require("./ProjectResponse.js"), exports);
|
|
158
|
+
__exportStar(require("./ProjectSearchResult.js"), exports);
|
|
159
|
+
__exportStar(require("./ProjectSort.js"), exports);
|
|
109
160
|
__exportStar(require("./ProjectsWithIncludesResponse.js"), exports);
|
|
110
161
|
__exportStar(require("./ProjectUserRolesResponse.js"), exports);
|
|
111
162
|
__exportStar(require("./ProjectWithIncludes.js"), exports);
|
|
@@ -113,10 +164,16 @@ __exportStar(require("./ProjectWithIncludesResponse.js"), exports);
|
|
|
113
164
|
__exportStar(require("./RatingDefinition.js"), exports);
|
|
114
165
|
__exportStar(require("./RatingDefinitionParams.js"), exports);
|
|
115
166
|
__exportStar(require("./RatingDefinitionWithIncludes.js"), exports);
|
|
167
|
+
__exportStar(require("./RatingMatch.js"), exports);
|
|
116
168
|
__exportStar(require("./RemoveAssetResponse.js"), exports);
|
|
117
169
|
__exportStar(require("./RenditionMediaLink.js"), exports);
|
|
118
170
|
__exportStar(require("./RequestAfterOpaqueCursor.js"), exports);
|
|
119
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);
|
|
120
177
|
__exportStar(require("./SelectDefinition.js"), exports);
|
|
121
178
|
__exportStar(require("./SelectDefinitionParams.js"), exports);
|
|
122
179
|
__exportStar(require("./SelectDefinitionWithIncludes.js"), exports);
|
|
@@ -128,8 +185,12 @@ __exportStar(require("./SelectValue.js"), exports);
|
|
|
128
185
|
__exportStar(require("./Share.js"), exports);
|
|
129
186
|
__exportStar(require("./ShareResponse.js"), exports);
|
|
130
187
|
__exportStar(require("./ShareReviewersResponse.js"), exports);
|
|
188
|
+
__exportStar(require("./ShareSort.js"), exports);
|
|
131
189
|
__exportStar(require("./SharesResponse.js"), exports);
|
|
132
190
|
__exportStar(require("./SingleUserValue.js"), exports);
|
|
191
|
+
__exportStar(require("./SourceFilenameMatch.js"), exports);
|
|
192
|
+
__exportStar(require("./StatusMatch.js"), exports);
|
|
193
|
+
__exportStar(require("./SyncGroupWithIncludes.js"), exports);
|
|
133
194
|
__exportStar(require("./TextDefinition.js"), exports);
|
|
134
195
|
__exportStar(require("./TextDefinitionParams.js"), exports);
|
|
135
196
|
__exportStar(require("./TextDefinitionWithIncludes.js"), exports);
|
|
@@ -142,9 +203,11 @@ __exportStar(require("./ToggleDefinition.js"), exports);
|
|
|
142
203
|
__exportStar(require("./ToggleDefinitionParams.js"), exports);
|
|
143
204
|
__exportStar(require("./ToggleDefinitionWithIncludes.js"), exports);
|
|
144
205
|
__exportStar(require("./TooManyRequests.js"), exports);
|
|
206
|
+
__exportStar(require("./TranscriptionMatch.js"), exports);
|
|
145
207
|
__exportStar(require("./Unauthorized.js"), exports);
|
|
146
208
|
__exportStar(require("./UnprocessableContent.js"), exports);
|
|
147
209
|
__exportStar(require("./UpdateDateDefinitionParams.js"), exports);
|
|
210
|
+
__exportStar(require("./UpdatedAtMatch.js"), exports);
|
|
148
211
|
__exportStar(require("./UpdateLongTextDefinitionParams.js"), exports);
|
|
149
212
|
__exportStar(require("./UpdateNumberDefinitionParams.js"), exports);
|
|
150
213
|
__exportStar(require("./UpdateRatingDefinitionParams.js"), exports);
|
|
@@ -156,12 +219,16 @@ __exportStar(require("./UpdateUserMultiDefinitionParams.js"), exports);
|
|
|
156
219
|
__exportStar(require("./UpdateUserRolesParams.js"), exports);
|
|
157
220
|
__exportStar(require("./UpdateUserRolesResponse.js"), exports);
|
|
158
221
|
__exportStar(require("./UpdateUserSingleDefinitionParams.js"), exports);
|
|
222
|
+
__exportStar(require("./UpdateWorkspaceRoleResponse.js"), exports);
|
|
223
|
+
__exportStar(require("./UploadedAtMatch.js"), exports);
|
|
159
224
|
__exportStar(require("./UploadUrl.js"), exports);
|
|
160
225
|
__exportStar(require("./User.js"), exports);
|
|
161
226
|
__exportStar(require("./UserMultiDefinition.js"), exports);
|
|
162
227
|
__exportStar(require("./UserMultiDefinitionParams.js"), exports);
|
|
163
228
|
__exportStar(require("./UserMultiDefinitionWithIncludes.js"), exports);
|
|
164
229
|
__exportStar(require("./UserRole.js"), exports);
|
|
230
|
+
__exportStar(require("./UserRoleSort.js"), exports);
|
|
231
|
+
__exportStar(require("./UserRolesResponse.js"), exports);
|
|
165
232
|
__exportStar(require("./UserSingleDefinition.js"), exports);
|
|
166
233
|
__exportStar(require("./UserSingleDefinitionParams.js"), exports);
|
|
167
234
|
__exportStar(require("./UserSingleDefinitionWithIncludes.js"), exports);
|
|
@@ -174,6 +241,8 @@ __exportStar(require("./VersionStackResponse.js"), exports);
|
|
|
174
241
|
__exportStar(require("./VersionStacksWithIncludesResponse.js"), exports);
|
|
175
242
|
__exportStar(require("./VersionStackWithIncludes.js"), exports);
|
|
176
243
|
__exportStar(require("./VersionStackWithIncludesResponse.js"), exports);
|
|
244
|
+
__exportStar(require("./VisualMatch.js"), exports);
|
|
245
|
+
__exportStar(require("./VisualMatchClip.js"), exports);
|
|
177
246
|
__exportStar(require("./Webhook.js"), exports);
|
|
178
247
|
__exportStar(require("./WebhookCreateResponse.js"), exports);
|
|
179
248
|
__exportStar(require("./WebhookEvents.js"), exports);
|
|
@@ -185,7 +254,10 @@ __exportStar(require("./Workspace.js"), exports);
|
|
|
185
254
|
__exportStar(require("./WorkspaceInclude.js"), exports);
|
|
186
255
|
__exportStar(require("./WorkspaceParams.js"), exports);
|
|
187
256
|
__exportStar(require("./WorkspaceResponse.js"), exports);
|
|
257
|
+
__exportStar(require("./WorkspaceRole.js"), exports);
|
|
258
|
+
__exportStar(require("./WorkspaceSort.js"), exports);
|
|
188
259
|
__exportStar(require("./WorkspacesWithIncludesResponse.js"), exports);
|
|
260
|
+
__exportStar(require("./WorkspaceUserRole.js"), exports);
|
|
189
261
|
__exportStar(require("./WorkspaceUserRolesResponse.js"), exports);
|
|
190
262
|
__exportStar(require("./WorkspaceWithIncludes.js"), exports);
|
|
191
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,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Use for desktop and mobile applications with custom URI schemes
|
|
5
5
|
* or loopback redirects.
|
|
6
6
|
*/
|
|
7
|
-
import { SPAAuth, type SPAAuthOptions } from "./SPAAuth";
|
|
7
|
+
import { SPAAuth, type SPAAuthOptions } from "./SPAAuth.js";
|
|
8
8
|
export type NativeAppAuthOptions = SPAAuthOptions;
|
|
9
9
|
/**
|
|
10
10
|
* Authenticate native (desktop / mobile) apps using PKCE.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.NativeAppAuth = void 0;
|
|
10
|
-
const
|
|
10
|
+
const SPAAuth_js_1 = require("./SPAAuth.js");
|
|
11
11
|
/**
|
|
12
12
|
* Authenticate native (desktop / mobile) apps using PKCE.
|
|
13
13
|
*
|
|
@@ -30,6 +30,6 @@ const SPAAuth_1 = require("./SPAAuth");
|
|
|
30
30
|
* const client = new FrameioClient({ token: () => auth.getToken() });
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
class NativeAppAuth extends
|
|
33
|
+
class NativeAppAuth extends SPAAuth_js_1.SPAAuth {
|
|
34
34
|
}
|
|
35
35
|
exports.NativeAppAuth = NativeAppAuth;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Use for browser-based apps that cannot store a client secret.
|
|
5
5
|
*/
|
|
6
|
-
import { BaseAuth, type BaseAuthOptions } from "./BaseAuth";
|
|
7
|
-
import type { TokenResponse } from "./TokenManager";
|
|
6
|
+
import { BaseAuth, type BaseAuthOptions } from "./BaseAuth.js";
|
|
7
|
+
import type { TokenResponse } from "./TokenManager.js";
|
|
8
8
|
/** Returned by `getAuthorizationUrl` — contains the URL and PKCE verifier. */
|
|
9
9
|
export interface AuthorizationUrlResult {
|
|
10
10
|
url: string;
|
|
@@ -15,21 +15,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.SPAAuth = void 0;
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
class SPAAuth extends
|
|
18
|
+
const BaseAuth_js_1 = require("./BaseAuth.js");
|
|
19
|
+
const errors_js_1 = require("./errors.js");
|
|
20
|
+
const http_js_1 = require("./http.js");
|
|
21
|
+
const pkce_js_1 = require("./pkce.js");
|
|
22
|
+
const validation_js_1 = require("./validation.js");
|
|
23
|
+
class SPAAuth extends BaseAuth_js_1.BaseAuth {
|
|
24
24
|
constructor(options) {
|
|
25
25
|
var _a;
|
|
26
26
|
if (!options.redirectUri) {
|
|
27
|
-
throw new
|
|
27
|
+
throw new errors_js_1.ConfigurationError("redirectUri is required");
|
|
28
28
|
}
|
|
29
|
-
(0,
|
|
29
|
+
(0, validation_js_1.validateRedirectUriScheme)(options.redirectUri);
|
|
30
30
|
super(options);
|
|
31
31
|
this._redirectUri = options.redirectUri;
|
|
32
|
-
this._scopes = (_a = options.scopes) !== null && _a !== void 0 ? _a :
|
|
32
|
+
this._scopes = (_a = options.scopes) !== null && _a !== void 0 ? _a : http_js_1.DEFAULT_SCOPES;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Build the Adobe IMS authorization URL with PKCE challenge.
|
|
@@ -38,8 +38,8 @@ class SPAAuth extends BaseAuth_1.BaseAuth {
|
|
|
38
38
|
*/
|
|
39
39
|
getAuthorizationUrl(options) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
const codeVerifier = (0,
|
|
42
|
-
const codeChallenge = yield (0,
|
|
41
|
+
const codeVerifier = (0, pkce_js_1.generateCodeVerifier)();
|
|
42
|
+
const codeChallenge = yield (0, pkce_js_1.generateCodeChallenge)(codeVerifier);
|
|
43
43
|
const params = new URLSearchParams({
|
|
44
44
|
client_id: this._clientId,
|
|
45
45
|
redirect_uri: this._redirectUri,
|
|
@@ -83,7 +83,7 @@ class SPAAuth extends BaseAuth_1.BaseAuth {
|
|
|
83
83
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
84
|
const refreshTok = this._tokenManager.refreshTokenValue;
|
|
85
85
|
if (!refreshTok) {
|
|
86
|
-
throw new
|
|
86
|
+
throw new errors_js_1.ConfigurationError("No refresh token available. Call exchangeCode() first.");
|
|
87
87
|
}
|
|
88
88
|
return this._tokenRequest({
|
|
89
89
|
grant_type: "refresh_token",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Use for backend services and scripts with no user interaction.
|
|
5
5
|
*/
|
|
6
|
-
import { BaseAuth, type BaseAuthOptions } from "./BaseAuth";
|
|
7
|
-
import type { TokenResponse } from "./TokenManager";
|
|
6
|
+
import { BaseAuth, type BaseAuthOptions } from "./BaseAuth.js";
|
|
7
|
+
import type { TokenResponse } from "./TokenManager.js";
|
|
8
8
|
export interface ServerToServerAuthOptions extends BaseAuthOptions {
|
|
9
9
|
clientSecret: string;
|
|
10
10
|
}
|
|
@@ -15,17 +15,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.ServerToServerAuth = void 0;
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
class ServerToServerAuth extends
|
|
18
|
+
const BaseAuth_js_1 = require("./BaseAuth.js");
|
|
19
|
+
const errors_js_1 = require("./errors.js");
|
|
20
|
+
const http_js_1 = require("./http.js");
|
|
21
|
+
class ServerToServerAuth extends BaseAuth_js_1.BaseAuth {
|
|
22
22
|
constructor(options) {
|
|
23
23
|
var _a;
|
|
24
24
|
if (!options.clientSecret) {
|
|
25
|
-
throw new
|
|
25
|
+
throw new errors_js_1.ConfigurationError("clientSecret is required");
|
|
26
26
|
}
|
|
27
27
|
super(options, options.clientSecret);
|
|
28
|
-
this._scopes = (_a = options.scopes) !== null && _a !== void 0 ? _a :
|
|
28
|
+
this._scopes = (_a = options.scopes) !== null && _a !== void 0 ? _a : http_js_1.S2S_SCOPES;
|
|
29
29
|
}
|
|
30
30
|
/** Explicitly fetch a new access token. */
|
|
31
31
|
authenticate() {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Stores access/refresh tokens, checks expiry with a configurable buffer,
|
|
5
5
|
* and coordinates async-safe automatic refresh.
|
|
6
6
|
*/
|
|
7
|
-
import type { Logger } from "./logger";
|
|
7
|
+
import type { Logger } from "./logger.js";
|
|
8
8
|
/** Shape returned by refresh functions and token endpoints. */
|
|
9
9
|
export interface TokenResponse {
|
|
10
10
|
access_token: string;
|