@wix/auto_sdk_multilingual_translation-published-contents 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/build/index.d.mts +47 -0
  2. package/build/index.d.ts +47 -0
  3. package/build/index.js +848 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +788 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +47 -0
  8. package/build/internal/index.d.ts +47 -0
  9. package/build/internal/index.js +848 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +788 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +1688 -0
  14. package/build/internal/meta.d.ts +1688 -0
  15. package/build/internal/meta.js +239 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +212 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → internal/multilingual-localization-public-v3-published-content-translation-published-contents.universal-DngHLA-S.d.mts} +284 -529
  20. package/build/internal/{cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → multilingual-localization-public-v3-published-content-translation-published-contents.universal-DngHLA-S.d.ts} +284 -529
  21. package/build/meta.d.mts +1688 -0
  22. package/build/meta.d.ts +1688 -0
  23. package/build/meta.js +239 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +212 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → multilingual-localization-public-v3-published-content-translation-published-contents.universal-DngHLA-S.d.mts} +284 -529
  28. package/build/{internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → multilingual-localization-public-v3-published-content-translation-published-contents.universal-DngHLA-S.d.ts} +284 -529
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
  40. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -57
  41. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
  42. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
  43. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -208
  44. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
  45. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
  46. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -47
  47. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
  48. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
  49. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -258
  50. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
  51. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -332
  52. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
  53. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts +0 -2267
  54. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -452
  55. package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
  66. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -21
  67. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
  68. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
  69. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -204
  70. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
  71. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
  72. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -20
  73. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
  74. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
  75. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -221
  76. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
  77. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -329
  78. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
  79. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts +0 -2267
  80. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -425
  81. package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
  92. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -57
  93. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
  94. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
  95. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -208
  96. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
  97. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
  98. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -47
  99. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
  100. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
  101. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -258
  102. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
  103. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -332
  104. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
  105. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts +0 -2267
  106. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -452
  107. package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
  118. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -21
  119. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
  120. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
  121. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -204
  122. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
  123. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
  124. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -20
  125. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
  126. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
  127. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -221
  128. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
  129. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -329
  130. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
  131. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts +0 -2267
  132. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -425
  133. package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js.map +0 -1
