@wix/multilingual 1.0.11 → 1.0.12
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 +6 -7
- package/type-bundles/context.bundle.d.ts +94 -161
- package/type-bundles/index.bundle.d.ts +86 -141
- package/type-bundles/meta.bundle.d.ts +76 -58
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/multilingual",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,13 +18,12 @@
|
|
|
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.14",
|
|
22
|
+
"@wix/multilingual_site-translator": "1.0.3",
|
|
23
|
+
"@wix/multilingual_translation-contents": "1.0.2",
|
|
24
|
+
"@wix/multilingual_translation-schemas": "1.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
28
27
|
"glob": "^10.4.1",
|
|
29
28
|
"rollup": "^4.18.0",
|
|
30
29
|
"rollup-plugin-dts": "^6.1.1",
|
|
@@ -46,5 +45,5 @@
|
|
|
46
45
|
"fqdn": ""
|
|
47
46
|
}
|
|
48
47
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
48
|
+
"falconPackageHash": "54c06307a12910de6b8f7abec60aba82e7d1a6aecd749a0193649051"
|
|
50
49
|
}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* A translatable content is a unit of content to translate.
|
|
3
|
+
*
|
|
4
|
+
* Use [Machine Translate](/translatable-content/machine-translate) to translate a single unit of translatable content, or [Bulk Machine Translate](/translatable-content/bulk-machine-translate)
|
|
5
|
+
* to translate many.
|
|
5
6
|
*/
|
|
6
7
|
interface TranslatableContent extends TranslatableContentContentOneOf {
|
|
7
|
-
/**
|
|
8
|
+
/** Plain text. */
|
|
8
9
|
plainTextContent?: string;
|
|
9
|
-
/**
|
|
10
|
+
/** HTML-encoded. */
|
|
10
11
|
htmlContent?: string;
|
|
11
|
-
/**
|
|
12
|
+
/** Rich content. */
|
|
12
13
|
richContent?: RichContent$1;
|
|
13
|
-
/**
|
|
14
|
+
/** Translatable content ID. */
|
|
14
15
|
_id?: string | null;
|
|
15
|
-
/**
|
|
16
|
+
/** Format of the translatable content. */
|
|
16
17
|
format?: Format;
|
|
17
18
|
}
|
|
18
19
|
/** @oneof */
|
|
19
20
|
interface TranslatableContentContentOneOf {
|
|
20
|
-
/**
|
|
21
|
+
/** Plain text. */
|
|
21
22
|
plainTextContent?: string;
|
|
22
|
-
/**
|
|
23
|
+
/** HTML-encoded. */
|
|
23
24
|
htmlContent?: string;
|
|
24
|
-
/**
|
|
25
|
+
/** Rich content. */
|
|
25
26
|
richContent?: RichContent$1;
|
|
26
27
|
}
|
|
27
28
|
declare enum Format {
|
|
@@ -723,7 +724,7 @@ declare enum MapType$1 {
|
|
|
723
724
|
/** Roadmap map type */
|
|
724
725
|
ROADMAP = "ROADMAP",
|
|
725
726
|
/** Satellite map type */
|
|
726
|
-
|
|
727
|
+
SATELITE = "SATELITE",
|
|
727
728
|
/** Hybrid map type */
|
|
728
729
|
HYBRID = "HYBRID",
|
|
729
730
|
/** Terrain map type */
|
|
@@ -1179,12 +1180,16 @@ interface AudioData$1 {
|
|
|
1179
1180
|
html?: string | null;
|
|
1180
1181
|
}
|
|
1181
1182
|
interface OrderedListData$1 {
|
|
1182
|
-
/** Indentation level from
|
|
1183
|
+
/** Indentation level from 0-4. */
|
|
1183
1184
|
indentation?: number;
|
|
1185
|
+
/** Offset level from 0-4. */
|
|
1186
|
+
offset?: number | null;
|
|
1184
1187
|
}
|
|
1185
1188
|
interface BulletedListData$1 {
|
|
1186
|
-
/** Indentation level from
|
|
1189
|
+
/** Indentation level from 0-4. */
|
|
1187
1190
|
indentation?: number;
|
|
1191
|
+
/** Offset level from 0-4. */
|
|
1192
|
+
offset?: number | null;
|
|
1188
1193
|
}
|
|
1189
1194
|
interface BlockquoteData$1 {
|
|
1190
1195
|
/** Indentation level from 1-4. */
|
|
@@ -1510,19 +1515,19 @@ declare enum SupportedLanguage {
|
|
|
1510
1515
|
ZU = "ZU"
|
|
1511
1516
|
}
|
|
1512
1517
|
interface MachineTranslateResponse {
|
|
1513
|
-
/** The
|
|
1518
|
+
/** The translated content. */
|
|
1514
1519
|
translatedContent?: TranslatableContent;
|
|
1515
1520
|
}
|
|
1516
1521
|
interface BulkMachineTranslateResponse {
|
|
1517
|
-
/**
|
|
1522
|
+
/** List of results for each item in the bulk request. */
|
|
1518
1523
|
results?: BulkTranslateResult[];
|
|
1519
|
-
/**
|
|
1524
|
+
/** Metadata for the overall bulk action, including success and failure counts. */
|
|
1520
1525
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1521
1526
|
}
|
|
1522
1527
|
interface BulkTranslateResult {
|
|
1523
|
-
/**
|
|
1528
|
+
/** Metadata for the individual item in the request. */
|
|
1524
1529
|
itemMetadata?: ItemMetadata$1;
|
|
1525
|
-
/** The translated
|
|
1530
|
+
/** The translated content. */
|
|
1526
1531
|
item?: TranslatableContent;
|
|
1527
1532
|
}
|
|
1528
1533
|
interface ItemMetadata$1 {
|
|
@@ -2513,48 +2518,66 @@ interface BulkMachineTranslateResponseNonNullableFields {
|
|
|
2513
2518
|
};
|
|
2514
2519
|
}
|
|
2515
2520
|
interface MachineTranslateOptions {
|
|
2516
|
-
/**
|
|
2521
|
+
/** Language which text should be translated into. */
|
|
2517
2522
|
targetLanguage: SupportedLanguage;
|
|
2518
|
-
/** The content
|
|
2523
|
+
/** The content to translate. */
|
|
2519
2524
|
contentToTranslate: TranslatableContent;
|
|
2520
2525
|
}
|
|
2521
2526
|
interface BulkMachineTranslateOptions {
|
|
2522
|
-
/**
|
|
2527
|
+
/** Language which text should be translated into. */
|
|
2523
2528
|
targetLanguage: SupportedLanguage;
|
|
2524
|
-
/**
|
|
2529
|
+
/** The content to translate. */
|
|
2525
2530
|
contentToTranslate?: TranslatableContent[];
|
|
2526
2531
|
}
|
|
2527
2532
|
|
|
2528
|
-
type RESTFunctionDescriptor
|
|
2529
|
-
interface HttpClient
|
|
2530
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory
|
|
2533
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
2534
|
+
interface HttpClient {
|
|
2535
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
2536
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
2531
2537
|
}
|
|
2532
|
-
type RequestOptionsFactory
|
|
2533
|
-
type HttpResponse
|
|
2538
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
2539
|
+
type HttpResponse<T = any> = {
|
|
2534
2540
|
data: T;
|
|
2535
2541
|
status: number;
|
|
2536
2542
|
statusText: string;
|
|
2537
2543
|
headers: any;
|
|
2538
2544
|
request?: any;
|
|
2539
2545
|
};
|
|
2540
|
-
type RequestOptions
|
|
2546
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
2541
2547
|
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
2542
2548
|
url: string;
|
|
2543
2549
|
data?: Data;
|
|
2544
2550
|
params?: URLSearchParams;
|
|
2545
|
-
} & APIMetadata
|
|
2546
|
-
type APIMetadata
|
|
2551
|
+
} & APIMetadata;
|
|
2552
|
+
type APIMetadata = {
|
|
2547
2553
|
methodFqn?: string;
|
|
2548
2554
|
entityFqdn?: string;
|
|
2549
2555
|
packageName?: string;
|
|
2550
2556
|
};
|
|
2551
|
-
type BuildRESTFunction
|
|
2557
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
2558
|
+
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
2559
|
+
__type: 'event-definition';
|
|
2560
|
+
type: Type;
|
|
2561
|
+
isDomainEvent?: boolean;
|
|
2562
|
+
transformations?: (envelope: unknown) => Payload;
|
|
2563
|
+
__payload: Payload;
|
|
2564
|
+
};
|
|
2565
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
2566
|
+
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
2567
|
+
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
2552
2568
|
|
|
2553
|
-
declare
|
|
2554
|
-
|
|
2569
|
+
declare global {
|
|
2570
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
2571
|
+
interface SymbolConstructor {
|
|
2572
|
+
readonly observable: symbol;
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
declare function machineTranslate$1(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options: MachineTranslateOptions) => Promise<MachineTranslateResponse & MachineTranslateResponseNonNullableFields>;
|
|
2577
|
+
declare function bulkMachineTranslate$1(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options?: BulkMachineTranslateOptions) => Promise<BulkMachineTranslateResponse & BulkMachineTranslateResponseNonNullableFields>;
|
|
2555
2578
|
|
|
2556
|
-
declare const machineTranslate: BuildRESTFunction
|
|
2557
|
-
declare const bulkMachineTranslate: BuildRESTFunction
|
|
2579
|
+
declare const machineTranslate: BuildRESTFunction<typeof machineTranslate$1>;
|
|
2580
|
+
declare const bulkMachineTranslate: BuildRESTFunction<typeof bulkMachineTranslate$1>;
|
|
2558
2581
|
|
|
2559
2582
|
declare const context$3_bulkMachineTranslate: typeof bulkMachineTranslate;
|
|
2560
2583
|
declare const context$3_machineTranslate: typeof machineTranslate;
|
|
@@ -2588,7 +2611,7 @@ interface Locale {
|
|
|
2588
2611
|
/**
|
|
2589
2612
|
* Deprecated, please use the language field with the region code when needed
|
|
2590
2613
|
* @deprecated
|
|
2591
|
-
* @
|
|
2614
|
+
* @targetRemovalDate 2024-04-20
|
|
2592
2615
|
*/
|
|
2593
2616
|
flag?: Flag;
|
|
2594
2617
|
}
|
|
@@ -2867,36 +2890,11 @@ interface GetSiteTranslatablesPropertiesOptions {
|
|
|
2867
2890
|
translatedLanguage?: Locale;
|
|
2868
2891
|
}
|
|
2869
2892
|
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
|
|
2873
|
-
}
|
|
2874
|
-
type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
|
|
2875
|
-
type HttpResponse$2<T = any> = {
|
|
2876
|
-
data: T;
|
|
2877
|
-
status: number;
|
|
2878
|
-
statusText: string;
|
|
2879
|
-
headers: any;
|
|
2880
|
-
request?: any;
|
|
2881
|
-
};
|
|
2882
|
-
type RequestOptions$2<_TResponse = any, Data = any> = {
|
|
2883
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
2884
|
-
url: string;
|
|
2885
|
-
data?: Data;
|
|
2886
|
-
params?: URLSearchParams;
|
|
2887
|
-
} & APIMetadata$2;
|
|
2888
|
-
type APIMetadata$2 = {
|
|
2889
|
-
methodFqn?: string;
|
|
2890
|
-
entityFqdn?: string;
|
|
2891
|
-
packageName?: string;
|
|
2892
|
-
};
|
|
2893
|
-
type BuildRESTFunction$2<T extends RESTFunctionDescriptor$2> = T extends RESTFunctionDescriptor$2<infer U> ? U : never;
|
|
2894
|
-
|
|
2895
|
-
declare function translateSite$1(httpClient: HttpClient$2): (mainLanguage: Locale, options: TranslateSiteOptions) => Promise<void>;
|
|
2896
|
-
declare function getSiteTranslatablesProperties$1(httpClient: HttpClient$2): (mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions) => Promise<GetSiteTranslatablesPropertiesResponse & GetSiteTranslatablesPropertiesResponseNonNullableFields>;
|
|
2893
|
+
declare function translateSite$1(httpClient: HttpClient): (mainLanguage: Locale, options: TranslateSiteOptions) => Promise<void>;
|
|
2894
|
+
declare function getSiteTranslatablesProperties$1(httpClient: HttpClient): (mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions) => Promise<GetSiteTranslatablesPropertiesResponse & GetSiteTranslatablesPropertiesResponseNonNullableFields>;
|
|
2897
2895
|
|
|
2898
|
-
declare const translateSite: BuildRESTFunction
|
|
2899
|
-
declare const getSiteTranslatablesProperties: BuildRESTFunction
|
|
2896
|
+
declare const translateSite: BuildRESTFunction<typeof translateSite$1>;
|
|
2897
|
+
declare const getSiteTranslatablesProperties: BuildRESTFunction<typeof getSiteTranslatablesProperties$1>;
|
|
2900
2898
|
|
|
2901
2899
|
declare const context$2_getSiteTranslatablesProperties: typeof getSiteTranslatablesProperties;
|
|
2902
2900
|
declare const context$2_translateSite: typeof translateSite;
|
|
@@ -3668,7 +3666,7 @@ declare enum MapType {
|
|
|
3668
3666
|
/** Roadmap map type */
|
|
3669
3667
|
ROADMAP = "ROADMAP",
|
|
3670
3668
|
/** Satellite map type */
|
|
3671
|
-
|
|
3669
|
+
SATELITE = "SATELITE",
|
|
3672
3670
|
/** Hybrid map type */
|
|
3673
3671
|
HYBRID = "HYBRID",
|
|
3674
3672
|
/** Terrain map type */
|
|
@@ -4124,12 +4122,16 @@ interface AudioData {
|
|
|
4124
4122
|
html?: string | null;
|
|
4125
4123
|
}
|
|
4126
4124
|
interface OrderedListData {
|
|
4127
|
-
/** Indentation level from
|
|
4125
|
+
/** Indentation level from 0-4. */
|
|
4128
4126
|
indentation?: number;
|
|
4127
|
+
/** Offset level from 0-4. */
|
|
4128
|
+
offset?: number | null;
|
|
4129
4129
|
}
|
|
4130
4130
|
interface BulletedListData {
|
|
4131
|
-
/** Indentation level from
|
|
4131
|
+
/** Indentation level from 0-4. */
|
|
4132
4132
|
indentation?: number;
|
|
4133
|
+
/** Offset level from 0-4. */
|
|
4134
|
+
offset?: number | null;
|
|
4133
4135
|
}
|
|
4134
4136
|
interface BlockquoteData {
|
|
4135
4137
|
/** Indentation level from 1-4. */
|
|
@@ -5918,6 +5920,7 @@ interface ContentUpdatedEnvelope {
|
|
|
5918
5920
|
metadata: EventMetadata$1;
|
|
5919
5921
|
}
|
|
5920
5922
|
interface ContentDeletedEnvelope {
|
|
5923
|
+
entity: Content;
|
|
5921
5924
|
metadata: EventMetadata$1;
|
|
5922
5925
|
}
|
|
5923
5926
|
interface QueryContentsOptions {
|
|
@@ -5933,42 +5936,7 @@ interface BulkUpdateContentOptions {
|
|
|
5933
5936
|
returnEntity?: boolean;
|
|
5934
5937
|
}
|
|
5935
5938
|
|
|
5936
|
-
|
|
5937
|
-
interface HttpClient$1 {
|
|
5938
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
|
5939
|
-
}
|
|
5940
|
-
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
|
5941
|
-
type HttpResponse$1<T = any> = {
|
|
5942
|
-
data: T;
|
|
5943
|
-
status: number;
|
|
5944
|
-
statusText: string;
|
|
5945
|
-
headers: any;
|
|
5946
|
-
request?: any;
|
|
5947
|
-
};
|
|
5948
|
-
type RequestOptions$1<_TResponse = any, Data = any> = {
|
|
5949
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
5950
|
-
url: string;
|
|
5951
|
-
data?: Data;
|
|
5952
|
-
params?: URLSearchParams;
|
|
5953
|
-
} & APIMetadata$1;
|
|
5954
|
-
type APIMetadata$1 = {
|
|
5955
|
-
methodFqn?: string;
|
|
5956
|
-
entityFqdn?: string;
|
|
5957
|
-
packageName?: string;
|
|
5958
|
-
};
|
|
5959
|
-
type BuildRESTFunction$1<T extends RESTFunctionDescriptor$1> = T extends RESTFunctionDescriptor$1<infer U> ? U : never;
|
|
5960
|
-
type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
5961
|
-
__type: 'event-definition';
|
|
5962
|
-
type: Type;
|
|
5963
|
-
isDomainEvent?: boolean;
|
|
5964
|
-
transformations?: unknown;
|
|
5965
|
-
__payload: Payload;
|
|
5966
|
-
};
|
|
5967
|
-
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
|
5968
|
-
type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
|
|
5969
|
-
type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
|
|
5970
|
-
|
|
5971
|
-
declare function createContent$1(httpClient: HttpClient$1): (content: Content) => Promise<Content & {
|
|
5939
|
+
declare function createContent$1(httpClient: HttpClient): (content: Content) => Promise<Content & {
|
|
5972
5940
|
schemaId: string;
|
|
5973
5941
|
entityId: string;
|
|
5974
5942
|
locale: string;
|
|
@@ -6451,7 +6419,7 @@ declare function createContent$1(httpClient: HttpClient$1): (content: Content) =
|
|
|
6451
6419
|
} | undefined;
|
|
6452
6420
|
publishStatus: PublishStatus;
|
|
6453
6421
|
}>;
|
|
6454
|
-
declare function getContent$1(httpClient: HttpClient
|
|
6422
|
+
declare function getContent$1(httpClient: HttpClient): (contentId: string) => Promise<Content & {
|
|
6455
6423
|
schemaId: string;
|
|
6456
6424
|
entityId: string;
|
|
6457
6425
|
locale: string;
|
|
@@ -6934,7 +6902,7 @@ declare function getContent$1(httpClient: HttpClient$1): (contentId: string) =>
|
|
|
6934
6902
|
} | undefined;
|
|
6935
6903
|
publishStatus: PublishStatus;
|
|
6936
6904
|
}>;
|
|
6937
|
-
declare function updateContent$1(httpClient: HttpClient
|
|
6905
|
+
declare function updateContent$1(httpClient: HttpClient): (content: Content) => Promise<Content & {
|
|
6938
6906
|
schemaId: string;
|
|
6939
6907
|
entityId: string;
|
|
6940
6908
|
locale: string;
|
|
@@ -7417,26 +7385,26 @@ declare function updateContent$1(httpClient: HttpClient$1): (content: Content) =
|
|
|
7417
7385
|
} | undefined;
|
|
7418
7386
|
publishStatus: PublishStatus;
|
|
7419
7387
|
}>;
|
|
7420
|
-
declare function deleteContent$1(httpClient: HttpClient
|
|
7421
|
-
declare function queryContents$1(httpClient: HttpClient
|
|
7422
|
-
declare function bulkCreateContent$1(httpClient: HttpClient
|
|
7423
|
-
declare function bulkUpdateContent$1(httpClient: HttpClient
|
|
7424
|
-
declare function bulkDeleteContent$1(httpClient: HttpClient
|
|
7425
|
-
declare const onContentCreated$1: EventDefinition
|
|
7426
|
-
declare const onContentUpdated$1: EventDefinition
|
|
7427
|
-
declare const onContentDeleted$1: EventDefinition
|
|
7388
|
+
declare function deleteContent$1(httpClient: HttpClient): (contentId: string) => Promise<void>;
|
|
7389
|
+
declare function queryContents$1(httpClient: HttpClient): (options?: QueryContentsOptions) => Promise<QueryContentsResponse & QueryContentsResponseNonNullableFields>;
|
|
7390
|
+
declare function bulkCreateContent$1(httpClient: HttpClient): (contents: Content[], options?: BulkCreateContentOptions) => Promise<BulkCreateContentResponse & BulkCreateContentResponseNonNullableFields>;
|
|
7391
|
+
declare function bulkUpdateContent$1(httpClient: HttpClient): (contents: MaskedContent[], options?: BulkUpdateContentOptions) => Promise<BulkUpdateContentResponse & BulkUpdateContentResponseNonNullableFields>;
|
|
7392
|
+
declare function bulkDeleteContent$1(httpClient: HttpClient): (contentIds: string[]) => Promise<BulkDeleteContentResponse & BulkDeleteContentResponseNonNullableFields>;
|
|
7393
|
+
declare const onContentCreated$1: EventDefinition<ContentCreatedEnvelope, "wix.multilingual.translation.v1.content_created">;
|
|
7394
|
+
declare const onContentUpdated$1: EventDefinition<ContentUpdatedEnvelope, "wix.multilingual.translation.v1.content_updated">;
|
|
7395
|
+
declare const onContentDeleted$1: EventDefinition<ContentDeletedEnvelope, "wix.multilingual.translation.v1.content_deleted">;
|
|
7428
7396
|
|
|
7429
|
-
declare const createContent: BuildRESTFunction
|
|
7430
|
-
declare const getContent: BuildRESTFunction
|
|
7431
|
-
declare const updateContent: BuildRESTFunction
|
|
7432
|
-
declare const deleteContent: BuildRESTFunction
|
|
7433
|
-
declare const queryContents: BuildRESTFunction
|
|
7434
|
-
declare const bulkCreateContent: BuildRESTFunction
|
|
7435
|
-
declare const bulkUpdateContent: BuildRESTFunction
|
|
7436
|
-
declare const bulkDeleteContent: BuildRESTFunction
|
|
7437
|
-
declare const onContentCreated: BuildEventDefinition
|
|
7438
|
-
declare const onContentUpdated: BuildEventDefinition
|
|
7439
|
-
declare const onContentDeleted: BuildEventDefinition
|
|
7397
|
+
declare const createContent: BuildRESTFunction<typeof createContent$1>;
|
|
7398
|
+
declare const getContent: BuildRESTFunction<typeof getContent$1>;
|
|
7399
|
+
declare const updateContent: BuildRESTFunction<typeof updateContent$1>;
|
|
7400
|
+
declare const deleteContent: BuildRESTFunction<typeof deleteContent$1>;
|
|
7401
|
+
declare const queryContents: BuildRESTFunction<typeof queryContents$1>;
|
|
7402
|
+
declare const bulkCreateContent: BuildRESTFunction<typeof bulkCreateContent$1>;
|
|
7403
|
+
declare const bulkUpdateContent: BuildRESTFunction<typeof bulkUpdateContent$1>;
|
|
7404
|
+
declare const bulkDeleteContent: BuildRESTFunction<typeof bulkDeleteContent$1>;
|
|
7405
|
+
declare const onContentCreated: BuildEventDefinition<typeof onContentCreated$1>;
|
|
7406
|
+
declare const onContentUpdated: BuildEventDefinition<typeof onContentUpdated$1>;
|
|
7407
|
+
declare const onContentDeleted: BuildEventDefinition<typeof onContentDeleted$1>;
|
|
7440
7408
|
|
|
7441
7409
|
declare const context$1_bulkCreateContent: typeof bulkCreateContent;
|
|
7442
7410
|
declare const context$1_bulkDeleteContent: typeof bulkDeleteContent;
|
|
@@ -7783,41 +7751,6 @@ interface ListSiteSchemasOptions {
|
|
|
7783
7751
|
paging?: CursorPaging;
|
|
7784
7752
|
}
|
|
7785
7753
|
|
|
7786
|
-
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
7787
|
-
interface HttpClient {
|
|
7788
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
7789
|
-
}
|
|
7790
|
-
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
7791
|
-
type HttpResponse<T = any> = {
|
|
7792
|
-
data: T;
|
|
7793
|
-
status: number;
|
|
7794
|
-
statusText: string;
|
|
7795
|
-
headers: any;
|
|
7796
|
-
request?: any;
|
|
7797
|
-
};
|
|
7798
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
7799
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
7800
|
-
url: string;
|
|
7801
|
-
data?: Data;
|
|
7802
|
-
params?: URLSearchParams;
|
|
7803
|
-
} & APIMetadata;
|
|
7804
|
-
type APIMetadata = {
|
|
7805
|
-
methodFqn?: string;
|
|
7806
|
-
entityFqdn?: string;
|
|
7807
|
-
packageName?: string;
|
|
7808
|
-
};
|
|
7809
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
7810
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
7811
|
-
__type: 'event-definition';
|
|
7812
|
-
type: Type;
|
|
7813
|
-
isDomainEvent?: boolean;
|
|
7814
|
-
transformations?: unknown;
|
|
7815
|
-
__payload: Payload;
|
|
7816
|
-
};
|
|
7817
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
7818
|
-
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
7819
|
-
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
7820
|
-
|
|
7821
7754
|
declare function getSchema$1(httpClient: HttpClient): (schemaId: string) => Promise<Schema & {
|
|
7822
7755
|
key?: {
|
|
7823
7756
|
appId: string;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* A translatable content is a unit of content to translate.
|
|
3
|
+
*
|
|
4
|
+
* Use [Machine Translate](/translatable-content/machine-translate) to translate a single unit of translatable content, or [Bulk Machine Translate](/translatable-content/bulk-machine-translate)
|
|
5
|
+
* to translate many.
|
|
5
6
|
*/
|
|
6
7
|
interface TranslatableContent extends TranslatableContentContentOneOf {
|
|
7
|
-
/**
|
|
8
|
+
/** Plain text. */
|
|
8
9
|
plainTextContent?: string;
|
|
9
|
-
/**
|
|
10
|
+
/** HTML-encoded. */
|
|
10
11
|
htmlContent?: string;
|
|
11
|
-
/**
|
|
12
|
+
/** Rich content. */
|
|
12
13
|
richContent?: RichContent$1;
|
|
13
|
-
/**
|
|
14
|
+
/** Translatable content ID. */
|
|
14
15
|
_id?: string | null;
|
|
15
|
-
/**
|
|
16
|
+
/** Format of the translatable content. */
|
|
16
17
|
format?: Format;
|
|
17
18
|
}
|
|
18
19
|
/** @oneof */
|
|
19
20
|
interface TranslatableContentContentOneOf {
|
|
20
|
-
/**
|
|
21
|
+
/** Plain text. */
|
|
21
22
|
plainTextContent?: string;
|
|
22
|
-
/**
|
|
23
|
+
/** HTML-encoded. */
|
|
23
24
|
htmlContent?: string;
|
|
24
|
-
/**
|
|
25
|
+
/** Rich content. */
|
|
25
26
|
richContent?: RichContent$1;
|
|
26
27
|
}
|
|
27
28
|
declare enum Format {
|
|
@@ -723,7 +724,7 @@ declare enum MapType$1 {
|
|
|
723
724
|
/** Roadmap map type */
|
|
724
725
|
ROADMAP = "ROADMAP",
|
|
725
726
|
/** Satellite map type */
|
|
726
|
-
|
|
727
|
+
SATELITE = "SATELITE",
|
|
727
728
|
/** Hybrid map type */
|
|
728
729
|
HYBRID = "HYBRID",
|
|
729
730
|
/** Terrain map type */
|
|
@@ -1198,12 +1199,16 @@ interface AudioData$1 {
|
|
|
1198
1199
|
html?: string | null;
|
|
1199
1200
|
}
|
|
1200
1201
|
interface OrderedListData$1 {
|
|
1201
|
-
/** Indentation level from
|
|
1202
|
+
/** Indentation level from 0-4. */
|
|
1202
1203
|
indentation?: number;
|
|
1204
|
+
/** Offset level from 0-4. */
|
|
1205
|
+
offset?: number | null;
|
|
1203
1206
|
}
|
|
1204
1207
|
interface BulletedListData$1 {
|
|
1205
|
-
/** Indentation level from
|
|
1208
|
+
/** Indentation level from 0-4. */
|
|
1206
1209
|
indentation?: number;
|
|
1210
|
+
/** Offset level from 0-4. */
|
|
1211
|
+
offset?: number | null;
|
|
1207
1212
|
}
|
|
1208
1213
|
interface BlockquoteData$1 {
|
|
1209
1214
|
/** Indentation level from 1-4. */
|
|
@@ -1255,11 +1260,11 @@ interface TextNodeStyle$1 {
|
|
|
1255
1260
|
lineHeight?: string | null;
|
|
1256
1261
|
}
|
|
1257
1262
|
interface MachineTranslateRequest {
|
|
1258
|
-
/**
|
|
1263
|
+
/** Language of the source text to translate. */
|
|
1259
1264
|
sourceLanguage: SupportedLanguage;
|
|
1260
|
-
/**
|
|
1265
|
+
/** Language which text should be translated into. */
|
|
1261
1266
|
targetLanguage: SupportedLanguage;
|
|
1262
|
-
/** The content
|
|
1267
|
+
/** The content to translate. */
|
|
1263
1268
|
contentToTranslate: TranslatableContent;
|
|
1264
1269
|
}
|
|
1265
1270
|
declare enum SupportedLanguage {
|
|
@@ -1537,7 +1542,7 @@ declare enum SupportedLanguage {
|
|
|
1537
1542
|
ZU = "ZU"
|
|
1538
1543
|
}
|
|
1539
1544
|
interface MachineTranslateResponse {
|
|
1540
|
-
/** The
|
|
1545
|
+
/** The translated content. */
|
|
1541
1546
|
translatedContent?: TranslatableContent;
|
|
1542
1547
|
}
|
|
1543
1548
|
interface NotEnoughCreditsError {
|
|
@@ -1553,23 +1558,23 @@ interface TextTooLongError {
|
|
|
1553
1558
|
interface UnknownFormatError {
|
|
1554
1559
|
}
|
|
1555
1560
|
interface BulkMachineTranslateRequest {
|
|
1556
|
-
/**
|
|
1561
|
+
/** Language of the source text to translate. */
|
|
1557
1562
|
sourceLanguage: SupportedLanguage;
|
|
1558
|
-
/**
|
|
1563
|
+
/** Language which text should be translated into. */
|
|
1559
1564
|
targetLanguage: SupportedLanguage;
|
|
1560
|
-
/**
|
|
1565
|
+
/** The content to translate. */
|
|
1561
1566
|
contentToTranslate?: TranslatableContent[];
|
|
1562
1567
|
}
|
|
1563
1568
|
interface BulkMachineTranslateResponse {
|
|
1564
|
-
/**
|
|
1569
|
+
/** List of results for each item in the bulk request. */
|
|
1565
1570
|
results?: BulkTranslateResult[];
|
|
1566
|
-
/**
|
|
1571
|
+
/** Metadata for the overall bulk action, including success and failure counts. */
|
|
1567
1572
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1568
1573
|
}
|
|
1569
1574
|
interface BulkTranslateResult {
|
|
1570
|
-
/**
|
|
1575
|
+
/** Metadata for the individual item in the request. */
|
|
1571
1576
|
itemMetadata?: ItemMetadata$1;
|
|
1572
|
-
/** The translated
|
|
1577
|
+
/** The translated content. */
|
|
1573
1578
|
item?: TranslatableContent;
|
|
1574
1579
|
}
|
|
1575
1580
|
interface ItemMetadata$1 {
|
|
@@ -2560,46 +2565,62 @@ interface BulkMachineTranslateResponseNonNullableFields {
|
|
|
2560
2565
|
};
|
|
2561
2566
|
}
|
|
2562
2567
|
interface MachineTranslateOptions {
|
|
2563
|
-
/**
|
|
2568
|
+
/** Language which text should be translated into. */
|
|
2564
2569
|
targetLanguage: SupportedLanguage;
|
|
2565
|
-
/** The content
|
|
2570
|
+
/** The content to translate. */
|
|
2566
2571
|
contentToTranslate: TranslatableContent;
|
|
2567
2572
|
}
|
|
2568
2573
|
interface BulkMachineTranslateOptions {
|
|
2569
|
-
/**
|
|
2574
|
+
/** Language which text should be translated into. */
|
|
2570
2575
|
targetLanguage: SupportedLanguage;
|
|
2571
|
-
/**
|
|
2576
|
+
/** The content to translate. */
|
|
2572
2577
|
contentToTranslate?: TranslatableContent[];
|
|
2573
2578
|
}
|
|
2574
2579
|
|
|
2575
|
-
interface HttpClient
|
|
2576
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory
|
|
2580
|
+
interface HttpClient {
|
|
2581
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
2582
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
2577
2583
|
}
|
|
2578
|
-
type RequestOptionsFactory
|
|
2579
|
-
type HttpResponse
|
|
2584
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
2585
|
+
type HttpResponse<T = any> = {
|
|
2580
2586
|
data: T;
|
|
2581
2587
|
status: number;
|
|
2582
2588
|
statusText: string;
|
|
2583
2589
|
headers: any;
|
|
2584
2590
|
request?: any;
|
|
2585
2591
|
};
|
|
2586
|
-
type RequestOptions
|
|
2592
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
2587
2593
|
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
2588
2594
|
url: string;
|
|
2589
2595
|
data?: Data;
|
|
2590
2596
|
params?: URLSearchParams;
|
|
2591
|
-
} & APIMetadata
|
|
2592
|
-
type APIMetadata
|
|
2597
|
+
} & APIMetadata;
|
|
2598
|
+
type APIMetadata = {
|
|
2593
2599
|
methodFqn?: string;
|
|
2594
2600
|
entityFqdn?: string;
|
|
2595
2601
|
packageName?: string;
|
|
2596
2602
|
};
|
|
2603
|
+
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
2604
|
+
__type: 'event-definition';
|
|
2605
|
+
type: Type;
|
|
2606
|
+
isDomainEvent?: boolean;
|
|
2607
|
+
transformations?: (envelope: unknown) => Payload;
|
|
2608
|
+
__payload: Payload;
|
|
2609
|
+
};
|
|
2610
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
2611
|
+
|
|
2612
|
+
declare global {
|
|
2613
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
2614
|
+
interface SymbolConstructor {
|
|
2615
|
+
readonly observable: symbol;
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2597
2618
|
|
|
2598
2619
|
declare const __metadata$3: {
|
|
2599
2620
|
PACKAGE_NAME: string;
|
|
2600
2621
|
};
|
|
2601
|
-
declare function machineTranslate(httpClient: HttpClient
|
|
2602
|
-
declare function bulkMachineTranslate(httpClient: HttpClient
|
|
2622
|
+
declare function machineTranslate(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options: MachineTranslateOptions) => Promise<MachineTranslateResponse & MachineTranslateResponseNonNullableFields>;
|
|
2623
|
+
declare function bulkMachineTranslate(httpClient: HttpClient): (sourceLanguage: SupportedLanguage, options?: BulkMachineTranslateOptions) => Promise<BulkMachineTranslateResponse & BulkMachineTranslateResponseNonNullableFields>;
|
|
2603
2624
|
|
|
2604
2625
|
type index_d$3_BulkMachineTranslateOptions = BulkMachineTranslateOptions;
|
|
2605
2626
|
type index_d$3_BulkMachineTranslateRequest = BulkMachineTranslateRequest;
|
|
@@ -2657,7 +2678,7 @@ interface Locale {
|
|
|
2657
2678
|
/**
|
|
2658
2679
|
* Deprecated, please use the language field with the region code when needed
|
|
2659
2680
|
* @deprecated
|
|
2660
|
-
* @
|
|
2681
|
+
* @targetRemovalDate 2024-04-20
|
|
2661
2682
|
*/
|
|
2662
2683
|
flag?: Flag;
|
|
2663
2684
|
}
|
|
@@ -2944,34 +2965,11 @@ interface GetSiteTranslatablesPropertiesOptions {
|
|
|
2944
2965
|
translatedLanguage?: Locale;
|
|
2945
2966
|
}
|
|
2946
2967
|
|
|
2947
|
-
interface HttpClient$2 {
|
|
2948
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
|
|
2949
|
-
}
|
|
2950
|
-
type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
|
|
2951
|
-
type HttpResponse$2<T = any> = {
|
|
2952
|
-
data: T;
|
|
2953
|
-
status: number;
|
|
2954
|
-
statusText: string;
|
|
2955
|
-
headers: any;
|
|
2956
|
-
request?: any;
|
|
2957
|
-
};
|
|
2958
|
-
type RequestOptions$2<_TResponse = any, Data = any> = {
|
|
2959
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
2960
|
-
url: string;
|
|
2961
|
-
data?: Data;
|
|
2962
|
-
params?: URLSearchParams;
|
|
2963
|
-
} & APIMetadata$2;
|
|
2964
|
-
type APIMetadata$2 = {
|
|
2965
|
-
methodFqn?: string;
|
|
2966
|
-
entityFqdn?: string;
|
|
2967
|
-
packageName?: string;
|
|
2968
|
-
};
|
|
2969
|
-
|
|
2970
2968
|
declare const __metadata$2: {
|
|
2971
2969
|
PACKAGE_NAME: string;
|
|
2972
2970
|
};
|
|
2973
|
-
declare function translateSite(httpClient: HttpClient
|
|
2974
|
-
declare function getSiteTranslatablesProperties(httpClient: HttpClient
|
|
2971
|
+
declare function translateSite(httpClient: HttpClient): (mainLanguage: Locale, options: TranslateSiteOptions) => Promise<void>;
|
|
2972
|
+
declare function getSiteTranslatablesProperties(httpClient: HttpClient): (mainLanguage: Locale, options?: GetSiteTranslatablesPropertiesOptions) => Promise<GetSiteTranslatablesPropertiesResponse & GetSiteTranslatablesPropertiesResponseNonNullableFields>;
|
|
2975
2973
|
|
|
2976
2974
|
type index_d$2_ApplicationTranslatableProperties = ApplicationTranslatableProperties;
|
|
2977
2975
|
type index_d$2_Flag = Flag;
|
|
@@ -3755,7 +3753,7 @@ declare enum MapType {
|
|
|
3755
3753
|
/** Roadmap map type */
|
|
3756
3754
|
ROADMAP = "ROADMAP",
|
|
3757
3755
|
/** Satellite map type */
|
|
3758
|
-
|
|
3756
|
+
SATELITE = "SATELITE",
|
|
3759
3757
|
/** Hybrid map type */
|
|
3760
3758
|
HYBRID = "HYBRID",
|
|
3761
3759
|
/** Terrain map type */
|
|
@@ -4230,12 +4228,16 @@ interface AudioData {
|
|
|
4230
4228
|
html?: string | null;
|
|
4231
4229
|
}
|
|
4232
4230
|
interface OrderedListData {
|
|
4233
|
-
/** Indentation level from
|
|
4231
|
+
/** Indentation level from 0-4. */
|
|
4234
4232
|
indentation?: number;
|
|
4233
|
+
/** Offset level from 0-4. */
|
|
4234
|
+
offset?: number | null;
|
|
4235
4235
|
}
|
|
4236
4236
|
interface BulletedListData {
|
|
4237
|
-
/** Indentation level from
|
|
4237
|
+
/** Indentation level from 0-4. */
|
|
4238
4238
|
indentation?: number;
|
|
4239
|
+
/** Offset level from 0-4. */
|
|
4240
|
+
offset?: number | null;
|
|
4239
4241
|
}
|
|
4240
4242
|
interface BlockquoteData {
|
|
4241
4243
|
/** Indentation level from 1-4. */
|
|
@@ -4879,6 +4881,9 @@ interface DomainEventBodyOneOf$1 {
|
|
|
4879
4881
|
interface EntityCreatedEvent$1 {
|
|
4880
4882
|
entity?: string;
|
|
4881
4883
|
}
|
|
4884
|
+
interface RestoreInfo {
|
|
4885
|
+
deletedDate?: Date;
|
|
4886
|
+
}
|
|
4882
4887
|
interface EntityUpdatedEvent$1 {
|
|
4883
4888
|
/**
|
|
4884
4889
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -7960,6 +7965,7 @@ interface ContentUpdatedEnvelope {
|
|
|
7960
7965
|
metadata: EventMetadata$1;
|
|
7961
7966
|
}
|
|
7962
7967
|
interface ContentDeletedEnvelope {
|
|
7968
|
+
entity: Content;
|
|
7963
7969
|
metadata: EventMetadata$1;
|
|
7964
7970
|
}
|
|
7965
7971
|
interface QueryContentsOptions {
|
|
@@ -7975,41 +7981,10 @@ interface BulkUpdateContentOptions {
|
|
|
7975
7981
|
returnEntity?: boolean;
|
|
7976
7982
|
}
|
|
7977
7983
|
|
|
7978
|
-
interface HttpClient$1 {
|
|
7979
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
|
7980
|
-
}
|
|
7981
|
-
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
|
7982
|
-
type HttpResponse$1<T = any> = {
|
|
7983
|
-
data: T;
|
|
7984
|
-
status: number;
|
|
7985
|
-
statusText: string;
|
|
7986
|
-
headers: any;
|
|
7987
|
-
request?: any;
|
|
7988
|
-
};
|
|
7989
|
-
type RequestOptions$1<_TResponse = any, Data = any> = {
|
|
7990
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
7991
|
-
url: string;
|
|
7992
|
-
data?: Data;
|
|
7993
|
-
params?: URLSearchParams;
|
|
7994
|
-
} & APIMetadata$1;
|
|
7995
|
-
type APIMetadata$1 = {
|
|
7996
|
-
methodFqn?: string;
|
|
7997
|
-
entityFqdn?: string;
|
|
7998
|
-
packageName?: string;
|
|
7999
|
-
};
|
|
8000
|
-
type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
8001
|
-
__type: 'event-definition';
|
|
8002
|
-
type: Type;
|
|
8003
|
-
isDomainEvent?: boolean;
|
|
8004
|
-
transformations?: unknown;
|
|
8005
|
-
__payload: Payload;
|
|
8006
|
-
};
|
|
8007
|
-
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
|
8008
|
-
|
|
8009
7984
|
declare const __metadata$1: {
|
|
8010
7985
|
PACKAGE_NAME: string;
|
|
8011
7986
|
};
|
|
8012
|
-
declare function createContent(httpClient: HttpClient
|
|
7987
|
+
declare function createContent(httpClient: HttpClient): (content: Content) => Promise<Content & {
|
|
8013
7988
|
schemaId: string;
|
|
8014
7989
|
entityId: string;
|
|
8015
7990
|
locale: string;
|
|
@@ -8492,7 +8467,7 @@ declare function createContent(httpClient: HttpClient$1): (content: Content) =>
|
|
|
8492
8467
|
} | undefined;
|
|
8493
8468
|
publishStatus: PublishStatus;
|
|
8494
8469
|
}>;
|
|
8495
|
-
declare function getContent(httpClient: HttpClient
|
|
8470
|
+
declare function getContent(httpClient: HttpClient): (contentId: string) => Promise<Content & {
|
|
8496
8471
|
schemaId: string;
|
|
8497
8472
|
entityId: string;
|
|
8498
8473
|
locale: string;
|
|
@@ -8975,7 +8950,7 @@ declare function getContent(httpClient: HttpClient$1): (contentId: string) => Pr
|
|
|
8975
8950
|
} | undefined;
|
|
8976
8951
|
publishStatus: PublishStatus;
|
|
8977
8952
|
}>;
|
|
8978
|
-
declare function updateContent(httpClient: HttpClient
|
|
8953
|
+
declare function updateContent(httpClient: HttpClient): (content: Content) => Promise<Content & {
|
|
8979
8954
|
schemaId: string;
|
|
8980
8955
|
entityId: string;
|
|
8981
8956
|
locale: string;
|
|
@@ -9458,14 +9433,14 @@ declare function updateContent(httpClient: HttpClient$1): (content: Content) =>
|
|
|
9458
9433
|
} | undefined;
|
|
9459
9434
|
publishStatus: PublishStatus;
|
|
9460
9435
|
}>;
|
|
9461
|
-
declare function deleteContent(httpClient: HttpClient
|
|
9462
|
-
declare function queryContents(httpClient: HttpClient
|
|
9463
|
-
declare function bulkCreateContent(httpClient: HttpClient
|
|
9464
|
-
declare function bulkUpdateContent(httpClient: HttpClient
|
|
9465
|
-
declare function bulkDeleteContent(httpClient: HttpClient
|
|
9466
|
-
declare const onContentCreated: EventDefinition
|
|
9467
|
-
declare const onContentUpdated: EventDefinition
|
|
9468
|
-
declare const onContentDeleted: EventDefinition
|
|
9436
|
+
declare function deleteContent(httpClient: HttpClient): (contentId: string) => Promise<void>;
|
|
9437
|
+
declare function queryContents(httpClient: HttpClient): (options?: QueryContentsOptions) => Promise<QueryContentsResponse & QueryContentsResponseNonNullableFields>;
|
|
9438
|
+
declare function bulkCreateContent(httpClient: HttpClient): (contents: Content[], options?: BulkCreateContentOptions) => Promise<BulkCreateContentResponse & BulkCreateContentResponseNonNullableFields>;
|
|
9439
|
+
declare function bulkUpdateContent(httpClient: HttpClient): (contents: MaskedContent[], options?: BulkUpdateContentOptions) => Promise<BulkUpdateContentResponse & BulkUpdateContentResponseNonNullableFields>;
|
|
9440
|
+
declare function bulkDeleteContent(httpClient: HttpClient): (contentIds: string[]) => Promise<BulkDeleteContentResponse & BulkDeleteContentResponseNonNullableFields>;
|
|
9441
|
+
declare const onContentCreated: EventDefinition<ContentCreatedEnvelope, "wix.multilingual.translation.v1.content_created">;
|
|
9442
|
+
declare const onContentUpdated: EventDefinition<ContentUpdatedEnvelope, "wix.multilingual.translation.v1.content_updated">;
|
|
9443
|
+
declare const onContentDeleted: EventDefinition<ContentDeletedEnvelope, "wix.multilingual.translation.v1.content_deleted">;
|
|
9469
9444
|
|
|
9470
9445
|
type index_d$1_Alignment = Alignment;
|
|
9471
9446
|
declare const index_d$1_Alignment: typeof Alignment;
|
|
@@ -9624,6 +9599,7 @@ type index_d$1_RemoveContentsByFilterRequest = RemoveContentsByFilterRequest;
|
|
|
9624
9599
|
type index_d$1_RemoveContentsByFilterResponse = RemoveContentsByFilterResponse;
|
|
9625
9600
|
type index_d$1_RepublishContentByFilterRequest = RepublishContentByFilterRequest;
|
|
9626
9601
|
type index_d$1_RepublishContentByFilterResponse = RepublishContentByFilterResponse;
|
|
9602
|
+
type index_d$1_RestoreInfo = RestoreInfo;
|
|
9627
9603
|
type index_d$1_RichContent = RichContent;
|
|
9628
9604
|
type index_d$1_Settings = Settings;
|
|
9629
9605
|
type index_d$1_Source = Source;
|
|
@@ -9677,7 +9653,7 @@ declare const index_d$1_onContentUpdated: typeof onContentUpdated;
|
|
|
9677
9653
|
declare const index_d$1_queryContents: typeof queryContents;
|
|
9678
9654
|
declare const index_d$1_updateContent: typeof updateContent;
|
|
9679
9655
|
declare namespace index_d$1 {
|
|
9680
|
-
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_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 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 };
|
|
9681
9657
|
}
|
|
9682
9658
|
|
|
9683
9659
|
interface Schema {
|
|
@@ -10469,37 +10445,6 @@ interface ListSiteSchemasOptions {
|
|
|
10469
10445
|
paging?: CursorPaging;
|
|
10470
10446
|
}
|
|
10471
10447
|
|
|
10472
|
-
interface HttpClient {
|
|
10473
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
10474
|
-
}
|
|
10475
|
-
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
10476
|
-
type HttpResponse<T = any> = {
|
|
10477
|
-
data: T;
|
|
10478
|
-
status: number;
|
|
10479
|
-
statusText: string;
|
|
10480
|
-
headers: any;
|
|
10481
|
-
request?: any;
|
|
10482
|
-
};
|
|
10483
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
10484
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
10485
|
-
url: string;
|
|
10486
|
-
data?: Data;
|
|
10487
|
-
params?: URLSearchParams;
|
|
10488
|
-
} & APIMetadata;
|
|
10489
|
-
type APIMetadata = {
|
|
10490
|
-
methodFqn?: string;
|
|
10491
|
-
entityFqdn?: string;
|
|
10492
|
-
packageName?: string;
|
|
10493
|
-
};
|
|
10494
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
10495
|
-
__type: 'event-definition';
|
|
10496
|
-
type: Type;
|
|
10497
|
-
isDomainEvent?: boolean;
|
|
10498
|
-
transformations?: unknown;
|
|
10499
|
-
__payload: Payload;
|
|
10500
|
-
};
|
|
10501
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
10502
|
-
|
|
10503
10448
|
declare const __metadata: {
|
|
10504
10449
|
PACKAGE_NAME: string;
|
|
10505
10450
|
};
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* A translatable content is a unit of content to translate.
|
|
3
|
+
*
|
|
4
|
+
* Use [Machine Translate](/translatable-content/machine-translate) to translate a single unit of translatable content, or [Bulk Machine Translate](/translatable-content/bulk-machine-translate)
|
|
5
|
+
* to translate many.
|
|
5
6
|
*/
|
|
6
7
|
interface TranslatableContent$1 extends TranslatableContentContentOneOf$1 {
|
|
7
|
-
/**
|
|
8
|
+
/** Plain text. */
|
|
8
9
|
plainTextContent?: string;
|
|
9
|
-
/**
|
|
10
|
+
/** HTML-encoded. */
|
|
10
11
|
htmlContent?: string;
|
|
11
|
-
/**
|
|
12
|
+
/** Rich content. */
|
|
12
13
|
richContent?: RichContent$3;
|
|
13
|
-
/**
|
|
14
|
+
/** Translatable content ID. */
|
|
14
15
|
id?: string | null;
|
|
15
|
-
/**
|
|
16
|
+
/** Format of the translatable content. */
|
|
16
17
|
format?: Format$1;
|
|
17
18
|
}
|
|
18
19
|
/** @oneof */
|
|
19
20
|
interface TranslatableContentContentOneOf$1 {
|
|
20
|
-
/**
|
|
21
|
+
/** Plain text. */
|
|
21
22
|
plainTextContent?: string;
|
|
22
|
-
/**
|
|
23
|
+
/** HTML-encoded. */
|
|
23
24
|
htmlContent?: string;
|
|
24
|
-
/**
|
|
25
|
+
/** Rich content. */
|
|
25
26
|
richContent?: RichContent$3;
|
|
26
27
|
}
|
|
27
28
|
declare enum Format$1 {
|
|
@@ -723,7 +724,7 @@ declare enum MapType$3 {
|
|
|
723
724
|
/** Roadmap map type */
|
|
724
725
|
ROADMAP = "ROADMAP",
|
|
725
726
|
/** Satellite map type */
|
|
726
|
-
|
|
727
|
+
SATELITE = "SATELITE",
|
|
727
728
|
/** Hybrid map type */
|
|
728
729
|
HYBRID = "HYBRID",
|
|
729
730
|
/** Terrain map type */
|
|
@@ -1179,12 +1180,16 @@ interface AudioData$3 {
|
|
|
1179
1180
|
html?: string | null;
|
|
1180
1181
|
}
|
|
1181
1182
|
interface OrderedListData$3 {
|
|
1182
|
-
/** Indentation level from
|
|
1183
|
+
/** Indentation level from 0-4. */
|
|
1183
1184
|
indentation?: number;
|
|
1185
|
+
/** Offset level from 0-4. */
|
|
1186
|
+
offset?: number | null;
|
|
1184
1187
|
}
|
|
1185
1188
|
interface BulletedListData$3 {
|
|
1186
|
-
/** Indentation level from
|
|
1189
|
+
/** Indentation level from 0-4. */
|
|
1187
1190
|
indentation?: number;
|
|
1191
|
+
/** Offset level from 0-4. */
|
|
1192
|
+
offset?: number | null;
|
|
1188
1193
|
}
|
|
1189
1194
|
interface BlockquoteData$3 {
|
|
1190
1195
|
/** Indentation level from 1-4. */
|
|
@@ -1236,11 +1241,11 @@ interface TextNodeStyle$3 {
|
|
|
1236
1241
|
lineHeight?: string | null;
|
|
1237
1242
|
}
|
|
1238
1243
|
interface MachineTranslateRequest$1 {
|
|
1239
|
-
/**
|
|
1244
|
+
/** Language of the source text to translate. */
|
|
1240
1245
|
sourceLanguage: SupportedLanguage$1;
|
|
1241
|
-
/**
|
|
1246
|
+
/** Language which text should be translated into. */
|
|
1242
1247
|
targetLanguage: SupportedLanguage$1;
|
|
1243
|
-
/** The content
|
|
1248
|
+
/** The content to translate. */
|
|
1244
1249
|
contentToTranslate: TranslatableContent$1;
|
|
1245
1250
|
}
|
|
1246
1251
|
declare enum SupportedLanguage$1 {
|
|
@@ -1518,27 +1523,27 @@ declare enum SupportedLanguage$1 {
|
|
|
1518
1523
|
ZU = "ZU"
|
|
1519
1524
|
}
|
|
1520
1525
|
interface MachineTranslateResponse$1 {
|
|
1521
|
-
/** The
|
|
1526
|
+
/** The translated content. */
|
|
1522
1527
|
translatedContent?: TranslatableContent$1;
|
|
1523
1528
|
}
|
|
1524
1529
|
interface BulkMachineTranslateRequest$1 {
|
|
1525
|
-
/**
|
|
1530
|
+
/** Language of the source text to translate. */
|
|
1526
1531
|
sourceLanguage: SupportedLanguage$1;
|
|
1527
|
-
/**
|
|
1532
|
+
/** Language which text should be translated into. */
|
|
1528
1533
|
targetLanguage: SupportedLanguage$1;
|
|
1529
|
-
/**
|
|
1534
|
+
/** The content to translate. */
|
|
1530
1535
|
contentToTranslate?: TranslatableContent$1[];
|
|
1531
1536
|
}
|
|
1532
1537
|
interface BulkMachineTranslateResponse$1 {
|
|
1533
|
-
/**
|
|
1538
|
+
/** List of results for each item in the bulk request. */
|
|
1534
1539
|
results?: BulkTranslateResult$1[];
|
|
1535
|
-
/**
|
|
1540
|
+
/** Metadata for the overall bulk action, including success and failure counts. */
|
|
1536
1541
|
bulkActionMetadata?: BulkActionMetadata$3;
|
|
1537
1542
|
}
|
|
1538
1543
|
interface BulkTranslateResult$1 {
|
|
1539
|
-
/**
|
|
1544
|
+
/** Metadata for the individual item in the request. */
|
|
1540
1545
|
itemMetadata?: ItemMetadata$3;
|
|
1541
|
-
/** The translated
|
|
1546
|
+
/** The translated content. */
|
|
1542
1547
|
item?: TranslatableContent$1;
|
|
1543
1548
|
}
|
|
1544
1549
|
interface ItemMetadata$3 {
|
|
@@ -2530,29 +2535,30 @@ interface BulkMachineTranslateResponseNonNullableFields$1 {
|
|
|
2530
2535
|
}
|
|
2531
2536
|
|
|
2532
2537
|
/**
|
|
2533
|
-
*
|
|
2534
|
-
*
|
|
2535
|
-
*
|
|
2538
|
+
* A translatable content is a unit of content to translate.
|
|
2539
|
+
*
|
|
2540
|
+
* Use [Machine Translate](/translatable-content/machine-translate) to translate a single unit of translatable content, or [Bulk Machine Translate](/translatable-content/bulk-machine-translate)
|
|
2541
|
+
* to translate many.
|
|
2536
2542
|
*/
|
|
2537
2543
|
interface TranslatableContent extends TranslatableContentContentOneOf {
|
|
2538
|
-
/**
|
|
2544
|
+
/** Plain text. */
|
|
2539
2545
|
plainTextContent?: string;
|
|
2540
|
-
/**
|
|
2546
|
+
/** HTML-encoded. */
|
|
2541
2547
|
htmlContent?: string;
|
|
2542
|
-
/**
|
|
2548
|
+
/** Rich content. */
|
|
2543
2549
|
richContent?: RichContent$2;
|
|
2544
|
-
/**
|
|
2550
|
+
/** Translatable content ID. */
|
|
2545
2551
|
_id?: string | null;
|
|
2546
|
-
/**
|
|
2552
|
+
/** Format of the translatable content. */
|
|
2547
2553
|
format?: Format;
|
|
2548
2554
|
}
|
|
2549
2555
|
/** @oneof */
|
|
2550
2556
|
interface TranslatableContentContentOneOf {
|
|
2551
|
-
/**
|
|
2557
|
+
/** Plain text. */
|
|
2552
2558
|
plainTextContent?: string;
|
|
2553
|
-
/**
|
|
2559
|
+
/** HTML-encoded. */
|
|
2554
2560
|
htmlContent?: string;
|
|
2555
|
-
/**
|
|
2561
|
+
/** Rich content. */
|
|
2556
2562
|
richContent?: RichContent$2;
|
|
2557
2563
|
}
|
|
2558
2564
|
declare enum Format {
|
|
@@ -3254,7 +3260,7 @@ declare enum MapType$2 {
|
|
|
3254
3260
|
/** Roadmap map type */
|
|
3255
3261
|
ROADMAP = "ROADMAP",
|
|
3256
3262
|
/** Satellite map type */
|
|
3257
|
-
|
|
3263
|
+
SATELITE = "SATELITE",
|
|
3258
3264
|
/** Hybrid map type */
|
|
3259
3265
|
HYBRID = "HYBRID",
|
|
3260
3266
|
/** Terrain map type */
|
|
@@ -3710,12 +3716,16 @@ interface AudioData$2 {
|
|
|
3710
3716
|
html?: string | null;
|
|
3711
3717
|
}
|
|
3712
3718
|
interface OrderedListData$2 {
|
|
3713
|
-
/** Indentation level from
|
|
3719
|
+
/** Indentation level from 0-4. */
|
|
3714
3720
|
indentation?: number;
|
|
3721
|
+
/** Offset level from 0-4. */
|
|
3722
|
+
offset?: number | null;
|
|
3715
3723
|
}
|
|
3716
3724
|
interface BulletedListData$2 {
|
|
3717
|
-
/** Indentation level from
|
|
3725
|
+
/** Indentation level from 0-4. */
|
|
3718
3726
|
indentation?: number;
|
|
3727
|
+
/** Offset level from 0-4. */
|
|
3728
|
+
offset?: number | null;
|
|
3719
3729
|
}
|
|
3720
3730
|
interface BlockquoteData$2 {
|
|
3721
3731
|
/** Indentation level from 1-4. */
|
|
@@ -3767,11 +3777,11 @@ interface TextNodeStyle$2 {
|
|
|
3767
3777
|
lineHeight?: string | null;
|
|
3768
3778
|
}
|
|
3769
3779
|
interface MachineTranslateRequest {
|
|
3770
|
-
/**
|
|
3780
|
+
/** Language of the source text to translate. */
|
|
3771
3781
|
sourceLanguage: SupportedLanguage;
|
|
3772
|
-
/**
|
|
3782
|
+
/** Language which text should be translated into. */
|
|
3773
3783
|
targetLanguage: SupportedLanguage;
|
|
3774
|
-
/** The content
|
|
3784
|
+
/** The content to translate. */
|
|
3775
3785
|
contentToTranslate: TranslatableContent;
|
|
3776
3786
|
}
|
|
3777
3787
|
declare enum SupportedLanguage {
|
|
@@ -4049,27 +4059,27 @@ declare enum SupportedLanguage {
|
|
|
4049
4059
|
ZU = "ZU"
|
|
4050
4060
|
}
|
|
4051
4061
|
interface MachineTranslateResponse {
|
|
4052
|
-
/** The
|
|
4062
|
+
/** The translated content. */
|
|
4053
4063
|
translatedContent?: TranslatableContent;
|
|
4054
4064
|
}
|
|
4055
4065
|
interface BulkMachineTranslateRequest {
|
|
4056
|
-
/**
|
|
4066
|
+
/** Language of the source text to translate. */
|
|
4057
4067
|
sourceLanguage: SupportedLanguage;
|
|
4058
|
-
/**
|
|
4068
|
+
/** Language which text should be translated into. */
|
|
4059
4069
|
targetLanguage: SupportedLanguage;
|
|
4060
|
-
/**
|
|
4070
|
+
/** The content to translate. */
|
|
4061
4071
|
contentToTranslate?: TranslatableContent[];
|
|
4062
4072
|
}
|
|
4063
4073
|
interface BulkMachineTranslateResponse {
|
|
4064
|
-
/**
|
|
4074
|
+
/** List of results for each item in the bulk request. */
|
|
4065
4075
|
results?: BulkTranslateResult[];
|
|
4066
|
-
/**
|
|
4076
|
+
/** Metadata for the overall bulk action, including success and failure counts. */
|
|
4067
4077
|
bulkActionMetadata?: BulkActionMetadata$2;
|
|
4068
4078
|
}
|
|
4069
4079
|
interface BulkTranslateResult {
|
|
4070
|
-
/**
|
|
4080
|
+
/** Metadata for the individual item in the request. */
|
|
4071
4081
|
itemMetadata?: ItemMetadata$2;
|
|
4072
|
-
/** The translated
|
|
4082
|
+
/** The translated content. */
|
|
4073
4083
|
item?: TranslatableContent;
|
|
4074
4084
|
}
|
|
4075
4085
|
interface ItemMetadata$2 {
|
|
@@ -5111,7 +5121,7 @@ interface Locale$1 {
|
|
|
5111
5121
|
/**
|
|
5112
5122
|
* Deprecated, please use the language field with the region code when needed
|
|
5113
5123
|
* @deprecated
|
|
5114
|
-
* @
|
|
5124
|
+
* @targetRemovalDate 2024-04-20
|
|
5115
5125
|
*/
|
|
5116
5126
|
flag?: Flag$1;
|
|
5117
5127
|
}
|
|
@@ -5422,7 +5432,7 @@ interface Locale {
|
|
|
5422
5432
|
/**
|
|
5423
5433
|
* Deprecated, please use the language field with the region code when needed
|
|
5424
5434
|
* @deprecated
|
|
5425
|
-
* @
|
|
5435
|
+
* @targetRemovalDate 2024-04-20
|
|
5426
5436
|
*/
|
|
5427
5437
|
flag?: Flag;
|
|
5428
5438
|
}
|
|
@@ -6484,7 +6494,7 @@ declare enum MapType$1 {
|
|
|
6484
6494
|
/** Roadmap map type */
|
|
6485
6495
|
ROADMAP = "ROADMAP",
|
|
6486
6496
|
/** Satellite map type */
|
|
6487
|
-
|
|
6497
|
+
SATELITE = "SATELITE",
|
|
6488
6498
|
/** Hybrid map type */
|
|
6489
6499
|
HYBRID = "HYBRID",
|
|
6490
6500
|
/** Terrain map type */
|
|
@@ -6940,12 +6950,16 @@ interface AudioData$1 {
|
|
|
6940
6950
|
html?: string | null;
|
|
6941
6951
|
}
|
|
6942
6952
|
interface OrderedListData$1 {
|
|
6943
|
-
/** Indentation level from
|
|
6953
|
+
/** Indentation level from 0-4. */
|
|
6944
6954
|
indentation?: number;
|
|
6955
|
+
/** Offset level from 0-4. */
|
|
6956
|
+
offset?: number | null;
|
|
6945
6957
|
}
|
|
6946
6958
|
interface BulletedListData$1 {
|
|
6947
|
-
/** Indentation level from
|
|
6959
|
+
/** Indentation level from 0-4. */
|
|
6948
6960
|
indentation?: number;
|
|
6961
|
+
/** Offset level from 0-4. */
|
|
6962
|
+
offset?: number | null;
|
|
6949
6963
|
}
|
|
6950
6964
|
interface BlockquoteData$1 {
|
|
6951
6965
|
/** Indentation level from 1-4. */
|
|
@@ -11148,7 +11162,7 @@ declare enum MapType {
|
|
|
11148
11162
|
/** Roadmap map type */
|
|
11149
11163
|
ROADMAP = "ROADMAP",
|
|
11150
11164
|
/** Satellite map type */
|
|
11151
|
-
|
|
11165
|
+
SATELITE = "SATELITE",
|
|
11152
11166
|
/** Hybrid map type */
|
|
11153
11167
|
HYBRID = "HYBRID",
|
|
11154
11168
|
/** Terrain map type */
|
|
@@ -11604,12 +11618,16 @@ interface AudioData {
|
|
|
11604
11618
|
html?: string | null;
|
|
11605
11619
|
}
|
|
11606
11620
|
interface OrderedListData {
|
|
11607
|
-
/** Indentation level from
|
|
11621
|
+
/** Indentation level from 0-4. */
|
|
11608
11622
|
indentation?: number;
|
|
11623
|
+
/** Offset level from 0-4. */
|
|
11624
|
+
offset?: number | null;
|
|
11609
11625
|
}
|
|
11610
11626
|
interface BulletedListData {
|
|
11611
|
-
/** Indentation level from
|
|
11627
|
+
/** Indentation level from 0-4. */
|
|
11612
11628
|
indentation?: number;
|
|
11629
|
+
/** Offset level from 0-4. */
|
|
11630
|
+
offset?: number | null;
|
|
11613
11631
|
}
|
|
11614
11632
|
interface BlockquoteData {
|
|
11615
11633
|
/** Indentation level from 1-4. */
|