@wix/multilingual 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/multilingual",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/multilingual_machine-translation": "1.0.
|
|
22
|
-
"@wix/multilingual_site-translator": "1.0.
|
|
23
|
-
"@wix/multilingual_translation-contents": "1.0.
|
|
24
|
-
"@wix/multilingual_translation-schemas": "1.0.
|
|
21
|
+
"@wix/multilingual_machine-translation": "1.0.18",
|
|
22
|
+
"@wix/multilingual_site-translator": "1.0.6",
|
|
23
|
+
"@wix/multilingual_translation-contents": "1.0.5",
|
|
24
|
+
"@wix/multilingual_translation-schemas": "1.0.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"glob": "^10.4.1",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"fqdn": ""
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"falconPackageHash": "
|
|
48
|
+
"falconPackageHash": "1b0d879f93c94afe4ce0dcdb0e153244ced8ce2e8b414e62e4902db0"
|
|
49
49
|
}
|
|
@@ -2760,7 +2760,10 @@ interface FileData {
|
|
|
2760
2760
|
name?: string | null;
|
|
2761
2761
|
/** File type. */
|
|
2762
2762
|
type?: string | null;
|
|
2763
|
-
/**
|
|
2763
|
+
/**
|
|
2764
|
+
* Use `sizeInKb` instead.
|
|
2765
|
+
* @deprecated
|
|
2766
|
+
*/
|
|
2764
2767
|
size?: number | null;
|
|
2765
2768
|
/** Settings for PDF files. */
|
|
2766
2769
|
pdfSettings?: PDFSettings;
|
|
@@ -2768,6 +2771,8 @@ interface FileData {
|
|
|
2768
2771
|
mimeType?: string | null;
|
|
2769
2772
|
/** File path. */
|
|
2770
2773
|
path?: string | null;
|
|
2774
|
+
/** File size in KB. */
|
|
2775
|
+
sizeInKb?: string | null;
|
|
2771
2776
|
}
|
|
2772
2777
|
declare enum ViewMode {
|
|
2773
2778
|
/** No PDF view */
|
|
@@ -4170,7 +4175,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
4170
4175
|
slug?: string;
|
|
4171
4176
|
/** ID of the entity associated with the event. */
|
|
4172
4177
|
entityId?: string;
|
|
4173
|
-
/** Event timestamp. */
|
|
4178
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4174
4179
|
eventTime?: Date;
|
|
4175
4180
|
/**
|
|
4176
4181
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -4353,7 +4358,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
4353
4358
|
slug?: string;
|
|
4354
4359
|
/** ID of the entity associated with the event. */
|
|
4355
4360
|
entityId?: string;
|
|
4356
|
-
/** Event timestamp. */
|
|
4361
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4357
4362
|
eventTime?: Date;
|
|
4358
4363
|
/**
|
|
4359
4364
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1890,6 +1890,7 @@ interface BulkMachineTranslateOptions {
|
|
|
1890
1890
|
contentToTranslate?: TranslatableContent[];
|
|
1891
1891
|
}
|
|
1892
1892
|
|
|
1893
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
1893
1894
|
interface HttpClient {
|
|
1894
1895
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
1895
1896
|
fetchWithAuth: typeof fetch;
|
|
@@ -1914,6 +1915,7 @@ type APIMetadata = {
|
|
|
1914
1915
|
entityFqdn?: string;
|
|
1915
1916
|
packageName?: string;
|
|
1916
1917
|
};
|
|
1918
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
1917
1919
|
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
1918
1920
|
__type: 'event-definition';
|
|
1919
1921
|
type: Type;
|
|
@@ -1922,6 +1924,8 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
|
1922
1924
|
__payload: Payload;
|
|
1923
1925
|
};
|
|
1924
1926
|
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
1927
|
+
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
1928
|
+
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
1925
1929
|
|
|
1926
1930
|
declare global {
|
|
1927
1931
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -1930,11 +1934,10 @@ declare global {
|
|
|
1930
1934
|
}
|
|
1931
1935
|
}
|
|
1932
1936
|
|
|
1933
|
-
declare
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
declare
|
|
1937
|
-
declare function bulkMachineTranslate(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options?: BulkMachineTranslateOptions) => Promise<BulkMachineTranslateResponse & BulkMachineTranslateResponseNonNullableFields>;
|
|
1937
|
+
declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
1938
|
+
|
|
1939
|
+
declare const machineTranslate: ReturnType<typeof createRESTModule$3<typeof publicMachineTranslate>>;
|
|
1940
|
+
declare const bulkMachineTranslate: ReturnType<typeof createRESTModule$3<typeof publicBulkMachineTranslate>>;
|
|
1938
1941
|
|
|
1939
1942
|
type index_d$3_BulkMachineTranslateOptions = BulkMachineTranslateOptions;
|
|
1940
1943
|
type index_d$3_BulkMachineTranslateRequest = BulkMachineTranslateRequest;
|
|
@@ -1957,7 +1960,7 @@ type index_d$3_UnknownFormatError = UnknownFormatError;
|
|
|
1957
1960
|
declare const index_d$3_bulkMachineTranslate: typeof bulkMachineTranslate;
|
|
1958
1961
|
declare const index_d$3_machineTranslate: typeof machineTranslate;
|
|
1959
1962
|
declare namespace index_d$3 {
|
|
1960
|
-
export { Alignment$1 as Alignment, type AnchorData$1 as AnchorData, type AppEmbedData$1 as AppEmbedData, type AppEmbedDataAppDataOneOf$1 as AppEmbedDataAppDataOneOf, AppType$1 as AppType, type ApplicationError$1 as ApplicationError, type AudioData$1 as AudioData, type Background$1 as Background, type BackgroundBackgroundOneOf$1 as BackgroundBackgroundOneOf, BackgroundType$1 as BackgroundType, type BlockquoteData$1 as BlockquoteData, type BookingData$1 as BookingData, type Border$1 as Border, type BorderColors$1 as BorderColors, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$3_BulkMachineTranslateOptions as BulkMachineTranslateOptions, type index_d$3_BulkMachineTranslateRequest as BulkMachineTranslateRequest, type index_d$3_BulkMachineTranslateResponse as BulkMachineTranslateResponse, type index_d$3_BulkMachineTranslateResponseNonNullableFields as BulkMachineTranslateResponseNonNullableFields, type index_d$3_BulkTranslateResult as BulkTranslateResult, type BulletedListData$1 as BulletedListData, type ButtonData$1 as ButtonData, type CellStyle$1 as CellStyle, type CodeBlockData$1 as CodeBlockData, type CollapsibleListData$1 as CollapsibleListData, type ColorData$1 as ColorData, type Colors$1 as Colors, Crop$1 as Crop, type Decoration$1 as Decoration, type DecorationDataOneOf$1 as DecorationDataOneOf, DecorationType$1 as DecorationType, type Design$1 as Design, type Dimensions$1 as Dimensions, Direction$1 as Direction, type DividerData$1 as DividerData, type DocumentStyle$1 as DocumentStyle, type EmbedData$1 as EmbedData, type EventData$1 as EventData, type FileData$1 as FileData, type FileSource$1 as FileSource, type FileSourceDataOneOf$1 as FileSourceDataOneOf, type FontSizeData$1 as FontSizeData, FontType$1 as FontType, index_d$3_Format as Format, type GIF$1 as GIF, type GIFData$1 as GIFData, type GalleryData$1 as GalleryData, type GalleryOptions$1 as GalleryOptions, type Gradient$1 as Gradient, type HTMLData$1 as HTMLData, type HTMLDataDataOneOf$1 as HTMLDataDataOneOf, type HeadingData$1 as HeadingData, type Height$1 as Height, type Image$1 as Image, type ImageData$1 as ImageData, InitialExpandedItems$1 as InitialExpandedItems, type Item$1 as Item, type ItemDataOneOf$1 as ItemDataOneOf, type ItemMetadata$1 as ItemMetadata, type ItemStyle$1 as ItemStyle, type Layout$1 as Layout, LayoutType$1 as LayoutType, LineStyle$1 as LineStyle, type Link$1 as Link, type LinkData$1 as LinkData, type LinkDataOneOf$1 as LinkDataOneOf, type LinkPreviewData$1 as LinkPreviewData, type ListValue$1 as ListValue, type index_d$3_MachineTranslateOptions as MachineTranslateOptions, type index_d$3_MachineTranslateRequest as MachineTranslateRequest, type index_d$3_MachineTranslateResponse as MachineTranslateResponse, type index_d$3_MachineTranslateResponseNonNullableFields as MachineTranslateResponseNonNullableFields, type MapData$1 as MapData, type MapSettings$1 as MapSettings, MapType$1 as MapType, type Media$1 as Media, type MentionData$1 as MentionData, type Metadata$1 as Metadata, type Node$1 as Node, type NodeDataOneOf$1 as NodeDataOneOf, type NodeStyle$1 as NodeStyle, NodeType$1 as NodeType, type index_d$3_NotEnoughCreditsError as NotEnoughCreditsError, NullValue$1 as NullValue, type Oembed$1 as Oembed, type Option$1 as Option, type OptionDesign$1 as OptionDesign, type OptionLayout$1 as OptionLayout, type OrderedListData$1 as OrderedListData, Orientation$1 as Orientation, type PDFSettings$1 as PDFSettings, type ParagraphData$1 as ParagraphData, type Permissions$1 as Permissions, type PlaybackOptions$1 as PlaybackOptions, type PluginContainerData$1 as PluginContainerData, PluginContainerDataAlignment$1 as PluginContainerDataAlignment, type PluginContainerDataWidth$1 as PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf$1 as PluginContainerDataWidthDataOneOf, type Poll$1 as Poll, type PollData$1 as PollData, type PollDataLayout$1 as PollDataLayout, type PollDesign$1 as PollDesign, type PollLayout$1 as PollLayout, PollLayoutDirection$1 as PollLayoutDirection, PollLayoutType$1 as PollLayoutType, type Rel$1 as Rel, type RichContent$1 as RichContent, type Settings$1 as Settings, Source$1 as Source, type Spoiler$1 as Spoiler, type SpoilerData$1 as SpoilerData, type Styles$1 as Styles, index_d$3_SupportedLanguage as SupportedLanguage, type TableCellData$1 as TableCellData, type TableData$1 as TableData, Target$1 as Target, TextAlignment$1 as TextAlignment, type TextData$1 as TextData, type TextNodeStyle$1 as TextNodeStyle, type TextStyle$1 as TextStyle, type index_d$3_TextTooLongError as TextTooLongError, type Thumbnails$1 as Thumbnails, ThumbnailsAlignment$1 as ThumbnailsAlignment, type index_d$3_TranslatableContent as TranslatableContent, type index_d$3_TranslatableContentContentOneOf as TranslatableContentContentOneOf, Type$1 as Type, type index_d$3_UnknownFormatError as UnknownFormatError, VerticalAlignment$1 as VerticalAlignment, type Video$1 as Video, type VideoData$1 as VideoData, ViewMode$1 as ViewMode, ViewRole$1 as ViewRole, VoteRole$1 as VoteRole, Width$1 as Width, WidthType$1 as WidthType,
|
|
1963
|
+
export { Alignment$1 as Alignment, type AnchorData$1 as AnchorData, type AppEmbedData$1 as AppEmbedData, type AppEmbedDataAppDataOneOf$1 as AppEmbedDataAppDataOneOf, AppType$1 as AppType, type ApplicationError$1 as ApplicationError, type AudioData$1 as AudioData, type Background$1 as Background, type BackgroundBackgroundOneOf$1 as BackgroundBackgroundOneOf, BackgroundType$1 as BackgroundType, type BlockquoteData$1 as BlockquoteData, type BookingData$1 as BookingData, type Border$1 as Border, type BorderColors$1 as BorderColors, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$3_BulkMachineTranslateOptions as BulkMachineTranslateOptions, type index_d$3_BulkMachineTranslateRequest as BulkMachineTranslateRequest, type index_d$3_BulkMachineTranslateResponse as BulkMachineTranslateResponse, type index_d$3_BulkMachineTranslateResponseNonNullableFields as BulkMachineTranslateResponseNonNullableFields, type index_d$3_BulkTranslateResult as BulkTranslateResult, type BulletedListData$1 as BulletedListData, type ButtonData$1 as ButtonData, type CellStyle$1 as CellStyle, type CodeBlockData$1 as CodeBlockData, type CollapsibleListData$1 as CollapsibleListData, type ColorData$1 as ColorData, type Colors$1 as Colors, Crop$1 as Crop, type Decoration$1 as Decoration, type DecorationDataOneOf$1 as DecorationDataOneOf, DecorationType$1 as DecorationType, type Design$1 as Design, type Dimensions$1 as Dimensions, Direction$1 as Direction, type DividerData$1 as DividerData, type DocumentStyle$1 as DocumentStyle, type EmbedData$1 as EmbedData, type EventData$1 as EventData, type FileData$1 as FileData, type FileSource$1 as FileSource, type FileSourceDataOneOf$1 as FileSourceDataOneOf, type FontSizeData$1 as FontSizeData, FontType$1 as FontType, index_d$3_Format as Format, type GIF$1 as GIF, type GIFData$1 as GIFData, type GalleryData$1 as GalleryData, type GalleryOptions$1 as GalleryOptions, type Gradient$1 as Gradient, type HTMLData$1 as HTMLData, type HTMLDataDataOneOf$1 as HTMLDataDataOneOf, type HeadingData$1 as HeadingData, type Height$1 as Height, type Image$1 as Image, type ImageData$1 as ImageData, InitialExpandedItems$1 as InitialExpandedItems, type Item$1 as Item, type ItemDataOneOf$1 as ItemDataOneOf, type ItemMetadata$1 as ItemMetadata, type ItemStyle$1 as ItemStyle, type Layout$1 as Layout, LayoutType$1 as LayoutType, LineStyle$1 as LineStyle, type Link$1 as Link, type LinkData$1 as LinkData, type LinkDataOneOf$1 as LinkDataOneOf, type LinkPreviewData$1 as LinkPreviewData, type ListValue$1 as ListValue, type index_d$3_MachineTranslateOptions as MachineTranslateOptions, type index_d$3_MachineTranslateRequest as MachineTranslateRequest, type index_d$3_MachineTranslateResponse as MachineTranslateResponse, type index_d$3_MachineTranslateResponseNonNullableFields as MachineTranslateResponseNonNullableFields, type MapData$1 as MapData, type MapSettings$1 as MapSettings, MapType$1 as MapType, type Media$1 as Media, type MentionData$1 as MentionData, type Metadata$1 as Metadata, type Node$1 as Node, type NodeDataOneOf$1 as NodeDataOneOf, type NodeStyle$1 as NodeStyle, NodeType$1 as NodeType, type index_d$3_NotEnoughCreditsError as NotEnoughCreditsError, NullValue$1 as NullValue, type Oembed$1 as Oembed, type Option$1 as Option, type OptionDesign$1 as OptionDesign, type OptionLayout$1 as OptionLayout, type OrderedListData$1 as OrderedListData, Orientation$1 as Orientation, type PDFSettings$1 as PDFSettings, type ParagraphData$1 as ParagraphData, type Permissions$1 as Permissions, type PlaybackOptions$1 as PlaybackOptions, type PluginContainerData$1 as PluginContainerData, PluginContainerDataAlignment$1 as PluginContainerDataAlignment, type PluginContainerDataWidth$1 as PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf$1 as PluginContainerDataWidthDataOneOf, type Poll$1 as Poll, type PollData$1 as PollData, type PollDataLayout$1 as PollDataLayout, type PollDesign$1 as PollDesign, type PollLayout$1 as PollLayout, PollLayoutDirection$1 as PollLayoutDirection, PollLayoutType$1 as PollLayoutType, type Rel$1 as Rel, type RichContent$1 as RichContent, type Settings$1 as Settings, Source$1 as Source, type Spoiler$1 as Spoiler, type SpoilerData$1 as SpoilerData, type Styles$1 as Styles, index_d$3_SupportedLanguage as SupportedLanguage, type TableCellData$1 as TableCellData, type TableData$1 as TableData, Target$1 as Target, TextAlignment$1 as TextAlignment, type TextData$1 as TextData, type TextNodeStyle$1 as TextNodeStyle, type TextStyle$1 as TextStyle, type index_d$3_TextTooLongError as TextTooLongError, type Thumbnails$1 as Thumbnails, ThumbnailsAlignment$1 as ThumbnailsAlignment, type index_d$3_TranslatableContent as TranslatableContent, type index_d$3_TranslatableContentContentOneOf as TranslatableContentContentOneOf, Type$1 as Type, type index_d$3_UnknownFormatError as UnknownFormatError, VerticalAlignment$1 as VerticalAlignment, type Video$1 as Video, type VideoData$1 as VideoData, ViewMode$1 as ViewMode, ViewRole$1 as ViewRole, VoteRole$1 as VoteRole, Width$1 as Width, WidthType$1 as WidthType, index_d$3_bulkMachineTranslate as bulkMachineTranslate, index_d$3_machineTranslate as machineTranslate };
|
|
1961
1964
|
}
|
|
1962
1965
|
|
|
1963
1966
|
interface SiteTranslatableProperties {
|
|
@@ -2281,11 +2284,10 @@ interface GetSiteTranslatablesPropertiesOptions {
|
|
|
2281
2284
|
translatedLanguage?: Locale;
|
|
2282
2285
|
}
|
|
2283
2286
|
|
|
2284
|
-
declare
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
declare
|
|
2288
|
-
declare function getSiteTranslatablesProperties(httpClient: HttpClient): (mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions) => Promise<GetSiteTranslatablesPropertiesResponse & GetSiteTranslatablesPropertiesResponseNonNullableFields>;
|
|
2287
|
+
declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
2288
|
+
|
|
2289
|
+
declare const translateSite: ReturnType<typeof createRESTModule$2<typeof publicTranslateSite>>;
|
|
2290
|
+
declare const getSiteTranslatablesProperties: ReturnType<typeof createRESTModule$2<typeof publicGetSiteTranslatablesProperties>>;
|
|
2289
2291
|
|
|
2290
2292
|
type index_d$2_ApplicationTranslatableProperties = ApplicationTranslatableProperties;
|
|
2291
2293
|
type index_d$2_Flag = Flag;
|
|
@@ -2302,7 +2304,7 @@ type index_d$2_TranslateSiteResponse = TranslateSiteResponse;
|
|
|
2302
2304
|
declare const index_d$2_getSiteTranslatablesProperties: typeof getSiteTranslatablesProperties;
|
|
2303
2305
|
declare const index_d$2_translateSite: typeof translateSite;
|
|
2304
2306
|
declare namespace index_d$2 {
|
|
2305
|
-
export { type index_d$2_ApplicationTranslatableProperties as ApplicationTranslatableProperties, index_d$2_Flag as Flag, type index_d$2_GetSiteTranslatablesPropertiesOptions as GetSiteTranslatablesPropertiesOptions, type index_d$2_GetSiteTranslatablesPropertiesRequest as GetSiteTranslatablesPropertiesRequest, type index_d$2_GetSiteTranslatablesPropertiesResponse as GetSiteTranslatablesPropertiesResponse, type index_d$2_GetSiteTranslatablesPropertiesResponseNonNullableFields as GetSiteTranslatablesPropertiesResponseNonNullableFields, type index_d$2_Locale as Locale, type index_d$2_SiteTranslatableProperties as SiteTranslatableProperties, type index_d$2_TranslateSiteOptions as TranslateSiteOptions, type index_d$2_TranslateSiteRequest as TranslateSiteRequest, type index_d$2_TranslateSiteResponse as TranslateSiteResponse,
|
|
2307
|
+
export { type index_d$2_ApplicationTranslatableProperties as ApplicationTranslatableProperties, index_d$2_Flag as Flag, type index_d$2_GetSiteTranslatablesPropertiesOptions as GetSiteTranslatablesPropertiesOptions, type index_d$2_GetSiteTranslatablesPropertiesRequest as GetSiteTranslatablesPropertiesRequest, type index_d$2_GetSiteTranslatablesPropertiesResponse as GetSiteTranslatablesPropertiesResponse, type index_d$2_GetSiteTranslatablesPropertiesResponseNonNullableFields as GetSiteTranslatablesPropertiesResponseNonNullableFields, type index_d$2_Locale as Locale, type index_d$2_SiteTranslatableProperties as SiteTranslatableProperties, type index_d$2_TranslateSiteOptions as TranslateSiteOptions, type index_d$2_TranslateSiteRequest as TranslateSiteRequest, type index_d$2_TranslateSiteResponse as TranslateSiteResponse, index_d$2_getSiteTranslatablesProperties as getSiteTranslatablesProperties, index_d$2_translateSite as translateSite };
|
|
2306
2308
|
}
|
|
2307
2309
|
|
|
2308
2310
|
interface Content {
|
|
@@ -2758,7 +2760,10 @@ interface FileData {
|
|
|
2758
2760
|
name?: string | null;
|
|
2759
2761
|
/** File type. */
|
|
2760
2762
|
type?: string | null;
|
|
2761
|
-
/**
|
|
2763
|
+
/**
|
|
2764
|
+
* Use `sizeInKb` instead.
|
|
2765
|
+
* @deprecated
|
|
2766
|
+
*/
|
|
2762
2767
|
size?: number | null;
|
|
2763
2768
|
/** Settings for PDF files. */
|
|
2764
2769
|
pdfSettings?: PDFSettings;
|
|
@@ -2766,6 +2771,8 @@ interface FileData {
|
|
|
2766
2771
|
mimeType?: string | null;
|
|
2767
2772
|
/** File path. */
|
|
2768
2773
|
path?: string | null;
|
|
2774
|
+
/** File size in KB. */
|
|
2775
|
+
sizeInKb?: string | null;
|
|
2769
2776
|
}
|
|
2770
2777
|
declare enum ViewMode {
|
|
2771
2778
|
/** No PDF view */
|
|
@@ -4168,7 +4175,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
4168
4175
|
slug?: string;
|
|
4169
4176
|
/** ID of the entity associated with the event. */
|
|
4170
4177
|
entityId?: string;
|
|
4171
|
-
/** Event timestamp. */
|
|
4178
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4172
4179
|
eventTime?: Date;
|
|
4173
4180
|
/**
|
|
4174
4181
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -4351,7 +4358,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
4351
4358
|
slug?: string;
|
|
4352
4359
|
/** ID of the entity associated with the event. */
|
|
4353
4360
|
entityId?: string;
|
|
4354
|
-
/** Event timestamp. */
|
|
4361
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4355
4362
|
eventTime?: Date;
|
|
4356
4363
|
/**
|
|
4357
4364
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -4395,20 +4402,21 @@ interface BulkUpdateContentOptions {
|
|
|
4395
4402
|
returnEntity?: boolean;
|
|
4396
4403
|
}
|
|
4397
4404
|
|
|
4398
|
-
declare
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
declare
|
|
4403
|
-
declare
|
|
4404
|
-
declare
|
|
4405
|
-
declare
|
|
4406
|
-
declare
|
|
4407
|
-
declare
|
|
4408
|
-
declare
|
|
4409
|
-
declare const
|
|
4410
|
-
declare const
|
|
4411
|
-
declare const
|
|
4405
|
+
declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
4406
|
+
|
|
4407
|
+
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4408
|
+
|
|
4409
|
+
declare const createContent: ReturnType<typeof createRESTModule$1<typeof publicCreateContent>>;
|
|
4410
|
+
declare const getContent: ReturnType<typeof createRESTModule$1<typeof publicGetContent>>;
|
|
4411
|
+
declare const updateContent: ReturnType<typeof createRESTModule$1<typeof publicUpdateContent>>;
|
|
4412
|
+
declare const deleteContent: ReturnType<typeof createRESTModule$1<typeof publicDeleteContent>>;
|
|
4413
|
+
declare const queryContents: ReturnType<typeof createRESTModule$1<typeof publicQueryContents>>;
|
|
4414
|
+
declare const bulkCreateContent: ReturnType<typeof createRESTModule$1<typeof publicBulkCreateContent>>;
|
|
4415
|
+
declare const bulkUpdateContent: ReturnType<typeof createRESTModule$1<typeof publicBulkUpdateContent>>;
|
|
4416
|
+
declare const bulkDeleteContent: ReturnType<typeof createRESTModule$1<typeof publicBulkDeleteContent>>;
|
|
4417
|
+
declare const onContentCreated: ReturnType<typeof createEventModule$1<typeof publicOnContentCreated>>;
|
|
4418
|
+
declare const onContentUpdated: ReturnType<typeof createEventModule$1<typeof publicOnContentUpdated>>;
|
|
4419
|
+
declare const onContentDeleted: ReturnType<typeof createEventModule$1<typeof publicOnContentDeleted>>;
|
|
4412
4420
|
|
|
4413
4421
|
type index_d$1_Alignment = Alignment;
|
|
4414
4422
|
declare const index_d$1_Alignment: typeof Alignment;
|
|
@@ -4621,7 +4629,7 @@ declare const index_d$1_onContentUpdated: typeof onContentUpdated;
|
|
|
4621
4629
|
declare const index_d$1_queryContents: typeof queryContents;
|
|
4622
4630
|
declare const index_d$1_updateContent: typeof updateContent;
|
|
4623
4631
|
declare namespace index_d$1 {
|
|
4624
|
-
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_ContentNonNullableFields as ContentNonNullableFields, 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 };
|
|
4632
|
+
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_ContentNonNullableFields as ContentNonNullableFields, 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, 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 };
|
|
4625
4633
|
}
|
|
4626
4634
|
|
|
4627
4635
|
interface Schema {
|
|
@@ -5378,16 +5386,17 @@ interface ListSiteSchemasOptions {
|
|
|
5378
5386
|
paging?: CursorPaging;
|
|
5379
5387
|
}
|
|
5380
5388
|
|
|
5381
|
-
declare
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
declare
|
|
5386
|
-
declare
|
|
5387
|
-
declare
|
|
5388
|
-
declare const
|
|
5389
|
-
declare const
|
|
5390
|
-
declare const
|
|
5389
|
+
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
5390
|
+
|
|
5391
|
+
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
5392
|
+
|
|
5393
|
+
declare const getSchema: ReturnType<typeof createRESTModule<typeof publicGetSchema>>;
|
|
5394
|
+
declare const getSchemaByKey: ReturnType<typeof createRESTModule<typeof publicGetSchemaByKey>>;
|
|
5395
|
+
declare const querySchemas: ReturnType<typeof createRESTModule<typeof publicQuerySchemas>>;
|
|
5396
|
+
declare const listSiteSchemas: ReturnType<typeof createRESTModule<typeof publicListSiteSchemas>>;
|
|
5397
|
+
declare const onSchemaCreated: ReturnType<typeof createEventModule<typeof publicOnSchemaCreated>>;
|
|
5398
|
+
declare const onSchemaUpdated: ReturnType<typeof createEventModule<typeof publicOnSchemaUpdated>>;
|
|
5399
|
+
declare const onSchemaDeleted: ReturnType<typeof createEventModule<typeof publicOnSchemaDeleted>>;
|
|
5391
5400
|
|
|
5392
5401
|
type index_d_ActionEvent = ActionEvent;
|
|
5393
5402
|
type index_d_Asset = Asset;
|
|
@@ -5475,7 +5484,6 @@ type index_d_UpdateSchemaRequest = UpdateSchemaRequest;
|
|
|
5475
5484
|
type index_d_UpdateSchemaResponse = UpdateSchemaResponse;
|
|
5476
5485
|
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
5477
5486
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
5478
|
-
declare const index_d___metadata: typeof __metadata;
|
|
5479
5487
|
declare const index_d_getSchema: typeof getSchema;
|
|
5480
5488
|
declare const index_d_getSchemaByKey: typeof getSchemaByKey;
|
|
5481
5489
|
declare const index_d_listSiteSchemas: typeof listSiteSchemas;
|
|
@@ -5484,7 +5492,7 @@ declare const index_d_onSchemaDeleted: typeof onSchemaDeleted;
|
|
|
5484
5492
|
declare const index_d_onSchemaUpdated: typeof onSchemaUpdated;
|
|
5485
5493
|
declare const index_d_querySchemas: typeof querySchemas;
|
|
5486
5494
|
declare namespace index_d {
|
|
5487
|
-
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, type index_d_SchemaNonNullableFields as SchemaNonNullableFields, 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,
|
|
5495
|
+
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, type index_d_SchemaNonNullableFields as SchemaNonNullableFields, 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_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 };
|
|
5488
5496
|
}
|
|
5489
5497
|
|
|
5490
5498
|
export { index_d$3 as machineTranslation, index_d$2 as siteTranslator, index_d$1 as translationContents, index_d as translationSchemas };
|
|
@@ -4813,7 +4813,10 @@ interface FileData$1 {
|
|
|
4813
4813
|
name?: string | null;
|
|
4814
4814
|
/** File type. */
|
|
4815
4815
|
type?: string | null;
|
|
4816
|
-
/**
|
|
4816
|
+
/**
|
|
4817
|
+
* Use `sizeInKb` instead.
|
|
4818
|
+
* @deprecated
|
|
4819
|
+
*/
|
|
4817
4820
|
size?: number | null;
|
|
4818
4821
|
/** Settings for PDF files. */
|
|
4819
4822
|
pdfSettings?: PDFSettings$1;
|
|
@@ -4821,6 +4824,8 @@ interface FileData$1 {
|
|
|
4821
4824
|
mimeType?: string | null;
|
|
4822
4825
|
/** File path. */
|
|
4823
4826
|
path?: string | null;
|
|
4827
|
+
/** File size in KB. */
|
|
4828
|
+
sizeInKb?: string | null;
|
|
4824
4829
|
}
|
|
4825
4830
|
declare enum ViewMode$1 {
|
|
4826
4831
|
/** No PDF view */
|
|
@@ -6405,7 +6410,10 @@ interface FileData {
|
|
|
6405
6410
|
name?: string | null;
|
|
6406
6411
|
/** File type. */
|
|
6407
6412
|
type?: string | null;
|
|
6408
|
-
/**
|
|
6413
|
+
/**
|
|
6414
|
+
* Use `sizeInKb` instead.
|
|
6415
|
+
* @deprecated
|
|
6416
|
+
*/
|
|
6409
6417
|
size?: number | null;
|
|
6410
6418
|
/** Settings for PDF files. */
|
|
6411
6419
|
pdfSettings?: PDFSettings;
|
|
@@ -6413,6 +6421,8 @@ interface FileData {
|
|
|
6413
6421
|
mimeType?: string | null;
|
|
6414
6422
|
/** File path. */
|
|
6415
6423
|
path?: string | null;
|
|
6424
|
+
/** File size in KB. */
|
|
6425
|
+
sizeInKb?: string | null;
|
|
6416
6426
|
}
|
|
6417
6427
|
declare enum ViewMode {
|
|
6418
6428
|
/** No PDF view */
|