@wix/multilingual 1.0.21 → 1.0.23

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.
@@ -1,3 +1,517 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
45
+ interface Mapper {
46
+ _id?: string | null;
47
+ /** The FQDN of the entity the mapper refer to of exist */
48
+ entityFqdn?: string;
49
+ /** The entity fqn - this is unique across wix */
50
+ entityFqn?: string;
51
+ /** The appDefId that the entity belongs to */
52
+ appId?: string;
53
+ /** A list of fields to translate from the entity */
54
+ fields?: MapperField[];
55
+ /** The name of field that hold the parent name (if exist) */
56
+ groupByNameFieldId?: string | null;
57
+ /** Flag to turn off sync data to localization upon domain events */
58
+ ignoreDomainEvents?: boolean | null;
59
+ /** The segment of the entity */
60
+ segment?: string | null;
61
+ }
62
+ interface MapperField {
63
+ /** The field FQN */
64
+ _id?: string;
65
+ /** The field Type as it's shown in localization schema */
66
+ type?: FieldType$1;
67
+ /** If the field is part of a repeated fields */
68
+ sequencePath?: SequencePath[];
69
+ /** Option to override the field mask (the default is the id) */
70
+ overrideMask?: string | null;
71
+ }
72
+ declare enum FieldType$1 {
73
+ /** Undefined field type */
74
+ UNDEFINED_TYPE = "UNDEFINED_TYPE",
75
+ /** Short text TEXT */
76
+ SHORT_TEXT = "SHORT_TEXT",
77
+ /** Long Plain Text TEXT */
78
+ LONG_TEXT = "LONG_TEXT",
79
+ /** Long text including styles, images, links and more... HTML */
80
+ RICH_TEXT = "RICH_TEXT",
81
+ /** Wix Rich-Content-Editor format RICO */
82
+ RICH_CONTENT_EDITOR = "RICH_CONTENT_EDITOR",
83
+ /** Choose one from many options CSV TEXT */
84
+ SELECTION = "SELECTION",
85
+ /** Choose multi items from many options */
86
+ MULTI_SELECTION = "MULTI_SELECTION",
87
+ /** Wix document media item */
88
+ DOCUMENT = "DOCUMENT",
89
+ /** Wix Image media item */
90
+ IMAGE = "IMAGE",
91
+ /** Wix Video media item */
92
+ VIDEO = "VIDEO",
93
+ /** Image URL without metadata */
94
+ IMAGE_LINK = "IMAGE_LINK",
95
+ /** contain an XML representation of an entity or part of it */
96
+ XML = "XML"
97
+ }
98
+ interface SequencePath {
99
+ /** The name of the sequence the field is a part of */
100
+ name?: string;
101
+ /** The name of the field hold the id in the entity */
102
+ fieldId?: string;
103
+ }
104
+ interface Empty$2 {
105
+ }
106
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
107
+ createdEvent?: EntityCreatedEvent$2;
108
+ updatedEvent?: EntityUpdatedEvent$2;
109
+ deletedEvent?: EntityDeletedEvent$2;
110
+ actionEvent?: ActionEvent$2;
111
+ /**
112
+ * Unique event ID.
113
+ * Allows clients to ignore duplicate webhooks.
114
+ */
115
+ _id?: string;
116
+ /**
117
+ * Assumes actions are also always typed to an entity_type
118
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
119
+ */
120
+ entityFqdn?: string;
121
+ /**
122
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
123
+ * This is although the created/updated/deleted notion is duplication of the oneof types
124
+ * Example: created/updated/deleted/started/completed/email_opened
125
+ */
126
+ slug?: string;
127
+ /** ID of the entity associated with the event. */
128
+ entityId?: string;
129
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
130
+ eventTime?: Date;
131
+ /**
132
+ * Whether the event was triggered as a result of a privacy regulation application
133
+ * (for example, GDPR).
134
+ */
135
+ triggeredByAnonymizeRequest?: boolean | null;
136
+ /** If present, indicates the action that triggered the event. */
137
+ originatedFrom?: string | null;
138
+ /**
139
+ * A sequence number defining the order of updates to the underlying entity.
140
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
141
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
142
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
143
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
144
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
145
+ */
146
+ entityEventSequence?: string | null;
147
+ }
148
+ /** @oneof */
149
+ interface DomainEventBodyOneOf$2 {
150
+ createdEvent?: EntityCreatedEvent$2;
151
+ updatedEvent?: EntityUpdatedEvent$2;
152
+ deletedEvent?: EntityDeletedEvent$2;
153
+ actionEvent?: ActionEvent$2;
154
+ }
155
+ interface EntityCreatedEvent$2 {
156
+ entity?: string;
157
+ }
158
+ interface RestoreInfo$2 {
159
+ deletedDate?: Date;
160
+ }
161
+ interface EntityUpdatedEvent$2 {
162
+ /**
163
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
164
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
165
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
166
+ */
167
+ currentEntity?: string;
168
+ }
169
+ interface EntityDeletedEvent$2 {
170
+ /** Entity that was deleted */
171
+ deletedEntity?: string | null;
172
+ }
173
+ interface ActionEvent$2 {
174
+ body?: string;
175
+ }
176
+ interface LocalizedPublishedLanguageContentChanged {
177
+ /** The action that changed the content */
178
+ action?: LocalizationPublicAction;
179
+ /** token to identify the flow this event is part of and the total number of event in this flow. */
180
+ flowToken?: string | null;
181
+ }
182
+ interface LocalizedPublishedContent {
183
+ /** UUID identifier for content. */
184
+ contentId?: string;
185
+ /** compound key identifier for content. */
186
+ contentKey?: LocalizedContentKey;
187
+ /** content IETF BCP 47 language tag */
188
+ languageTag?: string;
189
+ /** localized content list of published fields. */
190
+ languagePublishedFields?: LocalizedPublishedContentField[];
191
+ /** Optional field that will group in the UI contents with the same group name */
192
+ groupByName?: string | null;
193
+ }
194
+ interface LocalizedContentKey {
195
+ /** Schema unique key identifier */
196
+ schemaKey?: SchemaKey$1;
197
+ /** Unique identifier that represents a specific entity in the app */
198
+ entityId?: string;
199
+ }
200
+ interface SchemaKey$1 {
201
+ /** ID of app that created the schema. */
202
+ appId?: string;
203
+ /** Unique name defined by the creator app, used to distinguish between different entities in the the app domain. */
204
+ entityType?: string;
205
+ /** Scope schema is defined in (Global/Site) */
206
+ scope?: SchemaScope$1;
207
+ }
208
+ declare enum SchemaScope$1 {
209
+ /** Global schema, relevant to all sites */
210
+ GLOBAL = "GLOBAL",
211
+ /** Site schema, relevant to specific site only */
212
+ SITE = "SITE"
213
+ }
214
+ /** contains only information relevant to UoU */
215
+ interface LocalizedPublishedContentField extends LocalizedPublishedContentFieldValueOneOf {
216
+ /** Field actual localized content as simple text type */
217
+ textValue?: string;
218
+ /** Field actual localized content as rich content editor type */
219
+ wixRichContentEditorValue?: string;
220
+ /** Field actual localized content as media type (image, video or document) */
221
+ mediaValue?: MediaItem;
222
+ /** Field unique identifier. This id has to fit to a schema field id. */
223
+ _id?: string;
224
+ /** In case field is reachable via sequence/s, this array represents all the sequences names in the path, and their corresponding item id. */
225
+ sequencePath?: FieldSequence[];
226
+ }
227
+ /** @oneof */
228
+ interface LocalizedPublishedContentFieldValueOneOf {
229
+ /** Field actual localized content as simple text type */
230
+ textValue?: string;
231
+ /** Field actual localized content as rich content editor type */
232
+ wixRichContentEditorValue?: string;
233
+ /** Field actual localized content as media type (image, video or document) */
234
+ mediaValue?: MediaItem;
235
+ }
236
+ interface MediaItem extends MediaItemMediaOneOf {
237
+ /** Image media item */
238
+ image?: string;
239
+ /** Video media item */
240
+ video?: string;
241
+ /** Document media item */
242
+ document?: string;
243
+ }
244
+ /** @oneof */
245
+ interface MediaItemMediaOneOf {
246
+ /** Image media item */
247
+ image?: string;
248
+ /** Video media item */
249
+ video?: string;
250
+ /** Document media item */
251
+ document?: string;
252
+ }
253
+ interface VideoResolution$1 {
254
+ /** Video URL. */
255
+ url?: string;
256
+ /** Video height. */
257
+ height?: number;
258
+ /** Video width. */
259
+ width?: number;
260
+ /** Video format for example, mp4, hls. */
261
+ format?: string;
262
+ }
263
+ interface FieldSequence {
264
+ /** Name of sequence */
265
+ seqName?: string;
266
+ /** Id of relevant item in the sequence */
267
+ itemId?: string;
268
+ /** Optional field - in case set sequences will be ordered by priority index (best effort) */
269
+ priorityIndex?: number | null;
270
+ }
271
+ interface CreateOrUpdateAction {
272
+ /** The new Localized published state */
273
+ localizedPublishedContent?: LocalizedPublishedContent;
274
+ }
275
+ interface DeleteAction {
276
+ /** compound key identifier for removed content. */
277
+ contentKey?: LocalizedContentKey;
278
+ /** content IETF BCP 47 language tag */
279
+ languageTag?: string;
280
+ }
281
+ interface LocalizationPublicAction extends LocalizationPublicActionActionOneOf {
282
+ /** Content has changes in its fields */
283
+ createOrUpdateAction?: CreateOrUpdateAction;
284
+ /** Content deleted */
285
+ deleteAction?: DeleteAction;
286
+ }
287
+ /** @oneof */
288
+ interface LocalizationPublicActionActionOneOf {
289
+ /** Content has changes in its fields */
290
+ createOrUpdateAction?: CreateOrUpdateAction;
291
+ /** Content deleted */
292
+ deleteAction?: DeleteAction;
293
+ }
294
+ interface CreateOrUpdateMapperRequest {
295
+ /** A mapper to create or update if already exist */
296
+ mapper?: Mapper;
297
+ }
298
+ interface CreateOrUpdateMapperResponse {
299
+ }
300
+ interface GetEntityMapperRequest {
301
+ /** App id of the mapper requested */
302
+ appId?: string;
303
+ /** Entity fqn of the mapper requested */
304
+ entityFqn?: string;
305
+ }
306
+ interface GetEntityMapperResponse {
307
+ /** Mapper requested */
308
+ entityMapper?: Mapper;
309
+ }
310
+ interface DeleteEntityMapperRequest {
311
+ /** App id of the mapper to delete */
312
+ appId?: string;
313
+ /** Entity fqn of the mapper to delete */
314
+ entityFqn?: string;
315
+ }
316
+ interface DeleteEntityMapperResponse {
317
+ }
318
+ interface GetSubscribedTopicsRequest {
319
+ }
320
+ interface GetSubscribedTopicsResponse {
321
+ /** List of subscribed topics */
322
+ topics?: string[];
323
+ }
324
+ interface MessageEnvelope$2 {
325
+ /** App instance ID. */
326
+ instanceId?: string | null;
327
+ /** Event type. */
328
+ eventType?: string;
329
+ /** The identification type and identity data. */
330
+ identity?: IdentificationData$2;
331
+ /** Stringify payload. */
332
+ data?: string;
333
+ }
334
+ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
335
+ /** ID of a site visitor that has not logged in to the site. */
336
+ anonymousVisitorId?: string;
337
+ /** ID of a site visitor that has logged in to the site. */
338
+ memberId?: string;
339
+ /** ID of a Wix user (site owner, contributor, etc.). */
340
+ wixUserId?: string;
341
+ /** ID of an app. */
342
+ appId?: string;
343
+ /** @readonly */
344
+ identityType?: WebhookIdentityType$2;
345
+ }
346
+ /** @oneof */
347
+ interface IdentificationDataIdOneOf$2 {
348
+ /** ID of a site visitor that has not logged in to the site. */
349
+ anonymousVisitorId?: string;
350
+ /** ID of a site visitor that has logged in to the site. */
351
+ memberId?: string;
352
+ /** ID of a Wix user (site owner, contributor, etc.). */
353
+ wixUserId?: string;
354
+ /** ID of an app. */
355
+ appId?: string;
356
+ }
357
+ declare enum WebhookIdentityType$2 {
358
+ UNKNOWN = "UNKNOWN",
359
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
360
+ MEMBER = "MEMBER",
361
+ WIX_USER = "WIX_USER",
362
+ APP = "APP"
363
+ }
364
+ interface HtmlNewRevisionSavedMessage {
365
+ /** HTML Site ID */
366
+ siteId?: string;
367
+ /** Newly saved revision */
368
+ revision?: string;
369
+ /** Restored from revision */
370
+ restoredFrom?: string | null;
371
+ /** Optional meta site id */
372
+ metaSiteId?: string | null;
373
+ /** Date that this version was updated (same as created) */
374
+ updateDate?: string;
375
+ /** determine whether this site uses responsive editor */
376
+ isResponsive?: boolean;
377
+ /** optional branch id if revision saved on branch */
378
+ branchId?: string | null;
379
+ /** determine if the new revision is a result of override save */
380
+ overrideSave?: boolean;
381
+ /** Optional last transaction id */
382
+ lastTransactionId?: string | null;
383
+ /** optional branch id if revision restored from branch */
384
+ restoredFromBranchId?: string | null;
385
+ /** information of revision prior to save revision operation */
386
+ lastRevisionInfo?: RevisionInfo;
387
+ /** new revision pages */
388
+ pages?: Page[];
389
+ /** the pages that were changed from the last save. Operations such as clone and restore will return an empty response at the moment. */
390
+ changedPages?: ChangedPages;
391
+ /** id of the main page of the site */
392
+ mainPageId?: string;
393
+ }
394
+ interface RevisionInfo {
395
+ /** revision number */
396
+ revision?: string;
397
+ /** last_transaction_id of revision */
398
+ lastTransactionId?: string | null;
399
+ }
400
+ interface Page {
401
+ /** Page's Id */
402
+ _id?: string;
403
+ }
404
+ interface ChangedPages {
405
+ /** list of updated_pages */
406
+ updatedPages?: Page[];
407
+ /** list of deleted_pages */
408
+ deletedPages?: Page[];
409
+ }
410
+ interface SyncEditorDataRequest {
411
+ /** an optional filter for syncing the content */
412
+ syncFilter?: SyncFilter;
413
+ }
414
+ interface SyncFilter {
415
+ /** content IETF BCP 47 language tag */
416
+ languageTag?: string;
417
+ }
418
+ interface SyncEditorDataResponse {
419
+ }
420
+ interface PublishSiteTranslationsRequest {
421
+ /** A language to publish it's language */
422
+ language?: string;
423
+ }
424
+ interface PublishSiteTranslationsResponse {
425
+ }
426
+ interface V1CreateOrUpdateMapperRequest {
427
+ /** A mapper to create or update if already exist */
428
+ mapper?: Mapper;
429
+ }
430
+ interface V1CreateOrUpdateMapperResponse {
431
+ }
432
+ interface GetMapperRequest {
433
+ /** The mapper type requested */
434
+ entityType?: string;
435
+ }
436
+ interface GetMapperResponse {
437
+ /** The mapper with the entity type requested */
438
+ mapper?: Mapper;
439
+ }
440
+ interface DeleteMapperRequest {
441
+ /** The entity type to delete from the service */
442
+ entityType?: string;
443
+ }
444
+ interface DeleteMapperResponse {
445
+ }
446
+ interface ListMappersRequest {
447
+ }
448
+ interface ListMappersResponse {
449
+ /** all mappers known to editor adapter */
450
+ mappers?: Mapper[];
451
+ }
452
+ interface StressDMRequest {
453
+ /** the meta site id to stress */
454
+ metaSiteId?: string;
455
+ }
456
+ interface StressDMResponse {
457
+ }
458
+ interface SyncEditorDataOptions {
459
+ /** an optional filter for syncing the content */
460
+ syncFilter?: SyncFilter;
461
+ }
462
+
463
+ declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
464
+
465
+ declare const syncEditorData: ReturnType<typeof createRESTModule$4<typeof publicSyncEditorData>>;
466
+
467
+ type context$4_ChangedPages = ChangedPages;
468
+ type context$4_CreateOrUpdateAction = CreateOrUpdateAction;
469
+ type context$4_CreateOrUpdateMapperRequest = CreateOrUpdateMapperRequest;
470
+ type context$4_CreateOrUpdateMapperResponse = CreateOrUpdateMapperResponse;
471
+ type context$4_DeleteAction = DeleteAction;
472
+ type context$4_DeleteEntityMapperRequest = DeleteEntityMapperRequest;
473
+ type context$4_DeleteEntityMapperResponse = DeleteEntityMapperResponse;
474
+ type context$4_DeleteMapperRequest = DeleteMapperRequest;
475
+ type context$4_DeleteMapperResponse = DeleteMapperResponse;
476
+ type context$4_FieldSequence = FieldSequence;
477
+ type context$4_GetEntityMapperRequest = GetEntityMapperRequest;
478
+ type context$4_GetEntityMapperResponse = GetEntityMapperResponse;
479
+ type context$4_GetMapperRequest = GetMapperRequest;
480
+ type context$4_GetMapperResponse = GetMapperResponse;
481
+ type context$4_GetSubscribedTopicsRequest = GetSubscribedTopicsRequest;
482
+ type context$4_GetSubscribedTopicsResponse = GetSubscribedTopicsResponse;
483
+ type context$4_HtmlNewRevisionSavedMessage = HtmlNewRevisionSavedMessage;
484
+ type context$4_ListMappersRequest = ListMappersRequest;
485
+ type context$4_ListMappersResponse = ListMappersResponse;
486
+ type context$4_LocalizationPublicAction = LocalizationPublicAction;
487
+ type context$4_LocalizationPublicActionActionOneOf = LocalizationPublicActionActionOneOf;
488
+ type context$4_LocalizedContentKey = LocalizedContentKey;
489
+ type context$4_LocalizedPublishedContent = LocalizedPublishedContent;
490
+ type context$4_LocalizedPublishedContentField = LocalizedPublishedContentField;
491
+ type context$4_LocalizedPublishedContentFieldValueOneOf = LocalizedPublishedContentFieldValueOneOf;
492
+ type context$4_LocalizedPublishedLanguageContentChanged = LocalizedPublishedLanguageContentChanged;
493
+ type context$4_Mapper = Mapper;
494
+ type context$4_MapperField = MapperField;
495
+ type context$4_MediaItem = MediaItem;
496
+ type context$4_MediaItemMediaOneOf = MediaItemMediaOneOf;
497
+ type context$4_Page = Page;
498
+ type context$4_PublishSiteTranslationsRequest = PublishSiteTranslationsRequest;
499
+ type context$4_PublishSiteTranslationsResponse = PublishSiteTranslationsResponse;
500
+ type context$4_RevisionInfo = RevisionInfo;
501
+ type context$4_SequencePath = SequencePath;
502
+ type context$4_StressDMRequest = StressDMRequest;
503
+ type context$4_StressDMResponse = StressDMResponse;
504
+ type context$4_SyncEditorDataOptions = SyncEditorDataOptions;
505
+ type context$4_SyncEditorDataRequest = SyncEditorDataRequest;
506
+ type context$4_SyncEditorDataResponse = SyncEditorDataResponse;
507
+ type context$4_SyncFilter = SyncFilter;
508
+ type context$4_V1CreateOrUpdateMapperRequest = V1CreateOrUpdateMapperRequest;
509
+ type context$4_V1CreateOrUpdateMapperResponse = V1CreateOrUpdateMapperResponse;
510
+ declare const context$4_syncEditorData: typeof syncEditorData;
511
+ declare namespace context$4 {
512
+ export { type ActionEvent$2 as ActionEvent, type context$4_ChangedPages as ChangedPages, type context$4_CreateOrUpdateAction as CreateOrUpdateAction, type context$4_CreateOrUpdateMapperRequest as CreateOrUpdateMapperRequest, type context$4_CreateOrUpdateMapperResponse as CreateOrUpdateMapperResponse, type context$4_DeleteAction as DeleteAction, type context$4_DeleteEntityMapperRequest as DeleteEntityMapperRequest, type context$4_DeleteEntityMapperResponse as DeleteEntityMapperResponse, type context$4_DeleteMapperRequest as DeleteMapperRequest, type context$4_DeleteMapperResponse as DeleteMapperResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$4_FieldSequence as FieldSequence, FieldType$1 as FieldType, type context$4_GetEntityMapperRequest as GetEntityMapperRequest, type context$4_GetEntityMapperResponse as GetEntityMapperResponse, type context$4_GetMapperRequest as GetMapperRequest, type context$4_GetMapperResponse as GetMapperResponse, type context$4_GetSubscribedTopicsRequest as GetSubscribedTopicsRequest, type context$4_GetSubscribedTopicsResponse as GetSubscribedTopicsResponse, type context$4_HtmlNewRevisionSavedMessage as HtmlNewRevisionSavedMessage, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$4_ListMappersRequest as ListMappersRequest, type context$4_ListMappersResponse as ListMappersResponse, type context$4_LocalizationPublicAction as LocalizationPublicAction, type context$4_LocalizationPublicActionActionOneOf as LocalizationPublicActionActionOneOf, type context$4_LocalizedContentKey as LocalizedContentKey, type context$4_LocalizedPublishedContent as LocalizedPublishedContent, type context$4_LocalizedPublishedContentField as LocalizedPublishedContentField, type context$4_LocalizedPublishedContentFieldValueOneOf as LocalizedPublishedContentFieldValueOneOf, type context$4_LocalizedPublishedLanguageContentChanged as LocalizedPublishedLanguageContentChanged, type context$4_Mapper as Mapper, type context$4_MapperField as MapperField, type context$4_MediaItem as MediaItem, type context$4_MediaItemMediaOneOf as MediaItemMediaOneOf, type MessageEnvelope$2 as MessageEnvelope, type context$4_Page as Page, type context$4_PublishSiteTranslationsRequest as PublishSiteTranslationsRequest, type context$4_PublishSiteTranslationsResponse as PublishSiteTranslationsResponse, type RestoreInfo$2 as RestoreInfo, type context$4_RevisionInfo as RevisionInfo, type SchemaKey$1 as SchemaKey, SchemaScope$1 as SchemaScope, type context$4_SequencePath as SequencePath, type context$4_StressDMRequest as StressDMRequest, type context$4_StressDMResponse as StressDMResponse, type context$4_SyncEditorDataOptions as SyncEditorDataOptions, type context$4_SyncEditorDataRequest as SyncEditorDataRequest, type context$4_SyncEditorDataResponse as SyncEditorDataResponse, type context$4_SyncFilter as SyncFilter, type context$4_V1CreateOrUpdateMapperRequest as V1CreateOrUpdateMapperRequest, type context$4_V1CreateOrUpdateMapperResponse as V1CreateOrUpdateMapperResponse, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, context$4_syncEditorData as syncEditorData };
513
+ }
514
+
1
515
  /**
2
516
  * A translatable content is a unit of content to translate.
3
517
  *
@@ -1895,50 +2409,6 @@ interface BulkMachineTranslateOptions {
1895
2409
  contentToTranslate?: TranslatableContent[];
1896
2410
  }
1897
2411
 
1898
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1899
- interface HttpClient {
1900
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1901
- fetchWithAuth: typeof fetch;
1902
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1903
- }
1904
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1905
- type HttpResponse<T = any> = {
1906
- data: T;
1907
- status: number;
1908
- statusText: string;
1909
- headers: any;
1910
- request?: any;
1911
- };
1912
- type RequestOptions<_TResponse = any, Data = any> = {
1913
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1914
- url: string;
1915
- data?: Data;
1916
- params?: URLSearchParams;
1917
- } & APIMetadata;
1918
- type APIMetadata = {
1919
- methodFqn?: string;
1920
- entityFqdn?: string;
1921
- packageName?: string;
1922
- };
1923
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1924
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1925
- __type: 'event-definition';
1926
- type: Type;
1927
- isDomainEvent?: boolean;
1928
- transformations?: (envelope: unknown) => Payload;
1929
- __payload: Payload;
1930
- };
1931
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1932
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1933
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1934
-
1935
- declare global {
1936
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1937
- interface SymbolConstructor {
1938
- readonly observable: symbol;
1939
- }
1940
- }
1941
-
1942
2412
  declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1943
2413
 
1944
2414
  declare const machineTranslate: ReturnType<typeof createRESTModule$3<typeof publicMachineTranslate>>;
@@ -3668,6 +4138,14 @@ interface UpdateContentResponse {
3668
4138
  /** Updated Content. */
