@wix/auto_sdk_forms_chat-settings 1.0.27 → 1.0.28

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 (38) hide show
  1. package/build/cjs/index.d.ts +3 -3
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +4 -4
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/es/index.d.mts +3 -3
  6. package/build/es/index.mjs.map +1 -1
  7. package/build/es/index.typings.d.mts +4 -4
  8. package/build/es/index.typings.mjs.map +1 -1
  9. package/build/internal/cjs/index.d.ts +3 -3
  10. package/build/internal/cjs/index.typings.d.ts +4 -4
  11. package/build/internal/es/index.d.mts +3 -3
  12. package/build/internal/es/index.typings.d.mts +4 -4
  13. package/package.json +5 -12
  14. package/build/cjs/schemas.d.ts +0 -159
  15. package/build/cjs/schemas.js +0 -320
  16. package/build/cjs/schemas.js.map +0 -1
  17. package/build/es/schemas.d.mts +0 -159
  18. package/build/es/schemas.mjs +0 -274
  19. package/build/es/schemas.mjs.map +0 -1
  20. package/build/internal/cjs/index.js +0 -651
  21. package/build/internal/cjs/index.js.map +0 -1
  22. package/build/internal/cjs/index.typings.js +0 -517
  23. package/build/internal/cjs/index.typings.js.map +0 -1
  24. package/build/internal/cjs/meta.js +0 -428
  25. package/build/internal/cjs/meta.js.map +0 -1
  26. package/build/internal/cjs/schemas.d.ts +0 -159
  27. package/build/internal/cjs/schemas.js +0 -320
  28. package/build/internal/cjs/schemas.js.map +0 -1
  29. package/build/internal/es/index.mjs +0 -616
  30. package/build/internal/es/index.mjs.map +0 -1
  31. package/build/internal/es/index.typings.mjs +0 -484
  32. package/build/internal/es/index.typings.mjs.map +0 -1
  33. package/build/internal/es/meta.mjs +0 -394
  34. package/build/internal/es/meta.mjs.map +0 -1
  35. package/build/internal/es/schemas.d.mts +0 -159
  36. package/build/internal/es/schemas.mjs +0 -274
  37. package/build/internal/es/schemas.mjs.map +0 -1
  38. package/schemas/package.json +0 -3
