@wix/auto_sdk_rich-content_ricos-conversations 1.0.0

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 (39) hide show
  1. package/build/cjs/index.d.ts +2464 -0
  2. package/build/cjs/index.js +1506 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +1468 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +2438 -0
  8. package/build/cjs/meta.js +1401 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +2464 -0
  11. package/build/es/index.mjs +1433 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +1 -0
  14. package/build/es/index.typings.mjs +1395 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +2438 -0
  17. package/build/es/meta.mjs +1325 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +72 -0
  21. package/build/internal/cjs/index.js +1506 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +2525 -0
  24. package/build/internal/cjs/index.typings.js +1468 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +2438 -0
  27. package/build/internal/cjs/meta.js +1401 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +72 -0
  30. package/build/internal/es/index.mjs +1433 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +2525 -0
  33. package/build/internal/es/index.typings.mjs +1395 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +2438 -0
  36. package/build/internal/es/meta.mjs +1325 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1,1401 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ ActionOriginal: () => Action,
24
+ AlignmentOriginal: () => Alignment,
25
+ AppTypeOriginal: () => AppType,
26
+ AspectRatioOriginal: () => AspectRatio,
27
+ BackgroundTypeOriginal: () => BackgroundType,
28
+ ButtonDataTypeOriginal: () => ButtonDataType,
29
+ ChunkTypeOriginal: () => ChunkType,
30
+ CropOriginal: () => Crop,
31
+ DecorationTypeOriginal: () => DecorationType,
32
+ DirectionOriginal: () => Direction,
33
+ DividerDataAlignmentOriginal: () => DividerDataAlignment,
34
+ FontTypeOriginal: () => FontType,
35
+ GIFTypeOriginal: () => GIFType,
36
+ ImagePositionOriginal: () => ImagePosition,
37
+ InitialExpandedItemsOriginal: () => InitialExpandedItems,
38
+ LayoutOriginal: () => Layout,
39
+ LayoutTypeOriginal: () => LayoutType,
40
+ LineStyleOriginal: () => LineStyle,
41
+ MapTypeOriginal: () => MapType,
42
+ NodeTypeOriginal: () => NodeType,
43
+ NullValueOriginal: () => NullValue,
44
+ OrientationOriginal: () => Orientation,
45
+ PlacementOriginal: () => Placement,
46
+ PluginContainerDataAlignmentOriginal: () => PluginContainerDataAlignment,
47
+ PollLayoutDirectionOriginal: () => PollLayoutDirection,
48
+ PollLayoutTypeOriginal: () => PollLayoutType,
49
+ PositionOriginal: () => Position,
50
+ PositionsPositionOriginal: () => PositionsPosition,
51
+ ResizingOriginal: () => Resizing,
52
+ ResponsivenessBehaviourOriginal: () => ResponsivenessBehaviour,
53
+ ScalingOriginal: () => Scaling,
54
+ SourceOriginal: () => Source,
55
+ StylesPositionOriginal: () => StylesPosition,
56
+ SuggestionActionOriginal: () => SuggestionAction,
57
+ TargetOriginal: () => Target,
58
+ TextAlignmentOriginal: () => TextAlignment,
59
+ ThumbnailsAlignmentOriginal: () => ThumbnailsAlignment,
60
+ TypeOriginal: () => Type,
61
+ VerticalAlignmentAlignmentOriginal: () => VerticalAlignmentAlignment,
62
+ VerticalAlignmentOriginal: () => VerticalAlignment,
63
+ ViewModeOriginal: () => ViewMode,
64
+ ViewRoleOriginal: () => ViewRole,
65
+ VoteRoleOriginal: () => VoteRole,
66
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
67
+ WidthOriginal: () => Width,
68
+ WidthTypeOriginal: () => WidthType,
69
+ continueConversationStreamed: () => continueConversationStreamed2,
70
+ createConversationStreamed: () => createConversationStreamed2,
71
+ createRicosConversation: () => createRicosConversation2,
72
+ listConversationSuggestions: () => listConversationSuggestions2
73
+ });
74
+ module.exports = __toCommonJS(meta_exports);
75
+
76
+ // src/ricos-v1-ricos-conversation-ricos-conversations.http.ts
77
+ var import_float = require("@wix/sdk-runtime/transformations/float");
78
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
79
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
80
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
81
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
82
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
83
+ function resolveWixRicosV1RicosAiAssistantUrl(opts) {
84
+ const domainToMappings = {
85
+ "bo._base_domain_": [
86
+ {
87
+ srcPath: "/_api/ricos-ai-assistant",
88
+ destPath: ""
89
+ }
90
+ ],
91
+ "wixbo.ai": [
92
+ {
93
+ srcPath: "/_api/ricos-ai-assistant",
94
+ destPath: ""
95
+ }
96
+ ],
97
+ "wix-bo.com": [
98
+ {
99
+ srcPath: "/_api/ricos-ai-assistant",
100
+ destPath: ""
101
+ }
102
+ ],
103
+ "manage._base_domain_": [
104
+ {
105
+ srcPath: "/_api/ricos-ai-assistant",
106
+ destPath: ""
107
+ }
108
+ ],
109
+ "www.wixapis.com": [
110
+ {
111
+ srcPath: "/ricos/v1/ricos-conversations",
112
+ destPath: "/v1/ricos-conversations"
113
+ }
114
+ ]
115
+ };
116
+ return (0, import_rest_modules.resolveUrl)(Object.assign(opts, { domainToMappings }));
117
+ }
118
+ var PACKAGE_NAME = "@wix/auto_sdk_rich-content_ricos-conversations";
119
+ function createConversationStreamed(payload) {
120
+ function __createConversationStreamed({ host }) {
121
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
122
+ {
123
+ transformFn: import_float.transformSDKFloatToRESTFloat,
124
+ paths: [
125
+ {
126
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.image.media.duration"
127
+ },
128
+ {
129
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.video.media.duration"
130
+ },
131
+ {
132
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.video.thumbnail.duration"
133
+ },
134
+ {
135
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.options.item.ratio"
136
+ },
137
+ {
138
+ path: "ricosConversation.messageInRichContent.nodes.imageData.image.duration"
139
+ },
140
+ {
141
+ path: "ricosConversation.messageInRichContent.nodes.mapData.mapSettings.lat"
142
+ },
143
+ {
144
+ path: "ricosConversation.messageInRichContent.nodes.mapData.mapSettings.lng"
145
+ },
146
+ {
147
+ path: "ricosConversation.messageInRichContent.nodes.pollData.poll.image.duration"
148
+ },
149
+ {
150
+ path: "ricosConversation.messageInRichContent.nodes.pollData.poll.options.image.duration"
151
+ },
152
+ {
153
+ path: "ricosConversation.messageInRichContent.nodes.pollData.design.poll.background.image.duration"
154
+ },
155
+ {
156
+ path: "ricosConversation.messageInRichContent.nodes.appEmbedData.image.duration"
157
+ },
158
+ {
159
+ path: "ricosConversation.messageInRichContent.nodes.videoData.video.duration"
160
+ },
161
+ {
162
+ path: "ricosConversation.messageInRichContent.nodes.videoData.thumbnail.duration"
163
+ },
164
+ {
165
+ path: "ricosConversation.messageInRichContent.nodes.audioData.audio.duration"
166
+ },
167
+ {
168
+ path: "ricosConversation.messageInRichContent.nodes.audioData.coverImage.duration"
169
+ },
170
+ {
171
+ path: "ricosConversation.messageInRichContent.nodes.layoutData.backgroundImage.media.duration"
172
+ },
173
+ {
174
+ path: "ricosConversation.messageInRichContent.nodes.layoutData.backdropImage.media.duration"
175
+ },
176
+ {
177
+ path: "ricosConversation.document.nodes.galleryData.items.image.media.duration"
178
+ },
179
+ {
180
+ path: "ricosConversation.document.nodes.galleryData.items.video.media.duration"
181
+ },
182
+ {
183
+ path: "ricosConversation.document.nodes.galleryData.items.video.thumbnail.duration"
184
+ },
185
+ {
186
+ path: "ricosConversation.document.nodes.galleryData.options.item.ratio"
187
+ },
188
+ { path: "ricosConversation.document.nodes.imageData.image.duration" },
189
+ { path: "ricosConversation.document.nodes.mapData.mapSettings.lat" },
190
+ { path: "ricosConversation.document.nodes.mapData.mapSettings.lng" },
191
+ {
192
+ path: "ricosConversation.document.nodes.pollData.poll.image.duration"
193
+ },
194
+ {
195
+ path: "ricosConversation.document.nodes.pollData.poll.options.image.duration"
196
+ },
197
+ {
198
+ path: "ricosConversation.document.nodes.pollData.design.poll.background.image.duration"
199
+ },
200
+ {
201
+ path: "ricosConversation.document.nodes.appEmbedData.image.duration"
202
+ },
203
+ { path: "ricosConversation.document.nodes.videoData.video.duration" },
204
+ {
205
+ path: "ricosConversation.document.nodes.videoData.thumbnail.duration"
206
+ },
207
+ { path: "ricosConversation.document.nodes.audioData.audio.duration" },
208
+ {
209
+ path: "ricosConversation.document.nodes.audioData.coverImage.duration"
210
+ },
211
+ {
212
+ path: "ricosConversation.document.nodes.layoutData.backgroundImage.media.duration"
213
+ },
214
+ {
215
+ path: "ricosConversation.document.nodes.layoutData.backdropImage.media.duration"
216
+ },
217
+ {
218
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.image.media.duration"
219
+ },
220
+ {
221
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.video.media.duration"
222
+ },
223
+ {
224
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.video.thumbnail.duration"
225
+ },
226
+ {
227
+ path: "ricosConversation.documentSelection.nodes.galleryData.options.item.ratio"
228
+ },
229
+ {
230
+ path: "ricosConversation.documentSelection.nodes.imageData.image.duration"
231
+ },
232
+ {
233
+ path: "ricosConversation.documentSelection.nodes.mapData.mapSettings.lat"
234
+ },
235
+ {
236
+ path: "ricosConversation.documentSelection.nodes.mapData.mapSettings.lng"
237
+ },
238
+ {
239
+ path: "ricosConversation.documentSelection.nodes.pollData.poll.image.duration"
240
+ },
241
+ {
242
+ path: "ricosConversation.documentSelection.nodes.pollData.poll.options.image.duration"
243
+ },
244
+ {
245
+ path: "ricosConversation.documentSelection.nodes.pollData.design.poll.background.image.duration"
246
+ },
247
+ {
248
+ path: "ricosConversation.documentSelection.nodes.appEmbedData.image.duration"
249
+ },
250
+ {
251
+ path: "ricosConversation.documentSelection.nodes.videoData.video.duration"
252
+ },
253
+ {
254
+ path: "ricosConversation.documentSelection.nodes.videoData.thumbnail.duration"
255
+ },
256
+ {
257
+ path: "ricosConversation.documentSelection.nodes.audioData.audio.duration"
258
+ },
259
+ {
260
+ path: "ricosConversation.documentSelection.nodes.audioData.coverImage.duration"
261
+ },
262
+ {
263
+ path: "ricosConversation.documentSelection.nodes.layoutData.backgroundImage.media.duration"
264
+ },
265
+ {
266
+ path: "ricosConversation.documentSelection.nodes.layoutData.backdropImage.media.duration"
267
+ },
268
+ { path: "ricosConversation.promptConfiguration.temperature" },
269
+ { path: "ricosConversation.promptConfiguration.topP" }
270
+ ]
271
+ },
272
+ {
273
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
274
+ paths: [
275
+ {
276
+ path: "ricosConversation.messageInRichContent.metadata.createdTimestamp"
277
+ },
278
+ {
279
+ path: "ricosConversation.messageInRichContent.metadata.updatedTimestamp"
280
+ },
281
+ { path: "ricosConversation.document.metadata.createdTimestamp" },
282
+ { path: "ricosConversation.document.metadata.updatedTimestamp" },
283
+ {
284
+ path: "ricosConversation.documentSelection.metadata.createdTimestamp"
285
+ },
286
+ {
287
+ path: "ricosConversation.documentSelection.metadata.updatedTimestamp"
288
+ }
289
+ ]
290
+ }
291
+ ]);
292
+ const metadata = {
293
+ entityFqdn: "wix.ricos.v1.ricos_conversation",
294
+ method: "POST",
295
+ methodFqn: "wix.ricos.v1.RicosAiAssistant.CreateConversationStreamed",
296
+ packageName: PACKAGE_NAME,
297
+ migrationOptions: {
298
+ optInTransformResponse: true
299
+ },
300
+ url: resolveWixRicosV1RicosAiAssistantUrl({
301
+ protoPath: "/v1/ricos-conversations/streamed",
302
+ data: serializedData,
303
+ host
304
+ }),
305
+ data: serializedData,
306
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
307
+ {
308
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
309
+ paths: [
310
+ {
311
+ path: "chunk.nodeOptions.node.galleryData.items.image.media.duration"
312
+ },
313
+ {
314
+ path: "chunk.nodeOptions.node.galleryData.items.video.media.duration"
315
+ },
316
+ {
317
+ path: "chunk.nodeOptions.node.galleryData.items.video.thumbnail.duration"
318
+ },
319
+ { path: "chunk.nodeOptions.node.galleryData.options.item.ratio" },
320
+ { path: "chunk.nodeOptions.node.imageData.image.duration" },
321
+ { path: "chunk.nodeOptions.node.mapData.mapSettings.lat" },
322
+ { path: "chunk.nodeOptions.node.mapData.mapSettings.lng" },
323
+ { path: "chunk.nodeOptions.node.pollData.poll.image.duration" },
324
+ {
325
+ path: "chunk.nodeOptions.node.pollData.poll.options.image.duration"
326
+ },
327
+ {
328
+ path: "chunk.nodeOptions.node.pollData.design.poll.background.image.duration"
329
+ },
330
+ { path: "chunk.nodeOptions.node.appEmbedData.image.duration" },
331
+ { path: "chunk.nodeOptions.node.videoData.video.duration" },
332
+ { path: "chunk.nodeOptions.node.videoData.thumbnail.duration" },
333
+ { path: "chunk.nodeOptions.node.audioData.audio.duration" },
334
+ { path: "chunk.nodeOptions.node.audioData.coverImage.duration" },
335
+ {
336
+ path: "chunk.nodeOptions.node.layoutData.backgroundImage.media.duration"
337
+ },
338
+ {
339
+ path: "chunk.nodeOptions.node.layoutData.backdropImage.media.duration"
340
+ },
341
+ {
342
+ path: "chunk.patchOptions.node.galleryData.items.image.media.duration"
343
+ },
344
+ {
345
+ path: "chunk.patchOptions.node.galleryData.items.video.media.duration"
346
+ },
347
+ {
348
+ path: "chunk.patchOptions.node.galleryData.items.video.thumbnail.duration"
349
+ },
350
+ {
351
+ path: "chunk.patchOptions.node.galleryData.options.item.ratio"
352
+ },
353
+ { path: "chunk.patchOptions.node.imageData.image.duration" },
354
+ { path: "chunk.patchOptions.node.mapData.mapSettings.lat" },
355
+ { path: "chunk.patchOptions.node.mapData.mapSettings.lng" },
356
+ { path: "chunk.patchOptions.node.pollData.poll.image.duration" },
357
+ {
358
+ path: "chunk.patchOptions.node.pollData.poll.options.image.duration"
359
+ },
360
+ {
361
+ path: "chunk.patchOptions.node.pollData.design.poll.background.image.duration"
362
+ },
363
+ { path: "chunk.patchOptions.node.appEmbedData.image.duration" },
364
+ { path: "chunk.patchOptions.node.videoData.video.duration" },
365
+ { path: "chunk.patchOptions.node.videoData.thumbnail.duration" },
366
+ { path: "chunk.patchOptions.node.audioData.audio.duration" },
367
+ { path: "chunk.patchOptions.node.audioData.coverImage.duration" },
368
+ {
369
+ path: "chunk.patchOptions.node.layoutData.backgroundImage.media.duration"
370
+ },
371
+ {
372
+ path: "chunk.patchOptions.node.layoutData.backdropImage.media.duration"
373
+ }
374
+ ]
375
+ }
376
+ ])
377
+ };
378
+ return metadata;
379
+ }
380
+ return __createConversationStreamed;
381
+ }
382
+ function continueConversationStreamed(payload) {
383
+ function __continueConversationStreamed({ host }) {
384
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
385
+ {
386
+ transformFn: import_float.transformSDKFloatToRESTFloat,
387
+ paths: [
388
+ {
389
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.image.media.duration"
390
+ },
391
+ {
392
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.video.media.duration"
393
+ },
394
+ {
395
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.video.thumbnail.duration"
396
+ },
397
+ {
398
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.options.item.ratio"
399
+ },
400
+ {
401
+ path: "ricosConversation.messageInRichContent.nodes.imageData.image.duration"
402
+ },
403
+ {
404
+ path: "ricosConversation.messageInRichContent.nodes.mapData.mapSettings.lat"
405
+ },
406
+ {
407
+ path: "ricosConversation.messageInRichContent.nodes.mapData.mapSettings.lng"
408
+ },
409
+ {
410
+ path: "ricosConversation.messageInRichContent.nodes.pollData.poll.image.duration"
411
+ },
412
+ {
413
+ path: "ricosConversation.messageInRichContent.nodes.pollData.poll.options.image.duration"
414
+ },
415
+ {
416
+ path: "ricosConversation.messageInRichContent.nodes.pollData.design.poll.background.image.duration"
417
+ },
418
+ {
419
+ path: "ricosConversation.messageInRichContent.nodes.appEmbedData.image.duration"
420
+ },
421
+ {
422
+ path: "ricosConversation.messageInRichContent.nodes.videoData.video.duration"
423
+ },
424
+ {
425
+ path: "ricosConversation.messageInRichContent.nodes.videoData.thumbnail.duration"
426
+ },
427
+ {
428
+ path: "ricosConversation.messageInRichContent.nodes.audioData.audio.duration"
429
+ },
430
+ {
431
+ path: "ricosConversation.messageInRichContent.nodes.audioData.coverImage.duration"
432
+ },
433
+ {
434
+ path: "ricosConversation.messageInRichContent.nodes.layoutData.backgroundImage.media.duration"
435
+ },
436
+ {
437
+ path: "ricosConversation.messageInRichContent.nodes.layoutData.backdropImage.media.duration"
438
+ },
439
+ {
440
+ path: "ricosConversation.document.nodes.galleryData.items.image.media.duration"
441
+ },
442
+ {
443
+ path: "ricosConversation.document.nodes.galleryData.items.video.media.duration"
444
+ },
445
+ {
446
+ path: "ricosConversation.document.nodes.galleryData.items.video.thumbnail.duration"
447
+ },
448
+ {
449
+ path: "ricosConversation.document.nodes.galleryData.options.item.ratio"
450
+ },
451
+ { path: "ricosConversation.document.nodes.imageData.image.duration" },
452
+ { path: "ricosConversation.document.nodes.mapData.mapSettings.lat" },
453
+ { path: "ricosConversation.document.nodes.mapData.mapSettings.lng" },
454
+ {
455
+ path: "ricosConversation.document.nodes.pollData.poll.image.duration"
456
+ },
457
+ {
458
+ path: "ricosConversation.document.nodes.pollData.poll.options.image.duration"
459
+ },
460
+ {
461
+ path: "ricosConversation.document.nodes.pollData.design.poll.background.image.duration"
462
+ },
463
+ {
464
+ path: "ricosConversation.document.nodes.appEmbedData.image.duration"
465
+ },
466
+ { path: "ricosConversation.document.nodes.videoData.video.duration" },
467
+ {
468
+ path: "ricosConversation.document.nodes.videoData.thumbnail.duration"
469
+ },
470
+ { path: "ricosConversation.document.nodes.audioData.audio.duration" },
471
+ {
472
+ path: "ricosConversation.document.nodes.audioData.coverImage.duration"
473
+ },
474
+ {
475
+ path: "ricosConversation.document.nodes.layoutData.backgroundImage.media.duration"
476
+ },
477
+ {
478
+ path: "ricosConversation.document.nodes.layoutData.backdropImage.media.duration"
479
+ },
480
+ {
481
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.image.media.duration"
482
+ },
483
+ {
484
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.video.media.duration"
485
+ },
486
+ {
487
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.video.thumbnail.duration"
488
+ },
489
+ {
490
+ path: "ricosConversation.documentSelection.nodes.galleryData.options.item.ratio"
491
+ },
492
+ {
493
+ path: "ricosConversation.documentSelection.nodes.imageData.image.duration"
494
+ },
495
+ {
496
+ path: "ricosConversation.documentSelection.nodes.mapData.mapSettings.lat"
497
+ },
498
+ {
499
+ path: "ricosConversation.documentSelection.nodes.mapData.mapSettings.lng"
500
+ },
501
+ {
502
+ path: "ricosConversation.documentSelection.nodes.pollData.poll.image.duration"
503
+ },
504
+ {
505
+ path: "ricosConversation.documentSelection.nodes.pollData.poll.options.image.duration"
506
+ },
507
+ {
508
+ path: "ricosConversation.documentSelection.nodes.pollData.design.poll.background.image.duration"
509
+ },
510
+ {
511
+ path: "ricosConversation.documentSelection.nodes.appEmbedData.image.duration"
512
+ },
513
+ {
514
+ path: "ricosConversation.documentSelection.nodes.videoData.video.duration"
515
+ },
516
+ {
517
+ path: "ricosConversation.documentSelection.nodes.videoData.thumbnail.duration"
518
+ },
519
+ {
520
+ path: "ricosConversation.documentSelection.nodes.audioData.audio.duration"
521
+ },
522
+ {
523
+ path: "ricosConversation.documentSelection.nodes.audioData.coverImage.duration"
524
+ },
525
+ {
526
+ path: "ricosConversation.documentSelection.nodes.layoutData.backgroundImage.media.duration"
527
+ },
528
+ {
529
+ path: "ricosConversation.documentSelection.nodes.layoutData.backdropImage.media.duration"
530
+ },
531
+ { path: "ricosConversation.promptConfiguration.temperature" },
532
+ { path: "ricosConversation.promptConfiguration.topP" }
533
+ ]
534
+ },
535
+ {
536
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
537
+ paths: [
538
+ {
539
+ path: "ricosConversation.messageInRichContent.metadata.createdTimestamp"
540
+ },
541
+ {
542
+ path: "ricosConversation.messageInRichContent.metadata.updatedTimestamp"
543
+ },
544
+ { path: "ricosConversation.document.metadata.createdTimestamp" },
545
+ { path: "ricosConversation.document.metadata.updatedTimestamp" },
546
+ {
547
+ path: "ricosConversation.documentSelection.metadata.createdTimestamp"
548
+ },
549
+ {
550
+ path: "ricosConversation.documentSelection.metadata.updatedTimestamp"
551
+ }
552
+ ]
553
+ }
554
+ ]);
555
+ const metadata = {
556
+ entityFqdn: "wix.ricos.v1.ricos_conversation",
557
+ method: "POST",
558
+ methodFqn: "wix.ricos.v1.RicosAiAssistant.ContinueConversationStreamed",
559
+ packageName: PACKAGE_NAME,
560
+ migrationOptions: {
561
+ optInTransformResponse: true
562
+ },
563
+ url: resolveWixRicosV1RicosAiAssistantUrl({
564
+ protoPath: "/v1/ricos-conversations/streamed/continue",
565
+ data: serializedData,
566
+ host
567
+ }),
568
+ data: serializedData,
569
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
570
+ {
571
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
572
+ paths: [
573
+ {
574
+ path: "chunk.nodeOptions.node.galleryData.items.image.media.duration"
575
+ },
576
+ {
577
+ path: "chunk.nodeOptions.node.galleryData.items.video.media.duration"
578
+ },
579
+ {
580
+ path: "chunk.nodeOptions.node.galleryData.items.video.thumbnail.duration"
581
+ },
582
+ { path: "chunk.nodeOptions.node.galleryData.options.item.ratio" },
583
+ { path: "chunk.nodeOptions.node.imageData.image.duration" },
584
+ { path: "chunk.nodeOptions.node.mapData.mapSettings.lat" },
585
+ { path: "chunk.nodeOptions.node.mapData.mapSettings.lng" },
586
+ { path: "chunk.nodeOptions.node.pollData.poll.image.duration" },
587
+ {
588
+ path: "chunk.nodeOptions.node.pollData.poll.options.image.duration"
589
+ },
590
+ {
591
+ path: "chunk.nodeOptions.node.pollData.design.poll.background.image.duration"
592
+ },
593
+ { path: "chunk.nodeOptions.node.appEmbedData.image.duration" },
594
+ { path: "chunk.nodeOptions.node.videoData.video.duration" },
595
+ { path: "chunk.nodeOptions.node.videoData.thumbnail.duration" },
596
+ { path: "chunk.nodeOptions.node.audioData.audio.duration" },
597
+ { path: "chunk.nodeOptions.node.audioData.coverImage.duration" },
598
+ {
599
+ path: "chunk.nodeOptions.node.layoutData.backgroundImage.media.duration"
600
+ },
601
+ {
602
+ path: "chunk.nodeOptions.node.layoutData.backdropImage.media.duration"
603
+ },
604
+ {
605
+ path: "chunk.patchOptions.node.galleryData.items.image.media.duration"
606
+ },
607
+ {
608
+ path: "chunk.patchOptions.node.galleryData.items.video.media.duration"
609
+ },
610
+ {
611
+ path: "chunk.patchOptions.node.galleryData.items.video.thumbnail.duration"
612
+ },
613
+ {
614
+ path: "chunk.patchOptions.node.galleryData.options.item.ratio"
615
+ },
616
+ { path: "chunk.patchOptions.node.imageData.image.duration" },
617
+ { path: "chunk.patchOptions.node.mapData.mapSettings.lat" },
618
+ { path: "chunk.patchOptions.node.mapData.mapSettings.lng" },
619
+ { path: "chunk.patchOptions.node.pollData.poll.image.duration" },
620
+ {
621
+ path: "chunk.patchOptions.node.pollData.poll.options.image.duration"
622
+ },
623
+ {
624
+ path: "chunk.patchOptions.node.pollData.design.poll.background.image.duration"
625
+ },
626
+ { path: "chunk.patchOptions.node.appEmbedData.image.duration" },
627
+ { path: "chunk.patchOptions.node.videoData.video.duration" },
628
+ { path: "chunk.patchOptions.node.videoData.thumbnail.duration" },
629
+ { path: "chunk.patchOptions.node.audioData.audio.duration" },
630
+ { path: "chunk.patchOptions.node.audioData.coverImage.duration" },
631
+ {
632
+ path: "chunk.patchOptions.node.layoutData.backgroundImage.media.duration"
633
+ },
634
+ {
635
+ path: "chunk.patchOptions.node.layoutData.backdropImage.media.duration"
636
+ }
637
+ ]
638
+ }
639
+ ])
640
+ };
641
+ return metadata;
642
+ }
643
+ return __continueConversationStreamed;
644
+ }
645
+ function createRicosConversation(payload) {
646
+ function __createRicosConversation({ host }) {
647
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
648
+ {
649
+ transformFn: import_float.transformSDKFloatToRESTFloat,
650
+ paths: [
651
+ {
652
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.image.media.duration"
653
+ },
654
+ {
655
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.video.media.duration"
656
+ },
657
+ {
658
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.items.video.thumbnail.duration"
659
+ },
660
+ {
661
+ path: "ricosConversation.messageInRichContent.nodes.galleryData.options.item.ratio"
662
+ },
663
+ {
664
+ path: "ricosConversation.messageInRichContent.nodes.imageData.image.duration"
665
+ },
666
+ {
667
+ path: "ricosConversation.messageInRichContent.nodes.mapData.mapSettings.lat"
668
+ },
669
+ {
670
+ path: "ricosConversation.messageInRichContent.nodes.mapData.mapSettings.lng"
671
+ },
672
+ {
673
+ path: "ricosConversation.messageInRichContent.nodes.pollData.poll.image.duration"
674
+ },
675
+ {
676
+ path: "ricosConversation.messageInRichContent.nodes.pollData.poll.options.image.duration"
677
+ },
678
+ {
679
+ path: "ricosConversation.messageInRichContent.nodes.pollData.design.poll.background.image.duration"
680
+ },
681
+ {
682
+ path: "ricosConversation.messageInRichContent.nodes.appEmbedData.image.duration"
683
+ },
684
+ {
685
+ path: "ricosConversation.messageInRichContent.nodes.videoData.video.duration"
686
+ },
687
+ {
688
+ path: "ricosConversation.messageInRichContent.nodes.videoData.thumbnail.duration"
689
+ },
690
+ {
691
+ path: "ricosConversation.messageInRichContent.nodes.audioData.audio.duration"
692
+ },
693
+ {
694
+ path: "ricosConversation.messageInRichContent.nodes.audioData.coverImage.duration"
695
+ },
696
+ {
697
+ path: "ricosConversation.messageInRichContent.nodes.layoutData.backgroundImage.media.duration"
698
+ },
699
+ {
700
+ path: "ricosConversation.messageInRichContent.nodes.layoutData.backdropImage.media.duration"
701
+ },
702
+ {
703
+ path: "ricosConversation.document.nodes.galleryData.items.image.media.duration"
704
+ },
705
+ {
706
+ path: "ricosConversation.document.nodes.galleryData.items.video.media.duration"
707
+ },
708
+ {
709
+ path: "ricosConversation.document.nodes.galleryData.items.video.thumbnail.duration"
710
+ },
711
+ {
712
+ path: "ricosConversation.document.nodes.galleryData.options.item.ratio"
713
+ },
714
+ { path: "ricosConversation.document.nodes.imageData.image.duration" },
715
+ { path: "ricosConversation.document.nodes.mapData.mapSettings.lat" },
716
+ { path: "ricosConversation.document.nodes.mapData.mapSettings.lng" },
717
+ {
718
+ path: "ricosConversation.document.nodes.pollData.poll.image.duration"
719
+ },
720
+ {
721
+ path: "ricosConversation.document.nodes.pollData.poll.options.image.duration"
722
+ },
723
+ {
724
+ path: "ricosConversation.document.nodes.pollData.design.poll.background.image.duration"
725
+ },
726
+ {
727
+ path: "ricosConversation.document.nodes.appEmbedData.image.duration"
728
+ },
729
+ { path: "ricosConversation.document.nodes.videoData.video.duration" },
730
+ {
731
+ path: "ricosConversation.document.nodes.videoData.thumbnail.duration"
732
+ },
733
+ { path: "ricosConversation.document.nodes.audioData.audio.duration" },
734
+ {
735
+ path: "ricosConversation.document.nodes.audioData.coverImage.duration"
736
+ },
737
+ {
738
+ path: "ricosConversation.document.nodes.layoutData.backgroundImage.media.duration"
739
+ },
740
+ {
741
+ path: "ricosConversation.document.nodes.layoutData.backdropImage.media.duration"
742
+ },
743
+ {
744
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.image.media.duration"
745
+ },
746
+ {
747
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.video.media.duration"
748
+ },
749
+ {
750
+ path: "ricosConversation.documentSelection.nodes.galleryData.items.video.thumbnail.duration"
751
+ },
752
+ {
753
+ path: "ricosConversation.documentSelection.nodes.galleryData.options.item.ratio"
754
+ },
755
+ {
756
+ path: "ricosConversation.documentSelection.nodes.imageData.image.duration"
757
+ },
758
+ {
759
+ path: "ricosConversation.documentSelection.nodes.mapData.mapSettings.lat"
760
+ },
761
+ {
762
+ path: "ricosConversation.documentSelection.nodes.mapData.mapSettings.lng"
763
+ },
764
+ {
765
+ path: "ricosConversation.documentSelection.nodes.pollData.poll.image.duration"
766
+ },
767
+ {
768
+ path: "ricosConversation.documentSelection.nodes.pollData.poll.options.image.duration"
769
+ },
770
+ {
771
+ path: "ricosConversation.documentSelection.nodes.pollData.design.poll.background.image.duration"
772
+ },
773
+ {
774
+ path: "ricosConversation.documentSelection.nodes.appEmbedData.image.duration"
775
+ },
776
+ {
777
+ path: "ricosConversation.documentSelection.nodes.videoData.video.duration"
778
+ },
779
+ {
780
+ path: "ricosConversation.documentSelection.nodes.videoData.thumbnail.duration"
781
+ },
782
+ {
783
+ path: "ricosConversation.documentSelection.nodes.audioData.audio.duration"
784
+ },
785
+ {
786
+ path: "ricosConversation.documentSelection.nodes.audioData.coverImage.duration"
787
+ },
788
+ {
789
+ path: "ricosConversation.documentSelection.nodes.layoutData.backgroundImage.media.duration"
790
+ },
791
+ {
792
+ path: "ricosConversation.documentSelection.nodes.layoutData.backdropImage.media.duration"
793
+ },
794
+ { path: "ricosConversation.promptConfiguration.temperature" },
795
+ { path: "ricosConversation.promptConfiguration.topP" }
796
+ ]
797
+ },
798
+ {
799
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
800
+ paths: [
801
+ {
802
+ path: "ricosConversation.messageInRichContent.metadata.createdTimestamp"
803
+ },
804
+ {
805
+ path: "ricosConversation.messageInRichContent.metadata.updatedTimestamp"
806
+ },
807
+ { path: "ricosConversation.document.metadata.createdTimestamp" },
808
+ { path: "ricosConversation.document.metadata.updatedTimestamp" },
809
+ {
810
+ path: "ricosConversation.documentSelection.metadata.createdTimestamp"
811
+ },
812
+ {
813
+ path: "ricosConversation.documentSelection.metadata.updatedTimestamp"
814
+ }
815
+ ]
816
+ }
817
+ ]);
818
+ const metadata = {
819
+ entityFqdn: "wix.ricos.v1.ricos_conversation",
820
+ method: "POST",
821
+ methodFqn: "wix.ricos.v1.RicosAiAssistant.CreateRicosConversation",
822
+ packageName: PACKAGE_NAME,
823
+ migrationOptions: {
824
+ optInTransformResponse: true
825
+ },
826
+ url: resolveWixRicosV1RicosAiAssistantUrl({
827
+ protoPath: "/v1/ricos-conversations/create",
828
+ data: serializedData,
829
+ host
830
+ }),
831
+ data: serializedData,
832
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
833
+ {
834
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
835
+ paths: [
836
+ {
837
+ path: "richContent.nodes.galleryData.items.image.media.duration"
838
+ },
839
+ {
840
+ path: "richContent.nodes.galleryData.items.video.media.duration"
841
+ },
842
+ {
843
+ path: "richContent.nodes.galleryData.items.video.thumbnail.duration"
844
+ },
845
+ { path: "richContent.nodes.galleryData.options.item.ratio" },
846
+ { path: "richContent.nodes.imageData.image.duration" },
847
+ { path: "richContent.nodes.mapData.mapSettings.lat" },
848
+ { path: "richContent.nodes.mapData.mapSettings.lng" },
849
+ { path: "richContent.nodes.pollData.poll.image.duration" },
850
+ {
851
+ path: "richContent.nodes.pollData.poll.options.image.duration"
852
+ },
853
+ {
854
+ path: "richContent.nodes.pollData.design.poll.background.image.duration"
855
+ },
856
+ { path: "richContent.nodes.appEmbedData.image.duration" },
857
+ { path: "richContent.nodes.videoData.video.duration" },
858
+ { path: "richContent.nodes.videoData.thumbnail.duration" },
859
+ { path: "richContent.nodes.audioData.audio.duration" },
860
+ { path: "richContent.nodes.audioData.coverImage.duration" },
861
+ {
862
+ path: "richContent.nodes.layoutData.backgroundImage.media.duration"
863
+ },
864
+ {
865
+ path: "richContent.nodes.layoutData.backdropImage.media.duration"
866
+ }
867
+ ]
868
+ },
869
+ {
870
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
871
+ paths: [
872
+ { path: "richContent.metadata.createdTimestamp" },
873
+ { path: "richContent.metadata.updatedTimestamp" }
874
+ ]
875
+ }
876
+ ])
877
+ };
878
+ return metadata;
879
+ }
880
+ return __createRicosConversation;
881
+ }
882
+ function listConversationSuggestions(payload) {
883
+ function __listConversationSuggestions({ host }) {
884
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
885
+ {
886
+ transformFn: import_float.transformSDKFloatToRESTFloat,
887
+ paths: [
888
+ { path: "richContent.nodes.galleryData.items.image.media.duration" },
889
+ { path: "richContent.nodes.galleryData.items.video.media.duration" },
890
+ {
891
+ path: "richContent.nodes.galleryData.items.video.thumbnail.duration"
892
+ },
893
+ { path: "richContent.nodes.galleryData.options.item.ratio" },
894
+ { path: "richContent.nodes.imageData.image.duration" },
895
+ { path: "richContent.nodes.mapData.mapSettings.lat" },
896
+ { path: "richContent.nodes.mapData.mapSettings.lng" },
897
+ { path: "richContent.nodes.pollData.poll.image.duration" },
898
+ { path: "richContent.nodes.pollData.poll.options.image.duration" },
899
+ {
900
+ path: "richContent.nodes.pollData.design.poll.background.image.duration"
901
+ },
902
+ { path: "richContent.nodes.appEmbedData.image.duration" },
903
+ { path: "richContent.nodes.videoData.video.duration" },
904
+ { path: "richContent.nodes.videoData.thumbnail.duration" },
905
+ { path: "richContent.nodes.audioData.audio.duration" },
906
+ { path: "richContent.nodes.audioData.coverImage.duration" },
907
+ {
908
+ path: "richContent.nodes.layoutData.backgroundImage.media.duration"
909
+ },
910
+ { path: "richContent.nodes.layoutData.backdropImage.media.duration" }
911
+ ]
912
+ },
913
+ {
914
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
915
+ paths: [
916
+ { path: "richContent.metadata.createdTimestamp" },
917
+ { path: "richContent.metadata.updatedTimestamp" }
918
+ ]
919
+ }
920
+ ]);
921
+ const metadata = {
922
+ entityFqdn: "wix.ricos.v1.ricos_conversation",
923
+ method: "POST",
924
+ methodFqn: "wix.ricos.v1.RicosAiAssistant.ListConversationSuggestions",
925
+ packageName: PACKAGE_NAME,
926
+ migrationOptions: {
927
+ optInTransformResponse: true
928
+ },
929
+ url: resolveWixRicosV1RicosAiAssistantUrl({
930
+ protoPath: "/v1/ricos-conversations/suggestions/list",
931
+ data: serializedData,
932
+ host
933
+ }),
934
+ data: serializedData
935
+ };
936
+ return metadata;
937
+ }
938
+ return __listConversationSuggestions;
939
+ }
940
+
941
+ // src/ricos-v1-ricos-conversation-ricos-conversations.types.ts
942
+ var NodeType = /* @__PURE__ */ ((NodeType2) => {
943
+ NodeType2["PARAGRAPH"] = "PARAGRAPH";
944
+ NodeType2["TEXT"] = "TEXT";
945
+ NodeType2["HEADING"] = "HEADING";
946
+ NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
947
+ NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
948
+ NodeType2["LIST_ITEM"] = "LIST_ITEM";
949
+ NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
950
+ NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
951
+ NodeType2["VIDEO"] = "VIDEO";
952
+ NodeType2["DIVIDER"] = "DIVIDER";
953
+ NodeType2["FILE"] = "FILE";
954
+ NodeType2["GALLERY"] = "GALLERY";
955
+ NodeType2["GIF"] = "GIF";
956
+ NodeType2["HTML"] = "HTML";
957
+ NodeType2["IMAGE"] = "IMAGE";
958
+ NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
959
+ NodeType2["MAP"] = "MAP";
960
+ NodeType2["POLL"] = "POLL";
961
+ NodeType2["APP_EMBED"] = "APP_EMBED";
962
+ NodeType2["BUTTON"] = "BUTTON";
963
+ NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
964
+ NodeType2["TABLE"] = "TABLE";
965
+ NodeType2["EMBED"] = "EMBED";
966
+ NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
967
+ NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
968
+ NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
969
+ NodeType2["TABLE_CELL"] = "TABLE_CELL";
970
+ NodeType2["TABLE_ROW"] = "TABLE_ROW";
971
+ NodeType2["EXTERNAL"] = "EXTERNAL";
972
+ NodeType2["AUDIO"] = "AUDIO";
973
+ NodeType2["CAPTION"] = "CAPTION";
974
+ NodeType2["LAYOUT"] = "LAYOUT";
975
+ NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
976
+ return NodeType2;
977
+ })(NodeType || {});
978
+ var WidthType = /* @__PURE__ */ ((WidthType2) => {
979
+ WidthType2["CONTENT"] = "CONTENT";
980
+ WidthType2["SMALL"] = "SMALL";
981
+ WidthType2["ORIGINAL"] = "ORIGINAL";
982
+ WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
983
+ return WidthType2;
984
+ })(WidthType || {});
985
+ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
986
+ PluginContainerDataAlignment2["CENTER"] = "CENTER";
987
+ PluginContainerDataAlignment2["LEFT"] = "LEFT";
988
+ PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
989
+ return PluginContainerDataAlignment2;
990
+ })(PluginContainerDataAlignment || {});
991
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
992
+ ButtonDataType2["LINK"] = "LINK";
993
+ ButtonDataType2["ACTION"] = "ACTION";
994
+ return ButtonDataType2;
995
+ })(ButtonDataType || {});
996
+ var Target = /* @__PURE__ */ ((Target2) => {
997
+ Target2["SELF"] = "SELF";
998
+ Target2["BLANK"] = "BLANK";
999
+ Target2["PARENT"] = "PARENT";
1000
+ Target2["TOP"] = "TOP";
1001
+ return Target2;
1002
+ })(Target || {});
1003
+ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
1004
+ TextAlignment2["AUTO"] = "AUTO";
1005
+ TextAlignment2["LEFT"] = "LEFT";
1006
+ TextAlignment2["RIGHT"] = "RIGHT";
1007
+ TextAlignment2["CENTER"] = "CENTER";
1008
+ TextAlignment2["JUSTIFY"] = "JUSTIFY";
1009
+ return TextAlignment2;
1010
+ })(TextAlignment || {});
1011
+ var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
1012
+ LineStyle2["SINGLE"] = "SINGLE";
1013
+ LineStyle2["DOUBLE"] = "DOUBLE";
1014
+ LineStyle2["DASHED"] = "DASHED";
1015
+ LineStyle2["DOTTED"] = "DOTTED";
1016
+ return LineStyle2;
1017
+ })(LineStyle || {});
1018
+ var Width = /* @__PURE__ */ ((Width2) => {
1019
+ Width2["LARGE"] = "LARGE";
1020
+ Width2["MEDIUM"] = "MEDIUM";
1021
+ Width2["SMALL"] = "SMALL";
1022
+ return Width2;
1023
+ })(Width || {});
1024
+ var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
1025
+ DividerDataAlignment2["CENTER"] = "CENTER";
1026
+ DividerDataAlignment2["LEFT"] = "LEFT";
1027
+ DividerDataAlignment2["RIGHT"] = "RIGHT";
1028
+ return DividerDataAlignment2;
1029
+ })(DividerDataAlignment || {});
1030
+ var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
1031
+ ViewMode2["NONE"] = "NONE";
1032
+ ViewMode2["FULL"] = "FULL";
1033
+ ViewMode2["MINI"] = "MINI";
1034
+ return ViewMode2;
1035
+ })(ViewMode || {});
1036
+ var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
1037
+ LayoutType2["COLLAGE"] = "COLLAGE";
1038
+ LayoutType2["MASONRY"] = "MASONRY";
1039
+ LayoutType2["GRID"] = "GRID";
1040
+ LayoutType2["THUMBNAIL"] = "THUMBNAIL";
1041
+ LayoutType2["SLIDER"] = "SLIDER";
1042
+ LayoutType2["SLIDESHOW"] = "SLIDESHOW";
1043
+ LayoutType2["PANORAMA"] = "PANORAMA";
1044
+ LayoutType2["COLUMN"] = "COLUMN";
1045
+ LayoutType2["MAGIC"] = "MAGIC";
1046
+ LayoutType2["FULLSIZE"] = "FULLSIZE";
1047
+ return LayoutType2;
1048
+ })(LayoutType || {});
1049
+ var Orientation = /* @__PURE__ */ ((Orientation2) => {
1050
+ Orientation2["ROWS"] = "ROWS";
1051
+ Orientation2["COLUMNS"] = "COLUMNS";
1052
+ return Orientation2;
1053
+ })(Orientation || {});
1054
+ var Crop = /* @__PURE__ */ ((Crop2) => {
1055
+ Crop2["FILL"] = "FILL";
1056
+ Crop2["FIT"] = "FIT";
1057
+ return Crop2;
1058
+ })(Crop || {});
1059
+ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
1060
+ ThumbnailsAlignment2["TOP"] = "TOP";
1061
+ ThumbnailsAlignment2["RIGHT"] = "RIGHT";
1062
+ ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
1063
+ ThumbnailsAlignment2["LEFT"] = "LEFT";
1064
+ ThumbnailsAlignment2["NONE"] = "NONE";
1065
+ return ThumbnailsAlignment2;
1066
+ })(ThumbnailsAlignment || {});
1067
+ var GIFType = /* @__PURE__ */ ((GIFType2) => {
1068
+ GIFType2["NORMAL"] = "NORMAL";
1069
+ GIFType2["STICKER"] = "STICKER";
1070
+ return GIFType2;
1071
+ })(GIFType || {});
1072
+ var Source = /* @__PURE__ */ ((Source2) => {
1073
+ Source2["HTML"] = "HTML";
1074
+ Source2["ADSENSE"] = "ADSENSE";
1075
+ Source2["AI"] = "AI";
1076
+ return Source2;
1077
+ })(Source || {});
1078
+ var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
1079
+ StylesPosition2["START"] = "START";
1080
+ StylesPosition2["END"] = "END";
1081
+ StylesPosition2["TOP"] = "TOP";
1082
+ StylesPosition2["HIDDEN"] = "HIDDEN";
1083
+ return StylesPosition2;
1084
+ })(StylesPosition || {});
1085
+ var MapType = /* @__PURE__ */ ((MapType2) => {
1086
+ MapType2["ROADMAP"] = "ROADMAP";
1087
+ MapType2["SATELITE"] = "SATELITE";
1088
+ MapType2["HYBRID"] = "HYBRID";
1089
+ MapType2["TERRAIN"] = "TERRAIN";
1090
+ return MapType2;
1091
+ })(MapType || {});
1092
+ var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
1093
+ ViewRole2["CREATOR"] = "CREATOR";
1094
+ ViewRole2["VOTERS"] = "VOTERS";
1095
+ ViewRole2["EVERYONE"] = "EVERYONE";
1096
+ return ViewRole2;
1097
+ })(ViewRole || {});
1098
+ var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
1099
+ VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
1100
+ VoteRole2["ALL"] = "ALL";
1101
+ return VoteRole2;
1102
+ })(VoteRole || {});
1103
+ var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
1104
+ PollLayoutType2["LIST"] = "LIST";
1105
+ PollLayoutType2["GRID"] = "GRID";
1106
+ return PollLayoutType2;
1107
+ })(PollLayoutType || {});
1108
+ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
1109
+ PollLayoutDirection2["LTR"] = "LTR";
1110
+ PollLayoutDirection2["RTL"] = "RTL";
1111
+ return PollLayoutDirection2;
1112
+ })(PollLayoutDirection || {});
1113
+ var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
1114
+ BackgroundType2["COLOR"] = "COLOR";
1115
+ BackgroundType2["IMAGE"] = "IMAGE";
1116
+ BackgroundType2["GRADIENT"] = "GRADIENT";
1117
+ return BackgroundType2;
1118
+ })(BackgroundType || {});
1119
+ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1120
+ DecorationType2["BOLD"] = "BOLD";
1121
+ DecorationType2["ITALIC"] = "ITALIC";
1122
+ DecorationType2["UNDERLINE"] = "UNDERLINE";
1123
+ DecorationType2["SPOILER"] = "SPOILER";
1124
+ DecorationType2["ANCHOR"] = "ANCHOR";
1125
+ DecorationType2["MENTION"] = "MENTION";
1126
+ DecorationType2["LINK"] = "LINK";
1127
+ DecorationType2["COLOR"] = "COLOR";
1128
+ DecorationType2["FONT_SIZE"] = "FONT_SIZE";
1129
+ DecorationType2["EXTERNAL"] = "EXTERNAL";
1130
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
1131
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
1132
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
1133
+ return DecorationType2;
1134
+ })(DecorationType || {});
1135
+ var FontType = /* @__PURE__ */ ((FontType2) => {
1136
+ FontType2["PX"] = "PX";
1137
+ FontType2["EM"] = "EM";
1138
+ return FontType2;
1139
+ })(FontType || {});
1140
+ var Position = /* @__PURE__ */ ((Position2) => {
1141
+ Position2["START"] = "START";
1142
+ Position2["END"] = "END";
1143
+ Position2["TOP"] = "TOP";
1144
+ return Position2;
1145
+ })(Position || {});
1146
+ var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
1147
+ AspectRatio2["SQUARE"] = "SQUARE";
1148
+ AspectRatio2["RECTANGLE"] = "RECTANGLE";
1149
+ return AspectRatio2;
1150
+ })(AspectRatio || {});
1151
+ var Resizing = /* @__PURE__ */ ((Resizing2) => {
1152
+ Resizing2["FILL"] = "FILL";
1153
+ Resizing2["FIT"] = "FIT";
1154
+ return Resizing2;
1155
+ })(Resizing || {});
1156
+ var Placement = /* @__PURE__ */ ((Placement2) => {
1157
+ Placement2["IMAGE"] = "IMAGE";
1158
+ Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
1159
+ return Placement2;
1160
+ })(Placement || {});
1161
+ var Type = /* @__PURE__ */ ((Type2) => {
1162
+ Type2["CONTAINED"] = "CONTAINED";
1163
+ Type2["FRAMELESS"] = "FRAMELESS";
1164
+ return Type2;
1165
+ })(Type || {});
1166
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
1167
+ Alignment2["START"] = "START";
1168
+ Alignment2["CENTER"] = "CENTER";
1169
+ Alignment2["END"] = "END";
1170
+ return Alignment2;
1171
+ })(Alignment || {});
1172
+ var Layout = /* @__PURE__ */ ((Layout2) => {
1173
+ Layout2["STACKED"] = "STACKED";
1174
+ Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
1175
+ return Layout2;
1176
+ })(Layout || {});
1177
+ var AppType = /* @__PURE__ */ ((AppType2) => {
1178
+ AppType2["PRODUCT"] = "PRODUCT";
1179
+ AppType2["EVENT"] = "EVENT";
1180
+ AppType2["BOOKING"] = "BOOKING";
1181
+ return AppType2;
1182
+ })(AppType || {});
1183
+ var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
1184
+ InitialExpandedItems2["FIRST"] = "FIRST";
1185
+ InitialExpandedItems2["ALL"] = "ALL";
1186
+ InitialExpandedItems2["NONE"] = "NONE";
1187
+ return InitialExpandedItems2;
1188
+ })(InitialExpandedItems || {});
1189
+ var Direction = /* @__PURE__ */ ((Direction2) => {
1190
+ Direction2["LTR"] = "LTR";
1191
+ Direction2["RTL"] = "RTL";
1192
+ return Direction2;
1193
+ })(Direction || {});
1194
+ var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
1195
+ VerticalAlignment2["TOP"] = "TOP";
1196
+ VerticalAlignment2["MIDDLE"] = "MIDDLE";
1197
+ VerticalAlignment2["BOTTOM"] = "BOTTOM";
1198
+ return VerticalAlignment2;
1199
+ })(VerticalAlignment || {});
1200
+ var NullValue = /* @__PURE__ */ ((NullValue2) => {
1201
+ NullValue2["NULL_VALUE"] = "NULL_VALUE";
1202
+ return NullValue2;
1203
+ })(NullValue || {});
1204
+ var Scaling = /* @__PURE__ */ ((Scaling2) => {
1205
+ Scaling2["AUTO"] = "AUTO";
1206
+ Scaling2["CONTAIN"] = "CONTAIN";
1207
+ Scaling2["COVER"] = "COVER";
1208
+ return Scaling2;
1209
+ })(Scaling || {});
1210
+ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1211
+ ImagePosition2["CENTER"] = "CENTER";
1212
+ ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
1213
+ ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
1214
+ ImagePosition2["TOP"] = "TOP";
1215
+ ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
1216
+ ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
1217
+ ImagePosition2["BOTTOM"] = "BOTTOM";
1218
+ ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
1219
+ ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1220
+ return ImagePosition2;
1221
+ })(ImagePosition || {});
1222
+ var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1223
+ VerticalAlignmentAlignment2["TOP"] = "TOP";
1224
+ VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
1225
+ VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
1226
+ return VerticalAlignmentAlignment2;
1227
+ })(VerticalAlignmentAlignment || {});
1228
+ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
1229
+ ResponsivenessBehaviour2["STACK"] = "STACK";
1230
+ ResponsivenessBehaviour2["WRAP"] = "WRAP";
1231
+ return ResponsivenessBehaviour2;
1232
+ })(ResponsivenessBehaviour || {});
1233
+ var ChunkType = /* @__PURE__ */ ((ChunkType2) => {
1234
+ ChunkType2["CHUNK_TYPE_UNKNOWN"] = "CHUNK_TYPE_UNKNOWN";
1235
+ ChunkType2["EXPLAIN"] = "EXPLAIN";
1236
+ ChunkType2["INSERT"] = "INSERT";
1237
+ ChunkType2["REPLACE"] = "REPLACE";
1238
+ ChunkType2["NODE"] = "NODE";
1239
+ ChunkType2["NODE_TEXT"] = "NODE_TEXT";
1240
+ ChunkType2["INSERT_END"] = "INSERT_END";
1241
+ ChunkType2["REPLACE_END"] = "REPLACE_END";
1242
+ ChunkType2["TOOL_USE"] = "TOOL_USE";
1243
+ ChunkType2["PATCH"] = "PATCH";
1244
+ ChunkType2["PROGRESS"] = "PROGRESS";
1245
+ ChunkType2["SUMMARY"] = "SUMMARY";
1246
+ ChunkType2["SUGGESTION"] = "SUGGESTION";
1247
+ return ChunkType2;
1248
+ })(ChunkType || {});
1249
+ var SuggestionAction = /* @__PURE__ */ ((SuggestionAction2) => {
1250
+ SuggestionAction2["SUGGESTION_ACTION_UNKNOWN"] = "SUGGESTION_ACTION_UNKNOWN";
1251
+ SuggestionAction2["REPLACE"] = "REPLACE";
1252
+ SuggestionAction2["INSERT"] = "INSERT";
1253
+ return SuggestionAction2;
1254
+ })(SuggestionAction || {});
1255
+ var Action = /* @__PURE__ */ ((Action2) => {
1256
+ Action2["UNKNOWN_ACTION"] = "UNKNOWN_ACTION";
1257
+ Action2["INSERT"] = "INSERT";
1258
+ Action2["REPLACE"] = "REPLACE";
1259
+ return Action2;
1260
+ })(Action || {});
1261
+ var PositionsPosition = /* @__PURE__ */ ((PositionsPosition2) => {
1262
+ PositionsPosition2["UNKNOWN_POSITION"] = "UNKNOWN_POSITION";
1263
+ PositionsPosition2["RANGE"] = "RANGE";
1264
+ return PositionsPosition2;
1265
+ })(PositionsPosition || {});
1266
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1267
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1268
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1269
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1270
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1271
+ WebhookIdentityType2["APP"] = "APP";
1272
+ return WebhookIdentityType2;
1273
+ })(WebhookIdentityType || {});
1274
+
1275
+ // src/ricos-v1-ricos-conversation-ricos-conversations.meta.ts
1276
+ function createConversationStreamed2() {
1277
+ const payload = {};
1278
+ const getRequestOptions = createConversationStreamed(payload);
1279
+ const getUrl = (context) => {
1280
+ const { url } = getRequestOptions(context);
1281
+ return url;
1282
+ };
1283
+ return {
1284
+ getUrl,
1285
+ httpMethod: "POST",
1286
+ path: "/v1/ricos-conversations/streamed",
1287
+ pathParams: {},
1288
+ __requestType: null,
1289
+ __originalRequestType: null,
1290
+ __responseType: null,
1291
+ __originalResponseType: null
1292
+ };
1293
+ }
1294
+ function continueConversationStreamed2() {
1295
+ const payload = {};
1296
+ const getRequestOptions = continueConversationStreamed(payload);
1297
+ const getUrl = (context) => {
1298
+ const { url } = getRequestOptions(context);
1299
+ return url;
1300
+ };
1301
+ return {
1302
+ getUrl,
1303
+ httpMethod: "POST",
1304
+ path: "/v1/ricos-conversations/streamed/continue",
1305
+ pathParams: {},
1306
+ __requestType: null,
1307
+ __originalRequestType: null,
1308
+ __responseType: null,
1309
+ __originalResponseType: null
1310
+ };
1311
+ }
1312
+ function createRicosConversation2() {
1313
+ const payload = {};
1314
+ const getRequestOptions = createRicosConversation(payload);
1315
+ const getUrl = (context) => {
1316
+ const { url } = getRequestOptions(context);
1317
+ return url;
1318
+ };
1319
+ return {
1320
+ getUrl,
1321
+ httpMethod: "POST",
1322
+ path: "/v1/ricos-conversations/create",
1323
+ pathParams: {},
1324
+ __requestType: null,
1325
+ __originalRequestType: null,
1326
+ __responseType: null,
1327
+ __originalResponseType: null
1328
+ };
1329
+ }
1330
+ function listConversationSuggestions2() {
1331
+ const payload = {};
1332
+ const getRequestOptions = listConversationSuggestions(payload);
1333
+ const getUrl = (context) => {
1334
+ const { url } = getRequestOptions(context);
1335
+ return url;
1336
+ };
1337
+ return {
1338
+ getUrl,
1339
+ httpMethod: "POST",
1340
+ path: "/v1/ricos-conversations/suggestions/list",
1341
+ pathParams: {},
1342
+ __requestType: null,
1343
+ __originalRequestType: null,
1344
+ __responseType: null,
1345
+ __originalResponseType: null
1346
+ };
1347
+ }
1348
+ // Annotate the CommonJS export names for ESM import in node:
1349
+ 0 && (module.exports = {
1350
+ ActionOriginal,
1351
+ AlignmentOriginal,
1352
+ AppTypeOriginal,
1353
+ AspectRatioOriginal,
1354
+ BackgroundTypeOriginal,
1355
+ ButtonDataTypeOriginal,
1356
+ ChunkTypeOriginal,
1357
+ CropOriginal,
1358
+ DecorationTypeOriginal,
1359
+ DirectionOriginal,
1360
+ DividerDataAlignmentOriginal,
1361
+ FontTypeOriginal,
1362
+ GIFTypeOriginal,
1363
+ ImagePositionOriginal,
1364
+ InitialExpandedItemsOriginal,
1365
+ LayoutOriginal,
1366
+ LayoutTypeOriginal,
1367
+ LineStyleOriginal,
1368
+ MapTypeOriginal,
1369
+ NodeTypeOriginal,
1370
+ NullValueOriginal,
1371
+ OrientationOriginal,
1372
+ PlacementOriginal,
1373
+ PluginContainerDataAlignmentOriginal,
1374
+ PollLayoutDirectionOriginal,
1375
+ PollLayoutTypeOriginal,
1376
+ PositionOriginal,
1377
+ PositionsPositionOriginal,
1378
+ ResizingOriginal,
1379
+ ResponsivenessBehaviourOriginal,
1380
+ ScalingOriginal,
1381
+ SourceOriginal,
1382
+ StylesPositionOriginal,
1383
+ SuggestionActionOriginal,
1384
+ TargetOriginal,
1385
+ TextAlignmentOriginal,
1386
+ ThumbnailsAlignmentOriginal,
1387
+ TypeOriginal,
1388
+ VerticalAlignmentAlignmentOriginal,
1389
+ VerticalAlignmentOriginal,
1390
+ ViewModeOriginal,
1391
+ ViewRoleOriginal,
1392
+ VoteRoleOriginal,
1393
+ WebhookIdentityTypeOriginal,
1394
+ WidthOriginal,
1395
+ WidthTypeOriginal,
1396
+ continueConversationStreamed,
1397
+ createConversationStreamed,
1398
+ createRicosConversation,
1399
+ listConversationSuggestions
1400
+ });
1401
+ //# sourceMappingURL=meta.js.map