@wix/auto_sdk_forms_chat-settings 1.0.19 → 1.0.21

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.
@@ -0,0 +1,260 @@
1
+ // src/forms-ai-v1-chat-settings-chat-settings.schemas.ts
2
+ import * as z from "zod";
3
+ var CreateChatSettingsRequest = z.object({
4
+ chatSettings: z.object({
5
+ _id: z.string().describe(
6
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
7
+ ).regex(
8
+ /^[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}$/,
9
+ "Must be a valid GUID"
10
+ ),
11
+ greetingMessage: z.string().describe(
12
+ "Custom greeting message displayed when a visitor opens the AI chat."
13
+ ).max(50).optional().nullable(),
14
+ chatEnabled: z.boolean().describe(
15
+ "Whether AI chat is enabled for this form.\n\nDefault: `true`"
16
+ ).optional().nullable(),
17
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
18
+ "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."
19
+ ).optional().nullable(),
20
+ _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
21
+ _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
22
+ summaryMessage: z.string().describe(
23
+ "Message that summarizes the contents of the form. Appears after the greeting message."
24
+ ).max(255).optional().nullable(),
25
+ extendedFields: z.object({
26
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
27
+ "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)."
28
+ ).optional()
29
+ }).describe("Extended fields.").optional(),
30
+ manualSummary: z.boolean().describe(
31
+ "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`"
32
+ ).optional().nullable()
33
+ }).describe("Chat settings to be created.")
34
+ });
35
+ var CreateChatSettingsResponse = z.object({
36
+ _id: z.string().describe(
37
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
38
+ ).regex(
39
+ /^[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}$/,
40
+ "Must be a valid GUID"
41
+ ).optional(),
42
+ greetingMessage: z.string().describe(
43
+ "Custom greeting message displayed when a visitor opens the AI chat."
44
+ ).max(50).optional().nullable(),
45
+ chatEnabled: z.boolean().describe("Whether AI chat is enabled for this form.\n\nDefault: `true`").optional().nullable(),
46
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
47
+ "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."
48
+ ).optional().nullable(),
49
+ _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
50
+ _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
51
+ summaryMessage: z.string().describe(
52
+ "Message that summarizes the contents of the form. Appears after the greeting message."
53
+ ).max(255).optional().nullable(),
54
+ extendedFields: z.object({
55
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
56
+ "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)."
57
+ ).optional()
58
+ }).describe("Extended fields.").optional(),
59
+ manualSummary: z.boolean().describe(
60
+ "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`"
61
+ ).optional().nullable()
62
+ });
63
+ var UpdateChatSettingsRequest = z.object({
64
+ _id: z.string().describe(
65
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
66
+ ).regex(
67
+ /^[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}$/,
68
+ "Must be a valid GUID"
69
+ ),
70
+ chatSettings: z.object({
71
+ _id: z.string().describe(
72
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
73
+ ).regex(
74
+ /^[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}$/,
75
+ "Must be a valid GUID"
76
+ ).optional(),
77
+ greetingMessage: z.string().describe(
78
+ "Custom greeting message displayed when a visitor opens the AI chat."
79
+ ).max(50).optional().nullable(),
80
+ chatEnabled: z.boolean().describe(
81
+ "Whether AI chat is enabled for this form.\n\nDefault: `true`"
82
+ ).optional().nullable(),
83
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
84
+ "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."
85
+ ).optional().nullable(),
86
+ _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
87
+ _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
88
+ summaryMessage: z.string().describe(
89
+ "Message that summarizes the contents of the form. Appears after the greeting message."
90
+ ).max(255).optional().nullable(),
91
+ extendedFields: z.object({
92
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
93
+ "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)."
94
+ ).optional()
95
+ }).describe("Extended fields.").optional(),
96
+ manualSummary: z.boolean().describe(
97
+ "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`"
98
+ ).optional().nullable()
99
+ }).describe("Chat settings to be updated.")
100
+ });
101
+ var UpdateChatSettingsResponse = z.object({
102
+ _id: z.string().describe(
103
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
104
+ ).regex(
105
+ /^[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}$/,
106
+ "Must be a valid GUID"
107
+ ).optional(),
108
+ greetingMessage: z.string().describe(
109
+ "Custom greeting message displayed when a visitor opens the AI chat."
110
+ ).max(50).optional().nullable(),
111
+ chatEnabled: z.boolean().describe("Whether AI chat is enabled for this form.\n\nDefault: `true`").optional().nullable(),
112
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
113
+ "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."
114
+ ).optional().nullable(),
115
+ _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
116
+ _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
117
+ summaryMessage: z.string().describe(
118
+ "Message that summarizes the contents of the form. Appears after the greeting message."
119
+ ).max(255).optional().nullable(),
120
+ extendedFields: z.object({
121
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
122
+ "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)."
123
+ ).optional()
124
+ }).describe("Extended fields.").optional(),
125
+ manualSummary: z.boolean().describe(
126
+ "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`"
127
+ ).optional().nullable()
128
+ });
129
+ var DeleteChatSettingsRequest = z.object({
130
+ chatSettingsId: z.string().describe("Chat settings ID.").regex(
131
+ /^[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}$/,
132
+ "Must be a valid GUID"
133
+ )
134
+ });
135
+ var DeleteChatSettingsResponse = z.object({});
136
+ var GetChatSettingsRequest = z.object({
137
+ chatSettingsId: z.string().describe("Chat settings ID.").regex(
138
+ /^[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}$/,
139
+ "Must be a valid GUID"
140
+ )
141
+ });
142
+ var GetChatSettingsResponse = z.object({
143
+ _id: z.string().describe(
144
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
145
+ ).regex(
146
+ /^[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}$/,
147
+ "Must be a valid GUID"
148
+ ).optional(),
149
+ greetingMessage: z.string().describe(
150
+ "Custom greeting message displayed when a visitor opens the AI chat."
151
+ ).max(50).optional().nullable(),
152
+ chatEnabled: z.boolean().describe("Whether AI chat is enabled for this form.\n\nDefault: `true`").optional().nullable(),
153
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
154
+ "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."
155
+ ).optional().nullable(),
156
+ _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
157
+ _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
158
+ summaryMessage: z.string().describe(
159
+ "Message that summarizes the contents of the form. Appears after the greeting message."
160
+ ).max(255).optional().nullable(),
161
+ extendedFields: z.object({
162
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
163
+ "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)."
164
+ ).optional()
165
+ }).describe("Extended fields.").optional(),
166
+ manualSummary: z.boolean().describe(
167
+ "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`"
168
+ ).optional().nullable()
169
+ });
170
+ var QueryChatSettingsRequest = z.object({
171
+ query: z.intersection(
172
+ z.object({
173
+ filter: z.record(z.string(), z.any()).describe(
174
+ "Filter object.\n\nLearn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)."
175
+ ).optional().nullable(),
176
+ sort: z.array(
177
+ z.object({
178
+ fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
179
+ order: z.enum(["ASC", "DESC"]).optional()
180
+ })
181
+ ).max(5).optional()
182
+ }),
183
+ z.xor([
184
+ z.object({ cursorPaging: z.never().optional() }),
185
+ z.object({
186
+ cursorPaging: z.object({
187
+ limit: z.number().int().describe("Maximum number of items to return in the results.").min(0).max(100).optional().nullable(),
188
+ cursor: z.string().describe(
189
+ "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."
190
+ ).max(16e3).optional().nullable()
191
+ }).describe(
192
+ "Cursor paging options.\n\nLearn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging)."
193
+ )
194
+ })
195
+ ])
196
+ ).describe("WQL expression.")
197
+ });
198
+ var QueryChatSettingsResponse = z.object({
199
+ chatSettings: z.array(
200
+ z.object({
201
+ _id: z.string().describe(
202
+ "The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID."
203
+ ).regex(
204
+ /^[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}$/,
205
+ "Must be a valid GUID"
206
+ ).optional(),
207
+ greetingMessage: z.string().describe(
208
+ "Custom greeting message displayed when a visitor opens the AI chat."
209
+ ).max(50).optional().nullable(),
210
+ chatEnabled: z.boolean().describe(
211
+ "Whether AI chat is enabled for this form.\n\nDefault: `true`"
212
+ ).optional().nullable(),
213
+ revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe(
214
+ "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."
215
+ ).optional().nullable(),
216
+ _createdDate: z.date().describe("Date and time the chat settings were created.").optional().nullable(),
217
+ _updatedDate: z.date().describe("Date and time the chat settings were last updated.").optional().nullable(),
218
+ summaryMessage: z.string().describe(
219
+ "Message that summarizes the contents of the form. Appears after the greeting message."
220
+ ).max(255).optional().nullable(),
221
+ extendedFields: z.object({
222
+ namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
223
+ "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)."
224
+ ).optional()
225
+ }).describe("Extended fields.").optional(),
226
+ manualSummary: z.boolean().describe(
227
+ "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`"
228
+ ).optional().nullable()
229
+ })
230
+ ).optional(),
231
+ pagingMetadata: z.object({
232
+ count: z.number().int().describe("Number of items returned in current page.").optional().nullable(),
233
+ cursors: z.object({
234
+ next: z.string().describe(
235
+ "Cursor string pointing to the next page in the list of results."
236
+ ).max(16e3).optional().nullable(),
237
+ prev: z.string().describe(
238
+ "Cursor pointing to the previous page in the list of results."
239
+ ).max(16e3).optional().nullable()
240
+ }).describe(
241
+ "Cursor strings that point to the next page, previous page, or both."
242
+ ).optional(),
243
+ hasNext: z.boolean().describe(
244
+ "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."
245
+ ).optional().nullable()
246
+ }).describe("Metadata about the pagination of the results.").optional()
247
+ });
248
+ export {
249
+ CreateChatSettingsRequest,
250
+ CreateChatSettingsResponse,
251
+ DeleteChatSettingsRequest,
252
+ DeleteChatSettingsResponse,
253
+ GetChatSettingsRequest,
254
+ GetChatSettingsResponse,
255
+ QueryChatSettingsRequest,
256
+ QueryChatSettingsResponse,
257
+ UpdateChatSettingsRequest,
258
+ UpdateChatSettingsResponse
259
+ };
260
+ //# sourceMappingURL=schemas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/forms-ai-v1-chat-settings-chat-settings.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateChatSettingsRequest = 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 })\n .describe('Chat settings to be created.'),\n});\nexport const CreateChatSettingsResponse = 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});\nexport const UpdateChatSettingsRequest = 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 })\n .describe('Chat settings to be updated.'),\n});\nexport const UpdateChatSettingsResponse = 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});\nexport const DeleteChatSettingsRequest = 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 = z.object({});\nexport const GetChatSettingsRequest = 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 = 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});\nexport const QueryChatSettingsRequest = 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 = 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 })\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,YAAY,OAAO;AAEZ,IAAM,4BAA8B,SAAO;AAAA,EAChD,cACG,SAAO;AAAA,IACN,KACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC;AAAA,MACC;AAAA,MACA;A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AO;AAAA,QACN,YACG,SAAS,SAAO,GAAK,SAAS,SAAO,GAAK,MAAI,CAAC,CAAC,EAChD;AAAA,UACC;AAAA,QACF,EACC,SAAS;AAAA,MACd,CAAC,EACA,SAAS,kBAAkB,EAC3B,SAAS;AAAA,MACZ,eACG,UAAQ,EACR;AAAA,QACC;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AAAA,EACZ,gBACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ,SAAS,2CAA2C,EACpD,SAAS,EACT,SAAS;AAAA,IACZ,SACG,SAAO;AAAA,MACN,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,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":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_forms_chat-settings",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -21,16 +21,23 @@
21
21
  "import": "./build/es/meta.mjs",
