import { IHttpService, ISDKInfo } from '@kontent-ai/core-sdk'; import { IManagementClientConfig } from '../config/imanagement-client-config.interface'; import { ContentItemContracts, LanguageVariantContracts } from '../contracts'; import { AssetModels, ContentTypeModels, ContentTypeSnippetModels, IContentManagementQueryConfig, LanguageModels, TaxonomyModels, WebhookModels, WorkflowModels, AssetFolderModels, IContentManagementListQueryConfig, CollectionModels, ProjectUserModels, AssetRenditionModels, SpaceModels, PreviewModels, WebSpotlightModels, CustomAppModels, LanguageVariantModels } from '../models'; import { AssetFolderResponses, AssetResponses, BaseResponses, ContentItemResponses, ContentTypeResponses, ContentTypeSnippetResponses, LanguageResponses, LanguageVariantResponses, TaxonomyResponses, WebhookResponses, WorkflowResponses, GenericResponses, CollectionResponses, SubscriptionResponses, RoleResponses, ProjectUsersResponses, AssetRenditionResponses, SpaceResponses, PreviewResponses, WebSpotlightResponses, CustomAppsResponses } from '../responses'; import { BaseManagementQueryService } from './base-management-service.class'; import { EnvironmentResponses } from '../responses/environments/environment-responses'; import { EnvironmentModels } from '../models/environments/environment.models'; export declare class ManagementQueryService extends BaseManagementQueryService { protected config: IManagementClientConfig; protected httpService: IHttpService; protected sdkInfo: ISDKInfo; constructor(config: IManagementClientConfig, httpService: IHttpService, sdkInfo: ISDKInfo); genericPostResponseAsync(url: string, data: any, config: IContentManagementQueryConfig): Promise; genericPatchResponseAsync(url: string, data: any, config: IContentManagementQueryConfig): Promise; genericDeleteResponseAsync(url: string, config: IContentManagementQueryConfig): Promise; genericGetResponseAsync(url: string, config: IContentManagementQueryConfig): Promise; genericPutResponseAsync(url: string, data: any, config: IContentManagementQueryConfig): Promise; getListAllResponseAsync(data: { getResponse: (xContinuationToken?: string) => Promise; allResponseFactory: (items: any[], responses: TResponse[]) => TAllResponse; listQueryConfig: IContentManagementListQueryConfig | undefined; }): Promise; publishLanguageVariantAsync(url: string, data: WorkflowModels.IPublishLanguageVariantData | undefined, config: IContentManagementQueryConfig): Promise; createNewVersionOfLanguageVariantAsync(url: string, config: IContentManagementQueryConfig): Promise; unpublishLanguageVariantAsync(url: string, data: WorkflowModels.IUnpublishLanguageVarianthData | undefined, config: IContentManagementQueryConfig): Promise; cancelScheduledPublishingOfLanguageVariantAsync(url: string, config: IContentManagementQueryConfig): Promise; cancelScheduledUnpublishingOfLanguageVariantAsync(url: string, config: IContentManagementQueryConfig): Promise; changeWorkflowOfLanguageVariantAsync(url: string, data: WorkflowModels.IChangeWorkflowOfLanguageVariantData, config: IContentManagementQueryConfig): Promise; listWorkflowsAsync(url: string, config: IContentManagementQueryConfig): Promise; addWorkflowAsync(url: string, config: IContentManagementQueryConfig, data: WorkflowModels.IAddWorkflowData): Promise; updateWorkflowAsync(url: string, config: IContentManagementQueryConfig, data: WorkflowModels.IUpdateWorkflowData): Promise; deleteWorkflowAsync(url: string, config: IContentManagementQueryConfig): Promise; viewContentTypeSnippetAsync(url: string, config: IContentManagementQueryConfig): Promise; deleteContentTypeSnippetAsync(url: string, config: IContentManagementQueryConfig): Promise; addContentTypeSnippetAsync(url: string, data: ContentTypeSnippetModels.IAddContentTypeSnippetData, config: IContentManagementQueryConfig): Promise; listContentTypeSnippetsAsync(url: string, config: IContentManagementQueryConfig): Promise; environmentInformationAsync(url: string, config: IContentManagementQueryConfig): Promise; listEnvironmentValidationIssuesAsync(url: string, config: IContentManagementQueryConfig): Promise; startEnvironmentValidationAsync(url: string, config: IContentManagementQueryConfig): Promise; checkEnvironmentValidationAsync(url: string, config: IContentManagementQueryConfig): Promise; addContentTypeAsync(url: string, data: ContentTypeModels.IAddContentTypeData, config: IContentManagementQueryConfig): Promise; deleteContentTypeAsync(url: string, config: IContentManagementQueryConfig): Promise; modifyContentTypeAsync(url: string, config: IContentManagementQueryConfig, data: ContentTypeModels.IModifyContentTypeData[]): Promise; modifyTaxonomyAsync(url: string, config: IContentManagementQueryConfig, data: TaxonomyModels.IModifyTaxonomyData[]): Promise; modifyContentTypeSnippetAsync(url: string, config: IContentManagementQueryConfig, data: ContentTypeSnippetModels.IModifyContentTypeSnippetData[]): Promise; viewContentTypeAsync(url: string, config: IContentManagementQueryConfig): Promise; listContentTypesAsync(url: string, config: IContentManagementQueryConfig): Promise; listAssetRenditionsAsync(url: string, config: IContentManagementQueryConfig): Promise; viewAssetRenditionAsync(url: string, config: IContentManagementQueryConfig): Promise; addAssetRenditionAsync(url: string, config: IContentManagementQueryConfig, data: AssetRenditionModels.IAddAssetRenditionData): Promise; modifyAssetRenditionAsync(url: string, config: IContentManagementQueryConfig, data: AssetRenditionModels.IModifyAssetRenditionData): Promise; addCustomAppAsync(url: string, data: CustomAppModels.IAddCustomAppData, config: IContentManagementQueryConfig): Promise; modifyCustomAppAsync(url: string, data: CustomAppModels.ModifyCustomAppOperation[], config: IContentManagementQueryConfig): Promise; deleteCustomAppAsync(url: string, config: IContentManagementQueryConfig): Promise; getCustomAppAsync(url: string, config: IContentManagementQueryConfig): Promise; listCustomAppsAsync(url: string, config: IContentManagementQueryConfig): Promise; addTaxonomyAsync(url: string, data: TaxonomyModels.IAddTaxonomyRequestModel, config: IContentManagementQueryConfig): Promise; deleteTaxonomyAsync(url: string, config: IContentManagementQueryConfig): Promise; getTaxonomyAsync(url: string, config: IContentManagementQueryConfig): Promise; listTaxonomiesAsync(url: string, config: IContentManagementQueryConfig): Promise; deleteAssetAsync(url: string, config: IContentManagementQueryConfig): Promise; upsertAssetAsync(url: string, data: AssetModels.IUpsertAssetRequestData, config: IContentManagementQueryConfig): Promise; addAssetAsync(url: string, data: AssetModels.IAddAssetRequestData, config: IContentManagementQueryConfig): Promise; listSubscriptionProjectsAsync(url: string, config: IContentManagementQueryConfig): Promise; litSubscriptionUsersAsync(url: string, config: IContentManagementQueryConfig): Promise; viewSubscriptionProjectAsync(url: string, config: IContentManagementQueryConfig): Promise; viewSubscriptionUserAsync(url: string, config: IContentManagementQueryConfig): Promise; activateUserInAllProjectsAsync(url: string, config: IContentManagementQueryConfig): Promise; deactivateUserInAllProjectsAsync(url: string, config: IContentManagementQueryConfig): Promise; uploadAssetFromUrlAsync(uploadBinaryFileUrl: string, addAssetUrl: string, data: AssetModels.IUploadAssetFromUrlRequestData, config: IContentManagementQueryConfig): Promise; uploadBinaryFileAsync(url: string, data: AssetModels.IUploadBinaryFileRequestData, config: IContentManagementQueryConfig): Promise; viewAssetAsync(url: string, config: IContentManagementQueryConfig): Promise; listAssetsAsync(url: string, config: IContentManagementQueryConfig): Promise; listContentItemsAsync(url: string, config: IContentManagementQueryConfig): Promise; viewContentItemAsync(url: string, config: IContentManagementQueryConfig): Promise; addContentItemAsync(url: string, data: ContentItemContracts.IAddContentItemPostContract, config: IContentManagementQueryConfig): Promise; upsertContentItemAsync(url: string, data: ContentItemContracts.IUpsertContentItemPostContract, config: IContentManagementQueryConfig): Promise; updateContentItemAsync(url: string, data: ContentItemContracts.IUpdateContentItemPostContract, config: IContentManagementQueryConfig): Promise; deleteContentItemAsync(url: string, config: IContentManagementQueryConfig): Promise; deleteLanguageVariantAsync(url: string, config: IContentManagementQueryConfig): Promise; upsertLanguageVariantAsync(url: string, data: LanguageVariantContracts.IUpsertLanguageVariantPostContract, config: IContentManagementQueryConfig): Promise; viewLanguageVariantAsync(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsOfItemAsync(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsOfContentTypeWithComponentsAsync(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsOfContentTypeAsync(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsByCollectionAsync(url: string, config: IContentManagementQueryConfig): Promise; filterItemsWithVariantsAsync(url: string, data: LanguageVariantModels.IFilterItemsWithVariantsData, config: IContentManagementQueryConfig): Promise; bulkGetItemsWithVariantsAsync(url: string, data: LanguageVariantModels.IBulkGetItemsWithVariantsData, config: IContentManagementQueryConfig): Promise; listLanguageVariantsBySpaceAsync(url: string, config: IContentManagementQueryConfig): Promise; listLanguagesAsync(url: string, config: IContentManagementQueryConfig): Promise; viewLanguageAsync(url: string, config: IContentManagementQueryConfig): Promise; addLanguageAsync(url: string, config: IContentManagementQueryConfig, data: LanguageModels.IAddLanguageData): Promise; modifyLanguageAsync(url: string, config: IContentManagementQueryConfig, data: LanguageModels.IModifyLanguageData[]): Promise; listWebhooksAsync(url: string, config: IContentManagementQueryConfig): Promise; getWebhookAsync(url: string, config: IContentManagementQueryConfig): Promise; addWebhookAsync(url: string, config: IContentManagementQueryConfig, data: WebhookModels.IAddWebhookData): Promise; enableWebhookAsync(url: string, config: IContentManagementQueryConfig): Promise; disableWebhookAsync(url: string, config: IContentManagementQueryConfig): Promise; deleteWebhookAsync(url: string, config: IContentManagementQueryConfig): Promise; listAssetFoldersAsync(url: string, config: IContentManagementQueryConfig): Promise; addAssetFoldersAsync(url: string, config: IContentManagementQueryConfig, data: AssetFolderModels.IAddAssetFoldersData): Promise; modifyAssetFoldersAsync(url: string, config: IContentManagementQueryConfig, data: AssetFolderModels.IModifyAssetFolderData[]): Promise; listCollectionsAsync(url: string, config: IContentManagementQueryConfig): Promise; listRolesAsync(url: string, config: IContentManagementQueryConfig): Promise; viewRoleAsync(url: string, config: IContentManagementQueryConfig): Promise; getPreviewConfigurationAsync(url: string, config: IContentManagementQueryConfig): Promise; modifyPreviewConfigurationAsync(url: string, config: IContentManagementQueryConfig, data: PreviewModels.IModifyPreviewConfigurationData): Promise; getLivePreviewConfigurationAsync(url: string, config: IContentManagementQueryConfig): Promise; changeLivePreviewConfigurationAsync(url: string, config: IContentManagementQueryConfig, data: PreviewModels.IChangeLivePreviewConfigurationData): Promise; setCollectionsAsync(url: string, config: IContentManagementQueryConfig, data: CollectionModels.ISetCollectionData[]): Promise; inviteProjectUserAsync(url: string, config: IContentManagementQueryConfig, data: ProjectUserModels.IInviteUserData): Promise; changeUserRolesAsync(url: string, config: IContentManagementQueryConfig, data: ProjectUserModels.IChangeUserRoleData): Promise; getEnvironmentCloningStateAsync(url: string, config: IContentManagementQueryConfig): Promise; deleteEnvironmentAsync(url: string, config: IContentManagementQueryConfig): Promise; modifyEnvironmentAsync(url: string, config: IContentManagementQueryConfig, data: EnvironmentModels.IModifyEnvironmentData[]): Promise; cloneEnvironmentAsync(url: string, config: IContentManagementQueryConfig, data: EnvironmentModels.ICloneEnvironmentData): Promise; markEnvironmentAsProductionAsync(url: string, config: IContentManagementQueryConfig, data: EnvironmentModels.IMarkEnvironmentAsProductionData): Promise; addSpaceAsync(url: string, data: SpaceModels.IAddSpaceData, config: IContentManagementQueryConfig): Promise; viewSpaceAsync(url: string, config: IContentManagementQueryConfig): Promise; listSpacesAsync(url: string, config: IContentManagementQueryConfig): Promise; deleteSpaceAsync(url: string, config: IContentManagementQueryConfig): Promise; modifySpaceAsync(url: string, config: IContentManagementQueryConfig, data: SpaceModels.IModifySpaceData[]): Promise; activateWebSpotlightAsync(url: string, config: IContentManagementQueryConfig, data: WebSpotlightModels.IActivateWebSpotlightData): Promise; deactivateWebSpotlightAsync(url: string, config: IContentManagementQueryConfig): Promise; checkWebSpotlightStatusAsync(url: string, config: IContentManagementQueryConfig): Promise; private getListAllResponseInternalAsync; private sleepAsync; }