@@ -1,10 +1,10 @@
1
- export interface PublishedContent {
1
+ interface PublishedContent {
2
2
  /**
3
3
  * Published content ID.
4
4
  * @readonly
5
5
  * @format GUID
6
6
  */
7
- id?: string | null;
7
+ _id?: string | null;
8
8
  /** Schema key of the published content. */
9
9
  schemaKey?: SchemaKey;
10
10
  /**
@@ -33,7 +33,7 @@ export interface PublishedContent {
33
33
  /** Custom field data for the published content object. */
34
34
  extendedFields?: ExtendedFields;
35
35
  }
36
- export interface SchemaKey {
36
+ interface SchemaKey {
37
37
  /**
38
38
  * ID of the app that created the schema.
39
39
  * @format GUID
@@ -56,14 +56,14 @@ export interface SchemaKey {
56
56
  */
57
57
  scope?: SchemaScope;
58
58
  }
59
- export declare enum SchemaScope {
59
+ declare enum SchemaScope {
60
60
  UNKNOWN_SCOPE = "UNKNOWN_SCOPE",
61
61
  /** Global schema for all sites. */
62
62
  GLOBAL = "GLOBAL",
63
63
  /** Custom schema for a specific site. */
64
64
  SITE = "SITE"
65
65
  }
66
- export interface PublishedContentField extends PublishedContentFieldValueOneOf {
66
+ interface PublishedContentField extends PublishedContentFieldValueOneOf {
67
67
  /**
68
68
  * Plain text.
69
69
  * @maxLength 100000
@@ -72,11 +72,11 @@ export interface PublishedContentField extends PublishedContentFieldValueOneOf {
72
72
  /** Rich content. */
73
73
  richContent?: RichContent;
74
74
  /** Wix Media Manager image. */
75
- image?: Image;
75
+ image?: string;
76
76
  /** Wix Media Manager video. */
77
- video?: VideoV2;
77
+ video?: string;
78
78
  /** Wix Media Manager document. */
79
- document?: Document;
79
+ document?: string;
80
80
  /**
81
81
  * Unique string identifier that links a specific content field to its corresponding field in the schema.
82
82
  * @readonly
@@ -91,7 +91,7 @@ export interface PublishedContentField extends PublishedContentFieldValueOneOf {
91
91
  sequenceIds?: string[];
92
92
  }
93
93
  /** @oneof */
94
- export interface PublishedContentFieldValueOneOf {
94
+ interface PublishedContentFieldValueOneOf {
95
95
  /**
96
96
  * Plain text.
97
97
  * @maxLength 100000
@@ -100,13 +100,13 @@ export interface PublishedContentFieldValueOneOf {
100
100
  /** Rich content. */
101
101
  richContent?: RichContent;
102
102
  /** Wix Media Manager image. */
103
- image?: Image;
103
+ image?: string;
104
104
  /** Wix Media Manager video. */
105
- video?: VideoV2;
105
+ video?: string;
106
106
  /** Wix Media Manager document. */
107
- document?: Document;
107
+ document?: string;
108
108
  }
109
- export interface RichContent {
109
+ interface RichContent {
110
110
  /** Node objects representing a rich content document. */
111
111
  nodes?: Node[];
112
112
  /** Object metadata. */
@@ -114,7 +114,7 @@ export interface RichContent {
114
114
  /** Global styling for header, paragraph, block quote, and code block nodes in the object. */
115
115
  documentStyle?: DocumentStyle;
116
116
  }
117
- export interface Node extends NodeDataOneOf {
117
+ interface Node extends NodeDataOneOf {
118
118
  /** Data for a button node. */
119
119
  buttonData?: ButtonData;
120
120
  /** Data for a code block node. */
@@ -172,14 +172,14 @@ export interface Node extends NodeDataOneOf {
172
172
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
173
173
  type?: NodeType;
174
174
  /** Node ID. */
175
- id?: string;
175
+ _id?: string;
176
176
  /** A list of child nodes. */
177
177
  nodes?: Node[];
178
178
  /** Padding and background color styling for the node. */
179
179
  style?: NodeStyle;
180
180
  }
181
181
  /** @oneof */
182
- export interface NodeDataOneOf {
182
+ interface NodeDataOneOf {
183
183
  /** Data for a button node. */
184
184
  buttonData?: ButtonData;
185
185
  /** Data for a code block node. */
@@ -235,7 +235,7 @@ export interface NodeDataOneOf {
235
235
  /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
236
236
  layoutCellData?: LayoutCellData;
237
237
  }
238
- export declare enum NodeType {
238
+ declare enum NodeType {
239
239
  PARAGRAPH = "PARAGRAPH",
240
240
  TEXT = "TEXT",
241
241
  HEADING = "HEADING",
@@ -271,7 +271,7 @@ export declare enum NodeType {
271
271
  LAYOUT = "LAYOUT",
272
272
  LAYOUT_CELL = "LAYOUT_CELL"
273
273
  }
274
- export interface NodeStyle {
274
+ interface NodeStyle {
275
275
  /** The top padding value in pixels. */
276
276
  paddingTop?: string | null;
277
277
  /** The bottom padding value in pixels. */
@@ -279,7 +279,7 @@ export interface NodeStyle {
279
279
  /** The background color as a hexadecimal value. */
280
280
  backgroundColor?: string | null;
281
281
  }
282
- export interface ButtonData {
282
+ interface ButtonData {
283
283
  /** Styling for the button's container. */
284
284
  containerData?: PluginContainerData;
285
285
  /** The button type. */
@@ -291,7 +291,7 @@ export interface ButtonData {
291
291
  /** Button link details. */
292
292
  link?: Link;
293
293
  }
294
- export interface Border {
294
+ interface Border {
295
295
  /**
296
296
  * Deprecated: Use `borderWidth` in `styles` instead.
297
297
  * @deprecated
@@ -303,7 +303,7 @@ export interface Border {
303
303
  */
304
304
  radius?: number | null;
305
305
  }
306
- export interface Colors {
306
+ interface Colors {
307
307
  /**
308
308
  * Deprecated: Use `textColor` in `styles` instead.
309
309
  * @deprecated
@@ -320,7 +320,7 @@ export interface Colors {
320
320
  */
321
321
  background?: string | null;
322
322
  }
323
- export interface PluginContainerData {
323
+ interface PluginContainerData {
324
324
  /** The width of the node when it's displayed. */
325
325
  width?: PluginContainerDataWidth;
326
326
  /** The node's alignment within its container. */
@@ -332,7 +332,7 @@ export interface PluginContainerData {
332
332
  /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */
333
333
  textWrap?: boolean | null;
334
334
  }
335
- export declare enum WidthType {
335
+ declare enum WidthType {
336
336
  /** Width matches the content width */
337
337
  CONTENT = "CONTENT",
338
338
  /** Small Width */
@@ -342,7 +342,7 @@ export declare enum WidthType {
342
342
  /** coast-to-coast display */
343
343
  FULL_WIDTH = "FULL_WIDTH"
344
344
  }
345
- export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
345
+ interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
346
346
  /**
347
347
  * One of the following predefined width options:
348
348
  * `CONTENT`: The width of the container matches the content width.
@@ -355,7 +355,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
355
355
  custom?: string | null;
356
356
  }
357
357
  /** @oneof */
358
- export interface PluginContainerDataWidthDataOneOf {
358
+ interface PluginContainerDataWidthDataOneOf {
359
359
  /**
360
360
  * One of the following predefined width options:
361
361
  * `CONTENT`: The width of the container matches the content width.
@@ -367,7 +367,7 @@ export interface PluginContainerDataWidthDataOneOf {
367
367
  /** A custom width value in pixels. */
368
368
  custom?: string | null;
369
369
  }
370
- export declare enum PluginContainerDataAlignment {
370
+ declare enum PluginContainerDataAlignment {
371
371
  /** Center Alignment */
372
372
  CENTER = "CENTER",
373
373
  /** Left Alignment */
@@ -375,7 +375,7 @@ export declare enum PluginContainerDataAlignment {
375
375
  /** Right Alignment */
376
376
  RIGHT = "RIGHT"
377
377
  }
378
- export interface Spoiler {
378
+ interface Spoiler {
379
379
  /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
380
380
  enabled?: boolean | null;
381
381
  /** The description displayed on top of the spoiler cover. */
@@ -383,17 +383,17 @@ export interface Spoiler {
383
383
  /** The text for the button used to remove the spoiler cover. */
384
384
  buttonText?: string | null;
385
385
  }
386
- export interface Height {
386
+ interface Height {
387
387
  /** A custom height value in pixels. */
388
388
  custom?: string | null;
389
389
  }
390
- export declare enum Type {
390
+ declare enum Type {
391
391
  /** Regular link button */
392
392
  LINK = "LINK",
393
393
  /** Triggers custom action that is defined in plugin configuration by the consumer */
394
394
  ACTION = "ACTION"
395
395
  }
396
- export interface Styles {
396
+ interface Styles {
397
397
  /**
398
398
  * Deprecated: Use `borderWidth` and `borderRadius` instead.
399
399
  * @deprecated
@@ -446,7 +446,7 @@ export interface Styles {
446
446
  /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
447
447
  buttonSize?: string | null;
448
448
  }
449
- export interface Link extends LinkDataOneOf {
449
+ interface Link extends LinkDataOneOf {
450
450
  /** The absolute URL for the linked document. */
451
451
  url?: string;
452
452
  /** The target node's ID. Used for linking to another node in this object. */
@@ -465,13 +465,13 @@ export interface Link extends LinkDataOneOf {
465
465
  customData?: string | null;
466
466
  }
467
467
  /** @oneof */
468
- export interface LinkDataOneOf {
468
+ interface LinkDataOneOf {
469
469
  /** The absolute URL for the linked document. */
470
470
  url?: string;
471
471
  /** The target node's ID. Used for linking to another node in this object. */
472
472
  anchor?: string;
473
473
  }
474
- export declare enum Target {
474
+ declare enum Target {
475
475
  /** Opens the linked document in the same frame as it was clicked (this is default) */
476
476
  SELF = "SELF",
477
477
  /** Opens the linked document in a new window or tab */
@@ -481,7 +481,7 @@ export declare enum Target {
481
481
  /** Opens the linked document in the full body of the window */
482
482
  TOP = "TOP"
483
483
  }
484
- export interface Rel {
484
+ interface Rel {
485
485
  /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
486
486
  nofollow?: boolean | null;
487
487
  /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
@@ -491,17 +491,17 @@ export interface Rel {
491
491
  /** Indicates that this link protect referral information from being passed to the target website. */
492
492
  noreferrer?: boolean | null;
493
493
  }
494
- export interface CodeBlockData {
494
+ interface CodeBlockData {
495
495
  /** Styling for the code block's text. */
496
496
  textStyle?: TextStyle;
497
497
  }
498
- export interface TextStyle {
498
+ interface TextStyle {
499
499
  /** Text alignment. Defaults to `AUTO`. */
500
500
  textAlignment?: TextAlignment;
501
501
  /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
502
502
  lineHeight?: string | null;
503
503
  }
504
- export declare enum TextAlignment {
504
+ declare enum TextAlignment {
505
505
  /** browser default, eqivalent to `initial` */
506
506
  AUTO = "AUTO",
507
507
  /** Left align */
@@ -513,7 +513,7 @@ export declare enum TextAlignment {
513
513
  /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
514
514
  JUSTIFY = "JUSTIFY"
515
515
  }
516
- export interface DividerData {
516
+ interface DividerData {
517
517
  /** Styling for the divider's container. */
518
518
  containerData?: PluginContainerData;
519
519
  /** Divider line style. */
@@ -523,7 +523,7 @@ export interface DividerData {
523
523
  /** Divider alignment. */
524
524
  alignment?: Alignment;
525
525
  }
526
- export declare enum LineStyle {
526
+ declare enum LineStyle {
527
527
  /** Single Line */
528
528
  SINGLE = "SINGLE",
529
529
  /** Double Line */
@@ -533,7 +533,7 @@ export declare enum LineStyle {
533
533
  /** Dotted Line */
534
534
  DOTTED = "DOTTED"
535
535
  }
536
- export declare enum Width {
536
+ declare enum Width {
537
537
  /** Large line */
538
538
  LARGE = "LARGE",
539
539
  /** Medium line */
@@ -541,7 +541,7 @@ export declare enum Width {
541
541
  /** Small line */
542
542
  SMALL = "SMALL"
543
543
  }
544
- export declare enum Alignment {
544
+ declare enum Alignment {
545
545
  /** Center alignment */
546
546
  CENTER = "CENTER",
547
547
  /** Left alignment */
@@ -549,7 +549,7 @@ export declare enum Alignment {
549
549
  /** Right alignment */
550
550
  RIGHT = "RIGHT"
551
551
  }
552
- export interface FileData {
552
+ interface FileData {
553
553
  /** Styling for the file's container. */
554
554
  containerData?: PluginContainerData;
555
555
  /** The source for the file's data. */
@@ -572,7 +572,7 @@ export interface FileData {
572
572
  /** File size in KB. */
573
573
  sizeInKb?: string | null;
574
574
  }
575
- export declare enum ViewMode {
575
+ declare enum ViewMode {
576
576
  /** No PDF view */
577
577
  NONE = "NONE",
578
578
  /** Full PDF view */
@@ -580,7 +580,7 @@ export declare enum ViewMode {
580
580
  /** Mini PDF view */
581
581
  MINI = "MINI"
582
582
  }
583
- export interface FileSource extends FileSourceDataOneOf {
583
+ interface FileSource extends FileSourceDataOneOf {
584
584
  /** The absolute URL for the file's source. */
585
585
  url?: string | null;
586
586
  /**
@@ -589,12 +589,12 @@ export interface FileSource extends FileSourceDataOneOf {
589
589
  */
590
590
  custom?: string | null;
591
591
  /** An ID that's resolved to a URL by a resolver function. */
592
- id?: string | null;
592
+ _id?: string | null;
593
593
  /** Indicates whether the file's source is private. Defaults to `false`. */
594
594
  private?: boolean | null;
595
595
  }
596
596
  /** @oneof */
597
- export interface FileSourceDataOneOf {
597
+ interface FileSourceDataOneOf {
598
598
  /** The absolute URL for the file's source. */
599
599
  url?: string | null;
600
600
  /**
@@ -603,9 +603,9 @@ export interface FileSourceDataOneOf {
603
603
  */
604
604
  custom?: string | null;
605
605
  /** An ID that's resolved to a URL by a resolver function. */
606
- id?: string | null;
606
+ _id?: string | null;
607
607
  }
608
- export interface PDFSettings {
608
+ interface PDFSettings {
609
609
  /**
610
610
  * PDF view mode. One of the following:
611
611
  * `NONE` : The PDF isn't displayed.
@@ -618,7 +618,7 @@ export interface PDFSettings {
618
618
  /** Sets whether the PDF print button is disabled. Defaults to `false`. */
619
619
  disablePrint?: boolean | null;
620
620
  }
621
- export interface GalleryData {
621
+ interface GalleryData {
622
622
  /** Styling for the gallery's container. */
623
623
  containerData?: PluginContainerData;
624
624
  /** The items in the gallery. */
@@ -630,7 +630,7 @@ export interface GalleryData {
630
630
  /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
631
631
  disableDownload?: boolean | null;
632
632
  }
633
- export interface Media {
633
+ interface Media {
634
634
  /** The source for the media's data. */
635
635
  src?: FileSource;
636
636
  /** Media width in pixels. */
@@ -640,21 +640,21 @@ export interface Media {
640
640
  /** Media duration in seconds. Only relevant for audio and video files. */
641
641
  duration?: number | null;
642
642
  }
643
- export interface ItemImage {
643
+ interface Image {
644
644
  /** Image file details. */
645
645
  media?: Media;
646
646
  /** Link details for images that are links. */
647
647
  link?: Link;
648
648
  }
649
- export interface Video {
649
+ interface Video {
650
650
  /** Video file details. */
651
651
  media?: Media;
652
652
  /** Video thumbnail file details. */
653
653
  thumbnail?: Media;
654
654
  }
655
- export interface Item extends ItemDataOneOf {
655
+ interface Item extends ItemDataOneOf {
656
656
  /** An image item. */
657
- image?: ItemImage;
657
+ image?: Image;
658
658
  /** A video item. */
659
659
  video?: Video;
660
660
  /** Item title. */
@@ -663,13 +663,13 @@ export interface Item extends ItemDataOneOf {
663
663
  altText?: string | null;
664
664
  }
665
665
  /** @oneof */
666
- export interface ItemDataOneOf {
666
+ interface ItemDataOneOf {
667
667
  /** An image item. */
668
- image?: ItemImage;
668
+ image?: Image;
669
669
  /** A video item. */
670
670
  video?: Video;
671
671
  }
672
- export interface GalleryOptions {
672
+ interface GalleryOptions {
673
673
  /** Gallery layout. */
674
674
  layout?: Layout;
675
675
  /** Styling for gallery items. */
@@ -677,7 +677,7 @@ export interface GalleryOptions {
677
677
  /** Styling for gallery thumbnail images. */
678
678
  thumbnails?: Thumbnails;
679
679
  }
680
- export declare enum LayoutType {
680
+ declare enum LayoutType {
681
681
  /** Collage type */
682
682
  COLLAGE = "COLLAGE",
683
683
  /** Masonry type */
@@ -699,19 +699,19 @@ export declare enum LayoutType {
699
699
  /** Fullsize images type */
700
700
  FULLSIZE = "FULLSIZE"
701
701
  }
702
- export declare enum Orientation {
702
+ declare enum Orientation {
703
703
  /** Rows Orientation */
704
704
  ROWS = "ROWS",
705
705
  /** Columns Orientation */
706
706
  COLUMNS = "COLUMNS"
707
707
  }
708
- export declare enum Crop {
708
+ declare enum Crop {
709
709
  /** Crop to fill */
710
710
  FILL = "FILL",
711
711
  /** Crop to fit */
712
712
  FIT = "FIT"
713
713
  }
714
- export declare enum ThumbnailsAlignment {
714
+ declare enum ThumbnailsAlignment {
715
715
  /** Top alignment */
716
716
  TOP = "TOP",
717
717
  /** Right alignment */
@@ -723,7 +723,7 @@ export declare enum ThumbnailsAlignment {
723
723
  /** No thumbnail */
724
724
  NONE = "NONE"
725
725
  }
726
- export interface Layout {
726
+ interface Layout {
727
727
  /** Gallery layout type. */
728
728
  type?: LayoutType;
729
729
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -735,7 +735,7 @@ export interface Layout {
735
735
  /** The number of columns to display on mobile screens. */
736
736
  mobileNumberOfColumns?: number | null;
737
737
  }
738
- export interface ItemStyle {
738
+ interface ItemStyle {
739
739
  /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
740
740
  targetSize?: number | null;
741
741
  /** Item ratio */
@@ -745,13 +745,13 @@ export interface ItemStyle {
745
745
  /** The spacing between items in pixels. */
746
746
  spacing?: number | null;
747
747
  }
748
- export interface Thumbnails {
748
+ interface Thumbnails {
749
749
  /** Thumbnail alignment. */
750
750
  placement?: ThumbnailsAlignment;
751
751
  /** Spacing between thumbnails in pixels. */
752
752
  spacing?: number | null;
753
753
  }
754
- export interface GIFData {
754
+ interface GIFData {
755
755
  /** Styling for the GIF's container. */
756
756
  containerData?: PluginContainerData;
757
757
  /** The source of the full size GIF. */
@@ -765,7 +765,7 @@ export interface GIFData {
765
765
  /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
766
766
  gifType?: GIFType;
767
767
  }
768
- export interface GIF {
768
+ interface GIF {
769
769
  /**
770
770
  * GIF format URL.
771
771
  * @format WEB_URL
@@ -782,11 +782,11 @@ export interface GIF {
782
782
  */
783
783
  still?: string | null;
784
784
  }
785
- export declare enum GIFType {
785
+ declare enum GIFType {
786
786
  NORMAL = "NORMAL",
787
787
  STICKER = "STICKER"
788
788
  }
789
- export interface HeadingData {
789
+ interface HeadingData {
790
790
  /** Heading level from 1-6. */
791
791
  level?: number;
792
792
  /** Styling for the heading text. */
@@ -794,7 +794,7 @@ export interface HeadingData {
794
794
  /** Indentation level from 1-4. */
795
795
  indentation?: number | null;
796
796
  }
797
- export interface HTMLData extends HTMLDataDataOneOf {
797
+ interface HTMLData extends HTMLDataDataOneOf {
798
798
  /** The URL for the HTML code for the node. */
799
799
  url?: string;
800
800
  /** The HTML code for the node. */
@@ -812,7 +812,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
812
812
  autoHeight?: boolean | null;
813
813
  }
814
814
  /** @oneof */
815
- export interface HTMLDataDataOneOf {
815
+ interface HTMLDataDataOneOf {
816
816
  /** The URL for the HTML code for the node. */
817
817
  url?: string;
818
818
  /** The HTML code for the node. */
@@ -823,11 +823,11 @@ export interface HTMLDataDataOneOf {
823
823
  */
824
824
  isAdsense?: boolean | null;
825
825
  }
826
- export declare enum Source {
826
+ declare enum Source {
827
827
  HTML = "HTML",
828
828
  ADSENSE = "ADSENSE"
829
829
  }
830
- export interface ImageData {
830
+ interface ImageData {
831
831
  /** Styling for the image's container. */
832
832
  containerData?: PluginContainerData;
833
833
  /** Image file details. */
@@ -850,7 +850,7 @@ export interface ImageData {
850
850
  /** Styling for the image. */
851
851
  styles?: ImageDataStyles;
852
852
  }
853
- export interface StylesBorder {
853
+ interface StylesBorder {
854
854
  /** Border width in pixels. */
855
855
  width?: number | null;
856
856
  /**
@@ -861,11 +861,11 @@ export interface StylesBorder {
861
861
  /** Border radius in pixels. */
862
862
  radius?: number | null;
863
863
  }
864
- export interface ImageDataStyles {
864
+ interface ImageDataStyles {
865
865
  /** Border attributes. */
866
866
  border?: StylesBorder;
867
867
  }
868
- export interface LinkPreviewData {
868
+ interface LinkPreviewData {
869
869
  /** Styling for the link preview's container. */
870
870
  containerData?: PluginContainerData;
871
871
  /** Link details. */
@@ -881,7 +881,7 @@ export interface LinkPreviewData {
881
881
  /** Styling for the link preview. */
882
882
  styles?: LinkPreviewDataStyles;
883
883
  }
884
- export declare enum Position {
884
+ declare enum Position {
885
885
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
886
886
  START = "START",
887
887
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -891,7 +891,7 @@ export declare enum Position {
891
891
  /** Thumbnail hidden and not displayed */
892
892
  HIDDEN = "HIDDEN"
893
893
  }
894
- export interface LinkPreviewDataStyles {
894
+ interface LinkPreviewDataStyles {
895
895
  /**
896
896
  * Background color as a hexadecimal value.
897
897
  * @format COLOR_HEX
@@ -924,13 +924,13 @@ export interface LinkPreviewDataStyles {
924
924
  /** Position of thumbnail. Defaults to `START`. */
925
925
  thumbnailPosition?: Position;
926
926
  }
927
- export interface MapData {
927
+ interface MapData {
928
928
  /** Styling for the map's container. */
929
929
  containerData?: PluginContainerData;
930
930
  /** Map settings. */
931
931
  mapSettings?: MapSettings;
932
932
  }
933
- export interface MapSettings {
933
+ interface MapSettings {
934
934
  /** The address to display on the map. */
935
935
  address?: string | null;
936
936
  /** Sets whether the map is draggable. */
@@ -954,7 +954,7 @@ export interface MapSettings {
954
954
  /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
955
955
  mapType?: MapType;
956
956
  }
957
- export declare enum MapType {
957
+ declare enum MapType {
958
958
  /** Roadmap map type */
959
959
  ROADMAP = "ROADMAP",
960
960
  /** Satellite map type */
@@ -964,7 +964,7 @@ export declare enum MapType {
964
964
  /** Terrain map type */
965
965
  TERRAIN = "TERRAIN"
966
966
  }
967
- export interface ParagraphData {
967
+ interface ParagraphData {
968
968
  /** Styling for the paragraph text. */
969
969
  textStyle?: TextStyle;
970
970
  /** Indentation level from 1-4. */
@@ -972,7 +972,7 @@ export interface ParagraphData {
972
972
  /** Paragraph level */
973
973
  level?: number | null;
974
974
  }
975
- export interface PollData {
975
+ interface PollData {
976
976
  /** Styling for the poll's container. */
977
977
  containerData?: PluginContainerData;
978
978
  /** Poll data. */
@@ -982,7 +982,7 @@ export interface PollData {
982
982
  /** Styling for the poll and voting options. */
983
983
  design?: Design;
984
984
  }
985
- export declare enum ViewRole {
985
+ declare enum ViewRole {
986
986
  /** Only Poll creator can view the results */
987
987
  CREATOR = "CREATOR",
988
988
  /** Anyone who voted can see the results */
@@ -990,13 +990,13 @@ export declare enum ViewRole {
990
990
  /** Anyone can see the results, even if one didn't vote */
991
991
  EVERYONE = "EVERYONE"
992
992
  }
993
- export declare enum VoteRole {
993
+ declare enum VoteRole {
994
994
  /** Logged in member */
995
995
  SITE_MEMBERS = "SITE_MEMBERS",
996
996
  /** Anyone */
997
997
  ALL = "ALL"
998
998
  }
999
- export interface Permissions {
999
+ interface Permissions {
1000
1000
  /** Sets who can view the poll results. */
1001
1001
  view?: ViewRole;
1002
1002
  /** Sets who can vote. */
@@ -1004,15 +1004,15 @@ export interface Permissions {
1004
1004
  /** Sets whether one voter can vote multiple times. Defaults to `false`. */
1005
1005
  allowMultipleVotes?: boolean | null;
1006
1006
  }
1007
- export interface Option {
1007
+ interface Option {
1008
1008
  /** Option ID. */
1009
- id?: string | null;
1009
+ _id?: string | null;
1010
1010
  /** Option title. */
1011
1011
  title?: string | null;
1012
1012
  /** The image displayed with the option. */
1013
1013
  image?: Media;
1014
1014
  }
1015
- export interface Settings {
1015
+ interface Settings {
1016
1016
  /** Permissions settings for voting. */
1017
1017
  permissions?: Permissions;
1018
1018
  /** Sets whether voters are displayed in the vote results. Defaults to `true`. */
@@ -1020,19 +1020,19 @@ export interface Settings {
1020
1020
  /** Sets whether the vote count is displayed. Defaults to `true`. */
1021
1021
  showVotesCount?: boolean | null;
1022
1022
  }
1023
- export declare enum PollLayoutType {
1023
+ declare enum PollLayoutType {
1024
1024
  /** List */
1025
1025
  LIST = "LIST",
1026
1026
  /** Grid */
1027
1027
  GRID = "GRID"
1028
1028
  }
1029
- export declare enum PollLayoutDirection {
1029
+ declare enum PollLayoutDirection {
1030
1030
  /** Left-to-right */
1031
1031
  LTR = "LTR",
1032
1032
  /** Right-to-left */
1033
1033
  RTL = "RTL"
1034
1034
  }
1035
- export interface PollLayout {
1035
+ interface PollLayout {
1036
1036
  /** The layout for displaying the voting options. */
1037
1037
  type?: PollLayoutType;
1038
1038
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
@@ -1040,11 +1040,11 @@ export interface PollLayout {
1040
1040
  /** Sets whether to display the main poll image. Defaults to `false`. */
1041
1041
  enableImage?: boolean | null;
1042
1042
  }
1043
- export interface OptionLayout {
1043
+ interface OptionLayout {
1044
1044
  /** Sets whether to display option images. Defaults to `false`. */
1045
1045
  enableImage?: boolean | null;
1046
1046
  }
1047
- export declare enum BackgroundType {
1047
+ declare enum BackgroundType {
1048
1048
  /** Color background type */
1049
1049
  COLOR = "COLOR",
1050
1050
  /** Image background type */
@@ -1052,7 +1052,7 @@ export declare enum BackgroundType {
1052
1052
  /** Gradiant background type */
1053
1053
  GRADIENT = "GRADIENT"
1054
1054
  }
1055
- export interface Gradient {
1055
+ interface Gradient {
1056
1056
  /** The gradient angle in degrees. */
1057
1057
  angle?: number | null;
1058
1058
  /**
@@ -1066,7 +1066,7 @@ export interface Gradient {
1066
1066
  */
1067
1067
  lastColor?: string | null;
1068
1068
  }
1069
- export interface Background extends BackgroundBackgroundOneOf {
1069
+ interface Background extends BackgroundBackgroundOneOf {
1070
1070
  /**
1071
1071
  * The background color as a hexademical value.
1072
1072
  * @format COLOR_HEX
@@ -1080,7 +1080,7 @@ export interface Background extends BackgroundBackgroundOneOf {
1080
1080
  type?: BackgroundType;
1081
1081
  }
1082
1082
  /** @oneof */
1083
- export interface BackgroundBackgroundOneOf {
1083
+ interface BackgroundBackgroundOneOf {
1084
1084
  /**
1085
1085
  * The background color as a hexademical value.
1086
1086
  * @format COLOR_HEX
@@ -1091,19 +1091,19 @@ export interface BackgroundBackgroundOneOf {
1091
1091
  /** Details for a gradient background. */
1092
1092
  gradient?: Gradient;
1093
1093
  }
1094
- export interface PollDesign {
1094
+ interface PollDesign {
1095
1095
  /** Background styling. */
1096
1096
  background?: Background;
1097
1097
  /** Border radius in pixels. */
1098
1098
  borderRadius?: number | null;
1099
1099
  }
1100
- export interface OptionDesign {
1100
+ interface OptionDesign {
1101
1101
  /** Border radius in pixels. */
1102
1102
  borderRadius?: number | null;
1103
1103
  }
1104
- export interface Poll {
1104
+ interface Poll {
1105
1105
  /** Poll ID. */
1106
- id?: string | null;
1106
+ _id?: string | null;
1107
1107
  /** Poll title. */
1108
1108
  title?: string | null;
1109
1109
  /** Poll creator ID. */
@@ -1115,26 +1115,26 @@ export interface Poll {
1115
1115
  /** The poll's permissions and display settings. */
1116
1116
  settings?: Settings;
1117
1117
  }
1118
- export interface PollDataLayout {
1118
+ interface PollDataLayout {
1119
1119
  /** Poll layout settings. */
1120
1120
  poll?: PollLayout;
1121
1121
  /** Voting otpions layout settings. */
1122
1122
  options?: OptionLayout;
1123
1123
  }
1124
- export interface Design {
1124
+ interface Design {
1125
1125
  /** Styling for the poll. */
1126
1126
  poll?: PollDesign;
1127
1127
  /** Styling for voting options. */
1128
1128
  options?: OptionDesign;
1129
1129
  }
1130
- export interface TextData {
1130
+ interface TextData {
1131
1131
  /** The text to apply decorations to. */
1132
1132
  text?: string;
1133
1133
  /** The decorations to apply. */
1134
1134
  decorations?: Decoration[];
1135
1135
  }
1136
1136
  /** Adds appearence changes to text */
1137
- export interface Decoration extends DecorationDataOneOf {
1137
+ interface Decoration extends DecorationDataOneOf {
1138
1138
  /** Data for an anchor link decoration. */
1139
1139
  anchorData?: AnchorData;
1140
1140
  /** Data for a color decoration. */
@@ -1157,7 +1157,7 @@ export interface Decoration extends DecorationDataOneOf {
1157
1157
  type?: DecorationType;
1158
1158
  }
1159
1159
  /** @oneof */
1160
- export interface DecorationDataOneOf {
1160
+ interface DecorationDataOneOf {
1161
1161
  /** Data for an anchor link decoration. */
1162
1162
  anchorData?: AnchorData;
1163
1163
  /** Data for a color decoration. */
@@ -1177,7 +1177,7 @@ export interface DecorationDataOneOf {
1177
1177
  /** Data for a spoiler decoration. */
1178
1178
  spoilerData?: SpoilerData;
1179
1179
  }
1180
- export declare enum DecorationType {
1180
+ declare enum DecorationType {
1181
1181
  BOLD = "BOLD",
1182
1182
  ITALIC = "ITALIC",
1183
1183
  UNDERLINE = "UNDERLINE",
@@ -1189,43 +1189,43 @@ export declare enum DecorationType {
1189
1189
  FONT_SIZE = "FONT_SIZE",
1190
1190
  EXTERNAL = "EXTERNAL"
1191
1191
  }
1192
- export interface AnchorData {
1192
+ interface AnchorData {
1193
1193
  /** The target node's ID. */
1194
1194
  anchor?: string;
1195
1195
  }
1196
- export interface ColorData {
1196
+ interface ColorData {
1197
1197
  /** The text's background color as a hexadecimal value. */
1198
1198
  background?: string | null;
1199
1199
  /** The text's foreground color as a hexadecimal value. */
1200
1200
  foreground?: string | null;
1201
1201
  }
1202
- export interface LinkData {
1202
+ interface LinkData {
1203
1203
  /** Link details. */
1204
1204
  link?: Link;
1205
1205
  }
1206
- export interface MentionData {
1206
+ interface MentionData {
1207
1207
  /** The mentioned user's name. */
1208
1208
  name?: string;
1209
1209
  /** The version of the user's name that appears after the `@` character in the mention. */
1210
1210
  slug?: string;
1211
1211
  /** Mentioned user's ID. */
1212
- id?: string | null;
1212
+ _id?: string | null;
1213
1213
  }
1214
- export interface FontSizeData {
1214
+ interface FontSizeData {
1215
1215
  /** The units used for the font size. */
1216
1216
  unit?: FontType;
1217
1217
  /** Font size value. */
1218
1218
  value?: number | null;
1219
1219
  }
1220
- export declare enum FontType {
1220
+ declare enum FontType {
1221
1221
  PX = "PX",
1222
1222
  EM = "EM"
1223
1223
  }
1224
- export interface SpoilerData {
1224
+ interface SpoilerData {
1225
1225
  /** Spoiler ID. */
1226
- id?: string | null;
1226
+ _id?: string | null;
1227
1227
  }
1228
- export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1228
+ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1229
1229
  /** Data for embedded Wix Bookings content. */
1230
1230
  bookingData?: BookingData;
1231
1231
  /** Data for embedded Wix Events content. */
@@ -1247,28 +1247,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1247
1247
  image?: Media;
1248
1248
  }
1249
1249
  /** @oneof */
1250
- export interface AppEmbedDataAppDataOneOf {
1250
+ interface AppEmbedDataAppDataOneOf {
1251
1251
  /** Data for embedded Wix Bookings content. */
1252
1252
  bookingData?: BookingData;
1253
1253
  /** Data for embedded Wix Events content. */
1254
1254
  eventData?: EventData;
1255
1255
  }
1256
- export declare enum AppType {
1256
+ declare enum AppType {
1257
1257
  PRODUCT = "PRODUCT",
1258
1258
  EVENT = "EVENT",
1259
1259
  BOOKING = "BOOKING"
1260
1260
  }
1261
- export interface BookingData {
1261
+ interface BookingData {
1262
1262
  /** Booking duration in minutes. */
1263
1263
  durations?: string | null;
1264
1264
  }
1265
- export interface EventData {
1265
+ interface EventData {
1266
1266
  /** Event schedule. */
1267
1267
  scheduling?: string | null;
1268
1268
  /** Event location. */
1269
1269
  location?: string | null;
1270
1270
  }
1271
- export interface VideoData {
1271
+ interface VideoData {
1272
1272
  /** Styling for the video's container. */
1273
1273
  containerData?: PluginContainerData;
1274
1274
  /** Video details. */
@@ -1282,7 +1282,7 @@ export interface VideoData {
1282
1282
  /** Video options. */
1283
1283
  options?: PlaybackOptions;
1284
1284
  }
1285
- export interface PlaybackOptions {
1285
+ interface PlaybackOptions {
1286
1286
  /** Sets whether the media will automatically start playing. */
1287
1287
  autoPlay?: boolean | null;
1288
1288
  /** Sets whether media's will be looped. */
@@ -1290,7 +1290,7 @@ export interface PlaybackOptions {
1290
1290
  /** Sets whether media's controls will be shown. */
1291
1291
  showControls?: boolean | null;
1292
1292
  }
1293
- export interface EmbedData {
1293
+ interface EmbedData {
1294
1294
  /** Styling for the oEmbed node's container. */
1295
1295
  containerData?: PluginContainerData;
1296
1296
  /** An [oEmbed](https://www.oembed.com) object. */
@@ -1298,7 +1298,7 @@ export interface EmbedData {
1298
1298
  /** Origin asset source. */
1299
1299
  src?: string | null;
1300
1300
  }
1301
- export interface Oembed {
1301
+ interface Oembed {
1302
1302
  /** The resource type. */
1303
1303
  type?: string | null;
1304
1304
  /** The width of the resource specified in the `url` property in pixels. */
@@ -1330,7 +1330,7 @@ export interface Oembed {
1330
1330
  /** The oEmbed version number. This value must be `1.0`. */
1331
1331
  version?: string | null;
1332
1332
  }
1333
- export interface CollapsibleListData {
1333
+ interface CollapsibleListData {
1334
1334
  /** Styling for the collapsible list's container. */
1335
1335
  containerData?: PluginContainerData;
1336
1336
  /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
@@ -1342,7 +1342,7 @@ export interface CollapsibleListData {
1342
1342
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
1343
1343
  isQapageData?: boolean | null;
1344
1344
  }
1345
- export declare enum InitialExpandedItems {
1345
+ declare enum InitialExpandedItems {
1346
1346
  /** First item will be expended initally */
1347
1347
  FIRST = "FIRST",
1348
1348
  /** All items will expended initally */
@@ -1350,13 +1350,13 @@ export declare enum InitialExpandedItems {
1350
1350
  /** All items collapsed initally */
1351
1351
  NONE = "NONE"
1352
1352
  }
1353
- export declare enum Direction {
1353
+ declare enum Direction {
1354
1354
  /** Left-to-right */
1355
1355
  LTR = "LTR",
1356
1356
  /** Right-to-left */
1357
1357
  RTL = "RTL"
1358
1358
  }
1359
- export interface TableData {
1359
+ interface TableData {
1360
1360
  /** Styling for the table's container. */
1361
1361
  containerData?: PluginContainerData;
1362
1362
  /** The table's dimensions. */
@@ -1371,7 +1371,7 @@ export interface TableData {
1371
1371
  /** Sets whether the table's first column is a header. Defaults to `false`. */
1372
1372
  columnHeader?: boolean | null;
1373
1373
  }
1374
- export interface Dimensions {
1374
+ interface Dimensions {
1375
1375
  /** An array representing relative width of each column in relation to the other columns. */
1376
1376
  colsWidthRatio?: number[];
1377
1377
  /** An array representing the height of each row in pixels. */
@@ -1379,13 +1379,13 @@ export interface Dimensions {
1379
1379
  /** An array representing the minimum width of each column in pixels. */
1380
1380
  colsMinWidth?: number[];
1381
1381
  }
1382
- export interface TableCellData {
1382
+ interface TableCellData {
1383
1383
  /** Styling for the cell's background color and text alignment. */
1384
1384
  cellStyle?: CellStyle;
1385
1385
  /** The cell's border colors. */
1386
1386
  borderColors?: BorderColors;
1387
1387
  }
1388
- export declare enum VerticalAlignment {
1388
+ declare enum VerticalAlignment {
1389
1389
  /** Top alignment */
1390
1390
  TOP = "TOP",
1391
1391
  /** Middle alignment */
@@ -1393,7 +1393,7 @@ export declare enum VerticalAlignment {
1393
1393
  /** Bottom alignment */
1394
1394
  BOTTOM = "BOTTOM"
1395
1395
  }
1396
- export interface CellStyle {
1396
+ interface CellStyle {
1397
1397
  /** Vertical alignment for the cell's text. */
1398
1398
  verticalAlignment?: VerticalAlignment;
1399
1399
  /**
@@ -1402,7 +1402,7 @@ export interface CellStyle {
1402
1402
  */
1403
1403
  backgroundColor?: string | null;
1404
1404
  }
1405
- export interface BorderColors {
1405
+ interface BorderColors {
1406
1406
  /**
1407
1407
  * Left border color as a hexadecimal value.
1408
1408
  * @format COLOR_HEX
@@ -1430,7 +1430,7 @@ export interface BorderColors {
1430
1430
  *
1431
1431
  * The JSON representation for `NullValue` is JSON `null`.
1432
1432
  */
1433
- export declare enum NullValue {
1433
+ declare enum NullValue {
1434
1434
  /** Null value. */
1435
1435
  NULL_VALUE = "NULL_VALUE"
1436
1436
  }
@@ -1439,11 +1439,11 @@ export declare enum NullValue {
1439
1439
  *
1440
1440
  * The JSON representation for `ListValue` is JSON array.
1441
1441
  */
1442
- export interface ListValue {
1442
+ interface ListValue {
1443
1443
  /** Repeated field of dynamically typed values. */
1444
1444
  values?: any[];
1445
1445
  }
1446
- export interface AudioData {
1446
+ interface AudioData {
1447
1447
  /** Styling for the audio node's container. */
1448
1448
  containerData?: PluginContainerData;
1449
1449
  /** Audio file details. */
@@ -1459,7 +1459,7 @@ export interface AudioData {
1459
1459
  /** An HTML version of the audio node. */
1460
1460
  html?: string | null;
1461
1461
  }
1462
- export interface OrderedListData {
1462
+ interface OrderedListData {
1463
1463
  /** Indentation level from 0-4. */
1464
1464
  indentation?: number;
1465
1465
  /** Offset level from 0-4. */
@@ -1467,24 +1467,24 @@ export interface OrderedListData {
1467
1467
  /** List start number. */
1468
1468
  start?: number | null;
1469
1469
  }
1470
- export interface BulletedListData {
1470
+ interface BulletedListData {
1471
1471
  /** Indentation level from 0-4. */
1472
1472
  indentation?: number;
1473
1473
  /** Offset level from 0-4. */
1474
1474
  offset?: number | null;
1475
1475
  }
1476
- export interface BlockquoteData {
1476
+ interface BlockquoteData {
1477
1477
  /** Indentation level from 1-4. */
1478
1478
  indentation?: number;
1479
1479
  }
1480
- export interface CaptionData {
1480
+ interface CaptionData {
1481
1481
  textStyle?: TextStyle;
1482
1482
  }
1483
- export interface LayoutCellData {
1483
+ interface LayoutCellData {
1484
1484
  /** Size of the cell in 12 columns grid. */
1485
1485
  colSpan?: number | null;
1486
1486
  }
1487
- export interface Metadata {
1487
+ interface Metadata {
1488
1488
  /** Schema version. */
1489
1489
  version?: number;
1490
1490
  /**
@@ -1499,9 +1499,9 @@ export interface Metadata {
1499
1499
  */
1500
1500
  updatedTimestamp?: Date | null;
1501
1501
  /** Object ID. */
1502
- id?: string | null;
1502
+ _id?: string | null;
1503
1503
  }
1504
- export interface DocumentStyle {
1504
+ interface DocumentStyle {
1505
1505
  /** Styling for H1 nodes. */
1506
1506
  headerOne?: TextNodeStyle;
1507
1507
  /** Styling for H2 nodes. */
@@ -1521,7 +1521,7 @@ export interface DocumentStyle {
1521
1521
  /** Styling for code block nodes. */
1522
1522
  codeBlock?: TextNodeStyle;
1523
1523
  }
1524
- export interface TextNodeStyle {
1524
+ interface TextNodeStyle {
1525
1525
  /** The decorations to apply to the node. */
1526
1526
  decorations?: Decoration[];
1527
1527
  /** Padding and background color for the node. */
@@ -1529,30 +1529,7 @@ export interface TextNodeStyle {
1529
1529
  /** Line height for text in the node. */
1530
1530
  lineHeight?: string | null;
1531
1531
  }
1532
- export interface Image {
1533
- /** WixMedia image ID. */
1534
- id?: string;
1535
- /** Image URL. */
1536
- url?: string;
1537
- /**
1538
- * Original image height.
1539
- * @readonly
1540
- */
1541
- height?: number;
1542
- /**
1543
- * Original image width.
1544
- * @readonly
1545
- */
1546
- width?: number;
1547
- /** Image alt text. */
1548
- altText?: string | null;
1549
- /**
1550
- * Image filename.
1551
- * @readonly
1552
- */
1553
- filename?: string | null;
1554
- }
1555
- export interface FocalPoint {
1532
+ interface FocalPoint {
1556
1533
  /** X-coordinate of the focal point. */
1557
1534
  x?: number;
1558
1535
  /** Y-coordinate of the focal point. */
@@ -1562,22 +1539,7 @@ export interface FocalPoint {
1562
1539
  /** crop by width */
1563
1540
  width?: number | null;
1564
1541
  }
1565
- export interface VideoV2 {
1566
- /** WixMedia ID. */
1567
- id?: string;
1568
- /**
1569
- * Available resolutions for the video, starting with the optimal resolution.
1570
- * @readonly
1571
- * @maxSize 100
1572
- */
1573
- resolutions?: VideoResolution[];
1574
- /**
1575
- * Video filename.
1576
- * @readonly
1577
- */
1578
- filename?: string | null;
1579
- }
1580
- export interface VideoResolution {
1542
+ interface VideoResolution {
1581
1543
  /** Video URL. */
1582
1544
  url?: string;
1583
1545
  /** Video height. */
@@ -1587,15 +1549,7 @@ export interface VideoResolution {
1587
1549
  /** Video format for example, mp4, hls. */
1588
1550
  format?: string;
1589
1551
  }
1590
- export interface Document {
1591
- /** WixMedia ID. */
1592
- id?: string;
1593
- /** Document URL. */
1594
- url?: string;
1595
- /** Document filename. */
1596
- filename?: string | null;
1597
- }
1598
- export interface ExtendedFields {
1552
+ interface ExtendedFields {
1599
1553
  /**
1600
1554
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
1601
1555
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -1606,22 +1560,22 @@ export interface ExtendedFields {
1606
1560
  */
1607
1561
  namespaces?: Record<string, Record<string, any>>;
1608
1562
  }
1609
- export interface GetPublishedContentRequest {
1563
+ interface GetPublishedContentRequest {
1610
1564
  /**
1611
1565
  * The ID of the published content
1612
1566
  * @format GUID
1613
1567
  */
1614
1568
  contentId?: string;
1615
1569
  }
1616
- export interface GetPublishedContentResponse {
1570
+ interface GetPublishedContentResponse {
1617
1571
  /** The published content */
1618
1572
  publishedContent?: PublishedContent;
1619
1573
  }
1620
- export interface QueryPublishedContentRequest {
1574
+ interface QueryPublishedContentRequest {
1621
1575
  /** Query options. Note that some query filters are required. See the API description for a list of required filters. */
1622
1576
  query: CursorQuery;
1623
1577
  }
1624
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
1578
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
1625
1579
  /**
1626
1580
  * Cursor paging options.
1627
1581
  *
@@ -1643,7 +1597,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
1643
1597
  sort?: Sorting[];
1644
1598
  }
1645
1599
  /** @oneof */
1646
- export interface CursorQueryPagingMethodOneOf {
1600
+ interface CursorQueryPagingMethodOneOf {
1647
1601
  /**
1648
1602
  * Cursor paging options.
1649
1603
  *
@@ -1651,7 +1605,7 @@ export interface CursorQueryPagingMethodOneOf {
1651
1605
  */
1652
1606
  cursorPaging?: CursorPaging;
1653
1607
  }
1654
- export interface Sorting {
1608
+ interface Sorting {
1655
1609
  /**
1656
1610
  * Name of the field to sort by.
1657
1611
  * @maxLength 512
@@ -1660,11 +1614,11 @@ export interface Sorting {
1660
1614
  /** Sort order. */
1661
1615
  order?: SortOrder;
1662
1616
  }
1663
- export declare enum SortOrder {
1617
+ declare enum SortOrder {
1664
1618
  ASC = "ASC",
1665
1619
  DESC = "DESC"
1666
1620
  }
1667
- export interface CursorPaging {
1621
+ interface CursorPaging {
1668
1622
  /**
1669
1623
  * Maximum number of items to return in the results.
1670
1624
  * @max 100
@@ -1679,13 +1633,13 @@ export interface CursorPaging {
1679
1633
  */
1680
1634
  cursor?: string | null;
1681
1635
  }
1682
- export interface QueryPublishedContentResponse {
1636
+ interface QueryPublishedContentResponse {
1683
1637
  /** The published translation content. */
1684
1638
  publishedContent?: PublishedContent[];
1685
1639
  /** Details on the paged set of results returned. */
1686
1640
  pagingMetadata?: CursorPagingMetadata;
1687
1641
  }
1688
- export interface CursorPagingMetadata {
1642
+ interface CursorPagingMetadata {
1689
1643
  /** Number of items returned in current page. */
1690
1644
  count?: number | null;
1691
1645
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -1698,7 +1652,7 @@ export interface CursorPagingMetadata {
1698
1652
  */
1699
1653
  hasNext?: boolean | null;
1700
1654
  }
1701
- export interface Cursors {
1655
+ interface Cursors {
1702
1656
  /**
1703
1657
  * Cursor string pointing to the next page in the list of results.
1704
1658
  * @maxLength 16000
@@ -1710,7 +1664,7 @@ export interface Cursors {
1710
1664
  */
1711
1665
  prev?: string | null;
1712
1666
  }
1713
- export interface DomainEvent extends DomainEventBodyOneOf {
1667
+ interface DomainEvent extends DomainEventBodyOneOf {
1714
1668
  createdEvent?: EntityCreatedEvent;
1715
1669
  updatedEvent?: EntityUpdatedEvent;
1716
1670
  deletedEvent?: EntityDeletedEvent;
@@ -1719,7 +1673,7 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1719
1673
  * Unique event ID.
1720
1674
  * Allows clients to ignore duplicate webhooks.
1721
1675
  */
1722
- id?: string;
1676
+ _id?: string;
1723
1677
  /**
1724
1678
  * Assumes actions are also always typed to an entity_type
1725
1679
  * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
@@ -1753,47 +1707,45 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1753
1707
  entityEventSequence?: string | null;
1754
1708
  }
1755
1709
  /** @oneof */
1756
- export interface DomainEventBodyOneOf {
1710
+ interface DomainEventBodyOneOf {
1757
1711
  createdEvent?: EntityCreatedEvent;
1758
1712
  updatedEvent?: EntityUpdatedEvent;
1759
1713
  deletedEvent?: EntityDeletedEvent;
1760
1714
  actionEvent?: ActionEvent;
1761
1715
  }
1762
- export interface EntityCreatedEvent {
1763
- entityAsJson?: string;
1764
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1765
- restoreInfo?: RestoreInfo;
1716
+ interface EntityCreatedEvent {
1717
+ entity?: string;
1766
1718
  }
1767
- export interface RestoreInfo {
1719
+ interface RestoreInfo {
1768
1720
  deletedDate?: Date | null;
1769
1721
  }
1770
- export interface EntityUpdatedEvent {
1722
+ interface EntityUpdatedEvent {
1771
1723
  /**
1772
1724
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1773
1725
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1774
1726
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1775
1727
  */
1776
- currentEntityAsJson?: string;
1728
+ currentEntity?: string;
1777
1729
  }
1778
- export interface EntityDeletedEvent {
1730
+ interface EntityDeletedEvent {
1779
1731
  /** Entity that was deleted */
1780
- deletedEntityAsJson?: string | null;
1732
+ deletedEntity?: string | null;
1781
1733
  }
1782
- export interface ActionEvent {
1783
- bodyAsJson?: string;
1734
+ interface ActionEvent {
1735
+ body?: string;
1784
1736
  }
1785
- export interface Empty {
1737
+ interface Empty {
1786
1738
  }
1787
- export interface DeletePublishedContentRequest {
1739
+ interface DeletePublishedContentRequest {
1788
1740
  /**
1789
1741
  * The ID of the published content to delete
1790
1742
  * @format GUID
1791
1743
  */
1792
1744
  contentId?: string;
1793
1745
  }
1794
- export interface DeletePublishedContentResponse {
1746
+ interface DeletePublishedContentResponse {
1795
1747
  }
1796
- export interface MessageEnvelope {
1748
+ interface MessageEnvelope {
1797
1749
  /**
1798
1750
  * App instance ID.
1799
1751
  * @format GUID
@@ -1809,7 +1761,7 @@ export interface MessageEnvelope {
1809
1761
  /** Stringify payload. */
1810
1762
  data?: string;
1811
1763
  }
1812
- export interface IdentificationData extends IdentificationDataIdOneOf {
1764
+ interface IdentificationData extends IdentificationDataIdOneOf {
1813
1765
  /**
1814
1766
  * ID of a site visitor that has not logged in to the site.
1815
1767
  * @format GUID
@@ -1834,7 +1786,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
1834
1786
  identityType?: WebhookIdentityType;
1835
1787
  }
1836
1788
  /** @oneof */
1837
- export interface IdentificationDataIdOneOf {
1789
+ interface IdentificationDataIdOneOf {
1838
1790
  /**
1839
1791
  * ID of a site visitor that has not logged in to the site.
1840
1792
  * @format GUID
@@ -1856,315 +1808,118 @@ export interface IdentificationDataIdOneOf {
1856
1808
  */
1857
1809
  appId?: string;
1858
1810
  }
1859
- export declare enum WebhookIdentityType {
1811
+ declare enum WebhookIdentityType {
1860
1812
  UNKNOWN = "UNKNOWN",
1861
1813
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1862
1814
  MEMBER = "MEMBER",
1863
1815
  WIX_USER = "WIX_USER",
1864
1816
  APP = "APP"
1865
1817
  }
1866
- interface SchemaKeyNonNullableFields {
1867
- appId: string;
1868
- entityType: string;
1869
- scope: SchemaScope;
1870
- }
1871
- interface PluginContainerDataWidthNonNullableFields {
1872
- size: WidthType;
1873
- }
1874
- interface PluginContainerDataNonNullableFields {
1875
- width?: PluginContainerDataWidthNonNullableFields;
1876
- alignment: PluginContainerDataAlignment;
1877
- }
1878
- interface LinkNonNullableFields {
1879
- url: string;
1880
- anchor: string;
1881
- target: Target;
1882
- }
1883
- interface ButtonDataNonNullableFields {
1884
- containerData?: PluginContainerDataNonNullableFields;
1885
- type: Type;
1886
- link?: LinkNonNullableFields;
1887
- }
1888
- interface TextStyleNonNullableFields {
1889
- textAlignment: TextAlignment;
1890
- }
1891
- interface CodeBlockDataNonNullableFields {
1892
- textStyle?: TextStyleNonNullableFields;
1893
- }
1894
- interface DividerDataNonNullableFields {
1895
- containerData?: PluginContainerDataNonNullableFields;
1896
- lineStyle: LineStyle;
1897
- width: Width;
1898
- alignment: Alignment;
1899
- }
1900
- interface PDFSettingsNonNullableFields {
1901
- viewMode: ViewMode;
1902
- }
1903
- interface FileDataNonNullableFields {
1904
- containerData?: PluginContainerDataNonNullableFields;
1905
- pdfSettings?: PDFSettingsNonNullableFields;
1906
- }
1907
- interface ItemImageNonNullableFields {
1908
- link?: LinkNonNullableFields;
1909
- }
1910
- interface ItemNonNullableFields {
1911
- image?: ItemImageNonNullableFields;
1912
- }
1913
- interface LayoutNonNullableFields {
1914
- type: LayoutType;
1915
- orientation: Orientation;
1916
- }
1917
- interface ItemStyleNonNullableFields {
1918
- crop: Crop;
1919
- }
1920
- interface ThumbnailsNonNullableFields {
1921
- placement: ThumbnailsAlignment;
1922
- }
1923
- interface GalleryOptionsNonNullableFields {
1924
- layout?: LayoutNonNullableFields;
1925
- item?: ItemStyleNonNullableFields;
1926
- thumbnails?: ThumbnailsNonNullableFields;
1927
- }
1928
- interface GalleryDataNonNullableFields {
1929
- containerData?: PluginContainerDataNonNullableFields;
1930
- items: ItemNonNullableFields[];
1931
- options?: GalleryOptionsNonNullableFields;
1932
- }
1933
- interface GIFDataNonNullableFields {
1934
- containerData?: PluginContainerDataNonNullableFields;
1935
- height: number;
1936
- width: number;
1937
- gifType: GIFType;
1938
- }
1939
- interface HeadingDataNonNullableFields {
1940
- level: number;
1941
- textStyle?: TextStyleNonNullableFields;
1942
- }
1943
- interface HTMLDataNonNullableFields {
1944
- url: string;
1945
- html: string;
1946
- containerData?: PluginContainerDataNonNullableFields;
1947
- source: Source;
1948
- }
1949
- interface ImageDataNonNullableFields {
1950
- containerData?: PluginContainerDataNonNullableFields;
1951
- link?: LinkNonNullableFields;
1952
- }
1953
- interface LinkPreviewDataStylesNonNullableFields {
1954
- thumbnailPosition: Position;
1955
- }
1956
- interface LinkPreviewDataNonNullableFields {
1957
- containerData?: PluginContainerDataNonNullableFields;
1958
- link?: LinkNonNullableFields;
1959
- styles?: LinkPreviewDataStylesNonNullableFields;
1960
- }
1961
- interface MapSettingsNonNullableFields {
1962
- mapType: MapType;
1963
- }
1964
- interface MapDataNonNullableFields {
1965
- containerData?: PluginContainerDataNonNullableFields;
1966
- mapSettings?: MapSettingsNonNullableFields;
1967
- }
1968
- interface ParagraphDataNonNullableFields {
1969
- textStyle?: TextStyleNonNullableFields;
1970
- }
1971
- interface PermissionsNonNullableFields {
1972
- view: ViewRole;
1973
- vote: VoteRole;
1974
- }
1975
- interface SettingsNonNullableFields {
1976
- permissions?: PermissionsNonNullableFields;
1977
- }
1978
- interface PollNonNullableFields {
1979
- settings?: SettingsNonNullableFields;
1980
- }
1981
- interface PollLayoutNonNullableFields {
1982
- type: PollLayoutType;
1983
- direction: PollLayoutDirection;
1818
+ interface BaseEventMetadata {
1819
+ /**
1820
+ * App instance ID.
1821
+ * @format GUID
1822
+ */
1823
+ instanceId?: string | null;
1824
+ /**
1825
+ * Event type.
1826
+ * @maxLength 150
1827
+ */
1828
+ eventType?: string;
1829
+ /** The identification type and identity data. */
1830
+ identity?: IdentificationData;
1984
1831
  }
1985
- interface PollDataLayoutNonNullableFields {
1986
- poll?: PollLayoutNonNullableFields;
1832
+ interface EventMetadata extends BaseEventMetadata {
1833
+ /**
1834
+ * Unique event ID.
1835
+ * Allows clients to ignore duplicate webhooks.
1836
+ */
1837
+ _id?: string;
1838
+ /**
1839
+ * Assumes actions are also always typed to an entity_type
1840
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1841
+ */
1842
+ entityFqdn?: string;
1843
+ /**
1844
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1845
+ * This is although the created/updated/deleted notion is duplication of the oneof types
1846
+ * Example: created/updated/deleted/started/completed/email_opened
1847
+ */
1848
+ slug?: string;
1849
+ /** ID of the entity associated with the event. */
1850
+ entityId?: string;
1851
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1852
+ eventTime?: Date | null;
1853
+ /**
1854
+ * Whether the event was triggered as a result of a privacy regulation application
1855
+ * (for example, GDPR).
1856
+ */
1857
+ triggeredByAnonymizeRequest?: boolean | null;
1858
+ /** If present, indicates the action that triggered the event. */
1859
+ originatedFrom?: string | null;
1860
+ /**
1861
+ * A sequence number defining the order of updates to the underlying entity.
1862
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
1863
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1864
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1865
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
1866
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1867
+ */
1868
+ entityEventSequence?: string | null;
1987
1869
  }
1988
- interface BackgroundNonNullableFields {
1989
- type: BackgroundType;
1990
- }
1991
- interface PollDesignNonNullableFields {
1992
- background?: BackgroundNonNullableFields;
1993
- }
1994
- interface DesignNonNullableFields {
1995
- poll?: PollDesignNonNullableFields;
1996
- }
1997
- interface PollDataNonNullableFields {
1998
- containerData?: PluginContainerDataNonNullableFields;
1999
- poll?: PollNonNullableFields;
2000
- layout?: PollDataLayoutNonNullableFields;
2001
- design?: DesignNonNullableFields;
2002
- }
2003
- interface AnchorDataNonNullableFields {
2004
- anchor: string;
2005
- }
2006
- interface LinkDataNonNullableFields {
2007
- link?: LinkNonNullableFields;
2008
- }
2009
- interface MentionDataNonNullableFields {
2010
- name: string;
2011
- slug: string;
2012
- }
2013
- interface FontSizeDataNonNullableFields {
2014
- unit: FontType;
2015
- }
2016
- interface DecorationNonNullableFields {
2017
- anchorData?: AnchorDataNonNullableFields;
2018
- linkData?: LinkDataNonNullableFields;
2019
- mentionData?: MentionDataNonNullableFields;
2020
- fontSizeData?: FontSizeDataNonNullableFields;
2021
- type: DecorationType;
2022
- }
2023
- interface TextDataNonNullableFields {
2024
- text: string;
2025
- decorations: DecorationNonNullableFields[];
2026
- }
2027
- interface AppEmbedDataNonNullableFields {
2028
- type: AppType;
2029
- }
2030
- interface VideoDataNonNullableFields {
2031
- containerData?: PluginContainerDataNonNullableFields;
2032
- }
2033
- interface EmbedDataNonNullableFields {
2034
- containerData?: PluginContainerDataNonNullableFields;
2035
- }
2036
- interface CollapsibleListDataNonNullableFields {
2037
- containerData?: PluginContainerDataNonNullableFields;
2038
- initialExpandedItems: InitialExpandedItems;
2039
- direction: Direction;
2040
- }
2041
- interface DimensionsNonNullableFields {
2042
- colsWidthRatio: number[];
2043
- rowsHeight: number[];
2044
- colsMinWidth: number[];
2045
- }
2046
- interface TableDataNonNullableFields {
2047
- containerData?: PluginContainerDataNonNullableFields;
2048
- dimensions?: DimensionsNonNullableFields;
2049
- }
2050
- interface CellStyleNonNullableFields {
2051
- verticalAlignment: VerticalAlignment;
2052
- }
2053
- interface TableCellDataNonNullableFields {
2054
- cellStyle?: CellStyleNonNullableFields;
2055
- }
2056
- interface AudioDataNonNullableFields {
2057
- containerData?: PluginContainerDataNonNullableFields;
2058
- }
2059
- interface OrderedListDataNonNullableFields {
2060
- indentation: number;
2061
- }
2062
- interface BulletedListDataNonNullableFields {
2063
- indentation: number;
2064
- }
2065
- interface BlockquoteDataNonNullableFields {
2066
- indentation: number;
2067
- }
2068
- interface CaptionDataNonNullableFields {
2069
- textStyle?: TextStyleNonNullableFields;
2070
- }
2071
- interface NodeNonNullableFields {
2072
- buttonData?: ButtonDataNonNullableFields;
2073
- codeBlockData?: CodeBlockDataNonNullableFields;
2074
- dividerData?: DividerDataNonNullableFields;
2075
- fileData?: FileDataNonNullableFields;
2076
- galleryData?: GalleryDataNonNullableFields;
2077
- gifData?: GIFDataNonNullableFields;
2078
- headingData?: HeadingDataNonNullableFields;
2079
- htmlData?: HTMLDataNonNullableFields;
2080
- imageData?: ImageDataNonNullableFields;
2081
- linkPreviewData?: LinkPreviewDataNonNullableFields;
2082
- mapData?: MapDataNonNullableFields;
2083
- paragraphData?: ParagraphDataNonNullableFields;
2084
- pollData?: PollDataNonNullableFields;
2085
- textData?: TextDataNonNullableFields;
2086
- appEmbedData?: AppEmbedDataNonNullableFields;
2087
- videoData?: VideoDataNonNullableFields;
2088
- embedData?: EmbedDataNonNullableFields;
2089
- collapsibleListData?: CollapsibleListDataNonNullableFields;
2090
- tableData?: TableDataNonNullableFields;
2091
- tableCellData?: TableCellDataNonNullableFields;
2092
- audioData?: AudioDataNonNullableFields;
2093
- orderedListData?: OrderedListDataNonNullableFields;
2094
- bulletedListData?: BulletedListDataNonNullableFields;
2095
- blockquoteData?: BlockquoteDataNonNullableFields;
2096
- captionData?: CaptionDataNonNullableFields;
2097
- type: NodeType;
2098
- id: string;
2099
- nodes: NodeNonNullableFields[];
2100
- }
2101
- interface MetadataNonNullableFields {
2102
- version: number;
2103
- }
2104
- interface TextNodeStyleNonNullableFields {
2105
- decorations: DecorationNonNullableFields[];
2106
- }
2107
- interface DocumentStyleNonNullableFields {
2108
- headerOne?: TextNodeStyleNonNullableFields;
2109
- headerTwo?: TextNodeStyleNonNullableFields;
2110
- headerThree?: TextNodeStyleNonNullableFields;
2111
- headerFour?: TextNodeStyleNonNullableFields;
2112
- headerFive?: TextNodeStyleNonNullableFields;
2113
- headerSix?: TextNodeStyleNonNullableFields;
2114
- paragraph?: TextNodeStyleNonNullableFields;
2115
- blockquote?: TextNodeStyleNonNullableFields;
2116
- codeBlock?: TextNodeStyleNonNullableFields;
2117
- }
2118
- interface RichContentNonNullableFields {
2119
- nodes: NodeNonNullableFields[];
2120
- metadata?: MetadataNonNullableFields;
2121
- documentStyle?: DocumentStyleNonNullableFields;
2122
- }
2123
- interface FocalPointNonNullableFields {
2124
- x: number;
2125
- y: number;
2126
- }
2127
- interface ImageNonNullableFields {
2128
- id: string;
2129
- url: string;
2130
- height: number;
2131
- width: number;
2132
- focalPoint?: FocalPointNonNullableFields;
2133
- }
2134
- interface VideoResolutionNonNullableFields {
2135
- url: string;
2136
- height: number;
2137
- width: number;
2138
- poster?: ImageNonNullableFields;
2139
- format: string;
2140
- }
2141
- interface VideoV2NonNullableFields {
2142
- id: string;
2143
- url: string;
2144
- resolutions: VideoResolutionNonNullableFields[];
2145
- posters: ImageNonNullableFields[];
2146
- }
2147
- interface DocumentNonNullableFields {
2148
- id: string;
2149
- url: string;
2150
- thumbnail?: ImageNonNullableFields;
2151
- }
2152
- interface PublishedContentFieldNonNullableFields {
2153
- textValue: string;
2154
- richContent?: RichContentNonNullableFields;
2155
- image?: ImageNonNullableFields;
2156
- video?: VideoV2NonNullableFields;
2157
- document?: DocumentNonNullableFields;
2158
- schemaFieldKey: string;
2159
- sequenceIds: string[];
2160
- }
2161
- interface PublishedContentNonNullableFields {
2162
- schemaKey?: SchemaKeyNonNullableFields;
2163
- entityId: string;
2164
- locale: string;
2165
- fields: PublishedContentFieldNonNullableFields[];
2166
- }
2167
- export interface QueryPublishedContentResponseNonNullableFields {
2168
- publishedContent: PublishedContentNonNullableFields[];
2169
- }
2170
- export {};
1870
+ interface PublishedContentCreatedEnvelope {
1871
+ entity: PublishedContent;
1872
+ metadata: EventMetadata;
1873
+ }
1874
+ interface PublishedContentDeletedEnvelope {
1875
+ entity: PublishedContent;
1876
+ metadata: EventMetadata;
1877
+ }
1878
+ interface PublishedContentUpdatedEnvelope {
1879
+ entity: PublishedContent;
1880
+ metadata: EventMetadata;
1881
+ }
1882
+ interface QueryCursorResult {
1883
+ cursors: Cursors;
1884
+ hasNext: () => boolean;
1885
+ hasPrev: () => boolean;
1886
+ length: number;
1887
+ pageSize: number;
1888
+ }
1889
+ interface PublishedContentQueryResult extends QueryCursorResult {
1890
+ items: PublishedContent[];
1891
+ query: PublishedContentQueryBuilder;
1892
+ next: () => Promise<PublishedContentQueryResult>;
1893
+ prev: () => Promise<PublishedContentQueryResult>;
1894
+ }
1895
+ interface PublishedContentQueryBuilder {
1896
+ /** @param propertyName - Property whose value is compared with `value`.
1897
+ * @param value - Value to compare against.
1898
+ */
1899
+ eq: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder;
1900
+ /** @param propertyName - Property whose value is compared with `value`.
1901
+ * @param value - Value to compare against.
1902
+ */
1903
+ ne: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder;
1904
+ /** @param propertyName - Property whose value is compared with `string`.
1905
+ * @param string - String to compare against. Case-insensitive.
1906
+ */
1907
+ startsWith: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'entityId' | 'locale' | 'parentEntityId', value: string) => PublishedContentQueryBuilder;
1908
+ /** @param propertyName - Property whose value is compared with `values`.
1909
+ * @param values - List of values to compare against.
1910
+ */
1911
+ hasSome: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any[]) => PublishedContentQueryBuilder;
1912
+ in: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder;
1913
+ exists: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: boolean) => PublishedContentQueryBuilder;
1914
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
1915
+ ascending: (...propertyNames: Array<'_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId'>) => PublishedContentQueryBuilder;
1916
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
1917
+ descending: (...propertyNames: Array<'_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId'>) => PublishedContentQueryBuilder;
1918
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
1919
+ limit: (limit: number) => PublishedContentQueryBuilder;
1920
+ /** @param cursor - A pointer to specific record */
1921
+ skipTo: (cursor: string) => PublishedContentQueryBuilder;
1922
+ find: () => Promise<PublishedContentQueryResult>;
1923
+ }
1924
+
1925
+ export { type Rel as $, Alignment as A, BackgroundType as B, Crop as C, DecorationType as D, type Border as E, FontType as F, GIFType as G, type Colors as H, InitialExpandedItems as I, type PluginContainerData as J, type PluginContainerDataWidth as K, LineStyle as L, MapType as M, NodeType as N, Orientation as O, type PublishedContentQueryBuilder as P, type PluginContainerDataWidthDataOneOf as Q, type RichContent as R, SchemaScope as S, Type as T, type Spoiler as U, ViewMode as V, WidthType as W, type Height as X, type Styles as Y, type Link as Z, type LinkDataOneOf as _, PluginContainerDataAlignment as a, type Dimensions as a$, type CodeBlockData as a0, type TextStyle as a1, type DividerData as a2, type FileData as a3, type FileSource as a4, type FileSourceDataOneOf as a5, type PDFSettings as a6, type GalleryData as a7, type Media as a8, type Image as a9, type Gradient as aA, type Background as aB, type BackgroundBackgroundOneOf as aC, type PollDesign as aD, type OptionDesign as aE, type Poll as aF, type PollDataLayout as aG, type Design as aH, type TextData as aI, type Decoration as aJ, type DecorationDataOneOf as aK, type AnchorData as aL, type ColorData as aM, type LinkData as aN, type MentionData as aO, type FontSizeData as aP, type SpoilerData as aQ, type AppEmbedData as aR, type AppEmbedDataAppDataOneOf as aS, type BookingData as aT, type EventData as aU, type VideoData as aV, type PlaybackOptions as aW, type EmbedData as aX, type Oembed as aY, type CollapsibleListData as aZ, type TableData as a_, type Video as aa, type Item as ab, type ItemDataOneOf as ac, type GalleryOptions as ad, type Layout as ae, type ItemStyle as af, type Thumbnails as ag, type GIFData as ah, type GIF as ai, type HeadingData as aj, type HTMLData as ak, type HTMLDataDataOneOf as al, type ImageData as am, type StylesBorder as an, type ImageDataStyles as ao, type LinkPreviewData as ap, type LinkPreviewDataStyles as aq, type MapData as ar, type MapSettings as as, type ParagraphData as at, type PollData as au, type Permissions as av, type Option as aw, type Settings as ax, type PollLayout as ay, type OptionLayout as az, Target as b, type TableCellData as b0, type CellStyle as b1, type BorderColors as b2, type ListValue as b3, type AudioData as b4, type OrderedListData as b5, type BulletedListData as b6, type BlockquoteData as b7, type CaptionData as b8, type LayoutCellData as b9, type MessageEnvelope as bA, type IdentificationData as bB, type IdentificationDataIdOneOf as bC, type BaseEventMetadata as bD, type EventMetadata as bE, type PublishedContentCreatedEnvelope as bF, type PublishedContentDeletedEnvelope as bG, type PublishedContentUpdatedEnvelope as bH, type PublishedContentQueryResult as bI, type Metadata as ba, type DocumentStyle as bb, type TextNodeStyle as bc, type FocalPoint as bd, type VideoResolution as be, type ExtendedFields as bf, type GetPublishedContentRequest as bg, type GetPublishedContentResponse as bh, type QueryPublishedContentRequest as bi, type CursorQuery as bj, type CursorQueryPagingMethodOneOf as bk, type Sorting as bl, type CursorPaging as bm, type QueryPublishedContentResponse as bn, type CursorPagingMetadata as bo, type Cursors as bp, type DomainEvent as bq, type DomainEventBodyOneOf as br, type EntityCreatedEvent as bs, type RestoreInfo as bt, type EntityUpdatedEvent as bu, type EntityDeletedEvent as bv, type ActionEvent as bw, type Empty as bx, type DeletePublishedContentRequest as by, type DeletePublishedContentResponse as bz, TextAlignment as c, Width as d, LayoutType as e, ThumbnailsAlignment as f, Source as g, Position as h, ViewRole as i, VoteRole as j, PollLayoutType as k, PollLayoutDirection as l, AppType as m, Direction as n, VerticalAlignment as o, NullValue as p, SortOrder as q, WebhookIdentityType as r, type PublishedContent as s, type SchemaKey as t, type PublishedContentField as u, type PublishedContentFieldValueOneOf as v, type Node as w, type NodeDataOneOf as x, type NodeStyle as y, type ButtonData as z };