@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
|
|
@@ -105,8 +105,12 @@ var WebhookIdentityType;
|
|
|
105
105
|
* @documentationMaturity preview
|
|
106
106
|
* @permissionScope Manage Bookings Services and Settings
|
|
107
107
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
108
|
+
* @permissionScope Manage Events
|
|
109
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
108
110
|
* @permissionScope Manage Portfolio
|
|
109
111
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
112
|
+
* @permissionScope Access Verticals by Automations
|
|
113
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
110
114
|
* @permissionScope Manage Restaurants - all permissions
|
|
111
115
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
112
116
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
@@ -168,8 +172,12 @@ exports.queryMessages = queryMessages;
|
|
|
168
172
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
169
173
|
* @permissionScope Manage Bookings Services and Settings
|
|
170
174
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
175
|
+
* @permissionScope Manage Events
|
|
176
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
171
177
|
* @permissionScope Manage Portfolio
|
|
172
178
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
179
|
+
* @permissionScope Access Verticals by Automations
|
|
180
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
173
181
|
* @permissionScope Manage Restaurants - all permissions
|
|
174
182
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
175
183
|
* @applicableIdentity APP
|
|
@@ -209,8 +217,12 @@ exports.askQuestion = askQuestion;
|
|
|
209
217
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
210
218
|
* @permissionScope Manage Bookings Services and Settings
|
|
211
219
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
220
|
+
* @permissionScope Manage Events
|
|
221
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
212
222
|
* @permissionScope Manage Portfolio
|
|
213
223
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
224
|
+
* @permissionScope Access Verticals by Automations
|
|
225
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
214
226
|
* @permissionScope Manage Restaurants - all permissions
|
|
215
227
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
216
228
|
* @applicableIdentity APP
|
|
@@ -258,8 +270,12 @@ exports.addFeedback = addFeedback;
|
|
|
258
270
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
259
271
|
* @permissionScope Manage Bookings Services and Settings
|
|
260
272
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
273
|
+
* @permissionScope Manage Events
|
|
274
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
261
275
|
* @permissionScope Manage Portfolio
|
|
262
276
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
277
|
+
* @permissionScope Access Verticals by Automations
|
|
278
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
263
279
|
* @permissionScope Manage Restaurants - all permissions
|
|
264
280
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
265
281
|
* @applicableIdentity APP
|
|
@@ -307,8 +323,12 @@ exports.bulkUpdateMessageTags = bulkUpdateMessageTags;
|
|
|
307
323
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
308
324
|
* @permissionScope Manage Bookings Services and Settings
|
|
309
325
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
326
|
+
* @permissionScope Manage Events
|
|
327
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
310
328
|
* @permissionScope Manage Portfolio
|
|
311
329
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
330
|
+
* @permissionScope Access Verticals by Automations
|
|
331
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
312
332
|
* @permissionScope Manage Restaurants - all permissions
|
|
313
333
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
314
334
|
* @applicableIdentity APP
|
|
@@ -357,8 +377,12 @@ exports.bulkUpdateMessageTagsByFilter = bulkUpdateMessageTagsByFilter;
|
|
|
357
377
|
* @permissionId INNOVATION_LAB.WIX_ASSISTANT
|
|
358
378
|
* @permissionScope Manage Bookings Services and Settings
|
|
359
379
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
380
|
+
* @permissionScope Manage Events
|
|
381
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
360
382
|
* @permissionScope Manage Portfolio
|
|
361
383
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
384
|
+
* @permissionScope Access Verticals by Automations
|
|
385
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
362
386
|
* @permissionScope Manage Restaurants - all permissions
|
|
363
387
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
364
388
|
* @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,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,0IAA4H;
|
|
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,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,0IAA4H;AAgD5H,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,2BAA2B;IAC3B,2CAAiC,CAAA;IACjC,2CAA2C;IAC3C,uBAAa,CAAA;IACb,oBAAoB;IACpB,iCAAuB,CAAA;AACzB,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;AAkED,yCAAyC;AACzC,IAAY,QAKX;AALD,WAAY,QA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