@cloudinary/apps-api 2.2605.56 → 2.2605.60
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/.openapi-generator/FILES +38 -0
- package/README.md +24 -2
- package/dist/apis/AssetManagementApi.d.ts +73 -8
- package/dist/apis/AssetManagementApi.js +189 -13
- package/dist/apis/ConsoleApi.d.ts +27 -5
- package/dist/apis/ConsoleApi.js +63 -9
- package/dist/apis/MediaApi.d.ts +9 -1
- package/dist/apis/MediaApi.js +25 -1
- package/dist/apis/PlatformApi.d.ts +27 -7
- package/dist/apis/PlatformApi.js +55 -13
- package/dist/apis/UploadApi.d.ts +3 -1
- package/dist/apis/UploadApi.js +7 -1
- package/dist/apis/UtilsApi.d.ts +13 -3
- package/dist/apis/UtilsApi.js +29 -5
- package/dist/esm/apis/AssetManagementApi.d.ts +73 -8
- package/dist/esm/apis/AssetManagementApi.js +190 -14
- package/dist/esm/apis/ConsoleApi.d.ts +27 -5
- package/dist/esm/apis/ConsoleApi.js +63 -9
- package/dist/esm/apis/MediaApi.d.ts +9 -1
- package/dist/esm/apis/MediaApi.js +25 -1
- package/dist/esm/apis/PlatformApi.d.ts +27 -7
- package/dist/esm/apis/PlatformApi.js +55 -13
- package/dist/esm/apis/UploadApi.d.ts +3 -1
- package/dist/esm/apis/UploadApi.js +7 -1
- package/dist/esm/apis/UtilsApi.d.ts +13 -3
- package/dist/esm/apis/UtilsApi.js +29 -5
- package/dist/esm/models/AddCollectionAssetsRequest.d.ts +1 -1
- package/dist/esm/models/AddCollectionAssetsRequest.js +1 -1
- package/dist/esm/models/AddCollectionAssetsResponse.d.ts +1 -1
- package/dist/esm/models/AddCollectionAssetsResponse.js +1 -1
- package/dist/esm/models/AddPortalCollectionsRequest.d.ts +1 -1
- package/dist/esm/models/AddPortalCollectionsRequest.js +1 -1
- package/dist/esm/models/Addon.d.ts +1 -1
- package/dist/esm/models/Addon.js +1 -1
- package/dist/esm/models/AddonSubscription.d.ts +1 -1
- package/dist/esm/models/AddonSubscription.js +1 -1
- package/dist/esm/models/AiVisionGeneralResponse.d.ts +1 -1
- package/dist/esm/models/AiVisionGeneralResponse.js +1 -1
- package/dist/esm/models/AnalyticsResponse.d.ts +1 -1
- package/dist/esm/models/AnalyticsResponse.js +1 -1
- package/dist/esm/models/AnalyzeAiVisionGeneralRequest.d.ts +1 -1
- package/dist/esm/models/AnalyzeAiVisionGeneralRequest.js +1 -1
- package/dist/esm/models/AnalyzeAiVisionGeneralRequestSource.d.ts +1 -1
- package/dist/esm/models/AnalyzeAiVisionGeneralRequestSource.js +1 -1
- package/dist/esm/models/AppStorageErrorResponse.d.ts +1 -1
- package/dist/esm/models/AppStorageErrorResponse.js +1 -1
- package/dist/esm/models/AppStorageGetResponse.d.ts +1 -1
- package/dist/esm/models/AppStorageGetResponse.js +1 -1
- package/dist/esm/models/AppStorageSetErrorResponse.d.ts +1 -1
- package/dist/esm/models/AppStorageSetErrorResponse.js +1 -1
- package/dist/esm/models/AppStorageSetResponse.d.ts +1 -1
- package/dist/esm/models/AppStorageSetResponse.js +1 -1
- package/dist/esm/models/Asset.d.ts +1 -1
- package/dist/esm/models/Asset.js +1 -1
- package/dist/esm/models/AssetHistoryResponse.d.ts +1 -1
- package/dist/esm/models/AssetHistoryResponse.js +1 -1
- package/dist/esm/models/AssetHistoryResponseAssetHistoryInner.d.ts +1 -1
- package/dist/esm/models/AssetHistoryResponseAssetHistoryInner.js +1 -1
- package/dist/esm/models/AssetLastDelivery.d.ts +1 -1
- package/dist/esm/models/AssetLastDelivery.js +1 -1
- package/dist/esm/models/AssetSearchResponse.d.ts +1 -1
- package/dist/esm/models/AssetSearchResponse.js +1 -1
- package/dist/esm/models/AuthCredentialsResponse.d.ts +1 -1
- package/dist/esm/models/AuthCredentialsResponse.js +1 -1
- package/dist/esm/models/AuthCustomer.d.ts +1 -1
- package/dist/esm/models/AuthCustomer.js +1 -1
- package/dist/esm/models/AuthUser.d.ts +1 -1
- package/dist/esm/models/AuthUser.js +1 -1
- package/dist/esm/models/AutocompleteAsset.d.ts +1 -1
- package/dist/esm/models/AutocompleteAsset.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomer.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomer.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomer.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomer.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerCdnConfigAttrs.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerCdnConfigAttrs.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerConfig.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerConfig.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerConfigFlagProbabilities.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerConfigFlagProbabilities.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerConfigHookTimeouts.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerConfigHookTimeouts.js +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerLimits.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetCustomerCustomerLimits.js +1 -1
- package/dist/esm/models/AutocompleteAssetFullProps.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetFullProps.js +1 -1
- package/dist/esm/models/AutocompleteAssetFullPropsCreatedBy.d.ts +1 -1
- package/dist/esm/models/AutocompleteAssetFullPropsCreatedBy.js +1 -1
- package/dist/esm/models/AutocompleteFolder.d.ts +1 -1
- package/dist/esm/models/AutocompleteFolder.js +1 -1
- package/dist/esm/models/AutocompleteResponse.d.ts +1 -1
- package/dist/esm/models/AutocompleteResponse.js +1 -1
- package/dist/esm/models/BackreferenceHistoryEntry.d.ts +1 -1
- package/dist/esm/models/BackreferenceHistoryEntry.js +1 -1
- package/dist/esm/models/BackreferenceResult.d.ts +1 -1
- package/dist/esm/models/BackreferenceResult.js +1 -1
- package/dist/esm/models/BackreferenceResultBackref.d.ts +1 -1
- package/dist/esm/models/BackreferenceResultBackref.js +1 -1
- package/dist/esm/models/CldtTemplate.d.ts +1 -1
- package/dist/esm/models/CldtTemplate.js +1 -1
- package/dist/esm/models/CldtTemplateCanvas.d.ts +1 -1
- package/dist/esm/models/CldtTemplateCanvas.js +1 -1
- package/dist/esm/models/CldtTemplateProvenance.d.ts +1 -1
- package/dist/esm/models/CldtTemplateProvenance.js +1 -1
- package/dist/esm/models/CldtTemplateVariable.d.ts +1 -1
- package/dist/esm/models/CldtTemplateVariable.js +1 -1
- package/dist/esm/models/Collection.d.ts +1 -1
- package/dist/esm/models/Collection.js +1 -1
- package/dist/esm/models/CollectionPermissions.d.ts +1 -1
- package/dist/esm/models/CollectionPermissions.js +1 -1
- package/dist/esm/models/ContextualMetadataField.d.ts +1 -1
- package/dist/esm/models/ContextualMetadataField.js +1 -1
- package/dist/esm/models/CreateAssetMetadataFieldRequest.d.ts +1 -1
- package/dist/esm/models/CreateAssetMetadataFieldRequest.js +1 -1
- package/dist/esm/models/CreateCollectionRequest.d.ts +1 -1
- package/dist/esm/models/CreateCollectionRequest.js +1 -1
- package/dist/esm/models/CreateCollectionResponse.d.ts +1 -1
- package/dist/esm/models/CreateCollectionResponse.js +1 -1
- package/dist/esm/models/CreateFolderRequest.d.ts +1 -1
- package/dist/esm/models/CreateFolderRequest.js +1 -1
- package/dist/esm/models/CreateFolderResponse.d.ts +1 -1
- package/dist/esm/models/CreateFolderResponse.js +1 -1
- package/dist/esm/models/CreateFolderResponseFolder.d.ts +1 -1
- package/dist/esm/models/CreateFolderResponseFolder.js +1 -1
- package/dist/esm/models/CreateFolderResponseFolderViewableParentsInner.d.ts +1 -1
- package/dist/esm/models/CreateFolderResponseFolderViewableParentsInner.js +1 -1
- package/dist/esm/models/CreateMetadataFieldResponse.d.ts +1 -1
- package/dist/esm/models/CreateMetadataFieldResponse.js +1 -1
- package/dist/esm/models/CreateNamespaceTokenRequest.d.ts +1 -1
- package/dist/esm/models/CreateNamespaceTokenRequest.js +1 -1
- package/dist/esm/models/CreatePortalRequest.d.ts +1 -1
- package/dist/esm/models/CreatePortalRequest.js +1 -1
- package/dist/esm/models/CreatePublicLinkRequest.d.ts +1 -1
- package/dist/esm/models/CreatePublicLinkRequest.js +1 -1
- package/dist/esm/models/CreateSavedSearchRequest.d.ts +1 -1
- package/dist/esm/models/CreateSavedSearchRequest.js +1 -1
- package/dist/esm/models/CreateSavedSearchRequestSharedWithInner.d.ts +1 -1
- package/dist/esm/models/CreateSavedSearchRequestSharedWithInner.js +1 -1
- package/dist/esm/models/Customer.d.ts +1 -1
- package/dist/esm/models/Customer.js +1 -1
- package/dist/esm/models/CustomerListMeta.d.ts +1 -1
- package/dist/esm/models/CustomerListMeta.js +1 -1
- package/dist/esm/models/CustomerUploadLimits.d.ts +1 -1
- package/dist/esm/models/CustomerUploadLimits.js +1 -1
- package/dist/esm/models/DamAppErrorResponse.d.ts +1 -1
- package/dist/esm/models/DamAppErrorResponse.js +1 -1
- package/dist/esm/models/DamAppResponse.d.ts +1 -1
- package/dist/esm/models/DamAppResponse.js +1 -1
- package/dist/esm/models/DamAppResponseAppMessageParamsValue.d.ts +1 -1
- package/dist/esm/models/DamAppResponseAppMessageParamsValue.js +1 -1
- package/dist/esm/models/DamAppResponseAppMessageParamsValueAnyOf.d.ts +1 -1
- package/dist/esm/models/DamAppResponseAppMessageParamsValueAnyOf.js +1 -1
- package/dist/esm/models/DamAppResponseAssetAmountLimit.d.ts +1 -1
- package/dist/esm/models/DamAppResponseAssetAmountLimit.js +1 -1
- package/dist/esm/models/DamAppUserSnapshot.d.ts +1 -1
- package/dist/esm/models/DamAppUserSnapshot.js +1 -1
- package/dist/esm/models/DashboardDataResponse.d.ts +1 -1
- package/dist/esm/models/DashboardDataResponse.js +1 -1
- package/dist/esm/models/DeleteFolderResponse.d.ts +1 -1
- package/dist/esm/models/DeleteFolderResponse.js +1 -1
- package/dist/esm/models/DeployApp200Response.d.ts +1 -1
- package/dist/esm/models/DeployApp200Response.js +1 -1
- package/dist/esm/models/DeployApp207Response.d.ts +1 -1
- package/dist/esm/models/DeployApp207Response.js +1 -1
- package/dist/esm/models/DeployApp400Response.d.ts +1 -1
- package/dist/esm/models/DeployApp400Response.js +1 -1
- package/dist/esm/models/DeployAppRequest.d.ts +1 -1
- package/dist/esm/models/DeployAppRequest.js +1 -1
- package/dist/esm/models/DownloadAssetRequest.d.ts +1 -1
- package/dist/esm/models/DownloadAssetRequest.js +1 -1
- package/dist/esm/models/DownloadAssetResponse.d.ts +1 -1
- package/dist/esm/models/DownloadAssetResponse.js +1 -1
- package/dist/esm/models/DownloadCollectionResponse.d.ts +1 -1
- package/dist/esm/models/DownloadCollectionResponse.js +1 -1
- package/dist/esm/models/ErrorResponse.d.ts +1 -1
- package/dist/esm/models/ErrorResponse.js +1 -1
- package/dist/esm/models/ErrorWithMessageResponse.d.ts +1 -1
- package/dist/esm/models/ErrorWithMessageResponse.js +1 -1
- package/dist/esm/models/FieldAggregation.d.ts +1 -1
- package/dist/esm/models/FieldAggregation.js +1 -1
- package/dist/esm/models/FieldAggregationBucketsInner.d.ts +1 -1
- package/dist/esm/models/FieldAggregationBucketsInner.js +1 -1
- package/dist/esm/models/FontDefinition.d.ts +1 -1
- package/dist/esm/models/FontDefinition.js +1 -1
- package/dist/esm/models/FontLookupResponse.d.ts +1 -1
- package/dist/esm/models/FontLookupResponse.js +1 -1
- package/dist/esm/models/FontLookupResponseFontsInner.d.ts +1 -1
- package/dist/esm/models/FontLookupResponseFontsInner.js +1 -1
- package/dist/esm/models/FontProvisioningResponse.d.ts +1 -1
- package/dist/esm/models/FontProvisioningResponse.js +1 -1
- package/dist/esm/models/ForbiddenResponse.d.ts +1 -1
- package/dist/esm/models/ForbiddenResponse.js +1 -1
- package/dist/esm/models/GetAssetsLastDeliveryRequest.d.ts +1 -1
- package/dist/esm/models/GetAssetsLastDeliveryRequest.js +1 -1
- package/dist/esm/models/GoogleFontListingResponse.d.ts +1 -1
- package/dist/esm/models/GoogleFontListingResponse.js +1 -1
- package/dist/esm/models/LastDeliveryResponse.d.ts +1 -1
- package/dist/esm/models/LastDeliveryResponse.js +1 -1
- package/dist/esm/models/ListAddonsResponse.d.ts +1 -1
- package/dist/esm/models/ListAddonsResponse.js +1 -1
- package/dist/esm/models/ListAssetsByFolderResponse.d.ts +1 -1
- package/dist/esm/models/ListAssetsByFolderResponse.js +1 -1
- package/dist/esm/models/ListAssetsByFolderResponseMeta.d.ts +1 -1
- package/dist/esm/models/ListAssetsByFolderResponseMeta.js +1 -1
- package/dist/esm/models/ListBackreferencesResponse.d.ts +1 -1
- package/dist/esm/models/ListBackreferencesResponse.js +1 -1
- package/dist/esm/models/ListBackreferencesResponseBackrefsInner.d.ts +1 -1
- package/dist/esm/models/ListBackreferencesResponseBackrefsInner.js +1 -1
- package/dist/esm/models/ListCollectionsResponse.d.ts +1 -1
- package/dist/esm/models/ListCollectionsResponse.js +1 -1
- package/dist/esm/models/ListContextualMetadataFieldsResponse.d.ts +1 -1
- package/dist/esm/models/ListContextualMetadataFieldsResponse.js +1 -1
- package/dist/esm/models/ListCustomersResponse.d.ts +1 -1
- package/dist/esm/models/ListCustomersResponse.js +1 -1
- package/dist/esm/models/ListMetadataFieldsResponse.d.ts +1 -1
- package/dist/esm/models/ListMetadataFieldsResponse.js +1 -1
- package/dist/esm/models/ListPortalsResponse.d.ts +1 -1
- package/dist/esm/models/ListPortalsResponse.js +1 -1
- package/dist/esm/models/ListPublicLinksResponse.d.ts +1 -1
- package/dist/esm/models/ListPublicLinksResponse.js +1 -1
- package/dist/esm/models/ListSavedSearchesResponse.d.ts +1 -1
- package/dist/esm/models/ListSavedSearchesResponse.js +1 -1
- package/dist/esm/models/ListSubfoldersResponse.d.ts +1 -1
- package/dist/esm/models/ListSubfoldersResponse.js +1 -1
- package/dist/esm/models/ListSubfoldersResponseFoldersInner.d.ts +1 -1
- package/dist/esm/models/ListSubfoldersResponseFoldersInner.js +1 -1
- package/dist/esm/models/ListTransformationsResponse.d.ts +1 -1
- package/dist/esm/models/ListTransformationsResponse.js +1 -1
- package/dist/esm/models/ListUploadPresetsResponse.d.ts +41 -0
- package/dist/esm/models/ListUploadPresetsResponse.js +46 -0
- package/dist/esm/models/ListUsersResponse.d.ts +1 -1
- package/dist/esm/models/ListUsersResponse.js +1 -1
- package/dist/esm/models/LocationSegment.d.ts +1 -1
- package/dist/esm/models/LocationSegment.js +1 -1
- package/dist/esm/models/LookupFontRequest.d.ts +1 -1
- package/dist/esm/models/LookupFontRequest.js +1 -1
- package/dist/esm/models/LookupFontRequestFontsInner.d.ts +1 -1
- package/dist/esm/models/LookupFontRequestFontsInner.js +1 -1
- package/dist/esm/models/NamespaceTokenCreateErrorResponse.d.ts +1 -1
- package/dist/esm/models/NamespaceTokenCreateErrorResponse.js +1 -1
- package/dist/esm/models/NamespaceTokenCreateResponse.d.ts +1 -1
- package/dist/esm/models/NamespaceTokenCreateResponse.js +1 -1
- package/dist/esm/models/Portal.d.ts +1 -1
- package/dist/esm/models/Portal.js +1 -1
- package/dist/esm/models/PrepareUploadRequest.d.ts +1 -1
- package/dist/esm/models/PrepareUploadRequest.js +1 -1
- package/dist/esm/models/PrepareUploadRequestUploadParams.d.ts +1 -1
- package/dist/esm/models/PrepareUploadRequestUploadParams.js +1 -1
- package/dist/esm/models/PrepareUploadResponse.d.ts +1 -1
- package/dist/esm/models/PrepareUploadResponse.js +1 -1
- package/dist/esm/models/ProvisionFontRequest.d.ts +1 -1
- package/dist/esm/models/ProvisionFontRequest.js +1 -1
- package/dist/esm/models/PublicLink.d.ts +1 -1
- package/dist/esm/models/PublicLink.js +1 -1
- package/dist/esm/models/PublicLinkResponse.d.ts +1 -1
- package/dist/esm/models/PublicLinkResponse.js +1 -1
- package/dist/esm/models/RefreshTokenErrorResponse.d.ts +1 -1
- package/dist/esm/models/RefreshTokenErrorResponse.js +1 -1
- package/dist/esm/models/RefreshTokenResponse.d.ts +1 -1
- package/dist/esm/models/RefreshTokenResponse.js +1 -1
- package/dist/esm/models/RelatedAsset.d.ts +1 -1
- package/dist/esm/models/RelatedAsset.js +1 -1
- package/dist/esm/models/RelatedAssetsResponse.d.ts +1 -1
- package/dist/esm/models/RelatedAssetsResponse.js +1 -1
- package/dist/esm/models/RemoveCollectionAssetsRequest.d.ts +1 -1
- package/dist/esm/models/RemoveCollectionAssetsRequest.js +1 -1
- package/dist/esm/models/RemoveCollectionAssetsResponse.d.ts +1 -1
- package/dist/esm/models/RemoveCollectionAssetsResponse.js +1 -1
- package/dist/esm/models/RemovePortalCollectionsRequest.d.ts +1 -1
- package/dist/esm/models/RemovePortalCollectionsRequest.js +1 -1
- package/dist/esm/models/ResourceActor.d.ts +1 -1
- package/dist/esm/models/ResourceActor.js +1 -1
- package/dist/esm/models/SavedSearch.d.ts +1 -1
- package/dist/esm/models/SavedSearch.js +1 -1
- package/dist/esm/models/SavedSearchPermission.d.ts +1 -1
- package/dist/esm/models/SavedSearchPermission.js +1 -1
- package/dist/esm/models/SearchAsset.d.ts +1 -1
- package/dist/esm/models/SearchAsset.js +1 -1
- package/dist/esm/models/SearchCollectionsRequest.d.ts +1 -1
- package/dist/esm/models/SearchCollectionsRequest.js +1 -1
- package/dist/esm/models/SearchCollectionsResponse.d.ts +1 -1
- package/dist/esm/models/SearchCollectionsResponse.js +1 -1
- package/dist/esm/models/SetAppStorageValueRequest.d.ts +1 -1
- package/dist/esm/models/SetAppStorageValueRequest.js +1 -1
- package/dist/esm/models/SignAndUploadRequest.d.ts +1 -1
- package/dist/esm/models/SignAndUploadRequest.js +1 -1
- package/dist/esm/models/SignAndUploadRequest1.d.ts +1 -1
- package/dist/esm/models/SignAndUploadRequest1.js +1 -1
- package/dist/esm/models/SignAndUploadResponse.d.ts +1 -1
- package/dist/esm/models/SignAndUploadResponse.js +1 -1
- package/dist/esm/models/StructuredMetadataField.d.ts +1 -1
- package/dist/esm/models/StructuredMetadataField.js +1 -1
- package/dist/esm/models/TemplateResourceTuple.d.ts +1 -1
- package/dist/esm/models/TemplateResourceTuple.js +1 -1
- package/dist/esm/models/TemplateSearchResponse.d.ts +1 -1
- package/dist/esm/models/TemplateSearchResponse.js +1 -1
- package/dist/esm/models/ThumbnailsTokenResponse.d.ts +1 -1
- package/dist/esm/models/ThumbnailsTokenResponse.js +1 -1
- package/dist/esm/models/TrackAnalyticsEventRequest.d.ts +1 -1
- package/dist/esm/models/TrackAnalyticsEventRequest.js +1 -1
- package/dist/esm/models/Transformation.d.ts +1 -1
- package/dist/esm/models/Transformation.js +1 -1
- package/dist/esm/models/UpdateAppRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAppRequest.js +1 -1
- package/dist/esm/models/UpdateAssetBackreferencesRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAssetBackreferencesRequest.js +1 -1
- package/dist/esm/models/UpdateAssetMetadataRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAssetMetadataRequest.js +1 -1
- package/dist/esm/models/UpdateAssetMetadataRequestMetadataValue.d.ts +1 -1
- package/dist/esm/models/UpdateAssetMetadataRequestMetadataValue.js +1 -1
- package/dist/esm/models/UpdateAssetMetadataResponse.d.ts +1 -1
- package/dist/esm/models/UpdateAssetMetadataResponse.js +1 -1
- package/dist/esm/models/UpdateAssetTagsRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAssetTagsRequest.js +1 -1
- package/dist/esm/models/UpdateAssetTagsResponse.d.ts +1 -1
- package/dist/esm/models/UpdateAssetTagsResponse.js +1 -1
- package/dist/esm/models/UpdateBackreferencesResponse.d.ts +1 -1
- package/dist/esm/models/UpdateBackreferencesResponse.js +1 -1
- package/dist/esm/models/UpdateCollectionRequest.d.ts +1 -1
- package/dist/esm/models/UpdateCollectionRequest.js +1 -1
- package/dist/esm/models/UpdateCollectionResponse.d.ts +1 -1
- package/dist/esm/models/UpdateCollectionResponse.js +1 -1
- package/dist/esm/models/UpdatePortalRequest.d.ts +1 -1
- package/dist/esm/models/UpdatePortalRequest.js +1 -1
- package/dist/esm/models/UpdatePublicLinkRequest.d.ts +1 -1
- package/dist/esm/models/UpdatePublicLinkRequest.js +1 -1
- package/dist/esm/models/UpdateSavedSearchResponse.d.ts +1 -1
- package/dist/esm/models/UpdateSavedSearchResponse.js +1 -1
- package/dist/esm/models/UploadAssetRequest.d.ts +1 -1
- package/dist/esm/models/UploadAssetRequest.js +1 -1
- package/dist/esm/models/UploadAssetRequest1.d.ts +1 -1
- package/dist/esm/models/UploadAssetRequest1.js +1 -1
- package/dist/esm/models/UploadAssetResponse.d.ts +1 -1
- package/dist/esm/models/UploadAssetResponse.js +1 -1
- package/dist/esm/models/UploadPreset.d.ts +69 -0
- package/dist/esm/models/UploadPreset.js +54 -0
- package/dist/esm/models/UploadPresetSettings.d.ts +406 -0
- package/dist/esm/models/UploadPresetSettings.js +175 -0
- package/dist/esm/models/UploadPresetSettingsAccessControl.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsAccessControl.js +31 -0
- package/dist/esm/models/UploadPresetSettingsAccessControlAnyOfInner.d.ts +50 -0
- package/dist/esm/models/UploadPresetSettingsAccessControlAnyOfInner.js +49 -0
- package/dist/esm/models/UploadPresetSettingsAccessMode.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsAccessMode.js +31 -0
- package/dist/esm/models/UploadPresetSettingsAutoTagging.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsAutoTagging.js +31 -0
- package/dist/esm/models/UploadPresetSettingsAutoTranscription.d.ts +38 -0
- package/dist/esm/models/UploadPresetSettingsAutoTranscription.js +43 -0
- package/dist/esm/models/UploadPresetSettingsAutoTranscriptionAnyOf.d.ts +38 -0
- package/dist/esm/models/UploadPresetSettingsAutoTranscriptionAnyOf.js +43 -0
- package/dist/esm/models/UploadPresetSettingsContext.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsContext.js +31 -0
- package/dist/esm/models/UploadPresetSettingsEager.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsEager.js +31 -0
- package/dist/esm/models/UploadPresetSettingsHeaders.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsHeaders.js +31 -0
- package/dist/esm/models/UploadPresetSettingsMetadata.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsMetadata.js +31 -0
- package/dist/esm/models/UploadPresetSettingsParameterWhitelist.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsParameterWhitelist.js +31 -0
- package/dist/esm/models/UploadPresetSettingsResponsiveBreakpoints.d.ts +68 -0
- package/dist/esm/models/UploadPresetSettingsResponsiveBreakpoints.js +53 -0
- package/dist/esm/models/UploadPresetSettingsResponsiveBreakpointsAnyOf.d.ts +68 -0
- package/dist/esm/models/UploadPresetSettingsResponsiveBreakpointsAnyOf.js +53 -0
- package/dist/esm/models/UploadPresetSettingsTags.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsTags.js +31 -0
- package/dist/esm/models/UploadPresetSettingsTransformation.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsTransformation.js +31 -0
- package/dist/esm/models/UploadPresetSettingsType.d.ts +26 -0
- package/dist/esm/models/UploadPresetSettingsType.js +31 -0
- package/dist/esm/models/User.d.ts +1 -1
- package/dist/esm/models/User.js +1 -1
- package/dist/esm/models/ValidateTokenResponse.d.ts +1 -1
- package/dist/esm/models/ValidateTokenResponse.js +1 -1
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AddCollectionAssetsRequest.d.ts +1 -1
- package/dist/models/AddCollectionAssetsRequest.js +1 -1
- package/dist/models/AddCollectionAssetsResponse.d.ts +1 -1
- package/dist/models/AddCollectionAssetsResponse.js +1 -1
- package/dist/models/AddPortalCollectionsRequest.d.ts +1 -1
- package/dist/models/AddPortalCollectionsRequest.js +1 -1
- package/dist/models/Addon.d.ts +1 -1
- package/dist/models/Addon.js +1 -1
- package/dist/models/AddonSubscription.d.ts +1 -1
- package/dist/models/AddonSubscription.js +1 -1
- package/dist/models/AiVisionGeneralResponse.d.ts +1 -1
- package/dist/models/AiVisionGeneralResponse.js +1 -1
- package/dist/models/AnalyticsResponse.d.ts +1 -1
- package/dist/models/AnalyticsResponse.js +1 -1
- package/dist/models/AnalyzeAiVisionGeneralRequest.d.ts +1 -1
- package/dist/models/AnalyzeAiVisionGeneralRequest.js +1 -1
- package/dist/models/AnalyzeAiVisionGeneralRequestSource.d.ts +1 -1
- package/dist/models/AnalyzeAiVisionGeneralRequestSource.js +1 -1
- package/dist/models/AppStorageErrorResponse.d.ts +1 -1
- package/dist/models/AppStorageErrorResponse.js +1 -1
- package/dist/models/AppStorageGetResponse.d.ts +1 -1
- package/dist/models/AppStorageGetResponse.js +1 -1
- package/dist/models/AppStorageSetErrorResponse.d.ts +1 -1
- package/dist/models/AppStorageSetErrorResponse.js +1 -1
- package/dist/models/AppStorageSetResponse.d.ts +1 -1
- package/dist/models/AppStorageSetResponse.js +1 -1
- package/dist/models/Asset.d.ts +1 -1
- package/dist/models/Asset.js +1 -1
- package/dist/models/AssetHistoryResponse.d.ts +1 -1
- package/dist/models/AssetHistoryResponse.js +1 -1
- package/dist/models/AssetHistoryResponseAssetHistoryInner.d.ts +1 -1
- package/dist/models/AssetHistoryResponseAssetHistoryInner.js +1 -1
- package/dist/models/AssetLastDelivery.d.ts +1 -1
- package/dist/models/AssetLastDelivery.js +1 -1
- package/dist/models/AssetSearchResponse.d.ts +1 -1
- package/dist/models/AssetSearchResponse.js +1 -1
- package/dist/models/AuthCredentialsResponse.d.ts +1 -1
- package/dist/models/AuthCredentialsResponse.js +1 -1
- package/dist/models/AuthCustomer.d.ts +1 -1
- package/dist/models/AuthCustomer.js +1 -1
- package/dist/models/AuthUser.d.ts +1 -1
- package/dist/models/AuthUser.js +1 -1
- package/dist/models/AutocompleteAsset.d.ts +1 -1
- package/dist/models/AutocompleteAsset.js +1 -1
- package/dist/models/AutocompleteAssetCustomer.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomer.js +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomer.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomer.js +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerCdnConfigAttrs.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerCdnConfigAttrs.js +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerConfig.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerConfig.js +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerConfigFlagProbabilities.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerConfigFlagProbabilities.js +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerConfigHookTimeouts.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerConfigHookTimeouts.js +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerLimits.d.ts +1 -1
- package/dist/models/AutocompleteAssetCustomerCustomerLimits.js +1 -1
- package/dist/models/AutocompleteAssetFullProps.d.ts +1 -1
- package/dist/models/AutocompleteAssetFullProps.js +1 -1
- package/dist/models/AutocompleteAssetFullPropsCreatedBy.d.ts +1 -1
- package/dist/models/AutocompleteAssetFullPropsCreatedBy.js +1 -1
- package/dist/models/AutocompleteFolder.d.ts +1 -1
- package/dist/models/AutocompleteFolder.js +1 -1
- package/dist/models/AutocompleteResponse.d.ts +1 -1
- package/dist/models/AutocompleteResponse.js +1 -1
- package/dist/models/BackreferenceHistoryEntry.d.ts +1 -1
- package/dist/models/BackreferenceHistoryEntry.js +1 -1
- package/dist/models/BackreferenceResult.d.ts +1 -1
- package/dist/models/BackreferenceResult.js +1 -1
- package/dist/models/BackreferenceResultBackref.d.ts +1 -1
- package/dist/models/BackreferenceResultBackref.js +1 -1
- package/dist/models/CldtTemplate.d.ts +1 -1
- package/dist/models/CldtTemplate.js +1 -1
- package/dist/models/CldtTemplateCanvas.d.ts +1 -1
- package/dist/models/CldtTemplateCanvas.js +1 -1
- package/dist/models/CldtTemplateProvenance.d.ts +1 -1
- package/dist/models/CldtTemplateProvenance.js +1 -1
- package/dist/models/CldtTemplateVariable.d.ts +1 -1
- package/dist/models/CldtTemplateVariable.js +1 -1
- package/dist/models/Collection.d.ts +1 -1
- package/dist/models/Collection.js +1 -1
- package/dist/models/CollectionPermissions.d.ts +1 -1
- package/dist/models/CollectionPermissions.js +1 -1
- package/dist/models/ContextualMetadataField.d.ts +1 -1
- package/dist/models/ContextualMetadataField.js +1 -1
- package/dist/models/CreateAssetMetadataFieldRequest.d.ts +1 -1
- package/dist/models/CreateAssetMetadataFieldRequest.js +1 -1
- package/dist/models/CreateCollectionRequest.d.ts +1 -1
- package/dist/models/CreateCollectionRequest.js +1 -1
- package/dist/models/CreateCollectionResponse.d.ts +1 -1
- package/dist/models/CreateCollectionResponse.js +1 -1
- package/dist/models/CreateFolderRequest.d.ts +1 -1
- package/dist/models/CreateFolderRequest.js +1 -1
- package/dist/models/CreateFolderResponse.d.ts +1 -1
- package/dist/models/CreateFolderResponse.js +1 -1
- package/dist/models/CreateFolderResponseFolder.d.ts +1 -1
- package/dist/models/CreateFolderResponseFolder.js +1 -1
- package/dist/models/CreateFolderResponseFolderViewableParentsInner.d.ts +1 -1
- package/dist/models/CreateFolderResponseFolderViewableParentsInner.js +1 -1
- package/dist/models/CreateMetadataFieldResponse.d.ts +1 -1
- package/dist/models/CreateMetadataFieldResponse.js +1 -1
- package/dist/models/CreateNamespaceTokenRequest.d.ts +1 -1
- package/dist/models/CreateNamespaceTokenRequest.js +1 -1
- package/dist/models/CreatePortalRequest.d.ts +1 -1
- package/dist/models/CreatePortalRequest.js +1 -1
- package/dist/models/CreatePublicLinkRequest.d.ts +1 -1
- package/dist/models/CreatePublicLinkRequest.js +1 -1
- package/dist/models/CreateSavedSearchRequest.d.ts +1 -1
- package/dist/models/CreateSavedSearchRequest.js +1 -1
- package/dist/models/CreateSavedSearchRequestSharedWithInner.d.ts +1 -1
- package/dist/models/CreateSavedSearchRequestSharedWithInner.js +1 -1
- package/dist/models/Customer.d.ts +1 -1
- package/dist/models/Customer.js +1 -1
- package/dist/models/CustomerListMeta.d.ts +1 -1
- package/dist/models/CustomerListMeta.js +1 -1
- package/dist/models/CustomerUploadLimits.d.ts +1 -1
- package/dist/models/CustomerUploadLimits.js +1 -1
- package/dist/models/DamAppErrorResponse.d.ts +1 -1
- package/dist/models/DamAppErrorResponse.js +1 -1
- package/dist/models/DamAppResponse.d.ts +1 -1
- package/dist/models/DamAppResponse.js +1 -1
- package/dist/models/DamAppResponseAppMessageParamsValue.d.ts +1 -1
- package/dist/models/DamAppResponseAppMessageParamsValue.js +1 -1
- package/dist/models/DamAppResponseAppMessageParamsValueAnyOf.d.ts +1 -1
- package/dist/models/DamAppResponseAppMessageParamsValueAnyOf.js +1 -1
- package/dist/models/DamAppResponseAssetAmountLimit.d.ts +1 -1
- package/dist/models/DamAppResponseAssetAmountLimit.js +1 -1
- package/dist/models/DamAppUserSnapshot.d.ts +1 -1
- package/dist/models/DamAppUserSnapshot.js +1 -1
- package/dist/models/DashboardDataResponse.d.ts +1 -1
- package/dist/models/DashboardDataResponse.js +1 -1
- package/dist/models/DeleteFolderResponse.d.ts +1 -1
- package/dist/models/DeleteFolderResponse.js +1 -1
- package/dist/models/DeployApp200Response.d.ts +1 -1
- package/dist/models/DeployApp200Response.js +1 -1
- package/dist/models/DeployApp207Response.d.ts +1 -1
- package/dist/models/DeployApp207Response.js +1 -1
- package/dist/models/DeployApp400Response.d.ts +1 -1
- package/dist/models/DeployApp400Response.js +1 -1
- package/dist/models/DeployAppRequest.d.ts +1 -1
- package/dist/models/DeployAppRequest.js +1 -1
- package/dist/models/DownloadAssetRequest.d.ts +1 -1
- package/dist/models/DownloadAssetRequest.js +1 -1
- package/dist/models/DownloadAssetResponse.d.ts +1 -1
- package/dist/models/DownloadAssetResponse.js +1 -1
- package/dist/models/DownloadCollectionResponse.d.ts +1 -1
- package/dist/models/DownloadCollectionResponse.js +1 -1
- package/dist/models/ErrorResponse.d.ts +1 -1
- package/dist/models/ErrorResponse.js +1 -1
- package/dist/models/ErrorWithMessageResponse.d.ts +1 -1
- package/dist/models/ErrorWithMessageResponse.js +1 -1
- package/dist/models/FieldAggregation.d.ts +1 -1
- package/dist/models/FieldAggregation.js +1 -1
- package/dist/models/FieldAggregationBucketsInner.d.ts +1 -1
- package/dist/models/FieldAggregationBucketsInner.js +1 -1
- package/dist/models/FontDefinition.d.ts +1 -1
- package/dist/models/FontDefinition.js +1 -1
- package/dist/models/FontLookupResponse.d.ts +1 -1
- package/dist/models/FontLookupResponse.js +1 -1
- package/dist/models/FontLookupResponseFontsInner.d.ts +1 -1
- package/dist/models/FontLookupResponseFontsInner.js +1 -1
- package/dist/models/FontProvisioningResponse.d.ts +1 -1
- package/dist/models/FontProvisioningResponse.js +1 -1
- package/dist/models/ForbiddenResponse.d.ts +1 -1
- package/dist/models/ForbiddenResponse.js +1 -1
- package/dist/models/GetAssetsLastDeliveryRequest.d.ts +1 -1
- package/dist/models/GetAssetsLastDeliveryRequest.js +1 -1
- package/dist/models/GoogleFontListingResponse.d.ts +1 -1
- package/dist/models/GoogleFontListingResponse.js +1 -1
- package/dist/models/LastDeliveryResponse.d.ts +1 -1
- package/dist/models/LastDeliveryResponse.js +1 -1
- package/dist/models/ListAddonsResponse.d.ts +1 -1
- package/dist/models/ListAddonsResponse.js +1 -1
- package/dist/models/ListAssetsByFolderResponse.d.ts +1 -1
- package/dist/models/ListAssetsByFolderResponse.js +1 -1
- package/dist/models/ListAssetsByFolderResponseMeta.d.ts +1 -1
- package/dist/models/ListAssetsByFolderResponseMeta.js +1 -1
- package/dist/models/ListBackreferencesResponse.d.ts +1 -1
- package/dist/models/ListBackreferencesResponse.js +1 -1
- package/dist/models/ListBackreferencesResponseBackrefsInner.d.ts +1 -1
- package/dist/models/ListBackreferencesResponseBackrefsInner.js +1 -1
- package/dist/models/ListCollectionsResponse.d.ts +1 -1
- package/dist/models/ListCollectionsResponse.js +1 -1
- package/dist/models/ListContextualMetadataFieldsResponse.d.ts +1 -1
- package/dist/models/ListContextualMetadataFieldsResponse.js +1 -1
- package/dist/models/ListCustomersResponse.d.ts +1 -1
- package/dist/models/ListCustomersResponse.js +1 -1
- package/dist/models/ListMetadataFieldsResponse.d.ts +1 -1
- package/dist/models/ListMetadataFieldsResponse.js +1 -1
- package/dist/models/ListPortalsResponse.d.ts +1 -1
- package/dist/models/ListPortalsResponse.js +1 -1
- package/dist/models/ListPublicLinksResponse.d.ts +1 -1
- package/dist/models/ListPublicLinksResponse.js +1 -1
- package/dist/models/ListSavedSearchesResponse.d.ts +1 -1
- package/dist/models/ListSavedSearchesResponse.js +1 -1
- package/dist/models/ListSubfoldersResponse.d.ts +1 -1
- package/dist/models/ListSubfoldersResponse.js +1 -1
- package/dist/models/ListSubfoldersResponseFoldersInner.d.ts +1 -1
- package/dist/models/ListSubfoldersResponseFoldersInner.js +1 -1
- package/dist/models/ListTransformationsResponse.d.ts +1 -1
- package/dist/models/ListTransformationsResponse.js +1 -1
- package/dist/models/ListUploadPresetsResponse.d.ts +41 -0
- package/dist/models/ListUploadPresetsResponse.js +53 -0
- package/dist/models/ListUsersResponse.d.ts +1 -1
- package/dist/models/ListUsersResponse.js +1 -1
- package/dist/models/LocationSegment.d.ts +1 -1
- package/dist/models/LocationSegment.js +1 -1
- package/dist/models/LookupFontRequest.d.ts +1 -1
- package/dist/models/LookupFontRequest.js +1 -1
- package/dist/models/LookupFontRequestFontsInner.d.ts +1 -1
- package/dist/models/LookupFontRequestFontsInner.js +1 -1
- package/dist/models/NamespaceTokenCreateErrorResponse.d.ts +1 -1
- package/dist/models/NamespaceTokenCreateErrorResponse.js +1 -1
- package/dist/models/NamespaceTokenCreateResponse.d.ts +1 -1
- package/dist/models/NamespaceTokenCreateResponse.js +1 -1
- package/dist/models/Portal.d.ts +1 -1
- package/dist/models/Portal.js +1 -1
- package/dist/models/PrepareUploadRequest.d.ts +1 -1
- package/dist/models/PrepareUploadRequest.js +1 -1
- package/dist/models/PrepareUploadRequestUploadParams.d.ts +1 -1
- package/dist/models/PrepareUploadRequestUploadParams.js +1 -1
- package/dist/models/PrepareUploadResponse.d.ts +1 -1
- package/dist/models/PrepareUploadResponse.js +1 -1
- package/dist/models/ProvisionFontRequest.d.ts +1 -1
- package/dist/models/ProvisionFontRequest.js +1 -1
- package/dist/models/PublicLink.d.ts +1 -1
- package/dist/models/PublicLink.js +1 -1
- package/dist/models/PublicLinkResponse.d.ts +1 -1
- package/dist/models/PublicLinkResponse.js +1 -1
- package/dist/models/RefreshTokenErrorResponse.d.ts +1 -1
- package/dist/models/RefreshTokenErrorResponse.js +1 -1
- package/dist/models/RefreshTokenResponse.d.ts +1 -1
- package/dist/models/RefreshTokenResponse.js +1 -1
- package/dist/models/RelatedAsset.d.ts +1 -1
- package/dist/models/RelatedAsset.js +1 -1
- package/dist/models/RelatedAssetsResponse.d.ts +1 -1
- package/dist/models/RelatedAssetsResponse.js +1 -1
- package/dist/models/RemoveCollectionAssetsRequest.d.ts +1 -1
- package/dist/models/RemoveCollectionAssetsRequest.js +1 -1
- package/dist/models/RemoveCollectionAssetsResponse.d.ts +1 -1
- package/dist/models/RemoveCollectionAssetsResponse.js +1 -1
- package/dist/models/RemovePortalCollectionsRequest.d.ts +1 -1
- package/dist/models/RemovePortalCollectionsRequest.js +1 -1
- package/dist/models/ResourceActor.d.ts +1 -1
- package/dist/models/ResourceActor.js +1 -1
- package/dist/models/SavedSearch.d.ts +1 -1
- package/dist/models/SavedSearch.js +1 -1
- package/dist/models/SavedSearchPermission.d.ts +1 -1
- package/dist/models/SavedSearchPermission.js +1 -1
- package/dist/models/SearchAsset.d.ts +1 -1
- package/dist/models/SearchAsset.js +1 -1
- package/dist/models/SearchCollectionsRequest.d.ts +1 -1
- package/dist/models/SearchCollectionsRequest.js +1 -1
- package/dist/models/SearchCollectionsResponse.d.ts +1 -1
- package/dist/models/SearchCollectionsResponse.js +1 -1
- package/dist/models/SetAppStorageValueRequest.d.ts +1 -1
- package/dist/models/SetAppStorageValueRequest.js +1 -1
- package/dist/models/SignAndUploadRequest.d.ts +1 -1
- package/dist/models/SignAndUploadRequest.js +1 -1
- package/dist/models/SignAndUploadRequest1.d.ts +1 -1
- package/dist/models/SignAndUploadRequest1.js +1 -1
- package/dist/models/SignAndUploadResponse.d.ts +1 -1
- package/dist/models/SignAndUploadResponse.js +1 -1
- package/dist/models/StructuredMetadataField.d.ts +1 -1
- package/dist/models/StructuredMetadataField.js +1 -1
- package/dist/models/TemplateResourceTuple.d.ts +1 -1
- package/dist/models/TemplateResourceTuple.js +1 -1
- package/dist/models/TemplateSearchResponse.d.ts +1 -1
- package/dist/models/TemplateSearchResponse.js +1 -1
- package/dist/models/ThumbnailsTokenResponse.d.ts +1 -1
- package/dist/models/ThumbnailsTokenResponse.js +1 -1
- package/dist/models/TrackAnalyticsEventRequest.d.ts +1 -1
- package/dist/models/TrackAnalyticsEventRequest.js +1 -1
- package/dist/models/Transformation.d.ts +1 -1
- package/dist/models/Transformation.js +1 -1
- package/dist/models/UpdateAppRequest.d.ts +1 -1
- package/dist/models/UpdateAppRequest.js +1 -1
- package/dist/models/UpdateAssetBackreferencesRequest.d.ts +1 -1
- package/dist/models/UpdateAssetBackreferencesRequest.js +1 -1
- package/dist/models/UpdateAssetMetadataRequest.d.ts +1 -1
- package/dist/models/UpdateAssetMetadataRequest.js +1 -1
- package/dist/models/UpdateAssetMetadataRequestMetadataValue.d.ts +1 -1
- package/dist/models/UpdateAssetMetadataRequestMetadataValue.js +1 -1
- package/dist/models/UpdateAssetMetadataResponse.d.ts +1 -1
- package/dist/models/UpdateAssetMetadataResponse.js +1 -1
- package/dist/models/UpdateAssetTagsRequest.d.ts +1 -1
- package/dist/models/UpdateAssetTagsRequest.js +1 -1
- package/dist/models/UpdateAssetTagsResponse.d.ts +1 -1
- package/dist/models/UpdateAssetTagsResponse.js +1 -1
- package/dist/models/UpdateBackreferencesResponse.d.ts +1 -1
- package/dist/models/UpdateBackreferencesResponse.js +1 -1
- package/dist/models/UpdateCollectionRequest.d.ts +1 -1
- package/dist/models/UpdateCollectionRequest.js +1 -1
- package/dist/models/UpdateCollectionResponse.d.ts +1 -1
- package/dist/models/UpdateCollectionResponse.js +1 -1
- package/dist/models/UpdatePortalRequest.d.ts +1 -1
- package/dist/models/UpdatePortalRequest.js +1 -1
- package/dist/models/UpdatePublicLinkRequest.d.ts +1 -1
- package/dist/models/UpdatePublicLinkRequest.js +1 -1
- package/dist/models/UpdateSavedSearchResponse.d.ts +1 -1
- package/dist/models/UpdateSavedSearchResponse.js +1 -1
- package/dist/models/UploadAssetRequest.d.ts +1 -1
- package/dist/models/UploadAssetRequest.js +1 -1
- package/dist/models/UploadAssetRequest1.d.ts +1 -1
- package/dist/models/UploadAssetRequest1.js +1 -1
- package/dist/models/UploadAssetResponse.d.ts +1 -1
- package/dist/models/UploadAssetResponse.js +1 -1
- package/dist/models/UploadPreset.d.ts +69 -0
- package/dist/models/UploadPreset.js +61 -0
- package/dist/models/UploadPresetSettings.d.ts +406 -0
- package/dist/models/UploadPresetSettings.js +182 -0
- package/dist/models/UploadPresetSettingsAccessControl.d.ts +26 -0
- package/dist/models/UploadPresetSettingsAccessControl.js +38 -0
- package/dist/models/UploadPresetSettingsAccessControlAnyOfInner.d.ts +50 -0
- package/dist/models/UploadPresetSettingsAccessControlAnyOfInner.js +56 -0
- package/dist/models/UploadPresetSettingsAccessMode.d.ts +26 -0
- package/dist/models/UploadPresetSettingsAccessMode.js +38 -0
- package/dist/models/UploadPresetSettingsAutoTagging.d.ts +26 -0
- package/dist/models/UploadPresetSettingsAutoTagging.js +38 -0
- package/dist/models/UploadPresetSettingsAutoTranscription.d.ts +38 -0
- package/dist/models/UploadPresetSettingsAutoTranscription.js +50 -0
- package/dist/models/UploadPresetSettingsAutoTranscriptionAnyOf.d.ts +38 -0
- package/dist/models/UploadPresetSettingsAutoTranscriptionAnyOf.js +50 -0
- package/dist/models/UploadPresetSettingsContext.d.ts +26 -0
- package/dist/models/UploadPresetSettingsContext.js +38 -0
- package/dist/models/UploadPresetSettingsEager.d.ts +26 -0
- package/dist/models/UploadPresetSettingsEager.js +38 -0
- package/dist/models/UploadPresetSettingsHeaders.d.ts +26 -0
- package/dist/models/UploadPresetSettingsHeaders.js +38 -0
- package/dist/models/UploadPresetSettingsMetadata.d.ts +26 -0
- package/dist/models/UploadPresetSettingsMetadata.js +38 -0
- package/dist/models/UploadPresetSettingsParameterWhitelist.d.ts +26 -0
- package/dist/models/UploadPresetSettingsParameterWhitelist.js +38 -0
- package/dist/models/UploadPresetSettingsResponsiveBreakpoints.d.ts +68 -0
- package/dist/models/UploadPresetSettingsResponsiveBreakpoints.js +60 -0
- package/dist/models/UploadPresetSettingsResponsiveBreakpointsAnyOf.d.ts +68 -0
- package/dist/models/UploadPresetSettingsResponsiveBreakpointsAnyOf.js +60 -0
- package/dist/models/UploadPresetSettingsTags.d.ts +26 -0
- package/dist/models/UploadPresetSettingsTags.js +38 -0
- package/dist/models/UploadPresetSettingsTransformation.d.ts +26 -0
- package/dist/models/UploadPresetSettingsTransformation.js +38 -0
- package/dist/models/UploadPresetSettingsType.d.ts +26 -0
- package/dist/models/UploadPresetSettingsType.js +38 -0
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/ValidateTokenResponse.d.ts +1 -1
- package/dist/models/ValidateTokenResponse.js +1 -1
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/AssetManagementApi.md +276 -50
- package/docs/ConsoleApi.md +86 -22
- package/docs/ListUploadPresetsResponse.md +36 -0
- package/docs/MediaApi.md +32 -8
- package/docs/PlatformApi.md +77 -20
- package/docs/UploadApi.md +8 -2
- package/docs/UploadPreset.md +46 -0
- package/docs/UploadPresetSettings.md +154 -0
- package/docs/UploadPresetSettingsAccessControl.md +32 -0
- package/docs/UploadPresetSettingsAccessControlAnyOfInner.md +40 -0
- package/docs/UploadPresetSettingsAccessMode.md +32 -0
- package/docs/UploadPresetSettingsAutoTagging.md +32 -0
- package/docs/UploadPresetSettingsAutoTranscription.md +36 -0
- package/docs/UploadPresetSettingsAutoTranscriptionAnyOf.md +36 -0
- package/docs/UploadPresetSettingsContext.md +32 -0
- package/docs/UploadPresetSettingsEager.md +32 -0
- package/docs/UploadPresetSettingsHeaders.md +32 -0
- package/docs/UploadPresetSettingsMetadata.md +32 -0
- package/docs/UploadPresetSettingsParameterWhitelist.md +32 -0
- package/docs/UploadPresetSettingsResponsiveBreakpoints.md +46 -0
- package/docs/UploadPresetSettingsResponsiveBreakpointsAnyOf.md +46 -0
- package/docs/UploadPresetSettingsTags.md +32 -0
- package/docs/UploadPresetSettingsTransformation.md +32 -0
- package/docs/UploadPresetSettingsType.md +32 -0
- package/docs/UtilsApi.md +39 -10
- package/package.json +1 -1
- package/src/apis/AssetManagementApi.ts +299 -10
- package/src/apis/ConsoleApi.ts +103 -7
- package/src/apis/MediaApi.ts +41 -1
- package/src/apis/PlatformApi.ts +89 -10
- package/src/apis/UploadApi.ts +11 -1
- package/src/apis/UtilsApi.ts +47 -4
- package/src/models/AddCollectionAssetsRequest.ts +1 -1
- package/src/models/AddCollectionAssetsResponse.ts +1 -1
- package/src/models/AddPortalCollectionsRequest.ts +1 -1
- package/src/models/Addon.ts +1 -1
- package/src/models/AddonSubscription.ts +1 -1
- package/src/models/AiVisionGeneralResponse.ts +1 -1
- package/src/models/AnalyticsResponse.ts +1 -1
- package/src/models/AnalyzeAiVisionGeneralRequest.ts +1 -1
- package/src/models/AnalyzeAiVisionGeneralRequestSource.ts +1 -1
- package/src/models/AppStorageErrorResponse.ts +1 -1
- package/src/models/AppStorageGetResponse.ts +1 -1
- package/src/models/AppStorageSetErrorResponse.ts +1 -1
- package/src/models/AppStorageSetResponse.ts +1 -1
- package/src/models/Asset.ts +1 -1
- package/src/models/AssetHistoryResponse.ts +1 -1
- package/src/models/AssetHistoryResponseAssetHistoryInner.ts +1 -1
- package/src/models/AssetLastDelivery.ts +1 -1
- package/src/models/AssetSearchResponse.ts +1 -1
- package/src/models/AuthCredentialsResponse.ts +1 -1
- package/src/models/AuthCustomer.ts +1 -1
- package/src/models/AuthUser.ts +1 -1
- package/src/models/AutocompleteAsset.ts +1 -1
- package/src/models/AutocompleteAssetCustomer.ts +1 -1
- package/src/models/AutocompleteAssetCustomerCustomer.ts +1 -1
- package/src/models/AutocompleteAssetCustomerCustomerCdnConfigAttrs.ts +1 -1
- package/src/models/AutocompleteAssetCustomerCustomerConfig.ts +1 -1
- package/src/models/AutocompleteAssetCustomerCustomerConfigFlagProbabilities.ts +1 -1
- package/src/models/AutocompleteAssetCustomerCustomerConfigHookTimeouts.ts +1 -1
- package/src/models/AutocompleteAssetCustomerCustomerLimits.ts +1 -1
- package/src/models/AutocompleteAssetFullProps.ts +1 -1
- package/src/models/AutocompleteAssetFullPropsCreatedBy.ts +1 -1
- package/src/models/AutocompleteFolder.ts +1 -1
- package/src/models/AutocompleteResponse.ts +1 -1
- package/src/models/BackreferenceHistoryEntry.ts +1 -1
- package/src/models/BackreferenceResult.ts +1 -1
- package/src/models/BackreferenceResultBackref.ts +1 -1
- package/src/models/CldtTemplate.ts +1 -1
- package/src/models/CldtTemplateCanvas.ts +1 -1
- package/src/models/CldtTemplateProvenance.ts +1 -1
- package/src/models/CldtTemplateVariable.ts +1 -1
- package/src/models/Collection.ts +1 -1
- package/src/models/CollectionPermissions.ts +1 -1
- package/src/models/ContextualMetadataField.ts +1 -1
- package/src/models/CreateAssetMetadataFieldRequest.ts +1 -1
- package/src/models/CreateCollectionRequest.ts +1 -1
- package/src/models/CreateCollectionResponse.ts +1 -1
- package/src/models/CreateFolderRequest.ts +1 -1
- package/src/models/CreateFolderResponse.ts +1 -1
- package/src/models/CreateFolderResponseFolder.ts +1 -1
- package/src/models/CreateFolderResponseFolderViewableParentsInner.ts +1 -1
- package/src/models/CreateMetadataFieldResponse.ts +1 -1
- package/src/models/CreateNamespaceTokenRequest.ts +1 -1
- package/src/models/CreatePortalRequest.ts +1 -1
- package/src/models/CreatePublicLinkRequest.ts +1 -1
- package/src/models/CreateSavedSearchRequest.ts +1 -1
- package/src/models/CreateSavedSearchRequestSharedWithInner.ts +1 -1
- package/src/models/Customer.ts +1 -1
- package/src/models/CustomerListMeta.ts +1 -1
- package/src/models/CustomerUploadLimits.ts +1 -1
- package/src/models/DamAppErrorResponse.ts +1 -1
- package/src/models/DamAppResponse.ts +1 -1
- package/src/models/DamAppResponseAppMessageParamsValue.ts +1 -1
- package/src/models/DamAppResponseAppMessageParamsValueAnyOf.ts +1 -1
- package/src/models/DamAppResponseAssetAmountLimit.ts +1 -1
- package/src/models/DamAppUserSnapshot.ts +1 -1
- package/src/models/DashboardDataResponse.ts +1 -1
- package/src/models/DeleteFolderResponse.ts +1 -1
- package/src/models/DeployApp200Response.ts +1 -1
- package/src/models/DeployApp207Response.ts +1 -1
- package/src/models/DeployApp400Response.ts +1 -1
- package/src/models/DeployAppRequest.ts +1 -1
- package/src/models/DownloadAssetRequest.ts +1 -1
- package/src/models/DownloadAssetResponse.ts +1 -1
- package/src/models/DownloadCollectionResponse.ts +1 -1
- package/src/models/ErrorResponse.ts +1 -1
- package/src/models/ErrorWithMessageResponse.ts +1 -1
- package/src/models/FieldAggregation.ts +1 -1
- package/src/models/FieldAggregationBucketsInner.ts +1 -1
- package/src/models/FontDefinition.ts +1 -1
- package/src/models/FontLookupResponse.ts +1 -1
- package/src/models/FontLookupResponseFontsInner.ts +1 -1
- package/src/models/FontProvisioningResponse.ts +1 -1
- package/src/models/ForbiddenResponse.ts +1 -1
- package/src/models/GetAssetsLastDeliveryRequest.ts +1 -1
- package/src/models/GoogleFontListingResponse.ts +1 -1
- package/src/models/LastDeliveryResponse.ts +1 -1
- package/src/models/ListAddonsResponse.ts +1 -1
- package/src/models/ListAssetsByFolderResponse.ts +1 -1
- package/src/models/ListAssetsByFolderResponseMeta.ts +1 -1
- package/src/models/ListBackreferencesResponse.ts +1 -1
- package/src/models/ListBackreferencesResponseBackrefsInner.ts +1 -1
- package/src/models/ListCollectionsResponse.ts +1 -1
- package/src/models/ListContextualMetadataFieldsResponse.ts +1 -1
- package/src/models/ListCustomersResponse.ts +1 -1
- package/src/models/ListMetadataFieldsResponse.ts +1 -1
- package/src/models/ListPortalsResponse.ts +1 -1
- package/src/models/ListPublicLinksResponse.ts +1 -1
- package/src/models/ListSavedSearchesResponse.ts +1 -1
- package/src/models/ListSubfoldersResponse.ts +1 -1
- package/src/models/ListSubfoldersResponseFoldersInner.ts +1 -1
- package/src/models/ListTransformationsResponse.ts +1 -1
- package/src/models/ListUploadPresetsResponse.ts +82 -0
- package/src/models/ListUsersResponse.ts +1 -1
- package/src/models/LocationSegment.ts +1 -1
- package/src/models/LookupFontRequest.ts +1 -1
- package/src/models/LookupFontRequestFontsInner.ts +1 -1
- package/src/models/NamespaceTokenCreateErrorResponse.ts +1 -1
- package/src/models/NamespaceTokenCreateResponse.ts +1 -1
- package/src/models/Portal.ts +1 -1
- package/src/models/PrepareUploadRequest.ts +1 -1
- package/src/models/PrepareUploadRequestUploadParams.ts +1 -1
- package/src/models/PrepareUploadResponse.ts +1 -1
- package/src/models/ProvisionFontRequest.ts +1 -1
- package/src/models/PublicLink.ts +1 -1
- package/src/models/PublicLinkResponse.ts +1 -1
- package/src/models/RefreshTokenErrorResponse.ts +1 -1
- package/src/models/RefreshTokenResponse.ts +1 -1
- package/src/models/RelatedAsset.ts +1 -1
- package/src/models/RelatedAssetsResponse.ts +1 -1
- package/src/models/RemoveCollectionAssetsRequest.ts +1 -1
- package/src/models/RemoveCollectionAssetsResponse.ts +1 -1
- package/src/models/RemovePortalCollectionsRequest.ts +1 -1
- package/src/models/ResourceActor.ts +1 -1
- package/src/models/SavedSearch.ts +1 -1
- package/src/models/SavedSearchPermission.ts +1 -1
- package/src/models/SearchAsset.ts +1 -1
- package/src/models/SearchCollectionsRequest.ts +1 -1
- package/src/models/SearchCollectionsResponse.ts +1 -1
- package/src/models/SetAppStorageValueRequest.ts +1 -1
- package/src/models/SignAndUploadRequest.ts +1 -1
- package/src/models/SignAndUploadRequest1.ts +1 -1
- package/src/models/SignAndUploadResponse.ts +1 -1
- package/src/models/StructuredMetadataField.ts +1 -1
- package/src/models/TemplateResourceTuple.ts +1 -1
- package/src/models/TemplateSearchResponse.ts +1 -1
- package/src/models/ThumbnailsTokenResponse.ts +1 -1
- package/src/models/TrackAnalyticsEventRequest.ts +1 -1
- package/src/models/Transformation.ts +1 -1
- package/src/models/UpdateAppRequest.ts +1 -1
- package/src/models/UpdateAssetBackreferencesRequest.ts +1 -1
- package/src/models/UpdateAssetMetadataRequest.ts +1 -1
- package/src/models/UpdateAssetMetadataRequestMetadataValue.ts +1 -1
- package/src/models/UpdateAssetMetadataResponse.ts +1 -1
- package/src/models/UpdateAssetTagsRequest.ts +1 -1
- package/src/models/UpdateAssetTagsResponse.ts +1 -1
- package/src/models/UpdateBackreferencesResponse.ts +1 -1
- package/src/models/UpdateCollectionRequest.ts +1 -1
- package/src/models/UpdateCollectionResponse.ts +1 -1
- package/src/models/UpdatePortalRequest.ts +1 -1
- package/src/models/UpdatePublicLinkRequest.ts +1 -1
- package/src/models/UpdateSavedSearchResponse.ts +1 -1
- package/src/models/UploadAssetRequest.ts +1 -1
- package/src/models/UploadAssetRequest1.ts +1 -1
- package/src/models/UploadAssetResponse.ts +1 -1
- package/src/models/UploadPreset.ts +121 -0
- package/src/models/UploadPresetSettings.ts +644 -0
- package/src/models/UploadPresetSettingsAccessControl.ts +54 -0
- package/src/models/UploadPresetSettingsAccessControlAnyOfInner.ts +90 -0
- package/src/models/UploadPresetSettingsAccessMode.ts +46 -0
- package/src/models/UploadPresetSettingsAutoTagging.ts +46 -0
- package/src/models/UploadPresetSettingsAutoTranscription.ts +81 -0
- package/src/models/UploadPresetSettingsAutoTranscriptionAnyOf.ts +73 -0
- package/src/models/UploadPresetSettingsContext.ts +46 -0
- package/src/models/UploadPresetSettingsEager.ts +46 -0
- package/src/models/UploadPresetSettingsHeaders.ts +46 -0
- package/src/models/UploadPresetSettingsMetadata.ts +46 -0
- package/src/models/UploadPresetSettingsParameterWhitelist.ts +46 -0
- package/src/models/UploadPresetSettingsResponsiveBreakpoints.ts +121 -0
- package/src/models/UploadPresetSettingsResponsiveBreakpointsAnyOf.ts +113 -0
- package/src/models/UploadPresetSettingsTags.ts +46 -0
- package/src/models/UploadPresetSettingsTransformation.ts +46 -0
- package/src/models/UploadPresetSettingsType.ts +46 -0
- package/src/models/User.ts +1 -1
- package/src/models/ValidateTokenResponse.ts +1 -1
- package/src/models/index.ts +19 -0
- package/src/runtime.ts +1 -1
|
@@ -33,6 +33,7 @@ All URIs are relative to *http://localhost*
|
|
|
33
33
|
| [**listSavedSearches**](AssetManagementApi.md#listsavedsearches) | **GET** /v2605/asset-management/saved-searches | List saved searches |
|
|
34
34
|
| [**listSubfolders**](AssetManagementApi.md#listsubfolders) | **GET** /v2605/asset-management/folders/subfolders | List child folders |
|
|
35
35
|
| [**listTransformations**](AssetManagementApi.md#listtransformations) | **GET** /v2605/asset-management/transformations | List named transformations |
|
|
36
|
+
| [**listUploadPresets**](AssetManagementApi.md#listuploadpresets) | **GET** /v2605/asset-management/upload-presets | List upload presets |
|
|
36
37
|
| [**removeCollectionAssets**](AssetManagementApi.md#removecollectionassetsoperation) | **DELETE** /v2605/asset-management/collections/{collection_id}/assets | Remove assets from a collection |
|
|
37
38
|
| [**removePortalCollections**](AssetManagementApi.md#removeportalcollectionsoperation) | **PUT** /v2605/asset-management/portals/{id}/collections/remove | Remove collections from a portal |
|
|
38
39
|
| [**searchAssets**](AssetManagementApi.md#searchassets) | **POST** /v2605/asset-management/assets/search | Search assets using Cloudinary expression language |
|
|
@@ -53,7 +54,7 @@ All URIs are relative to *http://localhost*
|
|
|
53
54
|
|
|
54
55
|
## addCollectionAssets
|
|
55
56
|
|
|
56
|
-
> AddCollectionAssetsResponse addCollectionAssets(collectionId, addCollectionAssetsRequest)
|
|
57
|
+
> AddCollectionAssetsResponse addCollectionAssets(collectionId, xCldCloudName, addCollectionAssetsRequest)
|
|
57
58
|
|
|
58
59
|
Add assets to a collection
|
|
59
60
|
|
|
@@ -79,6 +80,8 @@ async function example() {
|
|
|
79
80
|
const body = {
|
|
80
81
|
// string | Collection external ID
|
|
81
82
|
collectionId: collectionId_example,
|
|
83
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
84
|
+
xCldCloudName: xCldCloudName_example,
|
|
82
85
|
// AddCollectionAssetsRequest (optional)
|
|
83
86
|
addCollectionAssetsRequest: ...,
|
|
84
87
|
} satisfies AddCollectionAssetsOperationRequest;
|
|
@@ -101,6 +104,7 @@ example().catch(console.error);
|
|
|
101
104
|
| Name | Type | Description | Notes |
|
|
102
105
|
|------------- | ------------- | ------------- | -------------|
|
|
103
106
|
| **collectionId** | `string` | Collection external ID | [Defaults to `undefined`] |
|
|
107
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
104
108
|
| **addCollectionAssetsRequest** | [AddCollectionAssetsRequest](AddCollectionAssetsRequest.md) | | [Optional] |
|
|
105
109
|
|
|
106
110
|
### Return type
|
|
@@ -128,7 +132,7 @@ example().catch(console.error);
|
|
|
128
132
|
|
|
129
133
|
## addPortalCollections
|
|
130
134
|
|
|
131
|
-
> Portal addPortalCollections(id, addPortalCollectionsRequest)
|
|
135
|
+
> Portal addPortalCollections(id, xCldCloudName, addPortalCollectionsRequest)
|
|
132
136
|
|
|
133
137
|
Add collections to a portal
|
|
134
138
|
|
|
@@ -154,6 +158,8 @@ async function example() {
|
|
|
154
158
|
const body = {
|
|
155
159
|
// string | Portal ID
|
|
156
160
|
id: id_example,
|
|
161
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
162
|
+
xCldCloudName: xCldCloudName_example,
|
|
157
163
|
// AddPortalCollectionsRequest (optional)
|
|
158
164
|
addPortalCollectionsRequest: ...,
|
|
159
165
|
} satisfies AddPortalCollectionsOperationRequest;
|
|
@@ -176,6 +182,7 @@ example().catch(console.error);
|
|
|
176
182
|
| Name | Type | Description | Notes |
|
|
177
183
|
|------------- | ------------- | ------------- | -------------|
|
|
178
184
|
| **id** | `string` | Portal ID | [Defaults to `undefined`] |
|
|
185
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
179
186
|
| **addPortalCollectionsRequest** | [AddPortalCollectionsRequest](AddPortalCollectionsRequest.md) | | [Optional] |
|
|
180
187
|
|
|
181
188
|
### Return type
|
|
@@ -203,7 +210,7 @@ example().catch(console.error);
|
|
|
203
210
|
|
|
204
211
|
## autocompleteAssets
|
|
205
212
|
|
|
206
|
-
> AutocompleteResponse autocompleteAssets(term, resourceType, assets, collections, folders, tags, users, withDeletedUsers, userGroups, metadataFieldOptions)
|
|
213
|
+
> AutocompleteResponse autocompleteAssets(term, resourceType, assets, collections, folders, tags, users, withDeletedUsers, userGroups, metadataFieldOptions, xCldCloudName)
|
|
207
214
|
|
|
208
215
|
Autocomplete across assets, folders, collections, tags, and metadata
|
|
209
216
|
|
|
@@ -247,6 +254,8 @@ async function example() {
|
|
|
247
254
|
userGroups: 56,
|
|
248
255
|
// number (optional)
|
|
249
256
|
metadataFieldOptions: 56,
|
|
257
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
258
|
+
xCldCloudName: xCldCloudName_example,
|
|
250
259
|
} satisfies AutocompleteAssetsRequest;
|
|
251
260
|
|
|
252
261
|
try {
|
|
@@ -276,6 +285,7 @@ example().catch(console.error);
|
|
|
276
285
|
| **withDeletedUsers** | `boolean` | | [Optional] [Defaults to `undefined`] |
|
|
277
286
|
| **userGroups** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
278
287
|
| **metadataFieldOptions** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
288
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
279
289
|
|
|
280
290
|
### Return type
|
|
281
291
|
|
|
@@ -301,7 +311,7 @@ example().catch(console.error);
|
|
|
301
311
|
|
|
302
312
|
## createAssetMetadataField
|
|
303
313
|
|
|
304
|
-
> CreateMetadataFieldResponse createAssetMetadataField(createAssetMetadataFieldRequest)
|
|
314
|
+
> CreateMetadataFieldResponse createAssetMetadataField(xCldCloudName, createAssetMetadataFieldRequest)
|
|
305
315
|
|
|
306
316
|
Create a structured metadata field definition
|
|
307
317
|
|
|
@@ -325,6 +335,8 @@ async function example() {
|
|
|
325
335
|
const api = new AssetManagementApi(config);
|
|
326
336
|
|
|
327
337
|
const body = {
|
|
338
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
339
|
+
xCldCloudName: xCldCloudName_example,
|
|
328
340
|
// CreateAssetMetadataFieldRequest (optional)
|
|
329
341
|
createAssetMetadataFieldRequest: ...,
|
|
330
342
|
} satisfies CreateAssetMetadataFieldOperationRequest;
|
|
@@ -346,6 +358,7 @@ example().catch(console.error);
|
|
|
346
358
|
|
|
347
359
|
| Name | Type | Description | Notes |
|
|
348
360
|
|------------- | ------------- | ------------- | -------------|
|
|
361
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
349
362
|
| **createAssetMetadataFieldRequest** | [CreateAssetMetadataFieldRequest](CreateAssetMetadataFieldRequest.md) | | [Optional] |
|
|
350
363
|
|
|
351
364
|
### Return type
|
|
@@ -373,7 +386,7 @@ example().catch(console.error);
|
|
|
373
386
|
|
|
374
387
|
## createCollection
|
|
375
388
|
|
|
376
|
-
> CreateCollectionResponse createCollection(createCollectionRequest)
|
|
389
|
+
> CreateCollectionResponse createCollection(xCldCloudName, createCollectionRequest)
|
|
377
390
|
|
|
378
391
|
Create a collection
|
|
379
392
|
|
|
@@ -397,6 +410,8 @@ async function example() {
|
|
|
397
410
|
const api = new AssetManagementApi(config);
|
|
398
411
|
|
|
399
412
|
const body = {
|
|
413
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
414
|
+
xCldCloudName: xCldCloudName_example,
|
|
400
415
|
// CreateCollectionRequest (optional)
|
|
401
416
|
createCollectionRequest: ...,
|
|
402
417
|
} satisfies CreateCollectionOperationRequest;
|
|
@@ -418,6 +433,7 @@ example().catch(console.error);
|
|
|
418
433
|
|
|
419
434
|
| Name | Type | Description | Notes |
|
|
420
435
|
|------------- | ------------- | ------------- | -------------|
|
|
436
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
421
437
|
| **createCollectionRequest** | [CreateCollectionRequest](CreateCollectionRequest.md) | | [Optional] |
|
|
422
438
|
|
|
423
439
|
### Return type
|
|
@@ -445,7 +461,7 @@ example().catch(console.error);
|
|
|
445
461
|
|
|
446
462
|
## createFolder
|
|
447
463
|
|
|
448
|
-
> CreateFolderResponse createFolder(createFolderRequest)
|
|
464
|
+
> CreateFolderResponse createFolder(xCldCloudName, createFolderRequest)
|
|
449
465
|
|
|
450
466
|
Create a folder
|
|
451
467
|
|
|
@@ -469,6 +485,8 @@ async function example() {
|
|
|
469
485
|
const api = new AssetManagementApi(config);
|
|
470
486
|
|
|
471
487
|
const body = {
|
|
488
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
489
|
+
xCldCloudName: xCldCloudName_example,
|
|
472
490
|
// CreateFolderRequest (optional)
|
|
473
491
|
createFolderRequest: ...,
|
|
474
492
|
} satisfies CreateFolderOperationRequest;
|
|
@@ -490,6 +508,7 @@ example().catch(console.error);
|
|
|
490
508
|
|
|
491
509
|
| Name | Type | Description | Notes |
|
|
492
510
|
|------------- | ------------- | ------------- | -------------|
|
|
511
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
493
512
|
| **createFolderRequest** | [CreateFolderRequest](CreateFolderRequest.md) | | [Optional] |
|
|
494
513
|
|
|
495
514
|
### Return type
|
|
@@ -516,7 +535,7 @@ example().catch(console.error);
|
|
|
516
535
|
|
|
517
536
|
## createPortal
|
|
518
537
|
|
|
519
|
-
> Portal createPortal(createPortalRequest)
|
|
538
|
+
> Portal createPortal(xCldCloudName, createPortalRequest)
|
|
520
539
|
|
|
521
540
|
Create a portal
|
|
522
541
|
|
|
@@ -540,6 +559,8 @@ async function example() {
|
|
|
540
559
|
const api = new AssetManagementApi(config);
|
|
541
560
|
|
|
542
561
|
const body = {
|
|
562
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
563
|
+
xCldCloudName: xCldCloudName_example,
|
|
543
564
|
// CreatePortalRequest (optional)
|
|
544
565
|
createPortalRequest: ...,
|
|
545
566
|
} satisfies CreatePortalOperationRequest;
|
|
@@ -561,6 +582,7 @@ example().catch(console.error);
|
|
|
561
582
|
|
|
562
583
|
| Name | Type | Description | Notes |
|
|
563
584
|
|------------- | ------------- | ------------- | -------------|
|
|
585
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
564
586
|
| **createPortalRequest** | [CreatePortalRequest](CreatePortalRequest.md) | | [Optional] |
|
|
565
587
|
|
|
566
588
|
### Return type
|
|
@@ -588,7 +610,7 @@ example().catch(console.error);
|
|
|
588
610
|
|
|
589
611
|
## createPublicLink
|
|
590
612
|
|
|
591
|
-
> PublicLinkResponse createPublicLink(subjectType, subjectId, createPublicLinkRequest)
|
|
613
|
+
> PublicLinkResponse createPublicLink(subjectType, subjectId, xCldCloudName, createPublicLinkRequest)
|
|
592
614
|
|
|
593
615
|
Create a public link for an entity
|
|
594
616
|
|
|
@@ -616,6 +638,8 @@ async function example() {
|
|
|
616
638
|
subjectType: subjectType_example,
|
|
617
639
|
// string | External ID of the entity to share
|
|
618
640
|
subjectId: subjectId_example,
|
|
641
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
642
|
+
xCldCloudName: xCldCloudName_example,
|
|
619
643
|
// CreatePublicLinkRequest (optional)
|
|
620
644
|
createPublicLinkRequest: ...,
|
|
621
645
|
} satisfies CreatePublicLinkOperationRequest;
|
|
@@ -639,6 +663,7 @@ example().catch(console.error);
|
|
|
639
663
|
|------------- | ------------- | ------------- | -------------|
|
|
640
664
|
| **subjectType** | `string` | Type of the entity to share (e.g. collections) | [Defaults to `undefined`] |
|
|
641
665
|
| **subjectId** | `string` | External ID of the entity to share | [Defaults to `undefined`] |
|
|
666
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
642
667
|
| **createPublicLinkRequest** | [CreatePublicLinkRequest](CreatePublicLinkRequest.md) | | [Optional] |
|
|
643
668
|
|
|
644
669
|
### Return type
|
|
@@ -666,7 +691,7 @@ example().catch(console.error);
|
|
|
666
691
|
|
|
667
692
|
## createSavedSearch
|
|
668
693
|
|
|
669
|
-
> SavedSearch createSavedSearch(createSavedSearchRequest)
|
|
694
|
+
> SavedSearch createSavedSearch(xCldCloudName, createSavedSearchRequest)
|
|
670
695
|
|
|
671
696
|
Create a saved search
|
|
672
697
|
|
|
@@ -690,6 +715,8 @@ async function example() {
|
|
|
690
715
|
const api = new AssetManagementApi(config);
|
|
691
716
|
|
|
692
717
|
const body = {
|
|
718
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
719
|
+
xCldCloudName: xCldCloudName_example,
|
|
693
720
|
// CreateSavedSearchRequest (optional)
|
|
694
721
|
createSavedSearchRequest: ...,
|
|
695
722
|
} satisfies CreateSavedSearchOperationRequest;
|
|
@@ -711,6 +738,7 @@ example().catch(console.error);
|
|
|
711
738
|
|
|
712
739
|
| Name | Type | Description | Notes |
|
|
713
740
|
|------------- | ------------- | ------------- | -------------|
|
|
741
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
714
742
|
| **createSavedSearchRequest** | [CreateSavedSearchRequest](CreateSavedSearchRequest.md) | | [Optional] |
|
|
715
743
|
|
|
716
744
|
### Return type
|
|
@@ -738,7 +766,7 @@ example().catch(console.error);
|
|
|
738
766
|
|
|
739
767
|
## deleteFolder
|
|
740
768
|
|
|
741
|
-
> DeleteFolderResponse deleteFolder(id, deleteResources)
|
|
769
|
+
> DeleteFolderResponse deleteFolder(id, deleteResources, xCldCloudName)
|
|
742
770
|
|
|
743
771
|
Delete a folder
|
|
744
772
|
|
|
@@ -766,6 +794,8 @@ async function example() {
|
|
|
766
794
|
id: id_example,
|
|
767
795
|
// boolean (optional)
|
|
768
796
|
deleteResources: true,
|
|
797
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
798
|
+
xCldCloudName: xCldCloudName_example,
|
|
769
799
|
} satisfies DeleteFolderRequest;
|
|
770
800
|
|
|
771
801
|
try {
|
|
@@ -787,6 +817,7 @@ example().catch(console.error);
|
|
|
787
817
|
|------------- | ------------- | ------------- | -------------|
|
|
788
818
|
| **id** | `string` | | [Defaults to `undefined`] |
|
|
789
819
|
| **deleteResources** | `boolean` | | [Optional] [Defaults to `undefined`] |
|
|
820
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
790
821
|
|
|
791
822
|
### Return type
|
|
792
823
|
|
|
@@ -812,7 +843,7 @@ example().catch(console.error);
|
|
|
812
843
|
|
|
813
844
|
## deletePortal
|
|
814
845
|
|
|
815
|
-
> Portal deletePortal(id)
|
|
846
|
+
> Portal deletePortal(id, xCldCloudName)
|
|
816
847
|
|
|
817
848
|
Delete a portal
|
|
818
849
|
|
|
@@ -838,6 +869,8 @@ async function example() {
|
|
|
838
869
|
const body = {
|
|
839
870
|
// string | Portal ID
|
|
840
871
|
id: id_example,
|
|
872
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
873
|
+
xCldCloudName: xCldCloudName_example,
|
|
841
874
|
} satisfies DeletePortalRequest;
|
|
842
875
|
|
|
843
876
|
try {
|
|
@@ -858,6 +891,7 @@ example().catch(console.error);
|
|
|
858
891
|
| Name | Type | Description | Notes |
|
|
859
892
|
|------------- | ------------- | ------------- | -------------|
|
|
860
893
|
| **id** | `string` | Portal ID | [Defaults to `undefined`] |
|
|
894
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
861
895
|
|
|
862
896
|
### Return type
|
|
863
897
|
|
|
@@ -884,7 +918,7 @@ example().catch(console.error);
|
|
|
884
918
|
|
|
885
919
|
## deletePublicLink
|
|
886
920
|
|
|
887
|
-
> object deletePublicLink(subjectType, subjectId, id)
|
|
921
|
+
> object deletePublicLink(subjectType, subjectId, id, xCldCloudName)
|
|
888
922
|
|
|
889
923
|
Revoke a public link
|
|
890
924
|
|
|
@@ -914,6 +948,8 @@ async function example() {
|
|
|
914
948
|
subjectId: subjectId_example,
|
|
915
949
|
// string | Public link ID
|
|
916
950
|
id: id_example,
|
|
951
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
952
|
+
xCldCloudName: xCldCloudName_example,
|
|
917
953
|
} satisfies DeletePublicLinkRequest;
|
|
918
954
|
|
|
919
955
|
try {
|
|
@@ -936,6 +972,7 @@ example().catch(console.error);
|
|
|
936
972
|
| **subjectType** | `string` | Type of the shared entity (e.g. collections) | [Defaults to `undefined`] |
|
|
937
973
|
| **subjectId** | `string` | External ID of the shared entity | [Defaults to `undefined`] |
|
|
938
974
|
| **id** | `string` | Public link ID | [Defaults to `undefined`] |
|
|
975
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
939
976
|
|
|
940
977
|
### Return type
|
|
941
978
|
|
|
@@ -962,7 +999,7 @@ example().catch(console.error);
|
|
|
962
999
|
|
|
963
1000
|
## deleteSavedSearch
|
|
964
1001
|
|
|
965
|
-
> SavedSearch deleteSavedSearch(id)
|
|
1002
|
+
> SavedSearch deleteSavedSearch(id, xCldCloudName)
|
|
966
1003
|
|
|
967
1004
|
Delete a saved search
|
|
968
1005
|
|
|
@@ -988,6 +1025,8 @@ async function example() {
|
|
|
988
1025
|
const body = {
|
|
989
1026
|
// string | Saved search ID
|
|
990
1027
|
id: id_example,
|
|
1028
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1029
|
+
xCldCloudName: xCldCloudName_example,
|
|
991
1030
|
} satisfies DeleteSavedSearchRequest;
|
|
992
1031
|
|
|
993
1032
|
try {
|
|
@@ -1008,6 +1047,7 @@ example().catch(console.error);
|
|
|
1008
1047
|
| Name | Type | Description | Notes |
|
|
1009
1048
|
|------------- | ------------- | ------------- | -------------|
|
|
1010
1049
|
| **id** | `string` | Saved search ID | [Defaults to `undefined`] |
|
|
1050
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1011
1051
|
|
|
1012
1052
|
### Return type
|
|
1013
1053
|
|
|
@@ -1034,7 +1074,7 @@ example().catch(console.error);
|
|
|
1034
1074
|
|
|
1035
1075
|
## destroyCollection
|
|
1036
1076
|
|
|
1037
|
-
> Collection destroyCollection(collectionId)
|
|
1077
|
+
> Collection destroyCollection(collectionId, xCldCloudName)
|
|
1038
1078
|
|
|
1039
1079
|
Delete a collection
|
|
1040
1080
|
|
|
@@ -1060,6 +1100,8 @@ async function example() {
|
|
|
1060
1100
|
const body = {
|
|
1061
1101
|
// string | Collection external ID
|
|
1062
1102
|
collectionId: collectionId_example,
|
|
1103
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1104
|
+
xCldCloudName: xCldCloudName_example,
|
|
1063
1105
|
} satisfies DestroyCollectionRequest;
|
|
1064
1106
|
|
|
1065
1107
|
try {
|
|
@@ -1080,6 +1122,7 @@ example().catch(console.error);
|
|
|
1080
1122
|
| Name | Type | Description | Notes |
|
|
1081
1123
|
|------------- | ------------- | ------------- | -------------|
|
|
1082
1124
|
| **collectionId** | `string` | Collection external ID | [Defaults to `undefined`] |
|
|
1125
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1083
1126
|
|
|
1084
1127
|
### Return type
|
|
1085
1128
|
|
|
@@ -1106,7 +1149,7 @@ example().catch(console.error);
|
|
|
1106
1149
|
|
|
1107
1150
|
## downloadAsset
|
|
1108
1151
|
|
|
1109
|
-
> DownloadAssetResponse downloadAsset(downloadAssetRequest)
|
|
1152
|
+
> DownloadAssetResponse downloadAsset(xCldCloudName, downloadAssetRequest)
|
|
1110
1153
|
|
|
1111
1154
|
Generate a download URL for an asset
|
|
1112
1155
|
|
|
@@ -1130,6 +1173,8 @@ async function example() {
|
|
|
1130
1173
|
const api = new AssetManagementApi(config);
|
|
1131
1174
|
|
|
1132
1175
|
const body = {
|
|
1176
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1177
|
+
xCldCloudName: xCldCloudName_example,
|
|
1133
1178
|
// DownloadAssetRequest (optional)
|
|
1134
1179
|
downloadAssetRequest: ...,
|
|
1135
1180
|
} satisfies DownloadAssetOperationRequest;
|
|
@@ -1151,6 +1196,7 @@ example().catch(console.error);
|
|
|
1151
1196
|
|
|
1152
1197
|
| Name | Type | Description | Notes |
|
|
1153
1198
|
|------------- | ------------- | ------------- | -------------|
|
|
1199
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1154
1200
|
| **downloadAssetRequest** | [DownloadAssetRequest](DownloadAssetRequest.md) | | [Optional] |
|
|
1155
1201
|
|
|
1156
1202
|
### Return type
|
|
@@ -1177,7 +1223,7 @@ example().catch(console.error);
|
|
|
1177
1223
|
|
|
1178
1224
|
## downloadCollection
|
|
1179
1225
|
|
|
1180
|
-
> DownloadCollectionResponse downloadCollection(collectionId, targetPublicId, redirect)
|
|
1226
|
+
> DownloadCollectionResponse downloadCollection(collectionId, targetPublicId, redirect, xCldCloudName)
|
|
1181
1227
|
|
|
1182
1228
|
Download a collection as an archive
|
|
1183
1229
|
|
|
@@ -1207,6 +1253,8 @@ async function example() {
|
|
|
1207
1253
|
targetPublicId: targetPublicId_example,
|
|
1208
1254
|
// boolean | Whether to redirect to the archive URL (optional)
|
|
1209
1255
|
redirect: true,
|
|
1256
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1257
|
+
xCldCloudName: xCldCloudName_example,
|
|
1210
1258
|
} satisfies DownloadCollectionRequest;
|
|
1211
1259
|
|
|
1212
1260
|
try {
|
|
@@ -1229,6 +1277,7 @@ example().catch(console.error);
|
|
|
1229
1277
|
| **collectionId** | `string` | Collection external ID | [Defaults to `undefined`] |
|
|
1230
1278
|
| **targetPublicId** | `string` | Target public ID for the archive | [Optional] [Defaults to `undefined`] |
|
|
1231
1279
|
| **redirect** | `boolean` | Whether to redirect to the archive URL | [Optional] [Defaults to `undefined`] |
|
|
1280
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1232
1281
|
|
|
1233
1282
|
### Return type
|
|
1234
1283
|
|
|
@@ -1255,7 +1304,7 @@ example().catch(console.error);
|
|
|
1255
1304
|
|
|
1256
1305
|
## getAssetsLastDelivery
|
|
1257
1306
|
|
|
1258
|
-
> LastDeliveryResponse getAssetsLastDelivery(getAssetsLastDeliveryRequest)
|
|
1307
|
+
> LastDeliveryResponse getAssetsLastDelivery(xCldCloudName, getAssetsLastDeliveryRequest)
|
|
1259
1308
|
|
|
1260
1309
|
Get last delivery dates for assets
|
|
1261
1310
|
|
|
@@ -1279,6 +1328,8 @@ async function example() {
|
|
|
1279
1328
|
const api = new AssetManagementApi(config);
|
|
1280
1329
|
|
|
1281
1330
|
const body = {
|
|
1331
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1332
|
+
xCldCloudName: xCldCloudName_example,
|
|
1282
1333
|
// GetAssetsLastDeliveryRequest (optional)
|
|
1283
1334
|
getAssetsLastDeliveryRequest: ...,
|
|
1284
1335
|
} satisfies GetAssetsLastDeliveryOperationRequest;
|
|
@@ -1300,6 +1351,7 @@ example().catch(console.error);
|
|
|
1300
1351
|
|
|
1301
1352
|
| Name | Type | Description | Notes |
|
|
1302
1353
|
|------------- | ------------- | ------------- | -------------|
|
|
1354
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1303
1355
|
| **getAssetsLastDeliveryRequest** | [GetAssetsLastDeliveryRequest](GetAssetsLastDeliveryRequest.md) | | [Optional] |
|
|
1304
1356
|
|
|
1305
1357
|
### Return type
|
|
@@ -1327,7 +1379,7 @@ example().catch(console.error);
|
|
|
1327
1379
|
|
|
1328
1380
|
## listAssetBackreferences
|
|
1329
1381
|
|
|
1330
|
-
> ListBackreferencesResponse listAssetBackreferences(assetId, system, tenant, includeRemoved)
|
|
1382
|
+
> ListBackreferencesResponse listAssetBackreferences(assetId, system, tenant, includeRemoved, xCldCloudName)
|
|
1331
1383
|
|
|
1332
1384
|
List backreferences for an asset
|
|
1333
1385
|
|
|
@@ -1359,6 +1411,8 @@ async function example() {
|
|
|
1359
1411
|
tenant: tenant_example,
|
|
1360
1412
|
// boolean | Include backreferences whose current action is remove (optional)
|
|
1361
1413
|
includeRemoved: true,
|
|
1414
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1415
|
+
xCldCloudName: xCldCloudName_example,
|
|
1362
1416
|
} satisfies ListAssetBackreferencesRequest;
|
|
1363
1417
|
|
|
1364
1418
|
try {
|
|
@@ -1382,6 +1436,7 @@ example().catch(console.error);
|
|
|
1382
1436
|
| **system** | `string` | Filter by system name (e.g., \'monday\') | [Optional] [Defaults to `undefined`] |
|
|
1383
1437
|
| **tenant** | `string` | Filter by tenant/workspace ID (requires system) | [Optional] [Defaults to `undefined`] |
|
|
1384
1438
|
| **includeRemoved** | `boolean` | Include backreferences whose current action is remove | [Optional] [Defaults to `undefined`] |
|
|
1439
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1385
1440
|
|
|
1386
1441
|
### Return type
|
|
1387
1442
|
|
|
@@ -1408,7 +1463,7 @@ example().catch(console.error);
|
|
|
1408
1463
|
|
|
1409
1464
|
## listAssetContextFields
|
|
1410
1465
|
|
|
1411
|
-
> ListContextualMetadataFieldsResponse listAssetContextFields(maxResults, nextCursor, prefix)
|
|
1466
|
+
> ListContextualMetadataFieldsResponse listAssetContextFields(maxResults, nextCursor, prefix, xCldCloudName)
|
|
1412
1467
|
|
|
1413
1468
|
List contextual metadata fields
|
|
1414
1469
|
|
|
@@ -1438,6 +1493,8 @@ async function example() {
|
|
|
1438
1493
|
nextCursor: nextCursor_example,
|
|
1439
1494
|
// string (optional)
|
|
1440
1495
|
prefix: prefix_example,
|
|
1496
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1497
|
+
xCldCloudName: xCldCloudName_example,
|
|
1441
1498
|
} satisfies ListAssetContextFieldsRequest;
|
|
1442
1499
|
|
|
1443
1500
|
try {
|
|
@@ -1460,6 +1517,7 @@ example().catch(console.error);
|
|
|
1460
1517
|
| **maxResults** | `number` | | [Optional] [Defaults to `50`] |
|
|
1461
1518
|
| **nextCursor** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1462
1519
|
| **prefix** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1520
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1463
1521
|
|
|
1464
1522
|
### Return type
|
|
1465
1523
|
|
|
@@ -1485,7 +1543,7 @@ example().catch(console.error);
|
|
|
1485
1543
|
|
|
1486
1544
|
## listAssetHistory
|
|
1487
1545
|
|
|
1488
|
-
> AssetHistoryResponse listAssetHistory(externalId, maxResults, nextCursor)
|
|
1546
|
+
> AssetHistoryResponse listAssetHistory(externalId, maxResults, nextCursor, xCldCloudName)
|
|
1489
1547
|
|
|
1490
1548
|
List asset audit history
|
|
1491
1549
|
|
|
@@ -1515,6 +1573,8 @@ async function example() {
|
|
|
1515
1573
|
maxResults: 8.14,
|
|
1516
1574
|
// number | Pagination cursor (optional)
|
|
1517
1575
|
nextCursor: 8.14,
|
|
1576
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1577
|
+
xCldCloudName: xCldCloudName_example,
|
|
1518
1578
|
} satisfies ListAssetHistoryRequest;
|
|
1519
1579
|
|
|
1520
1580
|
try {
|
|
@@ -1537,6 +1597,7 @@ example().catch(console.error);
|
|
|
1537
1597
|
| **externalId** | `string` | Asset external ID | [Defaults to `undefined`] |
|
|
1538
1598
|
| **maxResults** | `number` | Maximum number of history entries to return | [Optional] [Defaults to `undefined`] |
|
|
1539
1599
|
| **nextCursor** | `number` | Pagination cursor | [Optional] [Defaults to `undefined`] |
|
|
1600
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1540
1601
|
|
|
1541
1602
|
### Return type
|
|
1542
1603
|
|
|
@@ -1562,7 +1623,7 @@ example().catch(console.error);
|
|
|
1562
1623
|
|
|
1563
1624
|
## listAssetMetadataFields
|
|
1564
1625
|
|
|
1565
|
-
> ListMetadataFieldsResponse listAssetMetadataFields()
|
|
1626
|
+
> ListMetadataFieldsResponse listAssetMetadataFields(xCldCloudName)
|
|
1566
1627
|
|
|
1567
1628
|
List structured metadata field definitions
|
|
1568
1629
|
|
|
@@ -1585,8 +1646,13 @@ async function example() {
|
|
|
1585
1646
|
});
|
|
1586
1647
|
const api = new AssetManagementApi(config);
|
|
1587
1648
|
|
|
1649
|
+
const body = {
|
|
1650
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1651
|
+
xCldCloudName: xCldCloudName_example,
|
|
1652
|
+
} satisfies ListAssetMetadataFieldsRequest;
|
|
1653
|
+
|
|
1588
1654
|
try {
|
|
1589
|
-
const data = await api.listAssetMetadataFields();
|
|
1655
|
+
const data = await api.listAssetMetadataFields(body);
|
|
1590
1656
|
console.log(data);
|
|
1591
1657
|
} catch (error) {
|
|
1592
1658
|
console.error(error);
|
|
@@ -1599,7 +1665,10 @@ example().catch(console.error);
|
|
|
1599
1665
|
|
|
1600
1666
|
### Parameters
|
|
1601
1667
|
|
|
1602
|
-
|
|
1668
|
+
|
|
1669
|
+
| Name | Type | Description | Notes |
|
|
1670
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1671
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1603
1672
|
|
|
1604
1673
|
### Return type
|
|
1605
1674
|
|
|
@@ -1625,7 +1694,7 @@ This endpoint does not need any parameter.
|
|
|
1625
1694
|
|
|
1626
1695
|
## listAssetsByFolder
|
|
1627
1696
|
|
|
1628
|
-
> ListAssetsByFolderResponse listAssetsByFolder(folderId, resourceType, sortBy, maxResults, nextCursor)
|
|
1697
|
+
> ListAssetsByFolderResponse listAssetsByFolder(folderId, resourceType, sortBy, maxResults, nextCursor, xCldCloudName)
|
|
1629
1698
|
|
|
1630
1699
|
List assets in a folder
|
|
1631
1700
|
|
|
@@ -1659,6 +1728,8 @@ async function example() {
|
|
|
1659
1728
|
maxResults: 56,
|
|
1660
1729
|
// string (optional)
|
|
1661
1730
|
nextCursor: nextCursor_example,
|
|
1731
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1732
|
+
xCldCloudName: xCldCloudName_example,
|
|
1662
1733
|
} satisfies ListAssetsByFolderRequest;
|
|
1663
1734
|
|
|
1664
1735
|
try {
|
|
@@ -1683,6 +1754,7 @@ example().catch(console.error);
|
|
|
1683
1754
|
| **sortBy** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1684
1755
|
| **maxResults** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
1685
1756
|
| **nextCursor** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1757
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1686
1758
|
|
|
1687
1759
|
### Return type
|
|
1688
1760
|
|
|
@@ -1708,7 +1780,7 @@ example().catch(console.error);
|
|
|
1708
1780
|
|
|
1709
1781
|
## listCollections
|
|
1710
1782
|
|
|
1711
|
-
> ListCollectionsResponse listCollections(sortBy, maxResults, nextCursor, term, ownerType)
|
|
1783
|
+
> ListCollectionsResponse listCollections(sortBy, maxResults, nextCursor, term, ownerType, xCldCloudName)
|
|
1712
1784
|
|
|
1713
1785
|
List collections
|
|
1714
1786
|
|
|
@@ -1742,6 +1814,8 @@ async function example() {
|
|
|
1742
1814
|
term: term_example,
|
|
1743
1815
|
// string | Filter by owner type (optional)
|
|
1744
1816
|
ownerType: ownerType_example,
|
|
1817
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1818
|
+
xCldCloudName: xCldCloudName_example,
|
|
1745
1819
|
} satisfies ListCollectionsRequest;
|
|
1746
1820
|
|
|
1747
1821
|
try {
|
|
@@ -1766,6 +1840,7 @@ example().catch(console.error);
|
|
|
1766
1840
|
| **nextCursor** | `string` | Pagination cursor | [Optional] [Defaults to `undefined`] |
|
|
1767
1841
|
| **term** | `string` | Search term | [Optional] [Defaults to `undefined`] |
|
|
1768
1842
|
| **ownerType** | `string` | Filter by owner type | [Optional] [Defaults to `undefined`] |
|
|
1843
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1769
1844
|
|
|
1770
1845
|
### Return type
|
|
1771
1846
|
|
|
@@ -1792,7 +1867,7 @@ example().catch(console.error);
|
|
|
1792
1867
|
|
|
1793
1868
|
## listPortals
|
|
1794
1869
|
|
|
1795
|
-
> ListPortalsResponse listPortals()
|
|
1870
|
+
> ListPortalsResponse listPortals(xCldCloudName)
|
|
1796
1871
|
|
|
1797
1872
|
List portals
|
|
1798
1873
|
|
|
@@ -1815,8 +1890,13 @@ async function example() {
|
|
|
1815
1890
|
});
|
|
1816
1891
|
const api = new AssetManagementApi(config);
|
|
1817
1892
|
|
|
1893
|
+
const body = {
|
|
1894
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1895
|
+
xCldCloudName: xCldCloudName_example,
|
|
1896
|
+
} satisfies ListPortalsRequest;
|
|
1897
|
+
|
|
1818
1898
|
try {
|
|
1819
|
-
const data = await api.listPortals();
|
|
1899
|
+
const data = await api.listPortals(body);
|
|
1820
1900
|
console.log(data);
|
|
1821
1901
|
} catch (error) {
|
|
1822
1902
|
console.error(error);
|
|
@@ -1829,7 +1909,10 @@ example().catch(console.error);
|
|
|
1829
1909
|
|
|
1830
1910
|
### Parameters
|
|
1831
1911
|
|
|
1832
|
-
|
|
1912
|
+
|
|
1913
|
+
| Name | Type | Description | Notes |
|
|
1914
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1915
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1833
1916
|
|
|
1834
1917
|
### Return type
|
|
1835
1918
|
|
|
@@ -1856,7 +1939,7 @@ This endpoint does not need any parameter.
|
|
|
1856
1939
|
|
|
1857
1940
|
## listPublicLinks
|
|
1858
1941
|
|
|
1859
|
-
> ListPublicLinksResponse listPublicLinks(subjectType, subjectId)
|
|
1942
|
+
> ListPublicLinksResponse listPublicLinks(subjectType, subjectId, xCldCloudName)
|
|
1860
1943
|
|
|
1861
1944
|
List public links of an entity
|
|
1862
1945
|
|
|
@@ -1884,6 +1967,8 @@ async function example() {
|
|
|
1884
1967
|
subjectType: subjectType_example,
|
|
1885
1968
|
// string | External ID of the shared entity
|
|
1886
1969
|
subjectId: subjectId_example,
|
|
1970
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
1971
|
+
xCldCloudName: xCldCloudName_example,
|
|
1887
1972
|
} satisfies ListPublicLinksRequest;
|
|
1888
1973
|
|
|
1889
1974
|
try {
|
|
@@ -1905,6 +1990,7 @@ example().catch(console.error);
|
|
|
1905
1990
|
|------------- | ------------- | ------------- | -------------|
|
|
1906
1991
|
| **subjectType** | `string` | Type of the shared entity (e.g. collections) | [Defaults to `undefined`] |
|
|
1907
1992
|
| **subjectId** | `string` | External ID of the shared entity | [Defaults to `undefined`] |
|
|
1993
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1908
1994
|
|
|
1909
1995
|
### Return type
|
|
1910
1996
|
|
|
@@ -1931,7 +2017,7 @@ example().catch(console.error);
|
|
|
1931
2017
|
|
|
1932
2018
|
## listRelatedAssets
|
|
1933
2019
|
|
|
1934
|
-
> RelatedAssetsResponse listRelatedAssets(resourceType, type, publicId)
|
|
2020
|
+
> RelatedAssetsResponse listRelatedAssets(resourceType, type, publicId, xCldCloudName)
|
|
1935
2021
|
|
|
1936
2022
|
List related assets for an asset
|
|
1937
2023
|
|
|
@@ -1961,6 +2047,8 @@ async function example() {
|
|
|
1961
2047
|
type: type_example,
|
|
1962
2048
|
// string | Asset public_id.
|
|
1963
2049
|
publicId: publicId_example,
|
|
2050
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2051
|
+
xCldCloudName: xCldCloudName_example,
|
|
1964
2052
|
} satisfies ListRelatedAssetsRequest;
|
|
1965
2053
|
|
|
1966
2054
|
try {
|
|
@@ -1983,6 +2071,7 @@ example().catch(console.error);
|
|
|
1983
2071
|
| **resourceType** | `string` | Cloudinary resource type (image, video, raw, audio, …). | [Defaults to `undefined`] |
|
|
1984
2072
|
| **type** | `string` | Cloudinary delivery type (upload, private, authenticated, fetch, …). | [Defaults to `undefined`] |
|
|
1985
2073
|
| **publicId** | `string` | Asset public_id. | [Defaults to `undefined`] |
|
|
2074
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
1986
2075
|
|
|
1987
2076
|
### Return type
|
|
1988
2077
|
|
|
@@ -2008,7 +2097,7 @@ example().catch(console.error);
|
|
|
2008
2097
|
|
|
2009
2098
|
## listSavedSearches
|
|
2010
2099
|
|
|
2011
|
-
> ListSavedSearchesResponse listSavedSearches()
|
|
2100
|
+
> ListSavedSearchesResponse listSavedSearches(xCldCloudName)
|
|
2012
2101
|
|
|
2013
2102
|
List saved searches
|
|
2014
2103
|
|
|
@@ -2031,8 +2120,13 @@ async function example() {
|
|
|
2031
2120
|
});
|
|
2032
2121
|
const api = new AssetManagementApi(config);
|
|
2033
2122
|
|
|
2123
|
+
const body = {
|
|
2124
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2125
|
+
xCldCloudName: xCldCloudName_example,
|
|
2126
|
+
} satisfies ListSavedSearchesRequest;
|
|
2127
|
+
|
|
2034
2128
|
try {
|
|
2035
|
-
const data = await api.listSavedSearches();
|
|
2129
|
+
const data = await api.listSavedSearches(body);
|
|
2036
2130
|
console.log(data);
|
|
2037
2131
|
} catch (error) {
|
|
2038
2132
|
console.error(error);
|
|
@@ -2045,7 +2139,10 @@ example().catch(console.error);
|
|
|
2045
2139
|
|
|
2046
2140
|
### Parameters
|
|
2047
2141
|
|
|
2048
|
-
|
|
2142
|
+
|
|
2143
|
+
| Name | Type | Description | Notes |
|
|
2144
|
+
|------------- | ------------- | ------------- | -------------|
|
|
2145
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2049
2146
|
|
|
2050
2147
|
### Return type
|
|
2051
2148
|
|
|
@@ -2072,7 +2169,7 @@ This endpoint does not need any parameter.
|
|
|
2072
2169
|
|
|
2073
2170
|
## listSubfolders
|
|
2074
2171
|
|
|
2075
|
-
> ListSubfoldersResponse listSubfolders(parentPath, externalId, maxResults, nextCursor)
|
|
2172
|
+
> ListSubfoldersResponse listSubfolders(parentPath, externalId, maxResults, nextCursor, xCldCloudName)
|
|
2076
2173
|
|
|
2077
2174
|
List child folders
|
|
2078
2175
|
|
|
@@ -2104,6 +2201,8 @@ async function example() {
|
|
|
2104
2201
|
maxResults: 56,
|
|
2105
2202
|
// string (optional)
|
|
2106
2203
|
nextCursor: nextCursor_example,
|
|
2204
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2205
|
+
xCldCloudName: xCldCloudName_example,
|
|
2107
2206
|
} satisfies ListSubfoldersRequest;
|
|
2108
2207
|
|
|
2109
2208
|
try {
|
|
@@ -2127,6 +2226,7 @@ example().catch(console.error);
|
|
|
2127
2226
|
| **externalId** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
2128
2227
|
| **maxResults** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
2129
2228
|
| **nextCursor** | `string` | | [Optional] [Defaults to `''`] |
|
|
2229
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2130
2230
|
|
|
2131
2231
|
### Return type
|
|
2132
2232
|
|
|
@@ -2152,7 +2252,7 @@ example().catch(console.error);
|
|
|
2152
2252
|
|
|
2153
2253
|
## listTransformations
|
|
2154
2254
|
|
|
2155
|
-
> ListTransformationsResponse listTransformations(maxResults, nextCursor, name)
|
|
2255
|
+
> ListTransformationsResponse listTransformations(maxResults, nextCursor, name, xCldCloudName)
|
|
2156
2256
|
|
|
2157
2257
|
List named transformations
|
|
2158
2258
|
|
|
@@ -2182,6 +2282,8 @@ async function example() {
|
|
|
2182
2282
|
nextCursor: nextCursor_example,
|
|
2183
2283
|
// string (optional)
|
|
2184
2284
|
name: name_example,
|
|
2285
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2286
|
+
xCldCloudName: xCldCloudName_example,
|
|
2185
2287
|
} satisfies ListTransformationsRequest;
|
|
2186
2288
|
|
|
2187
2289
|
try {
|
|
@@ -2204,6 +2306,7 @@ example().catch(console.error);
|
|
|
2204
2306
|
| **maxResults** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
2205
2307
|
| **nextCursor** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
2206
2308
|
| **name** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
2309
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2207
2310
|
|
|
2208
2311
|
### Return type
|
|
2209
2312
|
|
|
@@ -2227,9 +2330,87 @@ example().catch(console.error);
|
|
|
2227
2330
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
2228
2331
|
|
|
2229
2332
|
|
|
2333
|
+
## listUploadPresets
|
|
2334
|
+
|
|
2335
|
+
> ListUploadPresetsResponse listUploadPresets(page, perPage, xCldCloudName)
|
|
2336
|
+
|
|
2337
|
+
List upload presets
|
|
2338
|
+
|
|
2339
|
+
Returns upload presets configured for the product environment, with optional pagination via page and per_page.
|
|
2340
|
+
|
|
2341
|
+
### Example
|
|
2342
|
+
|
|
2343
|
+
```ts
|
|
2344
|
+
import {
|
|
2345
|
+
Configuration,
|
|
2346
|
+
AssetManagementApi,
|
|
2347
|
+
} from '@cloudinary/apps-api';
|
|
2348
|
+
import type { ListUploadPresetsRequest } from '@cloudinary/apps-api';
|
|
2349
|
+
|
|
2350
|
+
async function example() {
|
|
2351
|
+
console.log("🚀 Testing @cloudinary/apps-api SDK...");
|
|
2352
|
+
const config = new Configuration({
|
|
2353
|
+
// Configure HTTP bearer authorization: bearerAuth
|
|
2354
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
2355
|
+
});
|
|
2356
|
+
const api = new AssetManagementApi(config);
|
|
2357
|
+
|
|
2358
|
+
const body = {
|
|
2359
|
+
// number | Page number (optional)
|
|
2360
|
+
page: 8.14,
|
|
2361
|
+
// number | Results per page (optional)
|
|
2362
|
+
perPage: 8.14,
|
|
2363
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2364
|
+
xCldCloudName: xCldCloudName_example,
|
|
2365
|
+
} satisfies ListUploadPresetsRequest;
|
|
2366
|
+
|
|
2367
|
+
try {
|
|
2368
|
+
const data = await api.listUploadPresets(body);
|
|
2369
|
+
console.log(data);
|
|
2370
|
+
} catch (error) {
|
|
2371
|
+
console.error(error);
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
// Run the test
|
|
2376
|
+
example().catch(console.error);
|
|
2377
|
+
```
|
|
2378
|
+
|
|
2379
|
+
### Parameters
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
| Name | Type | Description | Notes |
|
|
2383
|
+
|------------- | ------------- | ------------- | -------------|
|
|
2384
|
+
| **page** | `number` | Page number | [Optional] [Defaults to `undefined`] |
|
|
2385
|
+
| **perPage** | `number` | Results per page | [Optional] [Defaults to `undefined`] |
|
|
2386
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2387
|
+
|
|
2388
|
+
### Return type
|
|
2389
|
+
|
|
2390
|
+
[**ListUploadPresetsResponse**](ListUploadPresetsResponse.md)
|
|
2391
|
+
|
|
2392
|
+
### Authorization
|
|
2393
|
+
|
|
2394
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
2395
|
+
|
|
2396
|
+
### HTTP request headers
|
|
2397
|
+
|
|
2398
|
+
- **Content-Type**: Not defined
|
|
2399
|
+
- **Accept**: `application/json`
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
### HTTP response details
|
|
2403
|
+
| Status code | Description | Response headers |
|
|
2404
|
+
|-------------|-------------|------------------|
|
|
2405
|
+
| **200** | Successful operation | - |
|
|
2406
|
+
| **403** | Forbidden | - |
|
|
2407
|
+
|
|
2408
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
2409
|
+
|
|
2410
|
+
|
|
2230
2411
|
## removeCollectionAssets
|
|
2231
2412
|
|
|
2232
|
-
> RemoveCollectionAssetsResponse removeCollectionAssets(collectionId, removeCollectionAssetsRequest)
|
|
2413
|
+
> RemoveCollectionAssetsResponse removeCollectionAssets(collectionId, xCldCloudName, removeCollectionAssetsRequest)
|
|
2233
2414
|
|
|
2234
2415
|
Remove assets from a collection
|
|
2235
2416
|
|
|
@@ -2255,6 +2436,8 @@ async function example() {
|
|
|
2255
2436
|
const body = {
|
|
2256
2437
|
// string | Collection external ID
|
|
2257
2438
|
collectionId: collectionId_example,
|
|
2439
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2440
|
+
xCldCloudName: xCldCloudName_example,
|
|
2258
2441
|
// RemoveCollectionAssetsRequest (optional)
|
|
2259
2442
|
removeCollectionAssetsRequest: ...,
|
|
2260
2443
|
} satisfies RemoveCollectionAssetsOperationRequest;
|
|
@@ -2277,6 +2460,7 @@ example().catch(console.error);
|
|
|
2277
2460
|
| Name | Type | Description | Notes |
|
|
2278
2461
|
|------------- | ------------- | ------------- | -------------|
|
|
2279
2462
|
| **collectionId** | `string` | Collection external ID | [Defaults to `undefined`] |
|
|
2463
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2280
2464
|
| **removeCollectionAssetsRequest** | [RemoveCollectionAssetsRequest](RemoveCollectionAssetsRequest.md) | | [Optional] |
|
|
2281
2465
|
|
|
2282
2466
|
### Return type
|
|
@@ -2304,7 +2488,7 @@ example().catch(console.error);
|
|
|
2304
2488
|
|
|
2305
2489
|
## removePortalCollections
|
|
2306
2490
|
|
|
2307
|
-
> Portal removePortalCollections(id, removePortalCollectionsRequest)
|
|
2491
|
+
> Portal removePortalCollections(id, xCldCloudName, removePortalCollectionsRequest)
|
|
2308
2492
|
|
|
2309
2493
|
Remove collections from a portal
|
|
2310
2494
|
|
|
@@ -2330,6 +2514,8 @@ async function example() {
|
|
|
2330
2514
|
const body = {
|
|
2331
2515
|
// string | Portal ID
|
|
2332
2516
|
id: id_example,
|
|
2517
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2518
|
+
xCldCloudName: xCldCloudName_example,
|
|
2333
2519
|
// RemovePortalCollectionsRequest (optional)
|
|
2334
2520
|
removePortalCollectionsRequest: ...,
|
|
2335
2521
|
} satisfies RemovePortalCollectionsOperationRequest;
|
|
@@ -2352,6 +2538,7 @@ example().catch(console.error);
|
|
|
2352
2538
|
| Name | Type | Description | Notes |
|
|
2353
2539
|
|------------- | ------------- | ------------- | -------------|
|
|
2354
2540
|
| **id** | `string` | Portal ID | [Defaults to `undefined`] |
|
|
2541
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2355
2542
|
| **removePortalCollectionsRequest** | [RemovePortalCollectionsRequest](RemovePortalCollectionsRequest.md) | | [Optional] |
|
|
2356
2543
|
|
|
2357
2544
|
### Return type
|
|
@@ -2379,7 +2566,7 @@ example().catch(console.error);
|
|
|
2379
2566
|
|
|
2380
2567
|
## searchAssets
|
|
2381
2568
|
|
|
2382
|
-
> AssetSearchResponse searchAssets(expression, maxResults, nextCursor, sortBy, backend, aggregate)
|
|
2569
|
+
> AssetSearchResponse searchAssets(expression, maxResults, nextCursor, sortBy, backend, aggregate, xCldCloudName)
|
|
2383
2570
|
|
|
2384
2571
|
Search assets using Cloudinary expression language
|
|
2385
2572
|
|
|
@@ -2415,6 +2602,8 @@ async function example() {
|
|
|
2415
2602
|
backend: backend_example,
|
|
2416
2603
|
// string (optional)
|
|
2417
2604
|
aggregate: aggregate_example,
|
|
2605
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2606
|
+
xCldCloudName: xCldCloudName_example,
|
|
2418
2607
|
} satisfies SearchAssetsRequest;
|
|
2419
2608
|
|
|
2420
2609
|
try {
|
|
@@ -2440,6 +2629,7 @@ example().catch(console.error);
|
|
|
2440
2629
|
| **sortBy** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
2441
2630
|
| **backend** | `relational`, `elastic`, `clip`, `clip_text`, `clip_url` | | [Optional] [Defaults to `undefined`] [Enum: relational, elastic, clip, clip_text, clip_url] |
|
|
2442
2631
|
| **aggregate** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
2632
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2443
2633
|
|
|
2444
2634
|
### Return type
|
|
2445
2635
|
|
|
@@ -2465,7 +2655,7 @@ example().catch(console.error);
|
|
|
2465
2655
|
|
|
2466
2656
|
## searchCollections
|
|
2467
2657
|
|
|
2468
|
-
> SearchCollectionsResponse searchCollections(searchCollectionsRequest)
|
|
2658
|
+
> SearchCollectionsResponse searchCollections(xCldCloudName, searchCollectionsRequest)
|
|
2469
2659
|
|
|
2470
2660
|
Search collections
|
|
2471
2661
|
|
|
@@ -2489,6 +2679,8 @@ async function example() {
|
|
|
2489
2679
|
const api = new AssetManagementApi(config);
|
|
2490
2680
|
|
|
2491
2681
|
const body = {
|
|
2682
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2683
|
+
xCldCloudName: xCldCloudName_example,
|
|
2492
2684
|
// SearchCollectionsRequest (optional)
|
|
2493
2685
|
searchCollectionsRequest: ...,
|
|
2494
2686
|
} satisfies SearchCollectionsOperationRequest;
|
|
@@ -2510,6 +2702,7 @@ example().catch(console.error);
|
|
|
2510
2702
|
|
|
2511
2703
|
| Name | Type | Description | Notes |
|
|
2512
2704
|
|------------- | ------------- | ------------- | -------------|
|
|
2705
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2513
2706
|
| **searchCollectionsRequest** | [SearchCollectionsRequest](SearchCollectionsRequest.md) | | [Optional] |
|
|
2514
2707
|
|
|
2515
2708
|
### Return type
|
|
@@ -2537,7 +2730,7 @@ example().catch(console.error);
|
|
|
2537
2730
|
|
|
2538
2731
|
## searchTemplates
|
|
2539
2732
|
|
|
2540
|
-
> TemplateSearchResponse searchTemplates(publicId, folder, maxResults, nextCursor)
|
|
2733
|
+
> TemplateSearchResponse searchTemplates(publicId, folder, maxResults, nextCursor, xCldCloudName)
|
|
2541
2734
|
|
|
2542
2735
|
Search creative automation templates
|
|
2543
2736
|
|
|
@@ -2569,6 +2762,8 @@ async function example() {
|
|
|
2569
2762
|
maxResults: 56,
|
|
2570
2763
|
// string | Cursor for the next page of results (optional)
|
|
2571
2764
|
nextCursor: nextCursor_example,
|
|
2765
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2766
|
+
xCldCloudName: xCldCloudName_example,
|
|
2572
2767
|
} satisfies SearchTemplatesRequest;
|
|
2573
2768
|
|
|
2574
2769
|
try {
|
|
@@ -2592,6 +2787,7 @@ example().catch(console.error);
|
|
|
2592
2787
|
| **folder** | `string` | Limit results to assets under this folder path | [Optional] [Defaults to `undefined`] |
|
|
2593
2788
|
| **maxResults** | `number` | Maximum number of results per page | [Optional] [Defaults to `undefined`] |
|
|
2594
2789
|
| **nextCursor** | `string` | Cursor for the next page of results | [Optional] [Defaults to `undefined`] |
|
|
2790
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2595
2791
|
|
|
2596
2792
|
### Return type
|
|
2597
2793
|
|
|
@@ -2617,7 +2813,7 @@ example().catch(console.error);
|
|
|
2617
2813
|
|
|
2618
2814
|
## showCollection
|
|
2619
2815
|
|
|
2620
|
-
> Collection showCollection(collectionId, sortBy, maxResults, nextCursor, withMetadata)
|
|
2816
|
+
> Collection showCollection(collectionId, sortBy, maxResults, nextCursor, withMetadata, xCldCloudName)
|
|
2621
2817
|
|
|
2622
2818
|
Get a single collection with its assets
|
|
2623
2819
|
|
|
@@ -2651,6 +2847,8 @@ async function example() {
|
|
|
2651
2847
|
nextCursor: nextCursor_example,
|
|
2652
2848
|
// boolean | Include metadata (optional)
|
|
2653
2849
|
withMetadata: true,
|
|
2850
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2851
|
+
xCldCloudName: xCldCloudName_example,
|
|
2654
2852
|
} satisfies ShowCollectionRequest;
|
|
2655
2853
|
|
|
2656
2854
|
try {
|
|
@@ -2675,6 +2873,7 @@ example().catch(console.error);
|
|
|
2675
2873
|
| **maxResults** | `number` | Maximum number of assets to return | [Optional] [Defaults to `undefined`] |
|
|
2676
2874
|
| **nextCursor** | `string` | Pagination cursor | [Optional] [Defaults to `undefined`] |
|
|
2677
2875
|
| **withMetadata** | `boolean` | Include metadata | [Optional] [Defaults to `undefined`] |
|
|
2876
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2678
2877
|
|
|
2679
2878
|
### Return type
|
|
2680
2879
|
|
|
@@ -2701,7 +2900,7 @@ example().catch(console.error);
|
|
|
2701
2900
|
|
|
2702
2901
|
## showPortal
|
|
2703
2902
|
|
|
2704
|
-
> Portal showPortal(id)
|
|
2903
|
+
> Portal showPortal(id, xCldCloudName)
|
|
2705
2904
|
|
|
2706
2905
|
Get a portal
|
|
2707
2906
|
|
|
@@ -2727,6 +2926,8 @@ async function example() {
|
|
|
2727
2926
|
const body = {
|
|
2728
2927
|
// string | Portal ID
|
|
2729
2928
|
id: id_example,
|
|
2929
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
2930
|
+
xCldCloudName: xCldCloudName_example,
|
|
2730
2931
|
} satisfies ShowPortalRequest;
|
|
2731
2932
|
|
|
2732
2933
|
try {
|
|
@@ -2747,6 +2948,7 @@ example().catch(console.error);
|
|
|
2747
2948
|
| Name | Type | Description | Notes |
|
|
2748
2949
|
|------------- | ------------- | ------------- | -------------|
|
|
2749
2950
|
| **id** | `string` | Portal ID | [Defaults to `undefined`] |
|
|
2951
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2750
2952
|
|
|
2751
2953
|
### Return type
|
|
2752
2954
|
|
|
@@ -2773,7 +2975,7 @@ example().catch(console.error);
|
|
|
2773
2975
|
|
|
2774
2976
|
## showSavedSearch
|
|
2775
2977
|
|
|
2776
|
-
> SavedSearch showSavedSearch(id)
|
|
2978
|
+
> SavedSearch showSavedSearch(id, xCldCloudName)
|
|
2777
2979
|
|
|
2778
2980
|
Get a saved search
|
|
2779
2981
|
|
|
@@ -2799,6 +3001,8 @@ async function example() {
|
|
|
2799
3001
|
const body = {
|
|
2800
3002
|
// string | Saved search ID
|
|
2801
3003
|
id: id_example,
|
|
3004
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3005
|
+
xCldCloudName: xCldCloudName_example,
|
|
2802
3006
|
} satisfies ShowSavedSearchRequest;
|
|
2803
3007
|
|
|
2804
3008
|
try {
|
|
@@ -2819,6 +3023,7 @@ example().catch(console.error);
|
|
|
2819
3023
|
| Name | Type | Description | Notes |
|
|
2820
3024
|
|------------- | ------------- | ------------- | -------------|
|
|
2821
3025
|
| **id** | `string` | Saved search ID | [Defaults to `undefined`] |
|
|
3026
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2822
3027
|
|
|
2823
3028
|
### Return type
|
|
2824
3029
|
|
|
@@ -2845,7 +3050,7 @@ example().catch(console.error);
|
|
|
2845
3050
|
|
|
2846
3051
|
## updateAssetBackreferences
|
|
2847
3052
|
|
|
2848
|
-
> UpdateBackreferencesResponse updateAssetBackreferences(updateAssetBackreferencesRequest)
|
|
3053
|
+
> UpdateBackreferencesResponse updateAssetBackreferences(xCldCloudName, updateAssetBackreferencesRequest)
|
|
2849
3054
|
|
|
2850
3055
|
Create, update, or remove asset backreferences
|
|
2851
3056
|
|
|
@@ -2869,6 +3074,8 @@ async function example() {
|
|
|
2869
3074
|
const api = new AssetManagementApi(config);
|
|
2870
3075
|
|
|
2871
3076
|
const body = {
|
|
3077
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3078
|
+
xCldCloudName: xCldCloudName_example,
|
|
2872
3079
|
// UpdateAssetBackreferencesRequest (optional)
|
|
2873
3080
|
updateAssetBackreferencesRequest: ...,
|
|
2874
3081
|
} satisfies UpdateAssetBackreferencesOperationRequest;
|
|
@@ -2890,6 +3097,7 @@ example().catch(console.error);
|
|
|
2890
3097
|
|
|
2891
3098
|
| Name | Type | Description | Notes |
|
|
2892
3099
|
|------------- | ------------- | ------------- | -------------|
|
|
3100
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2893
3101
|
| **updateAssetBackreferencesRequest** | [UpdateAssetBackreferencesRequest](UpdateAssetBackreferencesRequest.md) | | [Optional] |
|
|
2894
3102
|
|
|
2895
3103
|
### Return type
|
|
@@ -2918,7 +3126,7 @@ example().catch(console.error);
|
|
|
2918
3126
|
|
|
2919
3127
|
## updateAssetMetadata
|
|
2920
3128
|
|
|
2921
|
-
> UpdateAssetMetadataResponse updateAssetMetadata(updateAssetMetadataRequest)
|
|
3129
|
+
> UpdateAssetMetadataResponse updateAssetMetadata(xCldCloudName, updateAssetMetadataRequest)
|
|
2922
3130
|
|
|
2923
3131
|
Update asset contextual and structured metadata
|
|
2924
3132
|
|
|
@@ -2942,6 +3150,8 @@ async function example() {
|
|
|
2942
3150
|
const api = new AssetManagementApi(config);
|
|
2943
3151
|
|
|
2944
3152
|
const body = {
|
|
3153
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3154
|
+
xCldCloudName: xCldCloudName_example,
|
|
2945
3155
|
// UpdateAssetMetadataRequest (optional)
|
|
2946
3156
|
updateAssetMetadataRequest: ...,
|
|
2947
3157
|
} satisfies UpdateAssetMetadataOperationRequest;
|
|
@@ -2963,6 +3173,7 @@ example().catch(console.error);
|
|
|
2963
3173
|
|
|
2964
3174
|
| Name | Type | Description | Notes |
|
|
2965
3175
|
|------------- | ------------- | ------------- | -------------|
|
|
3176
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
2966
3177
|
| **updateAssetMetadataRequest** | [UpdateAssetMetadataRequest](UpdateAssetMetadataRequest.md) | | [Optional] |
|
|
2967
3178
|
|
|
2968
3179
|
### Return type
|
|
@@ -2989,7 +3200,7 @@ example().catch(console.error);
|
|
|
2989
3200
|
|
|
2990
3201
|
## updateAssetTags
|
|
2991
3202
|
|
|
2992
|
-
> UpdateAssetTagsResponse updateAssetTags(resourceType, updateAssetTagsRequest)
|
|
3203
|
+
> UpdateAssetTagsResponse updateAssetTags(resourceType, xCldCloudName, updateAssetTagsRequest)
|
|
2993
3204
|
|
|
2994
3205
|
Add or remove a tag on assets
|
|
2995
3206
|
|
|
@@ -3015,6 +3226,8 @@ async function example() {
|
|
|
3015
3226
|
const body = {
|
|
3016
3227
|
// string | The resource type (e.g., image, video, raw)
|
|
3017
3228
|
resourceType: resourceType_example,
|
|
3229
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3230
|
+
xCldCloudName: xCldCloudName_example,
|
|
3018
3231
|
// UpdateAssetTagsRequest (optional)
|
|
3019
3232
|
updateAssetTagsRequest: ...,
|
|
3020
3233
|
} satisfies UpdateAssetTagsOperationRequest;
|
|
@@ -3037,6 +3250,7 @@ example().catch(console.error);
|
|
|
3037
3250
|
| Name | Type | Description | Notes |
|
|
3038
3251
|
|------------- | ------------- | ------------- | -------------|
|
|
3039
3252
|
| **resourceType** | `string` | The resource type (e.g., image, video, raw) | [Defaults to `undefined`] |
|
|
3253
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
3040
3254
|
| **updateAssetTagsRequest** | [UpdateAssetTagsRequest](UpdateAssetTagsRequest.md) | | [Optional] |
|
|
3041
3255
|
|
|
3042
3256
|
### Return type
|
|
@@ -3063,7 +3277,7 @@ example().catch(console.error);
|
|
|
3063
3277
|
|
|
3064
3278
|
## updateCollection
|
|
3065
3279
|
|
|
3066
|
-
> UpdateCollectionResponse updateCollection(collectionId, updateCollectionRequest)
|
|
3280
|
+
> UpdateCollectionResponse updateCollection(collectionId, xCldCloudName, updateCollectionRequest)
|
|
3067
3281
|
|
|
3068
3282
|
Update a collection
|
|
3069
3283
|
|
|
@@ -3089,6 +3303,8 @@ async function example() {
|
|
|
3089
3303
|
const body = {
|
|
3090
3304
|
// string | Collection external ID
|
|
3091
3305
|
collectionId: collectionId_example,
|
|
3306
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3307
|
+
xCldCloudName: xCldCloudName_example,
|
|
3092
3308
|
// UpdateCollectionRequest (optional)
|
|
3093
3309
|
updateCollectionRequest: ...,
|
|
3094
3310
|
} satisfies UpdateCollectionOperationRequest;
|
|
@@ -3111,6 +3327,7 @@ example().catch(console.error);
|
|
|
3111
3327
|
| Name | Type | Description | Notes |
|
|
3112
3328
|
|------------- | ------------- | ------------- | -------------|
|
|
3113
3329
|
| **collectionId** | `string` | Collection external ID | [Defaults to `undefined`] |
|
|
3330
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
3114
3331
|
| **updateCollectionRequest** | [UpdateCollectionRequest](UpdateCollectionRequest.md) | | [Optional] |
|
|
3115
3332
|
|
|
3116
3333
|
### Return type
|
|
@@ -3138,7 +3355,7 @@ example().catch(console.error);
|
|
|
3138
3355
|
|
|
3139
3356
|
## updatePortal
|
|
3140
3357
|
|
|
3141
|
-
> Portal updatePortal(id, updatePortalRequest)
|
|
3358
|
+
> Portal updatePortal(id, xCldCloudName, updatePortalRequest)
|
|
3142
3359
|
|
|
3143
3360
|
Update a portal
|
|
3144
3361
|
|
|
@@ -3164,6 +3381,8 @@ async function example() {
|
|
|
3164
3381
|
const body = {
|
|
3165
3382
|
// string | Portal ID
|
|
3166
3383
|
id: id_example,
|
|
3384
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3385
|
+
xCldCloudName: xCldCloudName_example,
|
|
3167
3386
|
// UpdatePortalRequest (optional)
|
|
3168
3387
|
updatePortalRequest: ...,
|
|
3169
3388
|
} satisfies UpdatePortalOperationRequest;
|
|
@@ -3186,6 +3405,7 @@ example().catch(console.error);
|
|
|
3186
3405
|
| Name | Type | Description | Notes |
|
|
3187
3406
|
|------------- | ------------- | ------------- | -------------|
|
|
3188
3407
|
| **id** | `string` | Portal ID | [Defaults to `undefined`] |
|
|
3408
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
3189
3409
|
| **updatePortalRequest** | [UpdatePortalRequest](UpdatePortalRequest.md) | | [Optional] |
|
|
3190
3410
|
|
|
3191
3411
|
### Return type
|
|
@@ -3213,7 +3433,7 @@ example().catch(console.error);
|
|
|
3213
3433
|
|
|
3214
3434
|
## updatePublicLink
|
|
3215
3435
|
|
|
3216
|
-
> PublicLinkResponse updatePublicLink(subjectType, subjectId, id, updatePublicLinkRequest)
|
|
3436
|
+
> PublicLinkResponse updatePublicLink(subjectType, subjectId, id, xCldCloudName, updatePublicLinkRequest)
|
|
3217
3437
|
|
|
3218
3438
|
Update a public link
|
|
3219
3439
|
|
|
@@ -3243,6 +3463,8 @@ async function example() {
|
|
|
3243
3463
|
subjectId: subjectId_example,
|
|
3244
3464
|
// string | Public link ID
|
|
3245
3465
|
id: id_example,
|
|
3466
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3467
|
+
xCldCloudName: xCldCloudName_example,
|
|
3246
3468
|
// UpdatePublicLinkRequest (optional)
|
|
3247
3469
|
updatePublicLinkRequest: ...,
|
|
3248
3470
|
} satisfies UpdatePublicLinkOperationRequest;
|
|
@@ -3267,6 +3489,7 @@ example().catch(console.error);
|
|
|
3267
3489
|
| **subjectType** | `string` | Type of the shared entity (e.g. collections) | [Defaults to `undefined`] |
|
|
3268
3490
|
| **subjectId** | `string` | External ID of the shared entity | [Defaults to `undefined`] |
|
|
3269
3491
|
| **id** | `string` | Public link ID | [Defaults to `undefined`] |
|
|
3492
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
3270
3493
|
| **updatePublicLinkRequest** | [UpdatePublicLinkRequest](UpdatePublicLinkRequest.md) | | [Optional] |
|
|
3271
3494
|
|
|
3272
3495
|
### Return type
|
|
@@ -3294,7 +3517,7 @@ example().catch(console.error);
|
|
|
3294
3517
|
|
|
3295
3518
|
## updateSavedSearch
|
|
3296
3519
|
|
|
3297
|
-
> UpdateSavedSearchResponse updateSavedSearch(id, createSavedSearchRequest)
|
|
3520
|
+
> UpdateSavedSearchResponse updateSavedSearch(id, xCldCloudName, createSavedSearchRequest)
|
|
3298
3521
|
|
|
3299
3522
|
Update a saved search
|
|
3300
3523
|
|
|
@@ -3320,6 +3543,8 @@ async function example() {
|
|
|
3320
3543
|
const body = {
|
|
3321
3544
|
// string | Saved search ID
|
|
3322
3545
|
id: id_example,
|
|
3546
|
+
// string | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. (optional)
|
|
3547
|
+
xCldCloudName: xCldCloudName_example,
|
|
3323
3548
|
// CreateSavedSearchRequest (optional)
|
|
3324
3549
|
createSavedSearchRequest: ...,
|
|
3325
3550
|
} satisfies UpdateSavedSearchRequest;
|
|
@@ -3342,6 +3567,7 @@ example().catch(console.error);
|
|
|
3342
3567
|
| Name | Type | Description | Notes |
|
|
3343
3568
|
|------------- | ------------- | ------------- | -------------|
|
|
3344
3569
|
| **id** | `string` | Saved search ID | [Defaults to `undefined`] |
|
|
3570
|
+
| **xCldCloudName** | `string` | Target Cloudinary cloud name. Required when using an account-level token that is not scoped to a cloud. This header, the request subdomain, and the token\'s own cloud must match wherever more than one is present — no source overrides another, and any disagreement is rejected with 400. | [Optional] [Defaults to `undefined`] |
|
|
3345
3571
|
| **createSavedSearchRequest** | [CreateSavedSearchRequest](CreateSavedSearchRequest.md) | | [Optional] |
|
|
3346
3572
|
|
|
3347
3573
|
### Return type
|