@@ -1,320 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // schemas.ts
31
- var schemas_exports = {};
32
- __export(schemas_exports, {
33
- CreateChatSettingsRequest: () => CreateChatSettingsRequest,
34
- CreateChatSettingsResponse: () => CreateChatSettingsResponse,
35
- DeleteChatSettingsRequest: () => DeleteChatSettingsRequest,
36
- DeleteChatSettingsResponse: () => DeleteChatSettingsResponse,
37
- GetChatSettingsRequest: () => GetChatSettingsRequest,
38
- GetChatSettingsResponse: () => GetChatSettingsResponse,
39
- QueryChatSettingsRequest: () => QueryChatSettingsRequest,
40
- QueryChatSettingsResponse: () => QueryChatSettingsResponse,
41
- UpdateChatSettingsRequest: () => UpdateChatSettingsRequest,
42
- UpdateChatSettingsResponse: () => UpdateChatSettingsResponse
43
- });
44
- module.exports = __toCommonJS(schemas_exports);
45
-
46
- // src/forms-ai-v1-chat-settings-chat-settings.schemas.ts
47
- var z = __toESM(require("zod"));
48
- var CreateChatSettingsRequest = /* @__PURE__ */ z.object({
49
- chatSettings: z.object({
50
- _id: z.string().describe(
51
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
52
- ).regex(
53
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
54
- "Must be a valid GUID"
55
- ),
56
- greetingMessage: z.string().describe(
57
- "Custom greeting message displayed when a visitor opens the AI chat."
58
- ).max(50).optional().nullable(),
59
- chatEnabled: z.boolean().describe(
60
- "Whether AI chat is enabled for this form.\n\nDefault: `true`"
61
- ).optional().nullable(),
62
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
63
- "Revision number, which increments by 1 each time the chat settings are updated.\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings."
64
- ).optional().nullable(),
65
- _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
66
- _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
67
- summaryMessage: z.string().describe(
68
- "Message that summarizes the contents of the form. Appears after the greeting message."
69
- ).max(255).optional().nullable(),
70
- extendedFields: z.object({
71
- namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
72
- "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
73
- ).optional()
74
- }).describe("Extended fields.").optional(),
75
- manualSummary: z.boolean().describe(
76
- "Whether the summary message is manually set or AI-generated.\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\n\nDefault: `false`"
77
- ).optional().nullable(),
78
- personality: z.enum(["PROFESSIONAL", "FRIENDLY", "PLAYFUL", "DIRECT"]).optional()
79
- }).describe("Chat settings to be created.")
80
- });
81
- var CreateChatSettingsResponse = /* @__PURE__ */ z.object({
82
- _id: z.string().describe(
83
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
84
- ).regex(
85
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
86
- "Must be a valid GUID"
87
- ).optional(),
88
- greetingMessage: z.string().describe(
89
- "Custom greeting message displayed when a visitor opens the AI chat."
90
- ).max(50).optional().nullable(),
91
- chatEnabled: z.boolean().describe("Whether AI chat is enabled for this form.\n\nDefault: `true`").optional().nullable(),
92
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
93
- "Revision number, which increments by 1 each time the chat settings are updated.\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings."
94
- ).optional().nullable(),
95
- _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
96
- _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
97
- summaryMessage: z.string().describe(
98
- "Message that summarizes the contents of the form. Appears after the greeting message."
99
- ).max(255).optional().nullable(),
100
- extendedFields: z.object({
101
- namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
102
- "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
103
- ).optional()
104
- }).describe("Extended fields.").optional(),
105
- manualSummary: z.boolean().describe(
106
- "Whether the summary message is manually set or AI-generated.\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\n\nDefault: `false`"
107
- ).optional().nullable(),
108
- personality: z.enum(["PROFESSIONAL", "FRIENDLY", "PLAYFUL", "DIRECT"]).describe(
109
- "Personality of the AI when interacting with visitors.\nDefines the communication style of the AI chat responses."
110
- ).optional()
111
- });
112
- var UpdateChatSettingsRequest = /* @__PURE__ */ z.object({
113
- _id: z.string().describe(
114
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
115
- ).regex(
116
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
117
- "Must be a valid GUID"
118
- ),
119
- chatSettings: z.object({
120
- _id: z.string().describe(
121
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
122
- ).regex(
123
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
124
- "Must be a valid GUID"
125
- ).optional(),
126
- greetingMessage: z.string().describe(
127
- "Custom greeting message displayed when a visitor opens the AI chat."
128
- ).max(50).optional().nullable(),
129
- chatEnabled: z.boolean().describe(
130
- "Whether AI chat is enabled for this form.\n\nDefault: `true`"
131
- ).optional().nullable(),
132
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
133
- "Revision number, which increments by 1 each time the chat settings are updated.\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings."
134
- ).optional().nullable(),
135
- _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
136
- _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
137
- summaryMessage: z.string().describe(
138
- "Message that summarizes the contents of the form. Appears after the greeting message."
139
- ).max(255).optional().nullable(),
140
- extendedFields: z.object({
141
- namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
142
- "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
143
- ).optional()
144
- }).describe("Extended fields.").optional(),
145
- manualSummary: z.boolean().describe(
146
- "Whether the summary message is manually set or AI-generated.\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\n\nDefault: `false`"
147
- ).optional().nullable(),
148
- personality: z.enum(["PROFESSIONAL", "FRIENDLY", "PLAYFUL", "DIRECT"]).optional()
149
- }).describe("Chat settings to be updated.")
150
- });
151
- var UpdateChatSettingsResponse = /* @__PURE__ */ z.object({
152
- _id: z.string().describe(
153
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
154
- ).regex(
155
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
156
- "Must be a valid GUID"
157
- ).optional(),
158
- greetingMessage: z.string().describe(
159
- "Custom greeting message displayed when a visitor opens the AI chat."
160
- ).max(50).optional().nullable(),
161
- chatEnabled: z.boolean().describe("Whether AI chat is enabled for this form.\n\nDefault: `true`").optional().nullable(),
162
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
163
- "Revision number, which increments by 1 each time the chat settings are updated.\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings."
164
- ).optional().nullable(),
165
- _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
166
- _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
167
- summaryMessage: z.string().describe(
168
- "Message that summarizes the contents of the form. Appears after the greeting message."
169
- ).max(255).optional().nullable(),
170
- extendedFields: z.object({
171
- namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
172
- "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
173
- ).optional()
174
- }).describe("Extended fields.").optional(),
175
- manualSummary: z.boolean().describe(
176
- "Whether the summary message is manually set or AI-generated.\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\n\nDefault: `false`"
177
- ).optional().nullable(),
178
- personality: z.enum(["PROFESSIONAL", "FRIENDLY", "PLAYFUL", "DIRECT"]).describe(
179
- "Personality of the AI when interacting with visitors.\nDefines the communication style of the AI chat responses."
180
- ).optional()
181
- });
182
- var DeleteChatSettingsRequest = /* @__PURE__ */ z.object({
183
- chatSettingsId: z.string().describe("Chat settings ID.").regex(
184
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
185
- "Must be a valid GUID"
186
- )
187
- });
188
- var DeleteChatSettingsResponse = /* @__PURE__ */ z.object({});
189
- var GetChatSettingsRequest = /* @__PURE__ */ z.object({
190
- chatSettingsId: z.string().describe("Chat settings ID.").regex(
191
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
192
- "Must be a valid GUID"
193
- )
194
- });
195
- var GetChatSettingsResponse = /* @__PURE__ */ z.object({
196
- _id: z.string().describe(
197
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
198
- ).regex(
199
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
200
- "Must be a valid GUID"
201
- ).optional(),
202
- greetingMessage: z.string().describe(
203
- "Custom greeting message displayed when a visitor opens the AI chat."
204
- ).max(50).optional().nullable(),
205
- chatEnabled: z.boolean().describe("Whether AI chat is enabled for this form.\n\nDefault: `true`").optional().nullable(),
206
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
207
- "Revision number, which increments by 1 each time the chat settings are updated.\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings."
208
- ).optional().nullable(),
209
- _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
210
- _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
211
- summaryMessage: z.string().describe(
212
- "Message that summarizes the contents of the form. Appears after the greeting message."
213
- ).max(255).optional().nullable(),
214
- extendedFields: z.object({
215
- namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
216
- "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
217
- ).optional()
218
- }).describe("Extended fields.").optional(),
219
- manualSummary: z.boolean().describe(
220
- "Whether the summary message is manually set or AI-generated.\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\n\nDefault: `false`"
221
- ).optional().nullable(),
222
- personality: z.enum(["PROFESSIONAL", "FRIENDLY", "PLAYFUL", "DIRECT"]).describe(
223
- "Personality of the AI when interacting with visitors.\nDefines the communication style of the AI chat responses."
224
- ).optional()
225
- });
226
- var QueryChatSettingsRequest = /* @__PURE__ */ z.object({
227
- query: z.intersection(
228
- z.object({
229
- filter: z.record(z.string(), z.any()).describe(
230
- "Filter object.\n\nLearn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)."
231
- ).optional().nullable(),
232
- sort: z.array(
233
- z.object({
234
- fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
235
- order: z.enum(["ASC", "DESC"]).optional()
236
- })
237
- ).max(5).optional()
238
- }),
239
- z.xor([
240
- z.object({ cursorPaging: z.never().optional() }),
241
- z.object({
242
- cursorPaging: z.object({
243
- limit: z.number().int().describe("Maximum number of items to return in the results.").min(0).max(100).optional().nullable(),
244
- cursor: z.string().describe(
245
- "Pointer to the next or previous page in the list of results.\n\nPass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\nNot relevant for the first request."
246
- ).max(16e3).optional().nullable()
247
- }).describe(
248
- "Cursor paging options.\n\nLearn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging)."
249
- )
250
- })
251
- ])
252
- ).describe("WQL expression.")
253
- });
254
- var QueryChatSettingsResponse = /* @__PURE__ */ z.object({
255
- chatSettings: z.array(
256
- z.object({
257
- _id: z.string().describe(
258
- "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
259
- ).regex(
260
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
261
- "Must be a valid GUID"
262
- ).optional(),
263
- greetingMessage: z.string().describe(
264
- "Custom greeting message displayed when a visitor opens the AI chat."
265
- ).max(50).optional().nullable(),
266
- chatEnabled: z.boolean().describe(
267
- "Whether AI chat is enabled for this form.\n\nDefault: `true`"
268
- ).optional().nullable(),
269
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
270
- "Revision number, which increments by 1 each time the chat settings are updated.\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings."
271
- ).optional().nullable(),
272
- _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
273
- _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
274
- summaryMessage: z.string().describe(
275
- "Message that summarizes the contents of the form. Appears after the greeting message."
276
- ).max(255).optional().nullable(),
277
- extendedFields: z.object({
278
- namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
279
- "Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\nThe value of each key is structured according to the schema defined when the extended fields were configured.\n\nYou can only access fields for which you have the appropriate permissions.\n\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields)."
280
- ).optional()
281
- }).describe("Extended fields.").optional(),
282
- manualSummary: z.boolean().describe(
283
- "Whether the summary message is manually set or AI-generated.\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\n\nDefault: `false`"
284
- ).optional().nullable(),
285
- personality: z.enum(["PROFESSIONAL", "FRIENDLY", "PLAYFUL", "DIRECT"]).describe(
286
- "Personality of the AI when interacting with visitors.\nDefines the communication style of the AI chat responses."
287
- ).optional()
288
- })
289
- ).optional(),
290
- pagingMetadata: z.object({
291
- count: z.number().int().describe("Number of items returned in current page.").optional().nullable(),
292
- cursors: z.object({
293
- next: z.string().describe(
294
- "Cursor string pointing to the next page in the list of results."
295
- ).max(16e3).optional().nullable(),
296
- prev: z.string().describe(
297
- "Cursor pointing to the previous page in the list of results."
298
- ).max(16e3).optional().nullable()
299
- }).describe(
300
- "Cursor strings that point to the next page, previous page, or both."
301
- ).optional(),
302
- hasNext: z.boolean().describe(
303
- "Whether there are more pages to retrieve following the current page.\n\n+ `true`: Another page of results can be retrieved.\n+ `false`: This is the last page."
304
- ).optional().nullable()
305
- }).describe("Metadata about the pagination of the results.").optional()
306
- });
307
- // Annotate the CommonJS export names for ESM import in node:
308
- 0 && (module.exports = {
309
- CreateChatSettingsRequest,
310
- CreateChatSettingsResponse,
311
- DeleteChatSettingsRequest,
312
- DeleteChatSettingsResponse,
313
- GetChatSettingsRequest,
314
- GetChatSettingsResponse,
315
- QueryChatSettingsRequest,
316
- QueryChatSettingsResponse,
317
- UpdateChatSettingsRequest,
318
- UpdateChatSettingsResponse
319
- });
320
- //# sourceMappingURL=schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../schemas.ts","../../src/forms-ai-v1-chat-settings-chat-settings.schemas.ts"],"sourcesContent":["export * from './src/forms-ai-v1-chat-settings-chat-settings.schemas.js';\n","import * as z from 'zod';\n\nexport const CreateChatSettingsRequest = /*#__PURE__*/ z.object({\n chatSettings: z\n .object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n greetingMessage: z\n .string()\n .describe(\n 'Custom greeting message displayed when a visitor opens the AI chat.'\n )\n .max(50)\n .optional()\n .nullable(),\n chatEnabled: z\n .boolean()\n .describe(\n 'Whether AI chat is enabled for this form.\\n\\nDefault: `true`'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the chat settings are updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the chat settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the chat settings were last updated.')\n .optional()\n .nullable(),\n summaryMessage: z\n .string()\n .describe(\n 'Message that summarizes the contents of the form. Appears after the greeting message.'\n )\n .max(255)\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Extended fields.')\n .optional(),\n manualSummary: z\n .boolean()\n .describe(\n \"Whether the summary message is manually set or AI-generated.\\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\\n\\nDefault: `false`\"\n )\n .optional()\n .nullable(),\n personality: z\n .enum(['PROFESSIONAL', 'FRIENDLY', 'PLAYFUL', 'DIRECT'])\n .optional(),\n })\n .describe('Chat settings to be created.'),\n});\nexport const CreateChatSettingsResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n greetingMessage: z\n .string()\n .describe(\n 'Custom greeting message displayed when a visitor opens the AI chat.'\n )\n .max(50)\n .optional()\n .nullable(),\n chatEnabled: z\n .boolean()\n .describe('Whether AI chat is enabled for this form.\\n\\nDefault: `true`')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the chat settings are updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the chat settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the chat settings were last updated.')\n .optional()\n .nullable(),\n summaryMessage: z\n .string()\n .describe(\n 'Message that summarizes the contents of the form. Appears after the greeting message.'\n )\n .max(255)\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Extended fields.')\n .optional(),\n manualSummary: z\n .boolean()\n .describe(\n \"Whether the summary message is manually set or AI-generated.\\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\\n\\nDefault: `false`\"\n )\n .optional()\n .nullable(),\n personality: z\n .enum(['PROFESSIONAL', 'FRIENDLY', 'PLAYFUL', 'DIRECT'])\n .describe(\n 'Personality of the AI when interacting with visitors.\\nDefines the communication style of the AI chat responses.'\n )\n .optional(),\n});\nexport const UpdateChatSettingsRequest = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n chatSettings: z\n .object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n greetingMessage: z\n .string()\n .describe(\n 'Custom greeting message displayed when a visitor opens the AI chat.'\n )\n .max(50)\n .optional()\n .nullable(),\n chatEnabled: z\n .boolean()\n .describe(\n 'Whether AI chat is enabled for this form.\\n\\nDefault: `true`'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the chat settings are updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the chat settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the chat settings were last updated.')\n .optional()\n .nullable(),\n summaryMessage: z\n .string()\n .describe(\n 'Message that summarizes the contents of the form. Appears after the greeting message.'\n )\n .max(255)\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Extended fields.')\n .optional(),\n manualSummary: z\n .boolean()\n .describe(\n \"Whether the summary message is manually set or AI-generated.\\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\\n\\nDefault: `false`\"\n )\n .optional()\n .nullable(),\n personality: z\n .enum(['PROFESSIONAL', 'FRIENDLY', 'PLAYFUL', 'DIRECT'])\n .optional(),\n })\n .describe('Chat settings to be updated.'),\n});\nexport const UpdateChatSettingsResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n greetingMessage: z\n .string()\n .describe(\n 'Custom greeting message displayed when a visitor opens the AI chat.'\n )\n .max(50)\n .optional()\n .nullable(),\n chatEnabled: z\n .boolean()\n .describe('Whether AI chat is enabled for this form.\\n\\nDefault: `true`')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the chat settings are updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the chat settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the chat settings were last updated.')\n .optional()\n .nullable(),\n summaryMessage: z\n .string()\n .describe(\n 'Message that summarizes the contents of the form. Appears after the greeting message.'\n )\n .max(255)\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Extended fields.')\n .optional(),\n manualSummary: z\n .boolean()\n .describe(\n \"Whether the summary message is manually set or AI-generated.\\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\\n\\nDefault: `false`\"\n )\n .optional()\n .nullable(),\n personality: z\n .enum(['PROFESSIONAL', 'FRIENDLY', 'PLAYFUL', 'DIRECT'])\n .describe(\n 'Personality of the AI when interacting with visitors.\\nDefines the communication style of the AI chat responses.'\n )\n .optional(),\n});\nexport const DeleteChatSettingsRequest = /*#__PURE__*/ z.object({\n chatSettingsId: z\n .string()\n .describe('Chat settings ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const DeleteChatSettingsResponse = /*#__PURE__*/ z.object({});\nexport const GetChatSettingsRequest = /*#__PURE__*/ z.object({\n chatSettingsId: z\n .string()\n .describe('Chat settings ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const GetChatSettingsResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n greetingMessage: z\n .string()\n .describe(\n 'Custom greeting message displayed when a visitor opens the AI chat.'\n )\n .max(50)\n .optional()\n .nullable(),\n chatEnabled: z\n .boolean()\n .describe('Whether AI chat is enabled for this form.\\n\\nDefault: `true`')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the chat settings are updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the chat settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the chat settings were last updated.')\n .optional()\n .nullable(),\n summaryMessage: z\n .string()\n .describe(\n 'Message that summarizes the contents of the form. Appears after the greeting message.'\n )\n .max(255)\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Extended fields.')\n .optional(),\n manualSummary: z\n .boolean()\n .describe(\n \"Whether the summary message is manually set or AI-generated.\\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\\n\\nDefault: `false`\"\n )\n .optional()\n .nullable(),\n personality: z\n .enum(['PROFESSIONAL', 'FRIENDLY', 'PLAYFUL', 'DIRECT'])\n .describe(\n 'Personality of the AI when interacting with visitors.\\nDefines the communication style of the AI chat responses.'\n )\n .optional(),\n});\nexport const QueryChatSettingsRequest = /*#__PURE__*/ z.object({\n query: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n )\n .optional()\n .nullable(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .string()\n .describe('Name of the field to sort by.')\n .max(512)\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .max(5)\n .optional(),\n }),\n z.xor([\n z.object({ cursorPaging: z.never().optional() }),\n z.object({\n cursorPaging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Maximum number of items to return in the results.')\n .min(0)\n .max(100)\n .optional()\n .nullable(),\n cursor: z\n .string()\n .describe(\n \"Pointer to the next or previous page in the list of results.\\n\\nPass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\\nNot relevant for the first request.\"\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor paging options.\\n\\nLearn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).'\n ),\n }),\n ])\n )\n .describe('WQL expression.'),\n});\nexport const QueryChatSettingsResponse = /*#__PURE__*/ z.object({\n chatSettings: z\n .array(\n z.object({\n _id: z\n .string()\n .describe(\n 'The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n greetingMessage: z\n .string()\n .describe(\n 'Custom greeting message displayed when a visitor opens the AI chat.'\n )\n .max(50)\n .optional()\n .nullable(),\n chatEnabled: z\n .boolean()\n .describe(\n 'Whether AI chat is enabled for this form.\\n\\nDefault: `true`'\n )\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the chat settings are updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the chat settings.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the chat settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the chat settings were last updated.')\n .optional()\n .nullable(),\n summaryMessage: z\n .string()\n .describe(\n 'Message that summarizes the contents of the form. Appears after the greeting message.'\n )\n .max(255)\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe('Extended fields.')\n .optional(),\n manualSummary: z\n .boolean()\n .describe(\n \"Whether the summary message is manually set or AI-generated.\\nWhen `false` the summary message is automatically generated by AI when the chat settings are saved.\\nWhen `true`, the summary message can be manually set and won't be overwritten by AI.\\n\\nDefault: `false`\"\n )\n .optional()\n .nullable(),\n personality: z\n .enum(['PROFESSIONAL', 'FRIENDLY', 'PLAYFUL', 'DIRECT'])\n .describe(\n 'Personality of the AI when interacting with visitors.\\nDefines the communication style of the AI chat responses.'\n )\n .optional(),\n })\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in current page.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe(\n 'Cursor string pointing to the next page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to the previous page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor strings that point to the next page, previous page, or both.'\n )\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Whether there are more pages to retrieve following the current page.\\n\\n+ `true`: Another page of results can be retrieved.\\n+ `false`: This is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Metadata about the pagination of the results.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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ACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,MACZ,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,IACd,CAAC,EACA;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,SACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,+CAA+C,EACxD,SAAS;AACd,CAAC;","names":[]}
@@ -1,159 +0,0 @@
1
- import * as z from 'zod';
2
-
3
- declare const CreateChatSettingsRequest: z.ZodObject<{
4
- chatSettings: z.ZodObject<{
5
- _id: z.ZodString;
6
- greetingMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
- chatEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
8
- revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
10
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
11
- summaryMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
- extendedFields: z.ZodOptional<z.ZodObject<{
13
- namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
14
- }, z.core.$strip>>;
15
- manualSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
16
- personality: z.ZodOptional<z.ZodEnum<{
17
- PROFESSIONAL: "PROFESSIONAL";
18
- FRIENDLY: "FRIENDLY";
19
- PLAYFUL: "PLAYFUL";
20
- DIRECT: "DIRECT";
21
- }>>;
22
- }, z.core.$strip>;
23
- }, z.core.$strip>;
24
- declare const CreateChatSettingsResponse: z.ZodObject<{
25
- _id: z.ZodOptional<z.ZodString>;
26
- greetingMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
- chatEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
28
- revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
30
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
31
- summaryMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
- extendedFields: z.ZodOptional<z.ZodObject<{
33
- namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
34
- }, z.core.$strip>>;
35
- manualSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
36
- personality: z.ZodOptional<z.ZodEnum<{
37
- PROFESSIONAL: "PROFESSIONAL";
38
- FRIENDLY: "FRIENDLY";
39
- PLAYFUL: "PLAYFUL";
40
- DIRECT: "DIRECT";
41
- }>>;
42
- }, z.core.$strip>;
43
- declare const UpdateChatSettingsRequest: z.ZodObject<{
44
- _id: z.ZodString;
45
- chatSettings: z.ZodObject<{
46
- _id: z.ZodOptional<z.ZodString>;
47
- greetingMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
- chatEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
49
- revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
51
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
52
- summaryMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
- extendedFields: z.ZodOptional<z.ZodObject<{
54
- namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
55
- }, z.core.$strip>>;
56
- manualSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
57
- personality: z.ZodOptional<z.ZodEnum<{
58
- PROFESSIONAL: "PROFESSIONAL";
59
- FRIENDLY: "FRIENDLY";
60
- PLAYFUL: "PLAYFUL";
61
- DIRECT: "DIRECT";
62
- }>>;
63
- }, z.core.$strip>;
64
- }, z.core.$strip>;
65
- declare const UpdateChatSettingsResponse: z.ZodObject<{
66
- _id: z.ZodOptional<z.ZodString>;
67
- greetingMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
- chatEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
69
- revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
71
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
72
- summaryMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
- extendedFields: z.ZodOptional<z.ZodObject<{
74
- namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
75
- }, z.core.$strip>>;
76
- manualSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
77
- personality: z.ZodOptional<z.ZodEnum<{
78
- PROFESSIONAL: "PROFESSIONAL";
79
- FRIENDLY: "FRIENDLY";
80
- PLAYFUL: "PLAYFUL";
81
- DIRECT: "DIRECT";
82
- }>>;
83
- }, z.core.$strip>;
84
- declare const DeleteChatSettingsRequest: z.ZodObject<{
85
- chatSettingsId: z.ZodString;
86
- }, z.core.$strip>;
87
- declare const DeleteChatSettingsResponse: z.ZodObject<{}, z.core.$strip>;
88
- declare const GetChatSettingsRequest: z.ZodObject<{
89
- chatSettingsId: z.ZodString;
90
- }, z.core.$strip>;
91
- declare const GetChatSettingsResponse: z.ZodObject<{
92
- _id: z.ZodOptional<z.ZodString>;
93
- greetingMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
94
- chatEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
95
- revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
96
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
97
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
98
- summaryMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
99
- extendedFields: z.ZodOptional<z.ZodObject<{
100
- namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
101
- }, z.core.$strip>>;
102
- manualSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
103
- personality: z.ZodOptional<z.ZodEnum<{
104
- PROFESSIONAL: "PROFESSIONAL";
105
- FRIENDLY: "FRIENDLY";
106
- PLAYFUL: "PLAYFUL";
107
- DIRECT: "DIRECT";
108
- }>>;
109
- }, z.core.$strip>;
110
- declare const QueryChatSettingsRequest: z.ZodObject<{
111
- query: z.ZodIntersection<z.ZodObject<{
112
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
113
- sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
- fieldName: z.ZodOptional<z.ZodString>;
115
- order: z.ZodOptional<z.ZodEnum<{
116
- ASC: "ASC";
117
- DESC: "DESC";
118
- }>>;
119
- }, z.core.$strip>>>;
120
- }, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
121
- cursorPaging: z.ZodOptional<z.ZodNever>;
122
- }, z.core.$strip>, z.ZodObject<{
123
- cursorPaging: z.ZodObject<{
124
- limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
125
- cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
- }, z.core.$strip>;
127
- }, z.core.$strip>]>>;
128
- }, z.core.$strip>;
129
- declare const QueryChatSettingsResponse: z.ZodObject<{
130
- chatSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
- _id: z.ZodOptional<z.ZodString>;
132
- greetingMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
133
- chatEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
134
- revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
135
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
136
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
137
- summaryMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
138
- extendedFields: z.ZodOptional<z.ZodObject<{
139
- namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
140
- }, z.core.$strip>>;
141
- manualSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
142
- personality: z.ZodOptional<z.ZodEnum<{
143
- PROFESSIONAL: "PROFESSIONAL";
144
- FRIENDLY: "FRIENDLY";
145
- PLAYFUL: "PLAYFUL";
146
- DIRECT: "DIRECT";
147
- }>>;
148
- }, z.core.$strip>>>;
149
- pagingMetadata: z.ZodOptional<z.ZodObject<{
150
- count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
151
- cursors: z.ZodOptional<z.ZodObject<{
152
- next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
- prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
- }, z.core.$strip>>;
155
- hasNext: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
156
- }, z.core.$strip>>;
157
- }, z.core.$strip>;
158
-
159
- export { CreateChatSettingsRequest, CreateChatSettingsResponse, DeleteChatSettingsRequest, DeleteChatSettingsResponse, GetChatSettingsRequest, GetChatSettingsResponse, QueryChatSettingsRequest, QueryChatSettingsResponse, UpdateChatSettingsRequest, UpdateChatSettingsResponse };