3669
4139
  content?: Content;
3670
4140
  }
4141
+ interface UpdateContentByKeyRequest {
4142
+ /** Content to be updated, may be partial. */
4143
+ content: Content;
4144
+ }
4145
+ interface UpdateContentByKeyResponse {
4146
+ /** Updated Content. */
4147
+ content?: Content;
4148
+ }
3671
4149
  interface DeleteContentRequest {
3672
4150
  /** Id of the Content to delete. */
3673
4151
  contentId: string;
@@ -3679,26 +4157,32 @@ interface QueryContentsRequest {
3679
4157
  query?: CursorQuery$1;
3680
4158
  }
3681
4159
  interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
3682
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
4160
+ /**
4161
+ * Cursor paging options.
4162
+ *
4163
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
4164
+ */
3683
4165
  cursorPaging?: CursorPaging$1;
3684
4166
  /**
3685
- * Filter object in the following format:
3686
- * `"filter" : {
3687
- * "fieldName1": "value1",
3688
- * "fieldName2":{"$operator":"value2"}
3689
- * }`
3690
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
4167
+ * Filter object.
4168
+ *
4169
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
3691
4170
  */
3692
4171
  filter?: Record<string, any> | null;
3693
4172
  /**
3694
- * Sort object in the following format:
3695
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
4173
+ * Sort object.
4174
+ *
4175
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
3696
4176
  */
3697
4177
  sort?: Sorting$1[];
3698
4178
  }
