@wix/multilingual 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ interface TranslatableContent extends TranslatableContentContentOneOf {
11
11
  htmlContent?: string;
12
12
  /** Rich content. */
13
13
  richContent?: RichContent$1;
14
- /** Translatable content ID. */
14
+ /** Translatable content ID. The ID should be unique to this content and doesn't need to match the ID used by any other service. */
15
15
  _id?: string | null;
16
16
  /** Format of the translatable content. */
17
17
  format?: Format;
@@ -1262,7 +1262,7 @@ interface TextNodeStyle$1 {
1262
1262
  interface MachineTranslateRequest {
1263
1263
  /** Language of the source text to translate. */
1264
1264
  sourceLanguage: SupportedLanguage;
1265
- /** Language which text should be translated into. */
1265
+ /** Language to translate text into. */
1266
1266
  targetLanguage: SupportedLanguage;
1267
1267
  /** The content to translate. */
1268
1268
  contentToTranslate: TranslatableContent;
@@ -1560,7 +1560,7 @@ interface UnknownFormatError {
1560
1560
  interface BulkMachineTranslateRequest {
1561
1561
  /** Language of the source text to translate. */
1562
1562
  sourceLanguage: SupportedLanguage;
1563
- /** Language which text should be translated into. */
1563
+ /** Language to translate text into. */
1564
1564
  targetLanguage: SupportedLanguage;
1565
1565
  /** The content to translate. */
1566
1566
  contentToTranslate?: TranslatableContent[];
@@ -2565,41 +2565,50 @@ interface BulkMachineTranslateResponseNonNullableFields {
2565
2565
  };
2566
2566
  }
2567
2567
  interface MachineTranslateOptions {
2568
- /** Language which text should be translated into. */
2568
+ /** Language to translate text into. */
2569
2569
  targetLanguage: SupportedLanguage;
2570
2570
  /** The content to translate. */
2571
2571
  contentToTranslate: TranslatableContent;
2572
2572
  }
2573
2573
  interface BulkMachineTranslateOptions {
2574
- /** Language which text should be translated into. */
2574
+ /** Language to translate text into. */
2575
2575
  targetLanguage: SupportedLanguage;
2576
2576
  /** The content to translate. */
2577
2577
  contentToTranslate?: TranslatableContent[];
2578
2578
  }
2579
2579
 
2580
- interface HttpClient$3 {
2581
- request<TResponse, TData = any>(req: RequestOptionsFactory$3<TResponse, TData>): Promise<HttpResponse$3<TResponse>>;
2582
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
2580
+ interface HttpClient {
2581
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
2582
+ fetchWithAuth: typeof fetch;
2583
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
2583
2584
  }
2584
- type RequestOptionsFactory$3<TResponse = any, TData = any> = (context: any) => RequestOptions$3<TResponse, TData>;
2585
- type HttpResponse$3<T = any> = {
2585
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
2586
+ type HttpResponse<T = any> = {
2586
2587
  data: T;
2587
2588
  status: number;
2588
2589
  statusText: string;
2589
2590
  headers: any;
2590
2591
  request?: any;
2591
2592
  };
2592
- type RequestOptions$3<_TResponse = any, Data = any> = {
2593
+ type RequestOptions<_TResponse = any, Data = any> = {
2593
2594
  method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
2594
2595
  url: string;
2595
2596
  data?: Data;
2596
2597
  params?: URLSearchParams;
2597
- } & APIMetadata$3;
2598
- type APIMetadata$3 = {
2598
+ } & APIMetadata;
2599
+ type APIMetadata = {
2599
2600
  methodFqn?: string;
2600
2601
  entityFqdn?: string;
2601
2602
  packageName?: string;
2602
2603
  };
2604
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
2605
+ __type: 'event-definition';
2606
+ type: Type;
2607
+ isDomainEvent?: boolean;
2608
+ transformations?: (envelope: unknown) => Payload;
2609
+ __payload: Payload;
2610
+ };
2611
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
2603
2612
 
2604
2613
  declare global {
2605
2614
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -2611,8 +2620,8 @@ declare global {
2611
2620
  declare const __metadata$3: {
2612
2621
  PACKAGE_NAME: string;
2613
2622
  };
2614
- declare function machineTranslate(httpClient: HttpClient$3): (sourceLanguage: SupportedLanguage, options: MachineTranslateOptions) => Promise<MachineTranslateResponse & MachineTranslateResponseNonNullableFields>;
2615
- declare function bulkMachineTranslate(httpClient: HttpClient$3): (sourceLanguage: SupportedLanguage, options?: BulkMachineTranslateOptions) => Promise<BulkMachineTranslateResponse & BulkMachineTranslateResponseNonNullableFields>;
2623
+ declare function machineTranslate(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options: MachineTranslateOptions) => Promise<MachineTranslateResponse & MachineTranslateResponseNonNullableFields>;
2624
+ declare function bulkMachineTranslate(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options?: BulkMachineTranslateOptions) => Promise<BulkMachineTranslateResponse & BulkMachineTranslateResponseNonNullableFields>;
2616
2625
 
2617
2626
  type index_d$3_BulkMachineTranslateOptions = BulkMachineTranslateOptions;
2618
2627
  type index_d$3_BulkMachineTranslateRequest = BulkMachineTranslateRequest;
@@ -2957,42 +2966,11 @@ interface GetSiteTranslatablesPropertiesOptions {
2957
2966
  translatedLanguage?: Locale;
2958
2967
  }
2959
2968
 
2960
- interface HttpClient$2 {
2961
- request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
2962
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
2963
- }
2964
- type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
2965
- type HttpResponse$2<T = any> = {
2966
- data: T;
2967
- status: number;
2968
- statusText: string;
2969
- headers: any;
2970
- request?: any;
2971
- };
2972
- type RequestOptions$2<_TResponse = any, Data = any> = {
2973
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
2974
- url: string;
2975
- data?: Data;
2976
- params?: URLSearchParams;
2977
- } & APIMetadata$2;
2978
- type APIMetadata$2 = {
2979
- methodFqn?: string;
2980
- entityFqdn?: string;
2981
- packageName?: string;
2982
- };
2983
-
2984
- declare global {
2985
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2986
- interface SymbolConstructor {
2987
- readonly observable: symbol;
2988
- }
2989
- }
2990
-
2991
2969
  declare const __metadata$2: {
2992
2970
  PACKAGE_NAME: string;
2993
2971
  };
2994
- declare function translateSite(httpClient: HttpClient$2): (mainLanguage: Locale, options: TranslateSiteOptions) => Promise<void>;
2995
- declare function getSiteTranslatablesProperties(httpClient: HttpClient$2): (mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions) => Promise<GetSiteTranslatablesPropertiesResponse & GetSiteTranslatablesPropertiesResponseNonNullableFields>;
2972
+ declare function translateSite(httpClient: HttpClient): (mainLanguage: Locale, options: TranslateSiteOptions) => Promise<void>;
2973
+ declare function getSiteTranslatablesProperties(httpClient: HttpClient): (mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions) => Promise<GetSiteTranslatablesPropertiesResponse & GetSiteTranslatablesPropertiesResponseNonNullableFields>;
2996
2974
 
2997
2975
  type index_d$2_ApplicationTranslatableProperties = ApplicationTranslatableProperties;
2998
2976
  type index_d$2_Flag = Flag;
@@ -4904,7 +4882,7 @@ interface DomainEventBodyOneOf$1 {
4904
4882
  interface EntityCreatedEvent$1 {
4905
4883
  entity?: string;
4906
4884
  }
4907
- interface RestoreInfo {
4885
+ interface RestoreInfo$1 {
4908
4886
  deletedDate?: Date;
4909
4887
  }
4910
4888
  interface EntityUpdatedEvent$1 {
@@ -8004,49 +7982,10 @@ interface BulkUpdateContentOptions {
8004
7982
  returnEntity?: boolean;
8005
7983
  }
8006
7984
 
8007
- interface HttpClient$1 {
8008
- request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
8009
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
8010
- }
8011
- type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
8012
- type HttpResponse$1<T = any> = {
8013
- data: T;
8014
- status: number;
8015
- statusText: string;
8016
- headers: any;
8017
- request?: any;
8018
- };
8019
- type RequestOptions$1<_TResponse = any, Data = any> = {
8020
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
8021
- url: string;
8022
- data?: Data;
8023
- params?: URLSearchParams;
8024
- } & APIMetadata$1;
8025
- type APIMetadata$1 = {
8026
- methodFqn?: string;
8027
- entityFqdn?: string;
8028
- packageName?: string;
8029
- };
8030
- type EventDefinition$1<Payload = unknown, Type extends string = string> = {
8031
- __type: 'event-definition';
8032
- type: Type;
8033
- isDomainEvent?: boolean;
8034
- transformations?: (envelope: unknown) => Payload;
8035
- __payload: Payload;
8036
- };
8037
- declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
8038
-
8039
- declare global {
8040
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
8041
- interface SymbolConstructor {
8042
- readonly observable: symbol;
8043
- }
8044
- }
8045
-
8046
7985
  declare const __metadata$1: {
8047
7986
  PACKAGE_NAME: string;
8048
7987
  };
8049
- declare function createContent(httpClient: HttpClient$1): (content: Content) => Promise<Content & {
7988
+ declare function createContent(httpClient: HttpClient): (content: Content) => Promise<Content & {
8050
7989
  schemaId: string;
8051
7990
  entityId: string;
8052
7991
  locale: string;
@@ -8529,7 +8468,7 @@ declare function createContent(httpClient: HttpClient$1): (content: Content) =>
8529
8468
  } | undefined;
8530
8469
  publishStatus: PublishStatus;
8531
8470
  }>;
8532
- declare function getContent(httpClient: HttpClient$1): (contentId: string) => Promise<Content & {
8471
+ declare function getContent(httpClient: HttpClient): (contentId: string) => Promise<Content & {
8533
8472
  schemaId: string;
8534
8473
  entityId: string;
8535
8474
  locale: string;
@@ -9012,7 +8951,7 @@ declare function getContent(httpClient: HttpClient$1): (contentId: string) => Pr
9012
8951
  } | undefined;
9013
8952
  publishStatus: PublishStatus;
9014
8953
  }>;
9015
- declare function updateContent(httpClient: HttpClient$1): (content: Content) => Promise<Content & {
8954
+ declare function updateContent(httpClient: HttpClient): (content: Content) => Promise<Content & {
9016
8955
  schemaId: string;
9017
8956
  entityId: string;
9018
8957
  locale: string;
@@ -9495,14 +9434,14 @@ declare function updateContent(httpClient: HttpClient$1): (content: Content) =>
9495
9434
  } | undefined;
9496
9435
  publishStatus: PublishStatus;
9497
9436
  }>;
9498
- declare function deleteContent(httpClient: HttpClient$1): (contentId: string) => Promise<void>;
9499
- declare function queryContents(httpClient: HttpClient$1): (options?: QueryContentsOptions) => Promise<QueryContentsResponse & QueryContentsResponseNonNullableFields>;
9500
- declare function bulkCreateContent(httpClient: HttpClient$1): (contents: Content[], options?: BulkCreateContentOptions) => Promise<BulkCreateContentResponse & BulkCreateContentResponseNonNullableFields>;
9501
- declare function bulkUpdateContent(httpClient: HttpClient$1): (contents: MaskedContent[], options?: BulkUpdateContentOptions) => Promise<BulkUpdateContentResponse & BulkUpdateContentResponseNonNullableFields>;
9502
- declare function bulkDeleteContent(httpClient: HttpClient$1): (contentIds: string[]) => Promise<BulkDeleteContentResponse & BulkDeleteContentResponseNonNullableFields>;
9503
- declare const onContentCreated: EventDefinition$1<ContentCreatedEnvelope, "wix.multilingual.translation.v1.content_created">;
9504
- declare const onContentUpdated: EventDefinition$1<ContentUpdatedEnvelope, "wix.multilingual.translation.v1.content_updated">;
9505
- declare const onContentDeleted: EventDefinition$1<ContentDeletedEnvelope, "wix.multilingual.translation.v1.content_deleted">;
9437
+ declare function deleteContent(httpClient: HttpClient): (contentId: string) => Promise<void>;
9438
+ declare function queryContents(httpClient: HttpClient): (options?: QueryContentsOptions) => Promise<QueryContentsResponse & QueryContentsResponseNonNullableFields>;
9439
+ declare function bulkCreateContent(httpClient: HttpClient): (contents: Content[], options?: BulkCreateContentOptions) => Promise<BulkCreateContentResponse & BulkCreateContentResponseNonNullableFields>;
9440
+ declare function bulkUpdateContent(httpClient: HttpClient): (contents: MaskedContent[], options?: BulkUpdateContentOptions) => Promise<BulkUpdateContentResponse & BulkUpdateContentResponseNonNullableFields>;
9441
+ declare function bulkDeleteContent(httpClient: HttpClient): (contentIds: string[]) => Promise<BulkDeleteContentResponse & BulkDeleteContentResponseNonNullableFields>;
9442
+ declare const onContentCreated: EventDefinition<ContentCreatedEnvelope, "wix.multilingual.translation.v1.content_created">;
9443
+ declare const onContentUpdated: EventDefinition<ContentUpdatedEnvelope, "wix.multilingual.translation.v1.content_updated">;
9444
+ declare const onContentDeleted: EventDefinition<ContentDeletedEnvelope, "wix.multilingual.translation.v1.content_deleted">;
9506
9445
 
9507
9446
  type index_d$1_Alignment = Alignment;
9508
9447
  declare const index_d$1_Alignment: typeof Alignment;
@@ -9661,7 +9600,6 @@ type index_d$1_RemoveContentsByFilterRequest = RemoveContentsByFilterRequest;
9661
9600
  type index_d$1_RemoveContentsByFilterResponse = RemoveContentsByFilterResponse;
9662
9601
  type index_d$1_RepublishContentByFilterRequest = RepublishContentByFilterRequest;
9663
9602
  type index_d$1_RepublishContentByFilterResponse = RepublishContentByFilterResponse;
9664
- type index_d$1_RestoreInfo = RestoreInfo;
9665
9603
  type index_d$1_RichContent = RichContent;
9666
9604
  type index_d$1_Settings = Settings;
9667
9605
  type index_d$1_Source = Source;
@@ -9715,7 +9653,7 @@ declare const index_d$1_onContentUpdated: typeof onContentUpdated;
9715
9653
  declare const index_d$1_queryContents: typeof queryContents;
9716
9654
  declare const index_d$1_updateContent: typeof updateContent;
9717
9655
  declare namespace index_d$1 {
9718
- export { type ActionEvent$1 as ActionEvent, index_d$1_Alignment as Alignment, type index_d$1_AnchorData as AnchorData, type index_d$1_AppEmbedData as AppEmbedData, type index_d$1_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, index_d$1_AppType as AppType, type index_d$1_ApplicationError as ApplicationError, type Asset$1 as Asset, type index_d$1_AudioData as AudioData, type index_d$1_Background as Background, type index_d$1_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, index_d$1_BackgroundType as BackgroundType, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BlockquoteData as BlockquoteData, type index_d$1_BookingData as BookingData, type index_d$1_Border as Border, type index_d$1_BorderColors as BorderColors, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkContentResult as BulkContentResult, type index_d$1_BulkCreateContentOptions as BulkCreateContentOptions, type index_d$1_BulkCreateContentRequest as BulkCreateContentRequest, type index_d$1_BulkCreateContentResponse as BulkCreateContentResponse, type index_d$1_BulkCreateContentResponseNonNullableFields as BulkCreateContentResponseNonNullableFields, type index_d$1_BulkDeleteContentRequest as BulkDeleteContentRequest, type index_d$1_BulkDeleteContentResponse as BulkDeleteContentResponse, type index_d$1_BulkDeleteContentResponseBulkContentResult as BulkDeleteContentResponseBulkContentResult, type index_d$1_BulkDeleteContentResponseNonNullableFields as BulkDeleteContentResponseNonNullableFields, type index_d$1_BulkUpdateContentOptions as BulkUpdateContentOptions, type index_d$1_BulkUpdateContentRequest as BulkUpdateContentRequest, type index_d$1_BulkUpdateContentResponse as BulkUpdateContentResponse, type index_d$1_BulkUpdateContentResponseBulkContentResult as BulkUpdateContentResponseBulkContentResult, type index_d$1_BulkUpdateContentResponseNonNullableFields as BulkUpdateContentResponseNonNullableFields, type index_d$1_BulletedListData as BulletedListData, type index_d$1_ButtonData as ButtonData, type index_d$1_CellStyle as CellStyle, type index_d$1_CodeBlockData as CodeBlockData, type index_d$1_CollapsibleListData as CollapsibleListData, type index_d$1_ColorData as ColorData, type index_d$1_Colors as Colors, type index_d$1_Content as Content, type index_d$1_ContentCreatedEnvelope as ContentCreatedEnvelope, type index_d$1_ContentDeletedEnvelope as ContentDeletedEnvelope, type index_d$1_ContentField as ContentField, type index_d$1_ContentFieldValueOneOf as ContentFieldValueOneOf, type index_d$1_ContentUpdatedEnvelope as ContentUpdatedEnvelope, type index_d$1_CreateContentRequest as CreateContentRequest, type index_d$1_CreateContentResponse as CreateContentResponse, type index_d$1_CreateContentResponseNonNullableFields as CreateContentResponseNonNullableFields, index_d$1_Crop as Crop, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$1_Decoration as Decoration, type index_d$1_DecorationDataOneOf as DecorationDataOneOf, index_d$1_DecorationType as DecorationType, type index_d$1_DeleteContentRequest as DeleteContentRequest, type index_d$1_DeleteContentResponse as DeleteContentResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type index_d$1_Design as Design, type index_d$1_Dimensions as Dimensions, index_d$1_Direction as Direction, type index_d$1_DividerData as DividerData, type index_d$1_DocumentStyle as DocumentStyle, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_EmbedData as EmbedData, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventData as EventData, type EventMetadata$1 as EventMetadata, type index_d$1_FileData as FileData, type index_d$1_FileSource as FileSource, type index_d$1_FileSourceDataOneOf as FileSourceDataOneOf, type index_d$1_FontSizeData as FontSizeData, index_d$1_FontType as FontType, type index_d$1_GIF as GIF, type index_d$1_GIFData as GIFData, type index_d$1_GalleryData as GalleryData, type index_d$1_GalleryOptions as GalleryOptions, type index_d$1_GetContentRequest as GetContentRequest, type index_d$1_GetContentResponse as GetContentResponse, type index_d$1_GetContentResponseNonNullableFields as GetContentResponseNonNullableFields, type index_d$1_Gradient as Gradient, type index_d$1_HTMLData as HTMLData, type index_d$1_HTMLDataDataOneOf as HTMLDataDataOneOf, type index_d$1_HeadingData as HeadingData, type index_d$1_Height as Height, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Image as Image, type index_d$1_ImageData as ImageData, index_d$1_InitialExpandedItems as InitialExpandedItems, type index_d$1_Item as Item, type index_d$1_ItemDataOneOf as ItemDataOneOf, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_ItemStyle as ItemStyle, type index_d$1_Layout as Layout, index_d$1_LayoutType as LayoutType, index_d$1_LineStyle as LineStyle, type index_d$1_Link as Link, type index_d$1_LinkData as LinkData, type index_d$1_LinkDataOneOf as LinkDataOneOf, type index_d$1_LinkPreviewData as LinkPreviewData, type index_d$1_ListValue as ListValue, type index_d$1_MapData as MapData, type index_d$1_MapSettings as MapSettings, index_d$1_MapType as MapType, type index_d$1_MaskedContent as MaskedContent, type index_d$1_Media as Media, type index_d$1_MentionData as MentionData, type MessageEnvelope$1 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type index_d$1_Metadata as Metadata, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type index_d$1_Node as Node, type index_d$1_NodeDataOneOf as NodeDataOneOf, type index_d$1_NodeStyle as NodeStyle, index_d$1_NodeType as NodeType, index_d$1_NullValue as NullValue, type index_d$1_Oembed as Oembed, type index_d$1_Option as Option, type index_d$1_OptionDesign as OptionDesign, type index_d$1_OptionLayout as OptionLayout, type index_d$1_OrderedListData as OrderedListData, index_d$1_Orientation as Orientation, type index_d$1_PDFSettings as PDFSettings, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParagraphData as ParagraphData, type index_d$1_Permissions as Permissions, type index_d$1_PlaybackOptions as PlaybackOptions, type index_d$1_PluginContainerData as PluginContainerData, index_d$1_PluginContainerDataAlignment as PluginContainerDataAlignment, type index_d$1_PluginContainerDataWidth as PluginContainerDataWidth, type index_d$1_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type index_d$1_Poll as Poll, type index_d$1_PollData as PollData, type index_d$1_PollDataLayout as PollDataLayout, type index_d$1_PollDesign as PollDesign, type index_d$1_PollLayout as PollLayout, index_d$1_PollLayoutDirection as PollLayoutDirection, index_d$1_PollLayoutType as PollLayoutType, index_d$1_PublishStatus as PublishStatus, type index_d$1_QueryContentsLegacyRequest as QueryContentsLegacyRequest, type index_d$1_QueryContentsLegacyResponse as QueryContentsLegacyResponse, type index_d$1_QueryContentsOptions as QueryContentsOptions, type index_d$1_QueryContentsRequest as QueryContentsRequest, type index_d$1_QueryContentsResponse as QueryContentsResponse, type index_d$1_QueryContentsResponseNonNullableFields as QueryContentsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_Rel as Rel, type index_d$1_RemoveContentsByFilterRequest as RemoveContentsByFilterRequest, type index_d$1_RemoveContentsByFilterResponse as RemoveContentsByFilterResponse, type index_d$1_RepublishContentByFilterRequest as RepublishContentByFilterRequest, type index_d$1_RepublishContentByFilterResponse as RepublishContentByFilterResponse, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_RichContent as RichContent, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type index_d$1_Settings as Settings, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_Source as Source, type index_d$1_Spoiler as Spoiler, type index_d$1_SpoilerData as SpoilerData, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type index_d$1_Styles as Styles, type index_d$1_TableCellData as TableCellData, type index_d$1_TableData as TableData, index_d$1_Target as Target, index_d$1_TextAlignment as TextAlignment, type index_d$1_TextData as TextData, type index_d$1_TextNodeStyle as TextNodeStyle, type index_d$1_TextStyle as TextStyle, type index_d$1_Thumbnails as Thumbnails, index_d$1_ThumbnailsAlignment as ThumbnailsAlignment, index_d$1_Type as Type, type index_d$1_UpdateContentRequest as UpdateContentRequest, type index_d$1_UpdateContentResponse as UpdateContentResponse, type index_d$1_UpdateContentResponseNonNullableFields as UpdateContentResponseNonNullableFields, index_d$1_UpdaterIdentity as UpdaterIdentity, index_d$1_VerticalAlignment as VerticalAlignment, type index_d$1_Video as Video, type index_d$1_VideoData as VideoData, type index_d$1_VideoResolution as VideoResolution, index_d$1_ViewMode as ViewMode, index_d$1_ViewRole as ViewRole, index_d$1_VoteRole as VoteRole, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_Width as Width, index_d$1_WidthType as WidthType, __metadata$1 as __metadata, index_d$1_bulkCreateContent as bulkCreateContent, index_d$1_bulkDeleteContent as bulkDeleteContent, index_d$1_bulkUpdateContent as bulkUpdateContent, index_d$1_createContent as createContent, index_d$1_deleteContent as deleteContent, index_d$1_getContent as getContent, index_d$1_onContentCreated as onContentCreated, index_d$1_onContentDeleted as onContentDeleted, index_d$1_onContentUpdated as onContentUpdated, index_d$1_queryContents as queryContents, index_d$1_updateContent as updateContent };
9656
+ export { type ActionEvent$1 as ActionEvent, index_d$1_Alignment as Alignment, type index_d$1_AnchorData as AnchorData, type index_d$1_AppEmbedData as AppEmbedData, type index_d$1_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, index_d$1_AppType as AppType, type index_d$1_ApplicationError as ApplicationError, type Asset$1 as Asset, type index_d$1_AudioData as AudioData, type index_d$1_Background as Background, type index_d$1_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, index_d$1_BackgroundType as BackgroundType, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BlockquoteData as BlockquoteData, type index_d$1_BookingData as BookingData, type index_d$1_Border as Border, type index_d$1_BorderColors as BorderColors, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkContentResult as BulkContentResult, type index_d$1_BulkCreateContentOptions as BulkCreateContentOptions, type index_d$1_BulkCreateContentRequest as BulkCreateContentRequest, type index_d$1_BulkCreateContentResponse as BulkCreateContentResponse, type index_d$1_BulkCreateContentResponseNonNullableFields as BulkCreateContentResponseNonNullableFields, type index_d$1_BulkDeleteContentRequest as BulkDeleteContentRequest, type index_d$1_BulkDeleteContentResponse as BulkDeleteContentResponse, type index_d$1_BulkDeleteContentResponseBulkContentResult as BulkDeleteContentResponseBulkContentResult, type index_d$1_BulkDeleteContentResponseNonNullableFields as BulkDeleteContentResponseNonNullableFields, type index_d$1_BulkUpdateContentOptions as BulkUpdateContentOptions, type index_d$1_BulkUpdateContentRequest as BulkUpdateContentRequest, type index_d$1_BulkUpdateContentResponse as BulkUpdateContentResponse, type index_d$1_BulkUpdateContentResponseBulkContentResult as BulkUpdateContentResponseBulkContentResult, type index_d$1_BulkUpdateContentResponseNonNullableFields as BulkUpdateContentResponseNonNullableFields, type index_d$1_BulletedListData as BulletedListData, type index_d$1_ButtonData as ButtonData, type index_d$1_CellStyle as CellStyle, type index_d$1_CodeBlockData as CodeBlockData, type index_d$1_CollapsibleListData as CollapsibleListData, type index_d$1_ColorData as ColorData, type index_d$1_Colors as Colors, type index_d$1_Content as Content, type index_d$1_ContentCreatedEnvelope as ContentCreatedEnvelope, type index_d$1_ContentDeletedEnvelope as ContentDeletedEnvelope, type index_d$1_ContentField as ContentField, type index_d$1_ContentFieldValueOneOf as ContentFieldValueOneOf, type index_d$1_ContentUpdatedEnvelope as ContentUpdatedEnvelope, type index_d$1_CreateContentRequest as CreateContentRequest, type index_d$1_CreateContentResponse as CreateContentResponse, type index_d$1_CreateContentResponseNonNullableFields as CreateContentResponseNonNullableFields, index_d$1_Crop as Crop, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$1_Decoration as Decoration, type index_d$1_DecorationDataOneOf as DecorationDataOneOf, index_d$1_DecorationType as DecorationType, type index_d$1_DeleteContentRequest as DeleteContentRequest, type index_d$1_DeleteContentResponse as DeleteContentResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type index_d$1_Design as Design, type index_d$1_Dimensions as Dimensions, index_d$1_Direction as Direction, type index_d$1_DividerData as DividerData, type index_d$1_DocumentStyle as DocumentStyle, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_EmbedData as EmbedData, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventData as EventData, type EventMetadata$1 as EventMetadata, type index_d$1_FileData as FileData, type index_d$1_FileSource as FileSource, type index_d$1_FileSourceDataOneOf as FileSourceDataOneOf, type index_d$1_FontSizeData as FontSizeData, index_d$1_FontType as FontType, type index_d$1_GIF as GIF, type index_d$1_GIFData as GIFData, type index_d$1_GalleryData as GalleryData, type index_d$1_GalleryOptions as GalleryOptions, type index_d$1_GetContentRequest as GetContentRequest, type index_d$1_GetContentResponse as GetContentResponse, type index_d$1_GetContentResponseNonNullableFields as GetContentResponseNonNullableFields, type index_d$1_Gradient as Gradient, type index_d$1_HTMLData as HTMLData, type index_d$1_HTMLDataDataOneOf as HTMLDataDataOneOf, type index_d$1_HeadingData as HeadingData, type index_d$1_Height as Height, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Image as Image, type index_d$1_ImageData as ImageData, index_d$1_InitialExpandedItems as InitialExpandedItems, type index_d$1_Item as Item, type index_d$1_ItemDataOneOf as ItemDataOneOf, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_ItemStyle as ItemStyle, type index_d$1_Layout as Layout, index_d$1_LayoutType as LayoutType, index_d$1_LineStyle as LineStyle, type index_d$1_Link as Link, type index_d$1_LinkData as LinkData, type index_d$1_LinkDataOneOf as LinkDataOneOf, type index_d$1_LinkPreviewData as LinkPreviewData, type index_d$1_ListValue as ListValue, type index_d$1_MapData as MapData, type index_d$1_MapSettings as MapSettings, index_d$1_MapType as MapType, type index_d$1_MaskedContent as MaskedContent, type index_d$1_Media as Media, type index_d$1_MentionData as MentionData, type MessageEnvelope$1 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type index_d$1_Metadata as Metadata, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type index_d$1_Node as Node, type index_d$1_NodeDataOneOf as NodeDataOneOf, type index_d$1_NodeStyle as NodeStyle, index_d$1_NodeType as NodeType, index_d$1_NullValue as NullValue, type index_d$1_Oembed as Oembed, type index_d$1_Option as Option, type index_d$1_OptionDesign as OptionDesign, type index_d$1_OptionLayout as OptionLayout, type index_d$1_OrderedListData as OrderedListData, index_d$1_Orientation as Orientation, type index_d$1_PDFSettings as PDFSettings, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParagraphData as ParagraphData, type index_d$1_Permissions as Permissions, type index_d$1_PlaybackOptions as PlaybackOptions, type index_d$1_PluginContainerData as PluginContainerData, index_d$1_PluginContainerDataAlignment as PluginContainerDataAlignment, type index_d$1_PluginContainerDataWidth as PluginContainerDataWidth, type index_d$1_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type index_d$1_Poll as Poll, type index_d$1_PollData as PollData, type index_d$1_PollDataLayout as PollDataLayout, type index_d$1_PollDesign as PollDesign, type index_d$1_PollLayout as PollLayout, index_d$1_PollLayoutDirection as PollLayoutDirection, index_d$1_PollLayoutType as PollLayoutType, index_d$1_PublishStatus as PublishStatus, type index_d$1_QueryContentsLegacyRequest as QueryContentsLegacyRequest, type index_d$1_QueryContentsLegacyResponse as QueryContentsLegacyResponse, type index_d$1_QueryContentsOptions as QueryContentsOptions, type index_d$1_QueryContentsRequest as QueryContentsRequest, type index_d$1_QueryContentsResponse as QueryContentsResponse, type index_d$1_QueryContentsResponseNonNullableFields as QueryContentsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_Rel as Rel, type index_d$1_RemoveContentsByFilterRequest as RemoveContentsByFilterRequest, type index_d$1_RemoveContentsByFilterResponse as RemoveContentsByFilterResponse, type index_d$1_RepublishContentByFilterRequest as RepublishContentByFilterRequest, type index_d$1_RepublishContentByFilterResponse as RepublishContentByFilterResponse, type RestoreInfo$1 as RestoreInfo, type index_d$1_RichContent as RichContent, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type index_d$1_Settings as Settings, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_Source as Source, type index_d$1_Spoiler as Spoiler, type index_d$1_SpoilerData as SpoilerData, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type index_d$1_Styles as Styles, type index_d$1_TableCellData as TableCellData, type index_d$1_TableData as TableData, index_d$1_Target as Target, index_d$1_TextAlignment as TextAlignment, type index_d$1_TextData as TextData, type index_d$1_TextNodeStyle as TextNodeStyle, type index_d$1_TextStyle as TextStyle, type index_d$1_Thumbnails as Thumbnails, index_d$1_ThumbnailsAlignment as ThumbnailsAlignment, index_d$1_Type as Type, type index_d$1_UpdateContentRequest as UpdateContentRequest, type index_d$1_UpdateContentResponse as UpdateContentResponse, type index_d$1_UpdateContentResponseNonNullableFields as UpdateContentResponseNonNullableFields, index_d$1_UpdaterIdentity as UpdaterIdentity, index_d$1_VerticalAlignment as VerticalAlignment, type index_d$1_Video as Video, type index_d$1_VideoData as VideoData, type index_d$1_VideoResolution as VideoResolution, index_d$1_ViewMode as ViewMode, index_d$1_ViewRole as ViewRole, index_d$1_VoteRole as VoteRole, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_Width as Width, index_d$1_WidthType as WidthType, __metadata$1 as __metadata, index_d$1_bulkCreateContent as bulkCreateContent, index_d$1_bulkDeleteContent as bulkDeleteContent, index_d$1_bulkUpdateContent as bulkUpdateContent, index_d$1_createContent as createContent, index_d$1_deleteContent as deleteContent, index_d$1_getContent as getContent, index_d$1_onContentCreated as onContentCreated, index_d$1_onContentDeleted as onContentDeleted, index_d$1_onContentUpdated as onContentUpdated, index_d$1_queryContents as queryContents, index_d$1_updateContent as updateContent };
9719
9657
  }
9720
9658
 
9721
9659
  interface Schema {
@@ -10260,6 +10198,9 @@ interface DomainEventBodyOneOf {
10260
10198
  interface EntityCreatedEvent {
10261
10199
  entity?: string;
10262
10200
  }
10201
+ interface RestoreInfo {
10202
+ deletedDate?: Date;
10203
+ }
10263
10204
  interface EntityUpdatedEvent {
10264
10205
  /**
10265
10206
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -10445,6 +10386,8 @@ interface GetSchemaByKeyIdentifiers {
10445
10386
  /** Scope schema is defined in (Global/Site) */
10446
10387
  keyScope?: SchemaScope;
10447
10388
  }
10389
+ interface QuerySchemasOptions {
10390
+ }
10448
10391
  interface QueryCursorResult {
10449
10392
  cursors: Cursors;
10450
10393
  hasNext: () => boolean;
@@ -10507,45 +10450,6 @@ interface ListSiteSchemasOptions {
10507
10450
  paging?: CursorPaging;
10508
10451
  }
10509
10452
 
10510
- interface HttpClient {
10511
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
10512
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
10513
- }
10514
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
10515
- type HttpResponse<T = any> = {
10516
- data: T;
10517
- status: number;
10518
- statusText: string;
10519
- headers: any;
10520
- request?: any;
10521
- };
10522
- type RequestOptions<_TResponse = any, Data = any> = {
10523
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
10524
- url: string;
10525
- data?: Data;
10526
- params?: URLSearchParams;
10527
- } & APIMetadata;
10528
- type APIMetadata = {
10529
- methodFqn?: string;
10530
- entityFqdn?: string;
10531
- packageName?: string;
10532
- };
10533
- type EventDefinition<Payload = unknown, Type extends string = string> = {
10534
- __type: 'event-definition';
10535
- type: Type;
10536
- isDomainEvent?: boolean;
10537
- transformations?: (envelope: unknown) => Payload;
10538
- __payload: Payload;
10539
- };
10540
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
10541
-
10542
- declare global {
10543
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
10544
- interface SymbolConstructor {
10545
- readonly observable: symbol;
10546
- }
10547
- }
10548
-
10549
10453
  declare const __metadata: {
10550
10454
  PACKAGE_NAME: string;
10551
10455
  };
@@ -10563,7 +10467,7 @@ declare function getSchema(httpClient: HttpClient): (schemaId: string) => Promis
10563
10467
  } | undefined;
10564
10468
  }>;
10565
10469
  declare function getSchemaByKey(httpClient: HttpClient): (identifiers: GetSchemaByKeyIdentifiers, key: GetSchemaByKey) => Promise<GetSchemaByKeyResponse & GetSchemaByKeyResponseNonNullableFields>;
10566
- declare function querySchemas(httpClient: HttpClient): () => SchemasQueryBuilder;
10470
+ declare function querySchemas(httpClient: HttpClient): (options?: QuerySchemasOptions) => SchemasQueryBuilder;
10567
10471
  declare function listSiteSchemas(httpClient: HttpClient): (options?: ListSiteSchemasOptions) => Promise<ListSiteSchemasResponse & ListSiteSchemasResponseNonNullableFields>;
10568
10472
  declare const onSchemaCreated: EventDefinition<SchemaCreatedEnvelope, "wix.multilingual.translation.v1.schema_created">;
10569
10473
  declare const onSchemaUpdated: EventDefinition<SchemaUpdatedEnvelope, "wix.multilingual.translation.v1.schema_updated">;
@@ -10614,9 +10518,11 @@ type index_d_Namespace = Namespace;
10614
10518
  declare const index_d_Namespace: typeof Namespace;
10615
10519
  type index_d_NamespaceChanged = NamespaceChanged;
10616
10520
  type index_d_PreviewFields = PreviewFields;
10521
+ type index_d_QuerySchemasOptions = QuerySchemasOptions;
10617
10522
  type index_d_QuerySchemasRequest = QuerySchemasRequest;
10618
10523
  type index_d_QuerySchemasResponse = QuerySchemasResponse;
10619
10524
  type index_d_QuerySchemasResponseNonNullableFields = QuerySchemasResponseNonNullableFields;
10525
+ type index_d_RestoreInfo = RestoreInfo;
10620
10526
  type index_d_Schema = Schema;
10621
10527
  type index_d_SchemaCreatedEnvelope = SchemaCreatedEnvelope;
10622
10528
  type index_d_SchemaDeletedEnvelope = SchemaDeletedEnvelope;
@@ -10661,7 +10567,7 @@ declare const index_d_onSchemaDeleted: typeof onSchemaDeleted;
10661
10567
  declare const index_d_onSchemaUpdated: typeof onSchemaUpdated;
10662
10568
  declare const index_d_querySchemas: typeof querySchemas;
10663
10569
  declare namespace index_d {
10664
- export { type index_d_ActionEvent as ActionEvent, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateSchemaRequest as CreateSchemaRequest, type index_d_CreateSchemaResponse as CreateSchemaResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DeleteContext as DeleteContext, type index_d_DeleteSchemaRequest as DeleteSchemaRequest, type index_d_DeleteSchemaResponse as DeleteSchemaResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, index_d_FieldType as FieldType, type index_d_GetSchemaByKey as GetSchemaByKey, type index_d_GetSchemaByKeyIdentifiers as GetSchemaByKeyIdentifiers, type index_d_GetSchemaByKeyRequest as GetSchemaByKeyRequest, type index_d_GetSchemaByKeyResponse as GetSchemaByKeyResponse, type index_d_GetSchemaByKeyResponseNonNullableFields as GetSchemaByKeyResponseNonNullableFields, type index_d_GetSchemaRequest as GetSchemaRequest, type index_d_GetSchemaResponse as GetSchemaResponse, type index_d_GetSchemaResponseNonNullableFields as GetSchemaResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ListSiteSchemasOptions as ListSiteSchemasOptions, type index_d_ListSiteSchemasRequest as ListSiteSchemasRequest, type index_d_ListSiteSchemasResponse as ListSiteSchemasResponse, type index_d_ListSiteSchemasResponseNonNullableFields as ListSiteSchemasResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_PreviewFields as PreviewFields, type index_d_QuerySchemasRequest as QuerySchemasRequest, type index_d_QuerySchemasResponse as QuerySchemasResponse, type index_d_QuerySchemasResponseNonNullableFields as QuerySchemasResponseNonNullableFields, type index_d_Schema as Schema, type index_d_SchemaCreatedEnvelope as SchemaCreatedEnvelope, type index_d_SchemaDeletedEnvelope as SchemaDeletedEnvelope, type index_d_SchemaField as SchemaField, type index_d_SchemaKey as SchemaKey, index_d_SchemaScope as SchemaScope, type index_d_SchemaUpdatedEnvelope as SchemaUpdatedEnvelope, type index_d_SchemasQueryBuilder as SchemasQueryBuilder, type index_d_SchemasQueryResult as SchemasQueryResult, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_UpdateSchemaRequest as UpdateSchemaRequest, type index_d_UpdateSchemaResponse as UpdateSchemaResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_getSchema as getSchema, index_d_getSchemaByKey as getSchemaByKey, index_d_listSiteSchemas as listSiteSchemas, index_d_onSchemaCreated as onSchemaCreated, index_d_onSchemaDeleted as onSchemaDeleted, index_d_onSchemaUpdated as onSchemaUpdated, index_d_querySchemas as querySchemas };
10570
+ export { type index_d_ActionEvent as ActionEvent, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateSchemaRequest as CreateSchemaRequest, type index_d_CreateSchemaResponse as CreateSchemaResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DeleteContext as DeleteContext, type index_d_DeleteSchemaRequest as DeleteSchemaRequest, type index_d_DeleteSchemaResponse as DeleteSchemaResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, index_d_FieldType as FieldType, type index_d_GetSchemaByKey as GetSchemaByKey, type index_d_GetSchemaByKeyIdentifiers as GetSchemaByKeyIdentifiers, type index_d_GetSchemaByKeyRequest as GetSchemaByKeyRequest, type index_d_GetSchemaByKeyResponse as GetSchemaByKeyResponse, type index_d_GetSchemaByKeyResponseNonNullableFields as GetSchemaByKeyResponseNonNullableFields, type index_d_GetSchemaRequest as GetSchemaRequest, type index_d_GetSchemaResponse as GetSchemaResponse, type index_d_GetSchemaResponseNonNullableFields as GetSchemaResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ListSiteSchemasOptions as ListSiteSchemasOptions, type index_d_ListSiteSchemasRequest as ListSiteSchemasRequest, type index_d_ListSiteSchemasResponse as ListSiteSchemasResponse, type index_d_ListSiteSchemasResponseNonNullableFields as ListSiteSchemasResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_PreviewFields as PreviewFields, type index_d_QuerySchemasOptions as QuerySchemasOptions, type index_d_QuerySchemasRequest as QuerySchemasRequest, type index_d_QuerySchemasResponse as QuerySchemasResponse, type index_d_QuerySchemasResponseNonNullableFields as QuerySchemasResponseNonNullableFields, type index_d_RestoreInfo as RestoreInfo, type index_d_Schema as Schema, type index_d_SchemaCreatedEnvelope as SchemaCreatedEnvelope, type index_d_SchemaDeletedEnvelope as SchemaDeletedEnvelope, type index_d_SchemaField as SchemaField, type index_d_SchemaKey as SchemaKey, index_d_SchemaScope as SchemaScope, type index_d_SchemaUpdatedEnvelope as SchemaUpdatedEnvelope, type index_d_SchemasQueryBuilder as SchemasQueryBuilder, type index_d_SchemasQueryResult as SchemasQueryResult, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_UpdateSchemaRequest as UpdateSchemaRequest, type index_d_UpdateSchemaResponse as UpdateSchemaResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_getSchema as getSchema, index_d_getSchemaByKey as getSchemaByKey, index_d_listSiteSchemas as listSiteSchemas, index_d_onSchemaCreated as onSchemaCreated, index_d_onSchemaDeleted as onSchemaDeleted, index_d_onSchemaUpdated as onSchemaUpdated, index_d_querySchemas as querySchemas };
10665
10571
  }
10666
10572
 
10667
10573
  export { index_d$3 as machineTranslation, index_d$2 as siteTranslator, index_d$1 as translationContents, index_d as translationSchemas };
@@ -11,7 +11,7 @@ interface TranslatableContent$1 extends TranslatableContentContentOneOf$1 {
11
11
  htmlContent?: string;
12
12
  /** Rich content. */
13
13
  richContent?: RichContent$3;
14
- /** Translatable content ID. */
14
+ /** Translatable content ID. The ID should be unique to this content and doesn't need to match the ID used by any other service. */
15
15
  id?: string | null;
16
16
  /** Format of the translatable content. */
17
17
  format?: Format$1;
@@ -1243,7 +1243,7 @@ interface TextNodeStyle$3 {
1243
1243
  interface MachineTranslateRequest$1 {
1244
1244
  /** Language of the source text to translate. */
1245
1245
  sourceLanguage: SupportedLanguage$1;
1246
- /** Language which text should be translated into. */
1246
+ /** Language to translate text into. */
1247
1247
  targetLanguage: SupportedLanguage$1;
1248
1248
  /** The content to translate. */
1249
1249
  contentToTranslate: TranslatableContent$1;
@@ -1529,7 +1529,7 @@ interface MachineTranslateResponse$1 {
1529
1529
  interface BulkMachineTranslateRequest$1 {
1530
1530
  /** Language of the source text to translate. */
1531
1531
  sourceLanguage: SupportedLanguage$1;
1532
- /** Language which text should be translated into. */
1532
+ /** Language to translate text into. */
1533
1533
  targetLanguage: SupportedLanguage$1;
1534
1534
  /** The content to translate. */
1535
1535
  contentToTranslate?: TranslatableContent$1[];
@@ -2547,7 +2547,7 @@ interface TranslatableContent extends TranslatableContentContentOneOf {
2547
2547
  htmlContent?: string;
2548
2548
  /** Rich content. */
2549
2549
  richContent?: RichContent$2;
2550
- /** Translatable content ID. */
2550
+ /** Translatable content ID. The ID should be unique to this content and doesn't need to match the ID used by any other service. */
2551
2551
  _id?: string | null;
2552
2552
  /** Format of the translatable content. */
2553
2553
  format?: Format;
@@ -3779,7 +3779,7 @@ interface TextNodeStyle$2 {
3779
3779
  interface MachineTranslateRequest {
3780
3780
  /** Language of the source text to translate. */
3781
3781
  sourceLanguage: SupportedLanguage;
3782
- /** Language which text should be translated into. */
3782
+ /** Language to translate text into. */
3783
3783
  targetLanguage: SupportedLanguage;
3784
3784
  /** The content to translate. */
3785
3785
  contentToTranslate: TranslatableContent;
@@ -4065,7 +4065,7 @@ interface MachineTranslateResponse {
4065
4065
  interface BulkMachineTranslateRequest {
4066
4066
  /** Language of the source text to translate. */
4067
4067
  sourceLanguage: SupportedLanguage;
4068
- /** Language which text should be translated into. */
4068
+ /** Language to translate text into. */
4069
4069
  targetLanguage: SupportedLanguage;
4070
4070
  /** The content to translate. */
4071
4071
  contentToTranslate?: TranslatableContent[];