@chatbotkit/cli 1.23.0 → 1.25.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.
@@ -10,665 +10,1610 @@ export function getArrayBackedObject<T>(array: T[]): {
10
10
  [key: string]: T | undefined;
11
11
  };
12
12
  export const BasicResourceConfigSchema: z.ZodObject<{
13
- type: z.ZodString;
14
13
  slug: z.ZodOptional<z.ZodString>;
15
14
  id: z.ZodOptional<z.ZodString>;
16
- name: z.ZodString;
17
- description: z.ZodOptional<z.ZodString>;
18
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19
15
  }, "strip", z.ZodTypeAny, {
20
- type: string;
21
- name: string;
22
- properties: Record<string, unknown>;
23
16
  slug?: string | undefined;
24
17
  id?: string | undefined;
25
- description?: string | undefined;
26
18
  }, {
27
- type: string;
28
- name: string;
29
- properties: Record<string, unknown>;
30
19
  slug?: string | undefined;
31
20
  id?: string | undefined;
32
- description?: string | undefined;
33
21
  }>;
34
- export const BotResourceConfigSchema: z.ZodObject<{
35
- slug: z.ZodOptional<z.ZodString>;
36
- id: z.ZodOptional<z.ZodString>;
37
- name: z.ZodString;
38
- description: z.ZodOptional<z.ZodString>;
39
- } & {
40
- type: z.ZodLiteral<"bot">;
41
- properties: z.ZodObject<{
42
- model: z.ZodOptional<z.ZodString>;
43
- backstory: z.ZodOptional<z.ZodString>;
44
- datasetId: z.ZodOptional<z.ZodString>;
45
- skillsetId: z.ZodOptional<z.ZodString>;
46
- moderation: z.ZodOptional<z.ZodBoolean>;
47
- privacy: z.ZodOptional<z.ZodBoolean>;
48
- }, "strip", z.ZodTypeAny, {
49
- model?: string | undefined;
50
- backstory?: string | undefined;
51
- datasetId?: string | undefined;
52
- skillsetId?: string | undefined;
53
- privacy?: boolean | undefined;
54
- moderation?: boolean | undefined;
55
- }, {
56
- model?: string | undefined;
57
- backstory?: string | undefined;
58
- datasetId?: string | undefined;
59
- skillsetId?: string | undefined;
60
- privacy?: boolean | undefined;
61
- moderation?: boolean | undefined;
62
- }>;
63
- }, "strip", z.ZodTypeAny, {
64
- type: "bot";
65
- name: string;
66
- properties: {
67
- model?: string | undefined;
68
- backstory?: string | undefined;
69
- datasetId?: string | undefined;
70
- skillsetId?: string | undefined;
71
- privacy?: boolean | undefined;
72
- moderation?: boolean | undefined;
22
+ export const BlueprintResourceConfigSchema: ResourceConfigSchemaFor<"blueprint", import("@chatbotkit/sdk/blueprint/v1").BlueprintCreateRequest>;
23
+ export const BotResourceConfigSchema: ResourceConfigSchemaFor<"bot", import("@chatbotkit/sdk/bot/v1").BotCreateRequest>;
24
+ export const DatasetResourceConfigSchema: ResourceConfigSchemaFor<"dataset", import("@chatbotkit/sdk/dataset/v1").DatasetCreateRequest>;
25
+ export const FileResourceConfigSchema: ResourceConfigSchemaFor<"file", import("@chatbotkit/sdk/file/v1").FileCreateRequest>;
26
+ export const SecretResourceConfigSchema: ResourceConfigSchemaFor<"secret", import("@chatbotkit/sdk/secret/v1").SecretCreateRequest>;
27
+ export const SkillsetResourceConfigSchema: ResourceConfigSchemaFor<"skillset", import("@chatbotkit/sdk/skillset/v1").SkillsetCreateRequest>;
28
+ export const WidgetIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"widgetIntegration", import("@chatbotkit/sdk/integration/widget/v1").WidgetIntegrationCreateRequest>;
29
+ export const SitemapIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"sitemapIntegration", import("@chatbotkit/sdk/integration/sitemap/v1").SitemapIntegrationCreateRequest>;
30
+ export const SlackIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"slackIntegration", import("@chatbotkit/sdk/integration/slack/v1").SlackIntegrationCreateRequest>;
31
+ export const DiscordIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"discordIntegration", import("@chatbotkit/sdk/integration/discord/v1").DiscordIntegrationCreateRequest>;
32
+ export const TelegramIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"telegramIntegration", import("@chatbotkit/sdk/integration/telegram/v1").TelegramIntegrationCreateRequest>;
33
+ export const WhatsAppIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"whatsappIntegration", import("@chatbotkit/sdk/integration/whatsapp/v1").WhatsAppIntegrationCreateRequest>;
34
+ export const MessengerIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"messengerIntegration", import("@chatbotkit/sdk/integration/messenger/v1").MessengerIntegrationCreateRequest>;
35
+ export const NotionIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"notionIntegration", import("@chatbotkit/sdk/integration/notion/v1").NotionIntegrationCreateRequest>;
36
+ export const EmailIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"emailIntegration", import("@chatbotkit/sdk/integration/email/v1").EmailIntegrationCreateRequest>;
37
+ export const TriggerIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"triggerIntegration", import("@chatbotkit/sdk/integration/trigger/v1").TriggerIntegrationCreateRequest>;
38
+ export const SupportIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"supportIntegration", import("@chatbotkit/sdk/integration/support/v1").SupportIntegrationCreateRequest>;
39
+ export const ExtractIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"extractIntegration", import("@chatbotkit/sdk/integration/extract/v1").ExtractIntegrationCreateRequest>;
40
+ export const McpServerIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"mcpserverIntegration", import("@chatbotkit/sdk/integration/mcpserver/v1").McpServerIntegrationCreateRequest>;
41
+ export const TwilioIntegrationResourceConfigSchema: ResourceConfigSchemaFor<"twilioIntegration", import("@chatbotkit/sdk/integration/twilio/v1").TwilioIntegrationCreateRequest>;
42
+ export const ResourceConfigSchema: z.ZodUnion<[ResourceConfigSchemaFor<"blueprint", {
43
+ name?: string;
44
+ description?: string;
45
+ meta?: {
46
+ [key: string]: unknown;
73
47
  };
74
- slug?: string | undefined;
75
- id?: string | undefined;
76
- description?: string | undefined;
77
- }, {
78
- type: "bot";
79
- name: string;
80
- properties: {
81
- model?: string | undefined;
82
- backstory?: string | undefined;
83
- datasetId?: string | undefined;
84
- skillsetId?: string | undefined;
85
- privacy?: boolean | undefined;
86
- moderation?: boolean | undefined;
48
+ visibility?: "private" | "protected" | "public";
49
+ }>, ResourceConfigSchemaFor<"bot", import("@chatbotkit/sdk/bot/v1").BotCreateRequest>, ResourceConfigSchemaFor<"dataset", {
50
+ name?: string;
51
+ description?: string;
52
+ meta?: {
53
+ [key: string]: unknown;
87
54
  };
88
- slug?: string | undefined;
89
- id?: string | undefined;
90
- description?: string | undefined;
91
- }>;
92
- export const DatasetResourceConfigSchema: z.ZodObject<{
93
- slug: z.ZodOptional<z.ZodString>;
94
- id: z.ZodOptional<z.ZodString>;
95
- name: z.ZodString;
96
- description: z.ZodOptional<z.ZodString>;
97
- } & {
98
- type: z.ZodLiteral<"dataset">;
99
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
100
- }, "strip", z.ZodTypeAny, {
101
- type: "dataset";
102
- name: string;
103
- properties: {};
104
- slug?: string | undefined;
105
- id?: string | undefined;
106
- description?: string | undefined;
107
- }, {
108
- type: "dataset";
109
- name: string;
110
- properties: {};
111
- slug?: string | undefined;
112
- id?: string | undefined;
113
- description?: string | undefined;
114
- }>;
115
- export const SkillsetResourceConfigSchema: z.ZodObject<{
116
- slug: z.ZodOptional<z.ZodString>;
117
- id: z.ZodOptional<z.ZodString>;
118
- name: z.ZodString;
119
- description: z.ZodOptional<z.ZodString>;
120
- } & {
121
- type: z.ZodLiteral<"skillset">;
122
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
123
- }, "strip", z.ZodTypeAny, {
124
- type: "skillset";
125
- name: string;
126
- properties: {};
127
- slug?: string | undefined;
128
- id?: string | undefined;
129
- description?: string | undefined;
130
- }, {
131
- type: "skillset";
132
- name: string;
133
- properties: {};
134
- slug?: string | undefined;
135
- id?: string | undefined;
136
- description?: string | undefined;
137
- }>;
138
- export const WidgetIntegrationResourceConfigSchema: z.ZodObject<{
139
- slug: z.ZodOptional<z.ZodString>;
140
- id: z.ZodOptional<z.ZodString>;
141
- name: z.ZodString;
142
- description: z.ZodOptional<z.ZodString>;
143
- } & {
144
- type: z.ZodLiteral<"widgetIntegration">;
145
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
146
- }, "strip", z.ZodTypeAny, {
147
- type: "widgetIntegration";
148
- name: string;
149
- properties: {};
150
- slug?: string | undefined;
151
- id?: string | undefined;
152
- description?: string | undefined;
153
- }, {
154
- type: "widgetIntegration";
155
- name: string;
156
- properties: {};
157
- slug?: string | undefined;
158
- id?: string | undefined;
159
- description?: string | undefined;
160
- }>;
161
- export const SitemapIntegrationResourceConfigSchema: z.ZodObject<{
162
- slug: z.ZodOptional<z.ZodString>;
163
- id: z.ZodOptional<z.ZodString>;
164
- name: z.ZodString;
165
- description: z.ZodOptional<z.ZodString>;
166
- } & {
167
- type: z.ZodLiteral<"sitemapIntegration">;
168
- properties: z.ZodObject<{
169
- url: z.ZodString;
170
- datasetId: z.ZodString;
171
- }, "strip", z.ZodTypeAny, {
172
- datasetId: string;
173
- url: string;
174
- }, {
175
- datasetId: string;
176
- url: string;
177
- }>;
178
- }, "strip", z.ZodTypeAny, {
179
- type: "sitemapIntegration";
180
- name: string;
181
- properties: {
182
- datasetId: string;
183
- url: string;
55
+ blueprintId?: string;
56
+ store?: string;
57
+ reranker?: string;
58
+ recordMaxTokens?: number;
59
+ searchMinScore?: number;
60
+ searchMaxRecords?: number;
61
+ searchMaxTokens?: number;
62
+ matchInstruction?: string;
63
+ mismatchInstruction?: string;
64
+ separators?: string;
65
+ visibility?: "private" | "protected" | "public";
66
+ }>, ResourceConfigSchemaFor<"file", {
67
+ name?: string;
68
+ description?: string;
69
+ meta?: {
70
+ [key: string]: unknown;
184
71
  };
185
- slug?: string | undefined;
186
- id?: string | undefined;
187
- description?: string | undefined;
188
- }, {
189
- type: "sitemapIntegration";
190
- name: string;
191
- properties: {
192
- datasetId: string;
193
- url: string;
72
+ blueprintId?: string;
73
+ visibility?: "private" | "protected" | "public";
74
+ }>, ResourceConfigSchemaFor<"secret", {
75
+ name?: string;
76
+ description?: string;
77
+ meta?: {
78
+ [key: string]: unknown;
194
79
  };
195
- slug?: string | undefined;
196
- id?: string | undefined;
197
- description?: string | undefined;
198
- }>;
199
- export const ResourceConfigSchema: z.ZodUnion<[z.ZodObject<{
200
- slug: z.ZodOptional<z.ZodString>;
201
- id: z.ZodOptional<z.ZodString>;
202
- name: z.ZodString;
203
- description: z.ZodOptional<z.ZodString>;
204
- } & {
205
- type: z.ZodLiteral<"bot">;
206
- properties: z.ZodObject<{
207
- model: z.ZodOptional<z.ZodString>;
208
- backstory: z.ZodOptional<z.ZodString>;
209
- datasetId: z.ZodOptional<z.ZodString>;
210
- skillsetId: z.ZodOptional<z.ZodString>;
211
- moderation: z.ZodOptional<z.ZodBoolean>;
212
- privacy: z.ZodOptional<z.ZodBoolean>;
213
- }, "strip", z.ZodTypeAny, {
214
- model?: string | undefined;
215
- backstory?: string | undefined;
216
- datasetId?: string | undefined;
217
- skillsetId?: string | undefined;
218
- privacy?: boolean | undefined;
219
- moderation?: boolean | undefined;
220
- }, {
221
- model?: string | undefined;
222
- backstory?: string | undefined;
223
- datasetId?: string | undefined;
224
- skillsetId?: string | undefined;
225
- privacy?: boolean | undefined;
226
- moderation?: boolean | undefined;
227
- }>;
228
- }, "strip", z.ZodTypeAny, {
229
- type: "bot";
230
- name: string;
231
- properties: {
232
- model?: string | undefined;
233
- backstory?: string | undefined;
234
- datasetId?: string | undefined;
235
- skillsetId?: string | undefined;
236
- privacy?: boolean | undefined;
237
- moderation?: boolean | undefined;
80
+ blueprintId?: string;
81
+ kind?: "shared" | "personal";
82
+ type?: "plain" | "basic" | "bearer" | "oauth" | "template" | "reference";
83
+ value?: string;
84
+ config?: {
85
+ [key: string]: unknown;
238
86
  };
239
- slug?: string | undefined;
240
- id?: string | undefined;
241
- description?: string | undefined;
242
- }, {
243
- type: "bot";
244
- name: string;
245
- properties: {
246
- model?: string | undefined;
247
- backstory?: string | undefined;
248
- datasetId?: string | undefined;
249
- skillsetId?: string | undefined;
250
- privacy?: boolean | undefined;
251
- moderation?: boolean | undefined;
87
+ visibility?: "private" | "protected" | "public";
88
+ }>, ResourceConfigSchemaFor<"skillset", {
89
+ name?: string;
90
+ description?: string;
91
+ meta?: {
92
+ [key: string]: unknown;
252
93
  };
253
- slug?: string | undefined;
254
- id?: string | undefined;
255
- description?: string | undefined;
256
- }>, z.ZodObject<{
257
- slug: z.ZodOptional<z.ZodString>;
258
- id: z.ZodOptional<z.ZodString>;
259
- name: z.ZodString;
260
- description: z.ZodOptional<z.ZodString>;
261
- } & {
262
- type: z.ZodLiteral<"dataset">;
263
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
264
- }, "strip", z.ZodTypeAny, {
265
- type: "dataset";
266
- name: string;
267
- properties: {};
268
- slug?: string | undefined;
269
- id?: string | undefined;
270
- description?: string | undefined;
271
- }, {
272
- type: "dataset";
273
- name: string;
274
- properties: {};
275
- slug?: string | undefined;
276
- id?: string | undefined;
277
- description?: string | undefined;
278
- }>, z.ZodObject<{
279
- slug: z.ZodOptional<z.ZodString>;
280
- id: z.ZodOptional<z.ZodString>;
281
- name: z.ZodString;
282
- description: z.ZodOptional<z.ZodString>;
283
- } & {
284
- type: z.ZodLiteral<"skillset">;
285
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
286
- }, "strip", z.ZodTypeAny, {
287
- type: "skillset";
288
- name: string;
289
- properties: {};
290
- slug?: string | undefined;
291
- id?: string | undefined;
292
- description?: string | undefined;
293
- }, {
294
- type: "skillset";
295
- name: string;
296
- properties: {};
297
- slug?: string | undefined;
298
- id?: string | undefined;
299
- description?: string | undefined;
300
- }>, z.ZodObject<{
301
- slug: z.ZodOptional<z.ZodString>;
302
- id: z.ZodOptional<z.ZodString>;
303
- name: z.ZodString;
304
- description: z.ZodOptional<z.ZodString>;
305
- } & {
306
- type: z.ZodLiteral<"widgetIntegration">;
307
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
308
- }, "strip", z.ZodTypeAny, {
309
- type: "widgetIntegration";
310
- name: string;
311
- properties: {};
312
- slug?: string | undefined;
313
- id?: string | undefined;
314
- description?: string | undefined;
315
- }, {
316
- type: "widgetIntegration";
317
- name: string;
318
- properties: {};
319
- slug?: string | undefined;
320
- id?: string | undefined;
321
- description?: string | undefined;
322
- }>, z.ZodObject<{
323
- slug: z.ZodOptional<z.ZodString>;
324
- id: z.ZodOptional<z.ZodString>;
325
- name: z.ZodString;
326
- description: z.ZodOptional<z.ZodString>;
327
- } & {
328
- type: z.ZodLiteral<"sitemapIntegration">;
329
- properties: z.ZodObject<{
330
- url: z.ZodString;
331
- datasetId: z.ZodString;
332
- }, "strip", z.ZodTypeAny, {
333
- datasetId: string;
334
- url: string;
335
- }, {
336
- datasetId: string;
337
- url: string;
338
- }>;
339
- }, "strip", z.ZodTypeAny, {
340
- type: "sitemapIntegration";
341
- name: string;
342
- properties: {
343
- datasetId: string;
344
- url: string;
94
+ blueprintId?: string;
95
+ visibility?: "private" | "protected" | "public";
96
+ }>, ResourceConfigSchemaFor<"widgetIntegration", {
97
+ name?: string;
98
+ description?: string;
99
+ meta?: {
100
+ [key: string]: unknown;
345
101
  };
346
- slug?: string | undefined;
347
- id?: string | undefined;
348
- description?: string | undefined;
349
- }, {
350
- type: "sitemapIntegration";
351
- name: string;
352
- properties: {
353
- datasetId: string;
354
- url: string;
102
+ blueprintId?: string;
103
+ botId?: string;
104
+ theme?: string;
105
+ layout?: string;
106
+ title?: string;
107
+ intro?: string;
108
+ initial?: string;
109
+ placeholder?: string;
110
+ origin?: string;
111
+ sessionDuration?: number;
112
+ language?: string;
113
+ plugins?: string;
114
+ stream?: boolean;
115
+ verbose?: boolean;
116
+ tools?: boolean;
117
+ unfurl?: boolean;
118
+ math?: boolean;
119
+ carousel?: boolean;
120
+ form?: boolean;
121
+ attachments?: boolean;
122
+ autoScroll?: boolean;
123
+ startFirst?: boolean;
124
+ contactCollection?: boolean;
125
+ exportConversation?: boolean;
126
+ restartConversation?: boolean;
127
+ maximize?: boolean;
128
+ messagePeek?: boolean;
129
+ voiceIn?: boolean;
130
+ voiceOut?: boolean;
131
+ poweredBy?: boolean;
132
+ }>, ResourceConfigSchemaFor<"sitemapIntegration", {
133
+ name?: string;
134
+ description?: string;
135
+ meta?: {
136
+ [key: string]: unknown;
355
137
  };
356
- slug?: string | undefined;
357
- id?: string | undefined;
358
- description?: string | undefined;
138
+ blueprintId?: string;
139
+ datasetId?: string;
140
+ url?: string;
141
+ glob?: string;
142
+ selectors?: string;
143
+ javascript?: boolean;
144
+ syncSchedule?: string;
145
+ expiresIn?: number;
146
+ }>, ResourceConfigSchemaFor<"slackIntegration", {
147
+ name?: string;
148
+ description?: string;
149
+ meta?: {
150
+ [key: string]: unknown;
151
+ };
152
+ blueprintId?: string;
153
+ botId?: string;
154
+ signingSecret?: string;
155
+ botToken?: string;
156
+ userToken?: string;
157
+ sessionDuration?: number;
158
+ contactCollection?: boolean;
159
+ references?: boolean;
160
+ ratings?: boolean;
161
+ visibleMessages?: number;
162
+ autoRespond?: string;
163
+ }>, ResourceConfigSchemaFor<"discordIntegration", {
164
+ name?: string;
165
+ description?: string;
166
+ meta?: {
167
+ [key: string]: unknown;
168
+ };
169
+ blueprintId?: string;
170
+ botId?: string;
171
+ appId?: string;
172
+ botToken?: string;
173
+ publicKey?: string;
174
+ handle?: string;
175
+ contactCollection?: boolean;
176
+ sessionDuration?: number;
177
+ }>, ResourceConfigSchemaFor<"telegramIntegration", {
178
+ name?: string;
179
+ description?: string;
180
+ meta?: {
181
+ [key: string]: unknown;
182
+ };
183
+ blueprintId?: string;
184
+ botId?: string;
185
+ botToken?: string;
186
+ contactCollection?: boolean;
187
+ sessionDuration?: number;
188
+ attachments?: boolean;
189
+ }>, ResourceConfigSchemaFor<"whatsappIntegration", {
190
+ name?: string;
191
+ description?: string;
192
+ meta?: {
193
+ [key: string]: unknown;
194
+ };
195
+ blueprintId?: string;
196
+ botId?: string;
197
+ phoneNumberId?: string;
198
+ accessToken?: string;
199
+ contactCollection?: boolean;
200
+ sessionDuration?: number;
201
+ attachments?: boolean;
202
+ }>, ResourceConfigSchemaFor<"messengerIntegration", {
203
+ name?: string;
204
+ description?: string;
205
+ meta?: {
206
+ [key: string]: unknown;
207
+ };
208
+ blueprintId?: string;
209
+ botId?: string;
210
+ accessToken?: string;
211
+ sessionDuration?: number;
212
+ attachments?: boolean;
213
+ }>, ResourceConfigSchemaFor<"notionIntegration", {
214
+ name?: string;
215
+ description?: string;
216
+ meta?: {
217
+ [key: string]: unknown;
218
+ };
219
+ blueprintId?: string;
220
+ datasetId?: string;
221
+ token?: string;
222
+ syncSchedule?: string;
223
+ expiresIn?: number;
224
+ }>, ResourceConfigSchemaFor<"emailIntegration", {
225
+ name?: string;
226
+ description?: string;
227
+ meta?: {
228
+ [key: string]: unknown;
229
+ };
230
+ blueprintId?: string;
231
+ botId?: string;
232
+ contactCollection?: boolean;
233
+ sessionDuration?: number;
234
+ attachments?: boolean;
235
+ }>, ResourceConfigSchemaFor<"triggerIntegration", {
236
+ name?: string;
237
+ description?: string;
238
+ meta?: {
239
+ [key: string]: unknown;
240
+ };
241
+ blueprintId?: string;
242
+ botId?: string;
243
+ authenticate?: boolean;
244
+ triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
245
+ sessionDuration?: number;
246
+ }>, ResourceConfigSchemaFor<"supportIntegration", {
247
+ name?: string;
248
+ description?: string;
249
+ meta?: {
250
+ [key: string]: unknown;
251
+ };
252
+ blueprintId?: string;
253
+ botId?: string;
254
+ email?: string;
255
+ }>, ResourceConfigSchemaFor<"extractIntegration", {
256
+ name?: string;
257
+ description?: string;
258
+ meta?: {
259
+ [key: string]: unknown;
260
+ };
261
+ blueprintId?: string;
262
+ botId?: string;
263
+ schema?: {
264
+ [key: string]: unknown;
265
+ };
266
+ request?: string;
267
+ }>, ResourceConfigSchemaFor<"mcpserverIntegration", {
268
+ name?: string;
269
+ description?: string;
270
+ meta?: {
271
+ [key: string]: unknown;
272
+ };
273
+ blueprintId?: string;
274
+ skillsetId?: string;
275
+ }>, ResourceConfigSchemaFor<"twilioIntegration", {
276
+ name?: string;
277
+ description?: string;
278
+ meta?: {
279
+ [key: string]: unknown;
280
+ };
281
+ blueprintId?: string;
282
+ botId?: string;
283
+ contactCollection?: boolean;
284
+ sessionDuration?: number;
359
285
  }>]>;
360
286
  export const SolutionConfigSchema: z.ZodObject<{
361
287
  version: z.ZodLiteral<1>;
362
- resources: z.ZodArray<z.ZodUnion<[z.ZodObject<{
363
- slug: z.ZodOptional<z.ZodString>;
364
- id: z.ZodOptional<z.ZodString>;
365
- name: z.ZodString;
366
- description: z.ZodOptional<z.ZodString>;
367
- } & {
368
- type: z.ZodLiteral<"bot">;
369
- properties: z.ZodObject<{
370
- model: z.ZodOptional<z.ZodString>;
371
- backstory: z.ZodOptional<z.ZodString>;
372
- datasetId: z.ZodOptional<z.ZodString>;
373
- skillsetId: z.ZodOptional<z.ZodString>;
374
- moderation: z.ZodOptional<z.ZodBoolean>;
375
- privacy: z.ZodOptional<z.ZodBoolean>;
376
- }, "strip", z.ZodTypeAny, {
377
- model?: string | undefined;
288
+ resources: z.ZodArray<z.ZodUnion<[ResourceConfigSchemaFor<"blueprint", {
289
+ name?: string;
290
+ description?: string;
291
+ meta?: {
292
+ [key: string]: unknown;
293
+ };
294
+ visibility?: "private" | "protected" | "public";
295
+ }>, ResourceConfigSchemaFor<"bot", import("@chatbotkit/sdk/bot/v1").BotCreateRequest>, ResourceConfigSchemaFor<"dataset", {
296
+ name?: string;
297
+ description?: string;
298
+ meta?: {
299
+ [key: string]: unknown;
300
+ };
301
+ blueprintId?: string;
302
+ store?: string;
303
+ reranker?: string;
304
+ recordMaxTokens?: number;
305
+ searchMinScore?: number;
306
+ searchMaxRecords?: number;
307
+ searchMaxTokens?: number;
308
+ matchInstruction?: string;
309
+ mismatchInstruction?: string;
310
+ separators?: string;
311
+ visibility?: "private" | "protected" | "public";
312
+ }>, ResourceConfigSchemaFor<"file", {
313
+ name?: string;
314
+ description?: string;
315
+ meta?: {
316
+ [key: string]: unknown;
317
+ };
318
+ blueprintId?: string;
319
+ visibility?: "private" | "protected" | "public";
320
+ }>, ResourceConfigSchemaFor<"secret", {
321
+ name?: string;
322
+ description?: string;
323
+ meta?: {
324
+ [key: string]: unknown;
325
+ };
326
+ blueprintId?: string;
327
+ kind?: "shared" | "personal";
328
+ type?: "plain" | "basic" | "bearer" | "oauth" | "template" | "reference";
329
+ value?: string;
330
+ config?: {
331
+ [key: string]: unknown;
332
+ };
333
+ visibility?: "private" | "protected" | "public";
334
+ }>, ResourceConfigSchemaFor<"skillset", {
335
+ name?: string;
336
+ description?: string;
337
+ meta?: {
338
+ [key: string]: unknown;
339
+ };
340
+ blueprintId?: string;
341
+ visibility?: "private" | "protected" | "public";
342
+ }>, ResourceConfigSchemaFor<"widgetIntegration", {
343
+ name?: string;
344
+ description?: string;
345
+ meta?: {
346
+ [key: string]: unknown;
347
+ };
348
+ blueprintId?: string;
349
+ botId?: string;
350
+ theme?: string;
351
+ layout?: string;
352
+ title?: string;
353
+ intro?: string;
354
+ initial?: string;
355
+ placeholder?: string;
356
+ origin?: string;
357
+ sessionDuration?: number;
358
+ language?: string;
359
+ plugins?: string;
360
+ stream?: boolean;
361
+ verbose?: boolean;
362
+ tools?: boolean;
363
+ unfurl?: boolean;
364
+ math?: boolean;
365
+ carousel?: boolean;
366
+ form?: boolean;
367
+ attachments?: boolean;
368
+ autoScroll?: boolean;
369
+ startFirst?: boolean;
370
+ contactCollection?: boolean;
371
+ exportConversation?: boolean;
372
+ restartConversation?: boolean;
373
+ maximize?: boolean;
374
+ messagePeek?: boolean;
375
+ voiceIn?: boolean;
376
+ voiceOut?: boolean;
377
+ poweredBy?: boolean;
378
+ }>, ResourceConfigSchemaFor<"sitemapIntegration", {
379
+ name?: string;
380
+ description?: string;
381
+ meta?: {
382
+ [key: string]: unknown;
383
+ };
384
+ blueprintId?: string;
385
+ datasetId?: string;
386
+ url?: string;
387
+ glob?: string;
388
+ selectors?: string;
389
+ javascript?: boolean;
390
+ syncSchedule?: string;
391
+ expiresIn?: number;
392
+ }>, ResourceConfigSchemaFor<"slackIntegration", {
393
+ name?: string;
394
+ description?: string;
395
+ meta?: {
396
+ [key: string]: unknown;
397
+ };
398
+ blueprintId?: string;
399
+ botId?: string;
400
+ signingSecret?: string;
401
+ botToken?: string;
402
+ userToken?: string;
403
+ sessionDuration?: number;
404
+ contactCollection?: boolean;
405
+ references?: boolean;
406
+ ratings?: boolean;
407
+ visibleMessages?: number;
408
+ autoRespond?: string;
409
+ }>, ResourceConfigSchemaFor<"discordIntegration", {
410
+ name?: string;
411
+ description?: string;
412
+ meta?: {
413
+ [key: string]: unknown;
414
+ };
415
+ blueprintId?: string;
416
+ botId?: string;
417
+ appId?: string;
418
+ botToken?: string;
419
+ publicKey?: string;
420
+ handle?: string;
421
+ contactCollection?: boolean;
422
+ sessionDuration?: number;
423
+ }>, ResourceConfigSchemaFor<"telegramIntegration", {
424
+ name?: string;
425
+ description?: string;
426
+ meta?: {
427
+ [key: string]: unknown;
428
+ };
429
+ blueprintId?: string;
430
+ botId?: string;
431
+ botToken?: string;
432
+ contactCollection?: boolean;
433
+ sessionDuration?: number;
434
+ attachments?: boolean;
435
+ }>, ResourceConfigSchemaFor<"whatsappIntegration", {
436
+ name?: string;
437
+ description?: string;
438
+ meta?: {
439
+ [key: string]: unknown;
440
+ };
441
+ blueprintId?: string;
442
+ botId?: string;
443
+ phoneNumberId?: string;
444
+ accessToken?: string;
445
+ contactCollection?: boolean;
446
+ sessionDuration?: number;
447
+ attachments?: boolean;
448
+ }>, ResourceConfigSchemaFor<"messengerIntegration", {
449
+ name?: string;
450
+ description?: string;
451
+ meta?: {
452
+ [key: string]: unknown;
453
+ };
454
+ blueprintId?: string;
455
+ botId?: string;
456
+ accessToken?: string;
457
+ sessionDuration?: number;
458
+ attachments?: boolean;
459
+ }>, ResourceConfigSchemaFor<"notionIntegration", {
460
+ name?: string;
461
+ description?: string;
462
+ meta?: {
463
+ [key: string]: unknown;
464
+ };
465
+ blueprintId?: string;
466
+ datasetId?: string;
467
+ token?: string;
468
+ syncSchedule?: string;
469
+ expiresIn?: number;
470
+ }>, ResourceConfigSchemaFor<"emailIntegration", {
471
+ name?: string;
472
+ description?: string;
473
+ meta?: {
474
+ [key: string]: unknown;
475
+ };
476
+ blueprintId?: string;
477
+ botId?: string;
478
+ contactCollection?: boolean;
479
+ sessionDuration?: number;
480
+ attachments?: boolean;
481
+ }>, ResourceConfigSchemaFor<"triggerIntegration", {
482
+ name?: string;
483
+ description?: string;
484
+ meta?: {
485
+ [key: string]: unknown;
486
+ };
487
+ blueprintId?: string;
488
+ botId?: string;
489
+ authenticate?: boolean;
490
+ triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly";
491
+ sessionDuration?: number;
492
+ }>, ResourceConfigSchemaFor<"supportIntegration", {
493
+ name?: string;
494
+ description?: string;
495
+ meta?: {
496
+ [key: string]: unknown;
497
+ };
498
+ blueprintId?: string;
499
+ botId?: string;
500
+ email?: string;
501
+ }>, ResourceConfigSchemaFor<"extractIntegration", {
502
+ name?: string;
503
+ description?: string;
504
+ meta?: {
505
+ [key: string]: unknown;
506
+ };
507
+ blueprintId?: string;
508
+ botId?: string;
509
+ schema?: {
510
+ [key: string]: unknown;
511
+ };
512
+ request?: string;
513
+ }>, ResourceConfigSchemaFor<"mcpserverIntegration", {
514
+ name?: string;
515
+ description?: string;
516
+ meta?: {
517
+ [key: string]: unknown;
518
+ };
519
+ blueprintId?: string;
520
+ skillsetId?: string;
521
+ }>, ResourceConfigSchemaFor<"twilioIntegration", {
522
+ name?: string;
523
+ description?: string;
524
+ meta?: {
525
+ [key: string]: unknown;
526
+ };
527
+ blueprintId?: string;
528
+ botId?: string;
529
+ contactCollection?: boolean;
530
+ sessionDuration?: number;
531
+ }>]>, "many">;
532
+ }, "strip", z.ZodTypeAny, {
533
+ version: 1;
534
+ resources: ({
535
+ type: "blueprint";
536
+ properties: {
537
+ name?: string | undefined;
538
+ description?: string | undefined;
539
+ meta?: {
540
+ [key: string]: unknown;
541
+ } | undefined;
542
+ visibility?: "private" | "protected" | "public" | undefined;
543
+ };
544
+ slug?: string | undefined;
545
+ id?: string | undefined;
546
+ } | {
547
+ type: "bot";
548
+ properties: {
549
+ model?: import("@chatbotkit/sdk/model/v1").Model | undefined;
378
550
  backstory?: string | undefined;
379
551
  datasetId?: string | undefined;
380
552
  skillsetId?: string | undefined;
381
553
  privacy?: boolean | undefined;
382
554
  moderation?: boolean | undefined;
383
- }, {
384
- model?: string | undefined;
385
- backstory?: string | undefined;
555
+ name?: string | undefined;
556
+ description?: string | undefined;
557
+ meta?: {
558
+ [key: string]: unknown;
559
+ } | undefined;
560
+ visibility?: "private" | "protected" | "public" | undefined;
561
+ blueprintId?: string | undefined;
562
+ };
563
+ slug?: string | undefined;
564
+ id?: string | undefined;
565
+ } | {
566
+ type: "dataset";
567
+ properties: {
568
+ name?: string | undefined;
569
+ description?: string | undefined;
570
+ meta?: {
571
+ [key: string]: unknown;
572
+ } | undefined;
573
+ visibility?: "private" | "protected" | "public" | undefined;
574
+ blueprintId?: string | undefined;
575
+ store?: string | undefined;
576
+ reranker?: string | undefined;
577
+ recordMaxTokens?: number | undefined;
578
+ searchMinScore?: number | undefined;
579
+ searchMaxRecords?: number | undefined;
580
+ searchMaxTokens?: number | undefined;
581
+ matchInstruction?: string | undefined;
582
+ mismatchInstruction?: string | undefined;
583
+ separators?: string | undefined;
584
+ };
585
+ slug?: string | undefined;
586
+ id?: string | undefined;
587
+ } | {
588
+ type: "file";
589
+ properties: {
590
+ name?: string | undefined;
591
+ description?: string | undefined;
592
+ meta?: {
593
+ [key: string]: unknown;
594
+ } | undefined;
595
+ visibility?: "private" | "protected" | "public" | undefined;
596
+ blueprintId?: string | undefined;
597
+ };
598
+ slug?: string | undefined;
599
+ id?: string | undefined;
600
+ } | {
601
+ type: "secret";
602
+ properties: {
603
+ value?: string | undefined;
604
+ type?: "plain" | "basic" | "bearer" | "oauth" | "template" | "reference" | undefined;
605
+ name?: string | undefined;
606
+ description?: string | undefined;
607
+ meta?: {
608
+ [key: string]: unknown;
609
+ } | undefined;
610
+ visibility?: "private" | "protected" | "public" | undefined;
611
+ blueprintId?: string | undefined;
612
+ config?: {
613
+ [key: string]: unknown;
614
+ } | undefined;
615
+ kind?: "shared" | "personal" | undefined;
616
+ };
617
+ slug?: string | undefined;
618
+ id?: string | undefined;
619
+ } | {
620
+ type: "skillset";
621
+ properties: {
622
+ name?: string | undefined;
623
+ description?: string | undefined;
624
+ meta?: {
625
+ [key: string]: unknown;
626
+ } | undefined;
627
+ visibility?: "private" | "protected" | "public" | undefined;
628
+ blueprintId?: string | undefined;
629
+ };
630
+ slug?: string | undefined;
631
+ id?: string | undefined;
632
+ } | {
633
+ type: "widgetIntegration";
634
+ properties: {
635
+ attachments?: boolean | undefined;
636
+ botId?: string | undefined;
637
+ tools?: boolean | undefined;
638
+ stream?: boolean | undefined;
639
+ name?: string | undefined;
640
+ description?: string | undefined;
641
+ meta?: {
642
+ [key: string]: unknown;
643
+ } | undefined;
644
+ blueprintId?: string | undefined;
645
+ theme?: string | undefined;
646
+ layout?: string | undefined;
647
+ title?: string | undefined;
648
+ intro?: string | undefined;
649
+ initial?: string | undefined;
650
+ placeholder?: string | undefined;
651
+ origin?: string | undefined;
652
+ sessionDuration?: number | undefined;
653
+ language?: string | undefined;
654
+ plugins?: string | undefined;
655
+ verbose?: boolean | undefined;
656
+ unfurl?: boolean | undefined;
657
+ math?: boolean | undefined;
658
+ carousel?: boolean | undefined;
659
+ form?: boolean | undefined;
660
+ autoScroll?: boolean | undefined;
661
+ startFirst?: boolean | undefined;
662
+ contactCollection?: boolean | undefined;
663
+ exportConversation?: boolean | undefined;
664
+ restartConversation?: boolean | undefined;
665
+ maximize?: boolean | undefined;
666
+ messagePeek?: boolean | undefined;
667
+ voiceIn?: boolean | undefined;
668
+ voiceOut?: boolean | undefined;
669
+ poweredBy?: boolean | undefined;
670
+ };
671
+ slug?: string | undefined;
672
+ id?: string | undefined;
673
+ } | {
674
+ type: "sitemapIntegration";
675
+ properties: {
676
+ datasetId?: string | undefined;
677
+ name?: string | undefined;
678
+ description?: string | undefined;
679
+ meta?: {
680
+ [key: string]: unknown;
681
+ } | undefined;
682
+ blueprintId?: string | undefined;
683
+ url?: string | undefined;
684
+ glob?: string | undefined;
685
+ selectors?: string | undefined;
686
+ javascript?: boolean | undefined;
687
+ syncSchedule?: string | undefined;
688
+ expiresIn?: number | undefined;
689
+ };
690
+ slug?: string | undefined;
691
+ id?: string | undefined;
692
+ } | {
693
+ type: "slackIntegration";
694
+ properties: {
695
+ botId?: string | undefined;
696
+ name?: string | undefined;
697
+ description?: string | undefined;
698
+ meta?: {
699
+ [key: string]: unknown;
700
+ } | undefined;
701
+ blueprintId?: string | undefined;
702
+ sessionDuration?: number | undefined;
703
+ contactCollection?: boolean | undefined;
704
+ signingSecret?: string | undefined;
705
+ botToken?: string | undefined;
706
+ userToken?: string | undefined;
707
+ references?: boolean | undefined;
708
+ ratings?: boolean | undefined;
709
+ visibleMessages?: number | undefined;
710
+ autoRespond?: string | undefined;
711
+ };
712
+ slug?: string | undefined;
713
+ id?: string | undefined;
714
+ } | {
715
+ type: "discordIntegration";
716
+ properties: {
717
+ botId?: string | undefined;
718
+ name?: string | undefined;
719
+ description?: string | undefined;
720
+ meta?: {
721
+ [key: string]: unknown;
722
+ } | undefined;
723
+ blueprintId?: string | undefined;
724
+ sessionDuration?: number | undefined;
725
+ contactCollection?: boolean | undefined;
726
+ botToken?: string | undefined;
727
+ appId?: string | undefined;
728
+ publicKey?: string | undefined;
729
+ handle?: string | undefined;
730
+ };
731
+ slug?: string | undefined;
732
+ id?: string | undefined;
733
+ } | {
734
+ type: "telegramIntegration";
735
+ properties: {
736
+ attachments?: boolean | undefined;
737
+ botId?: string | undefined;
738
+ name?: string | undefined;
739
+ description?: string | undefined;
740
+ meta?: {
741
+ [key: string]: unknown;
742
+ } | undefined;
743
+ blueprintId?: string | undefined;
744
+ sessionDuration?: number | undefined;
745
+ contactCollection?: boolean | undefined;
746
+ botToken?: string | undefined;
747
+ };
748
+ slug?: string | undefined;
749
+ id?: string | undefined;
750
+ } | {
751
+ type: "whatsappIntegration";
752
+ properties: {
753
+ attachments?: boolean | undefined;
754
+ botId?: string | undefined;
755
+ name?: string | undefined;
756
+ description?: string | undefined;
757
+ meta?: {
758
+ [key: string]: unknown;
759
+ } | undefined;
760
+ blueprintId?: string | undefined;
761
+ sessionDuration?: number | undefined;
762
+ contactCollection?: boolean | undefined;
763
+ phoneNumberId?: string | undefined;
764
+ accessToken?: string | undefined;
765
+ };
766
+ slug?: string | undefined;
767
+ id?: string | undefined;
768
+ } | {
769
+ type: "messengerIntegration";
770
+ properties: {
771
+ attachments?: boolean | undefined;
772
+ botId?: string | undefined;
773
+ name?: string | undefined;
774
+ description?: string | undefined;
775
+ meta?: {
776
+ [key: string]: unknown;
777
+ } | undefined;
778
+ blueprintId?: string | undefined;
779
+ sessionDuration?: number | undefined;
780
+ accessToken?: string | undefined;
781
+ };
782
+ slug?: string | undefined;
783
+ id?: string | undefined;
784
+ } | {
785
+ type: "notionIntegration";
786
+ properties: {
386
787
  datasetId?: string | undefined;
788
+ token?: string | undefined;
789
+ name?: string | undefined;
790
+ description?: string | undefined;
791
+ meta?: {
792
+ [key: string]: unknown;
793
+ } | undefined;
794
+ blueprintId?: string | undefined;
795
+ syncSchedule?: string | undefined;
796
+ expiresIn?: number | undefined;
797
+ };
798
+ slug?: string | undefined;
799
+ id?: string | undefined;
800
+ } | {
801
+ type: "emailIntegration";
802
+ properties: {
803
+ attachments?: boolean | undefined;
804
+ botId?: string | undefined;
805
+ name?: string | undefined;
806
+ description?: string | undefined;
807
+ meta?: {
808
+ [key: string]: unknown;
809
+ } | undefined;
810
+ blueprintId?: string | undefined;
811
+ sessionDuration?: number | undefined;
812
+ contactCollection?: boolean | undefined;
813
+ };
814
+ slug?: string | undefined;
815
+ id?: string | undefined;
816
+ } | {
817
+ type: "triggerIntegration";
818
+ properties: {
819
+ botId?: string | undefined;
820
+ name?: string | undefined;
821
+ description?: string | undefined;
822
+ meta?: {
823
+ [key: string]: unknown;
824
+ } | undefined;
825
+ blueprintId?: string | undefined;
826
+ sessionDuration?: number | undefined;
827
+ authenticate?: boolean | undefined;
828
+ triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly" | undefined;
829
+ };
830
+ slug?: string | undefined;
831
+ id?: string | undefined;
832
+ } | {
833
+ type: "supportIntegration";
834
+ properties: {
835
+ botId?: string | undefined;
836
+ name?: string | undefined;
837
+ description?: string | undefined;
838
+ meta?: {
839
+ [key: string]: unknown;
840
+ } | undefined;
841
+ blueprintId?: string | undefined;
842
+ email?: string | undefined;
843
+ };
844
+ slug?: string | undefined;
845
+ id?: string | undefined;
846
+ } | {
847
+ type: "extractIntegration";
848
+ properties: {
849
+ botId?: string | undefined;
850
+ name?: string | undefined;
851
+ description?: string | undefined;
852
+ meta?: {
853
+ [key: string]: unknown;
854
+ } | undefined;
855
+ blueprintId?: string | undefined;
856
+ schema?: {
857
+ [key: string]: unknown;
858
+ } | undefined;
859
+ request?: string | undefined;
860
+ };
861
+ slug?: string | undefined;
862
+ id?: string | undefined;
863
+ } | {
864
+ type: "mcpserverIntegration";
865
+ properties: {
387
866
  skillsetId?: string | undefined;
388
- privacy?: boolean | undefined;
389
- moderation?: boolean | undefined;
390
- }>;
391
- }, "strip", z.ZodTypeAny, {
867
+ name?: string | undefined;
868
+ description?: string | undefined;
869
+ meta?: {
870
+ [key: string]: unknown;
871
+ } | undefined;
872
+ blueprintId?: string | undefined;
873
+ };
874
+ slug?: string | undefined;
875
+ id?: string | undefined;
876
+ } | {
877
+ type: "twilioIntegration";
878
+ properties: {
879
+ botId?: string | undefined;
880
+ name?: string | undefined;
881
+ description?: string | undefined;
882
+ meta?: {
883
+ [key: string]: unknown;
884
+ } | undefined;
885
+ blueprintId?: string | undefined;
886
+ sessionDuration?: number | undefined;
887
+ contactCollection?: boolean | undefined;
888
+ };
889
+ slug?: string | undefined;
890
+ id?: string | undefined;
891
+ })[];
892
+ }, {
893
+ version: 1;
894
+ resources: ({
895
+ type: "blueprint";
896
+ properties: {
897
+ name?: string | undefined;
898
+ description?: string | undefined;
899
+ meta?: {
900
+ [key: string]: unknown;
901
+ } | undefined;
902
+ visibility?: "private" | "protected" | "public" | undefined;
903
+ };
904
+ slug?: string | undefined;
905
+ id?: string | undefined;
906
+ } | {
392
907
  type: "bot";
393
- name: string;
394
908
  properties: {
395
- model?: string | undefined;
909
+ model?: import("@chatbotkit/sdk/model/v1").Model | undefined;
396
910
  backstory?: string | undefined;
397
911
  datasetId?: string | undefined;
398
912
  skillsetId?: string | undefined;
399
913
  privacy?: boolean | undefined;
400
914
  moderation?: boolean | undefined;
915
+ name?: string | undefined;
916
+ description?: string | undefined;
917
+ meta?: {
918
+ [key: string]: unknown;
919
+ } | undefined;
920
+ visibility?: "private" | "protected" | "public" | undefined;
921
+ blueprintId?: string | undefined;
922
+ };
923
+ slug?: string | undefined;
924
+ id?: string | undefined;
925
+ } | {
926
+ type: "dataset";
927
+ properties: {
928
+ name?: string | undefined;
929
+ description?: string | undefined;
930
+ meta?: {
931
+ [key: string]: unknown;
932
+ } | undefined;
933
+ visibility?: "private" | "protected" | "public" | undefined;
934
+ blueprintId?: string | undefined;
935
+ store?: string | undefined;
936
+ reranker?: string | undefined;
937
+ recordMaxTokens?: number | undefined;
938
+ searchMinScore?: number | undefined;
939
+ searchMaxRecords?: number | undefined;
940
+ searchMaxTokens?: number | undefined;
941
+ matchInstruction?: string | undefined;
942
+ mismatchInstruction?: string | undefined;
943
+ separators?: string | undefined;
944
+ };
945
+ slug?: string | undefined;
946
+ id?: string | undefined;
947
+ } | {
948
+ type: "file";
949
+ properties: {
950
+ name?: string | undefined;
951
+ description?: string | undefined;
952
+ meta?: {
953
+ [key: string]: unknown;
954
+ } | undefined;
955
+ visibility?: "private" | "protected" | "public" | undefined;
956
+ blueprintId?: string | undefined;
957
+ };
958
+ slug?: string | undefined;
959
+ id?: string | undefined;
960
+ } | {
961
+ type: "secret";
962
+ properties: {
963
+ value?: string | undefined;
964
+ type?: "plain" | "basic" | "bearer" | "oauth" | "template" | "reference" | undefined;
965
+ name?: string | undefined;
966
+ description?: string | undefined;
967
+ meta?: {
968
+ [key: string]: unknown;
969
+ } | undefined;
970
+ visibility?: "private" | "protected" | "public" | undefined;
971
+ blueprintId?: string | undefined;
972
+ config?: {
973
+ [key: string]: unknown;
974
+ } | undefined;
975
+ kind?: "shared" | "personal" | undefined;
976
+ };
977
+ slug?: string | undefined;
978
+ id?: string | undefined;
979
+ } | {
980
+ type: "skillset";
981
+ properties: {
982
+ name?: string | undefined;
983
+ description?: string | undefined;
984
+ meta?: {
985
+ [key: string]: unknown;
986
+ } | undefined;
987
+ visibility?: "private" | "protected" | "public" | undefined;
988
+ blueprintId?: string | undefined;
989
+ };
990
+ slug?: string | undefined;
991
+ id?: string | undefined;
992
+ } | {
993
+ type: "widgetIntegration";
994
+ properties: {
995
+ attachments?: boolean | undefined;
996
+ botId?: string | undefined;
997
+ tools?: boolean | undefined;
998
+ stream?: boolean | undefined;
999
+ name?: string | undefined;
1000
+ description?: string | undefined;
1001
+ meta?: {
1002
+ [key: string]: unknown;
1003
+ } | undefined;
1004
+ blueprintId?: string | undefined;
1005
+ theme?: string | undefined;
1006
+ layout?: string | undefined;
1007
+ title?: string | undefined;
1008
+ intro?: string | undefined;
1009
+ initial?: string | undefined;
1010
+ placeholder?: string | undefined;
1011
+ origin?: string | undefined;
1012
+ sessionDuration?: number | undefined;
1013
+ language?: string | undefined;
1014
+ plugins?: string | undefined;
1015
+ verbose?: boolean | undefined;
1016
+ unfurl?: boolean | undefined;
1017
+ math?: boolean | undefined;
1018
+ carousel?: boolean | undefined;
1019
+ form?: boolean | undefined;
1020
+ autoScroll?: boolean | undefined;
1021
+ startFirst?: boolean | undefined;
1022
+ contactCollection?: boolean | undefined;
1023
+ exportConversation?: boolean | undefined;
1024
+ restartConversation?: boolean | undefined;
1025
+ maximize?: boolean | undefined;
1026
+ messagePeek?: boolean | undefined;
1027
+ voiceIn?: boolean | undefined;
1028
+ voiceOut?: boolean | undefined;
1029
+ poweredBy?: boolean | undefined;
1030
+ };
1031
+ slug?: string | undefined;
1032
+ id?: string | undefined;
1033
+ } | {
1034
+ type: "sitemapIntegration";
1035
+ properties: {
1036
+ datasetId?: string | undefined;
1037
+ name?: string | undefined;
1038
+ description?: string | undefined;
1039
+ meta?: {
1040
+ [key: string]: unknown;
1041
+ } | undefined;
1042
+ blueprintId?: string | undefined;
1043
+ url?: string | undefined;
1044
+ glob?: string | undefined;
1045
+ selectors?: string | undefined;
1046
+ javascript?: boolean | undefined;
1047
+ syncSchedule?: string | undefined;
1048
+ expiresIn?: number | undefined;
1049
+ };
1050
+ slug?: string | undefined;
1051
+ id?: string | undefined;
1052
+ } | {
1053
+ type: "slackIntegration";
1054
+ properties: {
1055
+ botId?: string | undefined;
1056
+ name?: string | undefined;
1057
+ description?: string | undefined;
1058
+ meta?: {
1059
+ [key: string]: unknown;
1060
+ } | undefined;
1061
+ blueprintId?: string | undefined;
1062
+ sessionDuration?: number | undefined;
1063
+ contactCollection?: boolean | undefined;
1064
+ signingSecret?: string | undefined;
1065
+ botToken?: string | undefined;
1066
+ userToken?: string | undefined;
1067
+ references?: boolean | undefined;
1068
+ ratings?: boolean | undefined;
1069
+ visibleMessages?: number | undefined;
1070
+ autoRespond?: string | undefined;
1071
+ };
1072
+ slug?: string | undefined;
1073
+ id?: string | undefined;
1074
+ } | {
1075
+ type: "discordIntegration";
1076
+ properties: {
1077
+ botId?: string | undefined;
1078
+ name?: string | undefined;
1079
+ description?: string | undefined;
1080
+ meta?: {
1081
+ [key: string]: unknown;
1082
+ } | undefined;
1083
+ blueprintId?: string | undefined;
1084
+ sessionDuration?: number | undefined;
1085
+ contactCollection?: boolean | undefined;
1086
+ botToken?: string | undefined;
1087
+ appId?: string | undefined;
1088
+ publicKey?: string | undefined;
1089
+ handle?: string | undefined;
1090
+ };
1091
+ slug?: string | undefined;
1092
+ id?: string | undefined;
1093
+ } | {
1094
+ type: "telegramIntegration";
1095
+ properties: {
1096
+ attachments?: boolean | undefined;
1097
+ botId?: string | undefined;
1098
+ name?: string | undefined;
1099
+ description?: string | undefined;
1100
+ meta?: {
1101
+ [key: string]: unknown;
1102
+ } | undefined;
1103
+ blueprintId?: string | undefined;
1104
+ sessionDuration?: number | undefined;
1105
+ contactCollection?: boolean | undefined;
1106
+ botToken?: string | undefined;
1107
+ };
1108
+ slug?: string | undefined;
1109
+ id?: string | undefined;
1110
+ } | {
1111
+ type: "whatsappIntegration";
1112
+ properties: {
1113
+ attachments?: boolean | undefined;
1114
+ botId?: string | undefined;
1115
+ name?: string | undefined;
1116
+ description?: string | undefined;
1117
+ meta?: {
1118
+ [key: string]: unknown;
1119
+ } | undefined;
1120
+ blueprintId?: string | undefined;
1121
+ sessionDuration?: number | undefined;
1122
+ contactCollection?: boolean | undefined;
1123
+ phoneNumberId?: string | undefined;
1124
+ accessToken?: string | undefined;
1125
+ };
1126
+ slug?: string | undefined;
1127
+ id?: string | undefined;
1128
+ } | {
1129
+ type: "messengerIntegration";
1130
+ properties: {
1131
+ attachments?: boolean | undefined;
1132
+ botId?: string | undefined;
1133
+ name?: string | undefined;
1134
+ description?: string | undefined;
1135
+ meta?: {
1136
+ [key: string]: unknown;
1137
+ } | undefined;
1138
+ blueprintId?: string | undefined;
1139
+ sessionDuration?: number | undefined;
1140
+ accessToken?: string | undefined;
1141
+ };
1142
+ slug?: string | undefined;
1143
+ id?: string | undefined;
1144
+ } | {
1145
+ type: "notionIntegration";
1146
+ properties: {
1147
+ datasetId?: string | undefined;
1148
+ token?: string | undefined;
1149
+ name?: string | undefined;
1150
+ description?: string | undefined;
1151
+ meta?: {
1152
+ [key: string]: unknown;
1153
+ } | undefined;
1154
+ blueprintId?: string | undefined;
1155
+ syncSchedule?: string | undefined;
1156
+ expiresIn?: number | undefined;
1157
+ };
1158
+ slug?: string | undefined;
1159
+ id?: string | undefined;
1160
+ } | {
1161
+ type: "emailIntegration";
1162
+ properties: {
1163
+ attachments?: boolean | undefined;
1164
+ botId?: string | undefined;
1165
+ name?: string | undefined;
1166
+ description?: string | undefined;
1167
+ meta?: {
1168
+ [key: string]: unknown;
1169
+ } | undefined;
1170
+ blueprintId?: string | undefined;
1171
+ sessionDuration?: number | undefined;
1172
+ contactCollection?: boolean | undefined;
401
1173
  };
402
1174
  slug?: string | undefined;
403
1175
  id?: string | undefined;
404
- description?: string | undefined;
405
- }, {
406
- type: "bot";
407
- name: string;
1176
+ } | {
1177
+ type: "triggerIntegration";
408
1178
  properties: {
409
- model?: string | undefined;
410
- backstory?: string | undefined;
411
- datasetId?: string | undefined;
412
- skillsetId?: string | undefined;
413
- privacy?: boolean | undefined;
414
- moderation?: boolean | undefined;
1179
+ botId?: string | undefined;
1180
+ name?: string | undefined;
1181
+ description?: string | undefined;
1182
+ meta?: {
1183
+ [key: string]: unknown;
1184
+ } | undefined;
1185
+ blueprintId?: string | undefined;
1186
+ sessionDuration?: number | undefined;
1187
+ authenticate?: boolean | undefined;
1188
+ triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly" | undefined;
415
1189
  };
416
1190
  slug?: string | undefined;
417
1191
  id?: string | undefined;
418
- description?: string | undefined;
419
- }>, z.ZodObject<{
420
- slug: z.ZodOptional<z.ZodString>;
421
- id: z.ZodOptional<z.ZodString>;
422
- name: z.ZodString;
423
- description: z.ZodOptional<z.ZodString>;
424
- } & {
425
- type: z.ZodLiteral<"dataset">;
426
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
427
- }, "strip", z.ZodTypeAny, {
428
- type: "dataset";
429
- name: string;
430
- properties: {};
1192
+ } | {
1193
+ type: "supportIntegration";
1194
+ properties: {
1195
+ botId?: string | undefined;
1196
+ name?: string | undefined;
1197
+ description?: string | undefined;
1198
+ meta?: {
1199
+ [key: string]: unknown;
1200
+ } | undefined;
1201
+ blueprintId?: string | undefined;
1202
+ email?: string | undefined;
1203
+ };
431
1204
  slug?: string | undefined;
432
1205
  id?: string | undefined;
433
- description?: string | undefined;
434
- }, {
435
- type: "dataset";
436
- name: string;
437
- properties: {};
438
- slug?: string | undefined;
439
- id?: string | undefined;
440
- description?: string | undefined;
441
- }>, z.ZodObject<{
442
- slug: z.ZodOptional<z.ZodString>;
443
- id: z.ZodOptional<z.ZodString>;
444
- name: z.ZodString;
445
- description: z.ZodOptional<z.ZodString>;
446
- } & {
447
- type: z.ZodLiteral<"skillset">;
448
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
449
- }, "strip", z.ZodTypeAny, {
450
- type: "skillset";
451
- name: string;
452
- properties: {};
1206
+ } | {
1207
+ type: "extractIntegration";
1208
+ properties: {
1209
+ botId?: string | undefined;
1210
+ name?: string | undefined;
1211
+ description?: string | undefined;
1212
+ meta?: {
1213
+ [key: string]: unknown;
1214
+ } | undefined;
1215
+ blueprintId?: string | undefined;
1216
+ schema?: {
1217
+ [key: string]: unknown;
1218
+ } | undefined;
1219
+ request?: string | undefined;
1220
+ };
453
1221
  slug?: string | undefined;
454
1222
  id?: string | undefined;
455
- description?: string | undefined;
456
- }, {
457
- type: "skillset";
458
- name: string;
459
- properties: {};
460
- slug?: string | undefined;
461
- id?: string | undefined;
462
- description?: string | undefined;
463
- }>, z.ZodObject<{
464
- slug: z.ZodOptional<z.ZodString>;
465
- id: z.ZodOptional<z.ZodString>;
466
- name: z.ZodString;
467
- description: z.ZodOptional<z.ZodString>;
468
- } & {
469
- type: z.ZodLiteral<"widgetIntegration">;
470
- properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
471
- }, "strip", z.ZodTypeAny, {
472
- type: "widgetIntegration";
473
- name: string;
474
- properties: {};
1223
+ } | {
1224
+ type: "mcpserverIntegration";
1225
+ properties: {
1226
+ skillsetId?: string | undefined;
1227
+ name?: string | undefined;
1228
+ description?: string | undefined;
1229
+ meta?: {
1230
+ [key: string]: unknown;
1231
+ } | undefined;
1232
+ blueprintId?: string | undefined;
1233
+ };
475
1234
  slug?: string | undefined;
476
1235
  id?: string | undefined;
477
- description?: string | undefined;
478
- }, {
479
- type: "widgetIntegration";
480
- name: string;
481
- properties: {};
482
- slug?: string | undefined;
483
- id?: string | undefined;
484
- description?: string | undefined;
485
- }>, z.ZodObject<{
486
- slug: z.ZodOptional<z.ZodString>;
487
- id: z.ZodOptional<z.ZodString>;
488
- name: z.ZodString;
489
- description: z.ZodOptional<z.ZodString>;
490
- } & {
491
- type: z.ZodLiteral<"sitemapIntegration">;
492
- properties: z.ZodObject<{
493
- url: z.ZodString;
494
- datasetId: z.ZodString;
495
- }, "strip", z.ZodTypeAny, {
496
- datasetId: string;
497
- url: string;
498
- }, {
499
- datasetId: string;
500
- url: string;
501
- }>;
502
- }, "strip", z.ZodTypeAny, {
503
- type: "sitemapIntegration";
504
- name: string;
1236
+ } | {
1237
+ type: "twilioIntegration";
505
1238
  properties: {
506
- datasetId: string;
507
- url: string;
1239
+ botId?: string | undefined;
1240
+ name?: string | undefined;
1241
+ description?: string | undefined;
1242
+ meta?: {
1243
+ [key: string]: unknown;
1244
+ } | undefined;
1245
+ blueprintId?: string | undefined;
1246
+ sessionDuration?: number | undefined;
1247
+ contactCollection?: boolean | undefined;
508
1248
  };
509
1249
  slug?: string | undefined;
510
1250
  id?: string | undefined;
511
- description?: string | undefined;
512
- }, {
513
- type: "sitemapIntegration";
514
- name: string;
1251
+ })[];
1252
+ }>;
1253
+ export class Resource {
1254
+ constructor(config: ResourceConfig);
1255
+ config: {
1256
+ type: "blueprint";
515
1257
  properties: {
516
- datasetId: string;
517
- url: string;
1258
+ name?: string | undefined;
1259
+ description?: string | undefined;
1260
+ meta?: {
1261
+ [key: string]: unknown;
1262
+ } | undefined;
1263
+ visibility?: "private" | "protected" | "public" | undefined;
518
1264
  };
519
1265
  slug?: string | undefined;
520
1266
  id?: string | undefined;
521
- description?: string | undefined;
522
- }>]>, "many">;
523
- }, "strip", z.ZodTypeAny, {
524
- version: 1;
525
- resources: ({
1267
+ } | {
526
1268
  type: "bot";
527
- name: string;
528
1269
  properties: {
529
- model?: string | undefined;
1270
+ model?: import("@chatbotkit/sdk/model/v1").Model | undefined;
530
1271
  backstory?: string | undefined;
531
1272
  datasetId?: string | undefined;
532
1273
  skillsetId?: string | undefined;
533
1274
  privacy?: boolean | undefined;
534
1275
  moderation?: boolean | undefined;
1276
+ name?: string | undefined;
1277
+ description?: string | undefined;
1278
+ meta?: {
1279
+ [key: string]: unknown;
1280
+ } | undefined;
1281
+ visibility?: "private" | "protected" | "public" | undefined;
1282
+ blueprintId?: string | undefined;
535
1283
  };
536
1284
  slug?: string | undefined;
537
1285
  id?: string | undefined;
538
- description?: string | undefined;
539
1286
  } | {
540
1287
  type: "dataset";
541
- name: string;
542
- properties: {};
1288
+ properties: {
1289
+ name?: string | undefined;
1290
+ description?: string | undefined;
1291
+ meta?: {
1292
+ [key: string]: unknown;
1293
+ } | undefined;
1294
+ visibility?: "private" | "protected" | "public" | undefined;
1295
+ blueprintId?: string | undefined;
1296
+ store?: string | undefined;
1297
+ reranker?: string | undefined;
1298
+ recordMaxTokens?: number | undefined;
1299
+ searchMinScore?: number | undefined;
1300
+ searchMaxRecords?: number | undefined;
1301
+ searchMaxTokens?: number | undefined;
1302
+ matchInstruction?: string | undefined;
1303
+ mismatchInstruction?: string | undefined;
1304
+ separators?: string | undefined;
1305
+ };
1306
+ slug?: string | undefined;
1307
+ id?: string | undefined;
1308
+ } | {
1309
+ type: "file";
1310
+ properties: {
1311
+ name?: string | undefined;
1312
+ description?: string | undefined;
1313
+ meta?: {
1314
+ [key: string]: unknown;
1315
+ } | undefined;
1316
+ visibility?: "private" | "protected" | "public" | undefined;
1317
+ blueprintId?: string | undefined;
1318
+ };
1319
+ slug?: string | undefined;
1320
+ id?: string | undefined;
1321
+ } | {
1322
+ type: "secret";
1323
+ properties: {
1324
+ value?: string | undefined;
1325
+ type?: "plain" | "basic" | "bearer" | "oauth" | "template" | "reference" | undefined;
1326
+ name?: string | undefined;
1327
+ description?: string | undefined;
1328
+ meta?: {
1329
+ [key: string]: unknown;
1330
+ } | undefined;
1331
+ visibility?: "private" | "protected" | "public" | undefined;
1332
+ blueprintId?: string | undefined;
1333
+ config?: {
1334
+ [key: string]: unknown;
1335
+ } | undefined;
1336
+ kind?: "shared" | "personal" | undefined;
1337
+ };
543
1338
  slug?: string | undefined;
544
1339
  id?: string | undefined;
545
- description?: string | undefined;
546
1340
  } | {
547
1341
  type: "skillset";
548
- name: string;
549
- properties: {};
1342
+ properties: {
1343
+ name?: string | undefined;
1344
+ description?: string | undefined;
1345
+ meta?: {
1346
+ [key: string]: unknown;
1347
+ } | undefined;
1348
+ visibility?: "private" | "protected" | "public" | undefined;
1349
+ blueprintId?: string | undefined;
1350
+ };
550
1351
  slug?: string | undefined;
551
1352
  id?: string | undefined;
552
- description?: string | undefined;
553
1353
  } | {
554
1354
  type: "widgetIntegration";
555
- name: string;
556
- properties: {};
1355
+ properties: {
1356
+ attachments?: boolean | undefined;
1357
+ botId?: string | undefined;
1358
+ tools?: boolean | undefined;
1359
+ stream?: boolean | undefined;
1360
+ name?: string | undefined;
1361
+ description?: string | undefined;
1362
+ meta?: {
1363
+ [key: string]: unknown;
1364
+ } | undefined;
1365
+ blueprintId?: string | undefined;
1366
+ theme?: string | undefined;
1367
+ layout?: string | undefined;
1368
+ title?: string | undefined;
1369
+ intro?: string | undefined;
1370
+ initial?: string | undefined;
1371
+ placeholder?: string | undefined;
1372
+ origin?: string | undefined;
1373
+ sessionDuration?: number | undefined;
1374
+ language?: string | undefined;
1375
+ plugins?: string | undefined;
1376
+ verbose?: boolean | undefined;
1377
+ unfurl?: boolean | undefined;
1378
+ math?: boolean | undefined;
1379
+ carousel?: boolean | undefined;
1380
+ form?: boolean | undefined;
1381
+ autoScroll?: boolean | undefined;
1382
+ startFirst?: boolean | undefined;
1383
+ contactCollection?: boolean | undefined;
1384
+ exportConversation?: boolean | undefined;
1385
+ restartConversation?: boolean | undefined;
1386
+ maximize?: boolean | undefined;
1387
+ messagePeek?: boolean | undefined;
1388
+ voiceIn?: boolean | undefined;
1389
+ voiceOut?: boolean | undefined;
1390
+ poweredBy?: boolean | undefined;
1391
+ };
557
1392
  slug?: string | undefined;
558
1393
  id?: string | undefined;
559
- description?: string | undefined;
560
1394
  } | {
561
1395
  type: "sitemapIntegration";
562
- name: string;
563
1396
  properties: {
564
- datasetId: string;
565
- url: string;
1397
+ datasetId?: string | undefined;
1398
+ name?: string | undefined;
1399
+ description?: string | undefined;
1400
+ meta?: {
1401
+ [key: string]: unknown;
1402
+ } | undefined;
1403
+ blueprintId?: string | undefined;
1404
+ url?: string | undefined;
1405
+ glob?: string | undefined;
1406
+ selectors?: string | undefined;
1407
+ javascript?: boolean | undefined;
1408
+ syncSchedule?: string | undefined;
1409
+ expiresIn?: number | undefined;
566
1410
  };
567
1411
  slug?: string | undefined;
568
1412
  id?: string | undefined;
569
- description?: string | undefined;
570
- })[];
571
- }, {
572
- version: 1;
573
- resources: ({
574
- type: "bot";
575
- name: string;
1413
+ } | {
1414
+ type: "slackIntegration";
576
1415
  properties: {
577
- model?: string | undefined;
578
- backstory?: string | undefined;
579
- datasetId?: string | undefined;
580
- skillsetId?: string | undefined;
581
- privacy?: boolean | undefined;
582
- moderation?: boolean | undefined;
1416
+ botId?: string | undefined;
1417
+ name?: string | undefined;
1418
+ description?: string | undefined;
1419
+ meta?: {
1420
+ [key: string]: unknown;
1421
+ } | undefined;
1422
+ blueprintId?: string | undefined;
1423
+ sessionDuration?: number | undefined;
1424
+ contactCollection?: boolean | undefined;
1425
+ signingSecret?: string | undefined;
1426
+ botToken?: string | undefined;
1427
+ userToken?: string | undefined;
1428
+ references?: boolean | undefined;
1429
+ ratings?: boolean | undefined;
1430
+ visibleMessages?: number | undefined;
1431
+ autoRespond?: string | undefined;
583
1432
  };
584
1433
  slug?: string | undefined;
585
1434
  id?: string | undefined;
586
- description?: string | undefined;
587
1435
  } | {
588
- type: "dataset";
589
- name: string;
590
- properties: {};
1436
+ type: "discordIntegration";
1437
+ properties: {
1438
+ botId?: string | undefined;
1439
+ name?: string | undefined;
1440
+ description?: string | undefined;
1441
+ meta?: {
1442
+ [key: string]: unknown;
1443
+ } | undefined;
1444
+ blueprintId?: string | undefined;
1445
+ sessionDuration?: number | undefined;
1446
+ contactCollection?: boolean | undefined;
1447
+ botToken?: string | undefined;
1448
+ appId?: string | undefined;
1449
+ publicKey?: string | undefined;
1450
+ handle?: string | undefined;
1451
+ };
591
1452
  slug?: string | undefined;
592
1453
  id?: string | undefined;
593
- description?: string | undefined;
594
1454
  } | {
595
- type: "skillset";
596
- name: string;
597
- properties: {};
1455
+ type: "telegramIntegration";
1456
+ properties: {
1457
+ attachments?: boolean | undefined;
1458
+ botId?: string | undefined;
1459
+ name?: string | undefined;
1460
+ description?: string | undefined;
1461
+ meta?: {
1462
+ [key: string]: unknown;
1463
+ } | undefined;
1464
+ blueprintId?: string | undefined;
1465
+ sessionDuration?: number | undefined;
1466
+ contactCollection?: boolean | undefined;
1467
+ botToken?: string | undefined;
1468
+ };
598
1469
  slug?: string | undefined;
599
1470
  id?: string | undefined;
600
- description?: string | undefined;
601
1471
  } | {
602
- type: "widgetIntegration";
603
- name: string;
604
- properties: {};
1472
+ type: "whatsappIntegration";
1473
+ properties: {
1474
+ attachments?: boolean | undefined;
1475
+ botId?: string | undefined;
1476
+ name?: string | undefined;
1477
+ description?: string | undefined;
1478
+ meta?: {
1479
+ [key: string]: unknown;
1480
+ } | undefined;
1481
+ blueprintId?: string | undefined;
1482
+ sessionDuration?: number | undefined;
1483
+ contactCollection?: boolean | undefined;
1484
+ phoneNumberId?: string | undefined;
1485
+ accessToken?: string | undefined;
1486
+ };
605
1487
  slug?: string | undefined;
606
1488
  id?: string | undefined;
607
- description?: string | undefined;
608
1489
  } | {
609
- type: "sitemapIntegration";
610
- name: string;
1490
+ type: "messengerIntegration";
611
1491
  properties: {
612
- datasetId: string;
613
- url: string;
1492
+ attachments?: boolean | undefined;
1493
+ botId?: string | undefined;
1494
+ name?: string | undefined;
1495
+ description?: string | undefined;
1496
+ meta?: {
1497
+ [key: string]: unknown;
1498
+ } | undefined;
1499
+ blueprintId?: string | undefined;
1500
+ sessionDuration?: number | undefined;
1501
+ accessToken?: string | undefined;
614
1502
  };
615
1503
  slug?: string | undefined;
616
1504
  id?: string | undefined;
617
- description?: string | undefined;
618
- })[];
619
- }>;
620
- export class Resource {
621
- constructor(config: ResourceConfig);
622
- config: {
623
- type: "bot";
624
- name: string;
1505
+ } | {
1506
+ type: "notionIntegration";
625
1507
  properties: {
626
- model?: string | undefined;
627
- backstory?: string | undefined;
628
1508
  datasetId?: string | undefined;
629
- skillsetId?: string | undefined;
630
- privacy?: boolean | undefined;
631
- moderation?: boolean | undefined;
1509
+ token?: string | undefined;
1510
+ name?: string | undefined;
1511
+ description?: string | undefined;
1512
+ meta?: {
1513
+ [key: string]: unknown;
1514
+ } | undefined;
1515
+ blueprintId?: string | undefined;
1516
+ syncSchedule?: string | undefined;
1517
+ expiresIn?: number | undefined;
632
1518
  };
633
1519
  slug?: string | undefined;
634
1520
  id?: string | undefined;
635
- description?: string | undefined;
636
1521
  } | {
637
- type: "dataset";
638
- name: string;
639
- properties: {};
1522
+ type: "emailIntegration";
1523
+ properties: {
1524
+ attachments?: boolean | undefined;
1525
+ botId?: string | undefined;
1526
+ name?: string | undefined;
1527
+ description?: string | undefined;
1528
+ meta?: {
1529
+ [key: string]: unknown;
1530
+ } | undefined;
1531
+ blueprintId?: string | undefined;
1532
+ sessionDuration?: number | undefined;
1533
+ contactCollection?: boolean | undefined;
1534
+ };
640
1535
  slug?: string | undefined;
641
1536
  id?: string | undefined;
642
- description?: string | undefined;
643
1537
  } | {
644
- type: "skillset";
645
- name: string;
646
- properties: {};
1538
+ type: "triggerIntegration";
1539
+ properties: {
1540
+ botId?: string | undefined;
1541
+ name?: string | undefined;
1542
+ description?: string | undefined;
1543
+ meta?: {
1544
+ [key: string]: unknown;
1545
+ } | undefined;
1546
+ blueprintId?: string | undefined;
1547
+ sessionDuration?: number | undefined;
1548
+ authenticate?: boolean | undefined;
1549
+ triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly" | undefined;
1550
+ };
647
1551
  slug?: string | undefined;
648
1552
  id?: string | undefined;
649
- description?: string | undefined;
650
1553
  } | {
651
- type: "widgetIntegration";
652
- name: string;
653
- properties: {};
1554
+ type: "supportIntegration";
1555
+ properties: {
1556
+ botId?: string | undefined;
1557
+ name?: string | undefined;
1558
+ description?: string | undefined;
1559
+ meta?: {
1560
+ [key: string]: unknown;
1561
+ } | undefined;
1562
+ blueprintId?: string | undefined;
1563
+ email?: string | undefined;
1564
+ };
654
1565
  slug?: string | undefined;
655
1566
  id?: string | undefined;
656
- description?: string | undefined;
657
1567
  } | {
658
- type: "sitemapIntegration";
659
- name: string;
1568
+ type: "extractIntegration";
1569
+ properties: {
1570
+ botId?: string | undefined;
1571
+ name?: string | undefined;
1572
+ description?: string | undefined;
1573
+ meta?: {
1574
+ [key: string]: unknown;
1575
+ } | undefined;
1576
+ blueprintId?: string | undefined;
1577
+ schema?: {
1578
+ [key: string]: unknown;
1579
+ } | undefined;
1580
+ request?: string | undefined;
1581
+ };
1582
+ slug?: string | undefined;
1583
+ id?: string | undefined;
1584
+ } | {
1585
+ type: "mcpserverIntegration";
1586
+ properties: {
1587
+ skillsetId?: string | undefined;
1588
+ name?: string | undefined;
1589
+ description?: string | undefined;
1590
+ meta?: {
1591
+ [key: string]: unknown;
1592
+ } | undefined;
1593
+ blueprintId?: string | undefined;
1594
+ };
1595
+ slug?: string | undefined;
1596
+ id?: string | undefined;
1597
+ } | {
1598
+ type: "twilioIntegration";
660
1599
  properties: {
661
- datasetId: string;
662
- url: string;
1600
+ botId?: string | undefined;
1601
+ name?: string | undefined;
1602
+ description?: string | undefined;
1603
+ meta?: {
1604
+ [key: string]: unknown;
1605
+ } | undefined;
1606
+ blueprintId?: string | undefined;
1607
+ sessionDuration?: number | undefined;
1608
+ contactCollection?: boolean | undefined;
663
1609
  };
664
1610
  slug?: string | undefined;
665
1611
  id?: string | undefined;
666
- description?: string | undefined;
667
1612
  };
668
1613
  get type(): string;
669
1614
  get slug(): string;
670
1615
  get id(): string | undefined;
671
- get name(): string;
1616
+ get name(): string | undefined;
672
1617
  get description(): string | undefined;
673
1618
  get baseClient(): import("@chatbotkit/sdk").ChatBotKit;
674
1619
  get client(): {
@@ -679,13 +1624,25 @@ export class Resource {
679
1624
  id: string;
680
1625
  }>;
681
1626
  };
1627
+ get createProperties(): Record<string, any>;
1628
+ get updateProperties(): Record<string, any>;
682
1629
  sync(): Promise<void>;
683
1630
  }
1631
+ export class BlueprintResource extends Resource {
1632
+ override get client(): import("@chatbotkit/sdk").BlueprintClient;
1633
+ }
684
1634
  export class BotResource extends Resource {
685
1635
  override get client(): import("@chatbotkit/sdk").BotClient;
686
1636
  }
687
1637
  export class DatasetResource extends Resource {
688
1638
  override get client(): import("@chatbotkit/sdk").DatasetClient;
1639
+ override get updateProperties(): import("@chatbotkit/sdk/dataset/v1").DatasetUpdateRequest;
1640
+ }
1641
+ export class FileResource extends Resource {
1642
+ override get client(): import("@chatbotkit/sdk").FileClient;
1643
+ }
1644
+ export class SecretResource extends Resource {
1645
+ override get client(): import("@chatbotkit/sdk").SecretClient;
689
1646
  }
690
1647
  export class SkillsetResource extends Resource {
691
1648
  override get client(): import("@chatbotkit/sdk").SkillsetClient;
@@ -696,59 +1653,411 @@ export class WidgetIntegrationResource extends Resource {
696
1653
  export class SitemapIntegrationResource extends Resource {
697
1654
  get client(): import("@chatbotkit/sdk/integration/sitemap").SitemapIntegrationClient;
698
1655
  }
1656
+ export class SlackIntegrationResource extends Resource {
1657
+ override get client(): import("@chatbotkit/sdk/integration/slack").SlackIntegrationClient;
1658
+ }
1659
+ export class DiscordIntegrationResource extends Resource {
1660
+ override get client(): import("@chatbotkit/sdk/integration/discord").DiscordIntegrationClient;
1661
+ }
1662
+ export class TelegramIntegrationResource extends Resource {
1663
+ override get client(): import("@chatbotkit/sdk/integration/telegram").TelegramIntegrationClient;
1664
+ }
1665
+ export class WhatsAppIntegrationResource extends Resource {
1666
+ override get client(): import("@chatbotkit/sdk/integration/whatsapp").WhatsAppIntegrationClient;
1667
+ }
1668
+ export class MessengerIntegrationResource extends Resource {
1669
+ override get client(): import("@chatbotkit/sdk/integration/messenger").MessengerIntegrationClient;
1670
+ }
1671
+ export class NotionIntegrationResource extends Resource {
1672
+ override get client(): import("@chatbotkit/sdk/integration/notion").NotionIntegrationClient;
1673
+ }
1674
+ export class EmailIntegrationResource extends Resource {
1675
+ override get client(): import("@chatbotkit/sdk/integration/email").EmailIntegrationClient;
1676
+ }
1677
+ export class TriggerIntegrationResource extends Resource {
1678
+ override get client(): import("@chatbotkit/sdk/integration/trigger").TriggerIntegrationClient;
1679
+ }
1680
+ export class SupportIntegrationResource extends Resource {
1681
+ override get client(): import("@chatbotkit/sdk/integration/support").SupportIntegrationClient;
1682
+ }
1683
+ export class ExtractIntegrationResource extends Resource {
1684
+ override get client(): import("@chatbotkit/sdk/integration/extract").ExtractIntegrationClient;
1685
+ }
1686
+ export class McpServerIntegrationResource extends Resource {
1687
+ override get client(): import("@chatbotkit/sdk/integration/mcpserver").McpServerIntegrationClient;
1688
+ }
1689
+ export class TwilioIntegrationResource extends Resource {
1690
+ override get client(): import("@chatbotkit/sdk/integration/twilio").TwilioIntegrationClient;
1691
+ }
699
1692
  export class Solution {
700
1693
  constructor(config: SolutionConfig);
701
1694
  config: {
702
1695
  version: 1;
703
1696
  resources: ({
1697
+ type: "blueprint";
1698
+ properties: {
1699
+ name?: string | undefined;
1700
+ description?: string | undefined;
1701
+ meta?: {
1702
+ [key: string]: unknown;
1703
+ } | undefined;
1704
+ visibility?: "private" | "protected" | "public" | undefined;
1705
+ };
1706
+ slug?: string | undefined;
1707
+ id?: string | undefined;
1708
+ } | {
704
1709
  type: "bot";
705
- name: string;
706
1710
  properties: {
707
- model?: string | undefined;
1711
+ model?: import("@chatbotkit/sdk/model/v1").Model | undefined;
708
1712
  backstory?: string | undefined;
709
1713
  datasetId?: string | undefined;
710
1714
  skillsetId?: string | undefined;
711
1715
  privacy?: boolean | undefined;
712
1716
  moderation?: boolean | undefined;
1717
+ name?: string | undefined;
1718
+ description?: string | undefined;
1719
+ meta?: {
1720
+ [key: string]: unknown;
1721
+ } | undefined;
1722
+ visibility?: "private" | "protected" | "public" | undefined;
1723
+ blueprintId?: string | undefined;
713
1724
  };
714
1725
  slug?: string | undefined;
715
1726
  id?: string | undefined;
716
- description?: string | undefined;
717
1727
  } | {
718
1728
  type: "dataset";
719
- name: string;
720
- properties: {};
1729
+ properties: {
1730
+ name?: string | undefined;
1731
+ description?: string | undefined;
1732
+ meta?: {
1733
+ [key: string]: unknown;
1734
+ } | undefined;
1735
+ visibility?: "private" | "protected" | "public" | undefined;
1736
+ blueprintId?: string | undefined;
1737
+ store?: string | undefined;
1738
+ reranker?: string | undefined;
1739
+ recordMaxTokens?: number | undefined;
1740
+ searchMinScore?: number | undefined;
1741
+ searchMaxRecords?: number | undefined;
1742
+ searchMaxTokens?: number | undefined;
1743
+ matchInstruction?: string | undefined;
1744
+ mismatchInstruction?: string | undefined;
1745
+ separators?: string | undefined;
1746
+ };
1747
+ slug?: string | undefined;
1748
+ id?: string | undefined;
1749
+ } | {
1750
+ type: "file";
1751
+ properties: {
1752
+ name?: string | undefined;
1753
+ description?: string | undefined;
1754
+ meta?: {
1755
+ [key: string]: unknown;
1756
+ } | undefined;
1757
+ visibility?: "private" | "protected" | "public" | undefined;
1758
+ blueprintId?: string | undefined;
1759
+ };
1760
+ slug?: string | undefined;
1761
+ id?: string | undefined;
1762
+ } | {
1763
+ type: "secret";
1764
+ properties: {
1765
+ value?: string | undefined;
1766
+ type?: "plain" | "basic" | "bearer" | "oauth" | "template" | "reference" | undefined;
1767
+ name?: string | undefined;
1768
+ description?: string | undefined;
1769
+ meta?: {
1770
+ [key: string]: unknown;
1771
+ } | undefined;
1772
+ visibility?: "private" | "protected" | "public" | undefined;
1773
+ blueprintId?: string | undefined;
1774
+ config?: {
1775
+ [key: string]: unknown;
1776
+ } | undefined;
1777
+ kind?: "shared" | "personal" | undefined;
1778
+ };
721
1779
  slug?: string | undefined;
722
1780
  id?: string | undefined;
723
- description?: string | undefined;
724
1781
  } | {
725
1782
  type: "skillset";
726
- name: string;
727
- properties: {};
1783
+ properties: {
1784
+ name?: string | undefined;
1785
+ description?: string | undefined;
1786
+ meta?: {
1787
+ [key: string]: unknown;
1788
+ } | undefined;
1789
+ visibility?: "private" | "protected" | "public" | undefined;
1790
+ blueprintId?: string | undefined;
1791
+ };
728
1792
  slug?: string | undefined;
729
1793
  id?: string | undefined;
730
- description?: string | undefined;
731
1794
  } | {
732
1795
  type: "widgetIntegration";
733
- name: string;
734
- properties: {};
1796
+ properties: {
1797
+ attachments?: boolean | undefined;
1798
+ botId?: string | undefined;
1799
+ tools?: boolean | undefined;
1800
+ stream?: boolean | undefined;
1801
+ name?: string | undefined;
1802
+ description?: string | undefined;
1803
+ meta?: {
1804
+ [key: string]: unknown;
1805
+ } | undefined;
1806
+ blueprintId?: string | undefined;
1807
+ theme?: string | undefined;
1808
+ layout?: string | undefined;
1809
+ title?: string | undefined;
1810
+ intro?: string | undefined;
1811
+ initial?: string | undefined;
1812
+ placeholder?: string | undefined;
1813
+ origin?: string | undefined;
1814
+ sessionDuration?: number | undefined;
1815
+ language?: string | undefined;
1816
+ plugins?: string | undefined;
1817
+ verbose?: boolean | undefined;
1818
+ unfurl?: boolean | undefined;
1819
+ math?: boolean | undefined;
1820
+ carousel?: boolean | undefined;
1821
+ form?: boolean | undefined;
1822
+ autoScroll?: boolean | undefined;
1823
+ startFirst?: boolean | undefined;
1824
+ contactCollection?: boolean | undefined;
1825
+ exportConversation?: boolean | undefined;
1826
+ restartConversation?: boolean | undefined;
1827
+ maximize?: boolean | undefined;
1828
+ messagePeek?: boolean | undefined;
1829
+ voiceIn?: boolean | undefined;
1830
+ voiceOut?: boolean | undefined;
1831
+ poweredBy?: boolean | undefined;
1832
+ };
735
1833
  slug?: string | undefined;
736
1834
  id?: string | undefined;
737
- description?: string | undefined;
738
1835
  } | {
739
1836
  type: "sitemapIntegration";
740
- name: string;
741
1837
  properties: {
742
- datasetId: string;
743
- url: string;
1838
+ datasetId?: string | undefined;
1839
+ name?: string | undefined;
1840
+ description?: string | undefined;
1841
+ meta?: {
1842
+ [key: string]: unknown;
1843
+ } | undefined;
1844
+ blueprintId?: string | undefined;
1845
+ url?: string | undefined;
1846
+ glob?: string | undefined;
1847
+ selectors?: string | undefined;
1848
+ javascript?: boolean | undefined;
1849
+ syncSchedule?: string | undefined;
1850
+ expiresIn?: number | undefined;
1851
+ };
1852
+ slug?: string | undefined;
1853
+ id?: string | undefined;
1854
+ } | {
1855
+ type: "slackIntegration";
1856
+ properties: {
1857
+ botId?: string | undefined;
1858
+ name?: string | undefined;
1859
+ description?: string | undefined;
1860
+ meta?: {
1861
+ [key: string]: unknown;
1862
+ } | undefined;
1863
+ blueprintId?: string | undefined;
1864
+ sessionDuration?: number | undefined;
1865
+ contactCollection?: boolean | undefined;
1866
+ signingSecret?: string | undefined;
1867
+ botToken?: string | undefined;
1868
+ userToken?: string | undefined;
1869
+ references?: boolean | undefined;
1870
+ ratings?: boolean | undefined;
1871
+ visibleMessages?: number | undefined;
1872
+ autoRespond?: string | undefined;
1873
+ };
1874
+ slug?: string | undefined;
1875
+ id?: string | undefined;
1876
+ } | {
1877
+ type: "discordIntegration";
1878
+ properties: {
1879
+ botId?: string | undefined;
1880
+ name?: string | undefined;
1881
+ description?: string | undefined;
1882
+ meta?: {
1883
+ [key: string]: unknown;
1884
+ } | undefined;
1885
+ blueprintId?: string | undefined;
1886
+ sessionDuration?: number | undefined;
1887
+ contactCollection?: boolean | undefined;
1888
+ botToken?: string | undefined;
1889
+ appId?: string | undefined;
1890
+ publicKey?: string | undefined;
1891
+ handle?: string | undefined;
1892
+ };
1893
+ slug?: string | undefined;
1894
+ id?: string | undefined;
1895
+ } | {
1896
+ type: "telegramIntegration";
1897
+ properties: {
1898
+ attachments?: boolean | undefined;
1899
+ botId?: string | undefined;
1900
+ name?: string | undefined;
1901
+ description?: string | undefined;
1902
+ meta?: {
1903
+ [key: string]: unknown;
1904
+ } | undefined;
1905
+ blueprintId?: string | undefined;
1906
+ sessionDuration?: number | undefined;
1907
+ contactCollection?: boolean | undefined;
1908
+ botToken?: string | undefined;
1909
+ };
1910
+ slug?: string | undefined;
1911
+ id?: string | undefined;
1912
+ } | {
1913
+ type: "whatsappIntegration";
1914
+ properties: {
1915
+ attachments?: boolean | undefined;
1916
+ botId?: string | undefined;
1917
+ name?: string | undefined;
1918
+ description?: string | undefined;
1919
+ meta?: {
1920
+ [key: string]: unknown;
1921
+ } | undefined;
1922
+ blueprintId?: string | undefined;
1923
+ sessionDuration?: number | undefined;
1924
+ contactCollection?: boolean | undefined;
1925
+ phoneNumberId?: string | undefined;
1926
+ accessToken?: string | undefined;
1927
+ };
1928
+ slug?: string | undefined;
1929
+ id?: string | undefined;
1930
+ } | {
1931
+ type: "messengerIntegration";
1932
+ properties: {
1933
+ attachments?: boolean | undefined;
1934
+ botId?: string | undefined;
1935
+ name?: string | undefined;
1936
+ description?: string | undefined;
1937
+ meta?: {
1938
+ [key: string]: unknown;
1939
+ } | undefined;
1940
+ blueprintId?: string | undefined;
1941
+ sessionDuration?: number | undefined;
1942
+ accessToken?: string | undefined;
1943
+ };
1944
+ slug?: string | undefined;
1945
+ id?: string | undefined;
1946
+ } | {
1947
+ type: "notionIntegration";
1948
+ properties: {
1949
+ datasetId?: string | undefined;
1950
+ token?: string | undefined;
1951
+ name?: string | undefined;
1952
+ description?: string | undefined;
1953
+ meta?: {
1954
+ [key: string]: unknown;
1955
+ } | undefined;
1956
+ blueprintId?: string | undefined;
1957
+ syncSchedule?: string | undefined;
1958
+ expiresIn?: number | undefined;
1959
+ };
1960
+ slug?: string | undefined;
1961
+ id?: string | undefined;
1962
+ } | {
1963
+ type: "emailIntegration";
1964
+ properties: {
1965
+ attachments?: boolean | undefined;
1966
+ botId?: string | undefined;
1967
+ name?: string | undefined;
1968
+ description?: string | undefined;
1969
+ meta?: {
1970
+ [key: string]: unknown;
1971
+ } | undefined;
1972
+ blueprintId?: string | undefined;
1973
+ sessionDuration?: number | undefined;
1974
+ contactCollection?: boolean | undefined;
1975
+ };
1976
+ slug?: string | undefined;
1977
+ id?: string | undefined;
1978
+ } | {
1979
+ type: "triggerIntegration";
1980
+ properties: {
1981
+ botId?: string | undefined;
1982
+ name?: string | undefined;
1983
+ description?: string | undefined;
1984
+ meta?: {
1985
+ [key: string]: unknown;
1986
+ } | undefined;
1987
+ blueprintId?: string | undefined;
1988
+ sessionDuration?: number | undefined;
1989
+ authenticate?: boolean | undefined;
1990
+ triggerSchedule?: "never" | "quarterhourly" | "halfhourly" | "hourly" | "daily" | "weekly" | "monthly" | undefined;
1991
+ };
1992
+ slug?: string | undefined;
1993
+ id?: string | undefined;
1994
+ } | {
1995
+ type: "supportIntegration";
1996
+ properties: {
1997
+ botId?: string | undefined;
1998
+ name?: string | undefined;
1999
+ description?: string | undefined;
2000
+ meta?: {
2001
+ [key: string]: unknown;
2002
+ } | undefined;
2003
+ blueprintId?: string | undefined;
2004
+ email?: string | undefined;
2005
+ };
2006
+ slug?: string | undefined;
2007
+ id?: string | undefined;
2008
+ } | {
2009
+ type: "extractIntegration";
2010
+ properties: {
2011
+ botId?: string | undefined;
2012
+ name?: string | undefined;
2013
+ description?: string | undefined;
2014
+ meta?: {
2015
+ [key: string]: unknown;
2016
+ } | undefined;
2017
+ blueprintId?: string | undefined;
2018
+ schema?: {
2019
+ [key: string]: unknown;
2020
+ } | undefined;
2021
+ request?: string | undefined;
2022
+ };
2023
+ slug?: string | undefined;
2024
+ id?: string | undefined;
2025
+ } | {
2026
+ type: "mcpserverIntegration";
2027
+ properties: {
2028
+ skillsetId?: string | undefined;
2029
+ name?: string | undefined;
2030
+ description?: string | undefined;
2031
+ meta?: {
2032
+ [key: string]: unknown;
2033
+ } | undefined;
2034
+ blueprintId?: string | undefined;
2035
+ };
2036
+ slug?: string | undefined;
2037
+ id?: string | undefined;
2038
+ } | {
2039
+ type: "twilioIntegration";
2040
+ properties: {
2041
+ botId?: string | undefined;
2042
+ name?: string | undefined;
2043
+ description?: string | undefined;
2044
+ meta?: {
2045
+ [key: string]: unknown;
2046
+ } | undefined;
2047
+ blueprintId?: string | undefined;
2048
+ sessionDuration?: number | undefined;
2049
+ contactCollection?: boolean | undefined;
744
2050
  };
745
2051
  slug?: string | undefined;
746
2052
  id?: string | undefined;
747
- description?: string | undefined;
748
2053
  })[];
749
2054
  };
750
2055
  get baseClient(): import("@chatbotkit/sdk").ChatBotKit;
751
- get resources(): (BotResource | DatasetResource | SkillsetResource | WidgetIntegrationResource | SitemapIntegrationResource)[];
2056
+ get resources(): (BlueprintResource | BotResource | DatasetResource | FileResource | SecretResource | SkillsetResource | WidgetIntegrationResource | SitemapIntegrationResource | SlackIntegrationResource | DiscordIntegrationResource | TelegramIntegrationResource | WhatsAppIntegrationResource | MessengerIntegrationResource | NotionIntegrationResource | EmailIntegrationResource | TriggerIntegrationResource | SupportIntegrationResource | ExtractIntegrationResource | McpServerIntegrationResource | TwilioIntegrationResource)[];
2057
+ get blueprints(): BlueprintResource[];
2058
+ get blueprint(): {
2059
+ [key: string]: BlueprintResource | undefined;
2060
+ };
752
2061
  get bots(): BotResource[];
753
2062
  get bot(): {
754
2063
  [key: string]: BotResource | undefined;
@@ -757,6 +2066,14 @@ export class Solution {
757
2066
  get dataset(): {
758
2067
  [key: string]: DatasetResource | undefined;
759
2068
  };
2069
+ get files(): FileResource[];
2070
+ get file(): {
2071
+ [key: string]: FileResource | undefined;
2072
+ };
2073
+ get secrets(): SecretResource[];
2074
+ get secret(): {
2075
+ [key: string]: SecretResource | undefined;
2076
+ };
760
2077
  get skillsets(): SkillsetResource[];
761
2078
  get skillset(): {
762
2079
  [key: string]: SkillsetResource | undefined;
@@ -769,6 +2086,54 @@ export class Solution {
769
2086
  get sitemapIntegration(): {
770
2087
  [key: string]: SitemapIntegrationResource | undefined;
771
2088
  };
2089
+ get slackIntegrations(): SlackIntegrationResource[];
2090
+ get slackIntegration(): {
2091
+ [key: string]: SlackIntegrationResource | undefined;
2092
+ };
2093
+ get discordIntegrations(): DiscordIntegrationResource[];
2094
+ get discordIntegration(): {
2095
+ [key: string]: DiscordIntegrationResource | undefined;
2096
+ };
2097
+ get telegramIntegrations(): TelegramIntegrationResource[];
2098
+ get telegramIntegration(): {
2099
+ [key: string]: TelegramIntegrationResource | undefined;
2100
+ };
2101
+ get whatsappIntegrations(): WhatsAppIntegrationResource[];
2102
+ get whatsappIntegration(): {
2103
+ [key: string]: WhatsAppIntegrationResource | undefined;
2104
+ };
2105
+ get messengerIntegrations(): MessengerIntegrationResource[];
2106
+ get messengerIntegration(): {
2107
+ [key: string]: MessengerIntegrationResource | undefined;
2108
+ };
2109
+ get notionIntegrations(): NotionIntegrationResource[];
2110
+ get notionIntegration(): {
2111
+ [key: string]: NotionIntegrationResource | undefined;
2112
+ };
2113
+ get emailIntegrations(): EmailIntegrationResource[];
2114
+ get emailIntegration(): {
2115
+ [key: string]: EmailIntegrationResource | undefined;
2116
+ };
2117
+ get triggerIntegrations(): TriggerIntegrationResource[];
2118
+ get triggerIntegration(): {
2119
+ [key: string]: TriggerIntegrationResource | undefined;
2120
+ };
2121
+ get supportIntegrations(): SupportIntegrationResource[];
2122
+ get supportIntegration(): {
2123
+ [key: string]: SupportIntegrationResource | undefined;
2124
+ };
2125
+ get extractIntegrations(): ExtractIntegrationResource[];
2126
+ get extractIntegration(): {
2127
+ [key: string]: ExtractIntegrationResource | undefined;
2128
+ };
2129
+ get mcpserverIntegrations(): McpServerIntegrationResource[];
2130
+ get mcpserverIntegration(): {
2131
+ [key: string]: McpServerIntegrationResource | undefined;
2132
+ };
2133
+ get twilioIntegrations(): TwilioIntegrationResource[];
2134
+ get twilioIntegration(): {
2135
+ [key: string]: TwilioIntegrationResource | undefined;
2136
+ };
772
2137
  sync(): Promise<void>;
773
2138
  }
774
2139
  export namespace Solution {
@@ -783,6 +2148,15 @@ export class ArrayBackedObject<T> {
783
2148
  constructor(array: T[]);
784
2149
  array: T[];
785
2150
  }
2151
+ export type ZodSchemaFor<T> = { [K in keyof T]-?: undefined extends T[K] ? z.ZodOptional<z.ZodType<Exclude<T[K], undefined>>> : z.ZodType<T[K]>; };
2152
+ export type BasicResourceConfigSchemaFields = {
2153
+ slug: z.ZodOptional<z.ZodString>;
2154
+ id: z.ZodOptional<z.ZodString>;
2155
+ };
2156
+ export type ResourceConfigSchemaFor<T, U> = z.ZodObject<BasicResourceConfigSchemaFields & {
2157
+ type: z.ZodLiteral<T>;
2158
+ properties: z.ZodObject<ZodSchemaFor<U>>;
2159
+ }>;
786
2160
  export type SolutionConfig = z.infer<typeof SolutionConfigSchema>;
787
2161
  export type ResourceConfig = z.infer<typeof ResourceConfigSchema>;
788
2162
  import { z } from 'zod';