@wix/auto_sdk_forms_chat-settings 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 +72 -0
  2. package/build/cjs/index.js +562 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +608 -0
  5. package/build/cjs/index.typings.js +447 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +357 -0
  8. package/build/cjs/meta.js +389 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +72 -0
  11. package/build/es/index.mjs +529 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +608 -0
  14. package/build/es/index.typings.mjs +417 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +357 -0
  17. package/build/es/meta.mjs +356 -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 +562 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +608 -0
  24. package/build/internal/cjs/index.typings.js +447 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +357 -0
  27. package/build/internal/cjs/meta.js +389 -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 +529 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +608 -0
  33. package/build/internal/es/index.typings.mjs +417 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +357 -0
  36. package/build/internal/es/meta.mjs +356 -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,608 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
3
+ interface ChatSettings {
4
+ /**
5
+ * The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.
6
+ * @format GUID
7
+ * @readonly
8
+ */
9
+ _id?: string;
10
+ /**
11
+ * Custom greeting message displayed when a visitor opens the AI chat.
12
+ * @maxLength 50
13
+ */
14
+ greetingMessage?: string | null;
15
+ /**
16
+ * Whether AI chat is enabled for this form.
17
+ *
18
+ * Default: `true`
19
+ */
20
+ chatEnabled?: boolean | null;
21
+ /**
22
+ * Revision number, which increments by 1 each time the chat settings are updated.
23
+ * To prevent conflicting changes, the current revision must be passed when updating the chat settings.
24
+ * @readonly
25
+ */
26
+ revision?: string | null;
27
+ /**
28
+ * Date and time the chat settings were created.
29
+ * @readonly
30
+ */
31
+ _createdDate?: Date | null;
32
+ /**
33
+ * Date and time the chat settings were last updated.
34
+ * @readonly
35
+ */
36
+ _updatedDate?: Date | null;
37
+ /**
38
+ * Message that summarizes the contents of the form. Appears after the greeting message.
39
+ * @maxLength 255
40
+ */
41
+ summaryMessage?: string | null;
42
+ /** Extended fields. */
43
+ extendedFields?: ExtendedFields;
44
+ /**
45
+ * Whether the summary message is manually set or AI-generated.
46
+ * When `false` the summary message is automatically generated by AI when the chat settings are saved.
47
+ * When `true`, the summary message can be manually set and won't be overwritten by AI.
48
+ *
49
+ * Default: `false`
50
+ */
51
+ manualSummary?: boolean | null;
52
+ }
53
+ interface ExtendedFields {
54
+ /**
55
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
56
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
57
+ *
58
+ * You can only access fields for which you have the appropriate permissions.
59
+ *
60
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
61
+ */
62
+ namespaces?: Record<string, Record<string, any>>;
63
+ }
64
+ interface CreateChatSettingsRequest {
65
+ /** Chat settings to be created. */
66
+ chatSettings: ChatSettings;
67
+ }
68
+ interface CreateChatSettingsResponse {
69
+ /** Created chat settings. */
70
+ chatSettings?: ChatSettings;
71
+ }
72
+ interface UpdateChatSettingsRequest {
73
+ /** Chat settings to be updated. */
74
+ chatSettings: ChatSettings;
75
+ }
76
+ interface UpdateChatSettingsResponse {
77
+ /** Updated chat settings. */
78
+ chatSettings?: ChatSettings;
79
+ }
80
+ interface DeleteChatSettingsRequest {
81
+ /**
82
+ * Chat settings ID.
83
+ * @format GUID
84
+ */
85
+ chatSettingsId: string;
86
+ }
87
+ interface DeleteChatSettingsResponse {
88
+ }
89
+ interface GetChatSettingsRequest {
90
+ /**
91
+ * Chat settings ID.
92
+ * @format GUID
93
+ */
94
+ chatSettingsId: string;
95
+ }
96
+ interface GetChatSettingsResponse {
97
+ /** Retrieved chat settings. */
98
+ chatSettings?: ChatSettings;
99
+ }
100
+ interface QueryChatSettingsRequest {
101
+ /** WQL expression. */
102
+ query?: CursorQuery;
103
+ }
104
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
105
+ /**
106
+ * Cursor paging options.
107
+ *
108
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
109
+ */
110
+ cursorPaging?: CursorPaging;
111
+ /**
112
+ * Filter object.
113
+ *
114
+ * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
115
+ */
116
+ filter?: Record<string, any> | null;
117
+ /**
118
+ * Sort object.
119
+ *
120
+ * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
121
+ * @maxSize 5
122
+ */
123
+ sort?: Sorting[];
124
+ }
125
+ /** @oneof */
126
+ interface CursorQueryPagingMethodOneOf {
127
+ /**
128
+ * Cursor paging options.
129
+ *
130
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
131
+ */
132
+ cursorPaging?: CursorPaging;
133
+ }
134
+ interface Sorting {
135
+ /**
136
+ * Name of the field to sort by.
137
+ * @maxLength 512
138
+ */
139
+ fieldName?: string;
140
+ /** Sort order. */
141
+ order?: SortOrderWithLiterals;
142
+ }
143
+ declare enum SortOrder {
144
+ ASC = "ASC",
145
+ DESC = "DESC"
146
+ }
147
+ /** @enumType */
148
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
149
+ interface CursorPaging {
150
+ /**
151
+ * Maximum number of items to return in the results.
152
+ * @max 100
153
+ */
154
+ limit?: number | null;
155
+ /**
156
+ * Pointer to the next or previous page in the list of results.
157
+ *
158
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
159
+ * Not relevant for the first request.
160
+ * @maxLength 16000
161
+ */
162
+ cursor?: string | null;
163
+ }
164
+ interface QueryChatSettingsResponse {
165
+ /** List of chat settings matching the query. */
166
+ chatSettings?: ChatSettings[];
167
+ /** Metadata about the pagination of the results. */
168
+ pagingMetadata?: CursorPagingMetadata;
169
+ }
170
+ interface CursorPagingMetadata {
171
+ /** Number of items returned in current page. */
172
+ count?: number | null;
173
+ /** Cursor strings that point to the next page, previous page, or both. */
174
+ cursors?: Cursors;
175
+ /**
176
+ * Whether there are more pages to retrieve following the current page.
177
+ *
178
+ * + `true`: Another page of results can be retrieved.
179
+ * + `false`: This is the last page.
180
+ */
181
+ hasNext?: boolean | null;
182
+ }
183
+ interface Cursors {
184
+ /**
185
+ * Cursor string pointing to the next page in the list of results.
186
+ * @maxLength 16000
187
+ */
188
+ next?: string | null;
189
+ /**
190
+ * Cursor pointing to the previous page in the list of results.
191
+ * @maxLength 16000
192
+ */
193
+ prev?: string | null;
194
+ }
195
+ interface DomainEvent extends DomainEventBodyOneOf {
196
+ createdEvent?: EntityCreatedEvent;
197
+ updatedEvent?: EntityUpdatedEvent;
198
+ deletedEvent?: EntityDeletedEvent;
199
+ actionEvent?: ActionEvent;
200
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
201
+ _id?: string;
202
+ /**
203
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
204
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
205
+ */
206
+ entityFqdn?: string;
207
+ /**
208
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
209
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
210
+ */
211
+ slug?: string;
212
+ /** ID of the entity associated with the event. */
213
+ entityId?: string;
214
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
215
+ eventTime?: Date | null;
216
+ /**
217
+ * Whether the event was triggered as a result of a privacy regulation application
218
+ * (for example, GDPR).
219
+ */
220
+ triggeredByAnonymizeRequest?: boolean | null;
221
+ /** If present, indicates the action that triggered the event. */
222
+ originatedFrom?: string | null;
223
+ /**
224
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
225
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
226
+ */
227
+ entityEventSequence?: string | null;
228
+ }
229
+ /** @oneof */
230
+ interface DomainEventBodyOneOf {
231
+ createdEvent?: EntityCreatedEvent;
232
+ updatedEvent?: EntityUpdatedEvent;
233
+ deletedEvent?: EntityDeletedEvent;
234
+ actionEvent?: ActionEvent;
235
+ }
236
+ interface EntityCreatedEvent {
237
+ entity?: string;
238
+ }
239
+ interface RestoreInfo {
240
+ deletedDate?: Date | null;
241
+ }
242
+ interface EntityUpdatedEvent {
243
+ /**
244
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
245
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
246
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
247
+ */
248
+ currentEntity?: string;
249
+ }
250
+ interface EntityDeletedEvent {
251
+ /** Entity that was deleted. */
252
+ deletedEntity?: string | null;
253
+ }
254
+ interface ActionEvent {
255
+ body?: string;
256
+ }
257
+ interface Empty {
258
+ }
259
+ interface MessageEnvelope {
260
+ /**
261
+ * App instance ID.
262
+ * @format GUID
263
+ */
264
+ instanceId?: string | null;
265
+ /**
266
+ * Event type.
267
+ * @maxLength 150
268
+ */
269
+ eventType?: string;
270
+ /** The identification type and identity data. */
271
+ identity?: IdentificationData;
272
+ /** Stringify payload. */
273
+ data?: string;
274
+ }
275
+ interface IdentificationData extends IdentificationDataIdOneOf {
276
+ /**
277
+ * ID of a site visitor that has not logged in to the site.
278
+ * @format GUID
279
+ */
280
+ anonymousVisitorId?: string;
281
+ /**
282
+ * ID of a site visitor that has logged in to the site.
283
+ * @format GUID
284
+ */
285
+ memberId?: string;
286
+ /**
287
+ * ID of a Wix user (site owner, contributor, etc.).
288
+ * @format GUID
289
+ */
290
+ wixUserId?: string;
291
+ /**
292
+ * ID of an app.
293
+ * @format GUID
294
+ */
295
+ appId?: string;
296
+ /** @readonly */
297
+ identityType?: WebhookIdentityTypeWithLiterals;
298
+ }
299
+ /** @oneof */
300
+ interface IdentificationDataIdOneOf {
301
+ /**
302
+ * ID of a site visitor that has not logged in to the site.
303
+ * @format GUID
304
+ */
305
+ anonymousVisitorId?: string;
306
+ /**
307
+ * ID of a site visitor that has logged in to the site.
308
+ * @format GUID
309
+ */
310
+ memberId?: string;
311
+ /**
312
+ * ID of a Wix user (site owner, contributor, etc.).
313
+ * @format GUID
314
+ */
315
+ wixUserId?: string;
316
+ /**
317
+ * ID of an app.
318
+ * @format GUID
319
+ */
320
+ appId?: string;
321
+ }
322
+ declare enum WebhookIdentityType {
323
+ UNKNOWN = "UNKNOWN",
324
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
325
+ MEMBER = "MEMBER",
326
+ WIX_USER = "WIX_USER",
327
+ APP = "APP"
328
+ }
329
+ /** @enumType */
330
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
331
+ interface BaseEventMetadata {
332
+ /**
333
+ * App instance ID.
334
+ * @format GUID
335
+ */
336
+ instanceId?: string | null;
337
+ /**
338
+ * Event type.
339
+ * @maxLength 150
340
+ */
341
+ eventType?: string;
342
+ /** The identification type and identity data. */
343
+ identity?: IdentificationData;
344
+ }
345
+ interface EventMetadata extends BaseEventMetadata {
346
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
347
+ _id?: string;
348
+ /**
349
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
350
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
351
+ */
352
+ entityFqdn?: string;
353
+ /**
354
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
355
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
356
+ */
357
+ slug?: string;
358
+ /** ID of the entity associated with the event. */
359
+ entityId?: string;
360
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
361
+ eventTime?: Date | null;
362
+ /**
363
+ * Whether the event was triggered as a result of a privacy regulation application
364
+ * (for example, GDPR).
365
+ */
366
+ triggeredByAnonymizeRequest?: boolean | null;
367
+ /** If present, indicates the action that triggered the event. */
368
+ originatedFrom?: string | null;
369
+ /**
370
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
371
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
372
+ */
373
+ entityEventSequence?: string | null;
374
+ }
375
+ interface ChatSettingsCreatedEnvelope {
376
+ entity: ChatSettings;
377
+ metadata: EventMetadata;
378
+ }
379
+ /** @permissionScope Manage Challenges
380
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
381
+ * @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
382
+ * @webhook
383
+ * @eventType wix.forms.ai.v1.chat_settings_created
384
+ * @slug created
385
+ * @documentationMaturity preview
386
+ */
387
+ declare function onChatSettingsCreated(handler: (event: ChatSettingsCreatedEnvelope) => void | Promise<void>): void;
388
+ interface ChatSettingsDeletedEnvelope {
389
+ metadata: EventMetadata;
390
+ }
391
+ /** @permissionScope Manage Challenges
392
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
393
+ * @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
394
+ * @webhook
395
+ * @eventType wix.forms.ai.v1.chat_settings_deleted
396
+ * @slug deleted
397
+ * @documentationMaturity preview
398
+ */
399
+ declare function onChatSettingsDeleted(handler: (event: ChatSettingsDeletedEnvelope) => void | Promise<void>): void;
400
+ interface ChatSettingsUpdatedEnvelope {
401
+ entity: ChatSettings;
402
+ metadata: EventMetadata;
403
+ }
404
+ /** @permissionScope Manage Challenges
405
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
406
+ * @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
407
+ * @webhook
408
+ * @eventType wix.forms.ai.v1.chat_settings_updated
409
+ * @slug updated
410
+ * @documentationMaturity preview
411
+ */
412
+ declare function onChatSettingsUpdated(handler: (event: ChatSettingsUpdatedEnvelope) => void | Promise<void>): void;
413
+ /**
414
+ * Creates a chat settings entity.
415
+ *
416
+ * The settings specified in a chat settings entity apply to the form with the same ID as the chat settings entity. Each form can have exactly one set of chat settings.
417
+ * @param chatSettings - Chat settings to be created.
418
+ * @public
419
+ * @documentationMaturity preview
420
+ * @requiredField chatSettings
421
+ * @requiredField chatSettings._id
422
+ * @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
423
+ * @applicableIdentity APP
424
+ * @returns Created chat settings.
425
+ * @fqn wix.forms.ai.v1.ChatSettingsService.CreateChatSettings
426
+ */
427
+ declare function createChatSettings(chatSettings: NonNullablePaths<ChatSettings, `_id`, 2>): Promise<NonNullablePaths<ChatSettings, `_id`, 2>>;
428
+ /**
429
+ * Updates a chat settings entity.
430
+ *
431
+ * Changes take effect immediately for new interactive form sessions.
432
+ * @param _id - The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.
433
+ * @public
434
+ * @documentationMaturity preview
435
+ * @requiredField _id
436
+ * @requiredField chatSettings
437
+ * @permissionId WIX_FORMS.FORM_SCHEMA_UPDATE
438
+ * @applicableIdentity APP
439
+ * @returns Updated chat settings.
440
+ * @fqn wix.forms.ai.v1.ChatSettingsService.UpdateChatSettings
441
+ */
442
+ declare function updateChatSettings(_id: string, chatSettings: UpdateChatSettings): Promise<NonNullablePaths<ChatSettings, `_id`, 2>>;
443
+ interface UpdateChatSettings {
444
+ /**
445
+ * The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.
446
+ * @format GUID
447
+ * @readonly
448
+ */
449
+ _id?: string;
450
+ /**
451
+ * Custom greeting message displayed when a visitor opens the AI chat.
452
+ * @maxLength 50
453
+ */
454
+ greetingMessage?: string | null;
455
+ /**
456
+ * Whether AI chat is enabled for this form.
457
+ *
458
+ * Default: `true`
459
+ */
460
+ chatEnabled?: boolean | null;
461
+ /**
462
+ * Revision number, which increments by 1 each time the chat settings are updated.
463
+ * To prevent conflicting changes, the current revision must be passed when updating the chat settings.
464
+ * @readonly
465
+ */
466
+ revision?: string | null;
467
+ /**
468
+ * Date and time the chat settings were created.
469
+ * @readonly
470
+ */
471
+ _createdDate?: Date | null;
472
+ /**
473
+ * Date and time the chat settings were last updated.
474
+ * @readonly
475
+ */
476
+ _updatedDate?: Date | null;
477
+ /**
478
+ * Message that summarizes the contents of the form. Appears after the greeting message.
479
+ * @maxLength 255
480
+ */
481
+ summaryMessage?: string | null;
482
+ /** Extended fields. */
483
+ extendedFields?: ExtendedFields;
484
+ /**
485
+ * Whether the summary message is manually set or AI-generated.
486
+ * When `false` the summary message is automatically generated by AI when the chat settings are saved.
487
+ * When `true`, the summary message can be manually set and won't be overwritten by AI.
488
+ *
489
+ * Default: `false`
490
+ */
491
+ manualSummary?: boolean | null;
492
+ }
493
+ /**
494
+ * Deletes a chat settings entity.
495
+ * @param chatSettingsId - Chat settings ID.
496
+ * @public
497
+ * @documentationMaturity preview
498
+ * @requiredField chatSettingsId
499
+ * @permissionId WIX_FORMS.FORM_SCHEMA_DELETE
500
+ * @applicableIdentity APP
501
+ * @fqn wix.forms.ai.v1.ChatSettingsService.DeleteChatSettings
502
+ */
503
+ declare function deleteChatSettings(chatSettingsId: string): Promise<void>;
504
+ /**
505
+ * Retrieves a chat settings entity.
506
+ * @param chatSettingsId - Chat settings ID.
507
+ * @public
508
+ * @documentationMaturity preview
509
+ * @requiredField chatSettingsId
510
+ * @permissionId WIX_FORMS.FORM_SCHEMA_READ
511
+ * @applicableIdentity APP
512
+ * @returns Retrieved chat settings.
513
+ * @fqn wix.forms.ai.v1.ChatSettingsService.GetChatSettings
514
+ */
515
+ declare function getChatSettings(chatSettingsId: string): Promise<NonNullablePaths<ChatSettings, `_id`, 2>>;
516
+ /**
517
+ * Retrieves a list of chat settings entities given the provided paging, filtering, and sorting.
518
+ *
519
+ * ### Defaults
520
+ * Query Chat Settings has the following default settings, which you can override:
521
+ * + Sorted by `id` in ascending order.
522
+ * + `cursorPaging.limit` set to `100`.
523
+ * @public
524
+ * @documentationMaturity preview
525
+ * @permissionId WIX_FORMS.FORM_SCHEMA_READ
526
+ * @applicableIdentity APP
527
+ * @fqn wix.forms.ai.v1.ChatSettingsService.QueryChatSettings
528
+ */
529
+ declare function queryChatSettings(): ChatSettingsQueryBuilder;
530
+ interface QueryCursorResult {
531
+ cursors: Cursors;
532
+ hasNext: () => boolean;
533
+ hasPrev: () => boolean;
534
+ length: number;
535
+ pageSize: number;
536
+ }
537
+ interface ChatSettingsQueryResult extends QueryCursorResult {
538
+ items: ChatSettings[];
539
+ query: ChatSettingsQueryBuilder;
540
+ next: () => Promise<ChatSettingsQueryResult>;
541
+ prev: () => Promise<ChatSettingsQueryResult>;
542
+ }
543
+ interface ChatSettingsQueryBuilder {
544
+ /** @param propertyName - Property whose value is compared with `value`.
545
+ * @param value - Value to compare against.
546
+ * @documentationMaturity preview
547
+ */
548
+ eq: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
549
+ /** @param propertyName - Property whose value is compared with `value`.
550
+ * @param value - Value to compare against.
551
+ * @documentationMaturity preview
552
+ */
553
+ ne: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
554
+ /** @param propertyName - Property whose value is compared with `value`.
555
+ * @param value - Value to compare against.
556
+ * @documentationMaturity preview
557
+ */
558
+ ge: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
559
+ /** @param propertyName - Property whose value is compared with `value`.
560
+ * @param value - Value to compare against.
561
+ * @documentationMaturity preview
562
+ */
563
+ gt: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
564
+ /** @param propertyName - Property whose value is compared with `value`.
565
+ * @param value - Value to compare against.
566
+ * @documentationMaturity preview
567
+ */
568
+ le: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
569
+ /** @param propertyName - Property whose value is compared with `value`.
570
+ * @param value - Value to compare against.
571
+ * @documentationMaturity preview
572
+ */
573
+ lt: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
574
+ /** @param propertyName - Property whose value is compared with `string`.
575
+ * @param string - String to compare against. Case-insensitive.
576
+ * @documentationMaturity preview
577
+ */
578
+ startsWith: (propertyName: 'greetingMessage' | 'summaryMessage', value: string) => ChatSettingsQueryBuilder;
579
+ /** @param propertyName - Property whose value is compared with `values`.
580
+ * @param values - List of values to compare against.
581
+ * @documentationMaturity preview
582
+ */
583
+ hasSome: (propertyName: 'greetingMessage' | 'summaryMessage', value: any[]) => ChatSettingsQueryBuilder;
584
+ /** @documentationMaturity preview */
585
+ in: (propertyName: 'greetingMessage' | 'summaryMessage', value: any) => ChatSettingsQueryBuilder;
586
+ /** @documentationMaturity preview */
587
+ exists: (propertyName: 'greetingMessage' | 'summaryMessage', value: boolean) => ChatSettingsQueryBuilder;
588
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
589
+ * @documentationMaturity preview
590
+ */
591
+ ascending: (...propertyNames: Array<'greetingMessage' | 'summaryMessage'>) => ChatSettingsQueryBuilder;
592
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
593
+ * @documentationMaturity preview
594
+ */
595
+ descending: (...propertyNames: Array<'greetingMessage' | 'summaryMessage'>) => ChatSettingsQueryBuilder;
596
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
597
+ * @documentationMaturity preview
598
+ */
599
+ limit: (limit: number) => ChatSettingsQueryBuilder;
600
+ /** @param cursor - A pointer to specific record
601
+ * @documentationMaturity preview
602
+ */
603
+ skipTo: (cursor: string) => ChatSettingsQueryBuilder;
604
+ /** @documentationMaturity preview */
605
+ find: () => Promise<ChatSettingsQueryResult>;
606
+ }
607
+
608
+ export { type ActionEvent, type BaseEventMetadata, type ChatSettings, type ChatSettingsCreatedEnvelope, type ChatSettingsDeletedEnvelope, type ChatSettingsQueryBuilder, type ChatSettingsQueryResult, type ChatSettingsUpdatedEnvelope, type CreateChatSettingsRequest, type CreateChatSettingsResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteChatSettingsRequest, type DeleteChatSettingsResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetChatSettingsRequest, type GetChatSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, type MessageEnvelope, type QueryChatSettingsRequest, type QueryChatSettingsResponse, type RestoreInfo, SortOrder, type SortOrderWithLiterals, type Sorting, type UpdateChatSettings, type UpdateChatSettingsRequest, type UpdateChatSettingsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createChatSettings, deleteChatSettings, getChatSettings, onChatSettingsCreated, onChatSettingsDeleted, onChatSettingsUpdated, queryChatSettings, updateChatSettings };