22
22
  "require": "./build/cjs/meta.js",
23
23
  "types": "./build/es/meta.d.mts"
24
+ },
25
+ "./schemas": {
26
+ "import": "./build/es/schemas.mjs",
27
+ "require": "./build/cjs/schemas.js",
28
+ "types": "./build/es/schemas.d.mts"
24
29
  }
25
30
  },
26
31
  "files": [
27
32
  "build",
28
33
  "meta",
29
- "service-plugins"
34
+ "service-plugins",
35
+ "schemas"
30
36
  ],
31
37
  "dependencies": {
32
- "@wix/sdk-runtime": "^1.0.8",
33
- "@wix/sdk-types": "^1.17.4"
38
+ "@wix/sdk-runtime": "^1.0.10",
39
+ "@wix/sdk-types": "^1.17.6",
40
+ "zod": "^4.3.6"
34
41
  },
35
42
  "devDependencies": {
36
43
  "tsup": "^8.4.0",
@@ -50,5 +57,5 @@
50
57
  "fqdn": "wix.forms.ai.v1.chat_settings"
51
58
  }
52
59
  },
53
- "falconPackageHash": "cad870e111a6f5fad211ecca051dc546e40fa5038f2977e00c652205"
60
+ "falconPackageHash": "42e3a402f6641709aadc5d26914f055f7241f6b0701cedf016f8d9a5"
54
61
  }
@@ -0,0 +1,3 @@
1
+ {
2
+ "main": "../build/cjs/schemas.js"
3
+ }