3699
4179
  /** @oneof */
3700
4180
  interface CursorQueryPagingMethodOneOf$1 {
3701
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
4181
+ /**
4182
+ * Cursor paging options.
4183
+ *
4184
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
4185
+ */
3702
4186
  cursorPaging?: CursorPaging$1;
3703
4187
  }
3704
4188
  interface Sorting$1 {
@@ -3757,17 +4241,15 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
3757
4241
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
3758
4242
  cursorPaging?: CursorPaging$1;
3759
4243
  /**
3760
- * Filter object in the following format:
3761
- * `"filter" : {
3762
- * "fieldName1": "value1",
3763
- * "fieldName2":{"$operator":"value2"}
3764
- * }`
3765
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
4244
+ * Filter object.
4245
+ *
4246
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
3766
4247
  */
3767
4248
  filter?: Record<string, any> | null;
3768
4249
  /**
3769
- * Sort object in the following format:
3770
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
4250
+ * Sort object.
4251
+ *
4252
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
3771
4253
  */
3772
4254
  sort?: Sorting$1[];
3773
4255
  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
@@ -3811,17 +4293,26 @@ interface SearchContentsRequest {
3811
4293
  }
3812
4294
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
3813
4295
  /**
3814
- * Cursor pointing to page of results.
3815
- * When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
4296
+ * Cursor paging options.
4297
+ *
4298
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
3816
4299
  */
3817
4300
  cursorPaging?: CursorPaging$1;
3818
- /** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
4301
+ /**
4302
+ * Filter object.
4303
+ *
4304
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
4305
+ */
3819
4306
  filter?: Record<string, any> | null;
3820
- /** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}] */
4307
+ /**
4308
+ * List of sort objects.
4309
+ *
4310
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
4311
+ */
3821
4312
  sort?: Sorting$1[];
3822
4313
  /** Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition. */
3823
4314
  aggregations?: Aggregation[];
3824
- /** Free text to match in searchable fields */
4315
+ /** Free text to match in searchable fields. */
3825
4316
  search?: SearchDetails;
3826
4317
  /**
3827
4318
  * UTC offset or IANA time zone. Valid values are
@@ -3837,8 +4328,9 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
3837
4328
  /** @oneof */
3838
4329
  interface CursorSearchPagingMethodOneOf {
3839
4330
  /**
3840
- * Cursor pointing to page of results.
3841
- * When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
4331
+ * Cursor paging options.
4332
+ *
4333
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
3842
4334
  */
3843
4335
  cursorPaging?: CursorPaging$1;
3844
4336
  }
@@ -4267,11 +4759,11 @@ interface BulkActionMetadata {
4267
4759
  }
4268
4760
  interface BulkUpdateContentRequest {
4269
4761
  /** Contents to be updated. TODO: think again if we want to increase maxSize */
4270
- contents: MaskedContent[];
4762
+ contents: BulkUpdateContentRequestMaskedContent[];
4271
4763
  /** set to `true` if you wish to receive back the created contents in the response */
4272
4764
  returnEntity?: boolean;
4273
4765
  }
4274
- interface MaskedContent {
4766
+ interface BulkUpdateContentRequestMaskedContent {
4275
4767
  /** Content to be updated, may be partial */
4276
4768
  content?: Content;
4277
4769
  }
@@ -4287,6 +4779,50 @@ interface BulkUpdateContentResponseBulkContentResult {
4287
4779
  /** Only exists if `returnEntity` was set to true in the request */
4288
4780
  item?: Content;
4289
4781
  }
4782
+ interface BulkUpdateContentByKeyRequest {
4783
+ /** Contents to be updated. TODO: think again if we want to increase maxSize */
4784
+ contents: MaskedContent[];
4785
+ /** set to `true` if you wish to receive back the created contents in the response */
4786
+ returnEntity?: boolean;
4787
+ }
4788
+ interface MaskedContent {
4789
+ /** Content to be updated, may be partial */
4790
+ content?: Content;
4791
+ }
4792
+ interface BulkUpdateContentByKeyResponse {
4793
+ /** List of results */
4794
+ results?: BulkUpdateContentByKeyResponseBulkContentResult[];
4795
+ /** metadata */
4796
+ bulkActionMetadata?: BulkActionMetadata;
4797
+ }
4798
+ interface BulkUpdateContentByKeyResponseBulkContentResult {
4799
+ /** metadata */
4800
+ itemMetadata?: ItemMetadata;
4801
+ /** Only exists if `returnEntity` was set to true in the request */
4802
+ item?: Content;
4803
+ }
4804
+ interface PermissiveBulkUpdateContentRequest {
4805
+ /** Contents to be updated. TODO: think again if we want to increase maxSize */
4806
+ contents?: PermissiveBulkUpdateContentRequestMaskedContent[];
4807
+ /** set to `true` if you wish to receive back the created contents in the response */
4808
+ returnEntity?: boolean;
4809
+ }
4810
+ interface PermissiveBulkUpdateContentRequestMaskedContent {
4811
+ /** Content to be updated, may be partial */
4812
+ content?: Content;
4813
+ }
4814
+ interface PermissiveBulkUpdateContentResponse {
4815
+ /** List of results */
4816
+ results?: PermissiveBulkUpdateContentResponseBulkContentResult[];
4817
+ /** metadata */
4818
+ bulkActionMetadata?: BulkActionMetadata;
4819
+ }
4820
+ interface PermissiveBulkUpdateContentResponseBulkContentResult {
4821
+ /** metadata */
4822
+ itemMetadata?: ItemMetadata;
4823
+ /** Only exists if `returnEntity` was set to true in the request */
4824
+ item?: Content;
4825
+ }
4290
4826
  interface BulkDeleteContentRequest {
4291
4827
  /** Content ids to be deleted. TODO: think again if we want to increase maxSize */
4292
4828
  contentIds: string[];
@@ -4713,6 +5249,9 @@ interface GetContentResponseNonNullableFields {
4713
5249
  interface UpdateContentResponseNonNullableFields {
4714
5250
  content?: ContentNonNullableFields;
4715
5251
  }
5252
+ interface UpdateContentByKeyResponseNonNullableFields {
5253
+ content?: ContentNonNullableFields;
5254
+ }
4716
5255
  interface QueryContentsResponseNonNullableFields {
4717
5256
  contents: ContentNonNullableFields[];
4718
5257
  }
@@ -4802,6 +5341,14 @@ interface BulkUpdateContentResponseNonNullableFields {
4802
5341
  results: BulkUpdateContentResponseBulkContentResultNonNullableFields[];
4803
5342
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
4804
5343
  }
5344
+ interface BulkUpdateContentByKeyResponseBulkContentResultNonNullableFields {
5345
+ itemMetadata?: ItemMetadataNonNullableFields;
5346
+ item?: ContentNonNullableFields;
5347
+ }
5348
+ interface BulkUpdateContentByKeyResponseNonNullableFields {
5349
+ results: BulkUpdateContentByKeyResponseBulkContentResultNonNullableFields[];
5350
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields;
5351
+ }
4805
5352
  interface BulkDeleteContentResponseBulkContentResultNonNullableFields {
4806
5353
  itemMetadata?: ItemMetadataNonNullableFields;
4807
5354
  }
@@ -4809,67 +5356,64 @@ interface BulkDeleteContentResponseNonNullableFields {
4809
5356
  results: BulkDeleteContentResponseBulkContentResultNonNullableFields[];
4810
5357
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
4811
5358
  }
4812
- interface BaseEventMetadata$1 {
4813
- /** App instance ID. */
4814
- instanceId?: string | null;
4815
- /** Event type. */
4816
- eventType?: string;
4817
- /** The identification type and identity data. */
4818
- identity?: IdentificationData$1;
5359
+ interface QueryContentsOptions {
4819
5360
  }
4820
- interface EventMetadata$1 extends BaseEventMetadata$1 {
4821
- /**
4822
- * Unique event ID.
4823
- * Allows clients to ignore duplicate webhooks.
5361
+ interface QueryCursorResult$1 {
5362
+ cursors: Cursors$1;
5363
+ hasNext: () => boolean;
5364
+ hasPrev: () => boolean;
5365
+ length: number;
5366
+ pageSize: number;
5367
+ }
5368
+ interface ContentsQueryResult extends QueryCursorResult$1 {
5369
+ items: Content[];
5370
+ query: ContentsQueryBuilder;
5371
+ next: () => Promise<ContentsQueryResult>;
5372
+ prev: () => Promise<ContentsQueryResult>;
5373
+ }
5374
+ interface ContentsQueryBuilder {
5375
+ /** @param propertyName - Property whose value is compared with `value`.
5376
+ * @param value - Value to compare against.
5377
+ * @documentationMaturity preview
4824
5378
  */
4825
- _id?: string;
4826
- /**
4827
- * Assumes actions are also always typed to an entity_type
4828
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
5379
+ eq: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any) => ContentsQueryBuilder;
5380
+ /** @param propertyName - Property whose value is compared with `value`.
5381
+ * @param value - Value to compare against.
5382
+ * @documentationMaturity preview
4829
5383
  */
4830
- entityFqdn?: string;
4831
- /**
4832
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
4833
- * This is although the created/updated/deleted notion is duplication of the oneof types
4834
- * Example: created/updated/deleted/started/completed/email_opened
5384
+ ne: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any) => ContentsQueryBuilder;
5385
+ /** @param propertyName - Property whose value is compared with `string`.
5386
+ * @param string - String to compare against. Case-insensitive.
5387
+ * @documentationMaturity preview
4835
5388
  */
4836
- slug?: string;
4837
- /** ID of the entity associated with the event. */
4838
- entityId?: string;
4839
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4840
- eventTime?: Date;
4841
- /**
4842
- * Whether the event was triggered as a result of a privacy regulation application
4843
- * (for example, GDPR).
5389
+ startsWith: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId', value: string) => ContentsQueryBuilder;
5390
+ /** @param propertyName - Property whose value is compared with `values`.
5391
+ * @param values - List of values to compare against.
5392
+ * @documentationMaturity preview
4844
5393
  */
4845
- triggeredByAnonymizeRequest?: boolean | null;
4846
- /** If present, indicates the action that triggered the event. */
4847
- originatedFrom?: string | null;
4848
- /**
4849
- * A sequence number defining the order of updates to the underlying entity.
4850
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
4851
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
4852
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
4853
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
4854
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
5394
+ hasSome: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any[]) => ContentsQueryBuilder;
5395
+ /** @documentationMaturity preview */
5396
+ in: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: any) => ContentsQueryBuilder;
5397
+ /** @documentationMaturity preview */
5398
+ exists: (propertyName: '_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus', value: boolean) => ContentsQueryBuilder;
5399
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
5400
+ * @documentationMaturity preview
4855
5401
  */
4856
- entityEventSequence?: string | null;
4857
- }
4858
- interface ContentCreatedEnvelope {
4859
- entity: Content;
4860
- metadata: EventMetadata$1;
4861
- }
4862
- interface ContentUpdatedEnvelope {
4863
- entity: Content;
4864
- metadata: EventMetadata$1;
4865
- }
4866
- interface ContentDeletedEnvelope {
4867
- entity: Content;
4868
- metadata: EventMetadata$1;
4869
- }
4870
- interface QueryContentsOptions {
4871
- /** WQL expression. */
4872
- query?: CursorQuery$1;
5402
+ ascending: (...propertyNames: Array<'_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus'>) => ContentsQueryBuilder;
5403
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
5404
+ * @documentationMaturity preview
5405
+ */
5406
+ descending: (...propertyNames: Array<'_id' | 'schemaId' | 'entityId' | 'locale' | 'parentEntityId' | 'publishStatus'>) => ContentsQueryBuilder;
5407
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
5408
+ * @documentationMaturity preview
5409
+ */
5410
+ limit: (limit: number) => ContentsQueryBuilder;
5411
+ /** @param cursor - A pointer to specific record
5412
+ * @documentationMaturity preview
5413
+ */
5414
+ skipTo: (cursor: string) => ContentsQueryBuilder;
5415
+ /** @documentationMaturity preview */
5416
+ find: () => Promise<ContentsQueryResult>;
4873
5417
  }
4874
5418
  interface SearchContentsOptions {
4875
5419
  search?: CursorSearch;
@@ -4882,23 +5426,24 @@ interface BulkUpdateContentOptions {
4882
5426
  /** set to `true` if you wish to receive back the created contents in the response */
4883
5427
  returnEntity?: boolean;
4884
5428
  }
5429
+ interface BulkUpdateContentByKeyOptions {
5430
+ /** set to `true` if you wish to receive back the created contents in the response */
5431
+ returnEntity?: boolean;
5432
+ }
4885
5433
 
4886
5434
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4887
5435
 
4888
- declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4889
-
4890
5436
  declare const createContent: ReturnType<typeof createRESTModule$1<typeof publicCreateContent>>;
4891
5437
  declare const getContent: ReturnType<typeof createRESTModule$1<typeof publicGetContent>>;
4892
5438
  declare const updateContent: ReturnType<typeof createRESTModule$1<typeof publicUpdateContent>>;
5439
+ declare const updateContentByKey: ReturnType<typeof createRESTModule$1<typeof publicUpdateContentByKey>>;
4893
5440
  declare const deleteContent: ReturnType<typeof createRESTModule$1<typeof publicDeleteContent>>;
4894
5441
  declare const queryContents: ReturnType<typeof createRESTModule$1<typeof publicQueryContents>>;
4895
5442
  declare const searchContents: ReturnType<typeof createRESTModule$1<typeof publicSearchContents>>;
4896
5443
  declare const bulkCreateContent: ReturnType<typeof createRESTModule$1<typeof publicBulkCreateContent>>;
4897
5444
  declare const bulkUpdateContent: ReturnType<typeof createRESTModule$1<typeof publicBulkUpdateContent>>;
5445
+ declare const bulkUpdateContentByKey: ReturnType<typeof createRESTModule$1<typeof publicBulkUpdateContentByKey>>;
4898
5446
  declare const bulkDeleteContent: ReturnType<typeof createRESTModule$1<typeof publicBulkDeleteContent>>;
4899
- declare const onContentCreated: ReturnType<typeof createEventModule$1<typeof publicOnContentCreated>>;
4900
- declare const onContentUpdated: ReturnType<typeof createEventModule$1<typeof publicOnContentUpdated>>;
4901
- declare const onContentDeleted: ReturnType<typeof createEventModule$1<typeof publicOnContentDeleted>>;
4902
5447
 
4903
5448
  type context$1_Aggregation = Aggregation;
4904
5449
  type context$1_AggregationData = AggregationData;
@@ -4935,8 +5480,14 @@ type context$1_BulkDeleteContentRequest = BulkDeleteContentRequest;
4935
5480
  type context$1_BulkDeleteContentResponse = BulkDeleteContentResponse;
4936
5481
  type context$1_BulkDeleteContentResponseBulkContentResult = BulkDeleteContentResponseBulkContentResult;
4937
5482
  type context$1_BulkDeleteContentResponseNonNullableFields = BulkDeleteContentResponseNonNullableFields;
5483
+ type context$1_BulkUpdateContentByKeyOptions = BulkUpdateContentByKeyOptions;
5484
+ type context$1_BulkUpdateContentByKeyRequest = BulkUpdateContentByKeyRequest;
5485
+ type context$1_BulkUpdateContentByKeyResponse = BulkUpdateContentByKeyResponse;
5486
+ type context$1_BulkUpdateContentByKeyResponseBulkContentResult = BulkUpdateContentByKeyResponseBulkContentResult;
5487
+ type context$1_BulkUpdateContentByKeyResponseNonNullableFields = BulkUpdateContentByKeyResponseNonNullableFields;
4938
5488
  type context$1_BulkUpdateContentOptions = BulkUpdateContentOptions;
4939
5489
  type context$1_BulkUpdateContentRequest = BulkUpdateContentRequest;
5490
+ type context$1_BulkUpdateContentRequestMaskedContent = BulkUpdateContentRequestMaskedContent;
4940
5491
  type context$1_BulkUpdateContentResponse = BulkUpdateContentResponse;
4941
5492
  type context$1_BulkUpdateContentResponseBulkContentResult = BulkUpdateContentResponseBulkContentResult;
4942
5493
  type context$1_BulkUpdateContentResponseNonNullableFields = BulkUpdateContentResponseNonNullableFields;
@@ -4948,12 +5499,11 @@ type context$1_CollapsibleListData = CollapsibleListData;
4948
5499
  type context$1_ColorData = ColorData;
4949
5500
  type context$1_Colors = Colors;
4950
5501
  type context$1_Content = Content;
4951
- type context$1_ContentCreatedEnvelope = ContentCreatedEnvelope;
4952
- type context$1_ContentDeletedEnvelope = ContentDeletedEnvelope;
4953
5502
  type context$1_ContentField = ContentField;
4954
5503
  type context$1_ContentFieldValueOneOf = ContentFieldValueOneOf;
4955
5504
  type context$1_ContentNonNullableFields = ContentNonNullableFields;
4956
- type context$1_ContentUpdatedEnvelope = ContentUpdatedEnvelope;
5505
+ type context$1_ContentsQueryBuilder = ContentsQueryBuilder;
5506
+ type context$1_ContentsQueryResult = ContentsQueryResult;
4957
5507
  type context$1_CreateContentRequest = CreateContentRequest;
4958
5508
  type context$1_CreateContentResponse = CreateContentResponse;
4959
5509
  type context$1_CreateContentResponseNonNullableFields = CreateContentResponseNonNullableFields;
@@ -5062,6 +5612,10 @@ type context$1_Paging = Paging;
5062
5612
  type context$1_PagingMetadataV2 = PagingMetadataV2;
5063
5613
  type context$1_ParagraphData = ParagraphData;
5064
5614
  type context$1_Permissions = Permissions;
5615
+ type context$1_PermissiveBulkUpdateContentRequest = PermissiveBulkUpdateContentRequest;
5616
+ type context$1_PermissiveBulkUpdateContentRequestMaskedContent = PermissiveBulkUpdateContentRequestMaskedContent;
5617
+ type context$1_PermissiveBulkUpdateContentResponse = PermissiveBulkUpdateContentResponse;
5618
+ type context$1_PermissiveBulkUpdateContentResponseBulkContentResult = PermissiveBulkUpdateContentResponseBulkContentResult;
5065
5619
  type context$1_PlaybackOptions = PlaybackOptions;
5066
5620
  type context$1_PluginContainerData = PluginContainerData;
5067
5621
  type context$1_PluginContainerDataAlignment = PluginContainerDataAlignment;
@@ -5132,6 +5686,9 @@ type context$1_ThumbnailsAlignment = ThumbnailsAlignment;
5132
5686
  declare const context$1_ThumbnailsAlignment: typeof ThumbnailsAlignment;
5133
5687
  type context$1_Type = Type;
5134
5688
  declare const context$1_Type: typeof Type;
5689
+ type context$1_UpdateContentByKeyRequest = UpdateContentByKeyRequest;
5690
+ type context$1_UpdateContentByKeyResponse = UpdateContentByKeyResponse;
5691
+ type context$1_UpdateContentByKeyResponseNonNullableFields = UpdateContentByKeyResponseNonNullableFields;
5135
5692
  type context$1_UpdateContentRequest = UpdateContentRequest;
5136
5693
  type context$1_UpdateContentResponse = UpdateContentResponse;
5137
5694
  type context$1_UpdateContentResponseNonNullableFields = UpdateContentResponseNonNullableFields;
@@ -5160,17 +5717,16 @@ declare const context$1_WidthType: typeof WidthType;
5160
5717
  declare const context$1_bulkCreateContent: typeof bulkCreateContent;
5161
5718
  declare const context$1_bulkDeleteContent: typeof bulkDeleteContent;
5162
5719
  declare const context$1_bulkUpdateContent: typeof bulkUpdateContent;
5720
+ declare const context$1_bulkUpdateContentByKey: typeof bulkUpdateContentByKey;
5163
5721
  declare const context$1_createContent: typeof createContent;
5164
5722
  declare const context$1_deleteContent: typeof deleteContent;
5165
5723
  declare const context$1_getContent: typeof getContent;
5166
- declare const context$1_onContentCreated: typeof onContentCreated;
5167
- declare const context$1_onContentDeleted: typeof onContentDeleted;
5168
- declare const context$1_onContentUpdated: typeof onContentUpdated;
5169
5724
  declare const context$1_queryContents: typeof queryContents;
5170
5725
  declare const context$1_searchContents: typeof searchContents;
5171
5726
  declare const context$1_updateContent: typeof updateContent;
5727
+ declare const context$1_updateContentByKey: typeof updateContentByKey;
5172
5728
  declare namespace context$1 {
5173
- export { type ActionEvent$1 as ActionEvent, type context$1_Aggregation as Aggregation, type context$1_AggregationData as AggregationData, type context$1_AggregationKindOneOf as AggregationKindOneOf, type context$1_AggregationResults as AggregationResults, type context$1_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context$1_AggregationResultsScalarResult as AggregationResultsScalarResult, context$1_AggregationType as AggregationType, context$1_Alignment as Alignment, type context$1_AnchorData as AnchorData, type context$1_AppEmbedData as AppEmbedData, type context$1_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context$1_AppType as AppType, type context$1_ApplicationError as ApplicationError, type Asset$1 as Asset, type context$1_AudioData as AudioData, type context$1_Background as Background, type context$1_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context$1_BackgroundType as BackgroundType, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BlockquoteData as BlockquoteData, type context$1_BookingData as BookingData, type context$1_Border as Border, type context$1_BorderColors as BorderColors, type context$1_BulkActionMetadata as BulkActionMetadata, type context$1_BulkContentResult as BulkContentResult, type context$1_BulkCreateContentOptions as BulkCreateContentOptions, type context$1_BulkCreateContentRequest as BulkCreateContentRequest, type context$1_BulkCreateContentResponse as BulkCreateContentResponse, type context$1_BulkCreateContentResponseNonNullableFields as BulkCreateContentResponseNonNullableFields, type context$1_BulkDeleteContentRequest as BulkDeleteContentRequest, type context$1_BulkDeleteContentResponse as BulkDeleteContentResponse, type context$1_BulkDeleteContentResponseBulkContentResult as BulkDeleteContentResponseBulkContentResult, type context$1_BulkDeleteContentResponseNonNullableFields as BulkDeleteContentResponseNonNullableFields, type context$1_BulkUpdateContentOptions as BulkUpdateContentOptions, type context$1_BulkUpdateContentRequest as BulkUpdateContentRequest, type context$1_BulkUpdateContentResponse as BulkUpdateContentResponse, type context$1_BulkUpdateContentResponseBulkContentResult as BulkUpdateContentResponseBulkContentResult, type context$1_BulkUpdateContentResponseNonNullableFields as BulkUpdateContentResponseNonNullableFields, type context$1_BulletedListData as BulletedListData, type context$1_ButtonData as ButtonData, type context$1_CellStyle as CellStyle, type context$1_CodeBlockData as CodeBlockData, type context$1_CollapsibleListData as CollapsibleListData, type context$1_ColorData as ColorData, type context$1_Colors as Colors, type context$1_Content as Content, type context$1_ContentCreatedEnvelope as ContentCreatedEnvelope, type context$1_ContentDeletedEnvelope as ContentDeletedEnvelope, type context$1_ContentField as ContentField, type context$1_ContentFieldValueOneOf as ContentFieldValueOneOf, type context$1_ContentNonNullableFields as ContentNonNullableFields, type context$1_ContentUpdatedEnvelope as ContentUpdatedEnvelope, type context$1_CreateContentRequest as CreateContentRequest, type context$1_CreateContentResponse as CreateContentResponse, type context$1_CreateContentResponseNonNullableFields as CreateContentResponseNonNullableFields, context$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 context$1_CursorSearch as CursorSearch, type context$1_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type context$1_DateHistogramAggregation as DateHistogramAggregation, type context$1_DateHistogramResult as DateHistogramResult, type context$1_DateHistogramResults as DateHistogramResults, type context$1_Decoration as Decoration, type context$1_DecorationDataOneOf as DecorationDataOneOf, context$1_DecorationType as DecorationType, type context$1_DeleteContentRequest as DeleteContentRequest, type context$1_DeleteContentResponse as DeleteContentResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type context$1_Design as Design, type context$1_Dimensions as Dimensions, context$1_Direction as Direction, type context$1_DividerData as DividerData, type context$1_DocumentStyle as DocumentStyle, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$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 context$1_EventData as EventData, type EventMetadata$1 as EventMetadata, type context$1_FileData as FileData, type context$1_FileSource as FileSource, type context$1_FileSourceDataOneOf as FileSourceDataOneOf, type context$1_FontSizeData as FontSizeData, context$1_FontType as FontType, type context$1_GIF as GIF, type context$1_GIFData as GIFData, type context$1_GalleryData as GalleryData, type context$1_GalleryOptions as GalleryOptions, type context$1_GetContentRequest as GetContentRequest, type context$1_GetContentResponse as GetContentResponse, type context$1_GetContentResponseNonNullableFields as GetContentResponseNonNullableFields, type context$1_Gradient as Gradient, type context$1_GroupByAggregation as GroupByAggregation, type context$1_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type context$1_GroupByValueResults as GroupByValueResults, type context$1_HTMLData as HTMLData, type context$1_HTMLDataDataOneOf as HTMLDataDataOneOf, type context$1_HeadingData as HeadingData, type context$1_Height as Height, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, type context$1_ImageData as ImageData, type context$1_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context$1_InitialExpandedItems as InitialExpandedItems, context$1_Interval as Interval, type context$1_Item as Item, type context$1_ItemDataOneOf as ItemDataOneOf, type context$1_ItemMetadata as ItemMetadata, type context$1_ItemStyle as ItemStyle, type context$1_Layout as Layout, context$1_LayoutType as LayoutType, context$1_LineStyle as LineStyle, type context$1_Link as Link, type context$1_LinkData as LinkData, type context$1_LinkDataOneOf as LinkDataOneOf, type context$1_LinkPreviewData as LinkPreviewData, type context$1_ListValue as ListValue, type context$1_MapData as MapData, type context$1_MapSettings as MapSettings, context$1_MapType as MapType, type context$1_MaskedContent as MaskedContent, type context$1_Media as Media, type context$1_MentionData as MentionData, type MessageEnvelope$1 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type context$1_Metadata as Metadata, context$1_MissingValues as MissingValues, context$1_Mode as Mode, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type context$1_NestedAggregation as NestedAggregation, type context$1_NestedAggregationItem as NestedAggregationItem, type context$1_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context$1_NestedAggregationResults as NestedAggregationResults, type context$1_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context$1_NestedAggregationType as NestedAggregationType, type context$1_NestedResultValue as NestedResultValue, type context$1_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context$1_NestedResults as NestedResults, type context$1_NestedValueAggregationResult as NestedValueAggregationResult, type context$1_Node as Node, type context$1_NodeDataOneOf as NodeDataOneOf, type context$1_NodeStyle as NodeStyle, context$1_NodeType as NodeType, context$1_NullValue as NullValue, type context$1_Oembed as Oembed, type context$1_Option as Option, type context$1_OptionDesign as OptionDesign, type context$1_OptionLayout as OptionLayout, type context$1_OrderedListData as OrderedListData, context$1_Orientation as Orientation, type context$1_PDFSettings as PDFSettings, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_ParagraphData as ParagraphData, type context$1_Permissions as Permissions, type context$1_PlaybackOptions as PlaybackOptions, type context$1_PluginContainerData as PluginContainerData, context$1_PluginContainerDataAlignment as PluginContainerDataAlignment, type context$1_PluginContainerDataWidth as PluginContainerDataWidth, type context$1_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context$1_Poll as Poll, type context$1_PollData as PollData, type context$1_PollDataLayout as PollDataLayout, type context$1_PollDesign as PollDesign, type context$1_PollLayout as PollLayout, context$1_PollLayoutDirection as PollLayoutDirection, context$1_PollLayoutType as PollLayoutType, context$1_PublishStatus as PublishStatus, type context$1_QueryContentsLegacyRequest as QueryContentsLegacyRequest, type context$1_QueryContentsLegacyResponse as QueryContentsLegacyResponse, type context$1_QueryContentsOptions as QueryContentsOptions, type context$1_QueryContentsRequest as QueryContentsRequest, type context$1_QueryContentsResponse as QueryContentsResponse, type context$1_QueryContentsResponseNonNullableFields as QueryContentsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_RangeAggregation as RangeAggregation, type context$1_RangeAggregationResult as RangeAggregationResult, type context$1_RangeBucket as RangeBucket, type context$1_RangeResult as RangeResult, type context$1_RangeResults as RangeResults, type context$1_Rel as Rel, type context$1_RemoveContentsByFilterRequest as RemoveContentsByFilterRequest, type context$1_RemoveContentsByFilterResponse as RemoveContentsByFilterResponse, type context$1_RepublishContentByFilterRequest as RepublishContentByFilterRequest, type context$1_RepublishContentByFilterResponse as RepublishContentByFilterResponse, type RestoreInfo$1 as RestoreInfo, type context$1_Results as Results, type context$1_RichContent as RichContent, type context$1_ScalarAggregation as ScalarAggregation, type context$1_ScalarResult as ScalarResult, context$1_ScalarType as ScalarType, type context$1_SearchContentsOptions as SearchContentsOptions, type context$1_SearchContentsRequest as SearchContentsRequest, type context$1_SearchContentsResponse as SearchContentsResponse, type context$1_SearchContentsResponseNonNullableFields as SearchContentsResponseNonNullableFields, type context$1_SearchDetails as SearchDetails, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type context$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, context$1_SortDirection as SortDirection, SortOrder$1 as SortOrder, context$1_SortType as SortType, type Sorting$1 as Sorting, context$1_Source as Source, type context$1_Spoiler as Spoiler, type context$1_SpoilerData as SpoilerData, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type context$1_Styles as Styles, type context$1_TableCellData as TableCellData, type context$1_TableData as TableData, context$1_Target as Target, context$1_TextAlignment as TextAlignment, type context$1_TextData as TextData, type context$1_TextNodeStyle as TextNodeStyle, type context$1_TextStyle as TextStyle, type context$1_Thumbnails as Thumbnails, context$1_ThumbnailsAlignment as ThumbnailsAlignment, context$1_Type as Type, type context$1_UpdateContentRequest as UpdateContentRequest, type context$1_UpdateContentResponse as UpdateContentResponse, type context$1_UpdateContentResponseNonNullableFields as UpdateContentResponseNonNullableFields, context$1_UpdaterIdentity as UpdaterIdentity, type context$1_ValueAggregation as ValueAggregation, type context$1_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context$1_ValueAggregationResult as ValueAggregationResult, type context$1_ValueResult as ValueResult, type context$1_ValueResults as ValueResults, context$1_VerticalAlignment as VerticalAlignment, type context$1_Video as Video, type context$1_VideoData as VideoData, type context$1_VideoResolution as VideoResolution, context$1_ViewMode as ViewMode, context$1_ViewRole as ViewRole, context$1_VoteRole as VoteRole, WebhookIdentityType$1 as WebhookIdentityType, context$1_Width as Width, context$1_WidthType as WidthType, context$1_bulkCreateContent as bulkCreateContent, context$1_bulkDeleteContent as bulkDeleteContent, context$1_bulkUpdateContent as bulkUpdateContent, context$1_createContent as createContent, context$1_deleteContent as deleteContent, context$1_getContent as getContent, context$1_onContentCreated as onContentCreated, context$1_onContentDeleted as onContentDeleted, context$1_onContentUpdated as onContentUpdated, context$1_queryContents as queryContents, context$1_searchContents as searchContents, context$1_updateContent as updateContent };
5729
+ export { type ActionEvent$1 as ActionEvent, type context$1_Aggregation as Aggregation, type context$1_AggregationData as AggregationData, type context$1_AggregationKindOneOf as AggregationKindOneOf, type context$1_AggregationResults as AggregationResults, type context$1_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context$1_AggregationResultsScalarResult as AggregationResultsScalarResult, context$1_AggregationType as AggregationType, context$1_Alignment as Alignment, type context$1_AnchorData as AnchorData, type context$1_AppEmbedData as AppEmbedData, type context$1_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context$1_AppType as AppType, type context$1_ApplicationError as ApplicationError, type Asset$1 as Asset, type context$1_AudioData as AudioData, type context$1_Background as Background, type context$1_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context$1_BackgroundType as BackgroundType, type context$1_BlockquoteData as BlockquoteData, type context$1_BookingData as BookingData, type context$1_Border as Border, type context$1_BorderColors as BorderColors, type context$1_BulkActionMetadata as BulkActionMetadata, type context$1_BulkContentResult as BulkContentResult, type context$1_BulkCreateContentOptions as BulkCreateContentOptions, type context$1_BulkCreateContentRequest as BulkCreateContentRequest, type context$1_BulkCreateContentResponse as BulkCreateContentResponse, type context$1_BulkCreateContentResponseNonNullableFields as BulkCreateContentResponseNonNullableFields, type context$1_BulkDeleteContentRequest as BulkDeleteContentRequest, type context$1_BulkDeleteContentResponse as BulkDeleteContentResponse, type context$1_BulkDeleteContentResponseBulkContentResult as BulkDeleteContentResponseBulkContentResult, type context$1_BulkDeleteContentResponseNonNullableFields as BulkDeleteContentResponseNonNullableFields, type context$1_BulkUpdateContentByKeyOptions as BulkUpdateContentByKeyOptions, type context$1_BulkUpdateContentByKeyRequest as BulkUpdateContentByKeyRequest, type context$1_BulkUpdateContentByKeyResponse as BulkUpdateContentByKeyResponse, type context$1_BulkUpdateContentByKeyResponseBulkContentResult as BulkUpdateContentByKeyResponseBulkContentResult, type context$1_BulkUpdateContentByKeyResponseNonNullableFields as BulkUpdateContentByKeyResponseNonNullableFields, type context$1_BulkUpdateContentOptions as BulkUpdateContentOptions, type context$1_BulkUpdateContentRequest as BulkUpdateContentRequest, type context$1_BulkUpdateContentRequestMaskedContent as BulkUpdateContentRequestMaskedContent, type context$1_BulkUpdateContentResponse as BulkUpdateContentResponse, type context$1_BulkUpdateContentResponseBulkContentResult as BulkUpdateContentResponseBulkContentResult, type context$1_BulkUpdateContentResponseNonNullableFields as BulkUpdateContentResponseNonNullableFields, type context$1_BulletedListData as BulletedListData, type context$1_ButtonData as ButtonData, type context$1_CellStyle as CellStyle, type context$1_CodeBlockData as CodeBlockData, type context$1_CollapsibleListData as CollapsibleListData, type context$1_ColorData as ColorData, type context$1_Colors as Colors, type context$1_Content as Content, type context$1_ContentField as ContentField, type context$1_ContentFieldValueOneOf as ContentFieldValueOneOf, type context$1_ContentNonNullableFields as ContentNonNullableFields, type context$1_ContentsQueryBuilder as ContentsQueryBuilder, type context$1_ContentsQueryResult as ContentsQueryResult, type context$1_CreateContentRequest as CreateContentRequest, type context$1_CreateContentResponse as CreateContentResponse, type context$1_CreateContentResponseNonNullableFields as CreateContentResponseNonNullableFields, context$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 context$1_CursorSearch as CursorSearch, type context$1_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type context$1_DateHistogramAggregation as DateHistogramAggregation, type context$1_DateHistogramResult as DateHistogramResult, type context$1_DateHistogramResults as DateHistogramResults, type context$1_Decoration as Decoration, type context$1_DecorationDataOneOf as DecorationDataOneOf, context$1_DecorationType as DecorationType, type context$1_DeleteContentRequest as DeleteContentRequest, type context$1_DeleteContentResponse as DeleteContentResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type context$1_Design as Design, type context$1_Dimensions as Dimensions, context$1_Direction as Direction, type context$1_DividerData as DividerData, type context$1_DocumentStyle as DocumentStyle, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$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 context$1_EventData as EventData, type context$1_FileData as FileData, type context$1_FileSource as FileSource, type context$1_FileSourceDataOneOf as FileSourceDataOneOf, type context$1_FontSizeData as FontSizeData, context$1_FontType as FontType, type context$1_GIF as GIF, type context$1_GIFData as GIFData, type context$1_GalleryData as GalleryData, type context$1_GalleryOptions as GalleryOptions, type context$1_GetContentRequest as GetContentRequest, type context$1_GetContentResponse as GetContentResponse, type context$1_GetContentResponseNonNullableFields as GetContentResponseNonNullableFields, type context$1_Gradient as Gradient, type context$1_GroupByAggregation as GroupByAggregation, type context$1_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type context$1_GroupByValueResults as GroupByValueResults, type context$1_HTMLData as HTMLData, type context$1_HTMLDataDataOneOf as HTMLDataDataOneOf, type context$1_HeadingData as HeadingData, type context$1_Height as Height, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, type context$1_ImageData as ImageData, type context$1_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context$1_InitialExpandedItems as InitialExpandedItems, context$1_Interval as Interval, type context$1_Item as Item, type context$1_ItemDataOneOf as ItemDataOneOf, type context$1_ItemMetadata as ItemMetadata, type context$1_ItemStyle as ItemStyle, type context$1_Layout as Layout, context$1_LayoutType as LayoutType, context$1_LineStyle as LineStyle, type context$1_Link as Link, type context$1_LinkData as LinkData, type context$1_LinkDataOneOf as LinkDataOneOf, type context$1_LinkPreviewData as LinkPreviewData, type context$1_ListValue as ListValue, type context$1_MapData as MapData, type context$1_MapSettings as MapSettings, context$1_MapType as MapType, type context$1_MaskedContent as MaskedContent, type context$1_Media as Media, type context$1_MentionData as MentionData, type MessageEnvelope$1 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type context$1_Metadata as Metadata, context$1_MissingValues as MissingValues, context$1_Mode as Mode, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type context$1_NestedAggregation as NestedAggregation, type context$1_NestedAggregationItem as NestedAggregationItem, type context$1_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context$1_NestedAggregationResults as NestedAggregationResults, type context$1_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context$1_NestedAggregationType as NestedAggregationType, type context$1_NestedResultValue as NestedResultValue, type context$1_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context$1_NestedResults as NestedResults, type context$1_NestedValueAggregationResult as NestedValueAggregationResult, type context$1_Node as Node, type context$1_NodeDataOneOf as NodeDataOneOf, type context$1_NodeStyle as NodeStyle, context$1_NodeType as NodeType, context$1_NullValue as NullValue, type context$1_Oembed as Oembed, type context$1_Option as Option, type context$1_OptionDesign as OptionDesign, type context$1_OptionLayout as OptionLayout, type context$1_OrderedListData as OrderedListData, context$1_Orientation as Orientation, type context$1_PDFSettings as PDFSettings, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_ParagraphData as ParagraphData, type context$1_Permissions as Permissions, type context$1_PermissiveBulkUpdateContentRequest as PermissiveBulkUpdateContentRequest, type context$1_PermissiveBulkUpdateContentRequestMaskedContent as PermissiveBulkUpdateContentRequestMaskedContent, type context$1_PermissiveBulkUpdateContentResponse as PermissiveBulkUpdateContentResponse, type context$1_PermissiveBulkUpdateContentResponseBulkContentResult as PermissiveBulkUpdateContentResponseBulkContentResult, type context$1_PlaybackOptions as PlaybackOptions, type context$1_PluginContainerData as PluginContainerData, context$1_PluginContainerDataAlignment as PluginContainerDataAlignment, type context$1_PluginContainerDataWidth as PluginContainerDataWidth, type context$1_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context$1_Poll as Poll, type context$1_PollData as PollData, type context$1_PollDataLayout as PollDataLayout, type context$1_PollDesign as PollDesign, type context$1_PollLayout as PollLayout, context$1_PollLayoutDirection as PollLayoutDirection, context$1_PollLayoutType as PollLayoutType, context$1_PublishStatus as PublishStatus, type context$1_QueryContentsLegacyRequest as QueryContentsLegacyRequest, type context$1_QueryContentsLegacyResponse as QueryContentsLegacyResponse, type context$1_QueryContentsOptions as QueryContentsOptions, type context$1_QueryContentsRequest as QueryContentsRequest, type context$1_QueryContentsResponse as QueryContentsResponse, type context$1_QueryContentsResponseNonNullableFields as QueryContentsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_RangeAggregation as RangeAggregation, type context$1_RangeAggregationResult as RangeAggregationResult, type context$1_RangeBucket as RangeBucket, type context$1_RangeResult as RangeResult, type context$1_RangeResults as RangeResults, type context$1_Rel as Rel, type context$1_RemoveContentsByFilterRequest as RemoveContentsByFilterRequest, type context$1_RemoveContentsByFilterResponse as RemoveContentsByFilterResponse, type context$1_RepublishContentByFilterRequest as RepublishContentByFilterRequest, type context$1_RepublishContentByFilterResponse as RepublishContentByFilterResponse, type RestoreInfo$1 as RestoreInfo, type context$1_Results as Results, type context$1_RichContent as RichContent, type context$1_ScalarAggregation as ScalarAggregation, type context$1_ScalarResult as ScalarResult, context$1_ScalarType as ScalarType, type context$1_SearchContentsOptions as SearchContentsOptions, type context$1_SearchContentsRequest as SearchContentsRequest, type context$1_SearchContentsResponse as SearchContentsResponse, type context$1_SearchContentsResponseNonNullableFields as SearchContentsResponseNonNullableFields, type context$1_SearchDetails as SearchDetails, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type context$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, context$1_SortDirection as SortDirection, SortOrder$1 as SortOrder, context$1_SortType as SortType, type Sorting$1 as Sorting, context$1_Source as Source, type context$1_Spoiler as Spoiler, type context$1_SpoilerData as SpoilerData, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type context$1_Styles as Styles, type context$1_TableCellData as TableCellData, type context$1_TableData as TableData, context$1_Target as Target, context$1_TextAlignment as TextAlignment, type context$1_TextData as TextData, type context$1_TextNodeStyle as TextNodeStyle, type context$1_TextStyle as TextStyle, type context$1_Thumbnails as Thumbnails, context$1_ThumbnailsAlignment as ThumbnailsAlignment, context$1_Type as Type, type context$1_UpdateContentByKeyRequest as UpdateContentByKeyRequest, type context$1_UpdateContentByKeyResponse as UpdateContentByKeyResponse, type context$1_UpdateContentByKeyResponseNonNullableFields as UpdateContentByKeyResponseNonNullableFields, type context$1_UpdateContentRequest as UpdateContentRequest, type context$1_UpdateContentResponse as UpdateContentResponse, type context$1_UpdateContentResponseNonNullableFields as UpdateContentResponseNonNullableFields, context$1_UpdaterIdentity as UpdaterIdentity, type context$1_ValueAggregation as ValueAggregation, type context$1_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context$1_ValueAggregationResult as ValueAggregationResult, type context$1_ValueResult as ValueResult, type context$1_ValueResults as ValueResults, context$1_VerticalAlignment as VerticalAlignment, type context$1_Video as Video, type context$1_VideoData as VideoData, type context$1_VideoResolution as VideoResolution, context$1_ViewMode as ViewMode, context$1_ViewRole as ViewRole, context$1_VoteRole as VoteRole, WebhookIdentityType$1 as WebhookIdentityType, context$1_Width as Width, context$1_WidthType as WidthType, context$1_bulkCreateContent as bulkCreateContent, context$1_bulkDeleteContent as bulkDeleteContent, context$1_bulkUpdateContent as bulkUpdateContent, context$1_bulkUpdateContentByKey as bulkUpdateContentByKey, context$1_createContent as createContent, context$1_deleteContent as deleteContent, context$1_getContent as getContent, context$1_queryContents as queryContents, context$1_searchContents as searchContents, context$1_updateContent as updateContent, context$1_updateContentByKey as updateContentByKey };
5174
5730
  }
5175
5731
 
5176
5732
  interface Schema {
@@ -6038,4 +6594,4 @@ declare namespace context {
6038
6594
  export { type context_ActionEvent as ActionEvent, type context_Asset as Asset, type context_BaseEventMetadata as BaseEventMetadata, type context_CreateSchemaRequest as CreateSchemaRequest, type context_CreateSchemaResponse as CreateSchemaResponse, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteContext as DeleteContext, type context_DeleteSchemaRequest as DeleteSchemaRequest, type context_DeleteSchemaResponse as DeleteSchemaResponse, context_DeleteStatus as DeleteStatus, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, context_FieldType as FieldType, type context_GetSchemaByKey as GetSchemaByKey, type context_GetSchemaByKeyIdentifiers as GetSchemaByKeyIdentifiers, type context_GetSchemaByKeyRequest as GetSchemaByKeyRequest, type context_GetSchemaByKeyResponse as GetSchemaByKeyResponse, type context_GetSchemaByKeyResponseNonNullableFields as GetSchemaByKeyResponseNonNullableFields, type context_GetSchemaRequest as GetSchemaRequest, type context_GetSchemaResponse as GetSchemaResponse, type context_GetSchemaResponseNonNullableFields as GetSchemaResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListSiteSchemasOptions as ListSiteSchemasOptions, type context_ListSiteSchemasRequest as ListSiteSchemasRequest, type context_ListSiteSchemasResponse as ListSiteSchemasResponse, type context_ListSiteSchemasResponseNonNullableFields as ListSiteSchemasResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, type context_PreviewFields as PreviewFields, type context_QuerySchemasOptions as QuerySchemasOptions, type context_QuerySchemasRequest as QuerySchemasRequest, type context_QuerySchemasResponse as QuerySchemasResponse, type context_QuerySchemasResponseNonNullableFields as QuerySchemasResponseNonNullableFields, type context_RestoreInfo as RestoreInfo, type context_Schema as Schema, type context_SchemaCreatedEnvelope as SchemaCreatedEnvelope, type context_SchemaDeletedEnvelope as SchemaDeletedEnvelope, type context_SchemaField as SchemaField, type context_SchemaKey as SchemaKey, type context_SchemaNonNullableFields as SchemaNonNullableFields, context_SchemaScope as SchemaScope, type context_SchemaUpdatedEnvelope as SchemaUpdatedEnvelope, type context_SchemasQueryBuilder as SchemasQueryBuilder, type context_SchemasQueryResult as SchemasQueryResult, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, type context_UpdateSchemaRequest as UpdateSchemaRequest, type context_UpdateSchemaResponse as UpdateSchemaResponse, context_WebhookIdentityType as WebhookIdentityType, context_getSchema as getSchema, context_getSchemaByKey as getSchemaByKey, context_listSiteSchemas as listSiteSchemas, context_onSchemaCreated as onSchemaCreated, context_onSchemaDeleted as onSchemaDeleted, context_onSchemaUpdated as onSchemaUpdated, context_querySchemas as querySchemas };
6039
6595
  }
6040
6596
 
6041
- export { context$3 as machineTranslation, context$2 as siteTranslator, context$1 as translationContents, context as translationSchemas };
6597
+ export { context$4 as entityMapper, context$3 as machineTranslation, context$2 as siteTranslator, context$1 as translationContents, context as translationSchemas };