declare module "wix-multilingual.v2" { /** Holds the current status of the translation credits of the current site */ interface CreditData extends CreditDataTypeOneOf { /** * Quota available for the site * @readonly */ limitedQuota?: LimitedQuota; /** already used quota */ creditsUsed?: number | null; /** Quota type - a number or limitless */ quotaType?: Quota; } /** @oneof */ interface CreditDataTypeOneOf { /** * Quota available for the site * @readonly */ limitedQuota?: LimitedQuota; } enum Quota { UNKNOWN = "UNKNOWN", /** represents a limited quota */ LIMITED = "LIMITED", /** represents limitless quota */ LIMITLESS = "LIMITLESS" } interface LimitedQuota { /** quota for */ quota?: number | null; } interface GetCreditDataRequest { } interface GetCreditDataResponse { /** Current credit status for the requested site */ creditData?: CreditData; } interface CheckSufficientCreditsRequest { /** Number of words to check for translation eligibility */ wordCount?: number; } interface CheckSufficientCreditsResponse { /** Indicates whether the site has enough credits for the requested word count */ sufficientCredits?: boolean; } interface ReportCreditUsageRequest { /** Number of credits used in the translation operation */ used?: number; } interface ReportCreditUsageResponse { /** Updated credit status after reporting usage */ creditData?: CreditData; } interface UpdateCreditRequest { /** New credit status to be set for the site */ creditData?: CreditData; } interface UpdateCreditResponse { /** Updated credit status after the change */ creditData?: CreditData; } /** * Retrieves the current credit status for the requested site * @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.GET_CREDITS * @adminMethod */ function getCreditData(): Promise; /** * Checks if a site has enough credits for a specific number of words to be translated * @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.GET_IS_ELIGIBLE * @adminMethod */ function checkSufficientCredits(options?: CheckSufficientCreditsOptions): Promise; interface CheckSufficientCreditsOptions { /** Number of words to check for translation eligibility */ wordCount?: number; } type multilingualMachineV1Credit_universal_d_CreditData = CreditData; type multilingualMachineV1Credit_universal_d_CreditDataTypeOneOf = CreditDataTypeOneOf; type multilingualMachineV1Credit_universal_d_Quota = Quota; const multilingualMachineV1Credit_universal_d_Quota: typeof Quota; type multilingualMachineV1Credit_universal_d_LimitedQuota = LimitedQuota; type multilingualMachineV1Credit_universal_d_GetCreditDataRequest = GetCreditDataRequest; type multilingualMachineV1Credit_universal_d_GetCreditDataResponse = GetCreditDataResponse; type multilingualMachineV1Credit_universal_d_CheckSufficientCreditsRequest = CheckSufficientCreditsRequest; type multilingualMachineV1Credit_universal_d_CheckSufficientCreditsResponse = CheckSufficientCreditsResponse; type multilingualMachineV1Credit_universal_d_ReportCreditUsageRequest = ReportCreditUsageRequest; type multilingualMachineV1Credit_universal_d_ReportCreditUsageResponse = ReportCreditUsageResponse; type multilingualMachineV1Credit_universal_d_UpdateCreditRequest = UpdateCreditRequest; type multilingualMachineV1Credit_universal_d_UpdateCreditResponse = UpdateCreditResponse; const multilingualMachineV1Credit_universal_d_getCreditData: typeof getCreditData; const multilingualMachineV1Credit_universal_d_checkSufficientCredits: typeof checkSufficientCredits; type multilingualMachineV1Credit_universal_d_CheckSufficientCreditsOptions = CheckSufficientCreditsOptions; namespace multilingualMachineV1Credit_universal_d { export { multilingualMachineV1Credit_universal_d_CreditData as CreditData, multilingualMachineV1Credit_universal_d_CreditDataTypeOneOf as CreditDataTypeOneOf, multilingualMachineV1Credit_universal_d_Quota as Quota, multilingualMachineV1Credit_universal_d_LimitedQuota as LimitedQuota, multilingualMachineV1Credit_universal_d_GetCreditDataRequest as GetCreditDataRequest, multilingualMachineV1Credit_universal_d_GetCreditDataResponse as GetCreditDataResponse, multilingualMachineV1Credit_universal_d_CheckSufficientCreditsRequest as CheckSufficientCreditsRequest, multilingualMachineV1Credit_universal_d_CheckSufficientCreditsResponse as CheckSufficientCreditsResponse, multilingualMachineV1Credit_universal_d_ReportCreditUsageRequest as ReportCreditUsageRequest, multilingualMachineV1Credit_universal_d_ReportCreditUsageResponse as ReportCreditUsageResponse, multilingualMachineV1Credit_universal_d_UpdateCreditRequest as UpdateCreditRequest, multilingualMachineV1Credit_universal_d_UpdateCreditResponse as UpdateCreditResponse, multilingualMachineV1Credit_universal_d_getCreditData as getCreditData, multilingualMachineV1Credit_universal_d_checkSufficientCredits as checkSufficientCredits, multilingualMachineV1Credit_universal_d_CheckSufficientCreditsOptions as CheckSufficientCreditsOptions, }; } interface Mapper { _id?: string | null; /** The FQDN of the entity the mapper refer to of exist */ entityFqdn?: string; /** The entity fqn - this is unique across wix */ entityFqn?: string; /** The appDefId that the entity belongs to */ appId?: string; /** A list of fields to translate from the entity */ fields?: MapperField[]; /** The name of field that hold the parent name (if exist) */ groupByNameFieldId?: string | null; /** Flag to turn off sync data to localization upon domain events */ ignoreDomainEvents?: boolean | null; /** The segment of the entity */ segment?: string | null; /** flag that indicate the removing a repeated field in main language should remove it in all languages */ deleteRepeatedFields?: boolean | null; /** Whether the entity can bt extended by Data Extensions */ extensible?: boolean | null; /** The schema id that the mapper points to */ schemaId?: string | null; } interface MapperField { /** The field FQN */ _id?: string; /** The field Type as it's shown in localization schema */ type?: FieldType$1; /** If the field is part of a repeated fields */ sequencePath?: SequencePath[]; /** Option to override the field mask (the default is the id) */ overrideMask?: string | null; } enum FieldType$1 { /** Undefined field type */ UNDEFINED_TYPE = "UNDEFINED_TYPE", /** Short text TEXT */ SHORT_TEXT = "SHORT_TEXT", /** Long Plain Text TEXT */ LONG_TEXT = "LONG_TEXT", /** Long text including styles, images, links and more... HTML */ RICH_TEXT = "RICH_TEXT", /** Wix Rich-Content-Editor format RICO */ RICH_CONTENT_EDITOR = "RICH_CONTENT_EDITOR", /** Choose one from many options CSV TEXT */ SELECTION = "SELECTION", /** Choose multi items from many options */ MULTI_SELECTION = "MULTI_SELECTION", /** Wix document media item */ DOCUMENT = "DOCUMENT", /** Wix Image media item */ IMAGE = "IMAGE", /** Wix Video media item */ VIDEO = "VIDEO", /** Image URL without metadata */ IMAGE_LINK = "IMAGE_LINK", /** contain an XML representation of an entity or part of it */ XML = "XML" } interface SequencePath { /** The name of the sequence the field is a part of */ name?: string; /** The name of the field hold the id in the entity */ fieldId?: string; } interface Empty$3 { } interface DomainEvent$3 extends DomainEventBodyOneOf$3 { createdEvent?: EntityCreatedEvent$3; updatedEvent?: EntityUpdatedEvent$3; deletedEvent?: EntityDeletedEvent$3; actionEvent?: ActionEvent$3; /** * Unique event ID. * Allows clients to ignore duplicate webhooks. */ _id?: string; /** * Assumes actions are also always typed to an entity_type * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction */ entityFqdn?: string; /** * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug) * This is although the created/updated/deleted notion is duplication of the oneof types * Example: created/updated/deleted/started/completed/email_opened */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number defining the order of updates to the underlying entity. * For example, given that some entity was updated at 16:00 and than again at 16:01, * it is guaranteed that the sequence number of the second update is strictly higher than the first. * As the consumer, you can use this value to ensure that you handle messages in the correct order. * To do so, you will need to persist this number on your end, and compare the sequence number from the * message against the one you have stored. Given that the stored number is higher, you should ignore the message. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf$3 { createdEvent?: EntityCreatedEvent$3; updatedEvent?: EntityUpdatedEvent$3; deletedEvent?: EntityDeletedEvent$3; actionEvent?: ActionEvent$3; } interface EntityCreatedEvent$3 { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo$3; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo$3 { deletedDate?: Date | null; } interface EntityUpdatedEvent$3 { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * WIP - This property will hold both names and previous values of the updated fields of the entity. * For more details please see [adr](https://docs.google.com/document/d/1PdqsOM20Ph2HAkmx8zvUnzzk3Sekp3BR9h34wSvsRnI/edit#heading=h.phlw87mh2imx) or [issue](https://github.com/wix-private/nile-tracker/issues/363) * @internal */ modifiedFields?: Record; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent$3 { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted */ deletedEntityAsJson?: string | null; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent$3 { bodyAsJson?: string; } interface LocalizedPublishedLanguageContentChanged { /** The action that changed the content */ action?: LocalizationPublicAction; /** token to identify the flow this event is part of and the total number of event in this flow. */ flowToken?: string | null; } interface LocalizedPublishedContent { /** UUID identifier for content. */ contentId?: string; /** compound key identifier for content. */ contentKey?: LocalizedContentKey; /** content IETF BCP 47 language tag */ languageTag?: string; /** localized content list of published fields. */ languagePublishedFields?: LocalizedPublishedContentField[]; /** Optional field that will group in the UI contents with the same group name */ groupByName?: string | null; } interface LocalizedContentKey { /** Schema unique key identifier */ schemaKey?: SchemaKey$2; /** Unique identifier that represents a specific entity in the app */ entityId?: string; } interface SchemaKey$2 { /** ID of app that created the schema. */ appId?: string; /** Unique name defined by the creator app, used to distinguish between different entities in the the app domain. */ entityType?: string; /** Scope schema is defined in (Global/Site) */ scope?: SchemaScope$2; } enum SchemaScope$2 { /** Global schema, relevant to all sites */ GLOBAL = "GLOBAL", /** Site schema, relevant to specific site only */ SITE = "SITE" } /** contains only information relevant to UoU */ interface LocalizedPublishedContentField extends LocalizedPublishedContentFieldValueOneOf { /** Field actual localized content as simple text type */ textValue?: string; /** Field actual localized content as rich content editor type */ wixRichContentEditorValue?: string; /** Field actual localized content as media type (image, video or document) */ mediaValue?: MediaItem; /** Field unique identifier. This id has to fit to a schema field id. */ _id?: string; /** In case field is reachable via sequence/s, this array represents all the sequences names in the path, and their corresponding item id. */ sequencePath?: FieldSequence[]; } /** @oneof */ interface LocalizedPublishedContentFieldValueOneOf { /** Field actual localized content as simple text type */ textValue?: string; /** Field actual localized content as rich content editor type */ wixRichContentEditorValue?: string; /** Field actual localized content as media type (image, video or document) */ mediaValue?: MediaItem; } interface MediaItem extends MediaItemMediaOneOf { /** Image media item */ image?: string; /** Video media item */ video?: string; /** Document media item */ document?: string; } /** @oneof */ interface MediaItemMediaOneOf { /** Image media item */ image?: string; /** Video media item */ video?: string; /** Document media item */ document?: string; } interface FocalPoint$1 { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } interface VideoResolution$2 { /** Video URL. */ url?: string; /** Video height. */ height?: number; /** Video width. */ width?: number; /** * Deprecated. Use the `posters` property in the parent entity instead. * @internal * @deprecated */ poster?: string; /** Video format for example, mp4, hls. */ format?: string; /** * Deprecated. Use the `urlExpirationDate` property in the parent entity instead. * @internal * @deprecated */ urlExpirationDate?: Date | null; /** * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution. * @internal * @deprecated */ sizeInBytes?: string | null; /** * Video quality. For example: 480p, 720p. * @internal */ quality?: string | null; /** * Video filename. * @internal */ filename?: string | null; /** * Video duration in seconds. * @internal * @readonly * @deprecated Video duration in seconds. * @replacedBy duration_in_milliseconds * @targetRemovalDate 2024-08-01 */ durationInSeconds?: number | null; /** * Video duration in milliseconds. * @internal * @readonly */ durationInMilliseconds?: number | null; /** * When true, this is a protected asset, and calling the URL will return a 403 error. * In order to access private assets, make a request to: * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request * @internal * @readonly */ private?: boolean | null; /** * Key to identify the video resolution's relationship to the original media in WixMedia. * Can be used to request a download for the specific video resolution. * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4 * @internal * @readonly */ assetKey?: string | null; } interface FieldSequence { /** Name of sequence */ seqName?: string; /** Id of relevant item in the sequence */ itemId?: string; /** Optional field - in case set sequences will be ordered by priority index (best effort) */ priorityIndex?: number | null; } interface CreateOrUpdateAction { /** The new Localized published state */ localizedPublishedContent?: LocalizedPublishedContent; } interface DeleteAction { /** compound key identifier for removed content. */ contentKey?: LocalizedContentKey; /** content IETF BCP 47 language tag */ languageTag?: string; } interface LocalizationPublicAction extends LocalizationPublicActionActionOneOf { /** Content has changes in its fields */ createOrUpdateAction?: CreateOrUpdateAction; /** Content deleted */ deleteAction?: DeleteAction; } /** @oneof */ interface LocalizationPublicActionActionOneOf { /** Content has changes in its fields */ createOrUpdateAction?: CreateOrUpdateAction; /** Content deleted */ deleteAction?: DeleteAction; } interface CreateOrUpdateNileMapperRequest { /** A mapper to create or update if already exist */ mapper?: Mapper; /** if true don't send pods notify kafka event */ skipPodsNotify?: boolean | null; } interface CreateOrUpdateNileMapperResponse { } interface GetEntityMapperRequest { /** App id of the mapper requested */ appId?: string; /** Entity fqn of the mapper requested */ entityFqn?: string; } interface GetEntityMapperResponse { /** Mapper requested */ entityMapper?: Mapper; } interface ListEntityMapperRequest { /** App id of the mapper requested */ appId?: string | null; /** Entity fqn of the mapper requested */ entityFqn?: string | null; } interface ListEntityMapperResponse { /** Mapper requested */ mappers?: Mapper[]; } interface DeleteEntityMapperRequest { /** App id of the mapper to delete */ appId?: string; /** Entity fqn of the mapper to delete */ entityFqn?: string; } interface DeleteEntityMapperResponse { } interface GetSubscribedTopicsRequest { } interface GetSubscribedTopicsResponse { /** List of subscribed topics */ topics?: string[]; } interface MessageEnvelope$3 { /** App instance ID. */ instanceId?: string | null; /** Event type. */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData$3; /** Stringify payload. */ data?: string; } interface IdentificationData$3 extends IdentificationDataIdOneOf$3 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; /** @readonly */ identityType?: WebhookIdentityType$3; } /** @oneof */ interface IdentificationDataIdOneOf$3 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; } enum WebhookIdentityType$3 { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } interface HtmlNewRevisionSavedMessage { /** HTML Site ID */ siteId?: string; /** Newly saved revision */ revision?: string; /** Restored from revision */ restoredFrom?: string | null; /** Optional meta site id */ metaSiteId?: string | null; /** Date that this version was updated (same as created) */ updateDate?: string; /** determine whether this site uses responsive editor */ isResponsive?: boolean; /** optional branch id if revision saved on branch */ branchId?: string | null; /** determine if the new revision is a result of override save */ overrideSave?: boolean; /** Optional last transaction id */ lastTransactionId?: string | null; /** optional branch id if revision restored from branch */ restoredFromBranchId?: string | null; /** information of revision prior to save revision operation */ lastRevisionInfo?: RevisionInfo; /** new revision pages */ pages?: Page[]; /** the pages that were changed from the last save. Operations such as clone and restore will return an empty response at the moment. */ changedPages?: ChangedPages; /** id of the main page of the site */ mainPageId?: string; /** correlation id of original process (allows callers of createRevision to identify their revisions) */ originCorrelationId?: string | null; } interface RevisionInfo { /** revision number */ revision?: string; /** last_transaction_id of revision */ lastTransactionId?: string | null; } interface Page { /** Page's Id */ _id?: string; } interface ChangedPages { /** list of updated_pages */ updatedPages?: Page[]; /** list of deleted_pages */ deletedPages?: Page[]; } interface SyncEditorDataRequest { /** an optional filter for syncing the content */ syncFilter?: SyncFilter; } interface SyncFilter { /** content IETF BCP 47 language tag */ languageTag?: string; } interface SyncEditorDataResponse { } interface PublishSiteTranslationsRequest { /** A language to publish it's language */ language?: string; } interface PublishSiteTranslationsResponse { } interface CreateOrUpdateEditorMapperRequest { /** A mapper to create or update if already exist */ mapper: Mapper; } interface CreateOrUpdateEditorMapperResponse { } interface GetMapperRequest { /** The mapper type requested */ entityType: string; } interface GetMapperResponse { /** The mapper with the entity type requested */ mapper?: Mapper; } interface DeleteMapperRequest { /** The entity type to delete from the service */ entityType: string; } interface DeleteMapperResponse { } interface ListMappersRequest { } interface ListMappersResponse { /** all mappers known to editor adapter */ mappers?: Mapper[]; } interface StressDMRequest { /** the meta site id to stress */ metaSiteId?: string; } interface StressDMResponse { } /** * Update localization content with editor data * @public * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.TRANSLATE_APPS * @adminMethod */ function syncEditorData(options?: SyncEditorDataOptions): Promise; interface SyncEditorDataOptions { /** an optional filter for syncing the content */ syncFilter?: SyncFilter; } /** * Update publish content in editor with the latest saved content * @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.TRANSLATE_APPS * @adminMethod */ function publishSiteTranslations(options?: PublishSiteTranslationsOptions): Promise; interface PublishSiteTranslationsOptions { /** A language to publish it's language */ language?: string; } /** * Update a mapper of create one if it doesn't exist * @param mapper - A mapper to create or update if already exist * @internal * @documentationMaturity preview * @requiredField mapper * @requiredField mapper.entityFqn * @permissionId WIX_MULTILINGUAL.MANAGE_EDITOR_MAPPER * @adminMethod */ function createOrUpdateEditorMapper(mapper: Mapper): Promise; /** * Get mapper by entity type * @param entityType - The mapper type requested * @internal * @documentationMaturity preview * @requiredField entityType * @permissionId WIX_MULTILINGUAL.MANAGE_EDITOR_MAPPER * @adminMethod */ function getMapper(entityType: string): Promise; /** * Delete a mapper from the service * @param entityType - The entity type to delete from the service * @internal * @documentationMaturity preview * @requiredField entityType * @permissionId WIX_MULTILINGUAL.MANAGE_EDITOR_MAPPER * @adminMethod */ function deleteMapper(entityType: string): Promise; /** * List all mappers known to service * @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.MANAGE_EDITOR_MAPPER * @adminMethod */ function listMappers(): Promise; /** * Stress test * @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.MANAGE_EDITOR_MAPPER * @adminMethod */ function stressDm(options?: StressDmOptions): Promise; interface StressDmOptions { /** the meta site id to stress */ metaSiteId?: string; } type multilingualGenericconverterV1EntityMapper_universal_d_Mapper = Mapper; type multilingualGenericconverterV1EntityMapper_universal_d_MapperField = MapperField; type multilingualGenericconverterV1EntityMapper_universal_d_SequencePath = SequencePath; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedLanguageContentChanged = LocalizedPublishedLanguageContentChanged; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedContent = LocalizedPublishedContent; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizedContentKey = LocalizedContentKey; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedContentField = LocalizedPublishedContentField; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedContentFieldValueOneOf = LocalizedPublishedContentFieldValueOneOf; type multilingualGenericconverterV1EntityMapper_universal_d_MediaItem = MediaItem; type multilingualGenericconverterV1EntityMapper_universal_d_MediaItemMediaOneOf = MediaItemMediaOneOf; type multilingualGenericconverterV1EntityMapper_universal_d_FieldSequence = FieldSequence; type multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateAction = CreateOrUpdateAction; type multilingualGenericconverterV1EntityMapper_universal_d_DeleteAction = DeleteAction; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizationPublicAction = LocalizationPublicAction; type multilingualGenericconverterV1EntityMapper_universal_d_LocalizationPublicActionActionOneOf = LocalizationPublicActionActionOneOf; type multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateNileMapperRequest = CreateOrUpdateNileMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateNileMapperResponse = CreateOrUpdateNileMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_GetEntityMapperRequest = GetEntityMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_GetEntityMapperResponse = GetEntityMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_ListEntityMapperRequest = ListEntityMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_ListEntityMapperResponse = ListEntityMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_DeleteEntityMapperRequest = DeleteEntityMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_DeleteEntityMapperResponse = DeleteEntityMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_GetSubscribedTopicsRequest = GetSubscribedTopicsRequest; type multilingualGenericconverterV1EntityMapper_universal_d_GetSubscribedTopicsResponse = GetSubscribedTopicsResponse; type multilingualGenericconverterV1EntityMapper_universal_d_HtmlNewRevisionSavedMessage = HtmlNewRevisionSavedMessage; type multilingualGenericconverterV1EntityMapper_universal_d_RevisionInfo = RevisionInfo; type multilingualGenericconverterV1EntityMapper_universal_d_Page = Page; type multilingualGenericconverterV1EntityMapper_universal_d_ChangedPages = ChangedPages; type multilingualGenericconverterV1EntityMapper_universal_d_SyncEditorDataRequest = SyncEditorDataRequest; type multilingualGenericconverterV1EntityMapper_universal_d_SyncFilter = SyncFilter; type multilingualGenericconverterV1EntityMapper_universal_d_SyncEditorDataResponse = SyncEditorDataResponse; type multilingualGenericconverterV1EntityMapper_universal_d_PublishSiteTranslationsRequest = PublishSiteTranslationsRequest; type multilingualGenericconverterV1EntityMapper_universal_d_PublishSiteTranslationsResponse = PublishSiteTranslationsResponse; type multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateEditorMapperRequest = CreateOrUpdateEditorMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateEditorMapperResponse = CreateOrUpdateEditorMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_GetMapperRequest = GetMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_GetMapperResponse = GetMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_DeleteMapperRequest = DeleteMapperRequest; type multilingualGenericconverterV1EntityMapper_universal_d_DeleteMapperResponse = DeleteMapperResponse; type multilingualGenericconverterV1EntityMapper_universal_d_ListMappersRequest = ListMappersRequest; type multilingualGenericconverterV1EntityMapper_universal_d_ListMappersResponse = ListMappersResponse; type multilingualGenericconverterV1EntityMapper_universal_d_StressDMRequest = StressDMRequest; type multilingualGenericconverterV1EntityMapper_universal_d_StressDMResponse = StressDMResponse; const multilingualGenericconverterV1EntityMapper_universal_d_syncEditorData: typeof syncEditorData; type multilingualGenericconverterV1EntityMapper_universal_d_SyncEditorDataOptions = SyncEditorDataOptions; const multilingualGenericconverterV1EntityMapper_universal_d_publishSiteTranslations: typeof publishSiteTranslations; type multilingualGenericconverterV1EntityMapper_universal_d_PublishSiteTranslationsOptions = PublishSiteTranslationsOptions; const multilingualGenericconverterV1EntityMapper_universal_d_createOrUpdateEditorMapper: typeof createOrUpdateEditorMapper; const multilingualGenericconverterV1EntityMapper_universal_d_getMapper: typeof getMapper; const multilingualGenericconverterV1EntityMapper_universal_d_deleteMapper: typeof deleteMapper; const multilingualGenericconverterV1EntityMapper_universal_d_listMappers: typeof listMappers; const multilingualGenericconverterV1EntityMapper_universal_d_stressDm: typeof stressDm; type multilingualGenericconverterV1EntityMapper_universal_d_StressDmOptions = StressDmOptions; namespace multilingualGenericconverterV1EntityMapper_universal_d { export { multilingualGenericconverterV1EntityMapper_universal_d_Mapper as Mapper, multilingualGenericconverterV1EntityMapper_universal_d_MapperField as MapperField, FieldType$1 as FieldType, multilingualGenericconverterV1EntityMapper_universal_d_SequencePath as SequencePath, Empty$3 as Empty, DomainEvent$3 as DomainEvent, DomainEventBodyOneOf$3 as DomainEventBodyOneOf, EntityCreatedEvent$3 as EntityCreatedEvent, RestoreInfo$3 as RestoreInfo, EntityUpdatedEvent$3 as EntityUpdatedEvent, EntityDeletedEvent$3 as EntityDeletedEvent, ActionEvent$3 as ActionEvent, multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedLanguageContentChanged as LocalizedPublishedLanguageContentChanged, multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedContent as LocalizedPublishedContent, multilingualGenericconverterV1EntityMapper_universal_d_LocalizedContentKey as LocalizedContentKey, SchemaKey$2 as SchemaKey, SchemaScope$2 as SchemaScope, multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedContentField as LocalizedPublishedContentField, multilingualGenericconverterV1EntityMapper_universal_d_LocalizedPublishedContentFieldValueOneOf as LocalizedPublishedContentFieldValueOneOf, multilingualGenericconverterV1EntityMapper_universal_d_MediaItem as MediaItem, multilingualGenericconverterV1EntityMapper_universal_d_MediaItemMediaOneOf as MediaItemMediaOneOf, FocalPoint$1 as FocalPoint, VideoResolution$2 as VideoResolution, multilingualGenericconverterV1EntityMapper_universal_d_FieldSequence as FieldSequence, multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateAction as CreateOrUpdateAction, multilingualGenericconverterV1EntityMapper_universal_d_DeleteAction as DeleteAction, multilingualGenericconverterV1EntityMapper_universal_d_LocalizationPublicAction as LocalizationPublicAction, multilingualGenericconverterV1EntityMapper_universal_d_LocalizationPublicActionActionOneOf as LocalizationPublicActionActionOneOf, multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateNileMapperRequest as CreateOrUpdateNileMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateNileMapperResponse as CreateOrUpdateNileMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_GetEntityMapperRequest as GetEntityMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_GetEntityMapperResponse as GetEntityMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_ListEntityMapperRequest as ListEntityMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_ListEntityMapperResponse as ListEntityMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_DeleteEntityMapperRequest as DeleteEntityMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_DeleteEntityMapperResponse as DeleteEntityMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_GetSubscribedTopicsRequest as GetSubscribedTopicsRequest, multilingualGenericconverterV1EntityMapper_universal_d_GetSubscribedTopicsResponse as GetSubscribedTopicsResponse, MessageEnvelope$3 as MessageEnvelope, IdentificationData$3 as IdentificationData, IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, WebhookIdentityType$3 as WebhookIdentityType, multilingualGenericconverterV1EntityMapper_universal_d_HtmlNewRevisionSavedMessage as HtmlNewRevisionSavedMessage, multilingualGenericconverterV1EntityMapper_universal_d_RevisionInfo as RevisionInfo, multilingualGenericconverterV1EntityMapper_universal_d_Page as Page, multilingualGenericconverterV1EntityMapper_universal_d_ChangedPages as ChangedPages, multilingualGenericconverterV1EntityMapper_universal_d_SyncEditorDataRequest as SyncEditorDataRequest, multilingualGenericconverterV1EntityMapper_universal_d_SyncFilter as SyncFilter, multilingualGenericconverterV1EntityMapper_universal_d_SyncEditorDataResponse as SyncEditorDataResponse, multilingualGenericconverterV1EntityMapper_universal_d_PublishSiteTranslationsRequest as PublishSiteTranslationsRequest, multilingualGenericconverterV1EntityMapper_universal_d_PublishSiteTranslationsResponse as PublishSiteTranslationsResponse, multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateEditorMapperRequest as CreateOrUpdateEditorMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_CreateOrUpdateEditorMapperResponse as CreateOrUpdateEditorMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_GetMapperRequest as GetMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_GetMapperResponse as GetMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_DeleteMapperRequest as DeleteMapperRequest, multilingualGenericconverterV1EntityMapper_universal_d_DeleteMapperResponse as DeleteMapperResponse, multilingualGenericconverterV1EntityMapper_universal_d_ListMappersRequest as ListMappersRequest, multilingualGenericconverterV1EntityMapper_universal_d_ListMappersResponse as ListMappersResponse, multilingualGenericconverterV1EntityMapper_universal_d_StressDMRequest as StressDMRequest, multilingualGenericconverterV1EntityMapper_universal_d_StressDMResponse as StressDMResponse, multilingualGenericconverterV1EntityMapper_universal_d_syncEditorData as syncEditorData, multilingualGenericconverterV1EntityMapper_universal_d_SyncEditorDataOptions as SyncEditorDataOptions, multilingualGenericconverterV1EntityMapper_universal_d_publishSiteTranslations as publishSiteTranslations, multilingualGenericconverterV1EntityMapper_universal_d_PublishSiteTranslationsOptions as PublishSiteTranslationsOptions, multilingualGenericconverterV1EntityMapper_universal_d_createOrUpdateEditorMapper as createOrUpdateEditorMapper, multilingualGenericconverterV1EntityMapper_universal_d_getMapper as getMapper, multilingualGenericconverterV1EntityMapper_universal_d_deleteMapper as deleteMapper, multilingualGenericconverterV1EntityMapper_universal_d_listMappers as listMappers, multilingualGenericconverterV1EntityMapper_universal_d_stressDm as stressDm, multilingualGenericconverterV1EntityMapper_universal_d_StressDmOptions as StressDmOptions, }; } interface PublishedContent { /** * Published content ID. * @readonly */ _id?: string | null; /** Schema key of the published content. */ schemaKey?: SchemaKey$1; /** * A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`. * @readonly */ entityId?: string; /** * Published content locale. * @readonly */ locale?: string; /** List of fields that have been translated and published for the given locale. */ fields?: PublishedContentField[]; /** A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to. */ parentEntityId?: string | null; /** Custom field data for the published content object. */ extendedFields?: ExtendedFields; } interface SchemaKey$1 { /** * ID of the app that created the schema. * @readonly */ appId?: string; /** A unique name defined by the app developer to differentiate translation schemas for various entities within their app. For example, if an app developer is creating a translation schema for blog posts, the `entityType` can be `'blog-posts'`. */ entityType?: string; /** * Scope of the translation schema. * Supported values: * + `GLOBAL`: A global schema for all sites. * + `SITE`: A custom schema for a specific site. */ scope?: SchemaScope$1; } enum SchemaScope$1 { UNKNOWN_SCOPE = "UNKNOWN_SCOPE", /** Global schema for all sites. */ GLOBAL = "GLOBAL", /** Custom schema for a specific site. */ SITE = "SITE" } interface PublishedContentField extends PublishedContentFieldValueOneOf { /** Plain text. */ textValue?: string; /** Rich content. */ richContent?: RichContent$2; /** Wix Media Manager image. */ image?: string; /** Wix Media Manager video. */ video?: string; /** Wix Media Manager document. */ document?: string; /** * Unique string identifier that links a specific content field to its corresponding field in the schema. * @readonly */ schemaFieldKey?: string; /** For repeated fields. Contains the IDs of the messages linked to this field. */ sequenceIds?: string[]; } /** @oneof */ interface PublishedContentFieldValueOneOf { /** Plain text. */ textValue?: string; /** Rich content. */ richContent?: RichContent$2; /** Wix Media Manager image. */ image?: string; /** Wix Media Manager video. */ video?: string; /** Wix Media Manager document. */ document?: string; } interface RichContent$2 { /** Node objects representing a rich content document. */ nodes?: Node$2[]; /** Object metadata. */ metadata?: Metadata$2; /** Global styling for header, paragraph, block quote, and code block nodes in the object. */ documentStyle?: DocumentStyle$2; } interface Node$2 extends NodeDataOneOf$2 { /** Data for a button node. */ buttonData?: ButtonData$2; /** Data for a code block node. */ codeBlockData?: CodeBlockData$2; /** Data for a divider node. */ dividerData?: DividerData$2; /** Data for a file node. */ fileData?: FileData$2; /** Data for a gallery node. */ galleryData?: GalleryData$2; /** Data for a GIF node. */ gifData?: GIFData$2; /** Data for a heading node. */ headingData?: HeadingData$2; /** Data for an embedded HTML node. */ htmlData?: HTMLData$2; /** Data for an image node. */ imageData?: ImageData$2; /** Data for a link preview node. */ linkPreviewData?: LinkPreviewData$2; /** Data for a map node. */ mapData?: MapData$2; /** Data for a paragraph node. */ paragraphData?: ParagraphData$2; /** Data for a poll node. */ pollData?: PollData$2; /** Data for a text node. Used to apply decorations to text. */ textData?: TextData$2; /** Data for an app embed node. */ appEmbedData?: AppEmbedData$2; /** Data for a video node. */ videoData?: VideoData$2; /** Data for an oEmbed node. */ embedData?: EmbedData$2; /** Data for a collapsible list node. */ collapsibleListData?: CollapsibleListData$2; /** Data for a table node. */ tableData?: TableData$2; /** Data for a table cell node. */ tableCellData?: TableCellData$2; /** Data for a custom external node. */ externalData?: Record | null; /** Data for an audio node. */ audioData?: AudioData$2; /** Data for an ordered list node. */ orderedListData?: OrderedListData$2; /** Data for a bulleted list node. */ bulletedListData?: BulletedListData$2; /** Data for a block quote node. */ blockquoteData?: BlockquoteData$2; /** Data for a caption node. */ captionData?: CaptionData$2; /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */ type?: NodeType$2; /** Node ID. */ _id?: string; /** A list of child nodes. */ nodes?: Node$2[]; /** Padding and background color styling for the node. */ style?: NodeStyle$2; } /** @oneof */ interface NodeDataOneOf$2 { /** Data for a button node. */ buttonData?: ButtonData$2; /** Data for a code block node. */ codeBlockData?: CodeBlockData$2; /** Data for a divider node. */ dividerData?: DividerData$2; /** Data for a file node. */ fileData?: FileData$2; /** Data for a gallery node. */ galleryData?: GalleryData$2; /** Data for a GIF node. */ gifData?: GIFData$2; /** Data for a heading node. */ headingData?: HeadingData$2; /** Data for an embedded HTML node. */ htmlData?: HTMLData$2; /** Data for an image node. */ imageData?: ImageData$2; /** Data for a link preview node. */ linkPreviewData?: LinkPreviewData$2; /** Data for a map node. */ mapData?: MapData$2; /** Data for a paragraph node. */ paragraphData?: ParagraphData$2; /** Data for a poll node. */ pollData?: PollData$2; /** Data for a text node. Used to apply decorations to text. */ textData?: TextData$2; /** Data for an app embed node. */ appEmbedData?: AppEmbedData$2; /** Data for a video node. */ videoData?: VideoData$2; /** Data for an oEmbed node. */ embedData?: EmbedData$2; /** Data for a collapsible list node. */ collapsibleListData?: CollapsibleListData$2; /** Data for a table node. */ tableData?: TableData$2; /** Data for a table cell node. */ tableCellData?: TableCellData$2; /** Data for a custom external node. */ externalData?: Record | null; /** Data for an audio node. */ audioData?: AudioData$2; /** Data for an ordered list node. */ orderedListData?: OrderedListData$2; /** Data for a bulleted list node. */ bulletedListData?: BulletedListData$2; /** Data for a block quote node. */ blockquoteData?: BlockquoteData$2; /** Data for a caption node. */ captionData?: CaptionData$2; } enum NodeType$2 { PARAGRAPH = "PARAGRAPH", TEXT = "TEXT", HEADING = "HEADING", BULLETED_LIST = "BULLETED_LIST", ORDERED_LIST = "ORDERED_LIST", LIST_ITEM = "LIST_ITEM", BLOCKQUOTE = "BLOCKQUOTE", CODE_BLOCK = "CODE_BLOCK", VIDEO = "VIDEO", DIVIDER = "DIVIDER", FILE = "FILE", GALLERY = "GALLERY", GIF = "GIF", HTML = "HTML", IMAGE = "IMAGE", LINK_PREVIEW = "LINK_PREVIEW", MAP = "MAP", POLL = "POLL", APP_EMBED = "APP_EMBED", BUTTON = "BUTTON", COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST", TABLE = "TABLE", EMBED = "EMBED", COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM", COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE", COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY", TABLE_CELL = "TABLE_CELL", TABLE_ROW = "TABLE_ROW", EXTERNAL = "EXTERNAL", AUDIO = "AUDIO", CAPTION = "CAPTION" } interface NodeStyle$2 { /** The top padding value in pixels. */ paddingTop?: string | null; /** The bottom padding value in pixels. */ paddingBottom?: string | null; /** The background color as a hexadecimal value. */ backgroundColor?: string | null; } interface ButtonData$2 { /** Styling for the button's container. */ containerData?: PluginContainerData$2; /** The button type. */ type?: Type$2; /** Styling for the button. */ styles?: Styles$2; /** The text to display on the button. */ text?: string | null; /** Button link details. */ link?: Link$2; } interface Border$2 { /** Border width in pixels. */ width?: number | null; /** Border radius in pixels. */ radius?: number | null; } interface Colors$2 { /** The text color as a hexadecimal value. */ text?: string | null; /** The border color as a hexadecimal value. */ border?: string | null; /** The background color as a hexadecimal value. */ background?: string | null; } interface PluginContainerData$2 { /** The width of the node when it's displayed. */ width?: PluginContainerDataWidth$2; /** The node's alignment within its container. */ alignment?: PluginContainerDataAlignment$2; /** Spoiler cover settings for the node. */ spoiler?: Spoiler$2; /** The height of the node when it's displayed. */ height?: Height$2; /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */ textWrap?: boolean | null; } enum WidthType$2 { /** Width matches the content width */ CONTENT = "CONTENT", /** Small Width */ SMALL = "SMALL", /** Width will match the original asset width */ ORIGINAL = "ORIGINAL", /** coast-to-coast display */ FULL_WIDTH = "FULL_WIDTH" } interface PluginContainerDataWidth$2 extends PluginContainerDataWidthDataOneOf$2 { /** * One of the following predefined width options: * `CONTENT`: The width of the container matches the content width. * `SMALL`: A small width. * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen. */ size?: WidthType$2; /** A custom width value in pixels. */ custom?: string | null; } /** @oneof */ interface PluginContainerDataWidthDataOneOf$2 { /** * One of the following predefined width options: * `CONTENT`: The width of the container matches the content width. * `SMALL`: A small width. * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen. */ size?: WidthType$2; /** A custom width value in pixels. */ custom?: string | null; } enum PluginContainerDataAlignment$2 { /** Center Alignment */ CENTER = "CENTER", /** Left Alignment */ LEFT = "LEFT", /** Right Alignment */ RIGHT = "RIGHT" } interface Spoiler$2 { /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */ enabled?: boolean | null; /** The description displayed on top of the spoiler cover. */ description?: string | null; /** The text for the button used to remove the spoiler cover. */ buttonText?: string | null; } interface Height$2 { /** A custom height value in pixels. */ custom?: string | null; } enum Type$2 { /** Regular link button */ LINK = "LINK", /** Triggers custom action that is defined in plugin configuration by the consumer */ ACTION = "ACTION" } interface Styles$2 { /** Border attributes. */ border?: Border$2; /** Color attributes. */ colors?: Colors$2; } interface Link$2 extends LinkDataOneOf$2 { /** The absolute URL for the linked document. */ url?: string; /** The target node's ID. Used for linking to another node in this object. */ anchor?: string; /** * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows: * `SELF` - Default. Opens the linked document in the same frame as the link. * `BLANK` - Opens the linked document in a new browser tab or window. * `PARENT` - Opens the linked document in the link's parent frame. * `TOP` - Opens the linked document in the full body of the link's browser tab or window. */ target?: Target$2; /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */ rel?: Rel$2; /** A serialized object used for a custom or external link panel. */ customData?: string | null; } /** @oneof */ interface LinkDataOneOf$2 { /** The absolute URL for the linked document. */ url?: string; /** The target node's ID. Used for linking to another node in this object. */ anchor?: string; } enum Target$2 { /** Opens the linked document in the same frame as it was clicked (this is default) */ SELF = "SELF", /** Opens the linked document in a new window or tab */ BLANK = "BLANK", /** Opens the linked document in the parent frame */ PARENT = "PARENT", /** Opens the linked document in the full body of the window */ TOP = "TOP" } interface Rel$2 { /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */ nofollow?: boolean | null; /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */ sponsored?: boolean | null; /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */ ugc?: boolean | null; /** Indicates that this link protect referral information from being passed to the target website. */ noreferrer?: boolean | null; } interface CodeBlockData$2 { /** Styling for the code block's text. */ textStyle?: TextStyle$2; } interface TextStyle$2 { /** Text alignment. Defaults to `AUTO`. */ textAlignment?: TextAlignment$2; /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */ lineHeight?: string | null; } enum TextAlignment$2 { /** browser default, eqivalent to `initial` */ AUTO = "AUTO", /** Left align */ LEFT = "LEFT", /** Right align */ RIGHT = "RIGHT", /** Center align */ CENTER = "CENTER", /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ JUSTIFY = "JUSTIFY" } interface DividerData$2 { /** Styling for the divider's container. */ containerData?: PluginContainerData$2; /** Divider line style. */ lineStyle?: LineStyle$2; /** Divider width. */ width?: Width$2; /** Divider alignment. */ alignment?: Alignment$2; } enum LineStyle$2 { /** Single Line */ SINGLE = "SINGLE", /** Double Line */ DOUBLE = "DOUBLE", /** Dashed Line */ DASHED = "DASHED", /** Dotted Line */ DOTTED = "DOTTED" } enum Width$2 { /** Large line */ LARGE = "LARGE", /** Medium line */ MEDIUM = "MEDIUM", /** Small line */ SMALL = "SMALL" } enum Alignment$2 { /** Center alignment */ CENTER = "CENTER", /** Left alignment */ LEFT = "LEFT", /** Right alignment */ RIGHT = "RIGHT" } interface FileData$2 { /** Styling for the file's container. */ containerData?: PluginContainerData$2; /** The source for the file's data. */ src?: FileSource$2; /** File name. */ name?: string | null; /** File type. */ type?: string | null; /** * Use `sizeInKb` instead. * @deprecated */ size?: number | null; /** Settings for PDF files. */ pdfSettings?: PDFSettings$2; /** File MIME type. */ mimeType?: string | null; /** File path. */ path?: string | null; /** File size in KB. */ sizeInKb?: string | null; } enum ViewMode$2 { /** No PDF view */ NONE = "NONE", /** Full PDF view */ FULL = "FULL", /** Mini PDF view */ MINI = "MINI" } interface FileSource$2 extends FileSourceDataOneOf$2 { /** The absolute URL for the file's source. */ url?: string | null; /** * Custom ID. Use `id` instead. * @deprecated */ custom?: string | null; /** An ID that's resolved to a URL by a resolver function. */ _id?: string | null; /** Indicates whether the file's source is private. Defaults to `false`. */ private?: boolean | null; } /** @oneof */ interface FileSourceDataOneOf$2 { /** The absolute URL for the file's source. */ url?: string | null; /** * Custom ID. Use `id` instead. * @deprecated */ custom?: string | null; /** An ID that's resolved to a URL by a resolver function. */ _id?: string | null; } interface PDFSettings$2 { /** * PDF view mode. One of the following: * `NONE` : The PDF isn't displayed. * `FULL` : A full page view of the PDF is displayed. * `MINI` : A mini view of the PDF is displayed. */ viewMode?: ViewMode$2; /** Sets whether the PDF download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Sets whether the PDF print button is disabled. Defaults to `false`. */ disablePrint?: boolean | null; } interface GalleryData$2 { /** Styling for the gallery's container. */ containerData?: PluginContainerData$2; /** The items in the gallery. */ items?: Item$2[]; /** Options for defining the gallery's appearance. */ options?: GalleryOptions$2; /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */ disableExpand?: boolean | null; /** Sets whether the gallery's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; } interface Media$2 { /** The source for the media's data. */ src?: FileSource$2; /** Media width in pixels. */ width?: number | null; /** Media height in pixels. */ height?: number | null; /** Media duration in seconds. Only relevant for audio and video files. */ duration?: number | null; } interface Image$2 { /** Image file details. */ media?: Media$2; /** Link details for images that are links. */ link?: Link$2; } interface Video$2 { /** Video file details. */ media?: Media$2; /** Video thumbnail file details. */ thumbnail?: Media$2; } interface Item$2 extends ItemDataOneOf$2 { /** An image item. */ image?: Image$2; /** A video item. */ video?: Video$2; /** Item title. */ title?: string | null; /** Item's alternative text. */ altText?: string | null; } /** @oneof */ interface ItemDataOneOf$2 { /** An image item. */ image?: Image$2; /** A video item. */ video?: Video$2; } interface GalleryOptions$2 { /** Gallery layout. */ layout?: Layout$2; /** Styling for gallery items. */ item?: ItemStyle$2; /** Styling for gallery thumbnail images. */ thumbnails?: Thumbnails$2; } enum LayoutType$2 { /** Collage type */ COLLAGE = "COLLAGE", /** Masonry type */ MASONRY = "MASONRY", /** Grid type */ GRID = "GRID", /** Thumbnail type */ THUMBNAIL = "THUMBNAIL", /** Slider type */ SLIDER = "SLIDER", /** Slideshow type */ SLIDESHOW = "SLIDESHOW", /** Panorama type */ PANORAMA = "PANORAMA", /** Column type */ COLUMN = "COLUMN", /** Magic type */ MAGIC = "MAGIC", /** Fullsize images type */ FULLSIZE = "FULLSIZE" } enum Orientation$2 { /** Rows Orientation */ ROWS = "ROWS", /** Columns Orientation */ COLUMNS = "COLUMNS" } enum Crop$2 { /** Crop to fill */ FILL = "FILL", /** Crop to fit */ FIT = "FIT" } enum ThumbnailsAlignment$2 { /** Top alignment */ TOP = "TOP", /** Right alignment */ RIGHT = "RIGHT", /** Bottom alignment */ BOTTOM = "BOTTOM", /** Left alignment */ LEFT = "LEFT", /** No thumbnail */ NONE = "NONE" } interface Layout$2 { /** Gallery layout type. */ type?: LayoutType$2; /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */ horizontalScroll?: boolean | null; /** Gallery orientation. */ orientation?: Orientation$2; /** The number of columns to display on full size screens. */ numberOfColumns?: number | null; /** The number of columns to display on mobile screens. */ mobileNumberOfColumns?: number | null; } interface ItemStyle$2 { /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */ targetSize?: number | null; /** Item ratio */ ratio?: number | null; /** Sets how item images are cropped. */ crop?: Crop$2; /** The spacing between items in pixels. */ spacing?: number | null; } interface Thumbnails$2 { /** Thumbnail alignment. */ placement?: ThumbnailsAlignment$2; /** Spacing between thumbnails in pixels. */ spacing?: number | null; } interface GIFData$2 { /** Styling for the GIF's container. */ containerData?: PluginContainerData$2; /** The source of the full size GIF. */ original?: GIF$2; /** The source of the downsized GIF. */ downsized?: GIF$2; /** Height in pixels. */ height?: number; /** Width in pixels. */ width?: number; } interface GIF$2 { /** GIF format URL. */ gif?: string | null; /** MP4 format URL. */ mp4?: string | null; /** Thumbnail URL. */ still?: string | null; } interface HeadingData$2 { /** Heading level from 1-6. */ level?: number; /** Styling for the heading text. */ textStyle?: TextStyle$2; /** Indentation level from 1-4. */ indentation?: number | null; } interface HTMLData$2 extends HTMLDataDataOneOf$2 { /** The URL for the HTML code for the node. */ url?: string; /** The HTML code for the node. */ html?: string; /** * Whether this is an AdSense element. Use `source` instead. * @deprecated */ isAdsense?: boolean | null; /** Styling for the HTML node's container. */ containerData?: PluginContainerData$2; /** The type of HTML code. */ source?: Source$2; } /** @oneof */ interface HTMLDataDataOneOf$2 { /** The URL for the HTML code for the node. */ url?: string; /** The HTML code for the node. */ html?: string; /** * Whether this is an AdSense element. Use `source` instead. * @deprecated */ isAdsense?: boolean | null; } enum Source$2 { HTML = "HTML", ADSENSE = "ADSENSE" } interface ImageData$2 { /** Styling for the image's container. */ containerData?: PluginContainerData$2; /** Image file details. */ image?: Media$2; /** Link details for images that are links. */ link?: Link$2; /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */ disableExpand?: boolean | null; /** Image's alternative text. */ altText?: string | null; /** * Deprecated: use Caption node instead. * @deprecated */ caption?: string | null; /** Sets whether the image's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; } interface LinkPreviewData$2 { /** Styling for the link preview's container. */ containerData?: PluginContainerData$2; /** Link details. */ link?: Link$2; /** Preview title. */ title?: string | null; /** Preview thumbnail URL. */ thumbnailUrl?: string | null; /** Preview description. */ description?: string | null; /** The preview content as HTML. */ html?: string | null; } interface MapData$2 { /** Styling for the map's container. */ containerData?: PluginContainerData$2; /** Map settings. */ mapSettings?: MapSettings$2; } interface MapSettings$2 { /** The address to display on the map. */ address?: string | null; /** Sets whether the map is draggable. */ draggable?: boolean | null; /** Sets whether the location marker is visible. */ marker?: boolean | null; /** Sets whether street view control is enabled. */ streetViewControl?: boolean | null; /** Sets whether zoom control is enabled. */ zoomControl?: boolean | null; /** Location latitude. */ lat?: number | null; /** Location longitude. */ lng?: number | null; /** Location name. */ locationName?: string | null; /** Sets whether view mode control is enabled. */ viewModeControl?: boolean | null; /** Initial zoom value. */ initialZoom?: number | null; /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */ mapType?: MapType$2; } enum MapType$2 { /** Roadmap map type */ ROADMAP = "ROADMAP", /** Satellite map type */ SATELITE = "SATELITE", /** Hybrid map type */ HYBRID = "HYBRID", /** Terrain map type */ TERRAIN = "TERRAIN" } interface ParagraphData$2 { /** Styling for the paragraph text. */ textStyle?: TextStyle$2; /** Indentation level from 1-4. */ indentation?: number | null; /** Paragraph level */ level?: number | null; } interface PollData$2 { /** Styling for the poll's container. */ containerData?: PluginContainerData$2; /** Poll data. */ poll?: Poll$2; /** Layout settings for the poll and voting options. */ layout?: PollDataLayout$2; /** Styling for the poll and voting options. */ design?: Design$2; } enum ViewRole$2 { /** Only Poll creator can view the results */ CREATOR = "CREATOR", /** Anyone who voted can see the results */ VOTERS = "VOTERS", /** Anyone can see the results, even if one didn't vote */ EVERYONE = "EVERYONE" } enum VoteRole$2 { /** Logged in member */ SITE_MEMBERS = "SITE_MEMBERS", /** Anyone */ ALL = "ALL" } interface Permissions$2 { /** Sets who can view the poll results. */ view?: ViewRole$2; /** Sets who can vote. */ vote?: VoteRole$2; /** Sets whether one voter can vote multiple times. Defaults to `false`. */ allowMultipleVotes?: boolean | null; } interface Option$2 { /** Option ID. */ _id?: string | null; /** Option title. */ title?: string | null; /** The image displayed with the option. */ image?: Media$2; } interface Settings$2 { /** Permissions settings for voting. */ permissions?: Permissions$2; /** Sets whether voters are displayed in the vote results. Defaults to `true`. */ showVoters?: boolean | null; /** Sets whether the vote count is displayed. Defaults to `true`. */ showVotesCount?: boolean | null; } enum PollLayoutType$2 { /** List */ LIST = "LIST", /** Grid */ GRID = "GRID" } enum PollLayoutDirection$2 { /** Left-to-right */ LTR = "LTR", /** Right-to-left */ RTL = "RTL" } interface PollLayout$2 { /** The layout for displaying the voting options. */ type?: PollLayoutType$2; /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */ direction?: PollLayoutDirection$2; /** Sets whether to display the main poll image. Defaults to `false`. */ enableImage?: boolean | null; } interface OptionLayout$2 { /** Sets whether to display option images. Defaults to `false`. */ enableImage?: boolean | null; } enum BackgroundType$2 { /** Color background type */ COLOR = "COLOR", /** Image background type */ IMAGE = "IMAGE", /** Gradiant background type */ GRADIENT = "GRADIENT" } interface Gradient$2 { /** The gradient angle in degrees. */ angle?: number | null; /** The start color as a hexademical value. */ startColor?: string | null; /** The end color as a hexademical value. */ lastColor?: string | null; } interface Background$2 extends BackgroundBackgroundOneOf$2 { /** The background color as a hexademical value. */ color?: string | null; /** An image to use for the background. */ image?: Media$2; /** Details for a gradient background. */ gradient?: Gradient$2; /** Background type. For each option, include the relevant details. */ type?: BackgroundType$2; } /** @oneof */ interface BackgroundBackgroundOneOf$2 { /** The background color as a hexademical value. */ color?: string | null; /** An image to use for the background. */ image?: Media$2; /** Details for a gradient background. */ gradient?: Gradient$2; } interface PollDesign$2 { /** Background styling. */ background?: Background$2; /** Border radius in pixels. */ borderRadius?: number | null; } interface OptionDesign$2 { /** Border radius in pixels. */ borderRadius?: number | null; } interface Poll$2 { /** Poll ID. */ _id?: string | null; /** Poll title. */ title?: string | null; /** Poll creator ID. */ creatorId?: string | null; /** Main poll image. */ image?: Media$2; /** Voting options. */ options?: Option$2[]; /** The poll's permissions and display settings. */ settings?: Settings$2; } interface PollDataLayout$2 { /** Poll layout settings. */ poll?: PollLayout$2; /** Voting otpions layout settings. */ options?: OptionLayout$2; } interface Design$2 { /** Styling for the poll. */ poll?: PollDesign$2; /** Styling for voting options. */ options?: OptionDesign$2; } interface TextData$2 { /** The text to apply decorations to. */ text?: string; /** The decorations to apply. */ decorations?: Decoration$2[]; } /** Adds appearence changes to text */ interface Decoration$2 extends DecorationDataOneOf$2 { /** Data for an anchor link decoration. */ anchorData?: AnchorData$2; /** Data for a color decoration. */ colorData?: ColorData$2; /** Data for an external link decoration. */ linkData?: LinkData$2; /** Data for a mention decoration. */ mentionData?: MentionData$2; /** Data for a font size decoration. */ fontSizeData?: FontSizeData$2; /** Font weight for a bold decoration. */ fontWeightValue?: number | null; /** Data for an italic decoration. Defaults to `true`. */ italicData?: boolean | null; /** Data for an underline decoration. Defaults to `true`. */ underlineData?: boolean | null; /** Data for a spoiler decoration. */ spoilerData?: SpoilerData$2; /** The type of decoration to apply. */ type?: DecorationType$2; } /** @oneof */ interface DecorationDataOneOf$2 { /** Data for an anchor link decoration. */ anchorData?: AnchorData$2; /** Data for a color decoration. */ colorData?: ColorData$2; /** Data for an external link decoration. */ linkData?: LinkData$2; /** Data for a mention decoration. */ mentionData?: MentionData$2; /** Data for a font size decoration. */ fontSizeData?: FontSizeData$2; /** Font weight for a bold decoration. */ fontWeightValue?: number | null; /** Data for an italic decoration. Defaults to `true`. */ italicData?: boolean | null; /** Data for an underline decoration. Defaults to `true`. */ underlineData?: boolean | null; /** Data for a spoiler decoration. */ spoilerData?: SpoilerData$2; } enum DecorationType$2 { BOLD = "BOLD", ITALIC = "ITALIC", UNDERLINE = "UNDERLINE", SPOILER = "SPOILER", ANCHOR = "ANCHOR", MENTION = "MENTION", LINK = "LINK", COLOR = "COLOR", FONT_SIZE = "FONT_SIZE", EXTERNAL = "EXTERNAL" } interface AnchorData$2 { /** The target node's ID. */ anchor?: string; } interface ColorData$2 { /** The text's background color as a hexadecimal value. */ background?: string | null; /** The text's foreground color as a hexadecimal value. */ foreground?: string | null; } interface LinkData$2 { /** Link details. */ link?: Link$2; } interface MentionData$2 { /** The mentioned user's name. */ name?: string; /** The version of the user's name that appears after the `@` character in the mention. */ slug?: string; /** Mentioned user's ID. */ _id?: string | null; } interface FontSizeData$2 { /** The units used for the font size. */ unit?: FontType$2; /** Font size value. */ value?: number | null; } enum FontType$2 { PX = "PX", EM = "EM" } interface SpoilerData$2 { /** Spoiler ID. */ _id?: string | null; } interface AppEmbedData$2 extends AppEmbedDataAppDataOneOf$2 { /** Data for embedded Wix Bookings content. */ bookingData?: BookingData$2; /** Data for embedded Wix Events content. */ eventData?: EventData$2; /** The type of Wix App content being embedded. */ type?: AppType$2; /** The ID of the embedded content. */ itemId?: string | null; /** The name of the embedded content. */ name?: string | null; /** * Deprecated: Use `image` instead. * @deprecated */ imageSrc?: string | null; /** The URL for the embedded content. */ url?: string | null; /** An image for the embedded content. */ image?: Media$2; } /** @oneof */ interface AppEmbedDataAppDataOneOf$2 { /** Data for embedded Wix Bookings content. */ bookingData?: BookingData$2; /** Data for embedded Wix Events content. */ eventData?: EventData$2; } enum AppType$2 { PRODUCT = "PRODUCT", EVENT = "EVENT", BOOKING = "BOOKING" } interface BookingData$2 { /** Booking duration in minutes. */ durations?: string | null; } interface EventData$2 { /** Event schedule. */ scheduling?: string | null; /** Event location. */ location?: string | null; } interface VideoData$2 { /** Styling for the video's container. */ containerData?: PluginContainerData$2; /** Video details. */ video?: Media$2; /** Video thumbnail details. */ thumbnail?: Media$2; /** Sets whether the video's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Video title. */ title?: string | null; /** Video options. */ options?: PlaybackOptions$2; } interface PlaybackOptions$2 { /** Sets whether the media will automatically start playing. */ autoPlay?: boolean | null; /** Sets whether media's will be looped. */ playInLoop?: boolean | null; /** Sets whether media's controls will be shown. */ showControls?: boolean | null; } interface EmbedData$2 { /** Styling for the oEmbed node's container. */ containerData?: PluginContainerData$2; /** An [oEmbed](https://www.oembed.com) object. */ oembed?: Oembed$2; /** Origin asset source. */ src?: string | null; } interface Oembed$2 { /** The resource type. */ type?: string | null; /** The width of the resource specified in the `url` property in pixels. */ width?: number | null; /** The height of the resource specified in the `url` property in pixels. */ height?: number | null; /** Resource title. */ title?: string | null; /** The source URL for the resource. */ url?: string | null; /** HTML for embedding a video player. The HTML should have no padding or margins. */ html?: string | null; /** The name of the author or owner of the resource. */ authorName?: string | null; /** The URL for the author or owner of the resource. */ authorUrl?: string | null; /** The name of the resource provider. */ providerName?: string | null; /** The URL for the resource provider. */ providerUrl?: string | null; /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */ thumbnailUrl?: string | null; /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */ thumbnailWidth?: string | null; /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */ thumbnailHeight?: string | null; /** The URL for an embedded viedo. */ videoUrl?: string | null; /** The oEmbed version number. This value must be `1.0`. */ version?: string | null; } interface CollapsibleListData$2 { /** Styling for the collapsible list's container. */ containerData?: PluginContainerData$2; /** If `true`, only one item can be expanded at a time. Defaults to `false`. */ expandOnlyOne?: boolean | null; /** Sets which items are expanded when the page loads. */ initialExpandedItems?: InitialExpandedItems$2; /** The direction of the text in the list. Either left-to-right or right-to-left. */ direction?: Direction$2; /** If `true`, The collapsible item will appear in search results as an FAQ. */ isQapageData?: boolean | null; } enum InitialExpandedItems$2 { /** First item will be expended initally */ FIRST = "FIRST", /** All items will expended initally */ ALL = "ALL", /** All items collapsed initally */ NONE = "NONE" } enum Direction$2 { /** Left-to-right */ LTR = "LTR", /** Right-to-left */ RTL = "RTL" } interface TableData$2 { /** Styling for the table's container. */ containerData?: PluginContainerData$2; /** The table's dimensions. */ dimensions?: Dimensions$2; /** * Deprecated: Use `rowHeader` and `columnHeader` instead. * @deprecated */ header?: boolean | null; /** Sets whether the table's first row is a header. Defaults to `false`. */ rowHeader?: boolean | null; /** Sets whether the table's first column is a header. Defaults to `false`. */ columnHeader?: boolean | null; } interface Dimensions$2 { /** An array representing relative width of each column in relation to the other columns. */ colsWidthRatio?: number[]; /** An array representing the height of each row in pixels. */ rowsHeight?: number[]; /** An array representing the minimum width of each column in pixels. */ colsMinWidth?: number[]; } interface TableCellData$2 { /** Styling for the cell's background color and text alignment. */ cellStyle?: CellStyle$2; /** The cell's border colors. */ borderColors?: BorderColors$2; } enum VerticalAlignment$2 { /** Top alignment */ TOP = "TOP", /** Middle alignment */ MIDDLE = "MIDDLE", /** Bottom alignment */ BOTTOM = "BOTTOM" } interface CellStyle$2 { /** Vertical alignment for the cell's text. */ verticalAlignment?: VerticalAlignment$2; /** Cell background color as a hexadecimal value. */ backgroundColor?: string | null; } interface BorderColors$2 { /** Left border color as a hexadecimal value. */ left?: string | null; /** Right border color as a hexadecimal value. */ right?: string | null; /** Top border color as a hexadecimal value. */ top?: string | null; /** Bottom border color as a hexadecimal value. */ bottom?: string | null; } /** * `NullValue` is a singleton enumeration to represent the null value for the * `Value` type union. * * The JSON representation for `NullValue` is JSON `null`. */ enum NullValue$2 { /** Null value. */ NULL_VALUE = "NULL_VALUE" } /** * `ListValue` is a wrapper around a repeated field of values. * * The JSON representation for `ListValue` is JSON array. */ interface ListValue$2 { /** Repeated field of dynamically typed values. */ values?: any[]; } interface AudioData$2 { /** Styling for the audio node's container. */ containerData?: PluginContainerData$2; /** Audio file details. */ audio?: Media$2; /** Sets whether the audio node's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Cover image. */ coverImage?: Media$2; /** Track name. */ name?: string | null; /** Author name. */ authorName?: string | null; /** An HTML version of the audio node. */ html?: string | null; } interface OrderedListData$2 { /** Indentation level from 0-4. */ indentation?: number; /** Offset level from 0-4. */ offset?: number | null; /** List start number. */ start?: number | null; } interface BulletedListData$2 { /** Indentation level from 0-4. */ indentation?: number; /** Offset level from 0-4. */ offset?: number | null; } interface BlockquoteData$2 { /** Indentation level from 1-4. */ indentation?: number; } interface CaptionData$2 { textStyle?: TextStyle$2; } interface Metadata$2 { /** Schema version. */ version?: number; /** * When the object was created. * @readonly * @deprecated */ createdTimestamp?: Date | null; /** * When the object was most recently updated. * @deprecated */ updatedTimestamp?: Date | null; /** Object ID. */ _id?: string | null; } interface DocumentStyle$2 { /** Styling for H1 nodes. */ headerOne?: TextNodeStyle$2; /** Styling for H2 nodes. */ headerTwo?: TextNodeStyle$2; /** Styling for H3 nodes. */ headerThree?: TextNodeStyle$2; /** Styling for H4 nodes. */ headerFour?: TextNodeStyle$2; /** Styling for H5 nodes. */ headerFive?: TextNodeStyle$2; /** Styling for H6 nodes. */ headerSix?: TextNodeStyle$2; /** Styling for paragraph nodes. */ paragraph?: TextNodeStyle$2; /** Styling for block quote nodes. */ blockquote?: TextNodeStyle$2; /** Styling for code block nodes. */ codeBlock?: TextNodeStyle$2; } interface TextNodeStyle$2 { /** The decorations to apply to the node. */ decorations?: Decoration$2[]; /** Padding and background color for the node. */ nodeStyle?: NodeStyle$2; /** Line height for text in the node. */ lineHeight?: string | null; } interface FocalPoint { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } interface VideoResolution$1 { /** Video URL. */ url?: string; /** Video height. */ height?: number; /** Video width. */ width?: number; /** * Deprecated. Use the `posters` property in the parent entity instead. * @internal * @deprecated */ poster?: string; /** Video format for example, mp4, hls. */ format?: string; /** * Deprecated. Use the `urlExpirationDate` property in the parent entity instead. * @internal * @deprecated */ urlExpirationDate?: Date | null; /** * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution. * @internal * @deprecated */ sizeInBytes?: string | null; /** * Video quality. For example: 480p, 720p. * @internal */ quality?: string | null; /** * Video filename. * @internal */ filename?: string | null; /** * Video duration in seconds. * @internal * @readonly * @deprecated Video duration in seconds. * @replacedBy duration_in_milliseconds * @targetRemovalDate 2024-08-01 */ durationInSeconds?: number | null; /** * Video duration in milliseconds. * @internal * @readonly */ durationInMilliseconds?: number | null; /** * When true, this is a protected asset, and calling the URL will return a 403 error. * In order to access private assets, make a request to: * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request * @internal * @readonly */ private?: boolean | null; /** * Key to identify the video resolution's relationship to the original media in WixMedia. * Can be used to request a download for the specific video resolution. * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4 * @internal * @readonly */ assetKey?: string | null; } interface ExtendedFields { /** * Extended field data. Each key corresponds to the namespace of the app that created the extended fields. * The value of each key is structured according to the schema defined when the extended fields were configured. * * You can only access fields for which you have the appropriate permissions. * * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields). */ namespaces?: Record>; } interface GetPublishedContentRequest { /** The ID of the published content */ contentId: string; } interface GetPublishedContentResponse { /** The published content */ publishedContent?: PublishedContent; } interface QueryPublishedContentRequest { /** Query options. Note that some query filters are required. See the API description for a list of required filters. */ query: CursorQuery$2; } interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging$2; /** * Filter object. * * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section). */ filter?: Record | null; /** * Sort object. * * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). */ sort?: Sorting$2[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf$2 { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging$2; } interface Sorting$2 { /** Name of the field to sort by. */ fieldName?: string; /** Sort order. */ order?: SortOrder$2; /** * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked. * * If multiple filters are provided, they are combined with AND operator. * * Example: * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]} * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] } * @internal */ selectItemsBy?: Record[] | null; } enum SortOrder$2 { ASC = "ASC", DESC = "DESC" } interface CursorPaging$2 { /** Maximum number of items to return in the results. */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. */ cursor?: string | null; } interface QueryPublishedContentResponse { /** The published translation content. */ publishedContent?: PublishedContent[]; /** Details on the paged set of results returned. */ pagingMetadata?: CursorPagingMetadata$2; } interface CursorPagingMetadata$2 { /** Number of items returned in current page. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors$2; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; /** * Total number of items matching the filter. * Available only on the first page of *Search* results, not included in *Query* or *List* results. * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page. * @internal */ total?: number | null; } interface Cursors$2 { /** Cursor string pointing to the next page in the list of results. */ next?: string | null; /** Cursor pointing to the previous page in the list of results. */ prev?: string | null; } interface DomainEvent$2 extends DomainEventBodyOneOf$2 { createdEvent?: EntityCreatedEvent$2; updatedEvent?: EntityUpdatedEvent$2; deletedEvent?: EntityDeletedEvent$2; actionEvent?: ActionEvent$2; /** * Unique event ID. * Allows clients to ignore duplicate webhooks. */ _id?: string; /** * Assumes actions are also always typed to an entity_type * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction */ entityFqdn?: string; /** * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug) * This is although the created/updated/deleted notion is duplication of the oneof types * Example: created/updated/deleted/started/completed/email_opened */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number defining the order of updates to the underlying entity. * For example, given that some entity was updated at 16:00 and than again at 16:01, * it is guaranteed that the sequence number of the second update is strictly higher than the first. * As the consumer, you can use this value to ensure that you handle messages in the correct order. * To do so, you will need to persist this number on your end, and compare the sequence number from the * message against the one you have stored. Given that the stored number is higher, you should ignore the message. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf$2 { createdEvent?: EntityCreatedEvent$2; updatedEvent?: EntityUpdatedEvent$2; deletedEvent?: EntityDeletedEvent$2; actionEvent?: ActionEvent$2; } interface EntityCreatedEvent$2 { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo$2; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo$2 { deletedDate?: Date | null; } interface EntityUpdatedEvent$2 { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * WIP - This property will hold both names and values of the updated fields of the entity. * For more details please see [adr](https://docs.google.com/document/d/1PdqsOM20Ph2HAkmx8zvUnzzk3Sekp3BR9h34wSvsRnI/edit#heading=h.phlw87mh2imx) or [issue](https://github.com/wix-private/nile-tracker/issues/363) * @internal */ modifiedFields?: Record; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent$2 { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted */ deletedEntityAsJson?: string | null; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent$2 { bodyAsJson?: string; } interface Empty$2 { } interface MessageEnvelope$2 { /** App instance ID. */ instanceId?: string | null; /** Event type. */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData$2; /** Stringify payload. */ data?: string; } interface IdentificationData$2 extends IdentificationDataIdOneOf$2 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; /** @readonly */ identityType?: WebhookIdentityType$2; } /** @oneof */ interface IdentificationDataIdOneOf$2 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; } enum WebhookIdentityType$2 { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** * Get the published content of a single entity by its ID * @param contentId - The ID of the published content * @internal * @documentationMaturity preview * @requiredField contentId * @permissionId WIX_MULTILINGUAL.READ_PUBLISHED_TRANSLATIONS */ function getPublishedContent(contentId: string): Promise; /** * Creates a query to retrieve a list of translation content items. * * The `queryPublishedContent()` function builds a query to retrieve a list of translation content items and returns a `PublishedContentQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-published-content/published-content-query-builder/find) function. * * You can refine the query by chaining `PublishedContentQueryBuilder` functions onto the query. `PublishedContentQueryBuilder` functions enable you to filter, sort, and control the results that `queryPublishedContent()` returns. * * `queryPublishedContent()` runs with the following `PublishedContentQueryBuilder` defaults which you can override: * * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-published-content/published-content-query-builder/limit) * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-published-content/published-content-query-builder/ascending) * * The following query filter fields are required: * * + `schemaKey.appId` * + `schemaKey.entityType` * + `schemaKey.scope` * * The following `PublishedContentQueryBuilder` functions are supported for `queryPublishedContent()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-published-content/published-content-query-result/items) property in `PublishedContentQueryResult`. * @public * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.READ_PUBLISHED_TRANSLATIONS */ function queryPublishedContent(): PublishedContentQueryBuilder; interface QueryCursorResult$2 { cursors: Cursors$2; hasNext: () => boolean; hasPrev: () => boolean; length: number; pageSize: number; } interface PublishedContentQueryResult extends QueryCursorResult$2 { items: PublishedContent[]; query: PublishedContentQueryBuilder; next: () => Promise; prev: () => Promise; } interface PublishedContentQueryBuilder { /** @param propertyName - Property whose value is compared with `value`. * @param value - Value to compare against. * @documentationMaturity preview */ eq: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder; /** @param propertyName - Property whose value is compared with `value`. * @param value - Value to compare against. * @documentationMaturity preview */ ne: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder; /** @param propertyName - Property whose value is compared with `string`. * @param string - String to compare against. Case-insensitive. * @documentationMaturity preview */ startsWith: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'entityId' | 'locale' | 'parentEntityId', value: string) => PublishedContentQueryBuilder; /** @param propertyName - Property whose value is compared with `values`. * @param values - List of values to compare against. * @documentationMaturity preview */ hasSome: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any[]) => PublishedContentQueryBuilder; /** @documentationMaturity preview */ in: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder; /** @documentationMaturity preview */ exists: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: boolean) => PublishedContentQueryBuilder; /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. * @documentationMaturity preview */ ascending: (...propertyNames: Array<'_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId'>) => PublishedContentQueryBuilder; /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. * @documentationMaturity preview */ descending: (...propertyNames: Array<'_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId'>) => PublishedContentQueryBuilder; /** @param limit - Number of items to return, which is also the `pageSize` of the results object. * @documentationMaturity preview */ limit: (limit: number) => PublishedContentQueryBuilder; /** @param cursor - A pointer to specific record * @documentationMaturity preview */ skipTo: (cursor: string) => PublishedContentQueryBuilder; /** @documentationMaturity preview */ find: () => Promise; } type multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContent = PublishedContent; type multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentField = PublishedContentField; type multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentFieldValueOneOf = PublishedContentFieldValueOneOf; type multilingualLocalizationPublicV3PublishedContent_universal_d_FocalPoint = FocalPoint; type multilingualLocalizationPublicV3PublishedContent_universal_d_ExtendedFields = ExtendedFields; type multilingualLocalizationPublicV3PublishedContent_universal_d_GetPublishedContentRequest = GetPublishedContentRequest; type multilingualLocalizationPublicV3PublishedContent_universal_d_GetPublishedContentResponse = GetPublishedContentResponse; type multilingualLocalizationPublicV3PublishedContent_universal_d_QueryPublishedContentRequest = QueryPublishedContentRequest; type multilingualLocalizationPublicV3PublishedContent_universal_d_QueryPublishedContentResponse = QueryPublishedContentResponse; const multilingualLocalizationPublicV3PublishedContent_universal_d_getPublishedContent: typeof getPublishedContent; const multilingualLocalizationPublicV3PublishedContent_universal_d_queryPublishedContent: typeof queryPublishedContent; type multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentQueryResult = PublishedContentQueryResult; type multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentQueryBuilder = PublishedContentQueryBuilder; namespace multilingualLocalizationPublicV3PublishedContent_universal_d { export { multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContent as PublishedContent, SchemaKey$1 as SchemaKey, SchemaScope$1 as SchemaScope, multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentField as PublishedContentField, multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentFieldValueOneOf as PublishedContentFieldValueOneOf, RichContent$2 as RichContent, Node$2 as Node, NodeDataOneOf$2 as NodeDataOneOf, NodeType$2 as NodeType, NodeStyle$2 as NodeStyle, ButtonData$2 as ButtonData, Border$2 as Border, Colors$2 as Colors, PluginContainerData$2 as PluginContainerData, WidthType$2 as WidthType, PluginContainerDataWidth$2 as PluginContainerDataWidth, PluginContainerDataWidthDataOneOf$2 as PluginContainerDataWidthDataOneOf, PluginContainerDataAlignment$2 as PluginContainerDataAlignment, Spoiler$2 as Spoiler, Height$2 as Height, Type$2 as Type, Styles$2 as Styles, Link$2 as Link, LinkDataOneOf$2 as LinkDataOneOf, Target$2 as Target, Rel$2 as Rel, CodeBlockData$2 as CodeBlockData, TextStyle$2 as TextStyle, TextAlignment$2 as TextAlignment, DividerData$2 as DividerData, LineStyle$2 as LineStyle, Width$2 as Width, Alignment$2 as Alignment, FileData$2 as FileData, ViewMode$2 as ViewMode, FileSource$2 as FileSource, FileSourceDataOneOf$2 as FileSourceDataOneOf, PDFSettings$2 as PDFSettings, GalleryData$2 as GalleryData, Media$2 as Media, Image$2 as Image, Video$2 as Video, Item$2 as Item, ItemDataOneOf$2 as ItemDataOneOf, GalleryOptions$2 as GalleryOptions, LayoutType$2 as LayoutType, Orientation$2 as Orientation, Crop$2 as Crop, ThumbnailsAlignment$2 as ThumbnailsAlignment, Layout$2 as Layout, ItemStyle$2 as ItemStyle, Thumbnails$2 as Thumbnails, GIFData$2 as GIFData, GIF$2 as GIF, HeadingData$2 as HeadingData, HTMLData$2 as HTMLData, HTMLDataDataOneOf$2 as HTMLDataDataOneOf, Source$2 as Source, ImageData$2 as ImageData, LinkPreviewData$2 as LinkPreviewData, MapData$2 as MapData, MapSettings$2 as MapSettings, MapType$2 as MapType, ParagraphData$2 as ParagraphData, PollData$2 as PollData, ViewRole$2 as ViewRole, VoteRole$2 as VoteRole, Permissions$2 as Permissions, Option$2 as Option, Settings$2 as Settings, PollLayoutType$2 as PollLayoutType, PollLayoutDirection$2 as PollLayoutDirection, PollLayout$2 as PollLayout, OptionLayout$2 as OptionLayout, BackgroundType$2 as BackgroundType, Gradient$2 as Gradient, Background$2 as Background, BackgroundBackgroundOneOf$2 as BackgroundBackgroundOneOf, PollDesign$2 as PollDesign, OptionDesign$2 as OptionDesign, Poll$2 as Poll, PollDataLayout$2 as PollDataLayout, Design$2 as Design, TextData$2 as TextData, Decoration$2 as Decoration, DecorationDataOneOf$2 as DecorationDataOneOf, DecorationType$2 as DecorationType, AnchorData$2 as AnchorData, ColorData$2 as ColorData, LinkData$2 as LinkData, MentionData$2 as MentionData, FontSizeData$2 as FontSizeData, FontType$2 as FontType, SpoilerData$2 as SpoilerData, AppEmbedData$2 as AppEmbedData, AppEmbedDataAppDataOneOf$2 as AppEmbedDataAppDataOneOf, AppType$2 as AppType, BookingData$2 as BookingData, EventData$2 as EventData, VideoData$2 as VideoData, PlaybackOptions$2 as PlaybackOptions, EmbedData$2 as EmbedData, Oembed$2 as Oembed, CollapsibleListData$2 as CollapsibleListData, InitialExpandedItems$2 as InitialExpandedItems, Direction$2 as Direction, TableData$2 as TableData, Dimensions$2 as Dimensions, TableCellData$2 as TableCellData, VerticalAlignment$2 as VerticalAlignment, CellStyle$2 as CellStyle, BorderColors$2 as BorderColors, NullValue$2 as NullValue, ListValue$2 as ListValue, AudioData$2 as AudioData, OrderedListData$2 as OrderedListData, BulletedListData$2 as BulletedListData, BlockquoteData$2 as BlockquoteData, CaptionData$2 as CaptionData, Metadata$2 as Metadata, DocumentStyle$2 as DocumentStyle, TextNodeStyle$2 as TextNodeStyle, multilingualLocalizationPublicV3PublishedContent_universal_d_FocalPoint as FocalPoint, VideoResolution$1 as VideoResolution, multilingualLocalizationPublicV3PublishedContent_universal_d_ExtendedFields as ExtendedFields, multilingualLocalizationPublicV3PublishedContent_universal_d_GetPublishedContentRequest as GetPublishedContentRequest, multilingualLocalizationPublicV3PublishedContent_universal_d_GetPublishedContentResponse as GetPublishedContentResponse, multilingualLocalizationPublicV3PublishedContent_universal_d_QueryPublishedContentRequest as QueryPublishedContentRequest, CursorQuery$2 as CursorQuery, CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, Sorting$2 as Sorting, SortOrder$2 as SortOrder, CursorPaging$2 as CursorPaging, multilingualLocalizationPublicV3PublishedContent_universal_d_QueryPublishedContentResponse as QueryPublishedContentResponse, CursorPagingMetadata$2 as CursorPagingMetadata, Cursors$2 as Cursors, DomainEvent$2 as DomainEvent, DomainEventBodyOneOf$2 as DomainEventBodyOneOf, EntityCreatedEvent$2 as EntityCreatedEvent, RestoreInfo$2 as RestoreInfo, EntityUpdatedEvent$2 as EntityUpdatedEvent, EntityDeletedEvent$2 as EntityDeletedEvent, ActionEvent$2 as ActionEvent, Empty$2 as Empty, MessageEnvelope$2 as MessageEnvelope, IdentificationData$2 as IdentificationData, IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, WebhookIdentityType$2 as WebhookIdentityType, multilingualLocalizationPublicV3PublishedContent_universal_d_getPublishedContent as getPublishedContent, multilingualLocalizationPublicV3PublishedContent_universal_d_queryPublishedContent as queryPublishedContent, multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentQueryResult as PublishedContentQueryResult, multilingualLocalizationPublicV3PublishedContent_universal_d_PublishedContentQueryBuilder as PublishedContentQueryBuilder, }; } /** * A translatable content is a unit of content to translate. * * Use [Machine Translate](/machine-translation/machine-translate) to translate a single unit of translatable content, or [Bulk Machine Translate](/machine-translation/bulk-machine-translate) * to translate many. */ interface TranslatableContent extends TranslatableContentContentOneOf { /** Plain text. */ plainTextContent?: string; /** HTML-encoded. */ htmlContent?: string; /** Rich content. */ richContent?: RichContent$1; /** Translatable content ID. The ID should be unique to this content and doesn't need to match the ID used by any other service. */ _id?: string | null; /** Format of the translatable content. */ format?: Format; } /** @oneof */ interface TranslatableContentContentOneOf { /** Plain text. */ plainTextContent?: string; /** HTML-encoded. */ htmlContent?: string; /** Rich content. */ richContent?: RichContent$1; } enum Format { /** Unspecified format. */ UNKNOWN_FORMAT = "UNKNOWN_FORMAT", /** Plain text content. */ PLAIN_TEXT = "PLAIN_TEXT", /** HTML content. */ HTML = "HTML", /** Rich Content. */ RICH = "RICH" } interface RichContent$1 { /** Node objects representing a rich content document. */ nodes?: Node$1[]; /** Object metadata. */ metadata?: Metadata$1; /** Global styling for header, paragraph, block quote, and code block nodes in the object. */ documentStyle?: DocumentStyle$1; } interface Node$1 extends NodeDataOneOf$1 { /** Data for a button node. */ buttonData?: ButtonData$1; /** Data for a code block node. */ codeBlockData?: CodeBlockData$1; /** Data for a divider node. */ dividerData?: DividerData$1; /** Data for a file node. */ fileData?: FileData$1; /** Data for a gallery node. */ galleryData?: GalleryData$1; /** Data for a GIF node. */ gifData?: GIFData$1; /** Data for a heading node. */ headingData?: HeadingData$1; /** Data for an embedded HTML node. */ htmlData?: HTMLData$1; /** Data for an image node. */ imageData?: ImageData$1; /** Data for a link preview node. */ linkPreviewData?: LinkPreviewData$1; /** Data for a map node. */ mapData?: MapData$1; /** Data for a paragraph node. */ paragraphData?: ParagraphData$1; /** Data for a poll node. */ pollData?: PollData$1; /** Data for a text node. Used to apply decorations to text. */ textData?: TextData$1; /** Data for an app embed node. */ appEmbedData?: AppEmbedData$1; /** Data for a video node. */ videoData?: VideoData$1; /** Data for an oEmbed node. */ embedData?: EmbedData$1; /** Data for a collapsible list node. */ collapsibleListData?: CollapsibleListData$1; /** Data for a table node. */ tableData?: TableData$1; /** Data for a table cell node. */ tableCellData?: TableCellData$1; /** Data for a custom external node. */ externalData?: Record | null; /** Data for an audio node. */ audioData?: AudioData$1; /** Data for an ordered list node. */ orderedListData?: OrderedListData$1; /** Data for a bulleted list node. */ bulletedListData?: BulletedListData$1; /** Data for a block quote node. */ blockquoteData?: BlockquoteData$1; /** Data for a caption node. */ captionData?: CaptionData$1; /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */ type?: NodeType$1; /** Node ID. */ _id?: string; /** A list of child nodes. */ nodes?: Node$1[]; /** Padding and background color styling for the node. */ style?: NodeStyle$1; } /** @oneof */ interface NodeDataOneOf$1 { /** Data for a button node. */ buttonData?: ButtonData$1; /** Data for a code block node. */ codeBlockData?: CodeBlockData$1; /** Data for a divider node. */ dividerData?: DividerData$1; /** Data for a file node. */ fileData?: FileData$1; /** Data for a gallery node. */ galleryData?: GalleryData$1; /** Data for a GIF node. */ gifData?: GIFData$1; /** Data for a heading node. */ headingData?: HeadingData$1; /** Data for an embedded HTML node. */ htmlData?: HTMLData$1; /** Data for an image node. */ imageData?: ImageData$1; /** Data for a link preview node. */ linkPreviewData?: LinkPreviewData$1; /** Data for a map node. */ mapData?: MapData$1; /** Data for a paragraph node. */ paragraphData?: ParagraphData$1; /** Data for a poll node. */ pollData?: PollData$1; /** Data for a text node. Used to apply decorations to text. */ textData?: TextData$1; /** Data for an app embed node. */ appEmbedData?: AppEmbedData$1; /** Data for a video node. */ videoData?: VideoData$1; /** Data for an oEmbed node. */ embedData?: EmbedData$1; /** Data for a collapsible list node. */ collapsibleListData?: CollapsibleListData$1; /** Data for a table node. */ tableData?: TableData$1; /** Data for a table cell node. */ tableCellData?: TableCellData$1; /** Data for a custom external node. */ externalData?: Record | null; /** Data for an audio node. */ audioData?: AudioData$1; /** Data for an ordered list node. */ orderedListData?: OrderedListData$1; /** Data for a bulleted list node. */ bulletedListData?: BulletedListData$1; /** Data for a block quote node. */ blockquoteData?: BlockquoteData$1; /** Data for a caption node. */ captionData?: CaptionData$1; } enum NodeType$1 { PARAGRAPH = "PARAGRAPH", TEXT = "TEXT", HEADING = "HEADING", BULLETED_LIST = "BULLETED_LIST", ORDERED_LIST = "ORDERED_LIST", LIST_ITEM = "LIST_ITEM", BLOCKQUOTE = "BLOCKQUOTE", CODE_BLOCK = "CODE_BLOCK", VIDEO = "VIDEO", DIVIDER = "DIVIDER", FILE = "FILE", GALLERY = "GALLERY", GIF = "GIF", HTML = "HTML", IMAGE = "IMAGE", LINK_PREVIEW = "LINK_PREVIEW", MAP = "MAP", POLL = "POLL", APP_EMBED = "APP_EMBED", BUTTON = "BUTTON", COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST", TABLE = "TABLE", EMBED = "EMBED", COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM", COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE", COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY", TABLE_CELL = "TABLE_CELL", TABLE_ROW = "TABLE_ROW", EXTERNAL = "EXTERNAL", AUDIO = "AUDIO", CAPTION = "CAPTION" } interface NodeStyle$1 { /** The top padding value in pixels. */ paddingTop?: string | null; /** The bottom padding value in pixels. */ paddingBottom?: string | null; /** The background color as a hexadecimal value. */ backgroundColor?: string | null; } interface ButtonData$1 { /** Styling for the button's container. */ containerData?: PluginContainerData$1; /** The button type. */ type?: Type$1; /** Styling for the button. */ styles?: Styles$1; /** The text to display on the button. */ text?: string | null; /** Button link details. */ link?: Link$1; } interface Border$1 { /** Border width in pixels. */ width?: number | null; /** Border radius in pixels. */ radius?: number | null; } interface Colors$1 { /** The text color as a hexadecimal value. */ text?: string | null; /** The border color as a hexadecimal value. */ border?: string | null; /** The background color as a hexadecimal value. */ background?: string | null; } interface PluginContainerData$1 { /** The width of the node when it's displayed. */ width?: PluginContainerDataWidth$1; /** The node's alignment within its container. */ alignment?: PluginContainerDataAlignment$1; /** Spoiler cover settings for the node. */ spoiler?: Spoiler$1; /** The height of the node when it's displayed. */ height?: Height$1; /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */ textWrap?: boolean | null; } enum WidthType$1 { /** Width matches the content width */ CONTENT = "CONTENT", /** Small Width */ SMALL = "SMALL", /** Width will match the original asset width */ ORIGINAL = "ORIGINAL", /** coast-to-coast display */ FULL_WIDTH = "FULL_WIDTH" } interface PluginContainerDataWidth$1 extends PluginContainerDataWidthDataOneOf$1 { /** * One of the following predefined width options: * `CONTENT`: The width of the container matches the content width. * `SMALL`: A small width. * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen. */ size?: WidthType$1; /** A custom width value in pixels. */ custom?: string | null; } /** @oneof */ interface PluginContainerDataWidthDataOneOf$1 { /** * One of the following predefined width options: * `CONTENT`: The width of the container matches the content width. * `SMALL`: A small width. * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen. */ size?: WidthType$1; /** A custom width value in pixels. */ custom?: string | null; } enum PluginContainerDataAlignment$1 { /** Center Alignment */ CENTER = "CENTER", /** Left Alignment */ LEFT = "LEFT", /** Right Alignment */ RIGHT = "RIGHT" } interface Spoiler$1 { /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */ enabled?: boolean | null; /** The description displayed on top of the spoiler cover. */ description?: string | null; /** The text for the button used to remove the spoiler cover. */ buttonText?: string | null; } interface Height$1 { /** A custom height value in pixels. */ custom?: string | null; } enum Type$1 { /** Regular link button */ LINK = "LINK", /** Triggers custom action that is defined in plugin configuration by the consumer */ ACTION = "ACTION" } interface Styles$1 { /** Border attributes. */ border?: Border$1; /** Color attributes. */ colors?: Colors$1; } interface Link$1 extends LinkDataOneOf$1 { /** The absolute URL for the linked document. */ url?: string; /** The target node's ID. Used for linking to another node in this object. */ anchor?: string; /** * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows: * `SELF` - Default. Opens the linked document in the same frame as the link. * `BLANK` - Opens the linked document in a new browser tab or window. * `PARENT` - Opens the linked document in the link's parent frame. * `TOP` - Opens the linked document in the full body of the link's browser tab or window. */ target?: Target$1; /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */ rel?: Rel$1; /** A serialized object used for a custom or external link panel. */ customData?: string | null; } /** @oneof */ interface LinkDataOneOf$1 { /** The absolute URL for the linked document. */ url?: string; /** The target node's ID. Used for linking to another node in this object. */ anchor?: string; } enum Target$1 { /** Opens the linked document in the same frame as it was clicked (this is default) */ SELF = "SELF", /** Opens the linked document in a new window or tab */ BLANK = "BLANK", /** Opens the linked document in the parent frame */ PARENT = "PARENT", /** Opens the linked document in the full body of the window */ TOP = "TOP" } interface Rel$1 { /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */ nofollow?: boolean | null; /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */ sponsored?: boolean | null; /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */ ugc?: boolean | null; /** Indicates that this link protect referral information from being passed to the target website. */ noreferrer?: boolean | null; } interface CodeBlockData$1 { /** Styling for the code block's text. */ textStyle?: TextStyle$1; } interface TextStyle$1 { /** Text alignment. Defaults to `AUTO`. */ textAlignment?: TextAlignment$1; /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */ lineHeight?: string | null; } enum TextAlignment$1 { /** browser default, eqivalent to `initial` */ AUTO = "AUTO", /** Left align */ LEFT = "LEFT", /** Right align */ RIGHT = "RIGHT", /** Center align */ CENTER = "CENTER", /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ JUSTIFY = "JUSTIFY" } interface DividerData$1 { /** Styling for the divider's container. */ containerData?: PluginContainerData$1; /** Divider line style. */ lineStyle?: LineStyle$1; /** Divider width. */ width?: Width$1; /** Divider alignment. */ alignment?: Alignment$1; } enum LineStyle$1 { /** Single Line */ SINGLE = "SINGLE", /** Double Line */ DOUBLE = "DOUBLE", /** Dashed Line */ DASHED = "DASHED", /** Dotted Line */ DOTTED = "DOTTED" } enum Width$1 { /** Large line */ LARGE = "LARGE", /** Medium line */ MEDIUM = "MEDIUM", /** Small line */ SMALL = "SMALL" } enum Alignment$1 { /** Center alignment */ CENTER = "CENTER", /** Left alignment */ LEFT = "LEFT", /** Right alignment */ RIGHT = "RIGHT" } interface FileData$1 { /** Styling for the file's container. */ containerData?: PluginContainerData$1; /** The source for the file's data. */ src?: FileSource$1; /** File name. */ name?: string | null; /** File type. */ type?: string | null; /** * Use `sizeInKb` instead. * @deprecated */ size?: number | null; /** Settings for PDF files. */ pdfSettings?: PDFSettings$1; /** File MIME type. */ mimeType?: string | null; /** File path. */ path?: string | null; /** File size in KB. */ sizeInKb?: string | null; } enum ViewMode$1 { /** No PDF view */ NONE = "NONE", /** Full PDF view */ FULL = "FULL", /** Mini PDF view */ MINI = "MINI" } interface FileSource$1 extends FileSourceDataOneOf$1 { /** The absolute URL for the file's source. */ url?: string | null; /** * Custom ID. Use `id` instead. * @deprecated */ custom?: string | null; /** An ID that's resolved to a URL by a resolver function. */ _id?: string | null; /** Indicates whether the file's source is private. Defaults to `false`. */ private?: boolean | null; } /** @oneof */ interface FileSourceDataOneOf$1 { /** The absolute URL for the file's source. */ url?: string | null; /** * Custom ID. Use `id` instead. * @deprecated */ custom?: string | null; /** An ID that's resolved to a URL by a resolver function. */ _id?: string | null; } interface PDFSettings$1 { /** * PDF view mode. One of the following: * `NONE` : The PDF isn't displayed. * `FULL` : A full page view of the PDF is displayed. * `MINI` : A mini view of the PDF is displayed. */ viewMode?: ViewMode$1; /** Sets whether the PDF download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Sets whether the PDF print button is disabled. Defaults to `false`. */ disablePrint?: boolean | null; } interface GalleryData$1 { /** Styling for the gallery's container. */ containerData?: PluginContainerData$1; /** The items in the gallery. */ items?: Item$1[]; /** Options for defining the gallery's appearance. */ options?: GalleryOptions$1; /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */ disableExpand?: boolean | null; /** Sets whether the gallery's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; } interface Media$1 { /** The source for the media's data. */ src?: FileSource$1; /** Media width in pixels. */ width?: number | null; /** Media height in pixels. */ height?: number | null; /** Media duration in seconds. Only relevant for audio and video files. */ duration?: number | null; } interface Image$1 { /** Image file details. */ media?: Media$1; /** Link details for images that are links. */ link?: Link$1; } interface Video$1 { /** Video file details. */ media?: Media$1; /** Video thumbnail file details. */ thumbnail?: Media$1; } interface Item$1 extends ItemDataOneOf$1 { /** An image item. */ image?: Image$1; /** A video item. */ video?: Video$1; /** Item title. */ title?: string | null; /** Item's alternative text. */ altText?: string | null; } /** @oneof */ interface ItemDataOneOf$1 { /** An image item. */ image?: Image$1; /** A video item. */ video?: Video$1; } interface GalleryOptions$1 { /** Gallery layout. */ layout?: Layout$1; /** Styling for gallery items. */ item?: ItemStyle$1; /** Styling for gallery thumbnail images. */ thumbnails?: Thumbnails$1; } enum LayoutType$1 { /** Collage type */ COLLAGE = "COLLAGE", /** Masonry type */ MASONRY = "MASONRY", /** Grid type */ GRID = "GRID", /** Thumbnail type */ THUMBNAIL = "THUMBNAIL", /** Slider type */ SLIDER = "SLIDER", /** Slideshow type */ SLIDESHOW = "SLIDESHOW", /** Panorama type */ PANORAMA = "PANORAMA", /** Column type */ COLUMN = "COLUMN", /** Magic type */ MAGIC = "MAGIC", /** Fullsize images type */ FULLSIZE = "FULLSIZE" } enum Orientation$1 { /** Rows Orientation */ ROWS = "ROWS", /** Columns Orientation */ COLUMNS = "COLUMNS" } enum Crop$1 { /** Crop to fill */ FILL = "FILL", /** Crop to fit */ FIT = "FIT" } enum ThumbnailsAlignment$1 { /** Top alignment */ TOP = "TOP", /** Right alignment */ RIGHT = "RIGHT", /** Bottom alignment */ BOTTOM = "BOTTOM", /** Left alignment */ LEFT = "LEFT", /** No thumbnail */ NONE = "NONE" } interface Layout$1 { /** Gallery layout type. */ type?: LayoutType$1; /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */ horizontalScroll?: boolean | null; /** Gallery orientation. */ orientation?: Orientation$1; /** The number of columns to display on full size screens. */ numberOfColumns?: number | null; /** The number of columns to display on mobile screens. */ mobileNumberOfColumns?: number | null; } interface ItemStyle$1 { /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */ targetSize?: number | null; /** Item ratio */ ratio?: number | null; /** Sets how item images are cropped. */ crop?: Crop$1; /** The spacing between items in pixels. */ spacing?: number | null; } interface Thumbnails$1 { /** Thumbnail alignment. */ placement?: ThumbnailsAlignment$1; /** Spacing between thumbnails in pixels. */ spacing?: number | null; } interface GIFData$1 { /** Styling for the GIF's container. */ containerData?: PluginContainerData$1; /** The source of the full size GIF. */ original?: GIF$1; /** The source of the downsized GIF. */ downsized?: GIF$1; /** Height in pixels. */ height?: number; /** Width in pixels. */ width?: number; } interface GIF$1 { /** GIF format URL. */ gif?: string | null; /** MP4 format URL. */ mp4?: string | null; /** Thumbnail URL. */ still?: string | null; } interface HeadingData$1 { /** Heading level from 1-6. */ level?: number; /** Styling for the heading text. */ textStyle?: TextStyle$1; /** Indentation level from 1-4. */ indentation?: number | null; } interface HTMLData$1 extends HTMLDataDataOneOf$1 { /** The URL for the HTML code for the node. */ url?: string; /** The HTML code for the node. */ html?: string; /** * Whether this is an AdSense element. Use `source` instead. * @deprecated */ isAdsense?: boolean | null; /** Styling for the HTML node's container. */ containerData?: PluginContainerData$1; /** The type of HTML code. */ source?: Source$1; } /** @oneof */ interface HTMLDataDataOneOf$1 { /** The URL for the HTML code for the node. */ url?: string; /** The HTML code for the node. */ html?: string; /** * Whether this is an AdSense element. Use `source` instead. * @deprecated */ isAdsense?: boolean | null; } enum Source$1 { HTML = "HTML", ADSENSE = "ADSENSE" } interface ImageData$1 { /** Styling for the image's container. */ containerData?: PluginContainerData$1; /** Image file details. */ image?: Media$1; /** Link details for images that are links. */ link?: Link$1; /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */ disableExpand?: boolean | null; /** Image's alternative text. */ altText?: string | null; /** * Deprecated: use Caption node instead. * @deprecated */ caption?: string | null; /** Sets whether the image's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; } interface LinkPreviewData$1 { /** Styling for the link preview's container. */ containerData?: PluginContainerData$1; /** Link details. */ link?: Link$1; /** Preview title. */ title?: string | null; /** Preview thumbnail URL. */ thumbnailUrl?: string | null; /** Preview description. */ description?: string | null; /** The preview content as HTML. */ html?: string | null; } interface MapData$1 { /** Styling for the map's container. */ containerData?: PluginContainerData$1; /** Map settings. */ mapSettings?: MapSettings$1; } interface MapSettings$1 { /** The address to display on the map. */ address?: string | null; /** Sets whether the map is draggable. */ draggable?: boolean | null; /** Sets whether the location marker is visible. */ marker?: boolean | null; /** Sets whether street view control is enabled. */ streetViewControl?: boolean | null; /** Sets whether zoom control is enabled. */ zoomControl?: boolean | null; /** Location latitude. */ lat?: number | null; /** Location longitude. */ lng?: number | null; /** Location name. */ locationName?: string | null; /** Sets whether view mode control is enabled. */ viewModeControl?: boolean | null; /** Initial zoom value. */ initialZoom?: number | null; /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */ mapType?: MapType$1; } enum MapType$1 { /** Roadmap map type */ ROADMAP = "ROADMAP", /** Satellite map type */ SATELITE = "SATELITE", /** Hybrid map type */ HYBRID = "HYBRID", /** Terrain map type */ TERRAIN = "TERRAIN" } interface ParagraphData$1 { /** Styling for the paragraph text. */ textStyle?: TextStyle$1; /** Indentation level from 1-4. */ indentation?: number | null; /** Paragraph level */ level?: number | null; } interface PollData$1 { /** Styling for the poll's container. */ containerData?: PluginContainerData$1; /** Poll data. */ poll?: Poll$1; /** Layout settings for the poll and voting options. */ layout?: PollDataLayout$1; /** Styling for the poll and voting options. */ design?: Design$1; } enum ViewRole$1 { /** Only Poll creator can view the results */ CREATOR = "CREATOR", /** Anyone who voted can see the results */ VOTERS = "VOTERS", /** Anyone can see the results, even if one didn't vote */ EVERYONE = "EVERYONE" } enum VoteRole$1 { /** Logged in member */ SITE_MEMBERS = "SITE_MEMBERS", /** Anyone */ ALL = "ALL" } interface Permissions$1 { /** Sets who can view the poll results. */ view?: ViewRole$1; /** Sets who can vote. */ vote?: VoteRole$1; /** Sets whether one voter can vote multiple times. Defaults to `false`. */ allowMultipleVotes?: boolean | null; } interface Option$1 { /** Option ID. */ _id?: string | null; /** Option title. */ title?: string | null; /** The image displayed with the option. */ image?: Media$1; } interface Settings$1 { /** Permissions settings for voting. */ permissions?: Permissions$1; /** Sets whether voters are displayed in the vote results. Defaults to `true`. */ showVoters?: boolean | null; /** Sets whether the vote count is displayed. Defaults to `true`. */ showVotesCount?: boolean | null; } enum PollLayoutType$1 { /** List */ LIST = "LIST", /** Grid */ GRID = "GRID" } enum PollLayoutDirection$1 { /** Left-to-right */ LTR = "LTR", /** Right-to-left */ RTL = "RTL" } interface PollLayout$1 { /** The layout for displaying the voting options. */ type?: PollLayoutType$1; /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */ direction?: PollLayoutDirection$1; /** Sets whether to display the main poll image. Defaults to `false`. */ enableImage?: boolean | null; } interface OptionLayout$1 { /** Sets whether to display option images. Defaults to `false`. */ enableImage?: boolean | null; } enum BackgroundType$1 { /** Color background type */ COLOR = "COLOR", /** Image background type */ IMAGE = "IMAGE", /** Gradiant background type */ GRADIENT = "GRADIENT" } interface Gradient$1 { /** The gradient angle in degrees. */ angle?: number | null; /** The start color as a hexademical value. */ startColor?: string | null; /** The end color as a hexademical value. */ lastColor?: string | null; } interface Background$1 extends BackgroundBackgroundOneOf$1 { /** The background color as a hexademical value. */ color?: string | null; /** An image to use for the background. */ image?: Media$1; /** Details for a gradient background. */ gradient?: Gradient$1; /** Background type. For each option, include the relevant details. */ type?: BackgroundType$1; } /** @oneof */ interface BackgroundBackgroundOneOf$1 { /** The background color as a hexademical value. */ color?: string | null; /** An image to use for the background. */ image?: Media$1; /** Details for a gradient background. */ gradient?: Gradient$1; } interface PollDesign$1 { /** Background styling. */ background?: Background$1; /** Border radius in pixels. */ borderRadius?: number | null; } interface OptionDesign$1 { /** Border radius in pixels. */ borderRadius?: number | null; } interface Poll$1 { /** Poll ID. */ _id?: string | null; /** Poll title. */ title?: string | null; /** Poll creator ID. */ creatorId?: string | null; /** Main poll image. */ image?: Media$1; /** Voting options. */ options?: Option$1[]; /** The poll's permissions and display settings. */ settings?: Settings$1; } interface PollDataLayout$1 { /** Poll layout settings. */ poll?: PollLayout$1; /** Voting otpions layout settings. */ options?: OptionLayout$1; } interface Design$1 { /** Styling for the poll. */ poll?: PollDesign$1; /** Styling for voting options. */ options?: OptionDesign$1; } interface TextData$1 { /** The text to apply decorations to. */ text?: string; /** The decorations to apply. */ decorations?: Decoration$1[]; } /** Adds appearence changes to text */ interface Decoration$1 extends DecorationDataOneOf$1 { /** Data for an anchor link decoration. */ anchorData?: AnchorData$1; /** Data for a color decoration. */ colorData?: ColorData$1; /** Data for an external link decoration. */ linkData?: LinkData$1; /** Data for a mention decoration. */ mentionData?: MentionData$1; /** Data for a font size decoration. */ fontSizeData?: FontSizeData$1; /** Font weight for a bold decoration. */ fontWeightValue?: number | null; /** Data for an italic decoration. Defaults to `true`. */ italicData?: boolean | null; /** Data for an underline decoration. Defaults to `true`. */ underlineData?: boolean | null; /** Data for a spoiler decoration. */ spoilerData?: SpoilerData$1; /** The type of decoration to apply. */ type?: DecorationType$1; } /** @oneof */ interface DecorationDataOneOf$1 { /** Data for an anchor link decoration. */ anchorData?: AnchorData$1; /** Data for a color decoration. */ colorData?: ColorData$1; /** Data for an external link decoration. */ linkData?: LinkData$1; /** Data for a mention decoration. */ mentionData?: MentionData$1; /** Data for a font size decoration. */ fontSizeData?: FontSizeData$1; /** Font weight for a bold decoration. */ fontWeightValue?: number | null; /** Data for an italic decoration. Defaults to `true`. */ italicData?: boolean | null; /** Data for an underline decoration. Defaults to `true`. */ underlineData?: boolean | null; /** Data for a spoiler decoration. */ spoilerData?: SpoilerData$1; } enum DecorationType$1 { BOLD = "BOLD", ITALIC = "ITALIC", UNDERLINE = "UNDERLINE", SPOILER = "SPOILER", ANCHOR = "ANCHOR", MENTION = "MENTION", LINK = "LINK", COLOR = "COLOR", FONT_SIZE = "FONT_SIZE", EXTERNAL = "EXTERNAL" } interface AnchorData$1 { /** The target node's ID. */ anchor?: string; } interface ColorData$1 { /** The text's background color as a hexadecimal value. */ background?: string | null; /** The text's foreground color as a hexadecimal value. */ foreground?: string | null; } interface LinkData$1 { /** Link details. */ link?: Link$1; } interface MentionData$1 { /** The mentioned user's name. */ name?: string; /** The version of the user's name that appears after the `@` character in the mention. */ slug?: string; /** Mentioned user's ID. */ _id?: string | null; } interface FontSizeData$1 { /** The units used for the font size. */ unit?: FontType$1; /** Font size value. */ value?: number | null; } enum FontType$1 { PX = "PX", EM = "EM" } interface SpoilerData$1 { /** Spoiler ID. */ _id?: string | null; } interface AppEmbedData$1 extends AppEmbedDataAppDataOneOf$1 { /** Data for embedded Wix Bookings content. */ bookingData?: BookingData$1; /** Data for embedded Wix Events content. */ eventData?: EventData$1; /** The type of Wix App content being embedded. */ type?: AppType$1; /** The ID of the embedded content. */ itemId?: string | null; /** The name of the embedded content. */ name?: string | null; /** * Deprecated: Use `image` instead. * @deprecated */ imageSrc?: string | null; /** The URL for the embedded content. */ url?: string | null; /** An image for the embedded content. */ image?: Media$1; } /** @oneof */ interface AppEmbedDataAppDataOneOf$1 { /** Data for embedded Wix Bookings content. */ bookingData?: BookingData$1; /** Data for embedded Wix Events content. */ eventData?: EventData$1; } enum AppType$1 { PRODUCT = "PRODUCT", EVENT = "EVENT", BOOKING = "BOOKING" } interface BookingData$1 { /** Booking duration in minutes. */ durations?: string | null; } interface EventData$1 { /** Event schedule. */ scheduling?: string | null; /** Event location. */ location?: string | null; } interface VideoData$1 { /** Styling for the video's container. */ containerData?: PluginContainerData$1; /** Video details. */ video?: Media$1; /** Video thumbnail details. */ thumbnail?: Media$1; /** Sets whether the video's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Video title. */ title?: string | null; /** Video options. */ options?: PlaybackOptions$1; } interface PlaybackOptions$1 { /** Sets whether the media will automatically start playing. */ autoPlay?: boolean | null; /** Sets whether media's will be looped. */ playInLoop?: boolean | null; /** Sets whether media's controls will be shown. */ showControls?: boolean | null; } interface EmbedData$1 { /** Styling for the oEmbed node's container. */ containerData?: PluginContainerData$1; /** An [oEmbed](https://www.oembed.com) object. */ oembed?: Oembed$1; /** Origin asset source. */ src?: string | null; } interface Oembed$1 { /** The resource type. */ type?: string | null; /** The width of the resource specified in the `url` property in pixels. */ width?: number | null; /** The height of the resource specified in the `url` property in pixels. */ height?: number | null; /** Resource title. */ title?: string | null; /** The source URL for the resource. */ url?: string | null; /** HTML for embedding a video player. The HTML should have no padding or margins. */ html?: string | null; /** The name of the author or owner of the resource. */ authorName?: string | null; /** The URL for the author or owner of the resource. */ authorUrl?: string | null; /** The name of the resource provider. */ providerName?: string | null; /** The URL for the resource provider. */ providerUrl?: string | null; /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */ thumbnailUrl?: string | null; /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */ thumbnailWidth?: string | null; /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */ thumbnailHeight?: string | null; /** The URL for an embedded viedo. */ videoUrl?: string | null; /** The oEmbed version number. This value must be `1.0`. */ version?: string | null; } interface CollapsibleListData$1 { /** Styling for the collapsible list's container. */ containerData?: PluginContainerData$1; /** If `true`, only one item can be expanded at a time. Defaults to `false`. */ expandOnlyOne?: boolean | null; /** Sets which items are expanded when the page loads. */ initialExpandedItems?: InitialExpandedItems$1; /** The direction of the text in the list. Either left-to-right or right-to-left. */ direction?: Direction$1; /** If `true`, The collapsible item will appear in search results as an FAQ. */ isQapageData?: boolean | null; } enum InitialExpandedItems$1 { /** First item will be expended initally */ FIRST = "FIRST", /** All items will expended initally */ ALL = "ALL", /** All items collapsed initally */ NONE = "NONE" } enum Direction$1 { /** Left-to-right */ LTR = "LTR", /** Right-to-left */ RTL = "RTL" } interface TableData$1 { /** Styling for the table's container. */ containerData?: PluginContainerData$1; /** The table's dimensions. */ dimensions?: Dimensions$1; /** * Deprecated: Use `rowHeader` and `columnHeader` instead. * @deprecated */ header?: boolean | null; /** Sets whether the table's first row is a header. Defaults to `false`. */ rowHeader?: boolean | null; /** Sets whether the table's first column is a header. Defaults to `false`. */ columnHeader?: boolean | null; } interface Dimensions$1 { /** An array representing relative width of each column in relation to the other columns. */ colsWidthRatio?: number[]; /** An array representing the height of each row in pixels. */ rowsHeight?: number[]; /** An array representing the minimum width of each column in pixels. */ colsMinWidth?: number[]; } interface TableCellData$1 { /** Styling for the cell's background color and text alignment. */ cellStyle?: CellStyle$1; /** The cell's border colors. */ borderColors?: BorderColors$1; } enum VerticalAlignment$1 { /** Top alignment */ TOP = "TOP", /** Middle alignment */ MIDDLE = "MIDDLE", /** Bottom alignment */ BOTTOM = "BOTTOM" } interface CellStyle$1 { /** Vertical alignment for the cell's text. */ verticalAlignment?: VerticalAlignment$1; /** Cell background color as a hexadecimal value. */ backgroundColor?: string | null; } interface BorderColors$1 { /** Left border color as a hexadecimal value. */ left?: string | null; /** Right border color as a hexadecimal value. */ right?: string | null; /** Top border color as a hexadecimal value. */ top?: string | null; /** Bottom border color as a hexadecimal value. */ bottom?: string | null; } /** * `NullValue` is a singleton enumeration to represent the null value for the * `Value` type union. * * The JSON representation for `NullValue` is JSON `null`. */ enum NullValue$1 { /** Null value. */ NULL_VALUE = "NULL_VALUE" } /** * `ListValue` is a wrapper around a repeated field of values. * * The JSON representation for `ListValue` is JSON array. */ interface ListValue$1 { /** Repeated field of dynamically typed values. */ values?: any[]; } interface AudioData$1 { /** Styling for the audio node's container. */ containerData?: PluginContainerData$1; /** Audio file details. */ audio?: Media$1; /** Sets whether the audio node's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Cover image. */ coverImage?: Media$1; /** Track name. */ name?: string | null; /** Author name. */ authorName?: string | null; /** An HTML version of the audio node. */ html?: string | null; } interface OrderedListData$1 { /** Indentation level from 0-4. */ indentation?: number; /** Offset level from 0-4. */ offset?: number | null; /** List start number. */ start?: number | null; } interface BulletedListData$1 { /** Indentation level from 0-4. */ indentation?: number; /** Offset level from 0-4. */ offset?: number | null; } interface BlockquoteData$1 { /** Indentation level from 1-4. */ indentation?: number; } interface CaptionData$1 { textStyle?: TextStyle$1; } interface Metadata$1 { /** Schema version. */ version?: number; /** * When the object was created. * @readonly * @deprecated */ createdTimestamp?: Date | null; /** * When the object was most recently updated. * @deprecated */ updatedTimestamp?: Date | null; /** Object ID. */ _id?: string | null; } interface DocumentStyle$1 { /** Styling for H1 nodes. */ headerOne?: TextNodeStyle$1; /** Styling for H2 nodes. */ headerTwo?: TextNodeStyle$1; /** Styling for H3 nodes. */ headerThree?: TextNodeStyle$1; /** Styling for H4 nodes. */ headerFour?: TextNodeStyle$1; /** Styling for H5 nodes. */ headerFive?: TextNodeStyle$1; /** Styling for H6 nodes. */ headerSix?: TextNodeStyle$1; /** Styling for paragraph nodes. */ paragraph?: TextNodeStyle$1; /** Styling for block quote nodes. */ blockquote?: TextNodeStyle$1; /** Styling for code block nodes. */ codeBlock?: TextNodeStyle$1; } interface TextNodeStyle$1 { /** The decorations to apply to the node. */ decorations?: Decoration$1[]; /** Padding and background color for the node. */ nodeStyle?: NodeStyle$1; /** Line height for text in the node. */ lineHeight?: string | null; } interface MachineTranslateRequest { /** Language of the source text to translate. */ sourceLanguage: SupportedLanguage; /** Language to translate text into. */ targetLanguage: SupportedLanguage; /** The content to translate. */ contentToTranslate: TranslatableContent; } enum SupportedLanguage { /** Undefined Language */ UNDEFINED_SUPPORTED_LANGUAGE = "UNDEFINED_SUPPORTED_LANGUAGE", /** Afrikaans */ AF = "AF", /** Albanian */ SQ = "SQ", /** Amharic */ AM = "AM", /** Arabic */ AR = "AR", /** Armenian */ HY = "HY", /** Assamese */ AS = "AS", /** Aymara */ AY = "AY", /** Azerbaijani */ AZ = "AZ", /** Bambara */ BM = "BM", /** Basque */ EU = "EU", /** Belarusian */ BE = "BE", /** Bengali */ BN = "BN", /** Bhojpuri */ BHO = "BHO", /** Bosnian */ BS = "BS", /** Bulgarian */ BG = "BG", /** Catalan */ CA = "CA", /** Cebuano */ CEB = "CEB", /** Chinese (Simplified) */ ZH_CN = "ZH_CN", /** Chinese (Traditional) */ ZH_TW = "ZH_TW", /** Chinese (Simplified) */ ZH = "ZH", /** Corsican */ CO = "CO", /** Croatian */ HR = "HR", /** Czech */ CS = "CS", /** Danish */ DA = "DA", /** Dhivehi */ DV = "DV", /** Dogri */ DOI = "DOI", /** Dutch */ NL = "NL", /** English */ EN = "EN", /** Esperanto */ EO = "EO", /** Estonian */ ET = "ET", /** Ewe */ EE = "EE", /** Filipino (Tagalog) */ FIL = "FIL", /** Finnish */ FI = "FI", /** French */ FR = "FR", /** Frisian */ FY = "FY", /** Galician */ GL = "GL", /** Georgian */ KA = "KA", /** German */ DE = "DE", /** Greek */ EL = "EL", /** Guarani */ GN = "GN", /** Gujarati */ GU = "GU", /** Haitian Creole */ HT = "HT", /** Hausa */ HA = "HA", /** Hawaiian */ HAW = "HAW", /** Hebrew */ HE = "HE", /** Hindi */ HI = "HI", /** Hmong */ HMN = "HMN", /** Hungarian */ HU = "HU", /** Icelandic */ IS = "IS", /** Igbo */ IG = "IG", /** Ilocano */ ILO = "ILO", /** Indonesian */ ID = "ID", /** Irish */ GA = "GA", /** Italian */ IT = "IT", /** Japanese */ JA = "JA", /** Javanese */ JW = "JW", /** Kannada */ KN = "KN", /** Kazakh */ KK = "KK", /** Khmer */ KM = "KM", /** Kinyarwanda */ RW = "RW", /** Konkani */ GOM = "GOM", /** Korean */ KO = "KO", /** Krio */ KRI = "KRI", /** Kurdish */ KU = "KU", /** Kurdish (Sorani) */ CKB = "CKB", /** Kyrgyz */ KY = "KY", /** Lao */ LO = "LO", /** Latin */ LA = "LA", /** Latvian */ LV = "LV", /** Lingala */ LN = "LN", /** Lithuanian */ LT = "LT", /** Luganda */ LG = "LG", /** Luxembourgish */ LB = "LB", /** Macedonian */ MK = "MK", /** Maithili */ MAI = "MAI", /** Malagasy */ MG = "MG", /** Malay */ MS = "MS", /** Malayalam */ ML = "ML", /** Maltese */ MT = "MT", /** Maori */ MI = "MI", /** Marathi */ MR = "MR", /** Meiteilon (Manipuri) */ MNI_MTEI = "MNI_MTEI", /** Mizo */ LUS = "LUS", /** Mongolian */ MN = "MN", /** Myanmar (Burmese) */ MY = "MY", /** Nepali */ NE = "NE", /** Norwegian */ NO = "NO", /** Nyanja (Chichewa) */ NY = "NY", /** Odia (Oriya) */ OR = "OR", /** Oromo */ OM = "OM", /** Pashto */ PS = "PS", /** Persian */ FA = "FA", /** Polish */ PL = "PL", /** Portuguese (Portugal, Brazil) */ PT = "PT", /** Punjabi */ PA = "PA", /** Quechua */ QU = "QU", /** Romanian */ RO = "RO", /** Russian */ RU = "RU", /** Samoan */ SM = "SM", /** Sanskrit */ SA = "SA", /** Scots Gaelic */ GD = "GD", /** Sepedi */ NSO = "NSO", /** Serbian */ SR = "SR", /** Sesotho */ ST = "ST", /** Shona */ SN = "SN", /** Sindhi */ SD = "SD", /** Sinhala (Sinhalese) */ SI = "SI", /** Slovak */ SK = "SK", /** Slovenian */ SL = "SL", /** Somali */ SO = "SO", /** Spanish */ ES = "ES", /** Sundanese */ SU = "SU", /** Swahili */ SW = "SW", /** Swedish */ SV = "SV", /** Tagalog (Filipino) */ TL = "TL", /** Tajik */ TG = "TG", /** Tamil */ TA = "TA", /** Tatar */ TT = "TT", /** Telugu */ TE = "TE", /** Thai */ TH = "TH", /** Tigrinya */ TI = "TI", /** Tsonga */ TS = "TS", /** Turkish */ TR = "TR", /** Turkmen */ TK = "TK", /** Twi (Akan) */ AK = "AK", /** Ukrainian */ UK = "UK", /** Urdu */ UR = "UR", /** Uyghur */ UG = "UG", /** Uzbek */ UZ = "UZ", /** Vietnamese */ VI = "VI", /** Welsh */ CY = "CY", /** Xhosa */ XH = "XH", /** Yiddish */ YI = "YI", /** Yoruba */ YO = "YO", /** Zulu */ ZU = "ZU" } interface MachineTranslateResponse { /** The translated content. */ translatedContent?: TranslatableContent; } interface NotEnoughCreditsError { /** The number of credits required to translate the content in the request. */ creditsRequired?: number; } interface TextTooLongError { /** The maximum length of text that can be translated. */ maxLength?: number; /** The actual length of the text that was sent for translation. */ actualLength?: number; } interface UnknownFormatError { } interface SameLanguageArgumentsError { /** The language supplied as both the source and the target languages */ language?: string; } interface BulkMachineTranslateRequest { /** Language of the source text to translate. */ sourceLanguage: SupportedLanguage; /** Language to translate text into. */ targetLanguage: SupportedLanguage; /** The content to translate. */ contentToTranslate?: TranslatableContent[]; } interface BulkMachineTranslateResponse { /** List of results for each item in the bulk request. */ results?: BulkTranslateResult[]; /** Metadata for the overall bulk action, including success and failure counts. */ bulkActionMetadata?: BulkActionMetadata$1; } interface BulkTranslateResult { /** Metadata for the individual item in the request. */ itemMetadata?: ItemMetadata$1; /** The translated content. */ item?: TranslatableContent; } interface ItemMetadata$1 { /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */ _id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError$1; } interface ApplicationError$1 { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } interface BulkActionMetadata$1 { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } /** * Translates the text of a translatable unit of content from one supported language to another. * * The `translatedContent` object returns with the same `id` used for `contentToTranslate.id` but the text within the * content fields is replaced with the translated text. Note that Wix does not overwrite the original content object. * To retrieve the translated content later, make sure to store it separately. * * Only text content is translated, even if the content is `htmlContent` or `richContent`. Note that [collapsible text](https://support.wix.com/en/article/adding-and-setting-up-collapsible-text) * cannot be translated using this method. * * The translatable content must not exceed 5,000 characters. If this limit is exceeded, the method returns a `TEXT_TOO_LONG` error. * For `richContent`, the 5,000-character limit applies separately to each node in `richContent.nodes`. * The total translatable content may be more than 5,000 characters as long as no individual node surpasses this limit. * If any node exceeds 5,000 characters, the entire request fails. * * Each site has a [word credit](/machine-translation/introduction#terminology) balance, starting at 3,000 words. * Each successful translation request reduces the word credits by the number of words in `contentToTranslate`. * If the site does not have sufficient word credits to translate all of the text in the request, the request fails * with a `NOT_ENOUGH_CREDITS` error. Additional credits can be [purchased through the Dashboard](https://support.wix.com/en/article/wix-multilingual-auto-translating-your-site?tabs=Dashboard-5#purchasing-translation-packages). * * To translate up to 1,000 `translatableContent` units at once, use [Bulk Machine Translate](/machine-translation/bulk-machine-translate). * @param sourceLanguage - Language of the source text to translate. * @public * @documentationMaturity preview * @requiredField options * @requiredField options.contentToTranslate * @requiredField options.targetLanguage * @requiredField sourceLanguage * @permissionId WIX_MULTILINGUAL.MACHINE_TRANSLATE * @adminMethod */ function machineTranslate(sourceLanguage: SupportedLanguage, options: MachineTranslateOptions): Promise; interface MachineTranslateOptions { /** Language to translate text into. */ targetLanguage: SupportedLanguage; /** The content to translate. */ contentToTranslate: TranslatableContent; } /** * Translates the text of multiple units of translatable content from one supported language to another. * * Each translated content item in the `results` array returns with the same `id` as the corresponding `contentToTranslate.id`, but with the text in the * content fields replaced with the translated text. Note that Wix does not overwrite the original content source, * to retrieve the translated content later, make sure to store it separately. * * Only text content is translated, even if the content is `htmlContent` or `richContent`. Note that [collapsible text](https://support.wix.com/en/article/adding-and-setting-up-collapsible-text) * cannot be translated using this method. * * Each unit of translatable content must not exceed 5,000 characters. If this limit is exceeded, the method returns a `TEXT_TOO_LONG` error. * For `richContent`, the 5,000-character limit applies separately to each node in `richContent.nodes`. * The total request may exceed 5,000 characters as long as no individual node surpasses this limit. * If any node exceeds 5,000 characters, then the request fails for that specific `contentToTranslate` item and the error details for that * error are returned in `itemMetadata`. Even if some translations fail due to the character limit, * the machine translation for other items will succeed if they are under the character limit. * * Each site has a [word credit](/machine-translation/introduction#terminology) balance, starting at 3,000 words. * Each successful translation request reduces the word credits by the number of words included in `contentToTranslate`. * If the site does not have sufficient word credits to complete the translation, then the entire request fails * with a `NOT_ENOUGH_CREDITS` error. Additional credits can be [purchased through the Dashboard](https://support.wix.com/en/article/wix-multilingual-auto-translating-your-site?tabs=Dashboard-5#purchasing-translation-packages). * * To translate a single unit of `translatableContent`, use [Machine Translate](/machine-translation/machine-translate). * @param sourceLanguage - Language of the source text to translate. * @public * @documentationMaturity preview * @requiredField options.targetLanguage * @requiredField sourceLanguage * @permissionId WIX_MULTILINGUAL.MACHINE_TRANSLATE * @adminMethod */ function bulkMachineTranslate(sourceLanguage: SupportedLanguage, options?: BulkMachineTranslateOptions): Promise; interface BulkMachineTranslateOptions { /** Language to translate text into. */ targetLanguage: SupportedLanguage; /** The content to translate. */ contentToTranslate?: TranslatableContent[]; } type multilingualMachineV3TranslatableContent_universal_d_TranslatableContent = TranslatableContent; type multilingualMachineV3TranslatableContent_universal_d_TranslatableContentContentOneOf = TranslatableContentContentOneOf; type multilingualMachineV3TranslatableContent_universal_d_Format = Format; const multilingualMachineV3TranslatableContent_universal_d_Format: typeof Format; type multilingualMachineV3TranslatableContent_universal_d_MachineTranslateRequest = MachineTranslateRequest; type multilingualMachineV3TranslatableContent_universal_d_SupportedLanguage = SupportedLanguage; const multilingualMachineV3TranslatableContent_universal_d_SupportedLanguage: typeof SupportedLanguage; type multilingualMachineV3TranslatableContent_universal_d_MachineTranslateResponse = MachineTranslateResponse; type multilingualMachineV3TranslatableContent_universal_d_NotEnoughCreditsError = NotEnoughCreditsError; type multilingualMachineV3TranslatableContent_universal_d_TextTooLongError = TextTooLongError; type multilingualMachineV3TranslatableContent_universal_d_UnknownFormatError = UnknownFormatError; type multilingualMachineV3TranslatableContent_universal_d_SameLanguageArgumentsError = SameLanguageArgumentsError; type multilingualMachineV3TranslatableContent_universal_d_BulkMachineTranslateRequest = BulkMachineTranslateRequest; type multilingualMachineV3TranslatableContent_universal_d_BulkMachineTranslateResponse = BulkMachineTranslateResponse; type multilingualMachineV3TranslatableContent_universal_d_BulkTranslateResult = BulkTranslateResult; const multilingualMachineV3TranslatableContent_universal_d_machineTranslate: typeof machineTranslate; type multilingualMachineV3TranslatableContent_universal_d_MachineTranslateOptions = MachineTranslateOptions; const multilingualMachineV3TranslatableContent_universal_d_bulkMachineTranslate: typeof bulkMachineTranslate; type multilingualMachineV3TranslatableContent_universal_d_BulkMachineTranslateOptions = BulkMachineTranslateOptions; namespace multilingualMachineV3TranslatableContent_universal_d { export { multilingualMachineV3TranslatableContent_universal_d_TranslatableContent as TranslatableContent, multilingualMachineV3TranslatableContent_universal_d_TranslatableContentContentOneOf as TranslatableContentContentOneOf, multilingualMachineV3TranslatableContent_universal_d_Format as Format, RichContent$1 as RichContent, Node$1 as Node, NodeDataOneOf$1 as NodeDataOneOf, NodeType$1 as NodeType, NodeStyle$1 as NodeStyle, ButtonData$1 as ButtonData, Border$1 as Border, Colors$1 as Colors, PluginContainerData$1 as PluginContainerData, WidthType$1 as WidthType, PluginContainerDataWidth$1 as PluginContainerDataWidth, PluginContainerDataWidthDataOneOf$1 as PluginContainerDataWidthDataOneOf, PluginContainerDataAlignment$1 as PluginContainerDataAlignment, Spoiler$1 as Spoiler, Height$1 as Height, Type$1 as Type, Styles$1 as Styles, Link$1 as Link, LinkDataOneOf$1 as LinkDataOneOf, Target$1 as Target, Rel$1 as Rel, CodeBlockData$1 as CodeBlockData, TextStyle$1 as TextStyle, TextAlignment$1 as TextAlignment, DividerData$1 as DividerData, LineStyle$1 as LineStyle, Width$1 as Width, Alignment$1 as Alignment, FileData$1 as FileData, ViewMode$1 as ViewMode, FileSource$1 as FileSource, FileSourceDataOneOf$1 as FileSourceDataOneOf, PDFSettings$1 as PDFSettings, GalleryData$1 as GalleryData, Media$1 as Media, Image$1 as Image, Video$1 as Video, Item$1 as Item, ItemDataOneOf$1 as ItemDataOneOf, GalleryOptions$1 as GalleryOptions, LayoutType$1 as LayoutType, Orientation$1 as Orientation, Crop$1 as Crop, ThumbnailsAlignment$1 as ThumbnailsAlignment, Layout$1 as Layout, ItemStyle$1 as ItemStyle, Thumbnails$1 as Thumbnails, GIFData$1 as GIFData, GIF$1 as GIF, HeadingData$1 as HeadingData, HTMLData$1 as HTMLData, HTMLDataDataOneOf$1 as HTMLDataDataOneOf, Source$1 as Source, ImageData$1 as ImageData, LinkPreviewData$1 as LinkPreviewData, MapData$1 as MapData, MapSettings$1 as MapSettings, MapType$1 as MapType, ParagraphData$1 as ParagraphData, PollData$1 as PollData, ViewRole$1 as ViewRole, VoteRole$1 as VoteRole, Permissions$1 as Permissions, Option$1 as Option, Settings$1 as Settings, PollLayoutType$1 as PollLayoutType, PollLayoutDirection$1 as PollLayoutDirection, PollLayout$1 as PollLayout, OptionLayout$1 as OptionLayout, BackgroundType$1 as BackgroundType, Gradient$1 as Gradient, Background$1 as Background, BackgroundBackgroundOneOf$1 as BackgroundBackgroundOneOf, PollDesign$1 as PollDesign, OptionDesign$1 as OptionDesign, Poll$1 as Poll, PollDataLayout$1 as PollDataLayout, Design$1 as Design, TextData$1 as TextData, Decoration$1 as Decoration, DecorationDataOneOf$1 as DecorationDataOneOf, DecorationType$1 as DecorationType, AnchorData$1 as AnchorData, ColorData$1 as ColorData, LinkData$1 as LinkData, MentionData$1 as MentionData, FontSizeData$1 as FontSizeData, FontType$1 as FontType, SpoilerData$1 as SpoilerData, AppEmbedData$1 as AppEmbedData, AppEmbedDataAppDataOneOf$1 as AppEmbedDataAppDataOneOf, AppType$1 as AppType, BookingData$1 as BookingData, EventData$1 as EventData, VideoData$1 as VideoData, PlaybackOptions$1 as PlaybackOptions, EmbedData$1 as EmbedData, Oembed$1 as Oembed, CollapsibleListData$1 as CollapsibleListData, InitialExpandedItems$1 as InitialExpandedItems, Direction$1 as Direction, TableData$1 as TableData, Dimensions$1 as Dimensions, TableCellData$1 as TableCellData, VerticalAlignment$1 as VerticalAlignment, CellStyle$1 as CellStyle, BorderColors$1 as BorderColors, NullValue$1 as NullValue, ListValue$1 as ListValue, AudioData$1 as AudioData, OrderedListData$1 as OrderedListData, BulletedListData$1 as BulletedListData, BlockquoteData$1 as BlockquoteData, CaptionData$1 as CaptionData, Metadata$1 as Metadata, DocumentStyle$1 as DocumentStyle, TextNodeStyle$1 as TextNodeStyle, multilingualMachineV3TranslatableContent_universal_d_MachineTranslateRequest as MachineTranslateRequest, multilingualMachineV3TranslatableContent_universal_d_SupportedLanguage as SupportedLanguage, multilingualMachineV3TranslatableContent_universal_d_MachineTranslateResponse as MachineTranslateResponse, multilingualMachineV3TranslatableContent_universal_d_NotEnoughCreditsError as NotEnoughCreditsError, multilingualMachineV3TranslatableContent_universal_d_TextTooLongError as TextTooLongError, multilingualMachineV3TranslatableContent_universal_d_UnknownFormatError as UnknownFormatError, multilingualMachineV3TranslatableContent_universal_d_SameLanguageArgumentsError as SameLanguageArgumentsError, multilingualMachineV3TranslatableContent_universal_d_BulkMachineTranslateRequest as BulkMachineTranslateRequest, multilingualMachineV3TranslatableContent_universal_d_BulkMachineTranslateResponse as BulkMachineTranslateResponse, multilingualMachineV3TranslatableContent_universal_d_BulkTranslateResult as BulkTranslateResult, ItemMetadata$1 as ItemMetadata, ApplicationError$1 as ApplicationError, BulkActionMetadata$1 as BulkActionMetadata, multilingualMachineV3TranslatableContent_universal_d_machineTranslate as machineTranslate, multilingualMachineV3TranslatableContent_universal_d_MachineTranslateOptions as MachineTranslateOptions, multilingualMachineV3TranslatableContent_universal_d_bulkMachineTranslate as bulkMachineTranslate, multilingualMachineV3TranslatableContent_universal_d_BulkMachineTranslateOptions as BulkMachineTranslateOptions, }; } interface SiteTranslatableProperties { /** Total number of words that exist in the main_language */ totalWords?: number; /** Number of words that were already translated into the translated_language */ translatedWords?: number; /** Word credits already used for machine translation */ machineTranslationWordsUsed?: number; /** Word credits available for machine translation */ machineTranslateWordsLimit?: number; /** Word information by app_id */ applicationProperties?: ApplicationTranslatableProperties[]; } interface ApplicationTranslatableProperties { /** Unique identifier of application ID */ appId?: string; /** Total number of words that exist in the main_language in a specific application */ applicationTotalWords?: number; /** Number of words that were already translated into the translated_language in a specific application */ applicationTranslatedWords?: number; } interface TranslateSiteRequest { /** Language from which the site content is translated */ mainLanguage: Locale; /** Language into which the site content is translated */ translatedLanguage: Locale; } interface Locale { /** The IETF BCP 47 formatted identifier of the language */ language?: string; /** * Deprecated, please use the language field with the region code when needed * @deprecated * @targetRemovalDate 2024-04-20 */ flag?: Flag; } enum Flag { UNDEFINED_FLAG_CODE = "UNDEFINED_FLAG_CODE", AFG = "AFG", AGO = "AGO", AIA = "AIA", ALA = "ALA", ALB = "ALB", AND = "AND", ARE = "ARE", ARG = "ARG", ARM = "ARM", ASM = "ASM", ATF = "ATF", ATG = "ATG", AUS = "AUS", AUT = "AUT", AZE = "AZE", BDI = "BDI", BEL = "BEL", BEN = "BEN", BES = "BES", BFA = "BFA", BGD = "BGD", BGR = "BGR", BHR = "BHR", BHS = "BHS", BIH = "BIH", BLM = "BLM", BLR = "BLR", BLZ = "BLZ", BMU = "BMU", BOL = "BOL", BRA = "BRA", BRB = "BRB", BRN = "BRN", BRT = "BRT", BTN = "BTN", BWA = "BWA", CAF = "CAF", CAN = "CAN", CAT = "CAT", CHE = "CHE", CHL = "CHL", CHN = "CHN", CIV = "CIV", CMR = "CMR", COD = "COD", COG = "COG", COL = "COL", COM = "COM", COR = "COR", CPV = "CPV", CRI = "CRI", CUB = "CUB", CUW = "CUW", CYM = "CYM", CZE = "CZE", DEU = "DEU", DJI = "DJI", DMA = "DMA", DNK = "DNK", DOM = "DOM", DZA = "DZA", ECU = "ECU", EGY = "EGY", ERI = "ERI", ESP = "ESP", EST = "EST", ETH = "ETH", EUR = "EUR", EUS = "EUS", FIN = "FIN", FJI = "FJI", FLK = "FLK", FRA = "FRA", FRO = "FRO", FSM = "FSM", GAB = "GAB", GBR = "GBR", GEO = "GEO", GGY = "GGY", GHA = "GHA", GIB = "GIB", GIN = "GIN", GLG = "GLG", GLO = "GLO", GLP = "GLP", GMB = "GMB", GNB = "GNB", GNQ = "GNQ", GRC = "GRC", GRD = "GRD", GRL = "GRL", GTM = "GTM", GUM = "GUM", GUY = "GUY", HKG = "HKG", HND = "HND", HRV = "HRV", HTI = "HTI", HUN = "HUN", IDN = "IDN", IMN = "IMN", IND = "IND", IOT = "IOT", IRL = "IRL", IRN = "IRN", IRQ = "IRQ", ISL = "ISL", ISR = "ISR", ITA = "ITA", JAM = "JAM", JEY = "JEY", JOR = "JOR", JPN = "JPN", KAZ = "KAZ", KEN = "KEN", KGZ = "KGZ", KHM = "KHM", KIR = "KIR", KNA = "KNA", KOR = "KOR", KUR = "KUR", KWT = "KWT", LAO = "LAO", LBN = "LBN", LBR = "LBR", LBY = "LBY", LCA = "LCA", LIE = "LIE", LKA = "LKA", LSO = "LSO", LTU = "LTU", LUX = "LUX", LVA = "LVA", MAC = "MAC", MAF = "MAF", MAR = "MAR", MCO = "MCO", MDA = "MDA", MDG = "MDG", MDV = "MDV", MEX = "MEX", MHL = "MHL", MKD = "MKD", MLI = "MLI", MLT = "MLT", MMR = "MMR", MNE = "MNE", MNG = "MNG", MNP = "MNP", MOZ = "MOZ", MRT = "MRT", MSR = "MSR", MTQ = "MTQ", MWI = "MWI", MYS = "MYS", MYT = "MYT", NAM = "NAM", NCL = "NCL", NER = "NER", NFK = "NFK", NGA = "NGA", NIC = "NIC", NIU = "NIU", NLD = "NLD", NOR = "NOR", NPL = "NPL", NRU = "NRU", NZL = "NZL", OMN = "OMN", PAK = "PAK", PAN = "PAN", PCN = "PCN", PER = "PER", PHL = "PHL", PLW = "PLW", PNG = "PNG", POL = "POL", PRI = "PRI", PRK = "PRK", PRT = "PRT", PRY = "PRY", PSE = "PSE", PYF = "PYF", QAT = "QAT", REU = "REU", ROU = "ROU", RUS = "RUS", RWA = "RWA", SAU = "SAU", SDN = "SDN", SEN = "SEN", SGP = "SGP", SGS = "SGS", SHN = "SHN", SJM = "SJM", SLB = "SLB", SLE = "SLE", SLV = "SLV", SMR = "SMR", SOM = "SOM", SPM = "SPM", SRB = "SRB", SSD = "SSD", STP = "STP", SUR = "SUR", SVK = "SVK", SVN = "SVN", SWE = "SWE", SWZ = "SWZ", SXM = "SXM", SYC = "SYC", SYR = "SYR", TCA = "TCA", TCD = "TCD", TGO = "TGO", THA = "THA", TJK = "TJK", TKL = "TKL", TKM = "TKM", TLS = "TLS", TON = "TON", TTO = "TTO", TUN = "TUN", TUR = "TUR", TUV = "TUV", TWN = "TWN", TZA = "TZA", UGA = "UGA", UKR = "UKR", URY = "URY", USA = "USA", UZB = "UZB", VAT = "VAT", VCT = "VCT", VEN = "VEN", VGB = "VGB", VIR = "VIR", VLC = "VLC", VNM = "VNM", VUT = "VUT", WLF = "WLF", WLS = "WLS", YEM = "YEM", ZAF = "ZAF", ZMB = "ZMB", ZWE = "ZWE" } interface TranslateSiteResponse { } interface GetSiteTranslatablesPropertiesRequest { /** Number of words included in main_language */ mainLanguage: Locale; /** Number of words already translated from main_language to translated_language */ translatedLanguage?: Locale; } interface GetSiteTranslatablesPropertiesResponse { /** Current status of site translation and word credits usage */ data?: SiteTranslatableProperties; } /** * Start a task to auto-translate all site content that hasn't been translated yet * @param mainLanguage - Language from which the site content is translated * @public * @documentationMaturity preview * @requiredField mainLanguage * @requiredField options * @requiredField options.translatedLanguage * @permissionId WIX_MULTILINGUAL.ONE_CLICK_TRANSLATION * @adminMethod */ function translateSite(mainLanguage: Locale, options: TranslateSiteOptions): Promise; interface TranslateSiteOptions { /** Language into which the site content is translated */ translatedLanguage: Locale; } /** * Receive the site's translation status * @param mainLanguage - Number of words included in main_language * @public * @documentationMaturity preview * @requiredField mainLanguage * @permissionId WIX_MULTILINGUAL.ONE_CLICK_TRANSLATION * @adminMethod */ function getSiteTranslatablesProperties(mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions): Promise; interface GetSiteTranslatablesPropertiesOptions { /** Number of words already translated from main_language to translated_language */ translatedLanguage?: Locale; } type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_SiteTranslatableProperties = SiteTranslatableProperties; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_ApplicationTranslatableProperties = ApplicationTranslatableProperties; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_TranslateSiteRequest = TranslateSiteRequest; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_Locale = Locale; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_Flag = Flag; const multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_Flag: typeof Flag; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_TranslateSiteResponse = TranslateSiteResponse; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_GetSiteTranslatablesPropertiesRequest = GetSiteTranslatablesPropertiesRequest; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_GetSiteTranslatablesPropertiesResponse = GetSiteTranslatablesPropertiesResponse; const multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_translateSite: typeof translateSite; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_TranslateSiteOptions = TranslateSiteOptions; const multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_getSiteTranslatablesProperties: typeof getSiteTranslatablesProperties; type multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_GetSiteTranslatablesPropertiesOptions = GetSiteTranslatablesPropertiesOptions; namespace multilingualSitetranslatorV2SiteTranslatableProperties_universal_d { export { multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_SiteTranslatableProperties as SiteTranslatableProperties, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_ApplicationTranslatableProperties as ApplicationTranslatableProperties, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_TranslateSiteRequest as TranslateSiteRequest, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_Locale as Locale, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_Flag as Flag, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_TranslateSiteResponse as TranslateSiteResponse, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_GetSiteTranslatablesPropertiesRequest as GetSiteTranslatablesPropertiesRequest, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_GetSiteTranslatablesPropertiesResponse as GetSiteTranslatablesPropertiesResponse, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_translateSite as translateSite, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_TranslateSiteOptions as TranslateSiteOptions, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_getSiteTranslatablesProperties as getSiteTranslatablesProperties, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d_GetSiteTranslatablesPropertiesOptions as GetSiteTranslatablesPropertiesOptions, }; } interface Content { /** * Translation content ID. * @readonly */ _id?: string | null; /** Translation schema ID. */ schemaId?: string; /** A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`. */ entityId?: string; /** Translation content locale. */ locale?: string; /** List of fields for the translation content. This property uses a string to map to a `ContentField` (`Map`). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema. */ fields?: Record; /** A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to. */ parentEntityId?: string | null; /** * The aggregated published status across all content fields. * @readonly */ publishStatus?: PublishStatus; /** * Contains the value of the preview field if the schema defines one. * @readonly */ previewField?: string | null; /** * Date and time the translation content was created. * @readonly */ _createdDate?: Date | null; /** * Date and time the translation content was updated. * @readonly */ _updatedDate?: Date | null; } interface ContentField extends ContentFieldValueOneOf { /** Plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`. */ textValue?: string; /** * Translation Content rich content. * * See Ricos document reference */ richContent?: RichContent; /** Wix Media Manager image. */ image?: string; /** Wix Media Manager video. */ video?: string; /** Wix Media Manager document. */ document?: string; /** * Field unique identifier. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parentheses to reference repeated items, such as images. These parentheses can't be nested and each opening parenthesis must be followed by a closing one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\]\\[\\.]+$`. * @readonly */ _id?: string; /** * Whether to publish the translation content to the live site, making it visible to site visitors. * * Default: `false` */ published?: boolean; /** **Required.** The source that updated the translation content. */ updatedBy?: UpdaterIdentity; /** * Unique string identifier that links a specific content field to its corresponding field in the schema. * @readonly */ schemaFieldKey?: string; /** * Field index. Used for cases where the order of the fields are relevant. * @readonly */ index?: number; } /** @oneof */ interface ContentFieldValueOneOf { /** Plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`. */ textValue?: string; /** * Translation Content rich content. * * See Ricos document reference */ richContent?: RichContent; /** Wix Media Manager image. */ image?: string; /** Wix Media Manager video. */ video?: string; /** Wix Media Manager document. */ document?: string; } interface RichContent { /** Node objects representing a rich content document. */ nodes?: Node[]; /** Object metadata. */ metadata?: Metadata; /** Global styling for header, paragraph, block quote, and code block nodes in the object. */ documentStyle?: DocumentStyle; } interface Node extends NodeDataOneOf { /** Data for a button node. */ buttonData?: ButtonData; /** Data for a code block node. */ codeBlockData?: CodeBlockData; /** Data for a divider node. */ dividerData?: DividerData; /** Data for a file node. */ fileData?: FileData; /** Data for a gallery node. */ galleryData?: GalleryData; /** Data for a GIF node. */ gifData?: GIFData; /** Data for a heading node. */ headingData?: HeadingData; /** Data for an embedded HTML node. */ htmlData?: HTMLData; /** Data for an image node. */ imageData?: ImageData; /** Data for a link preview node. */ linkPreviewData?: LinkPreviewData; /** Data for a map node. */ mapData?: MapData; /** Data for a paragraph node. */ paragraphData?: ParagraphData; /** Data for a poll node. */ pollData?: PollData; /** Data for a text node. Used to apply decorations to text. */ textData?: TextData; /** Data for an app embed node. */ appEmbedData?: AppEmbedData; /** Data for a video node. */ videoData?: VideoData; /** Data for an oEmbed node. */ embedData?: EmbedData; /** Data for a collapsible list node. */ collapsibleListData?: CollapsibleListData; /** Data for a table node. */ tableData?: TableData; /** Data for a table cell node. */ tableCellData?: TableCellData; /** Data for a custom external node. */ externalData?: Record | null; /** Data for an audio node. */ audioData?: AudioData; /** Data for an ordered list node. */ orderedListData?: OrderedListData; /** Data for a bulleted list node. */ bulletedListData?: BulletedListData; /** Data for a block quote node. */ blockquoteData?: BlockquoteData; /** Data for a caption node. */ captionData?: CaptionData; /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */ type?: NodeType; /** Node ID. */ _id?: string; /** A list of child nodes. */ nodes?: Node[]; /** Padding and background color styling for the node. */ style?: NodeStyle; } /** @oneof */ interface NodeDataOneOf { /** Data for a button node. */ buttonData?: ButtonData; /** Data for a code block node. */ codeBlockData?: CodeBlockData; /** Data for a divider node. */ dividerData?: DividerData; /** Data for a file node. */ fileData?: FileData; /** Data for a gallery node. */ galleryData?: GalleryData; /** Data for a GIF node. */ gifData?: GIFData; /** Data for a heading node. */ headingData?: HeadingData; /** Data for an embedded HTML node. */ htmlData?: HTMLData; /** Data for an image node. */ imageData?: ImageData; /** Data for a link preview node. */ linkPreviewData?: LinkPreviewData; /** Data for a map node. */ mapData?: MapData; /** Data for a paragraph node. */ paragraphData?: ParagraphData; /** Data for a poll node. */ pollData?: PollData; /** Data for a text node. Used to apply decorations to text. */ textData?: TextData; /** Data for an app embed node. */ appEmbedData?: AppEmbedData; /** Data for a video node. */ videoData?: VideoData; /** Data for an oEmbed node. */ embedData?: EmbedData; /** Data for a collapsible list node. */ collapsibleListData?: CollapsibleListData; /** Data for a table node. */ tableData?: TableData; /** Data for a table cell node. */ tableCellData?: TableCellData; /** Data for a custom external node. */ externalData?: Record | null; /** Data for an audio node. */ audioData?: AudioData; /** Data for an ordered list node. */ orderedListData?: OrderedListData; /** Data for a bulleted list node. */ bulletedListData?: BulletedListData; /** Data for a block quote node. */ blockquoteData?: BlockquoteData; /** Data for a caption node. */ captionData?: CaptionData; } enum NodeType { PARAGRAPH = "PARAGRAPH", TEXT = "TEXT", HEADING = "HEADING", BULLETED_LIST = "BULLETED_LIST", ORDERED_LIST = "ORDERED_LIST", LIST_ITEM = "LIST_ITEM", BLOCKQUOTE = "BLOCKQUOTE", CODE_BLOCK = "CODE_BLOCK", VIDEO = "VIDEO", DIVIDER = "DIVIDER", FILE = "FILE", GALLERY = "GALLERY", GIF = "GIF", HTML = "HTML", IMAGE = "IMAGE", LINK_PREVIEW = "LINK_PREVIEW", MAP = "MAP", POLL = "POLL", APP_EMBED = "APP_EMBED", BUTTON = "BUTTON", COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST", TABLE = "TABLE", EMBED = "EMBED", COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM", COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE", COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY", TABLE_CELL = "TABLE_CELL", TABLE_ROW = "TABLE_ROW", EXTERNAL = "EXTERNAL", AUDIO = "AUDIO", CAPTION = "CAPTION" } interface NodeStyle { /** The top padding value in pixels. */ paddingTop?: string | null; /** The bottom padding value in pixels. */ paddingBottom?: string | null; /** The background color as a hexadecimal value. */ backgroundColor?: string | null; } interface ButtonData { /** Styling for the button's container. */ containerData?: PluginContainerData; /** The button type. */ type?: Type; /** Styling for the button. */ styles?: Styles; /** The text to display on the button. */ text?: string | null; /** Button link details. */ link?: Link; } interface Border { /** Border width in pixels. */ width?: number | null; /** Border radius in pixels. */ radius?: number | null; } interface Colors { /** The text color as a hexadecimal value. */ text?: string | null; /** The border color as a hexadecimal value. */ border?: string | null; /** The background color as a hexadecimal value. */ background?: string | null; } interface PluginContainerData { /** The width of the node when it's displayed. */ width?: PluginContainerDataWidth; /** The node's alignment within its container. */ alignment?: PluginContainerDataAlignment; /** Spoiler cover settings for the node. */ spoiler?: Spoiler; /** The height of the node when it's displayed. */ height?: Height; /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */ textWrap?: boolean | null; } enum WidthType { /** Width matches the content width */ CONTENT = "CONTENT", /** Small Width */ SMALL = "SMALL", /** Width will match the original asset width */ ORIGINAL = "ORIGINAL", /** coast-to-coast display */ FULL_WIDTH = "FULL_WIDTH" } interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf { /** * One of the following predefined width options: * `CONTENT`: The width of the container matches the content width. * `SMALL`: A small width. * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen. */ size?: WidthType; /** A custom width value in pixels. */ custom?: string | null; } /** @oneof */ interface PluginContainerDataWidthDataOneOf { /** * One of the following predefined width options: * `CONTENT`: The width of the container matches the content width. * `SMALL`: A small width. * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen. */ size?: WidthType; /** A custom width value in pixels. */ custom?: string | null; } enum PluginContainerDataAlignment { /** Center Alignment */ CENTER = "CENTER", /** Left Alignment */ LEFT = "LEFT", /** Right Alignment */ RIGHT = "RIGHT" } interface Spoiler { /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */ enabled?: boolean | null; /** The description displayed on top of the spoiler cover. */ description?: string | null; /** The text for the button used to remove the spoiler cover. */ buttonText?: string | null; } interface Height { /** A custom height value in pixels. */ custom?: string | null; } enum Type { /** Regular link button */ LINK = "LINK", /** Triggers custom action that is defined in plugin configuration by the consumer */ ACTION = "ACTION" } interface Styles { /** Border attributes. */ border?: Border; /** Color attributes. */ colors?: Colors; } interface Link extends LinkDataOneOf { /** The absolute URL for the linked document. */ url?: string; /** The target node's ID. Used for linking to another node in this object. */ anchor?: string; /** * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows: * `SELF` - Default. Opens the linked document in the same frame as the link. * `BLANK` - Opens the linked document in a new browser tab or window. * `PARENT` - Opens the linked document in the link's parent frame. * `TOP` - Opens the linked document in the full body of the link's browser tab or window. */ target?: Target; /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */ rel?: Rel; /** A serialized object used for a custom or external link panel. */ customData?: string | null; } /** @oneof */ interface LinkDataOneOf { /** The absolute URL for the linked document. */ url?: string; /** The target node's ID. Used for linking to another node in this object. */ anchor?: string; } enum Target { /** Opens the linked document in the same frame as it was clicked (this is default) */ SELF = "SELF", /** Opens the linked document in a new window or tab */ BLANK = "BLANK", /** Opens the linked document in the parent frame */ PARENT = "PARENT", /** Opens the linked document in the full body of the window */ TOP = "TOP" } interface Rel { /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */ nofollow?: boolean | null; /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */ sponsored?: boolean | null; /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */ ugc?: boolean | null; /** Indicates that this link protect referral information from being passed to the target website. */ noreferrer?: boolean | null; } interface CodeBlockData { /** Styling for the code block's text. */ textStyle?: TextStyle; } interface TextStyle { /** Text alignment. Defaults to `AUTO`. */ textAlignment?: TextAlignment; /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */ lineHeight?: string | null; } enum TextAlignment { /** browser default, eqivalent to `initial` */ AUTO = "AUTO", /** Left align */ LEFT = "LEFT", /** Right align */ RIGHT = "RIGHT", /** Center align */ CENTER = "CENTER", /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */ JUSTIFY = "JUSTIFY" } interface DividerData { /** Styling for the divider's container. */ containerData?: PluginContainerData; /** Divider line style. */ lineStyle?: LineStyle; /** Divider width. */ width?: Width; /** Divider alignment. */ alignment?: Alignment; } enum LineStyle { /** Single Line */ SINGLE = "SINGLE", /** Double Line */ DOUBLE = "DOUBLE", /** Dashed Line */ DASHED = "DASHED", /** Dotted Line */ DOTTED = "DOTTED" } enum Width { /** Large line */ LARGE = "LARGE", /** Medium line */ MEDIUM = "MEDIUM", /** Small line */ SMALL = "SMALL" } enum Alignment { /** Center alignment */ CENTER = "CENTER", /** Left alignment */ LEFT = "LEFT", /** Right alignment */ RIGHT = "RIGHT" } interface FileData { /** Styling for the file's container. */ containerData?: PluginContainerData; /** The source for the file's data. */ src?: FileSource; /** File name. */ name?: string | null; /** File type. */ type?: string | null; /** * Use `sizeInKb` instead. * @deprecated */ size?: number | null; /** Settings for PDF files. */ pdfSettings?: PDFSettings; /** File MIME type. */ mimeType?: string | null; /** File path. */ path?: string | null; /** File size in KB. */ sizeInKb?: string | null; } enum ViewMode { /** No PDF view */ NONE = "NONE", /** Full PDF view */ FULL = "FULL", /** Mini PDF view */ MINI = "MINI" } interface FileSource extends FileSourceDataOneOf { /** The absolute URL for the file's source. */ url?: string | null; /** * Custom ID. Use `id` instead. * @deprecated */ custom?: string | null; /** An ID that's resolved to a URL by a resolver function. */ _id?: string | null; /** Indicates whether the file's source is private. Defaults to `false`. */ private?: boolean | null; } /** @oneof */ interface FileSourceDataOneOf { /** The absolute URL for the file's source. */ url?: string | null; /** * Custom ID. Use `id` instead. * @deprecated */ custom?: string | null; /** An ID that's resolved to a URL by a resolver function. */ _id?: string | null; } interface PDFSettings { /** * PDF view mode. One of the following: * `NONE` : The PDF isn't displayed. * `FULL` : A full page view of the PDF is displayed. * `MINI` : A mini view of the PDF is displayed. */ viewMode?: ViewMode; /** Sets whether the PDF download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Sets whether the PDF print button is disabled. Defaults to `false`. */ disablePrint?: boolean | null; } interface GalleryData { /** Styling for the gallery's container. */ containerData?: PluginContainerData; /** The items in the gallery. */ items?: Item[]; /** Options for defining the gallery's appearance. */ options?: GalleryOptions; /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */ disableExpand?: boolean | null; /** Sets whether the gallery's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; } interface Media { /** The source for the media's data. */ src?: FileSource; /** Media width in pixels. */ width?: number | null; /** Media height in pixels. */ height?: number | null; /** Media duration in seconds. Only relevant for audio and video files. */ duration?: number | null; } interface Image { /** Image file details. */ media?: Media; /** Link details for images that are links. */ link?: Link; } interface Video { /** Video file details. */ media?: Media; /** Video thumbnail file details. */ thumbnail?: Media; } interface Item extends ItemDataOneOf { /** An image item. */ image?: Image; /** A video item. */ video?: Video; /** Item title. */ title?: string | null; /** Item's alternative text. */ altText?: string | null; } /** @oneof */ interface ItemDataOneOf { /** An image item. */ image?: Image; /** A video item. */ video?: Video; } interface GalleryOptions { /** Gallery layout. */ layout?: Layout; /** Styling for gallery items. */ item?: ItemStyle; /** Styling for gallery thumbnail images. */ thumbnails?: Thumbnails; } enum LayoutType { /** Collage type */ COLLAGE = "COLLAGE", /** Masonry type */ MASONRY = "MASONRY", /** Grid type */ GRID = "GRID", /** Thumbnail type */ THUMBNAIL = "THUMBNAIL", /** Slider type */ SLIDER = "SLIDER", /** Slideshow type */ SLIDESHOW = "SLIDESHOW", /** Panorama type */ PANORAMA = "PANORAMA", /** Column type */ COLUMN = "COLUMN", /** Magic type */ MAGIC = "MAGIC", /** Fullsize images type */ FULLSIZE = "FULLSIZE" } enum Orientation { /** Rows Orientation */ ROWS = "ROWS", /** Columns Orientation */ COLUMNS = "COLUMNS" } enum Crop { /** Crop to fill */ FILL = "FILL", /** Crop to fit */ FIT = "FIT" } enum ThumbnailsAlignment { /** Top alignment */ TOP = "TOP", /** Right alignment */ RIGHT = "RIGHT", /** Bottom alignment */ BOTTOM = "BOTTOM", /** Left alignment */ LEFT = "LEFT", /** No thumbnail */ NONE = "NONE" } interface Layout { /** Gallery layout type. */ type?: LayoutType; /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */ horizontalScroll?: boolean | null; /** Gallery orientation. */ orientation?: Orientation; /** The number of columns to display on full size screens. */ numberOfColumns?: number | null; /** The number of columns to display on mobile screens. */ mobileNumberOfColumns?: number | null; } interface ItemStyle { /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */ targetSize?: number | null; /** Item ratio */ ratio?: number | null; /** Sets how item images are cropped. */ crop?: Crop; /** The spacing between items in pixels. */ spacing?: number | null; } interface Thumbnails { /** Thumbnail alignment. */ placement?: ThumbnailsAlignment; /** Spacing between thumbnails in pixels. */ spacing?: number | null; } interface GIFData { /** Styling for the GIF's container. */ containerData?: PluginContainerData; /** The source of the full size GIF. */ original?: GIF; /** The source of the downsized GIF. */ downsized?: GIF; /** Height in pixels. */ height?: number; /** Width in pixels. */ width?: number; } interface GIF { /** GIF format URL. */ gif?: string | null; /** MP4 format URL. */ mp4?: string | null; /** Thumbnail URL. */ still?: string | null; } interface HeadingData { /** Heading level from 1-6. */ level?: number; /** Styling for the heading text. */ textStyle?: TextStyle; /** Indentation level from 1-4. */ indentation?: number | null; } interface HTMLData extends HTMLDataDataOneOf { /** The URL for the HTML code for the node. */ url?: string; /** The HTML code for the node. */ html?: string; /** * Whether this is an AdSense element. Use `source` instead. * @deprecated */ isAdsense?: boolean | null; /** Styling for the HTML node's container. */ containerData?: PluginContainerData; /** The type of HTML code. */ source?: Source; } /** @oneof */ interface HTMLDataDataOneOf { /** The URL for the HTML code for the node. */ url?: string; /** The HTML code for the node. */ html?: string; /** * Whether this is an AdSense element. Use `source` instead. * @deprecated */ isAdsense?: boolean | null; } enum Source { HTML = "HTML", ADSENSE = "ADSENSE" } interface ImageData { /** Styling for the image's container. */ containerData?: PluginContainerData; /** Image file details. */ image?: Media; /** Link details for images that are links. */ link?: Link; /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */ disableExpand?: boolean | null; /** Image's alternative text. */ altText?: string | null; /** * Deprecated: use Caption node instead. * @deprecated */ caption?: string | null; /** Sets whether the image's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; } interface LinkPreviewData { /** Styling for the link preview's container. */ containerData?: PluginContainerData; /** Link details. */ link?: Link; /** Preview title. */ title?: string | null; /** Preview thumbnail URL. */ thumbnailUrl?: string | null; /** Preview description. */ description?: string | null; /** The preview content as HTML. */ html?: string | null; } interface MapData { /** Styling for the map's container. */ containerData?: PluginContainerData; /** Map settings. */ mapSettings?: MapSettings; } interface MapSettings { /** The address to display on the map. */ address?: string | null; /** Sets whether the map is draggable. */ draggable?: boolean | null; /** Sets whether the location marker is visible. */ marker?: boolean | null; /** Sets whether street view control is enabled. */ streetViewControl?: boolean | null; /** Sets whether zoom control is enabled. */ zoomControl?: boolean | null; /** Location latitude. */ lat?: number | null; /** Location longitude. */ lng?: number | null; /** Location name. */ locationName?: string | null; /** Sets whether view mode control is enabled. */ viewModeControl?: boolean | null; /** Initial zoom value. */ initialZoom?: number | null; /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */ mapType?: MapType; } enum MapType { /** Roadmap map type */ ROADMAP = "ROADMAP", /** Satellite map type */ SATELITE = "SATELITE", /** Hybrid map type */ HYBRID = "HYBRID", /** Terrain map type */ TERRAIN = "TERRAIN" } interface ParagraphData { /** Styling for the paragraph text. */ textStyle?: TextStyle; /** Indentation level from 1-4. */ indentation?: number | null; /** Paragraph level */ level?: number | null; } interface PollData { /** Styling for the poll's container. */ containerData?: PluginContainerData; /** Poll data. */ poll?: Poll; /** Layout settings for the poll and voting options. */ layout?: PollDataLayout; /** Styling for the poll and voting options. */ design?: Design; } enum ViewRole { /** Only Poll creator can view the results */ CREATOR = "CREATOR", /** Anyone who voted can see the results */ VOTERS = "VOTERS", /** Anyone can see the results, even if one didn't vote */ EVERYONE = "EVERYONE" } enum VoteRole { /** Logged in member */ SITE_MEMBERS = "SITE_MEMBERS", /** Anyone */ ALL = "ALL" } interface Permissions { /** Sets who can view the poll results. */ view?: ViewRole; /** Sets who can vote. */ vote?: VoteRole; /** Sets whether one voter can vote multiple times. Defaults to `false`. */ allowMultipleVotes?: boolean | null; } interface Option { /** Option ID. */ _id?: string | null; /** Option title. */ title?: string | null; /** The image displayed with the option. */ image?: Media; } interface Settings { /** Permissions settings for voting. */ permissions?: Permissions; /** Sets whether voters are displayed in the vote results. Defaults to `true`. */ showVoters?: boolean | null; /** Sets whether the vote count is displayed. Defaults to `true`. */ showVotesCount?: boolean | null; } enum PollLayoutType { /** List */ LIST = "LIST", /** Grid */ GRID = "GRID" } enum PollLayoutDirection { /** Left-to-right */ LTR = "LTR", /** Right-to-left */ RTL = "RTL" } interface PollLayout { /** The layout for displaying the voting options. */ type?: PollLayoutType; /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */ direction?: PollLayoutDirection; /** Sets whether to display the main poll image. Defaults to `false`. */ enableImage?: boolean | null; } interface OptionLayout { /** Sets whether to display option images. Defaults to `false`. */ enableImage?: boolean | null; } enum BackgroundType { /** Color background type */ COLOR = "COLOR", /** Image background type */ IMAGE = "IMAGE", /** Gradiant background type */ GRADIENT = "GRADIENT" } interface Gradient { /** The gradient angle in degrees. */ angle?: number | null; /** The start color as a hexademical value. */ startColor?: string | null; /** The end color as a hexademical value. */ lastColor?: string | null; } interface Background extends BackgroundBackgroundOneOf { /** The background color as a hexademical value. */ color?: string | null; /** An image to use for the background. */ image?: Media; /** Details for a gradient background. */ gradient?: Gradient; /** Background type. For each option, include the relevant details. */ type?: BackgroundType; } /** @oneof */ interface BackgroundBackgroundOneOf { /** The background color as a hexademical value. */ color?: string | null; /** An image to use for the background. */ image?: Media; /** Details for a gradient background. */ gradient?: Gradient; } interface PollDesign { /** Background styling. */ background?: Background; /** Border radius in pixels. */ borderRadius?: number | null; } interface OptionDesign { /** Border radius in pixels. */ borderRadius?: number | null; } interface Poll { /** Poll ID. */ _id?: string | null; /** Poll title. */ title?: string | null; /** Poll creator ID. */ creatorId?: string | null; /** Main poll image. */ image?: Media; /** Voting options. */ options?: Option[]; /** The poll's permissions and display settings. */ settings?: Settings; } interface PollDataLayout { /** Poll layout settings. */ poll?: PollLayout; /** Voting otpions layout settings. */ options?: OptionLayout; } interface Design { /** Styling for the poll. */ poll?: PollDesign; /** Styling for voting options. */ options?: OptionDesign; } interface TextData { /** The text to apply decorations to. */ text?: string; /** The decorations to apply. */ decorations?: Decoration[]; } /** Adds appearence changes to text */ interface Decoration extends DecorationDataOneOf { /** Data for an anchor link decoration. */ anchorData?: AnchorData; /** Data for a color decoration. */ colorData?: ColorData; /** Data for an external link decoration. */ linkData?: LinkData; /** Data for a mention decoration. */ mentionData?: MentionData; /** Data for a font size decoration. */ fontSizeData?: FontSizeData; /** Font weight for a bold decoration. */ fontWeightValue?: number | null; /** Data for an italic decoration. Defaults to `true`. */ italicData?: boolean | null; /** Data for an underline decoration. Defaults to `true`. */ underlineData?: boolean | null; /** Data for a spoiler decoration. */ spoilerData?: SpoilerData; /** The type of decoration to apply. */ type?: DecorationType; } /** @oneof */ interface DecorationDataOneOf { /** Data for an anchor link decoration. */ anchorData?: AnchorData; /** Data for a color decoration. */ colorData?: ColorData; /** Data for an external link decoration. */ linkData?: LinkData; /** Data for a mention decoration. */ mentionData?: MentionData; /** Data for a font size decoration. */ fontSizeData?: FontSizeData; /** Font weight for a bold decoration. */ fontWeightValue?: number | null; /** Data for an italic decoration. Defaults to `true`. */ italicData?: boolean | null; /** Data for an underline decoration. Defaults to `true`. */ underlineData?: boolean | null; /** Data for a spoiler decoration. */ spoilerData?: SpoilerData; } enum DecorationType { BOLD = "BOLD", ITALIC = "ITALIC", UNDERLINE = "UNDERLINE", SPOILER = "SPOILER", ANCHOR = "ANCHOR", MENTION = "MENTION", LINK = "LINK", COLOR = "COLOR", FONT_SIZE = "FONT_SIZE", EXTERNAL = "EXTERNAL" } interface AnchorData { /** The target node's ID. */ anchor?: string; } interface ColorData { /** The text's background color as a hexadecimal value. */ background?: string | null; /** The text's foreground color as a hexadecimal value. */ foreground?: string | null; } interface LinkData { /** Link details. */ link?: Link; } interface MentionData { /** The mentioned user's name. */ name?: string; /** The version of the user's name that appears after the `@` character in the mention. */ slug?: string; /** Mentioned user's ID. */ _id?: string | null; } interface FontSizeData { /** The units used for the font size. */ unit?: FontType; /** Font size value. */ value?: number | null; } enum FontType { PX = "PX", EM = "EM" } interface SpoilerData { /** Spoiler ID. */ _id?: string | null; } interface AppEmbedData extends AppEmbedDataAppDataOneOf { /** Data for embedded Wix Bookings content. */ bookingData?: BookingData; /** Data for embedded Wix Events content. */ eventData?: EventData; /** The type of Wix App content being embedded. */ type?: AppType; /** The ID of the embedded content. */ itemId?: string | null; /** The name of the embedded content. */ name?: string | null; /** * Deprecated: Use `image` instead. * @deprecated */ imageSrc?: string | null; /** The URL for the embedded content. */ url?: string | null; /** An image for the embedded content. */ image?: Media; } /** @oneof */ interface AppEmbedDataAppDataOneOf { /** Data for embedded Wix Bookings content. */ bookingData?: BookingData; /** Data for embedded Wix Events content. */ eventData?: EventData; } enum AppType { PRODUCT = "PRODUCT", EVENT = "EVENT", BOOKING = "BOOKING" } interface BookingData { /** Booking duration in minutes. */ durations?: string | null; } interface EventData { /** Event schedule. */ scheduling?: string | null; /** Event location. */ location?: string | null; } interface VideoData { /** Styling for the video's container. */ containerData?: PluginContainerData; /** Video details. */ video?: Media; /** Video thumbnail details. */ thumbnail?: Media; /** Sets whether the video's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Video title. */ title?: string | null; /** Video options. */ options?: PlaybackOptions; } interface PlaybackOptions { /** Sets whether the media will automatically start playing. */ autoPlay?: boolean | null; /** Sets whether media's will be looped. */ playInLoop?: boolean | null; /** Sets whether media's controls will be shown. */ showControls?: boolean | null; } interface EmbedData { /** Styling for the oEmbed node's container. */ containerData?: PluginContainerData; /** An [oEmbed](https://www.oembed.com) object. */ oembed?: Oembed; /** Origin asset source. */ src?: string | null; } interface Oembed { /** The resource type. */ type?: string | null; /** The width of the resource specified in the `url` property in pixels. */ width?: number | null; /** The height of the resource specified in the `url` property in pixels. */ height?: number | null; /** Resource title. */ title?: string | null; /** The source URL for the resource. */ url?: string | null; /** HTML for embedding a video player. The HTML should have no padding or margins. */ html?: string | null; /** The name of the author or owner of the resource. */ authorName?: string | null; /** The URL for the author or owner of the resource. */ authorUrl?: string | null; /** The name of the resource provider. */ providerName?: string | null; /** The URL for the resource provider. */ providerUrl?: string | null; /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */ thumbnailUrl?: string | null; /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */ thumbnailWidth?: string | null; /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */ thumbnailHeight?: string | null; /** The URL for an embedded viedo. */ videoUrl?: string | null; /** The oEmbed version number. This value must be `1.0`. */ version?: string | null; } interface CollapsibleListData { /** Styling for the collapsible list's container. */ containerData?: PluginContainerData; /** If `true`, only one item can be expanded at a time. Defaults to `false`. */ expandOnlyOne?: boolean | null; /** Sets which items are expanded when the page loads. */ initialExpandedItems?: InitialExpandedItems; /** The direction of the text in the list. Either left-to-right or right-to-left. */ direction?: Direction; /** If `true`, The collapsible item will appear in search results as an FAQ. */ isQapageData?: boolean | null; } enum InitialExpandedItems { /** First item will be expended initally */ FIRST = "FIRST", /** All items will expended initally */ ALL = "ALL", /** All items collapsed initally */ NONE = "NONE" } enum Direction { /** Left-to-right */ LTR = "LTR", /** Right-to-left */ RTL = "RTL" } interface TableData { /** Styling for the table's container. */ containerData?: PluginContainerData; /** The table's dimensions. */ dimensions?: Dimensions; /** * Deprecated: Use `rowHeader` and `columnHeader` instead. * @deprecated */ header?: boolean | null; /** Sets whether the table's first row is a header. Defaults to `false`. */ rowHeader?: boolean | null; /** Sets whether the table's first column is a header. Defaults to `false`. */ columnHeader?: boolean | null; } interface Dimensions { /** An array representing relative width of each column in relation to the other columns. */ colsWidthRatio?: number[]; /** An array representing the height of each row in pixels. */ rowsHeight?: number[]; /** An array representing the minimum width of each column in pixels. */ colsMinWidth?: number[]; } interface TableCellData { /** Styling for the cell's background color and text alignment. */ cellStyle?: CellStyle; /** The cell's border colors. */ borderColors?: BorderColors; } enum VerticalAlignment { /** Top alignment */ TOP = "TOP", /** Middle alignment */ MIDDLE = "MIDDLE", /** Bottom alignment */ BOTTOM = "BOTTOM" } interface CellStyle { /** Vertical alignment for the cell's text. */ verticalAlignment?: VerticalAlignment; /** Cell background color as a hexadecimal value. */ backgroundColor?: string | null; } interface BorderColors { /** Left border color as a hexadecimal value. */ left?: string | null; /** Right border color as a hexadecimal value. */ right?: string | null; /** Top border color as a hexadecimal value. */ top?: string | null; /** Bottom border color as a hexadecimal value. */ bottom?: string | null; } /** * `NullValue` is a singleton enumeration to represent the null value for the * `Value` type union. * * The JSON representation for `NullValue` is JSON `null`. */ enum NullValue { /** Null value. */ NULL_VALUE = "NULL_VALUE" } /** * `ListValue` is a wrapper around a repeated field of values. * * The JSON representation for `ListValue` is JSON array. */ interface ListValue { /** Repeated field of dynamically typed values. */ values?: any[]; } interface AudioData { /** Styling for the audio node's container. */ containerData?: PluginContainerData; /** Audio file details. */ audio?: Media; /** Sets whether the audio node's download button is disabled. Defaults to `false`. */ disableDownload?: boolean | null; /** Cover image. */ coverImage?: Media; /** Track name. */ name?: string | null; /** Author name. */ authorName?: string | null; /** An HTML version of the audio node. */ html?: string | null; } interface OrderedListData { /** Indentation level from 0-4. */ indentation?: number; /** Offset level from 0-4. */ offset?: number | null; /** List start number. */ start?: number | null; } interface BulletedListData { /** Indentation level from 0-4. */ indentation?: number; /** Offset level from 0-4. */ offset?: number | null; } interface BlockquoteData { /** Indentation level from 1-4. */ indentation?: number; } interface CaptionData { textStyle?: TextStyle; } interface Metadata { /** Schema version. */ version?: number; /** * When the object was created. * @readonly * @deprecated */ createdTimestamp?: Date | null; /** * When the object was most recently updated. * @deprecated */ updatedTimestamp?: Date | null; /** Object ID. */ _id?: string | null; } interface DocumentStyle { /** Styling for H1 nodes. */ headerOne?: TextNodeStyle; /** Styling for H2 nodes. */ headerTwo?: TextNodeStyle; /** Styling for H3 nodes. */ headerThree?: TextNodeStyle; /** Styling for H4 nodes. */ headerFour?: TextNodeStyle; /** Styling for H5 nodes. */ headerFive?: TextNodeStyle; /** Styling for H6 nodes. */ headerSix?: TextNodeStyle; /** Styling for paragraph nodes. */ paragraph?: TextNodeStyle; /** Styling for block quote nodes. */ blockquote?: TextNodeStyle; /** Styling for code block nodes. */ codeBlock?: TextNodeStyle; } interface TextNodeStyle { /** The decorations to apply to the node. */ decorations?: Decoration[]; /** Padding and background color for the node. */ nodeStyle?: NodeStyle; /** Line height for text in the node. */ lineHeight?: string | null; } interface VideoResolution { /** Video URL. */ url?: string; /** Video height. */ height?: number; /** Video width. */ width?: number; /** * Deprecated. Use the `posters` property in the parent entity instead. * @internal * @deprecated Deprecated. Use the `posters` property in the parent entity instead. * @targetRemovalDate 2029-08-01 */ poster?: string; /** Video format for example, mp4, hls. */ format?: string; /** * Deprecated. Use the `urlExpirationDate` property in the parent entity instead. * @internal * @deprecated Deprecated. Use the `urlExpirationDate` property in the parent entity instead. * @targetRemovalDate 2029-08-01 */ urlExpirationDate?: Date | null; /** * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution. * @internal * @deprecated Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution. * @targetRemovalDate 2029-08-01 */ sizeInBytes?: string | null; /** * Video quality. For example: 480p, 720p. * @internal */ quality?: string | null; /** * Video filename. * @internal */ filename?: string | null; /** * Video duration in seconds. * @internal * @readonly * @deprecated Video duration in seconds. * @replacedBy duration_in_milliseconds * @targetRemovalDate 2029-08-01 */ durationInSeconds?: number | null; /** * Video duration in milliseconds. * @internal * @readonly */ durationInMilliseconds?: number | null; /** * When true, this is a protected asset, and calling the URL will return a 403 error. * In order to access private assets, make a request to: * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request * @internal * @readonly */ private?: boolean | null; /** * Key to identify the video resolution's relationship to the original media in WixMedia. * Can be used to request a download for the specific video resolution. * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4 * @internal * @readonly */ assetKey?: string | null; } enum UpdaterIdentity { /** Unknown updater. */ UNKNOWN_UPDATER_IDENTITY = "UNKNOWN_UPDATER_IDENTITY", /** The Wix user. */ USER = "USER", /** An external translation app. */ EXTERNAL_APP = "EXTERNAL_APP", /** Machine translation service. */ MACHINE = "MACHINE" } enum PublishStatus { /** Unknown publish status. */ UNKNOWN_PUBLISH_STATUS = "UNKNOWN_PUBLISH_STATUS", /** None of the fields have been sent for publication. */ UNPUBLISHED = "UNPUBLISHED", /** Some of the fields have been sent for publication. */ PARTIALLY_PUBLISHED = "PARTIALLY_PUBLISHED", /** All of the fields have been sent for publication. */ PUBLISHED = "PUBLISHED" } interface CreateContentRequest { /** Translation content to create. */ content: Content; } interface CreateContentResponse { /** Newly created translation content. */ content?: Content; } interface GetContentRequest { /** ID of the translation content to retrieve. */ contentId: string; } interface GetContentResponse { /** The requested translation content. */ content?: Content; } interface UpdateContentRequest { /** Translation content to update. */ content: Content; /** * Set of fields to update. * * Fields that aren't included in `fieldMask.paths` are ignored. * @internal */ fieldMask?: string[]; } interface UpdateContentResponse { /** Updated translation content. */ content?: Content; } interface UpdateContentByKeyRequest { /** Content to update. */ content: Content; /** * Set of fields to update. * * Fields that aren't included in `fieldMask.paths` are ignored. * @internal */ fieldMask?: string[]; } interface UpdateContentByKeyResponse { /** Updated Content. */ content?: Content; } interface DeleteContentRequest { /** ID of the translation content to delete. */ contentId: string; } interface DeleteContentResponse { } interface QueryContentsRequest { /** Query options. */ query?: CursorQuery$1; /** * use when query should be consistent * @internal */ consistent?: boolean; } interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging$1; /** * Filter object. * * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section). */ filter?: Record | null; /** * Sort object. * * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). */ sort?: Sorting$1[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf$1 { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging$1; } interface Sorting$1 { /** Name of the field to sort by. */ fieldName?: string; /** Sort order. */ order?: SortOrder$1; /** * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked. * * If multiple filters are provided, they are combined with AND operator. * * Example: * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]} * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] } * @internal */ selectItemsBy?: Record[] | null; } enum SortOrder$1 { ASC = "ASC", DESC = "DESC" } interface CursorPaging$1 { /** Maximum number of items to return in the results. */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. */ cursor?: string | null; } interface QueryContentsResponse { /** List of translation content. */ contents?: Content[]; /** Details on the paged set of results returned. */ pagingMetadata?: CursorPagingMetadata$1; } interface CursorPagingMetadata$1 { /** Number of items returned in current page. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors$1; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; /** * Total number of items matching the filter. * Available only on the first page of *Search* results, not included in *Query* or *List* results. * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page. * @internal */ total?: number | null; } interface Cursors$1 { /** Cursor string pointing to the next page in the list of results. */ next?: string | null; /** Cursor pointing to the previous page in the list of results. */ prev?: string | null; } interface QueryContentsLegacyRequest { /** WQL expression. */ query?: QueryV2; /** * use when query should be consistent * @internal */ consistent?: boolean; } interface QueryV2 extends QueryV2PagingMethodOneOf { /** Paging options to limit and skip the number of items. */ paging?: Paging; /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging$1; /** * Filter object. * * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section). */ filter?: Record | null; /** * Sort object. * * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). */ sort?: Sorting$1[]; /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */ fields?: string[]; /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */ fieldsets?: string[]; } /** @oneof */ interface QueryV2PagingMethodOneOf { /** Paging options to limit and skip the number of items. */ paging?: Paging; /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging$1; } interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface QueryContentsLegacyResponse { /** List of translation content. */ contents?: Content[]; /** Paging metadata. */ pagingMetadata?: PagingMetadataV2; } interface PagingMetadataV2 { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ offset?: number | null; /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */ total?: number | null; /** Flag that indicates the server failed to calculate the `total` field. */ tooManyToCount?: boolean | null; /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */ cursors?: Cursors$1; /** * Indicates if there are more results after the current page. * If `true`, another page of results can be retrieved. * If `false`, this is the last page. * @internal */ hasNext?: boolean | null; } interface SearchContentsRequest { /** Search query and aggregation information. */ search?: CursorSearch; } interface CursorSearch extends CursorSearchPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging$1; /** * Filter object. * * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section). */ filter?: Record | null; /** * List of sort objects. * * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). */ sort?: Sorting$1[]; /** Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition. */ aggregations?: Aggregation[]; /** Free text to match in searchable fields. */ search?: SearchDetails; /** * UTC offset or IANA time zone. Valid values are * ISO 8601 UTC offsets, such as +02:00 or -06:00, * and IANA time zone IDs, such as Europe/Rome. * * Affects all filters and aggregations returned values. * You may override this behavior in a specific filter by providing * timestamps including time zone. For example, `"2023-12-20T10:52:34.795Z"`. */ timeZone?: string | null; } /** @oneof */ interface CursorSearchPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging$1; } interface Aggregation extends AggregationKindOneOf { /** Value aggregation. */ value?: ValueAggregation; /** Range aggregation. */ range?: RangeAggregation; /** Scalar aggregation. */ scalar?: ScalarAggregation; /** Date histogram aggregation. */ dateHistogram?: DateHistogramAggregation; /** Nested aggregation. */ nested?: NestedAggregation; /** User-defined name of aggregation, should be unique, will appear in aggregation results. */ name?: string | null; /** Type of aggregation, client must provide matching aggregation field below. */ type?: AggregationType; /** Field to aggregate by, use dot notation to specify json path. */ fieldPath?: string; /** * Deprecated. Use `nested` instead. * @deprecated Deprecated. Use `nested` instead. * @replacedBy kind.nested * @targetRemovalDate 2029-03-30 */ groupBy?: GroupByAggregation; } /** @oneof */ interface AggregationKindOneOf { /** Value aggregation. */ value?: ValueAggregation; /** Range aggregation. */ range?: RangeAggregation; /** Scalar aggregation. */ scalar?: ScalarAggregation; /** Date histogram aggregation. */ dateHistogram?: DateHistogramAggregation; /** Nested aggregation. */ nested?: NestedAggregation; } interface RangeBucket { /** Inclusive lower bound of the range. Required if `to` is not provided. */ from?: number | null; /** Exclusive upper bound of the range. Required if `from` is not provided. */ to?: number | null; } enum SortType { /** Sort by number of matches. */ COUNT = "COUNT", /** Sort by value of the field alphabetically. */ VALUE = "VALUE" } enum SortDirection { /** Sort in descending order. */ DESC = "DESC", /** Sort in ascending order. */ ASC = "ASC" } enum MissingValues { /** Exclude missing values from the aggregation results. */ EXCLUDE = "EXCLUDE", /** Include missing values in the aggregation results. */ INCLUDE = "INCLUDE" } interface IncludeMissingValuesOptions { /** Specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ... */ addToBucket?: string; } enum ScalarType { /** Undefined scalar type. */ UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE", /** Count of distinct values. */ COUNT_DISTINCT = "COUNT_DISTINCT", /** Minimum value. */ MIN = "MIN", /** Maximum value. */ MAX = "MAX", /** Sum of values. */ SUM = "SUM", /** Average of values. */ AVG = "AVG" } interface ValueAggregation extends ValueAggregationOptionsOneOf { /** Options for including missing values. */ includeOptions?: IncludeMissingValuesOptions; /** Whether to sort by number of matches or value of the field. */ sortType?: SortType; /** Whether to sort in ascending or descending order. */ sortDirection?: SortDirection; /** How many aggregations to return. Can be between 1 and 250. 10 is the default. */ limit?: number | null; /** Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`. */ missingValues?: MissingValues; } /** @oneof */ interface ValueAggregationOptionsOneOf { /** Options for including missing values. */ includeOptions?: IncludeMissingValuesOptions; } enum NestedAggregationType { /** Undefined aggregation type. */ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE", /** An aggregation where result buckets are dynamically built, one per unique value. */ VALUE = "VALUE", /** An aggregation, where the user can define a set of ranges, each representing a bucket. */ RANGE = "RANGE", /** A single-value metric aggregation. For example, min, max, sum, avg. */ SCALAR = "SCALAR", /** An aggregation where result buckets are dynamically built, one per time interval. For example, every hour, day, week, etc. */ DATE_HISTOGRAM = "DATE_HISTOGRAM" } interface RangeAggregation { /** List of range buckets, where during aggregation each entity will be placed in the first bucket its value falls into, based on the provided range bounds. */ buckets?: RangeBucket[]; } interface ScalarAggregation { /** Define the operator for the scalar aggregation. */ type?: ScalarType; } interface DateHistogramAggregation { /** Interval for date histogram aggregation. */ interval?: Interval; } enum Interval { /** Undefined interval type. */ UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL", /** Yearly interval. */ YEAR = "YEAR", /** Monthly interval. */ MONTH = "MONTH", /** Weekly interval. */ WEEK = "WEEK", /** Daily interval. */ DAY = "DAY", /** Hourly interval. */ HOUR = "HOUR", /** Minute interval. */ MINUTE = "MINUTE", /** Second interval. */ SECOND = "SECOND" } interface NestedAggregationItem extends NestedAggregationItemKindOneOf { /** Value aggregation. */ value?: ValueAggregation; /** Range aggregation. */ range?: RangeAggregation; /** Scalar aggregation. */ scalar?: ScalarAggregation; /** Date histogram aggregation. */ dateHistogram?: DateHistogramAggregation; /** User-defined name of aggregation, should be unique, will appear in aggregation results. */ name?: string | null; /** Type of aggregation, client must provide matching aggregation field below. */ type?: NestedAggregationType; /** Field to aggregate by, use dot notation to specify json path. */ fieldPath?: string; } /** @oneof */ interface NestedAggregationItemKindOneOf { /** Value aggregation. */ value?: ValueAggregation; /** Range aggregation. */ range?: RangeAggregation; /** Scalar aggregation. */ scalar?: ScalarAggregation; /** Date histogram aggregation. */ dateHistogram?: DateHistogramAggregation; } enum AggregationType { /** Undefined aggregation type. */ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE", /** An aggregation where result buckets are dynamically built, one per unique value. */ VALUE = "VALUE", /** An aggregation, where the user can define a set of ranges, each representing a bucket. */ RANGE = "RANGE", /** A single-value metric aggregation. For example, min, max, sum, avg. */ SCALAR = "SCALAR", /** An aggregation where result buckets are dynamically built, one per time interval. For example, every hour, day, week, etc. */ DATE_HISTOGRAM = "DATE_HISTOGRAM", /** Multi-level aggregation, where each next aggregation is nested within the previous one. */ NESTED = "NESTED" } /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one. */ interface NestedAggregation { /** Flattened list of aggregations, where each next aggregation is nested within previous one. */ nestedAggregations?: NestedAggregationItem[]; } interface GroupByAggregation extends GroupByAggregationKindOneOf { /** Value aggregation configuration. */ value?: ValueAggregation; /** User-defined name of aggregation, should be unique, will appear in aggregation results. */ name?: string | null; /** Field to aggregate by. */ fieldPath?: string; } /** @oneof */ interface GroupByAggregationKindOneOf { /** Value aggregation configuration. */ value?: ValueAggregation; } interface SearchDetails { /** Defines how separate search terms in `expression` are combined. */ mode?: Mode; /** Search term or expression. */ expression?: string | null; /** Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path. */ fields?: string[]; /** Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm). */ fuzzy?: boolean; } enum Mode { /** Any of the search terms must be present. */ OR = "OR", /** All search terms must be present. */ AND = "AND" } interface SearchContentsResponse { /** List of translation content. */ contents?: Content[]; /** Details on the paged set of results returned. */ pagingMetadata?: CursorPagingMetadata$1; /** Aggregation data. */ aggregationData?: AggregationData; } interface AggregationData { /** key = aggregation name (as derived from search request). */ results?: AggregationResults[]; } interface ValueAggregationResult { /** Value of the field. */ value?: string; /** Count of entities with this value. */ count?: number; } interface RangeAggregationResult { /** Inclusive lower bound of the range. */ from?: number | null; /** Exclusive upper bound of the range. */ to?: number | null; /** Count of entities in this range. */ count?: number; } interface NestedAggregationResults extends NestedAggregationResultsResultOneOf { /** Value aggregation results. */ values?: ValueResults; /** Range aggregation results. */ ranges?: RangeResults; /** Scalar aggregation results. */ scalar?: AggregationResultsScalarResult; /** User-defined name of aggregation, matches the one provided in request. */ name?: string; /** Type of aggregation that matches result. */ type?: AggregationType; /** Field to aggregate by, matches the one provided in request. */ fieldPath?: string; } /** @oneof */ interface NestedAggregationResultsResultOneOf { /** Value aggregation results. */ values?: ValueResults; /** Range aggregation results. */ ranges?: RangeResults; /** Scalar aggregation results. */ scalar?: AggregationResultsScalarResult; } interface ValueResults { /** List of value aggregations. */ results?: ValueAggregationResult[]; } interface RangeResults { /** List of ranges returned in same order as requested. */ results?: RangeAggregationResult[]; } interface AggregationResultsScalarResult { /** Type of scalar aggregation. */ type?: ScalarType; /** Value of the scalar aggregation. */ value?: number; } interface NestedValueAggregationResult { /** Value of the field. */ value?: string; /** Nested aggregations. */ nestedResults?: NestedAggregationResults; } interface ValueResult { /** Value of the field. */ value?: string; /** Count of entities with this value. */ count?: number | null; } interface RangeResult { /** Inclusive lower bound of the range. */ from?: number | null; /** Exclusive upper bound of the range. */ to?: number | null; /** Count of entities in this range. */ count?: number | null; } interface ScalarResult { /** Value of the scalar aggregation. */ value?: number; } interface NestedResultValue extends NestedResultValueResultOneOf { /** Value aggregation result. */ value?: ValueResult; /** Range aggregation result. */ range?: RangeResult; /** Scalar aggregation result. */ scalar?: ScalarResult; /** Date histogram aggregation result. */ dateHistogram?: ValueResult; } /** @oneof */ interface NestedResultValueResultOneOf { /** Value aggregation result. */ value?: ValueResult; /** Range aggregation result. */ range?: RangeResult; /** Scalar aggregation result. */ scalar?: ScalarResult; /** Date histogram aggregation result. */ dateHistogram?: ValueResult; } interface Results { /** List of nested aggregations. */ results?: Record; } interface DateHistogramResult { /** Date in ISO 8601 format. */ value?: string; /** Count of documents in the bucket. */ count?: number; } interface GroupByValueResults { /** List of value aggregations. */ results?: NestedValueAggregationResult[]; } interface DateHistogramResults { /** List of date histogram aggregations. */ results?: DateHistogramResult[]; } /** * Results of `NESTED` aggregation type in a flattened form. * Aggregations in resulting array are keyed by requested aggregation `name`. */ interface NestedResults { /** List of nested aggregations. */ results?: Results[]; } interface AggregationResults extends AggregationResultsResultOneOf { /** Value aggregation results. */ values?: ValueResults; /** Range aggregation results. */ ranges?: RangeResults; /** Scalar aggregation results. */ scalar?: AggregationResultsScalarResult; /** Group by value aggregation results. */ groupedByValue?: GroupByValueResults; /** Date histogram aggregation results. */ dateHistogram?: DateHistogramResults; /** Nested aggregation results. */ nested?: NestedResults; /** User-defined name of aggregation as derived from search request. */ name?: string; /** Type of aggregation that must match provided kind as derived from search request. */ type?: AggregationType; /** Field to aggregate by as derived from search request. */ fieldPath?: string; } /** @oneof */ interface AggregationResultsResultOneOf { /** Value aggregation results. */ values?: ValueResults; /** Range aggregation results. */ ranges?: RangeResults; /** Scalar aggregation results. */ scalar?: AggregationResultsScalarResult; /** Group by value aggregation results. */ groupedByValue?: GroupByValueResults; /** Date histogram aggregation results. */ dateHistogram?: DateHistogramResults; /** Nested aggregation results. */ nested?: NestedResults; } interface BulkCreateContentRequest { /** List of translation content. */ contents: Content[]; /** Whether to include the created translation content items in the response. Set to `true` to receive the translation content items in the response. */ returnEntity?: boolean; } interface BulkCreateContentResponse { /** Items created by bulk action. */ results?: BulkContentResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface ItemMetadata { /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */ _id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } interface BulkContentResult { /** Item metadata. */ itemMetadata?: ItemMetadata; /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */ item?: Content; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } interface BulkUpdateContentRequest { /** Translation content items to update. */ contents: MaskedContent[]; /** Whether to include the updated translation content items in the response. Set to `true` to receive the translation content items in the response. */ returnEntity?: boolean; } interface MaskedContent { /** Translation content to update. */ content?: Content; /** * Explicit list of fields to update. * @internal */ fieldMask?: string[]; } interface BulkUpdateContentResponse { /** Items created by bulk action. */ results?: BulkUpdateContentResponseBulkContentResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkUpdateContentResponseBulkContentResult { /** Item metadata. */ itemMetadata?: ItemMetadata; /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */ item?: Content; } interface BulkUpdateContentByKeyRequest { /** Translation content items to update. */ contents: BulkUpdateContentByKeyRequestMaskedContent[]; /** Whether to include the created translation content items in the response. Set to `true` to receive the translation content items in the response. */ returnEntity?: boolean; } interface BulkUpdateContentByKeyRequestMaskedContent { /** Translation content to update. */ content?: Content; /** * Explicit list of fields to update. * @internal */ fieldMask?: string[]; } interface BulkUpdateContentByKeyResponse { /** Items created by bulk action. */ results?: BulkUpdateContentByKeyResponseBulkContentResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkUpdateContentByKeyResponseBulkContentResult { /** Item metadata. */ itemMetadata?: ItemMetadata; /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */ item?: Content; } interface PermissiveBulkUpdateContentRequest { /** Contents to be updated. TODO: think again if we want to increase maxSize */ contents?: PermissiveBulkUpdateContentRequestMaskedContent[]; /** set to `true` if you wish to receive back the created contents in the response */ returnEntity?: boolean; } interface PermissiveBulkUpdateContentRequestMaskedContent { /** Content to be updated, may be partial */ content?: Content; /** * Explicit list of fields to update. * @internal */ fieldMask?: string[]; } interface PermissiveBulkUpdateContentResponse { /** List of results */ results?: PermissiveBulkUpdateContentResponseBulkContentResult[]; /** metadata */ bulkActionMetadata?: BulkActionMetadata; } interface PermissiveBulkUpdateContentResponseBulkContentResult { /** Item metadata. */ itemMetadata?: ItemMetadata; /** Translation content. This field is only returned if the operation was successful and `returnEntity` was set to true in the request. */ item?: Content; } interface BulkDeleteContentRequest { /** IDs of the translation content items to delete. */ contentIds: string[]; } interface BulkDeleteContentResponse { /** Items created by bulk action. */ results?: BulkDeleteContentResponseBulkContentResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkDeleteContentResponseBulkContentResult { /** Item metadata. */ itemMetadata?: ItemMetadata; } interface MetaSiteSpecialEvent$1 extends MetaSiteSpecialEventPayloadOneOf$1 { /** Emitted on a meta site creation. */ siteCreated?: SiteCreated$1; /** Emitted on a meta site transfer completion. */ siteTransferred?: SiteTransferred$1; /** Emitted on a meta site deletion. */ siteDeleted?: SiteDeleted$1; /** Emitted on a meta site restoration. */ siteUndeleted?: SiteUndeleted$1; /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */ sitePublished?: SitePublished$1; /** Emitted on a meta site unpublish. */ siteUnpublished?: SiteUnpublished$1; /** Emitted when meta site is marked as template. */ siteMarkedAsTemplate?: SiteMarkedAsTemplate$1; /** Emitted when meta site is marked as a WixSite. */ siteMarkedAsWixSite?: SiteMarkedAsWixSite$1; /** Emitted when an application is provisioned (installed). */ serviceProvisioned?: ServiceProvisioned$1; /** Emitted when an application is removed (uninstalled). */ serviceRemoved?: ServiceRemoved$1; /** Emitted when meta site name (URL slug) is changed. */ siteRenamedPayload?: SiteRenamed$1; /** Emitted when meta site was permanently deleted. */ hardDeleted?: SiteHardDeleted$1; /** Emitted on a namespace change. */ namespaceChanged?: NamespaceChanged$1; /** Emitted when Studio is attached. */ studioAssigned?: StudioAssigned$1; /** Emitted when Studio is detached. */ studioUnassigned?: StudioUnassigned$1; /** A meta site id. */ metaSiteId?: string; /** A meta site version. Monotonically increasing. */ version?: string; /** A timestamp of the event. */ timestamp?: string; /** * TODO(meta-site): Change validation once validations are disabled for consumers * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659 */ assets?: Asset$1[]; } /** @oneof */ interface MetaSiteSpecialEventPayloadOneOf$1 { /** Emitted on a meta site creation. */ siteCreated?: SiteCreated$1; /** Emitted on a meta site transfer completion. */ siteTransferred?: SiteTransferred$1; /** Emitted on a meta site deletion. */ siteDeleted?: SiteDeleted$1; /** Emitted on a meta site restoration. */ siteUndeleted?: SiteUndeleted$1; /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */ sitePublished?: SitePublished$1; /** Emitted on a meta site unpublish. */ siteUnpublished?: SiteUnpublished$1; /** Emitted when meta site is marked as template. */ siteMarkedAsTemplate?: SiteMarkedAsTemplate$1; /** Emitted when meta site is marked as a WixSite. */ siteMarkedAsWixSite?: SiteMarkedAsWixSite$1; /** Emitted when an application is provisioned (installed). */ serviceProvisioned?: ServiceProvisioned$1; /** Emitted when an application is removed (uninstalled). */ serviceRemoved?: ServiceRemoved$1; /** Emitted when meta site name (URL slug) is changed. */ siteRenamedPayload?: SiteRenamed$1; /** Emitted when meta site was permanently deleted. */ hardDeleted?: SiteHardDeleted$1; /** Emitted on a namespace change. */ namespaceChanged?: NamespaceChanged$1; /** Emitted when Studio is attached. */ studioAssigned?: StudioAssigned$1; /** Emitted when Studio is detached. */ studioUnassigned?: StudioUnassigned$1; } interface Asset$1 { /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */ appDefId?: string; /** An instance id. For legacy reasons may be UUID or a string. */ instanceId?: string; /** An application state. */ state?: State$1; } enum State$1 { UNKNOWN = "UNKNOWN", ENABLED = "ENABLED", DISABLED = "DISABLED", PENDING = "PENDING", DEMO = "DEMO" } interface SiteCreated$1 { /** A template identifier (empty if not created from a template). */ originTemplateId?: string; /** An account id of the owner. */ ownerId?: string; /** A context in which meta site was created. */ context?: SiteCreatedContext$1; /** * A meta site id from which this site was created. * * In case of a creation from a template it's a template id. * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site. */ originMetaSiteId?: string | null; /** A meta site name (URL slug). */ siteName?: string; /** A namespace. */ namespace?: Namespace$1; } enum SiteCreatedContext$1 { /** A valid option, we don't expose all reasons why site might be created. */ OTHER = "OTHER", /** A meta site was created from template. */ FROM_TEMPLATE = "FROM_TEMPLATE", /** A meta site was created by copying of the transfferred meta site. */ DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER", /** A copy of existing meta site. */ DUPLICATE = "DUPLICATE", /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */ OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER", /** deprecated A meta site was created for Flash editor. */ FLASH = "FLASH" } enum Namespace$1 { UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE", /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */ WIX = "WIX", /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */ SHOUT_OUT = "SHOUT_OUT", /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */ ALBUMS = "ALBUMS", /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE", /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */ HOTELS = "HOTELS", /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */ CLUBS = "CLUBS", /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */ ONBOARDING_DRAFT = "ONBOARDING_DRAFT", /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */ DEV_SITE = "DEV_SITE", /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */ LOGOS = "LOGOS", /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */ VIDEO_MAKER = "VIDEO_MAKER", /** MetaSites with this namespace will *not* be shown in a user's site list by default. */ PARTNER_DASHBOARD = "PARTNER_DASHBOARD", /** MetaSites with this namespace will *not* be shown in a user's site list by default. */ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY", /** * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain. * * Meta site with this namespace will *not* be shown in a user's site list by default. */ HTML_DRAFT = "HTML_DRAFT", /** * the user-journey for Fitness users who want to start from managing their business instead of designing their website. * Will be accessible from Site List and will not have a website app. * Once the user attaches a site, the site will become a regular wixsite. */ SITELESS_BUSINESS = "SITELESS_BUSINESS", /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */ CREATOR_ECONOMY = "CREATOR_ECONOMY", /** It is to be used in the Business First efforts. */ DASHBOARD_FIRST = "DASHBOARD_FIRST", /** Bookings business flow with no site. */ ANYWHERE = "ANYWHERE", /** Namespace for Headless Backoffice with no editor */ HEADLESS = "HEADLESS", /** * Namespace for master site that will exist in parent account that will be referenced by subaccounts * The site will be used for account level CSM feature for enterprise */ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS", /** Rise.ai Siteless account management for Gift Cards and Store Credit. */ RISE = "RISE", /** * As part of the branded app new funnel, users now can create a meta site that will be branded app first. * There's a blank site behind the scene but it's blank). * The Mobile company will be the owner of this namespace. */ BRANDED_FIRST = "BRANDED_FIRST", /** Nownia.com Siteless account management for Ai Scheduling Assistant. */ NOWNIA = "NOWNIA", /** * UGC Templates are templates that are created by users for personal use and to sale to other users. * The Partners company owns this namespace. */ UGC_TEMPLATE = "UGC_TEMPLATE", /** Codux Headless Sites */ CODUX = "CODUX", /** Bobb - AI Design Creator. */ MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR" } /** Site transferred to another user. */ interface SiteTransferred$1 { /** A previous owner id (user that transfers meta site). */ oldOwnerId?: string; /** A new owner id (user that accepts meta site). */ newOwnerId?: string; } /** Soft deletion of the meta site. Could be restored. */ interface SiteDeleted$1 { /** A deletion context. */ deleteContext?: DeleteContext$1; } interface DeleteContext$1 { /** When the meta site was deleted. */ dateDeleted?: Date | null; /** A status. */ deleteStatus?: DeleteStatus$1; /** A reason (flow). */ deleteOrigin?: string; /** A service that deleted it. */ initiatorId?: string | null; } enum DeleteStatus$1 { UNKNOWN = "UNKNOWN", TRASH = "TRASH", DELETED = "DELETED", PENDING_PURGE = "PENDING_PURGE" } /** Restoration of the meta site. */ interface SiteUndeleted$1 { } /** First publish of a meta site. Or subsequent publish after unpublish. */ interface SitePublished$1 { } interface SiteUnpublished$1 { /** A list of URLs previously associated with the meta site. */ urls?: string[]; } interface SiteMarkedAsTemplate$1 { } interface SiteMarkedAsWixSite$1 { } interface ServiceProvisioned$1 { /** Either UUID or EmbeddedServiceType. */ appDefId?: string; /** Not only UUID. Something here could be something weird. */ instanceId?: string; /** An instance id from which this instance is originated. */ originInstanceId?: string; /** A version. */ version?: string | null; /** The origin meta site id */ originMetaSiteId?: string | null; } interface ServiceRemoved$1 { /** Either UUID or EmbeddedServiceType. */ appDefId?: string; /** Not only UUID. Something here could be something weird. */ instanceId?: string; /** A version. */ version?: string | null; } /** Rename of the site. Meaning, free public url has been changed as well. */ interface SiteRenamed$1 { /** A new meta site name (URL slug). */ newSiteName?: string; /** A previous meta site name (URL slug). */ oldSiteName?: string; } /** * Hard deletion of the meta site. * * Could not be restored. Therefore it's desirable to cleanup data. */ interface SiteHardDeleted$1 { /** A deletion context. */ deleteContext?: DeleteContext$1; } interface NamespaceChanged$1 { /** A previous namespace. */ oldNamespace?: Namespace$1; /** A new namespace. */ newNamespace?: Namespace$1; } /** Assigned Studio editor */ interface StudioAssigned$1 { } /** Unassigned Studio editor */ interface StudioUnassigned$1 { } interface Empty$1 { } interface DomainEvent$1 extends DomainEventBodyOneOf$1 { createdEvent?: EntityCreatedEvent$1; updatedEvent?: EntityUpdatedEvent$1; deletedEvent?: EntityDeletedEvent$1; actionEvent?: ActionEvent$1; /** * Unique event ID. * Allows clients to ignore duplicate webhooks. */ _id?: string; /** * Assumes actions are also always typed to an entity_type * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction */ entityFqdn?: string; /** * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug) * This is although the created/updated/deleted notion is duplication of the oneof types * Example: created/updated/deleted/started/completed/email_opened */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number defining the order of updates to the underlying entity. * For example, given that some entity was updated at 16:00 and than again at 16:01, * it is guaranteed that the sequence number of the second update is strictly higher than the first. * As the consumer, you can use this value to ensure that you handle messages in the correct order. * To do so, you will need to persist this number on your end, and compare the sequence number from the * message against the one you have stored. Given that the stored number is higher, you should ignore the message. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf$1 { createdEvent?: EntityCreatedEvent$1; updatedEvent?: EntityUpdatedEvent$1; deletedEvent?: EntityDeletedEvent$1; actionEvent?: ActionEvent$1; } interface EntityCreatedEvent$1 { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo$1; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo$1 { deletedDate?: Date | null; } interface EntityUpdatedEvent$1 { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * WIP - This property will hold both names and previous values of the updated fields of the entity. * For more details please see [adr](https://docs.google.com/document/d/1PdqsOM20Ph2HAkmx8zvUnzzk3Sekp3BR9h34wSvsRnI/edit#heading=h.phlw87mh2imx) or [issue](https://github.com/wix-private/nile-tracker/issues/363) * @internal */ modifiedFields?: Record; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent$1 { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted */ deletedEntityAsJson?: string | null; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent$1 { bodyAsJson?: string; } interface RemoveContentsByFilterRequest { /** the query filter content to delete */ query?: CursorQuery$1; } interface RemoveContentsByFilterResponse { /** follow the remove job. */ jobId?: string | null; } interface RepublishContentByFilterRequest { /** the query filter content to delete */ query: CursorQuery$1; /** the maximum to try and republish in one request - if content exceed this the a cursor will be returned */ maxToPublish?: number | null; } interface RepublishContentByFilterResponse { /** Details on the paged set of results returned. */ pagingMetadata?: CursorPagingMetadata$1; } interface ChangeContentLocaleRequest extends ChangeContentLocaleRequestQueryContextOneOf { /** Specifies source locale filter for initial selection query. */ sourceLocale?: string; /** Indicates the cursor for paginated query processing. */ cursorPaging?: CursorPaging$1; /** Specifies target locale to change to */ targetLocale?: string; } /** @oneof */ interface ChangeContentLocaleRequestQueryContextOneOf { /** Specifies source locale filter for initial selection query. */ sourceLocale?: string; /** Indicates the cursor for paginated query processing. */ cursorPaging?: CursorPaging$1; } interface ChangeContentLocaleResponse { /** Details on the paged set of content items with changed locale. */ pagingMetadata?: CursorPagingMetadata$1; } interface MessageEnvelope$1 { /** App instance ID. */ instanceId?: string | null; /** Event type. */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData$1; /** Stringify payload. */ data?: string; } interface IdentificationData$1 extends IdentificationDataIdOneOf$1 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; /** @readonly */ identityType?: WebhookIdentityType$1; } /** @oneof */ interface IdentificationDataIdOneOf$1 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; } enum WebhookIdentityType$1 { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** * Creates a translation content item. * * The content is validated based on the constraints defined in the corresponding schema. * @param content - Translation content to create. * @public * @documentationMaturity preview * @requiredField content * @requiredField content.entityId * @requiredField content.fields * @requiredField content.locale * @requiredField content.schemaId * @permissionId WIX_MULTILINGUAL.CONTENT_CREATE * @adminMethod * @returns Newly created translation content. */ function createContent(content: Content): Promise; /** * Retrieves a translation content item. * @param contentId - ID of the translation content to retrieve. * @public * @documentationMaturity preview * @requiredField contentId * @permissionId WIX_MULTILINGUAL.CONTENT_READ * @adminMethod * @returns The requested translation content. */ function getContent(contentId: string): Promise; /** * Updates a translation content item by ID. * * To remove a field, pass the field key with an empty object as the value. For example: * * ```json * { * "fields": { * "title": {} * } * } * ``` * @param _id - Translation content ID. * @public * @documentationMaturity preview * @requiredField _id * @requiredField content * @requiredField content.schemaId * @permissionId WIX_MULTILINGUAL.CONTENT_UPDATE * @adminMethod * @returns Updated translation content. */ function updateContent(_id: string | null, content: UpdateContent, options?: UpdateContentOptions): Promise; interface UpdateContent { /** * Translation content ID. * @readonly */ _id?: string | null; /** Translation schema ID. */ schemaId?: string; /** A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`. */ entityId?: string; /** Translation content locale. */ locale?: string; /** List of fields for the translation content. This property uses a string to map to a `ContentField` (`Map`). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema. */ fields?: Record; /** A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to. */ parentEntityId?: string | null; /** * The aggregated published status across all content fields. * @readonly */ publishStatus?: PublishStatus; /** * Contains the value of the preview field if the schema defines one. * @readonly */ previewField?: string | null; /** * Date and time the translation content was created. * @readonly */ _createdDate?: Date | null; /** * Date and time the translation content was updated. * @readonly */ _updatedDate?: Date | null; } interface UpdateContentOptions { /** * Set of fields to update. * * Fields that aren't included in `fieldMask.paths` are ignored. * @internal */ fieldMask?: string[]; } /** * Updates a translation content item using a unique key, which is a combination of `content.schemaId`, `content.entityId`, and `content.locale`. * * To remove a field, pass the field key with an empty object as the value. For example: * * ```json * { * "fields": { * "title": {} * } * } * ``` * @param content - Content to update. * @public * @documentationMaturity preview * @requiredField content * @requiredField content.entityId * @requiredField content.locale * @requiredField content.schemaId * @permissionId WIX_MULTILINGUAL.CONTENT_UPDATE * @adminMethod */ function updateContentByKey(content: Content, options?: UpdateContentByKeyOptions): Promise; interface UpdateContentByKeyOptions { /** * Set of fields to update. * * Fields that aren't included in `fieldMask.paths` are ignored. * @internal */ fieldMask?: string[]; } /** * Deletes a translation content item. * @param contentId - ID of the translation content to delete. * @public * @documentationMaturity preview * @requiredField contentId * @permissionId WIX_MULTILINGUAL.CONTENT_DELETE * @adminMethod */ function deleteContent(contentId: string): Promise; /** * Creates a query to retrieve a list of translation content items. * * The `queryContents()` function builds a query to retrieve a list of translation content items and returns a `ContentsQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-content/contents-query-builder/find) function. * * You can refine the query by chaining `ContentsQueryBuilder` functions onto the query. `ContentsQueryBuilder` functions enable you to filter, sort, and control the results that `queryContents()` returns. * * `queryContents()` runs with the following `ContentsQueryBuilder` defaults which you can override: * * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-content/contents-query-builder/limit) * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-content/contents-query-builder/ascending) * * The following `ContentsQueryBuilder` functions are supported for `queryContents()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-content/contents-query-result/items) property in `ContentsQueryResult`. * @public * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.CONTENT_READ * @adminMethod */ function queryContents(options?: QueryContentsOptions): ContentsQueryBuilder; interface QueryContentsOptions { /** * use when query should be consistent * @internal */ consistent?: boolean | undefined; } interface QueryCursorResult$1 { cursors: Cursors$1; hasNext: () => boolean; hasPrev: () => boolean; length: number; pageSize: number; } interface ContentsQueryResult extends QueryCursorResult$1 { items: Content[]; query: ContentsQueryBuilder; next: () => Promise; prev: () => Promise; } interface ContentsQueryBuilder { /** @param propertyName - Property whose value is compared with `value`. * @param value - Value to compare against. * @documentationMaturity preview */ eq: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any) => ContentsQueryBuilder; /** @param propertyName - Property whose value is compared with `value`. * @param value - Value to compare against. * @documentationMaturity preview */ ne: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any) => ContentsQueryBuilder; /** @param propertyName - Property whose value is compared with `string`. * @param string - String to compare against. Case-insensitive. * @documentationMaturity preview */ startsWith: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId', value: string) => ContentsQueryBuilder; /** @param propertyName - Property whose value is compared with `values`. * @param values - List of values to compare against. * @documentationMaturity preview */ hasSome: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any[]) => ContentsQueryBuilder; /** @documentationMaturity preview */ in: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any) => ContentsQueryBuilder; /** @documentationMaturity preview */ exists: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: boolean) => ContentsQueryBuilder; /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. * @documentationMaturity preview */ ascending: (...propertyNames: Array<'_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus'>) => ContentsQueryBuilder; /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. * @documentationMaturity preview */ descending: (...propertyNames: Array<'_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus'>) => ContentsQueryBuilder; /** @param limit - Number of items to return, which is also the `pageSize` of the results object. * @documentationMaturity preview */ limit: (limit: number) => ContentsQueryBuilder; /** @param cursor - A pointer to specific record * @documentationMaturity preview */ skipTo: (cursor: string) => ContentsQueryBuilder; /** @documentationMaturity preview */ find: () => Promise; } /** @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.CONTENT_READ * @adminMethod */ function queryContentsLegacy(options?: QueryContentsLegacyOptions): Promise; interface QueryContentsLegacyOptions { /** WQL expression. */ query?: QueryV2; /** * use when query should be consistent * @internal */ consistent?: boolean; } /** * Retrieves a list of all translation content associated with a site that matches the search query, with optional data aggregation. * * Note that this method allows you to retrieve all translation content for a site, regardless of which app created it. * * Use this method to search translation content fields on a site for a given expression, and/or to perform data aggregations on a site's translation content fields. * * For field support for filters, sorting, and free-text searching see [Translation Content: Supported Filters, Sorting, and Search](https://dev.wix.com/docs/rest/business-management/multilingual/translation/translation-content/sort-filter-and-search). * * To learn more about working with the search query, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging). * @public * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.CONTENT_READ * @adminMethod */ function searchContents(options?: SearchContentsOptions): Promise; interface SearchContentsOptions { /** Search query and aggregation information. */ search?: CursorSearch; } /** * Creates multiple translation content items. * * The content items are validated based on the constraints defined in the corresponding schema. * @param contents - List of translation content. * @public * @documentationMaturity preview * @requiredField contents * @requiredField contents.entityId * @requiredField contents.fields * @requiredField contents.locale * @requiredField contents.schemaId * @permissionId WIX_MULTILINGUAL.CONTENT_CREATE * @adminMethod */ function bulkCreateContent(contents: Content[], options?: BulkCreateContentOptions): Promise; interface BulkCreateContentOptions { /** Whether to include the created translation content items in the response. Set to `true` to receive the translation content items in the response. */ returnEntity?: boolean; } /** * Updates multiple translation content items by ID. * * To remove a field, pass the field key with an empty object as the value. For example: * * ```json * { * "fields": { * "title": {} * } * } * ``` * @param contents - Translation content items to update. * @public * @documentationMaturity preview * @requiredField contents * @requiredField contents.content._id * @requiredField contents.content.schemaId * @permissionId WIX_MULTILINGUAL.CONTENT_UPDATE * @adminMethod */ function bulkUpdateContent(contents: MaskedContent[], options?: BulkUpdateContentOptions): Promise; interface BulkUpdateContentOptions { /** Whether to include the updated translation content items in the response. Set to `true` to receive the translation content items in the response. */ returnEntity?: boolean; } /** * Updates multiple translation content items using a unique key, which is a combination of `contents.content.schemaId`, `contents.content.entityId`, and `contents.content.locale`. * * To remove a field, pass the field key with an empty object as the value. For example: * * ```json * { * "fields": { * "title": {} * } * } * ``` * @param contents - Translation content items to update. * @public * @documentationMaturity preview * @requiredField contents * @requiredField contents.content.entityId * @requiredField contents.content.locale * @requiredField contents.content.schemaId * @permissionId WIX_MULTILINGUAL.CONTENT_UPDATE * @adminMethod */ function bulkUpdateContentByKey(contents: BulkUpdateContentByKeyRequestMaskedContent[], options?: BulkUpdateContentByKeyOptions): Promise; interface BulkUpdateContentByKeyOptions { /** Whether to include the created translation content items in the response. Set to `true` to receive the translation content items in the response. */ returnEntity?: boolean; } /** * Deletes multiple translation content items. * @param contentIds - IDs of the translation content items to delete. * @public * @documentationMaturity preview * @requiredField contentIds * @permissionId WIX_MULTILINGUAL.CONTENT_DELETE * @adminMethod */ function bulkDeleteContent(contentIds: string[]): Promise; /** * Removes existing content by filter. Non-matching filters are ignored. Optional cursor exists. * @internal * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.CONTENT_REMOVE_BY_FILTER * @adminMethod */ function removeContentsByFilter(options?: RemoveContentsByFilterOptions): Promise; interface RemoveContentsByFilterOptions { /** the query filter content to delete */ query?: CursorQuery$1; } /** * Send domain events for purpose of republishing. All contents matching the filter will be sent. Optional cursor exists. * @param query - the query filter content to delete * @internal * @documentationMaturity preview * @requiredField query * @permissionId WIX_MULTILINGUAL.CONTENT_REPUBLISH * @adminMethod */ function republishContentByFilter(query: CursorQuery$1, options?: RepublishContentByFilterOptions): Promise; interface RepublishContentByFilterOptions { /** the maximum to try and republish in one request - if content exceed this the a cursor will be returned */ maxToPublish?: number | null; } type multilingualTranslationV1Content_universal_d_Content = Content; type multilingualTranslationV1Content_universal_d_ContentField = ContentField; type multilingualTranslationV1Content_universal_d_ContentFieldValueOneOf = ContentFieldValueOneOf; type multilingualTranslationV1Content_universal_d_RichContent = RichContent; type multilingualTranslationV1Content_universal_d_Node = Node; type multilingualTranslationV1Content_universal_d_NodeDataOneOf = NodeDataOneOf; type multilingualTranslationV1Content_universal_d_NodeType = NodeType; const multilingualTranslationV1Content_universal_d_NodeType: typeof NodeType; type multilingualTranslationV1Content_universal_d_NodeStyle = NodeStyle; type multilingualTranslationV1Content_universal_d_ButtonData = ButtonData; type multilingualTranslationV1Content_universal_d_Border = Border; type multilingualTranslationV1Content_universal_d_Colors = Colors; type multilingualTranslationV1Content_universal_d_PluginContainerData = PluginContainerData; type multilingualTranslationV1Content_universal_d_WidthType = WidthType; const multilingualTranslationV1Content_universal_d_WidthType: typeof WidthType; type multilingualTranslationV1Content_universal_d_PluginContainerDataWidth = PluginContainerDataWidth; type multilingualTranslationV1Content_universal_d_PluginContainerDataWidthDataOneOf = PluginContainerDataWidthDataOneOf; type multilingualTranslationV1Content_universal_d_PluginContainerDataAlignment = PluginContainerDataAlignment; const multilingualTranslationV1Content_universal_d_PluginContainerDataAlignment: typeof PluginContainerDataAlignment; type multilingualTranslationV1Content_universal_d_Spoiler = Spoiler; type multilingualTranslationV1Content_universal_d_Height = Height; type multilingualTranslationV1Content_universal_d_Type = Type; const multilingualTranslationV1Content_universal_d_Type: typeof Type; type multilingualTranslationV1Content_universal_d_Styles = Styles; type multilingualTranslationV1Content_universal_d_Link = Link; type multilingualTranslationV1Content_universal_d_LinkDataOneOf = LinkDataOneOf; type multilingualTranslationV1Content_universal_d_Target = Target; const multilingualTranslationV1Content_universal_d_Target: typeof Target; type multilingualTranslationV1Content_universal_d_Rel = Rel; type multilingualTranslationV1Content_universal_d_CodeBlockData = CodeBlockData; type multilingualTranslationV1Content_universal_d_TextStyle = TextStyle; type multilingualTranslationV1Content_universal_d_TextAlignment = TextAlignment; const multilingualTranslationV1Content_universal_d_TextAlignment: typeof TextAlignment; type multilingualTranslationV1Content_universal_d_DividerData = DividerData; type multilingualTranslationV1Content_universal_d_LineStyle = LineStyle; const multilingualTranslationV1Content_universal_d_LineStyle: typeof LineStyle; type multilingualTranslationV1Content_universal_d_Width = Width; const multilingualTranslationV1Content_universal_d_Width: typeof Width; type multilingualTranslationV1Content_universal_d_Alignment = Alignment; const multilingualTranslationV1Content_universal_d_Alignment: typeof Alignment; type multilingualTranslationV1Content_universal_d_FileData = FileData; type multilingualTranslationV1Content_universal_d_ViewMode = ViewMode; const multilingualTranslationV1Content_universal_d_ViewMode: typeof ViewMode; type multilingualTranslationV1Content_universal_d_FileSource = FileSource; type multilingualTranslationV1Content_universal_d_FileSourceDataOneOf = FileSourceDataOneOf; type multilingualTranslationV1Content_universal_d_PDFSettings = PDFSettings; type multilingualTranslationV1Content_universal_d_GalleryData = GalleryData; type multilingualTranslationV1Content_universal_d_Media = Media; type multilingualTranslationV1Content_universal_d_Image = Image; type multilingualTranslationV1Content_universal_d_Video = Video; type multilingualTranslationV1Content_universal_d_Item = Item; type multilingualTranslationV1Content_universal_d_ItemDataOneOf = ItemDataOneOf; type multilingualTranslationV1Content_universal_d_GalleryOptions = GalleryOptions; type multilingualTranslationV1Content_universal_d_LayoutType = LayoutType; const multilingualTranslationV1Content_universal_d_LayoutType: typeof LayoutType; type multilingualTranslationV1Content_universal_d_Orientation = Orientation; const multilingualTranslationV1Content_universal_d_Orientation: typeof Orientation; type multilingualTranslationV1Content_universal_d_Crop = Crop; const multilingualTranslationV1Content_universal_d_Crop: typeof Crop; type multilingualTranslationV1Content_universal_d_ThumbnailsAlignment = ThumbnailsAlignment; const multilingualTranslationV1Content_universal_d_ThumbnailsAlignment: typeof ThumbnailsAlignment; type multilingualTranslationV1Content_universal_d_Layout = Layout; type multilingualTranslationV1Content_universal_d_ItemStyle = ItemStyle; type multilingualTranslationV1Content_universal_d_Thumbnails = Thumbnails; type multilingualTranslationV1Content_universal_d_GIFData = GIFData; type multilingualTranslationV1Content_universal_d_GIF = GIF; type multilingualTranslationV1Content_universal_d_HeadingData = HeadingData; type multilingualTranslationV1Content_universal_d_HTMLData = HTMLData; type multilingualTranslationV1Content_universal_d_HTMLDataDataOneOf = HTMLDataDataOneOf; type multilingualTranslationV1Content_universal_d_Source = Source; const multilingualTranslationV1Content_universal_d_Source: typeof Source; type multilingualTranslationV1Content_universal_d_ImageData = ImageData; type multilingualTranslationV1Content_universal_d_LinkPreviewData = LinkPreviewData; type multilingualTranslationV1Content_universal_d_MapData = MapData; type multilingualTranslationV1Content_universal_d_MapSettings = MapSettings; type multilingualTranslationV1Content_universal_d_MapType = MapType; const multilingualTranslationV1Content_universal_d_MapType: typeof MapType; type multilingualTranslationV1Content_universal_d_ParagraphData = ParagraphData; type multilingualTranslationV1Content_universal_d_PollData = PollData; type multilingualTranslationV1Content_universal_d_ViewRole = ViewRole; const multilingualTranslationV1Content_universal_d_ViewRole: typeof ViewRole; type multilingualTranslationV1Content_universal_d_VoteRole = VoteRole; const multilingualTranslationV1Content_universal_d_VoteRole: typeof VoteRole; type multilingualTranslationV1Content_universal_d_Permissions = Permissions; type multilingualTranslationV1Content_universal_d_Option = Option; type multilingualTranslationV1Content_universal_d_Settings = Settings; type multilingualTranslationV1Content_universal_d_PollLayoutType = PollLayoutType; const multilingualTranslationV1Content_universal_d_PollLayoutType: typeof PollLayoutType; type multilingualTranslationV1Content_universal_d_PollLayoutDirection = PollLayoutDirection; const multilingualTranslationV1Content_universal_d_PollLayoutDirection: typeof PollLayoutDirection; type multilingualTranslationV1Content_universal_d_PollLayout = PollLayout; type multilingualTranslationV1Content_universal_d_OptionLayout = OptionLayout; type multilingualTranslationV1Content_universal_d_BackgroundType = BackgroundType; const multilingualTranslationV1Content_universal_d_BackgroundType: typeof BackgroundType; type multilingualTranslationV1Content_universal_d_Gradient = Gradient; type multilingualTranslationV1Content_universal_d_Background = Background; type multilingualTranslationV1Content_universal_d_BackgroundBackgroundOneOf = BackgroundBackgroundOneOf; type multilingualTranslationV1Content_universal_d_PollDesign = PollDesign; type multilingualTranslationV1Content_universal_d_OptionDesign = OptionDesign; type multilingualTranslationV1Content_universal_d_Poll = Poll; type multilingualTranslationV1Content_universal_d_PollDataLayout = PollDataLayout; type multilingualTranslationV1Content_universal_d_Design = Design; type multilingualTranslationV1Content_universal_d_TextData = TextData; type multilingualTranslationV1Content_universal_d_Decoration = Decoration; type multilingualTranslationV1Content_universal_d_DecorationDataOneOf = DecorationDataOneOf; type multilingualTranslationV1Content_universal_d_DecorationType = DecorationType; const multilingualTranslationV1Content_universal_d_DecorationType: typeof DecorationType; type multilingualTranslationV1Content_universal_d_AnchorData = AnchorData; type multilingualTranslationV1Content_universal_d_ColorData = ColorData; type multilingualTranslationV1Content_universal_d_LinkData = LinkData; type multilingualTranslationV1Content_universal_d_MentionData = MentionData; type multilingualTranslationV1Content_universal_d_FontSizeData = FontSizeData; type multilingualTranslationV1Content_universal_d_FontType = FontType; const multilingualTranslationV1Content_universal_d_FontType: typeof FontType; type multilingualTranslationV1Content_universal_d_SpoilerData = SpoilerData; type multilingualTranslationV1Content_universal_d_AppEmbedData = AppEmbedData; type multilingualTranslationV1Content_universal_d_AppEmbedDataAppDataOneOf = AppEmbedDataAppDataOneOf; type multilingualTranslationV1Content_universal_d_AppType = AppType; const multilingualTranslationV1Content_universal_d_AppType: typeof AppType; type multilingualTranslationV1Content_universal_d_BookingData = BookingData; type multilingualTranslationV1Content_universal_d_EventData = EventData; type multilingualTranslationV1Content_universal_d_VideoData = VideoData; type multilingualTranslationV1Content_universal_d_PlaybackOptions = PlaybackOptions; type multilingualTranslationV1Content_universal_d_EmbedData = EmbedData; type multilingualTranslationV1Content_universal_d_Oembed = Oembed; type multilingualTranslationV1Content_universal_d_CollapsibleListData = CollapsibleListData; type multilingualTranslationV1Content_universal_d_InitialExpandedItems = InitialExpandedItems; const multilingualTranslationV1Content_universal_d_InitialExpandedItems: typeof InitialExpandedItems; type multilingualTranslationV1Content_universal_d_Direction = Direction; const multilingualTranslationV1Content_universal_d_Direction: typeof Direction; type multilingualTranslationV1Content_universal_d_TableData = TableData; type multilingualTranslationV1Content_universal_d_Dimensions = Dimensions; type multilingualTranslationV1Content_universal_d_TableCellData = TableCellData; type multilingualTranslationV1Content_universal_d_VerticalAlignment = VerticalAlignment; const multilingualTranslationV1Content_universal_d_VerticalAlignment: typeof VerticalAlignment; type multilingualTranslationV1Content_universal_d_CellStyle = CellStyle; type multilingualTranslationV1Content_universal_d_BorderColors = BorderColors; type multilingualTranslationV1Content_universal_d_NullValue = NullValue; const multilingualTranslationV1Content_universal_d_NullValue: typeof NullValue; type multilingualTranslationV1Content_universal_d_ListValue = ListValue; type multilingualTranslationV1Content_universal_d_AudioData = AudioData; type multilingualTranslationV1Content_universal_d_OrderedListData = OrderedListData; type multilingualTranslationV1Content_universal_d_BulletedListData = BulletedListData; type multilingualTranslationV1Content_universal_d_BlockquoteData = BlockquoteData; type multilingualTranslationV1Content_universal_d_CaptionData = CaptionData; type multilingualTranslationV1Content_universal_d_Metadata = Metadata; type multilingualTranslationV1Content_universal_d_DocumentStyle = DocumentStyle; type multilingualTranslationV1Content_universal_d_TextNodeStyle = TextNodeStyle; type multilingualTranslationV1Content_universal_d_VideoResolution = VideoResolution; type multilingualTranslationV1Content_universal_d_UpdaterIdentity = UpdaterIdentity; const multilingualTranslationV1Content_universal_d_UpdaterIdentity: typeof UpdaterIdentity; type multilingualTranslationV1Content_universal_d_PublishStatus = PublishStatus; const multilingualTranslationV1Content_universal_d_PublishStatus: typeof PublishStatus; type multilingualTranslationV1Content_universal_d_CreateContentRequest = CreateContentRequest; type multilingualTranslationV1Content_universal_d_CreateContentResponse = CreateContentResponse; type multilingualTranslationV1Content_universal_d_GetContentRequest = GetContentRequest; type multilingualTranslationV1Content_universal_d_GetContentResponse = GetContentResponse; type multilingualTranslationV1Content_universal_d_UpdateContentRequest = UpdateContentRequest; type multilingualTranslationV1Content_universal_d_UpdateContentResponse = UpdateContentResponse; type multilingualTranslationV1Content_universal_d_UpdateContentByKeyRequest = UpdateContentByKeyRequest; type multilingualTranslationV1Content_universal_d_UpdateContentByKeyResponse = UpdateContentByKeyResponse; type multilingualTranslationV1Content_universal_d_DeleteContentRequest = DeleteContentRequest; type multilingualTranslationV1Content_universal_d_DeleteContentResponse = DeleteContentResponse; type multilingualTranslationV1Content_universal_d_QueryContentsRequest = QueryContentsRequest; type multilingualTranslationV1Content_universal_d_QueryContentsResponse = QueryContentsResponse; type multilingualTranslationV1Content_universal_d_QueryContentsLegacyRequest = QueryContentsLegacyRequest; type multilingualTranslationV1Content_universal_d_QueryV2 = QueryV2; type multilingualTranslationV1Content_universal_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf; type multilingualTranslationV1Content_universal_d_Paging = Paging; type multilingualTranslationV1Content_universal_d_QueryContentsLegacyResponse = QueryContentsLegacyResponse; type multilingualTranslationV1Content_universal_d_PagingMetadataV2 = PagingMetadataV2; type multilingualTranslationV1Content_universal_d_SearchContentsRequest = SearchContentsRequest; type multilingualTranslationV1Content_universal_d_CursorSearch = CursorSearch; type multilingualTranslationV1Content_universal_d_CursorSearchPagingMethodOneOf = CursorSearchPagingMethodOneOf; type multilingualTranslationV1Content_universal_d_Aggregation = Aggregation; type multilingualTranslationV1Content_universal_d_AggregationKindOneOf = AggregationKindOneOf; type multilingualTranslationV1Content_universal_d_RangeBucket = RangeBucket; type multilingualTranslationV1Content_universal_d_SortType = SortType; const multilingualTranslationV1Content_universal_d_SortType: typeof SortType; type multilingualTranslationV1Content_universal_d_SortDirection = SortDirection; const multilingualTranslationV1Content_universal_d_SortDirection: typeof SortDirection; type multilingualTranslationV1Content_universal_d_MissingValues = MissingValues; const multilingualTranslationV1Content_universal_d_MissingValues: typeof MissingValues; type multilingualTranslationV1Content_universal_d_IncludeMissingValuesOptions = IncludeMissingValuesOptions; type multilingualTranslationV1Content_universal_d_ScalarType = ScalarType; const multilingualTranslationV1Content_universal_d_ScalarType: typeof ScalarType; type multilingualTranslationV1Content_universal_d_ValueAggregation = ValueAggregation; type multilingualTranslationV1Content_universal_d_ValueAggregationOptionsOneOf = ValueAggregationOptionsOneOf; type multilingualTranslationV1Content_universal_d_NestedAggregationType = NestedAggregationType; const multilingualTranslationV1Content_universal_d_NestedAggregationType: typeof NestedAggregationType; type multilingualTranslationV1Content_universal_d_RangeAggregation = RangeAggregation; type multilingualTranslationV1Content_universal_d_ScalarAggregation = ScalarAggregation; type multilingualTranslationV1Content_universal_d_DateHistogramAggregation = DateHistogramAggregation; type multilingualTranslationV1Content_universal_d_Interval = Interval; const multilingualTranslationV1Content_universal_d_Interval: typeof Interval; type multilingualTranslationV1Content_universal_d_NestedAggregationItem = NestedAggregationItem; type multilingualTranslationV1Content_universal_d_NestedAggregationItemKindOneOf = NestedAggregationItemKindOneOf; type multilingualTranslationV1Content_universal_d_AggregationType = AggregationType; const multilingualTranslationV1Content_universal_d_AggregationType: typeof AggregationType; type multilingualTranslationV1Content_universal_d_NestedAggregation = NestedAggregation; type multilingualTranslationV1Content_universal_d_GroupByAggregation = GroupByAggregation; type multilingualTranslationV1Content_universal_d_GroupByAggregationKindOneOf = GroupByAggregationKindOneOf; type multilingualTranslationV1Content_universal_d_SearchDetails = SearchDetails; type multilingualTranslationV1Content_universal_d_Mode = Mode; const multilingualTranslationV1Content_universal_d_Mode: typeof Mode; type multilingualTranslationV1Content_universal_d_SearchContentsResponse = SearchContentsResponse; type multilingualTranslationV1Content_universal_d_AggregationData = AggregationData; type multilingualTranslationV1Content_universal_d_ValueAggregationResult = ValueAggregationResult; type multilingualTranslationV1Content_universal_d_RangeAggregationResult = RangeAggregationResult; type multilingualTranslationV1Content_universal_d_NestedAggregationResults = NestedAggregationResults; type multilingualTranslationV1Content_universal_d_NestedAggregationResultsResultOneOf = NestedAggregationResultsResultOneOf; type multilingualTranslationV1Content_universal_d_ValueResults = ValueResults; type multilingualTranslationV1Content_universal_d_RangeResults = RangeResults; type multilingualTranslationV1Content_universal_d_AggregationResultsScalarResult = AggregationResultsScalarResult; type multilingualTranslationV1Content_universal_d_NestedValueAggregationResult = NestedValueAggregationResult; type multilingualTranslationV1Content_universal_d_ValueResult = ValueResult; type multilingualTranslationV1Content_universal_d_RangeResult = RangeResult; type multilingualTranslationV1Content_universal_d_ScalarResult = ScalarResult; type multilingualTranslationV1Content_universal_d_NestedResultValue = NestedResultValue; type multilingualTranslationV1Content_universal_d_NestedResultValueResultOneOf = NestedResultValueResultOneOf; type multilingualTranslationV1Content_universal_d_Results = Results; type multilingualTranslationV1Content_universal_d_DateHistogramResult = DateHistogramResult; type multilingualTranslationV1Content_universal_d_GroupByValueResults = GroupByValueResults; type multilingualTranslationV1Content_universal_d_DateHistogramResults = DateHistogramResults; type multilingualTranslationV1Content_universal_d_NestedResults = NestedResults; type multilingualTranslationV1Content_universal_d_AggregationResults = AggregationResults; type multilingualTranslationV1Content_universal_d_AggregationResultsResultOneOf = AggregationResultsResultOneOf; type multilingualTranslationV1Content_universal_d_BulkCreateContentRequest = BulkCreateContentRequest; type multilingualTranslationV1Content_universal_d_BulkCreateContentResponse = BulkCreateContentResponse; type multilingualTranslationV1Content_universal_d_ItemMetadata = ItemMetadata; type multilingualTranslationV1Content_universal_d_ApplicationError = ApplicationError; type multilingualTranslationV1Content_universal_d_BulkContentResult = BulkContentResult; type multilingualTranslationV1Content_universal_d_BulkActionMetadata = BulkActionMetadata; type multilingualTranslationV1Content_universal_d_BulkUpdateContentRequest = BulkUpdateContentRequest; type multilingualTranslationV1Content_universal_d_MaskedContent = MaskedContent; type multilingualTranslationV1Content_universal_d_BulkUpdateContentResponse = BulkUpdateContentResponse; type multilingualTranslationV1Content_universal_d_BulkUpdateContentResponseBulkContentResult = BulkUpdateContentResponseBulkContentResult; type multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyRequest = BulkUpdateContentByKeyRequest; type multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyRequestMaskedContent = BulkUpdateContentByKeyRequestMaskedContent; type multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyResponse = BulkUpdateContentByKeyResponse; type multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyResponseBulkContentResult = BulkUpdateContentByKeyResponseBulkContentResult; type multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentRequest = PermissiveBulkUpdateContentRequest; type multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentRequestMaskedContent = PermissiveBulkUpdateContentRequestMaskedContent; type multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentResponse = PermissiveBulkUpdateContentResponse; type multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentResponseBulkContentResult = PermissiveBulkUpdateContentResponseBulkContentResult; type multilingualTranslationV1Content_universal_d_BulkDeleteContentRequest = BulkDeleteContentRequest; type multilingualTranslationV1Content_universal_d_BulkDeleteContentResponse = BulkDeleteContentResponse; type multilingualTranslationV1Content_universal_d_BulkDeleteContentResponseBulkContentResult = BulkDeleteContentResponseBulkContentResult; type multilingualTranslationV1Content_universal_d_RemoveContentsByFilterRequest = RemoveContentsByFilterRequest; type multilingualTranslationV1Content_universal_d_RemoveContentsByFilterResponse = RemoveContentsByFilterResponse; type multilingualTranslationV1Content_universal_d_RepublishContentByFilterRequest = RepublishContentByFilterRequest; type multilingualTranslationV1Content_universal_d_RepublishContentByFilterResponse = RepublishContentByFilterResponse; type multilingualTranslationV1Content_universal_d_ChangeContentLocaleRequest = ChangeContentLocaleRequest; type multilingualTranslationV1Content_universal_d_ChangeContentLocaleRequestQueryContextOneOf = ChangeContentLocaleRequestQueryContextOneOf; type multilingualTranslationV1Content_universal_d_ChangeContentLocaleResponse = ChangeContentLocaleResponse; const multilingualTranslationV1Content_universal_d_createContent: typeof createContent; const multilingualTranslationV1Content_universal_d_getContent: typeof getContent; const multilingualTranslationV1Content_universal_d_updateContent: typeof updateContent; type multilingualTranslationV1Content_universal_d_UpdateContent = UpdateContent; type multilingualTranslationV1Content_universal_d_UpdateContentOptions = UpdateContentOptions; const multilingualTranslationV1Content_universal_d_updateContentByKey: typeof updateContentByKey; type multilingualTranslationV1Content_universal_d_UpdateContentByKeyOptions = UpdateContentByKeyOptions; const multilingualTranslationV1Content_universal_d_deleteContent: typeof deleteContent; const multilingualTranslationV1Content_universal_d_queryContents: typeof queryContents; type multilingualTranslationV1Content_universal_d_QueryContentsOptions = QueryContentsOptions; type multilingualTranslationV1Content_universal_d_ContentsQueryResult = ContentsQueryResult; type multilingualTranslationV1Content_universal_d_ContentsQueryBuilder = ContentsQueryBuilder; const multilingualTranslationV1Content_universal_d_queryContentsLegacy: typeof queryContentsLegacy; type multilingualTranslationV1Content_universal_d_QueryContentsLegacyOptions = QueryContentsLegacyOptions; const multilingualTranslationV1Content_universal_d_searchContents: typeof searchContents; type multilingualTranslationV1Content_universal_d_SearchContentsOptions = SearchContentsOptions; const multilingualTranslationV1Content_universal_d_bulkCreateContent: typeof bulkCreateContent; type multilingualTranslationV1Content_universal_d_BulkCreateContentOptions = BulkCreateContentOptions; const multilingualTranslationV1Content_universal_d_bulkUpdateContent: typeof bulkUpdateContent; type multilingualTranslationV1Content_universal_d_BulkUpdateContentOptions = BulkUpdateContentOptions; const multilingualTranslationV1Content_universal_d_bulkUpdateContentByKey: typeof bulkUpdateContentByKey; type multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyOptions = BulkUpdateContentByKeyOptions; const multilingualTranslationV1Content_universal_d_bulkDeleteContent: typeof bulkDeleteContent; const multilingualTranslationV1Content_universal_d_removeContentsByFilter: typeof removeContentsByFilter; type multilingualTranslationV1Content_universal_d_RemoveContentsByFilterOptions = RemoveContentsByFilterOptions; const multilingualTranslationV1Content_universal_d_republishContentByFilter: typeof republishContentByFilter; type multilingualTranslationV1Content_universal_d_RepublishContentByFilterOptions = RepublishContentByFilterOptions; namespace multilingualTranslationV1Content_universal_d { export { multilingualTranslationV1Content_universal_d_Content as Content, multilingualTranslationV1Content_universal_d_ContentField as ContentField, multilingualTranslationV1Content_universal_d_ContentFieldValueOneOf as ContentFieldValueOneOf, multilingualTranslationV1Content_universal_d_RichContent as RichContent, multilingualTranslationV1Content_universal_d_Node as Node, multilingualTranslationV1Content_universal_d_NodeDataOneOf as NodeDataOneOf, multilingualTranslationV1Content_universal_d_NodeType as NodeType, multilingualTranslationV1Content_universal_d_NodeStyle as NodeStyle, multilingualTranslationV1Content_universal_d_ButtonData as ButtonData, multilingualTranslationV1Content_universal_d_Border as Border, multilingualTranslationV1Content_universal_d_Colors as Colors, multilingualTranslationV1Content_universal_d_PluginContainerData as PluginContainerData, multilingualTranslationV1Content_universal_d_WidthType as WidthType, multilingualTranslationV1Content_universal_d_PluginContainerDataWidth as PluginContainerDataWidth, multilingualTranslationV1Content_universal_d_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, multilingualTranslationV1Content_universal_d_PluginContainerDataAlignment as PluginContainerDataAlignment, multilingualTranslationV1Content_universal_d_Spoiler as Spoiler, multilingualTranslationV1Content_universal_d_Height as Height, multilingualTranslationV1Content_universal_d_Type as Type, multilingualTranslationV1Content_universal_d_Styles as Styles, multilingualTranslationV1Content_universal_d_Link as Link, multilingualTranslationV1Content_universal_d_LinkDataOneOf as LinkDataOneOf, multilingualTranslationV1Content_universal_d_Target as Target, multilingualTranslationV1Content_universal_d_Rel as Rel, multilingualTranslationV1Content_universal_d_CodeBlockData as CodeBlockData, multilingualTranslationV1Content_universal_d_TextStyle as TextStyle, multilingualTranslationV1Content_universal_d_TextAlignment as TextAlignment, multilingualTranslationV1Content_universal_d_DividerData as DividerData, multilingualTranslationV1Content_universal_d_LineStyle as LineStyle, multilingualTranslationV1Content_universal_d_Width as Width, multilingualTranslationV1Content_universal_d_Alignment as Alignment, multilingualTranslationV1Content_universal_d_FileData as FileData, multilingualTranslationV1Content_universal_d_ViewMode as ViewMode, multilingualTranslationV1Content_universal_d_FileSource as FileSource, multilingualTranslationV1Content_universal_d_FileSourceDataOneOf as FileSourceDataOneOf, multilingualTranslationV1Content_universal_d_PDFSettings as PDFSettings, multilingualTranslationV1Content_universal_d_GalleryData as GalleryData, multilingualTranslationV1Content_universal_d_Media as Media, multilingualTranslationV1Content_universal_d_Image as Image, multilingualTranslationV1Content_universal_d_Video as Video, multilingualTranslationV1Content_universal_d_Item as Item, multilingualTranslationV1Content_universal_d_ItemDataOneOf as ItemDataOneOf, multilingualTranslationV1Content_universal_d_GalleryOptions as GalleryOptions, multilingualTranslationV1Content_universal_d_LayoutType as LayoutType, multilingualTranslationV1Content_universal_d_Orientation as Orientation, multilingualTranslationV1Content_universal_d_Crop as Crop, multilingualTranslationV1Content_universal_d_ThumbnailsAlignment as ThumbnailsAlignment, multilingualTranslationV1Content_universal_d_Layout as Layout, multilingualTranslationV1Content_universal_d_ItemStyle as ItemStyle, multilingualTranslationV1Content_universal_d_Thumbnails as Thumbnails, multilingualTranslationV1Content_universal_d_GIFData as GIFData, multilingualTranslationV1Content_universal_d_GIF as GIF, multilingualTranslationV1Content_universal_d_HeadingData as HeadingData, multilingualTranslationV1Content_universal_d_HTMLData as HTMLData, multilingualTranslationV1Content_universal_d_HTMLDataDataOneOf as HTMLDataDataOneOf, multilingualTranslationV1Content_universal_d_Source as Source, multilingualTranslationV1Content_universal_d_ImageData as ImageData, multilingualTranslationV1Content_universal_d_LinkPreviewData as LinkPreviewData, multilingualTranslationV1Content_universal_d_MapData as MapData, multilingualTranslationV1Content_universal_d_MapSettings as MapSettings, multilingualTranslationV1Content_universal_d_MapType as MapType, multilingualTranslationV1Content_universal_d_ParagraphData as ParagraphData, multilingualTranslationV1Content_universal_d_PollData as PollData, multilingualTranslationV1Content_universal_d_ViewRole as ViewRole, multilingualTranslationV1Content_universal_d_VoteRole as VoteRole, multilingualTranslationV1Content_universal_d_Permissions as Permissions, multilingualTranslationV1Content_universal_d_Option as Option, multilingualTranslationV1Content_universal_d_Settings as Settings, multilingualTranslationV1Content_universal_d_PollLayoutType as PollLayoutType, multilingualTranslationV1Content_universal_d_PollLayoutDirection as PollLayoutDirection, multilingualTranslationV1Content_universal_d_PollLayout as PollLayout, multilingualTranslationV1Content_universal_d_OptionLayout as OptionLayout, multilingualTranslationV1Content_universal_d_BackgroundType as BackgroundType, multilingualTranslationV1Content_universal_d_Gradient as Gradient, multilingualTranslationV1Content_universal_d_Background as Background, multilingualTranslationV1Content_universal_d_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, multilingualTranslationV1Content_universal_d_PollDesign as PollDesign, multilingualTranslationV1Content_universal_d_OptionDesign as OptionDesign, multilingualTranslationV1Content_universal_d_Poll as Poll, multilingualTranslationV1Content_universal_d_PollDataLayout as PollDataLayout, multilingualTranslationV1Content_universal_d_Design as Design, multilingualTranslationV1Content_universal_d_TextData as TextData, multilingualTranslationV1Content_universal_d_Decoration as Decoration, multilingualTranslationV1Content_universal_d_DecorationDataOneOf as DecorationDataOneOf, multilingualTranslationV1Content_universal_d_DecorationType as DecorationType, multilingualTranslationV1Content_universal_d_AnchorData as AnchorData, multilingualTranslationV1Content_universal_d_ColorData as ColorData, multilingualTranslationV1Content_universal_d_LinkData as LinkData, multilingualTranslationV1Content_universal_d_MentionData as MentionData, multilingualTranslationV1Content_universal_d_FontSizeData as FontSizeData, multilingualTranslationV1Content_universal_d_FontType as FontType, multilingualTranslationV1Content_universal_d_SpoilerData as SpoilerData, multilingualTranslationV1Content_universal_d_AppEmbedData as AppEmbedData, multilingualTranslationV1Content_universal_d_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, multilingualTranslationV1Content_universal_d_AppType as AppType, multilingualTranslationV1Content_universal_d_BookingData as BookingData, multilingualTranslationV1Content_universal_d_EventData as EventData, multilingualTranslationV1Content_universal_d_VideoData as VideoData, multilingualTranslationV1Content_universal_d_PlaybackOptions as PlaybackOptions, multilingualTranslationV1Content_universal_d_EmbedData as EmbedData, multilingualTranslationV1Content_universal_d_Oembed as Oembed, multilingualTranslationV1Content_universal_d_CollapsibleListData as CollapsibleListData, multilingualTranslationV1Content_universal_d_InitialExpandedItems as InitialExpandedItems, multilingualTranslationV1Content_universal_d_Direction as Direction, multilingualTranslationV1Content_universal_d_TableData as TableData, multilingualTranslationV1Content_universal_d_Dimensions as Dimensions, multilingualTranslationV1Content_universal_d_TableCellData as TableCellData, multilingualTranslationV1Content_universal_d_VerticalAlignment as VerticalAlignment, multilingualTranslationV1Content_universal_d_CellStyle as CellStyle, multilingualTranslationV1Content_universal_d_BorderColors as BorderColors, multilingualTranslationV1Content_universal_d_NullValue as NullValue, multilingualTranslationV1Content_universal_d_ListValue as ListValue, multilingualTranslationV1Content_universal_d_AudioData as AudioData, multilingualTranslationV1Content_universal_d_OrderedListData as OrderedListData, multilingualTranslationV1Content_universal_d_BulletedListData as BulletedListData, multilingualTranslationV1Content_universal_d_BlockquoteData as BlockquoteData, multilingualTranslationV1Content_universal_d_CaptionData as CaptionData, multilingualTranslationV1Content_universal_d_Metadata as Metadata, multilingualTranslationV1Content_universal_d_DocumentStyle as DocumentStyle, multilingualTranslationV1Content_universal_d_TextNodeStyle as TextNodeStyle, multilingualTranslationV1Content_universal_d_VideoResolution as VideoResolution, multilingualTranslationV1Content_universal_d_UpdaterIdentity as UpdaterIdentity, multilingualTranslationV1Content_universal_d_PublishStatus as PublishStatus, multilingualTranslationV1Content_universal_d_CreateContentRequest as CreateContentRequest, multilingualTranslationV1Content_universal_d_CreateContentResponse as CreateContentResponse, multilingualTranslationV1Content_universal_d_GetContentRequest as GetContentRequest, multilingualTranslationV1Content_universal_d_GetContentResponse as GetContentResponse, multilingualTranslationV1Content_universal_d_UpdateContentRequest as UpdateContentRequest, multilingualTranslationV1Content_universal_d_UpdateContentResponse as UpdateContentResponse, multilingualTranslationV1Content_universal_d_UpdateContentByKeyRequest as UpdateContentByKeyRequest, multilingualTranslationV1Content_universal_d_UpdateContentByKeyResponse as UpdateContentByKeyResponse, multilingualTranslationV1Content_universal_d_DeleteContentRequest as DeleteContentRequest, multilingualTranslationV1Content_universal_d_DeleteContentResponse as DeleteContentResponse, multilingualTranslationV1Content_universal_d_QueryContentsRequest as QueryContentsRequest, CursorQuery$1 as CursorQuery, CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, Sorting$1 as Sorting, SortOrder$1 as SortOrder, CursorPaging$1 as CursorPaging, multilingualTranslationV1Content_universal_d_QueryContentsResponse as QueryContentsResponse, CursorPagingMetadata$1 as CursorPagingMetadata, Cursors$1 as Cursors, multilingualTranslationV1Content_universal_d_QueryContentsLegacyRequest as QueryContentsLegacyRequest, multilingualTranslationV1Content_universal_d_QueryV2 as QueryV2, multilingualTranslationV1Content_universal_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, multilingualTranslationV1Content_universal_d_Paging as Paging, multilingualTranslationV1Content_universal_d_QueryContentsLegacyResponse as QueryContentsLegacyResponse, multilingualTranslationV1Content_universal_d_PagingMetadataV2 as PagingMetadataV2, multilingualTranslationV1Content_universal_d_SearchContentsRequest as SearchContentsRequest, multilingualTranslationV1Content_universal_d_CursorSearch as CursorSearch, multilingualTranslationV1Content_universal_d_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, multilingualTranslationV1Content_universal_d_Aggregation as Aggregation, multilingualTranslationV1Content_universal_d_AggregationKindOneOf as AggregationKindOneOf, multilingualTranslationV1Content_universal_d_RangeBucket as RangeBucket, multilingualTranslationV1Content_universal_d_SortType as SortType, multilingualTranslationV1Content_universal_d_SortDirection as SortDirection, multilingualTranslationV1Content_universal_d_MissingValues as MissingValues, multilingualTranslationV1Content_universal_d_IncludeMissingValuesOptions as IncludeMissingValuesOptions, multilingualTranslationV1Content_universal_d_ScalarType as ScalarType, multilingualTranslationV1Content_universal_d_ValueAggregation as ValueAggregation, multilingualTranslationV1Content_universal_d_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, multilingualTranslationV1Content_universal_d_NestedAggregationType as NestedAggregationType, multilingualTranslationV1Content_universal_d_RangeAggregation as RangeAggregation, multilingualTranslationV1Content_universal_d_ScalarAggregation as ScalarAggregation, multilingualTranslationV1Content_universal_d_DateHistogramAggregation as DateHistogramAggregation, multilingualTranslationV1Content_universal_d_Interval as Interval, multilingualTranslationV1Content_universal_d_NestedAggregationItem as NestedAggregationItem, multilingualTranslationV1Content_universal_d_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, multilingualTranslationV1Content_universal_d_AggregationType as AggregationType, multilingualTranslationV1Content_universal_d_NestedAggregation as NestedAggregation, multilingualTranslationV1Content_universal_d_GroupByAggregation as GroupByAggregation, multilingualTranslationV1Content_universal_d_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, multilingualTranslationV1Content_universal_d_SearchDetails as SearchDetails, multilingualTranslationV1Content_universal_d_Mode as Mode, multilingualTranslationV1Content_universal_d_SearchContentsResponse as SearchContentsResponse, multilingualTranslationV1Content_universal_d_AggregationData as AggregationData, multilingualTranslationV1Content_universal_d_ValueAggregationResult as ValueAggregationResult, multilingualTranslationV1Content_universal_d_RangeAggregationResult as RangeAggregationResult, multilingualTranslationV1Content_universal_d_NestedAggregationResults as NestedAggregationResults, multilingualTranslationV1Content_universal_d_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, multilingualTranslationV1Content_universal_d_ValueResults as ValueResults, multilingualTranslationV1Content_universal_d_RangeResults as RangeResults, multilingualTranslationV1Content_universal_d_AggregationResultsScalarResult as AggregationResultsScalarResult, multilingualTranslationV1Content_universal_d_NestedValueAggregationResult as NestedValueAggregationResult, multilingualTranslationV1Content_universal_d_ValueResult as ValueResult, multilingualTranslationV1Content_universal_d_RangeResult as RangeResult, multilingualTranslationV1Content_universal_d_ScalarResult as ScalarResult, multilingualTranslationV1Content_universal_d_NestedResultValue as NestedResultValue, multilingualTranslationV1Content_universal_d_NestedResultValueResultOneOf as NestedResultValueResultOneOf, multilingualTranslationV1Content_universal_d_Results as Results, multilingualTranslationV1Content_universal_d_DateHistogramResult as DateHistogramResult, multilingualTranslationV1Content_universal_d_GroupByValueResults as GroupByValueResults, multilingualTranslationV1Content_universal_d_DateHistogramResults as DateHistogramResults, multilingualTranslationV1Content_universal_d_NestedResults as NestedResults, multilingualTranslationV1Content_universal_d_AggregationResults as AggregationResults, multilingualTranslationV1Content_universal_d_AggregationResultsResultOneOf as AggregationResultsResultOneOf, multilingualTranslationV1Content_universal_d_BulkCreateContentRequest as BulkCreateContentRequest, multilingualTranslationV1Content_universal_d_BulkCreateContentResponse as BulkCreateContentResponse, multilingualTranslationV1Content_universal_d_ItemMetadata as ItemMetadata, multilingualTranslationV1Content_universal_d_ApplicationError as ApplicationError, multilingualTranslationV1Content_universal_d_BulkContentResult as BulkContentResult, multilingualTranslationV1Content_universal_d_BulkActionMetadata as BulkActionMetadata, multilingualTranslationV1Content_universal_d_BulkUpdateContentRequest as BulkUpdateContentRequest, multilingualTranslationV1Content_universal_d_MaskedContent as MaskedContent, multilingualTranslationV1Content_universal_d_BulkUpdateContentResponse as BulkUpdateContentResponse, multilingualTranslationV1Content_universal_d_BulkUpdateContentResponseBulkContentResult as BulkUpdateContentResponseBulkContentResult, multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyRequest as BulkUpdateContentByKeyRequest, multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyRequestMaskedContent as BulkUpdateContentByKeyRequestMaskedContent, multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyResponse as BulkUpdateContentByKeyResponse, multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyResponseBulkContentResult as BulkUpdateContentByKeyResponseBulkContentResult, multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentRequest as PermissiveBulkUpdateContentRequest, multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentRequestMaskedContent as PermissiveBulkUpdateContentRequestMaskedContent, multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentResponse as PermissiveBulkUpdateContentResponse, multilingualTranslationV1Content_universal_d_PermissiveBulkUpdateContentResponseBulkContentResult as PermissiveBulkUpdateContentResponseBulkContentResult, multilingualTranslationV1Content_universal_d_BulkDeleteContentRequest as BulkDeleteContentRequest, multilingualTranslationV1Content_universal_d_BulkDeleteContentResponse as BulkDeleteContentResponse, multilingualTranslationV1Content_universal_d_BulkDeleteContentResponseBulkContentResult as BulkDeleteContentResponseBulkContentResult, MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, Asset$1 as Asset, State$1 as State, SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, Namespace$1 as Namespace, SiteTransferred$1 as SiteTransferred, SiteDeleted$1 as SiteDeleted, DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, SiteUndeleted$1 as SiteUndeleted, SitePublished$1 as SitePublished, SiteUnpublished$1 as SiteUnpublished, SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, ServiceProvisioned$1 as ServiceProvisioned, ServiceRemoved$1 as ServiceRemoved, SiteRenamed$1 as SiteRenamed, SiteHardDeleted$1 as SiteHardDeleted, NamespaceChanged$1 as NamespaceChanged, StudioAssigned$1 as StudioAssigned, StudioUnassigned$1 as StudioUnassigned, Empty$1 as Empty, DomainEvent$1 as DomainEvent, DomainEventBodyOneOf$1 as DomainEventBodyOneOf, EntityCreatedEvent$1 as EntityCreatedEvent, RestoreInfo$1 as RestoreInfo, EntityUpdatedEvent$1 as EntityUpdatedEvent, EntityDeletedEvent$1 as EntityDeletedEvent, ActionEvent$1 as ActionEvent, multilingualTranslationV1Content_universal_d_RemoveContentsByFilterRequest as RemoveContentsByFilterRequest, multilingualTranslationV1Content_universal_d_RemoveContentsByFilterResponse as RemoveContentsByFilterResponse, multilingualTranslationV1Content_universal_d_RepublishContentByFilterRequest as RepublishContentByFilterRequest, multilingualTranslationV1Content_universal_d_RepublishContentByFilterResponse as RepublishContentByFilterResponse, multilingualTranslationV1Content_universal_d_ChangeContentLocaleRequest as ChangeContentLocaleRequest, multilingualTranslationV1Content_universal_d_ChangeContentLocaleRequestQueryContextOneOf as ChangeContentLocaleRequestQueryContextOneOf, multilingualTranslationV1Content_universal_d_ChangeContentLocaleResponse as ChangeContentLocaleResponse, MessageEnvelope$1 as MessageEnvelope, IdentificationData$1 as IdentificationData, IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, WebhookIdentityType$1 as WebhookIdentityType, multilingualTranslationV1Content_universal_d_createContent as createContent, multilingualTranslationV1Content_universal_d_getContent as getContent, multilingualTranslationV1Content_universal_d_updateContent as updateContent, multilingualTranslationV1Content_universal_d_UpdateContent as UpdateContent, multilingualTranslationV1Content_universal_d_UpdateContentOptions as UpdateContentOptions, multilingualTranslationV1Content_universal_d_updateContentByKey as updateContentByKey, multilingualTranslationV1Content_universal_d_UpdateContentByKeyOptions as UpdateContentByKeyOptions, multilingualTranslationV1Content_universal_d_deleteContent as deleteContent, multilingualTranslationV1Content_universal_d_queryContents as queryContents, multilingualTranslationV1Content_universal_d_QueryContentsOptions as QueryContentsOptions, multilingualTranslationV1Content_universal_d_ContentsQueryResult as ContentsQueryResult, multilingualTranslationV1Content_universal_d_ContentsQueryBuilder as ContentsQueryBuilder, multilingualTranslationV1Content_universal_d_queryContentsLegacy as queryContentsLegacy, multilingualTranslationV1Content_universal_d_QueryContentsLegacyOptions as QueryContentsLegacyOptions, multilingualTranslationV1Content_universal_d_searchContents as searchContents, multilingualTranslationV1Content_universal_d_SearchContentsOptions as SearchContentsOptions, multilingualTranslationV1Content_universal_d_bulkCreateContent as bulkCreateContent, multilingualTranslationV1Content_universal_d_BulkCreateContentOptions as BulkCreateContentOptions, multilingualTranslationV1Content_universal_d_bulkUpdateContent as bulkUpdateContent, multilingualTranslationV1Content_universal_d_BulkUpdateContentOptions as BulkUpdateContentOptions, multilingualTranslationV1Content_universal_d_bulkUpdateContentByKey as bulkUpdateContentByKey, multilingualTranslationV1Content_universal_d_BulkUpdateContentByKeyOptions as BulkUpdateContentByKeyOptions, multilingualTranslationV1Content_universal_d_bulkDeleteContent as bulkDeleteContent, multilingualTranslationV1Content_universal_d_removeContentsByFilter as removeContentsByFilter, multilingualTranslationV1Content_universal_d_RemoveContentsByFilterOptions as RemoveContentsByFilterOptions, multilingualTranslationV1Content_universal_d_republishContentByFilter as republishContentByFilter, multilingualTranslationV1Content_universal_d_RepublishContentByFilterOptions as RepublishContentByFilterOptions, }; } interface Schema { /** * Translation schema ID. * @readonly */ _id?: string | null; /** Translation schema unique key identifier. */ key?: SchemaKey; /** List of fields for the translation schema. This property uses a string to map to a `SchemaField` (`Map`). The string serves as a key, which you'll need to access each field in the schema and when adding translation content. */ fields?: Record; /** Fields displayed in content previews. For example, a product name for a product translation schema. */ previewFields?: PreviewFields; /** * Whether the translation schema is hidden from the site. * * Default: `false` */ hidden?: boolean | null; /** Translation schema name displayed in the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager). */ displayName?: string | null; /** A reference to the parent schema. For example, if the schema is for a menu item, this property would contain the schema ID of the menu it belongs to. */ parentId?: string | null; /** * Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing `revision` must be used when updating a schema. * @readonly */ revision?: string | null; /** * Date and time the translation schema was created. * @readonly */ _createdDate?: Date | null; /** * Date and time the translation schema was updated. * @readonly */ _updatedDate?: Date | null; /** * Whether to duplicate the translated content when a site containing the translation schema and content is duplicated. * * Default: `false` */ duplicateContent?: boolean | null; /** * Indicate if this schema should be grouped under a custom group in the Translation Manager * For more info about this field check dev-center extension `Multilingual Schema Group` * @internal */ schemaGroupId?: string | null; } interface SchemaKey { /** * ID of the app that created the schema. * @readonly */ appId?: string; /** A unique name defined by the app developer to differentiate translation schemas for various entities within their app. For example, if an app developer is creating a translation schema for blog posts, the `entityType` can be `'blog-posts'`. */ entityType?: string; /** * Scope of the translation schema. * Supported values: * + `GLOBAL`: A global schema for all sites. * + `SITE`: A custom schema for a specific site. */ scope?: SchemaScope; } enum SchemaScope { UNKNOWN_SCOPE = "UNKNOWN_SCOPE", /** Global schema for all sites. */ GLOBAL = "GLOBAL", /** Custom schema for a specific site. */ SITE = "SITE" } interface SchemaField { /** * Field ID. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parentheses to reference repeated items, such as images. These parentheses can't be nested and each opening parenthesis must be followed by a closing one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\]\\[\\.]+$`. * @readonly */ _id?: string; /** **Required.** Field type. */ type?: FieldType; /** Field name displayed in the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager). */ displayName?: string | null; /** Field group name. */ groupName?: string | null; /** Field minimum text length. */ minLength?: number | null; /** Field maximum text length. */ maxLength?: number | null; /** Field format. Content is validated based on the format set here in the field schema. For example, if the format is `EMAIL`, then the content for this field must be a valid email address. */ format?: string | null; /** Whether the field is hidden from the site. Hidden fields are still validated. */ hidden?: boolean; /** Whether the field is read-only, and not intended to be translated. For example, an image. Use this field when you want an image to remain in the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager) for context, but without being translated. */ displayOnly?: boolean; /** Field index. Use for cases where the order of the fields are relevant. */ index?: number | null; } enum FieldType { /** Undefined field type */ UNDEFINED_TYPE = "UNDEFINED_TYPE", /** Short plain text displayed as a single line in the UI. */ SHORT_TEXT = "SHORT_TEXT", /** Long plain text displayed as multiple lines in the UI. */ LONG_TEXT = "LONG_TEXT", /** Long text including styles, images, and links. */ HTML = "HTML", /** Rich-Content using the Wix Ricos format. */ RICH_CONTENT = "RICH_CONTENT", /** Wix Media Manager image. */ IMAGE = "IMAGE", /** Image URL without metadata. */ IMAGE_LINK = "IMAGE_LINK", /** Contains an XML representation of an entity or part of it. */ JSON = "JSON", /** Wix Media Manager video. */ VIDEO = "VIDEO", /** Wix Media Manager document. */ DOCUMENT = "DOCUMENT" } interface PreviewFields { /** ID of the field representing the schema's title. */ titleFieldId?: string | null; /** ID of the field representing the schema's image. */ imageFieldId?: string | null; } interface CreateSchemaRequest { /** Translation schema to create. */ schema: Schema; /** * This field is in use if you want to override the app-id from the call scope server signature * This field is private and allowed only if the request came from Multilingual server signature * @internal */ overrideAppId?: string | null; } interface CreateSchemaResponse { /** Newly created translation schema. */ schema?: Schema; } interface GetSchemaRequest { /** ID of the translation schema to retrieve. */ schemaId: string; } interface GetSchemaResponse { /** The requested translation schema. */ schema?: Schema; } interface GetSchemaByKeyRequest { /** ID of the translation schema to retrieve. */ key: SchemaKey; } interface GetSchemaByKeyResponse { /** The requested translation schema. */ schema?: Schema; } interface UpdateSchemaRequest { /** Translation schema to update. */ schema: Schema; /** * Set of fields to update. * * Fields that aren't included in `fieldMask.paths` are ignored. * @internal */ fieldMask?: string[]; } interface UpdateSchemaResponse { /** Updated Schema. */ schema?: Schema; } interface DeleteSchemaRequest { /** ID of the translation schema to delete. */ schemaId: string; } interface DeleteSchemaResponse { } interface QuerySchemasRequest { /** Query options. */ query?: CursorQuery; /** * determine of query should respond with all schemas regardless of display filter * @internal */ ignoreDisplayFilter?: boolean | null; /** * should the read be consistent when reading from DB * @internal */ consistent?: boolean | null; } interface CursorQuery extends CursorQueryPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging; /** * Filter object. * * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section). */ filter?: Record | null; /** * Sort object. * * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). */ sort?: Sorting[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging; } interface Sorting { /** Name of the field to sort by. */ fieldName?: string; /** Sort order. */ order?: SortOrder; /** * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked. * * If multiple filters are provided, they are combined with AND operator. * * Example: * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]} * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] } * @internal */ selectItemsBy?: Record[] | null; } enum SortOrder { ASC = "ASC", DESC = "DESC" } interface CursorPaging { /** Maximum number of items to return in the results. */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. */ cursor?: string | null; } interface QuerySchemasResponse { /** List of translation schemas. */ schemas?: Schema[]; /** Paging metadata for the next page of results. */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in current page. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; /** * Total number of items matching the filter. * Available only on the first page of *Search* results, not included in *Query* or *List* results. * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page. * @internal */ total?: number | null; } interface Cursors { /** Cursor string pointing to the next page in the list of results. */ next?: string | null; /** Cursor pointing to the previous page in the list of results. */ prev?: string | null; } interface ListSiteSchemasRequest { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ paging?: CursorPaging; /** ID of app that created the schema. */ appId?: string | null; /** A unique name defined by the app developer to differentiate translation schemas for various entities within their app. For example, if an app developer is creating a translation schema for blog posts, the `entityType` can be `'blog-posts'`. */ entityType?: string | null; /** * Scope of the translation schema. * Supported values: * + `GLOBAL`: A global schema for all sites. * + `SITE`: A custom schema for a specific site. */ scope?: SchemaScope; } interface ListSiteSchemasResponse { /** List of translation schemas. */ schemas?: Schema[]; /** Paging metadata for the next page of results. */ pagingMetadata?: CursorPagingMetadata; } interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf { /** Emitted on a meta site creation. */ siteCreated?: SiteCreated; /** Emitted on a meta site transfer completion. */ siteTransferred?: SiteTransferred; /** Emitted on a meta site deletion. */ siteDeleted?: SiteDeleted; /** Emitted on a meta site restoration. */ siteUndeleted?: SiteUndeleted; /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */ sitePublished?: SitePublished; /** Emitted on a meta site unpublish. */ siteUnpublished?: SiteUnpublished; /** Emitted when meta site is marked as template. */ siteMarkedAsTemplate?: SiteMarkedAsTemplate; /** Emitted when meta site is marked as a WixSite. */ siteMarkedAsWixSite?: SiteMarkedAsWixSite; /** Emitted when an application is provisioned (installed). */ serviceProvisioned?: ServiceProvisioned; /** Emitted when an application is removed (uninstalled). */ serviceRemoved?: ServiceRemoved; /** Emitted when meta site name (URL slug) is changed. */ siteRenamedPayload?: SiteRenamed; /** Emitted when meta site was permanently deleted. */ hardDeleted?: SiteHardDeleted; /** Emitted on a namespace change. */ namespaceChanged?: NamespaceChanged; /** Emitted when Studio is attached. */ studioAssigned?: StudioAssigned; /** Emitted when Studio is detached. */ studioUnassigned?: StudioUnassigned; /** A meta site id. */ metaSiteId?: string; /** A meta site version. Monotonically increasing. */ version?: string; /** A timestamp of the event. */ timestamp?: string; /** * TODO(meta-site): Change validation once validations are disabled for consumers * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659 */ assets?: Asset[]; } /** @oneof */ interface MetaSiteSpecialEventPayloadOneOf { /** Emitted on a meta site creation. */ siteCreated?: SiteCreated; /** Emitted on a meta site transfer completion. */ siteTransferred?: SiteTransferred; /** Emitted on a meta site deletion. */ siteDeleted?: SiteDeleted; /** Emitted on a meta site restoration. */ siteUndeleted?: SiteUndeleted; /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */ sitePublished?: SitePublished; /** Emitted on a meta site unpublish. */ siteUnpublished?: SiteUnpublished; /** Emitted when meta site is marked as template. */ siteMarkedAsTemplate?: SiteMarkedAsTemplate; /** Emitted when meta site is marked as a WixSite. */ siteMarkedAsWixSite?: SiteMarkedAsWixSite; /** Emitted when an application is provisioned (installed). */ serviceProvisioned?: ServiceProvisioned; /** Emitted when an application is removed (uninstalled). */ serviceRemoved?: ServiceRemoved; /** Emitted when meta site name (URL slug) is changed. */ siteRenamedPayload?: SiteRenamed; /** Emitted when meta site was permanently deleted. */ hardDeleted?: SiteHardDeleted; /** Emitted on a namespace change. */ namespaceChanged?: NamespaceChanged; /** Emitted when Studio is attached. */ studioAssigned?: StudioAssigned; /** Emitted when Studio is detached. */ studioUnassigned?: StudioUnassigned; } interface Asset { /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */ appDefId?: string; /** An instance id. For legacy reasons may be UUID or a string. */ instanceId?: string; /** An application state. */ state?: State; } enum State { UNKNOWN = "UNKNOWN", ENABLED = "ENABLED", DISABLED = "DISABLED", PENDING = "PENDING", DEMO = "DEMO" } interface SiteCreated { /** A template identifier (empty if not created from a template). */ originTemplateId?: string; /** An account id of the owner. */ ownerId?: string; /** A context in which meta site was created. */ context?: SiteCreatedContext; /** * A meta site id from which this site was created. * * In case of a creation from a template it's a template id. * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site. */ originMetaSiteId?: string | null; /** A meta site name (URL slug). */ siteName?: string; /** A namespace. */ namespace?: Namespace; } enum SiteCreatedContext { /** A valid option, we don't expose all reasons why site might be created. */ OTHER = "OTHER", /** A meta site was created from template. */ FROM_TEMPLATE = "FROM_TEMPLATE", /** A meta site was created by copying of the transfferred meta site. */ DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER", /** A copy of existing meta site. */ DUPLICATE = "DUPLICATE", /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */ OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER", /** deprecated A meta site was created for Flash editor. */ FLASH = "FLASH" } enum Namespace { UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE", /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */ WIX = "WIX", /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */ SHOUT_OUT = "SHOUT_OUT", /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */ ALBUMS = "ALBUMS", /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE", /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */ HOTELS = "HOTELS", /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */ CLUBS = "CLUBS", /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */ ONBOARDING_DRAFT = "ONBOARDING_DRAFT", /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */ DEV_SITE = "DEV_SITE", /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */ LOGOS = "LOGOS", /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */ VIDEO_MAKER = "VIDEO_MAKER", /** MetaSites with this namespace will *not* be shown in a user's site list by default. */ PARTNER_DASHBOARD = "PARTNER_DASHBOARD", /** MetaSites with this namespace will *not* be shown in a user's site list by default. */ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY", /** * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain. * * Meta site with this namespace will *not* be shown in a user's site list by default. */ HTML_DRAFT = "HTML_DRAFT", /** * the user-journey for Fitness users who want to start from managing their business instead of designing their website. * Will be accessible from Site List and will not have a website app. * Once the user attaches a site, the site will become a regular wixsite. */ SITELESS_BUSINESS = "SITELESS_BUSINESS", /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */ CREATOR_ECONOMY = "CREATOR_ECONOMY", /** It is to be used in the Business First efforts. */ DASHBOARD_FIRST = "DASHBOARD_FIRST", /** Bookings business flow with no site. */ ANYWHERE = "ANYWHERE", /** Namespace for Headless Backoffice with no editor */ HEADLESS = "HEADLESS", /** * Namespace for master site that will exist in parent account that will be referenced by subaccounts * The site will be used for account level CSM feature for enterprise */ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS", /** Rise.ai Siteless account management for Gift Cards and Store Credit. */ RISE = "RISE", /** * As part of the branded app new funnel, users now can create a meta site that will be branded app first. * There's a blank site behind the scene but it's blank). * The Mobile company will be the owner of this namespace. */ BRANDED_FIRST = "BRANDED_FIRST", /** Nownia.com Siteless account management for Ai Scheduling Assistant. */ NOWNIA = "NOWNIA", /** * UGC Templates are templates that are created by users for personal use and to sale to other users. * The Partners company owns this namespace. */ UGC_TEMPLATE = "UGC_TEMPLATE", /** Codux Headless Sites */ CODUX = "CODUX", /** Bobb - AI Design Creator. */ MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR" } /** Site transferred to another user. */ interface SiteTransferred { /** A previous owner id (user that transfers meta site). */ oldOwnerId?: string; /** A new owner id (user that accepts meta site). */ newOwnerId?: string; } /** Soft deletion of the meta site. Could be restored. */ interface SiteDeleted { /** A deletion context. */ deleteContext?: DeleteContext; } interface DeleteContext { /** When the meta site was deleted. */ dateDeleted?: Date | null; /** A status. */ deleteStatus?: DeleteStatus; /** A reason (flow). */ deleteOrigin?: string; /** A service that deleted it. */ initiatorId?: string | null; } enum DeleteStatus { UNKNOWN = "UNKNOWN", TRASH = "TRASH", DELETED = "DELETED", PENDING_PURGE = "PENDING_PURGE" } /** Restoration of the meta site. */ interface SiteUndeleted { } /** First publish of a meta site. Or subsequent publish after unpublish. */ interface SitePublished { } interface SiteUnpublished { /** A list of URLs previously associated with the meta site. */ urls?: string[]; } interface SiteMarkedAsTemplate { } interface SiteMarkedAsWixSite { } interface ServiceProvisioned { /** Either UUID or EmbeddedServiceType. */ appDefId?: string; /** Not only UUID. Something here could be something weird. */ instanceId?: string; /** An instance id from which this instance is originated. */ originInstanceId?: string; /** A version. */ version?: string | null; /** The origin meta site id */ originMetaSiteId?: string | null; } interface ServiceRemoved { /** Either UUID or EmbeddedServiceType. */ appDefId?: string; /** Not only UUID. Something here could be something weird. */ instanceId?: string; /** A version. */ version?: string | null; } /** Rename of the site. Meaning, free public url has been changed as well. */ interface SiteRenamed { /** A new meta site name (URL slug). */ newSiteName?: string; /** A previous meta site name (URL slug). */ oldSiteName?: string; } /** * Hard deletion of the meta site. * * Could not be restored. Therefore it's desirable to cleanup data. */ interface SiteHardDeleted { /** A deletion context. */ deleteContext?: DeleteContext; } interface NamespaceChanged { /** A previous namespace. */ oldNamespace?: Namespace; /** A new namespace. */ newNamespace?: Namespace; } /** Assigned Studio editor */ interface StudioAssigned { } /** Unassigned Studio editor */ interface StudioUnassigned { } interface Empty { } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** * Unique event ID. * Allows clients to ignore duplicate webhooks. */ _id?: string; /** * Assumes actions are also always typed to an entity_type * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction */ entityFqdn?: string; /** * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug) * This is although the created/updated/deleted notion is duplication of the oneof types * Example: created/updated/deleted/started/completed/email_opened */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number defining the order of updates to the underlying entity. * For example, given that some entity was updated at 16:00 and than again at 16:01, * it is guaranteed that the sequence number of the second update is strictly higher than the first. * As the consumer, you can use this value to ensure that you handle messages in the correct order. * To do so, you will need to persist this number on your end, and compare the sequence number from the * message against the one you have stored. Given that the stored number is higher, you should ignore the message. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * WIP - This property will hold both names and previous values of the updated fields of the entity. * For more details please see [adr](https://docs.google.com/document/d/1PdqsOM20Ph2HAkmx8zvUnzzk3Sekp3BR9h34wSvsRnI/edit#heading=h.phlw87mh2imx) or [issue](https://github.com/wix-private/nile-tracker/issues/363) * @internal */ modifiedFields?: Record; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted */ deletedEntityAsJson?: string | null; /** * WIP * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** App instance ID. */ instanceId?: string | null; /** Event type. */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; } interface IdentificationData extends IdentificationDataIdOneOf { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; /** @readonly */ identityType?: WebhookIdentityType; } /** @oneof */ interface IdentificationDataIdOneOf { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; } enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** * Creates a translation schema. * @param schema - Translation schema to create. * @public * @documentationMaturity preview * @requiredField schema * @requiredField schema.fields * @requiredField schema.key * @requiredField schema.key.entityType * @permissionId WIX_MULTILINGUAL.SCHEMA_CREATE_ORGANIZATION * @adminMethod * @returns Newly created translation schema. */ function createSchema(schema: Schema, options?: CreateSchemaOptions): Promise; interface CreateSchemaOptions { /** * This field is in use if you want to override the app-id from the call scope server signature * This field is private and allowed only if the request came from Multilingual server signature * @internal */ overrideAppId?: string | null; } /** * Retrieves a translation schema by ID. * @param schemaId - ID of the translation schema to retrieve. * @public * @documentationMaturity preview * @requiredField schemaId * @permissionId WIX_MULTILINGUAL.SCHEMA_READ_ORGANIZATION * @adminMethod * @returns The requested translation schema. */ function getSchema(schemaId: string): Promise; /** * Retrieves a translation schema by key. * @public * @documentationMaturity preview * @requiredField identifiers * @requiredField identifiers.keyAppId * @requiredField identifiers.keyEntityType * @requiredField identifiers.keyScope * @requiredField key * @permissionId WIX_MULTILINGUAL.SCHEMA_READ_ORGANIZATION * @adminMethod */ function getSchemaByKey(identifiers: GetSchemaByKeyIdentifiers): Promise; interface GetSchemaByKeyIdentifiers { /** * ID of the app that created the schema. * @readonly */ keyAppId?: string; /** A unique name defined by the app developer to differentiate translation schemas for various entities within their app. For example, if an app developer is creating a translation schema for blog posts, the `entityType` can be `'blog-posts'`. */ keyEntityType?: string; /** * Scope of the translation schema. * Supported values: * + `GLOBAL`: A global schema for all sites. * + `SITE`: A custom schema for a specific site. */ keyScope?: SchemaScope; } /** * Updates a translation schema. * * To remove a field, pass the field key with an empty object as the value. For example: * * ```json * { * "fields": { * "title": {} * } * } * ``` * *
* Caution: * * Removing a schema field makes the corresponding content field unavailable. *
* @param _id - Translation schema ID. * @public * @documentationMaturity preview * @requiredField _id * @requiredField schema * @requiredField schema.revision * @permissionId WIX_MULTILINGUAL.SCHEMA_UPDATE_ORGANIZATION * @adminMethod * @returns Updated Schema. */ function updateSchema(_id: string | null, schema: UpdateSchema, options?: UpdateSchemaOptions): Promise; interface UpdateSchema { /** * Translation schema ID. * @readonly */ _id?: string | null; /** Translation schema unique key identifier. */ key?: SchemaKey; /** List of fields for the translation schema. This property uses a string to map to a `SchemaField` (`Map`). The string serves as a key, which you'll need to access each field in the schema and when adding translation content. */ fields?: Record; /** Fields displayed in content previews. For example, a product name for a product translation schema. */ previewFields?: PreviewFields; /** * Whether the translation schema is hidden from the site. * * Default: `false` */ hidden?: boolean | null; /** Translation schema name displayed in the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager). */ displayName?: string | null; /** A reference to the parent schema. For example, if the schema is for a menu item, this property would contain the schema ID of the menu it belongs to. */ parentId?: string | null; /** * Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing `revision` must be used when updating a schema. * @readonly */ revision?: string | null; /** * Date and time the translation schema was created. * @readonly */ _createdDate?: Date | null; /** * Date and time the translation schema was updated. * @readonly */ _updatedDate?: Date | null; /** * Whether to duplicate the translated content when a site containing the translation schema and content is duplicated. * * Default: `false` */ duplicateContent?: boolean | null; /** * Indicate if this schema should be grouped under a custom group in the Translation Manager * For more info about this field check dev-center extension `Multilingual Schema Group` * @internal */ schemaGroupId?: string | null; } interface UpdateSchemaOptions { /** * Set of fields to update. * * Fields that aren't included in `fieldMask.paths` are ignored. * @internal */ fieldMask?: string[]; } /** * Deletes a translation schema. * @param schemaId - ID of the translation schema to delete. * @public * @documentationMaturity preview * @requiredField schemaId * @permissionId WIX_MULTILINGUAL.SCHEMA_DELETE_ORGANIZATION * @adminMethod */ function deleteSchema(schemaId: string): Promise; /** * Creates a query to retrieve a list of schemas. * * > **Note:** * > * > This method can retrieve all schemas with a `GLOBAL` scope and schemas with a `SITE` scope for the site the API request is authorized to access. * * The `querySchemas()` function builds a query to retrieve a list of translation schemas and returns a `SchemasQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-schema/schemas-query-builder/find) function. * * You can refine the query by chaining `SchemasQueryBuilder` functions onto the query. `SchemasQueryBuilder` functions enable you to filter, sort, and control the results that `querySchemas()` returns. * * `querySchemas()` runs with the following `SchemasQueryBuilder` defaults which you can override: * * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-schema/schemas-query-builder/limit) * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-schema/schemas-query-builder/ascending) * * The following `SchemasQueryBuilder` functions are supported for `querySchemas()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/multilingual/translation/translation-schema/schemas-query-result/items) property in `SchemasQueryResult`. * @public * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.SCHEMA_READ_ORGANIZATION * @adminMethod */ function querySchemas(options?: QuerySchemasOptions): SchemasQueryBuilder; interface QuerySchemasOptions { /** * determine of query should respond with all schemas regardless of display filter * @internal */ ignoreDisplayFilter?: boolean | null | undefined; /** * should the read be consistent when reading from DB * @internal */ consistent?: boolean | null | undefined; } interface QueryCursorResult { cursors: Cursors; hasNext: () => boolean; hasPrev: () => boolean; length: number; pageSize: number; } interface SchemasQueryResult extends QueryCursorResult { items: Schema[]; query: SchemasQueryBuilder; next: () => Promise; prev: () => Promise; } interface SchemasQueryBuilder { /** @param propertyName - Property whose value is compared with `value`. * @param value - Value to compare against. * @documentationMaturity preview */ eq: (propertyName: '_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId', value: any) => SchemasQueryBuilder; /** @param propertyName - Property whose value is compared with `value`. * @param value - Value to compare against. * @documentationMaturity preview */ ne: (propertyName: '_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId', value: any) => SchemasQueryBuilder; /** @param propertyName - Property whose value is compared with `string`. * @param string - String to compare against. Case-insensitive. * @documentationMaturity preview */ startsWith: (propertyName: '_id' | 'key.appId' | 'key.entityType' | 'parentId', value: string) => SchemasQueryBuilder; /** @param propertyName - Property whose value is compared with `values`. * @param values - List of values to compare against. * @documentationMaturity preview */ hasSome: (propertyName: '_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId', value: any[]) => SchemasQueryBuilder; /** @documentationMaturity preview */ in: (propertyName: '_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId', value: any) => SchemasQueryBuilder; /** @documentationMaturity preview */ exists: (propertyName: '_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId', value: boolean) => SchemasQueryBuilder; /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. * @documentationMaturity preview */ ascending: (...propertyNames: Array<'_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId'>) => SchemasQueryBuilder; /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. * @documentationMaturity preview */ descending: (...propertyNames: Array<'_id' | 'key.appId' | 'key.entityType' | 'key.scope' | 'hidden' | 'parentId'>) => SchemasQueryBuilder; /** @param limit - Number of items to return, which is also the `pageSize` of the results object. * @documentationMaturity preview */ limit: (limit: number) => SchemasQueryBuilder; /** @param cursor - A pointer to specific record * @documentationMaturity preview */ skipTo: (cursor: string) => SchemasQueryBuilder; /** @documentationMaturity preview */ find: () => Promise; } /** * Retrieves a list of all translation schemas associated with a site, regardless of which app created them. * @public * @documentationMaturity preview * @permissionId WIX_MULTILINGUAL.SCHEMA_READ * @adminMethod */ function listSiteSchemas(options?: ListSiteSchemasOptions): Promise; interface ListSiteSchemasOptions { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ paging?: CursorPaging; /** ID of app that created the schema. */ appId?: string | null; /** A unique name defined by the app developer to differentiate translation schemas for various entities within their app. For example, if an app developer is creating a translation schema for blog posts, the `entityType` can be `'blog-posts'`. */ entityType?: string | null; /** * Scope of the translation schema. * Supported values: * + `GLOBAL`: A global schema for all sites. * + `SITE`: A custom schema for a specific site. */ scope?: SchemaScope; } type multilingualTranslationV1Schema_universal_d_Schema = Schema; type multilingualTranslationV1Schema_universal_d_SchemaKey = SchemaKey; type multilingualTranslationV1Schema_universal_d_SchemaScope = SchemaScope; const multilingualTranslationV1Schema_universal_d_SchemaScope: typeof SchemaScope; type multilingualTranslationV1Schema_universal_d_SchemaField = SchemaField; type multilingualTranslationV1Schema_universal_d_FieldType = FieldType; const multilingualTranslationV1Schema_universal_d_FieldType: typeof FieldType; type multilingualTranslationV1Schema_universal_d_PreviewFields = PreviewFields; type multilingualTranslationV1Schema_universal_d_CreateSchemaRequest = CreateSchemaRequest; type multilingualTranslationV1Schema_universal_d_CreateSchemaResponse = CreateSchemaResponse; type multilingualTranslationV1Schema_universal_d_GetSchemaRequest = GetSchemaRequest; type multilingualTranslationV1Schema_universal_d_GetSchemaResponse = GetSchemaResponse; type multilingualTranslationV1Schema_universal_d_GetSchemaByKeyRequest = GetSchemaByKeyRequest; type multilingualTranslationV1Schema_universal_d_GetSchemaByKeyResponse = GetSchemaByKeyResponse; type multilingualTranslationV1Schema_universal_d_UpdateSchemaRequest = UpdateSchemaRequest; type multilingualTranslationV1Schema_universal_d_UpdateSchemaResponse = UpdateSchemaResponse; type multilingualTranslationV1Schema_universal_d_DeleteSchemaRequest = DeleteSchemaRequest; type multilingualTranslationV1Schema_universal_d_DeleteSchemaResponse = DeleteSchemaResponse; type multilingualTranslationV1Schema_universal_d_QuerySchemasRequest = QuerySchemasRequest; type multilingualTranslationV1Schema_universal_d_CursorQuery = CursorQuery; type multilingualTranslationV1Schema_universal_d_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf; type multilingualTranslationV1Schema_universal_d_Sorting = Sorting; type multilingualTranslationV1Schema_universal_d_SortOrder = SortOrder; const multilingualTranslationV1Schema_universal_d_SortOrder: typeof SortOrder; type multilingualTranslationV1Schema_universal_d_CursorPaging = CursorPaging; type multilingualTranslationV1Schema_universal_d_QuerySchemasResponse = QuerySchemasResponse; type multilingualTranslationV1Schema_universal_d_CursorPagingMetadata = CursorPagingMetadata; type multilingualTranslationV1Schema_universal_d_Cursors = Cursors; type multilingualTranslationV1Schema_universal_d_ListSiteSchemasRequest = ListSiteSchemasRequest; type multilingualTranslationV1Schema_universal_d_ListSiteSchemasResponse = ListSiteSchemasResponse; type multilingualTranslationV1Schema_universal_d_MetaSiteSpecialEvent = MetaSiteSpecialEvent; type multilingualTranslationV1Schema_universal_d_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf; type multilingualTranslationV1Schema_universal_d_Asset = Asset; type multilingualTranslationV1Schema_universal_d_State = State; const multilingualTranslationV1Schema_universal_d_State: typeof State; type multilingualTranslationV1Schema_universal_d_SiteCreated = SiteCreated; type multilingualTranslationV1Schema_universal_d_SiteCreatedContext = SiteCreatedContext; const multilingualTranslationV1Schema_universal_d_SiteCreatedContext: typeof SiteCreatedContext; type multilingualTranslationV1Schema_universal_d_Namespace = Namespace; const multilingualTranslationV1Schema_universal_d_Namespace: typeof Namespace; type multilingualTranslationV1Schema_universal_d_SiteTransferred = SiteTransferred; type multilingualTranslationV1Schema_universal_d_SiteDeleted = SiteDeleted; type multilingualTranslationV1Schema_universal_d_DeleteContext = DeleteContext; type multilingualTranslationV1Schema_universal_d_DeleteStatus = DeleteStatus; const multilingualTranslationV1Schema_universal_d_DeleteStatus: typeof DeleteStatus; type multilingualTranslationV1Schema_universal_d_SiteUndeleted = SiteUndeleted; type multilingualTranslationV1Schema_universal_d_SitePublished = SitePublished; type multilingualTranslationV1Schema_universal_d_SiteUnpublished = SiteUnpublished; type multilingualTranslationV1Schema_universal_d_SiteMarkedAsTemplate = SiteMarkedAsTemplate; type multilingualTranslationV1Schema_universal_d_SiteMarkedAsWixSite = SiteMarkedAsWixSite; type multilingualTranslationV1Schema_universal_d_ServiceProvisioned = ServiceProvisioned; type multilingualTranslationV1Schema_universal_d_ServiceRemoved = ServiceRemoved; type multilingualTranslationV1Schema_universal_d_SiteRenamed = SiteRenamed; type multilingualTranslationV1Schema_universal_d_SiteHardDeleted = SiteHardDeleted; type multilingualTranslationV1Schema_universal_d_NamespaceChanged = NamespaceChanged; type multilingualTranslationV1Schema_universal_d_StudioAssigned = StudioAssigned; type multilingualTranslationV1Schema_universal_d_StudioUnassigned = StudioUnassigned; type multilingualTranslationV1Schema_universal_d_Empty = Empty; type multilingualTranslationV1Schema_universal_d_DomainEvent = DomainEvent; type multilingualTranslationV1Schema_universal_d_DomainEventBodyOneOf = DomainEventBodyOneOf; type multilingualTranslationV1Schema_universal_d_EntityCreatedEvent = EntityCreatedEvent; type multilingualTranslationV1Schema_universal_d_RestoreInfo = RestoreInfo; type multilingualTranslationV1Schema_universal_d_EntityUpdatedEvent = EntityUpdatedEvent; type multilingualTranslationV1Schema_universal_d_EntityDeletedEvent = EntityDeletedEvent; type multilingualTranslationV1Schema_universal_d_ActionEvent = ActionEvent; type multilingualTranslationV1Schema_universal_d_MessageEnvelope = MessageEnvelope; type multilingualTranslationV1Schema_universal_d_IdentificationData = IdentificationData; type multilingualTranslationV1Schema_universal_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf; type multilingualTranslationV1Schema_universal_d_WebhookIdentityType = WebhookIdentityType; const multilingualTranslationV1Schema_universal_d_WebhookIdentityType: typeof WebhookIdentityType; const multilingualTranslationV1Schema_universal_d_createSchema: typeof createSchema; type multilingualTranslationV1Schema_universal_d_CreateSchemaOptions = CreateSchemaOptions; const multilingualTranslationV1Schema_universal_d_getSchema: typeof getSchema; const multilingualTranslationV1Schema_universal_d_getSchemaByKey: typeof getSchemaByKey; type multilingualTranslationV1Schema_universal_d_GetSchemaByKeyIdentifiers = GetSchemaByKeyIdentifiers; const multilingualTranslationV1Schema_universal_d_updateSchema: typeof updateSchema; type multilingualTranslationV1Schema_universal_d_UpdateSchema = UpdateSchema; type multilingualTranslationV1Schema_universal_d_UpdateSchemaOptions = UpdateSchemaOptions; const multilingualTranslationV1Schema_universal_d_deleteSchema: typeof deleteSchema; const multilingualTranslationV1Schema_universal_d_querySchemas: typeof querySchemas; type multilingualTranslationV1Schema_universal_d_QuerySchemasOptions = QuerySchemasOptions; type multilingualTranslationV1Schema_universal_d_SchemasQueryResult = SchemasQueryResult; type multilingualTranslationV1Schema_universal_d_SchemasQueryBuilder = SchemasQueryBuilder; const multilingualTranslationV1Schema_universal_d_listSiteSchemas: typeof listSiteSchemas; type multilingualTranslationV1Schema_universal_d_ListSiteSchemasOptions = ListSiteSchemasOptions; namespace multilingualTranslationV1Schema_universal_d { export { multilingualTranslationV1Schema_universal_d_Schema as Schema, multilingualTranslationV1Schema_universal_d_SchemaKey as SchemaKey, multilingualTranslationV1Schema_universal_d_SchemaScope as SchemaScope, multilingualTranslationV1Schema_universal_d_SchemaField as SchemaField, multilingualTranslationV1Schema_universal_d_FieldType as FieldType, multilingualTranslationV1Schema_universal_d_PreviewFields as PreviewFields, multilingualTranslationV1Schema_universal_d_CreateSchemaRequest as CreateSchemaRequest, multilingualTranslationV1Schema_universal_d_CreateSchemaResponse as CreateSchemaResponse, multilingualTranslationV1Schema_universal_d_GetSchemaRequest as GetSchemaRequest, multilingualTranslationV1Schema_universal_d_GetSchemaResponse as GetSchemaResponse, multilingualTranslationV1Schema_universal_d_GetSchemaByKeyRequest as GetSchemaByKeyRequest, multilingualTranslationV1Schema_universal_d_GetSchemaByKeyResponse as GetSchemaByKeyResponse, multilingualTranslationV1Schema_universal_d_UpdateSchemaRequest as UpdateSchemaRequest, multilingualTranslationV1Schema_universal_d_UpdateSchemaResponse as UpdateSchemaResponse, multilingualTranslationV1Schema_universal_d_DeleteSchemaRequest as DeleteSchemaRequest, multilingualTranslationV1Schema_universal_d_DeleteSchemaResponse as DeleteSchemaResponse, multilingualTranslationV1Schema_universal_d_QuerySchemasRequest as QuerySchemasRequest, multilingualTranslationV1Schema_universal_d_CursorQuery as CursorQuery, multilingualTranslationV1Schema_universal_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, multilingualTranslationV1Schema_universal_d_Sorting as Sorting, multilingualTranslationV1Schema_universal_d_SortOrder as SortOrder, multilingualTranslationV1Schema_universal_d_CursorPaging as CursorPaging, multilingualTranslationV1Schema_universal_d_QuerySchemasResponse as QuerySchemasResponse, multilingualTranslationV1Schema_universal_d_CursorPagingMetadata as CursorPagingMetadata, multilingualTranslationV1Schema_universal_d_Cursors as Cursors, multilingualTranslationV1Schema_universal_d_ListSiteSchemasRequest as ListSiteSchemasRequest, multilingualTranslationV1Schema_universal_d_ListSiteSchemasResponse as ListSiteSchemasResponse, multilingualTranslationV1Schema_universal_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, multilingualTranslationV1Schema_universal_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, multilingualTranslationV1Schema_universal_d_Asset as Asset, multilingualTranslationV1Schema_universal_d_State as State, multilingualTranslationV1Schema_universal_d_SiteCreated as SiteCreated, multilingualTranslationV1Schema_universal_d_SiteCreatedContext as SiteCreatedContext, multilingualTranslationV1Schema_universal_d_Namespace as Namespace, multilingualTranslationV1Schema_universal_d_SiteTransferred as SiteTransferred, multilingualTranslationV1Schema_universal_d_SiteDeleted as SiteDeleted, multilingualTranslationV1Schema_universal_d_DeleteContext as DeleteContext, multilingualTranslationV1Schema_universal_d_DeleteStatus as DeleteStatus, multilingualTranslationV1Schema_universal_d_SiteUndeleted as SiteUndeleted, multilingualTranslationV1Schema_universal_d_SitePublished as SitePublished, multilingualTranslationV1Schema_universal_d_SiteUnpublished as SiteUnpublished, multilingualTranslationV1Schema_universal_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, multilingualTranslationV1Schema_universal_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, multilingualTranslationV1Schema_universal_d_ServiceProvisioned as ServiceProvisioned, multilingualTranslationV1Schema_universal_d_ServiceRemoved as ServiceRemoved, multilingualTranslationV1Schema_universal_d_SiteRenamed as SiteRenamed, multilingualTranslationV1Schema_universal_d_SiteHardDeleted as SiteHardDeleted, multilingualTranslationV1Schema_universal_d_NamespaceChanged as NamespaceChanged, multilingualTranslationV1Schema_universal_d_StudioAssigned as StudioAssigned, multilingualTranslationV1Schema_universal_d_StudioUnassigned as StudioUnassigned, multilingualTranslationV1Schema_universal_d_Empty as Empty, multilingualTranslationV1Schema_universal_d_DomainEvent as DomainEvent, multilingualTranslationV1Schema_universal_d_DomainEventBodyOneOf as DomainEventBodyOneOf, multilingualTranslationV1Schema_universal_d_EntityCreatedEvent as EntityCreatedEvent, multilingualTranslationV1Schema_universal_d_RestoreInfo as RestoreInfo, multilingualTranslationV1Schema_universal_d_EntityUpdatedEvent as EntityUpdatedEvent, multilingualTranslationV1Schema_universal_d_EntityDeletedEvent as EntityDeletedEvent, multilingualTranslationV1Schema_universal_d_ActionEvent as ActionEvent, multilingualTranslationV1Schema_universal_d_MessageEnvelope as MessageEnvelope, multilingualTranslationV1Schema_universal_d_IdentificationData as IdentificationData, multilingualTranslationV1Schema_universal_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, multilingualTranslationV1Schema_universal_d_WebhookIdentityType as WebhookIdentityType, multilingualTranslationV1Schema_universal_d_createSchema as createSchema, multilingualTranslationV1Schema_universal_d_CreateSchemaOptions as CreateSchemaOptions, multilingualTranslationV1Schema_universal_d_getSchema as getSchema, multilingualTranslationV1Schema_universal_d_getSchemaByKey as getSchemaByKey, multilingualTranslationV1Schema_universal_d_GetSchemaByKeyIdentifiers as GetSchemaByKeyIdentifiers, multilingualTranslationV1Schema_universal_d_updateSchema as updateSchema, multilingualTranslationV1Schema_universal_d_UpdateSchema as UpdateSchema, multilingualTranslationV1Schema_universal_d_UpdateSchemaOptions as UpdateSchemaOptions, multilingualTranslationV1Schema_universal_d_deleteSchema as deleteSchema, multilingualTranslationV1Schema_universal_d_querySchemas as querySchemas, multilingualTranslationV1Schema_universal_d_QuerySchemasOptions as QuerySchemasOptions, multilingualTranslationV1Schema_universal_d_SchemasQueryResult as SchemasQueryResult, multilingualTranslationV1Schema_universal_d_SchemasQueryBuilder as SchemasQueryBuilder, multilingualTranslationV1Schema_universal_d_listSiteSchemas as listSiteSchemas, multilingualTranslationV1Schema_universal_d_ListSiteSchemasOptions as ListSiteSchemasOptions, }; } export { multilingualGenericconverterV1EntityMapper_universal_d as entityMapper, multilingualMachineV3TranslatableContent_universal_d as machineTranslation, multilingualSitetranslatorV2SiteTranslatableProperties_universal_d as siteTranslator, multilingualTranslationV1Content_universal_d as translationContents, multilingualMachineV1Credit_universal_d as translationCredits, multilingualLocalizationPublicV3PublishedContent_universal_d as translationPublishedContents, multilingualTranslationV1Schema_universal_d as translationSchemas }; }