import { IHttpService, ISDKInfo } from '@kentico/kontent-core'; import { LanguageVariantElements } from '../models/language-variants/language-variant-elements-builder'; import { IManagementClientConfig } from '../config/imanagement-client-config.interface'; import { ContentItemContracts } from '../contracts'; import { AssetModels, ContentTypeModels, ContentTypeSnippetModels, IContentManagementQueryConfig, LanguageModels, TaxonomyModels, WebhookModels, WorkflowModels, AssetFolderModels, IContentManagementListQueryConfig, CollectionModels, ProjectUserModels } from '../models'; import { AssetFolderResponses, AssetResponses, BaseResponses, ContentItemResponses, ContentTypeResponses, ContentTypeSnippetResponses, LanguageResponses, LanguageVariantResponses, ProjectResponses, TaxonomyResponses, WebhookResponses, WorkflowResponses, GenericResponses, CollectionResponses, SubscriptionResponses, RoleResponses, ProjectUsersResponses } from '../responses'; import { BaseContentManagementQueryService } from './base-content-management-service.class'; export declare class ContentManagementQueryService extends BaseContentManagementQueryService { protected config: IManagementClientConfig; protected httpService: IHttpService; protected sdkInfo: ISDKInfo; constructor(config: IManagementClientConfig, httpService: IHttpService, sdkInfo: ISDKInfo); genericPostResponse(url: string, data: any, config: IContentManagementQueryConfig): Promise; genericPatchResponse(url: string, data: any, config: IContentManagementQueryConfig): Promise; genericDeleteResponse(url: string, config: IContentManagementQueryConfig): Promise; genericGetResponse(url: string, config: IContentManagementQueryConfig): Promise; genericPutResponse(url: string, data: any, config: IContentManagementQueryConfig): Promise; getListAllResponse(data: { getResponse: (xContinuationToken?: string) => Promise; allResponseFactory: (items: any[], responses: TResponse[]) => TAllResponse; listQueryConfig?: IContentManagementListQueryConfig; }): Promise; publishLanguageVariant(url: string, data: WorkflowModels.IPublishLanguageVariantData | undefined, config: IContentManagementQueryConfig): Promise; createNewVersionOfLanguageVariant(url: string, config: IContentManagementQueryConfig): Promise; unpublishLanguageVariant(url: string, data: WorkflowModels.IUnpublishLanguageVarianthData | undefined, config: IContentManagementQueryConfig): Promise; cancelScheduledPublishingOfLanguageVariant(url: string, config: IContentManagementQueryConfig): Promise; cancelScheduledUnpublishingOfLanguageVariant(url: string, config: IContentManagementQueryConfig): Promise; changeWorkflowStepOfLanguageVariant(url: string, config: IContentManagementQueryConfig): Promise; listWorkflowSteps(url: string, config: IContentManagementQueryConfig): Promise; addContentType(url: string, data: ContentTypeModels.IAddContentTypeData, config: IContentManagementQueryConfig): Promise; viewContentTypeSnippet(url: string, config: IContentManagementQueryConfig): Promise; deleteContentTypeSnippet(url: string, config: IContentManagementQueryConfig): Promise; addContentTypeSnippet(url: string, data: ContentTypeSnippetModels.IAddContentTypeSnippetData, config: IContentManagementQueryConfig): Promise; listContentTypeSnippets(url: string, config: IContentManagementQueryConfig): Promise; projectInformation(url: string, config: IContentManagementQueryConfig): Promise; validateProjectContent(url: string, data: { projectId: string; }, config: IContentManagementQueryConfig): Promise; deleteContentType(url: string, config: IContentManagementQueryConfig): Promise; modifyContentType(url: string, config: IContentManagementQueryConfig, data: ContentTypeModels.IModifyContentTypeData[]): Promise; modifyTaxonomy(url: string, config: IContentManagementQueryConfig, data: TaxonomyModels.IModifyTaxonomyData[]): Promise; modifyContentTypeSnippet(url: string, config: IContentManagementQueryConfig, data: ContentTypeSnippetModels.IModifyContentTypeSnippetData[]): Promise; viewContentType(url: string, config: IContentManagementQueryConfig): Promise; listContentTypes(url: string, config: IContentManagementQueryConfig): Promise; addTaxonomy(url: string, data: TaxonomyModels.IAddTaxonomyRequestModel, config: IContentManagementQueryConfig): Promise; deleteTaxonomy(url: string, config: IContentManagementQueryConfig): Promise; getTaxonomy(url: string, config: IContentManagementQueryConfig): Promise; listTaxonomies(url: string, config: IContentManagementQueryConfig): Promise; deleteAsset(url: string, config: IContentManagementQueryConfig): Promise; upsertAsset(url: string, data: AssetModels.IUpsertAssetRequestData, config: IContentManagementQueryConfig): Promise; addAsset(url: string, data: AssetModels.IAddAssetRequestData, config: IContentManagementQueryConfig): Promise; listSubscriptionProjects(url: string, config: IContentManagementQueryConfig): Promise; litSubscriptionUsers(url: string, config: IContentManagementQueryConfig): Promise; viewSubscriptionProject(url: string, config: IContentManagementQueryConfig): Promise; viewSubscriptionUser(url: string, config: IContentManagementQueryConfig): Promise; activateUserInAllProjects(url: string, config: IContentManagementQueryConfig): Promise; deactivateUserInAllProjects(url: string, config: IContentManagementQueryConfig): Promise; uploadAssetFromUrl(uploadBinaryFileUrl: string, addAssetUrl: string, data: AssetModels.IUploadAssetFromUrlRequestData, config: IContentManagementQueryConfig): Promise; uploadBinaryFile(url: string, data: AssetModels.IUploadBinaryFileRequestData, config: IContentManagementQueryConfig): Promise; viewAsset(url: string, config: IContentManagementQueryConfig): Promise; listAssets(url: string, config: IContentManagementQueryConfig): Promise; listContentItems(url: string, config: IContentManagementQueryConfig): Promise; viewContentItem(url: string, config: IContentManagementQueryConfig): Promise; addContentItem(url: string, data: ContentItemContracts.IAddContentItemPostContract, config: IContentManagementQueryConfig): Promise; upsertContentItem(url: string, data: ContentItemContracts.IUpsertContentItemPostContract, config: IContentManagementQueryConfig): Promise; updateContentItem(url: string, data: ContentItemContracts.IUpdateContentItemPostContract, config: IContentManagementQueryConfig): Promise; deleteContentItem(url: string, config: IContentManagementQueryConfig): Promise; deleteLanguageVariant(url: string, config: IContentManagementQueryConfig): Promise; upsertLanguageVariant(url: string, elements: LanguageVariantElements.ILanguageVariantElementBase[], config: IContentManagementQueryConfig): Promise; viewLanguageVariant(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsOfItem(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsOfContentTypeWithComponents(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsOfContentType(url: string, config: IContentManagementQueryConfig): Promise; listLanguageVariantsByCollection(url: string, config: IContentManagementQueryConfig): Promise; listLanguages(url: string, config: IContentManagementQueryConfig): Promise; viewLanguage(url: string, config: IContentManagementQueryConfig): Promise; addLanguage(url: string, config: IContentManagementQueryConfig, data: LanguageModels.IAddLanguageData): Promise; modifyLanguage(url: string, config: IContentManagementQueryConfig, data: LanguageModels.IModifyLanguageData[]): Promise; listWebhooks(url: string, config: IContentManagementQueryConfig): Promise; getWebhook(url: string, config: IContentManagementQueryConfig): Promise; addWebhook(url: string, config: IContentManagementQueryConfig, data: WebhookModels.IAddWebhookData): Promise; enableWebhook(url: string, config: IContentManagementQueryConfig): Promise; disableWebhook(url: string, config: IContentManagementQueryConfig): Promise; deleteWebhook(url: string, config: IContentManagementQueryConfig): Promise; listAssetFolders(url: string, config: IContentManagementQueryConfig): Promise; addAssetFolders(url: string, config: IContentManagementQueryConfig, data: AssetFolderModels.IAddAssetFoldersData): Promise; modifyAssetFolders(url: string, config: IContentManagementQueryConfig, data: AssetFolderModels.IModifyAssetFoldersData[]): Promise; listCollections(url: string, config: IContentManagementQueryConfig): Promise; listRoles(url: string, config: IContentManagementQueryConfig): Promise; viewRole(url: string, config: IContentManagementQueryConfig): Promise; setCollections(url: string, config: IContentManagementQueryConfig, data: CollectionModels.ISetCollectionData[]): Promise; inviteProjectUser(url: string, config: IContentManagementQueryConfig, data: ProjectUserModels.IInviteUserData): Promise; changeUserRoles(url: string, config: IContentManagementQueryConfig, data: ProjectUserModels.IChangeUserRoleData): Promise; private getListAllResponseInternalAsync; private sleep; }