@wix/auto_sdk_ai-site-chat_assistant-training 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/innovation-playground-v2-message-assistant-training.types.d.ts +140 -33
- package/build/cjs/src/innovation-playground-v2-message-assistant-training.types.js.map +1 -1
- package/build/cjs/src/innovation-playground-v2-message-assistant-training.universal.d.ts +161 -32
- package/build/cjs/src/innovation-playground-v2-message-assistant-training.universal.js +24 -0
- package/build/cjs/src/innovation-playground-v2-message-assistant-training.universal.js.map +1 -1
- package/build/es/src/innovation-playground-v2-message-assistant-training.types.d.ts +140 -33
- package/build/es/src/innovation-playground-v2-message-assistant-training.types.js.map +1 -1
- package/build/es/src/innovation-playground-v2-message-assistant-training.universal.d.ts +161 -32
- package/build/es/src/innovation-playground-v2-message-assistant-training.universal.js +24 -0
- package/build/es/src/innovation-playground-v2-message-assistant-training.universal.js.map +1 -1
- package/build/internal/cjs/src/innovation-playground-v2-message-assistant-training.types.d.ts +140 -33
- package/build/internal/cjs/src/innovation-playground-v2-message-assistant-training.types.js.map +1 -1
- package/build/internal/cjs/src/innovation-playground-v2-message-assistant-training.universal.d.ts +161 -32
- package/build/internal/cjs/src/innovation-playground-v2-message-assistant-training.universal.js +24 -0
- package/build/internal/cjs/src/innovation-playground-v2-message-assistant-training.universal.js.map +1 -1
- package/build/internal/es/src/innovation-playground-v2-message-assistant-training.types.d.ts +140 -33
- package/build/internal/es/src/innovation-playground-v2-message-assistant-training.types.js.map +1 -1
- package/build/internal/es/src/innovation-playground-v2-message-assistant-training.universal.d.ts +161 -32
- package/build/internal/es/src/innovation-playground-v2-message-assistant-training.universal.js +24 -0
- package/build/internal/es/src/innovation-playground-v2-message-assistant-training.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Message {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Message ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
_id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Conversation ID.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
conversationId?: string;
|
|
6
12
|
/** Message sender type. */
|
|
7
13
|
sender?: Sender;
|
|
@@ -26,7 +32,10 @@ export interface Message {
|
|
|
26
32
|
revision?: string | null;
|
|
27
33
|
/** Message body. */
|
|
28
34
|
body?: Body;
|
|
29
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* ID of the message that this message is answering.
|
|
37
|
+
* @format GUID
|
|
38
|
+
*/
|
|
30
39
|
answerTo?: string | null;
|
|
31
40
|
/** Extended fields. */
|
|
32
41
|
extendedFields?: ExtendedFields;
|
|
@@ -42,7 +51,10 @@ export declare enum Sender {
|
|
|
42
51
|
ASSISTANT = "ASSISTANT"
|
|
43
52
|
}
|
|
44
53
|
export interface Feedback {
|
|
45
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Feedback text.
|
|
56
|
+
* @maxLength 4096
|
|
57
|
+
*/
|
|
46
58
|
text?: string | null;
|
|
47
59
|
/**
|
|
48
60
|
* Document attached to the feedback.
|
|
@@ -51,6 +63,7 @@ export interface Feedback {
|
|
|
51
63
|
document?: Document;
|
|
52
64
|
/**
|
|
53
65
|
* Defined if there's an error attaching the document.
|
|
66
|
+
* @maxLength 4096
|
|
54
67
|
* @readonly
|
|
55
68
|
*/
|
|
56
69
|
error?: string | null;
|
|
@@ -58,15 +71,31 @@ export interface Feedback {
|
|
|
58
71
|
type?: FeedbackType;
|
|
59
72
|
}
|
|
60
73
|
export interface Document {
|
|
61
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* ID of the external document.
|
|
76
|
+
* @maxLength 36
|
|
77
|
+
*/
|
|
62
78
|
_id?: string;
|
|
63
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Title of the external document.
|
|
81
|
+
* @maxLength 1000
|
|
82
|
+
*/
|
|
64
83
|
title?: string;
|
|
65
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Description of the external document.
|
|
86
|
+
* @maxLength 100000
|
|
87
|
+
*/
|
|
66
88
|
description?: string;
|
|
67
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Tags of the external document.
|
|
91
|
+
* @maxLength 1000
|
|
92
|
+
* @maxSize 10
|
|
93
|
+
*/
|
|
68
94
|
tags?: string[];
|
|
69
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* URL of the external document.
|
|
97
|
+
* @maxLength 1000
|
|
98
|
+
*/
|
|
70
99
|
url?: string;
|
|
71
100
|
/** Category of the external document. */
|
|
72
101
|
category?: Category;
|
|
@@ -113,11 +142,20 @@ export declare enum FeedbackType {
|
|
|
113
142
|
OTHER = "OTHER"
|
|
114
143
|
}
|
|
115
144
|
export interface Body {
|
|
116
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* Main text of the message.
|
|
147
|
+
* @maxLength 4096
|
|
148
|
+
*/
|
|
117
149
|
mainText?: string | null;
|
|
118
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Footer text of the message.
|
|
152
|
+
* @maxLength 4096
|
|
153
|
+
*/
|
|
119
154
|
footerText?: string | null;
|
|
120
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* Additional data.
|
|
157
|
+
* @maxSize 30
|
|
158
|
+
*/
|
|
121
159
|
additionalData?: Record<string, any>[] | null;
|
|
122
160
|
}
|
|
123
161
|
export interface ExtendedFields {
|
|
@@ -160,7 +198,11 @@ export interface Tags {
|
|
|
160
198
|
tags?: TagList;
|
|
161
199
|
}
|
|
162
200
|
export interface TagList {
|
|
163
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* List of tag IDs
|
|
203
|
+
* @maxSize 100
|
|
204
|
+
* @maxLength 5
|
|
205
|
+
*/
|
|
164
206
|
tagIds?: string[];
|
|
165
207
|
}
|
|
166
208
|
export interface QueryMessagesRequest {
|
|
@@ -184,6 +226,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
184
226
|
* Sort object.
|
|
185
227
|
*
|
|
186
228
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
229
|
+
* @maxSize 5
|
|
187
230
|
*/
|
|
188
231
|
sort?: Sorting[];
|
|
189
232
|
}
|
|
@@ -197,7 +240,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
197
240
|
cursorPaging?: CursorPaging;
|
|
198
241
|
}
|
|
199
242
|
export interface Sorting {
|
|
200
|
-
/**
|
|
243
|
+
/**
|
|
244
|
+
* Name of the field to sort by.
|
|
245
|
+
* @maxLength 512
|
|
246
|
+
*/
|
|
201
247
|
fieldName?: string;
|
|
202
248
|
/** Sort order. */
|
|
203
249
|
order?: SortOrder;
|
|
@@ -207,13 +253,17 @@ export declare enum SortOrder {
|
|
|
207
253
|
DESC = "DESC"
|
|
208
254
|
}
|
|
209
255
|
export interface CursorPaging {
|
|
210
|
-
/**
|
|
256
|
+
/**
|
|
257
|
+
* Maximum number of items to return in the results.
|
|
258
|
+
* @max 100
|
|
259
|
+
*/
|
|
211
260
|
limit?: number | null;
|
|
212
261
|
/**
|
|
213
262
|
* Pointer to the next or previous page in the list of results.
|
|
214
263
|
*
|
|
215
264
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
216
265
|
* Not relevant for the first request.
|
|
266
|
+
* @maxLength 16000
|
|
217
267
|
*/
|
|
218
268
|
cursor?: string | null;
|
|
219
269
|
}
|
|
@@ -221,6 +271,7 @@ export interface QueryMessagesResponse {
|
|
|
221
271
|
/**
|
|
222
272
|
* Messages type.
|
|
223
273
|
*
|
|
274
|
+
* @maxSize 1000
|
|
224
275
|
*/
|
|
225
276
|
messages?: Message[];
|
|
226
277
|
/** Paging metadata. */
|
|
@@ -240,9 +291,15 @@ export interface CursorPagingMetadata {
|
|
|
240
291
|
hasNext?: boolean | null;
|
|
241
292
|
}
|
|
242
293
|
export interface Cursors {
|
|
243
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Cursor string pointing to the next page in the list of results.
|
|
296
|
+
* @maxLength 16000
|
|
297
|
+
*/
|
|
244
298
|
next?: string | null;
|
|
245
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* Cursor pointing to the previous page in the list of results.
|
|
301
|
+
* @maxLength 16000
|
|
302
|
+
*/
|
|
246
303
|
prev?: string | null;
|
|
247
304
|
}
|
|
248
305
|
export interface AskQuestionRequest {
|
|
@@ -254,7 +311,10 @@ export interface AskQuestionResponse {
|
|
|
254
311
|
answer?: Message;
|
|
255
312
|
}
|
|
256
313
|
export interface AddFeedbackRequest {
|
|
257
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* ID of the message to add feedback to.
|
|
316
|
+
* @format GUID
|
|
317
|
+
*/
|
|
258
318
|
messageId: string;
|
|
259
319
|
/** Feedback to add to the message. */
|
|
260
320
|
feedback: Feedback;
|
|
@@ -266,7 +326,12 @@ export interface AddFeedbackResponse {
|
|
|
266
326
|
message?: Message;
|
|
267
327
|
}
|
|
268
328
|
export interface BulkUpdateMessageTagsRequest {
|
|
269
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Message IDs. Tags are updated for messages included in this list.
|
|
331
|
+
* @minSize 1
|
|
332
|
+
* @maxSize 100
|
|
333
|
+
* @format GUID
|
|
334
|
+
*/
|
|
270
335
|
ids: string[] | null;
|
|
271
336
|
/** Tags to assign. */
|
|
272
337
|
assignTags: Tags;
|
|
@@ -274,13 +339,20 @@ export interface BulkUpdateMessageTagsRequest {
|
|
|
274
339
|
unassignTags?: Tags;
|
|
275
340
|
}
|
|
276
341
|
export interface BulkUpdateMessageTagsResponse {
|
|
277
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* List of metadata for each message updated.
|
|
344
|
+
* @minSize 1
|
|
345
|
+
* @maxSize 100
|
|
346
|
+
*/
|
|
278
347
|
results?: BulkUpdateMessageTagsResult[];
|
|
279
348
|
/** Metadata. */
|
|
280
349
|
bulkActionMetadata?: BulkActionMetadata;
|
|
281
350
|
}
|
|
282
351
|
export interface ItemMetadata {
|
|
283
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
284
356
|
_id?: string | null;
|
|
285
357
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
286
358
|
originalIndex?: number;
|
|
@@ -318,7 +390,10 @@ export interface BulkUpdateMessageTagsByFilterRequest {
|
|
|
318
390
|
unassignTags?: Tags;
|
|
319
391
|
}
|
|
320
392
|
export interface BulkUpdateMessageTagsByFilterResponse {
|
|
321
|
-
/**
|
|
393
|
+
/**
|
|
394
|
+
* Job ID.
|
|
395
|
+
* @format GUID
|
|
396
|
+
*/
|
|
322
397
|
jobId?: string;
|
|
323
398
|
}
|
|
324
399
|
export interface UpdateExtendedFieldsRequest {
|
|
@@ -406,9 +481,15 @@ export interface ActionEvent {
|
|
|
406
481
|
body?: string;
|
|
407
482
|
}
|
|
408
483
|
export interface MessageEnvelope {
|
|
409
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* App instance ID.
|
|
486
|
+
* @format GUID
|
|
487
|
+
*/
|
|
410
488
|
instanceId?: string | null;
|
|
411
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* Event type.
|
|
491
|
+
* @maxLength 150
|
|
492
|
+
*/
|
|
412
493
|
eventType?: string;
|
|
413
494
|
/** The identification type and identity data. */
|
|
414
495
|
identity?: IdentificationData;
|
|
@@ -416,26 +497,50 @@ export interface MessageEnvelope {
|
|
|
416
497
|
data?: string;
|
|
417
498
|
}
|
|
418
499
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
419
|
-
/**
|
|
500
|
+
/**
|
|
501
|
+
* ID of a site visitor that has not logged in to the site.
|
|
502
|
+
* @format GUID
|
|
503
|
+
*/
|
|
420
504
|
anonymousVisitorId?: string;
|
|
421
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* ID of a site visitor that has logged in to the site.
|
|
507
|
+
* @format GUID
|
|
508
|
+
*/
|
|
422
509
|
memberId?: string;
|
|
423
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
512
|
+
* @format GUID
|
|
513
|
+
*/
|
|
424
514
|
wixUserId?: string;
|
|
425
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* ID of an app.
|
|
517
|
+
* @format GUID
|
|
518
|
+
*/
|
|
426
519
|
appId?: string;
|
|
427
520
|
/** @readonly */
|
|
428
521
|
identityType?: WebhookIdentityType;
|
|
429
522
|
}
|
|
430
523
|
/** @oneof */
|
|
431
524
|
export interface IdentificationDataIdOneOf {
|
|
432
|
-
/**
|
|
525
|
+
/**
|
|
526
|
+
* ID of a site visitor that has not logged in to the site.
|
|
527
|
+
* @format GUID
|
|
528
|
+
*/
|
|
433
529
|
anonymousVisitorId?: string;
|
|
434
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* ID of a site visitor that has logged in to the site.
|
|
532
|
+
* @format GUID
|
|
533
|
+
*/
|
|
435
534
|
memberId?: string;
|
|
436
|
-
/**
|
|
535
|
+
/**
|
|
536
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
537
|
+
* @format GUID
|
|
538
|
+
*/
|
|
437
539
|
wixUserId?: string;
|
|
438
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* ID of an app.
|
|
542
|
+
* @format GUID
|
|
543
|
+
*/
|
|
439
544
|
appId?: string;
|
|
440
545
|
}
|
|
441
546
|
export declare enum WebhookIdentityType {
|
|
@@ -531,8 +636,12 @@ export interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
|
531
636
|
* @documentationMaturity preview
|
|
532
637
|
* @permissionScope Manage Bookings Services and Settings
|
|
533
638
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
639
|
+
* @permissionScope Manage Events
|
|
640
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
534
641
|
* @permissionScope Manage Portfolio
|
|
535
642
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
643
|
+
* @permissionScope Access Verticals by Automations
|
|
644
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
536
645
|
* @permissionScope Manage Restaurants - all permissions
|
|
537
646
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
538
647
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
@@ -628,8 +737,12 @@ export interface MessagesQueryBuilder {
|
|
|
628
737
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
629
738
|
* @permissionScope Manage Bookings Services and Settings
|
|
630
739
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
740
|
+
* @permissionScope Manage Events
|
|
741
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
631
742
|
* @permissionScope Manage Portfolio
|
|
632
743
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
744
|
+
* @permissionScope Access Verticals by Automations
|
|
745
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
633
746
|
* @permissionScope Manage Restaurants - all permissions
|
|
634
747
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
635
748
|
* @applicableIdentity APP
|
|
@@ -648,8 +761,12 @@ export declare function askQuestion(question: Message): Promise<AskQuestionRespo
|
|
|
648
761
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
649
762
|
* @permissionScope Manage Bookings Services and Settings
|
|
650
763
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
764
|
+
* @permissionScope Manage Events
|
|
765
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
651
766
|
* @permissionScope Manage Portfolio
|
|
652
767
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
768
|
+
* @permissionScope Access Verticals by Automations
|
|
769
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
653
770
|
* @permissionScope Manage Restaurants - all permissions
|
|
654
771
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
655
772
|
* @applicableIdentity APP
|
|
@@ -674,8 +791,12 @@ export interface AddFeedbackOptions {
|
|
|
674
791
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
675
792
|
* @permissionScope Manage Bookings Services and Settings
|
|
676
793
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
794
|
+
* @permissionScope Manage Events
|
|
795
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
677
796
|
* @permissionScope Manage Portfolio
|
|
678
797
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
798
|
+
* @permissionScope Access Verticals by Automations
|
|
799
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
679
800
|
* @permissionScope Manage Restaurants - all permissions
|
|
680
801
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
681
802
|
* @applicableIdentity APP
|
|
@@ -700,8 +821,12 @@ export interface BulkUpdateMessageTagsOptions {
|
|
|
700
821
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
701
822
|
* @permissionScope Manage Bookings Services and Settings
|
|
702
823
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
824
|
+
* @permissionScope Manage Events
|
|
825
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
703
826
|
* @permissionScope Manage Portfolio
|
|
704
827
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
828
|
+
* @permissionScope Access Verticals by Automations
|
|
829
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
705
830
|
* @permissionScope Manage Restaurants - all permissions
|
|
706
831
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
707
832
|
* @applicableIdentity APP
|
|
@@ -727,8 +852,12 @@ export interface BulkUpdateMessageTagsByFilterOptions {
|
|
|
727
852
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
728
853
|
* @permissionScope Manage Bookings Services and Settings
|
|
729
854
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
855
|
+
* @permissionScope Manage Events
|
|
856
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
730
857
|
* @permissionScope Manage Portfolio
|
|
731
858
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
859
|
+
* @permissionScope Access Verticals by Automations
|
|
860
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
732
861
|
* @permissionScope Manage Restaurants - all permissions
|
|
733
862
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
734
863
|
* @applicableIdentity APP
|
|
@@ -79,8 +79,12 @@ export var WebhookIdentityType;
|
|
|
79
79
|
* @documentationMaturity preview
|
|
80
80
|
* @permissionScope Manage Bookings Services and Settings
|
|
81
81
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
82
|
+
* @permissionScope Manage Events
|
|
83
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
82
84
|
* @permissionScope Manage Portfolio
|
|
83
85
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
86
|
+
* @permissionScope Access Verticals by Automations
|
|
87
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
84
88
|
* @permissionScope Manage Restaurants - all permissions
|
|
85
89
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
86
90
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
@@ -141,8 +145,12 @@ export function queryMessages() {
|
|
|
141
145
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
142
146
|
* @permissionScope Manage Bookings Services and Settings
|
|
143
147
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
148
|
+
* @permissionScope Manage Events
|
|
149
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
144
150
|
* @permissionScope Manage Portfolio
|
|
145
151
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
152
|
+
* @permissionScope Access Verticals by Automations
|
|
153
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
146
154
|
* @permissionScope Manage Restaurants - all permissions
|
|
147
155
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
148
156
|
* @applicableIdentity APP
|
|
@@ -181,8 +189,12 @@ export async function askQuestion(question) {
|
|
|
181
189
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
182
190
|
* @permissionScope Manage Bookings Services and Settings
|
|
183
191
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
192
|
+
* @permissionScope Manage Events
|
|
193
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
184
194
|
* @permissionScope Manage Portfolio
|
|
185
195
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
196
|
+
* @permissionScope Access Verticals by Automations
|
|
197
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
186
198
|
* @permissionScope Manage Restaurants - all permissions
|
|
187
199
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
188
200
|
* @applicableIdentity APP
|
|
@@ -229,8 +241,12 @@ export async function addFeedback(messageId, options) {
|
|
|
229
241
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
230
242
|
* @permissionScope Manage Bookings Services and Settings
|
|
231
243
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
244
|
+
* @permissionScope Manage Events
|
|
245
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
232
246
|
* @permissionScope Manage Portfolio
|
|
233
247
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
248
|
+
* @permissionScope Access Verticals by Automations
|
|
249
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
234
250
|
* @permissionScope Manage Restaurants - all permissions
|
|
235
251
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
236
252
|
* @applicableIdentity APP
|
|
@@ -277,8 +293,12 @@ export async function bulkUpdateMessageTags(ids, options) {
|
|
|
277
293
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
278
294
|
* @permissionScope Manage Bookings Services and Settings
|
|
279
295
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
296
|
+
* @permissionScope Manage Events
|
|
297
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
280
298
|
* @permissionScope Manage Portfolio
|
|
281
299
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
300
|
+
* @permissionScope Access Verticals by Automations
|
|
301
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
282
302
|
* @permissionScope Manage Restaurants - all permissions
|
|
283
303
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
284
304
|
* @applicableIdentity APP
|
|
@@ -326,8 +346,12 @@ export async function bulkUpdateMessageTagsByFilter(filter, options) {
|
|
|
326
346
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
327
347
|
* @permissionScope Manage Bookings Services and Settings
|
|
328
348
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
349
|
+
* @permissionScope Manage Events
|
|
350
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
329
351
|
* @permissionScope Manage Portfolio
|
|
330
352
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
353
|
+
* @permissionScope Access Verticals by Automations
|
|
354
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
331
355
|
* @permissionScope Manage Restaurants - all permissions
|
|
332
356
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
333
357
|
* @applicableIdentity APP
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"innovation-playground-v2-message-assistant-training.universal.js","sourceRoot":"","sources":["../../../src/innovation-playground-v2-message-assistant-training.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,0CAA0C,MAAM,+DAA+D,CAAC;
|
|
1
|
+
{"version":3,"file":"innovation-playground-v2-message-assistant-training.universal.js","sourceRoot":"","sources":["../../../src/innovation-playground-v2-message-assistant-training.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,0CAA0C,MAA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