@wiro-ai/wiro-mcp 1.5.1 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +51 -2
  2. package/dist/index.js +5 -0
  3. package/dist/index.js.map +1 -1
  4. package/dist/tools/create-workflow.d.ts +11 -64
  5. package/dist/tools/create-workflow.d.ts.map +1 -1
  6. package/dist/tools/deploy-agent.js +1 -1
  7. package/dist/tools/deploy-agent.js.map +1 -1
  8. package/dist/tools/run-workflow.d.ts +1 -1
  9. package/dist/tools/run-workflow.d.ts.map +1 -1
  10. package/dist/tools/schemas.d.ts +187 -1582
  11. package/dist/tools/schemas.d.ts.map +1 -1
  12. package/dist/tools/schemas.js +15 -16
  13. package/dist/tools/schemas.js.map +1 -1
  14. package/dist/tools/send-agent-message.js +1 -1
  15. package/dist/tools/send-agent-message.js.map +1 -1
  16. package/dist/tools/update-agent.js +1 -1
  17. package/dist/tools/update-agent.js.map +1 -1
  18. package/dist/tools/update-workflow.d.ts +41 -324
  19. package/dist/tools/update-workflow.d.ts.map +1 -1
  20. package/dist/tools/upload-file.js +1 -1
  21. package/dist/tools/upload-file.js.map +1 -1
  22. package/dist/tools/wait-for-workflow-run.d.ts +18 -156
  23. package/dist/tools/wait-for-workflow-run.d.ts.map +1 -1
  24. package/dist/utils/agent-catalog.d.ts +78 -1094
  25. package/dist/utils/agent-catalog.d.ts.map +1 -1
  26. package/dist/utils/agent-message.d.ts +24 -65
  27. package/dist/utils/agent-message.d.ts.map +1 -1
  28. package/dist/utils/agent-turns.d.ts +45 -204
  29. package/dist/utils/agent-turns.d.ts.map +1 -1
  30. package/dist/utils/studio-runs.d.ts +8 -49
  31. package/dist/utils/studio-runs.d.ts.map +1 -1
  32. package/dist/utils/user-agent.d.ts +153 -934
  33. package/dist/utils/user-agent.d.ts.map +1 -1
  34. package/dist/utils/workflow-agent.d.ts +12 -73
  35. package/dist/utils/workflow-agent.d.ts.map +1 -1
  36. package/dist/utils/workflow.d.ts +31 -394
  37. package/dist/utils/workflow.d.ts.map +1 -1
  38. package/package.json +2 -2
@@ -5,86 +5,20 @@ export declare const templateSummarySchema: z.ZodObject<{
5
5
  slug: z.ZodString;
6
6
  title: z.ZodString;
7
7
  summary: z.ZodOptional<z.ZodString>;
8
- categories: z.ZodArray<z.ZodString, "many">;
8
+ categories: z.ZodArray<z.ZodString>;
9
9
  cover: z.ZodOptional<z.ZodString>;
10
10
  pricing: z.ZodNullable<z.ZodObject<{
11
11
  starter: z.ZodObject<{
12
12
  priceUsd: z.ZodNumber;
13
13
  monthlyCredits: z.ZodNumber;
14
- }, "strip", z.ZodTypeAny, {
15
- priceUsd: number;
16
- monthlyCredits: number;
17
- }, {
18
- priceUsd: number;
19
- monthlyCredits: number;
20
- }>;
14
+ }, z.core.$strip>;
21
15
  pro: z.ZodObject<{
22
16
  priceUsd: z.ZodNumber;
23
17
  monthlyCredits: z.ZodNumber;
24
- }, "strip", z.ZodTypeAny, {
25
- priceUsd: number;
26
- monthlyCredits: number;
27
- }, {
28
- priceUsd: number;
29
- monthlyCredits: number;
30
- }>;
31
- }, "strip", z.ZodTypeAny, {
32
- starter: {
33
- priceUsd: number;
34
- monthlyCredits: number;
35
- };
36
- pro: {
37
- priceUsd: number;
38
- monthlyCredits: number;
39
- };
40
- }, {
41
- starter: {
42
- priceUsd: number;
43
- monthlyCredits: number;
44
- };
45
- pro: {
46
- priceUsd: number;
47
- monthlyCredits: number;
48
- };
49
- }>>;
18
+ }, z.core.$strip>;
19
+ }, z.core.$strip>>;
50
20
  tierMultiplier: z.ZodOptional<z.ZodNumber>;
51
- }, "strip", z.ZodTypeAny, {
52
- categories: string[];
53
- guid: string;
54
- title: string;
55
- slug: string;
56
- pricing: {
57
- starter: {
58
- priceUsd: number;
59
- monthlyCredits: number;
60
- };
61
- pro: {
62
- priceUsd: number;
63
- monthlyCredits: number;
64
- };
65
- } | null;
66
- summary?: string | undefined;
67
- cover?: string | undefined;
68
- tierMultiplier?: number | undefined;
69
- }, {
70
- categories: string[];
71
- guid: string;
72
- title: string;
73
- slug: string;
74
- pricing: {
75
- starter: {
76
- priceUsd: number;
77
- monthlyCredits: number;
78
- };
79
- pro: {
80
- priceUsd: number;
81
- monthlyCredits: number;
82
- };
83
- } | null;
84
- summary?: string | undefined;
85
- cover?: string | undefined;
86
- tierMultiplier?: number | undefined;
87
- }>;
21
+ }, z.core.$strip>;
88
22
  export type TemplateSummary = z.infer<typeof templateSummarySchema>;
89
23
  export declare function toTemplateSummary(row: Record<string, unknown>): TemplateSummary;
90
24
  export declare const credentialFieldSchema: z.ZodObject<{
@@ -92,271 +26,86 @@ export declare const credentialFieldSchema: z.ZodObject<{
92
26
  label: z.ZodString;
93
27
  type: z.ZodOptional<z.ZodString>;
94
28
  required: z.ZodBoolean;
95
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
96
- }, "strip", z.ZodTypeAny, {
97
- required: boolean;
98
- key: string;
99
- label: string;
100
- type?: string | undefined;
101
- onlyInModes?: string[] | undefined;
102
- }, {
103
- required: boolean;
104
- key: string;
105
- label: string;
106
- type?: string | undefined;
107
- onlyInModes?: string[] | undefined;
108
- }>;
29
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ }, z.core.$strip>;
109
31
  export declare const credentialRequirementSchema: z.ZodObject<{
110
32
  key: z.ZodString;
111
33
  title: z.ZodString;
112
34
  mode: z.ZodOptional<z.ZodString>;
113
35
  oauth: z.ZodBoolean;
114
- connectionModes: z.ZodArray<z.ZodString, "many">;
36
+ connectionModes: z.ZodArray<z.ZodString>;
115
37
  note: z.ZodOptional<z.ZodString>;
116
38
  fields: z.ZodArray<z.ZodObject<{
117
39
  key: z.ZodString;
118
40
  label: z.ZodString;
119
41
  type: z.ZodOptional<z.ZodString>;
120
42
  required: z.ZodBoolean;
121
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
- }, "strip", z.ZodTypeAny, {
123
- required: boolean;
124
- key: string;
125
- label: string;
126
- type?: string | undefined;
127
- onlyInModes?: string[] | undefined;
128
- }, {
129
- required: boolean;
130
- key: string;
131
- label: string;
132
- type?: string | undefined;
133
- onlyInModes?: string[] | undefined;
134
- }>, "many">;
135
- }, "strip", z.ZodTypeAny, {
136
- key: string;
137
- title: string;
138
- fields: {
139
- required: boolean;
140
- key: string;
141
- label: string;
142
- type?: string | undefined;
143
- onlyInModes?: string[] | undefined;
144
- }[];
145
- oauth: boolean;
146
- connectionModes: string[];
147
- note?: string | undefined;
148
- mode?: string | undefined;
149
- }, {
150
- key: string;
151
- title: string;
152
- fields: {
153
- required: boolean;
154
- key: string;
155
- label: string;
156
- type?: string | undefined;
157
- onlyInModes?: string[] | undefined;
158
- }[];
159
- oauth: boolean;
160
- connectionModes: string[];
161
- note?: string | undefined;
162
- mode?: string | undefined;
163
- }>;
43
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>;
164
46
  export type CredentialRequirement = z.infer<typeof credentialRequirementSchema>;
165
47
  export declare const templateDetailSchema: z.ZodObject<{
166
48
  guid: z.ZodString;
167
49
  slug: z.ZodString;
168
50
  title: z.ZodString;
169
51
  summary: z.ZodOptional<z.ZodString>;
170
- categories: z.ZodArray<z.ZodString, "many">;
52
+ categories: z.ZodArray<z.ZodString>;
171
53
  cover: z.ZodOptional<z.ZodString>;
172
54
  pricing: z.ZodNullable<z.ZodObject<{
173
55
  starter: z.ZodObject<{
174
56
  priceUsd: z.ZodNumber;
175
57
  monthlyCredits: z.ZodNumber;
176
- }, "strip", z.ZodTypeAny, {
177
- priceUsd: number;
178
- monthlyCredits: number;
179
- }, {
180
- priceUsd: number;
181
- monthlyCredits: number;
182
- }>;
58
+ }, z.core.$strip>;
183
59
  pro: z.ZodObject<{
184
60
  priceUsd: z.ZodNumber;
185
61
  monthlyCredits: z.ZodNumber;
186
- }, "strip", z.ZodTypeAny, {
187
- priceUsd: number;
188
- monthlyCredits: number;
189
- }, {
190
- priceUsd: number;
191
- monthlyCredits: number;
192
- }>;
193
- }, "strip", z.ZodTypeAny, {
194
- starter: {
195
- priceUsd: number;
196
- monthlyCredits: number;
197
- };
198
- pro: {
199
- priceUsd: number;
200
- monthlyCredits: number;
201
- };
202
- }, {
203
- starter: {
204
- priceUsd: number;
205
- monthlyCredits: number;
206
- };
207
- pro: {
208
- priceUsd: number;
209
- monthlyCredits: number;
210
- };
211
- }>>;
62
+ }, z.core.$strip>;
63
+ }, z.core.$strip>>;
212
64
  tierMultiplier: z.ZodOptional<z.ZodNumber>;
213
- } & {
214
65
  description: z.ZodOptional<z.ZodString>;
215
66
  skills: z.ZodArray<z.ZodObject<{
216
67
  name: z.ZodString;
217
68
  title: z.ZodOptional<z.ZodString>;
218
69
  description: z.ZodOptional<z.ZodString>;
219
70
  credentialKey: z.ZodOptional<z.ZodString>;
220
- additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
221
- }, "strip", z.ZodTypeAny, {
222
- name: string;
223
- description?: string | undefined;
224
- title?: string | undefined;
225
- credentialKey?: string | undefined;
226
- additionalCredentialKeys?: string[] | undefined;
227
- }, {
228
- name: string;
229
- description?: string | undefined;
230
- title?: string | undefined;
231
- credentialKey?: string | undefined;
232
- additionalCredentialKeys?: string[] | undefined;
233
- }>, "many">;
71
+ additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ }, z.core.$strip>>;
234
73
  requiredCredentials: z.ZodArray<z.ZodObject<{
235
74
  key: z.ZodString;
236
75
  title: z.ZodString;
237
76
  mode: z.ZodOptional<z.ZodString>;
238
77
  oauth: z.ZodBoolean;
239
- connectionModes: z.ZodArray<z.ZodString, "many">;
78
+ connectionModes: z.ZodArray<z.ZodString>;
240
79
  note: z.ZodOptional<z.ZodString>;
241
80
  fields: z.ZodArray<z.ZodObject<{
242
81
  key: z.ZodString;
243
82
  label: z.ZodString;
244
83
  type: z.ZodOptional<z.ZodString>;
245
84
  required: z.ZodBoolean;
246
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
247
- }, "strip", z.ZodTypeAny, {
248
- required: boolean;
249
- key: string;
250
- label: string;
251
- type?: string | undefined;
252
- onlyInModes?: string[] | undefined;
253
- }, {
254
- required: boolean;
255
- key: string;
256
- label: string;
257
- type?: string | undefined;
258
- onlyInModes?: string[] | undefined;
259
- }>, "many">;
260
- }, "strip", z.ZodTypeAny, {
261
- key: string;
262
- title: string;
263
- fields: {
264
- required: boolean;
265
- key: string;
266
- label: string;
267
- type?: string | undefined;
268
- onlyInModes?: string[] | undefined;
269
- }[];
270
- oauth: boolean;
271
- connectionModes: string[];
272
- note?: string | undefined;
273
- mode?: string | undefined;
274
- }, {
275
- key: string;
276
- title: string;
277
- fields: {
278
- required: boolean;
279
- key: string;
280
- label: string;
281
- type?: string | undefined;
282
- onlyInModes?: string[] | undefined;
283
- }[];
284
- oauth: boolean;
285
- connectionModes: string[];
286
- note?: string | undefined;
287
- mode?: string | undefined;
288
- }>, "many">;
85
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
86
+ }, z.core.$strip>>;
87
+ }, z.core.$strip>>;
289
88
  optionalCredentials: z.ZodArray<z.ZodObject<{
290
89
  key: z.ZodString;
291
90
  title: z.ZodString;
292
91
  mode: z.ZodOptional<z.ZodString>;
293
92
  oauth: z.ZodBoolean;
294
- connectionModes: z.ZodArray<z.ZodString, "many">;
93
+ connectionModes: z.ZodArray<z.ZodString>;
295
94
  note: z.ZodOptional<z.ZodString>;
296
95
  fields: z.ZodArray<z.ZodObject<{
297
96
  key: z.ZodString;
298
97
  label: z.ZodString;
299
98
  type: z.ZodOptional<z.ZodString>;
300
99
  required: z.ZodBoolean;
301
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
302
- }, "strip", z.ZodTypeAny, {
303
- required: boolean;
304
- key: string;
305
- label: string;
306
- type?: string | undefined;
307
- onlyInModes?: string[] | undefined;
308
- }, {
309
- required: boolean;
310
- key: string;
311
- label: string;
312
- type?: string | undefined;
313
- onlyInModes?: string[] | undefined;
314
- }>, "many">;
315
- }, "strip", z.ZodTypeAny, {
316
- key: string;
317
- title: string;
318
- fields: {
319
- required: boolean;
320
- key: string;
321
- label: string;
322
- type?: string | undefined;
323
- onlyInModes?: string[] | undefined;
324
- }[];
325
- oauth: boolean;
326
- connectionModes: string[];
327
- note?: string | undefined;
328
- mode?: string | undefined;
329
- }, {
330
- key: string;
331
- title: string;
332
- fields: {
333
- required: boolean;
334
- key: string;
335
- label: string;
336
- type?: string | undefined;
337
- onlyInModes?: string[] | undefined;
338
- }[];
339
- oauth: boolean;
340
- connectionModes: string[];
341
- note?: string | undefined;
342
- mode?: string | undefined;
343
- }>, "many">;
100
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ }, z.core.$strip>>;
102
+ }, z.core.$strip>>;
344
103
  channels: z.ZodArray<z.ZodObject<{
345
104
  id: z.ZodString;
346
105
  title: z.ZodString;
347
106
  credentialKey: z.ZodString;
348
- requiredFields: z.ZodArray<z.ZodString, "many">;
349
- }, "strip", z.ZodTypeAny, {
350
- id: string;
351
- title: string;
352
- credentialKey: string;
353
- requiredFields: string[];
354
- }, {
355
- id: string;
356
- title: string;
357
- credentialKey: string;
358
- requiredFields: string[];
359
- }>, "many">;
107
+ requiredFields: z.ZodArray<z.ZodString>;
108
+ }, z.core.$strip>>;
360
109
  models: z.ZodObject<{
361
110
  default: z.ZodOptional<z.ZodString>;
362
111
  selectable: z.ZodArray<z.ZodObject<{
@@ -366,315 +115,43 @@ export declare const templateDetailSchema: z.ZodObject<{
366
115
  inputCreditsPer1M: z.ZodOptional<z.ZodNumber>;
367
116
  outputCreditsPer1M: z.ZodOptional<z.ZodNumber>;
368
117
  cachedInputCreditsPer1M: z.ZodOptional<z.ZodNumber>;
369
- }, "strip", z.ZodTypeAny, {
370
- slug: string;
371
- label?: string | undefined;
372
- inputCreditsPer1M?: number | undefined;
373
- outputCreditsPer1M?: number | undefined;
374
- tier?: string | undefined;
375
- cachedInputCreditsPer1M?: number | undefined;
376
- }, {
377
- slug: string;
378
- label?: string | undefined;
379
- inputCreditsPer1M?: number | undefined;
380
- outputCreditsPer1M?: number | undefined;
381
- tier?: string | undefined;
382
- cachedInputCreditsPer1M?: number | undefined;
383
- }>, "many">;
384
- }, "strip", z.ZodTypeAny, {
385
- selectable: {
386
- slug: string;
387
- label?: string | undefined;
388
- inputCreditsPer1M?: number | undefined;
389
- outputCreditsPer1M?: number | undefined;
390
- tier?: string | undefined;
391
- cachedInputCreditsPer1M?: number | undefined;
392
- }[];
393
- default?: string | undefined;
394
- }, {
395
- selectable: {
396
- slug: string;
397
- label?: string | undefined;
398
- inputCreditsPer1M?: number | undefined;
399
- outputCreditsPer1M?: number | undefined;
400
- tier?: string | undefined;
401
- cachedInputCreditsPer1M?: number | undefined;
402
- }[];
403
- default?: string | undefined;
404
- }>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
405
120
  scheduledTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
406
121
  key: z.ZodString;
407
122
  description: z.ZodOptional<z.ZodString>;
408
123
  enabled: z.ZodBoolean;
409
124
  notWritten: z.ZodOptional<z.ZodBoolean>;
410
- ownerSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125
+ ownerSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
411
126
  skillOff: z.ZodOptional<z.ZodBoolean>;
412
- offSkills: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
127
+ offSkills: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
413
128
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
- source: z.ZodOptional<z.ZodEnum<["template", "skill", "user"]>>;
129
+ source: z.ZodOptional<z.ZodEnum<{
130
+ user: "user";
131
+ template: "template";
132
+ skill: "skill";
133
+ }>>;
415
134
  instructions: z.ZodOptional<z.ZodString>;
416
135
  instructionsTruncated: z.ZodOptional<z.ZodBoolean>;
417
- }, "strip", z.ZodTypeAny, {
418
- key: string;
419
- enabled: boolean;
420
- instructions?: string | undefined;
421
- description?: string | undefined;
422
- notWritten?: boolean | undefined;
423
- ownerSkills?: string[] | undefined;
424
- skillOff?: boolean | undefined;
425
- offSkills?: string[][] | undefined;
426
- interval?: string | null | undefined;
427
- source?: "user" | "template" | "skill" | undefined;
428
- instructionsTruncated?: boolean | undefined;
429
- }, {
430
- key: string;
431
- enabled: boolean;
432
- instructions?: string | undefined;
433
- description?: string | undefined;
434
- notWritten?: boolean | undefined;
435
- ownerSkills?: string[] | undefined;
436
- skillOff?: boolean | undefined;
437
- offSkills?: string[][] | undefined;
438
- interval?: string | null | undefined;
439
- source?: "user" | "template" | "skill" | undefined;
440
- instructionsTruncated?: boolean | undefined;
441
- }>, "many">>;
136
+ }, z.core.$strip>>>;
442
137
  customInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
443
138
  key: z.ZodString;
444
139
  description: z.ZodOptional<z.ZodString>;
445
140
  enabled: z.ZodBoolean;
446
141
  notWritten: z.ZodOptional<z.ZodBoolean>;
447
- ownerSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
142
+ ownerSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
448
143
  skillOff: z.ZodOptional<z.ZodBoolean>;
449
- offSkills: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
144
+ offSkills: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
450
145
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
- source: z.ZodOptional<z.ZodEnum<["template", "skill", "user"]>>;
146
+ source: z.ZodOptional<z.ZodEnum<{
147
+ user: "user";
148
+ template: "template";
149
+ skill: "skill";
150
+ }>>;
452
151
  instructions: z.ZodOptional<z.ZodString>;
453
152
  instructionsTruncated: z.ZodOptional<z.ZodBoolean>;
454
- }, "strip", z.ZodTypeAny, {
455
- key: string;
456
- enabled: boolean;
457
- instructions?: string | undefined;
458
- description?: string | undefined;
459
- notWritten?: boolean | undefined;
460
- ownerSkills?: string[] | undefined;
461
- skillOff?: boolean | undefined;
462
- offSkills?: string[][] | undefined;
463
- interval?: string | null | undefined;
464
- source?: "user" | "template" | "skill" | undefined;
465
- instructionsTruncated?: boolean | undefined;
466
- }, {
467
- key: string;
468
- enabled: boolean;
469
- instructions?: string | undefined;
470
- description?: string | undefined;
471
- notWritten?: boolean | undefined;
472
- ownerSkills?: string[] | undefined;
473
- skillOff?: boolean | undefined;
474
- offSkills?: string[][] | undefined;
475
- interval?: string | null | undefined;
476
- source?: "user" | "template" | "skill" | undefined;
477
- instructionsTruncated?: boolean | undefined;
478
- }>, "many">>;
479
- }, "strip", z.ZodTypeAny, {
480
- categories: string[];
481
- guid: string;
482
- title: string;
483
- slug: string;
484
- pricing: {
485
- starter: {
486
- priceUsd: number;
487
- monthlyCredits: number;
488
- };
489
- pro: {
490
- priceUsd: number;
491
- monthlyCredits: number;
492
- };
493
- } | null;
494
- models: {
495
- selectable: {
496
- slug: string;
497
- label?: string | undefined;
498
- inputCreditsPer1M?: number | undefined;
499
- outputCreditsPer1M?: number | undefined;
500
- tier?: string | undefined;
501
- cachedInputCreditsPer1M?: number | undefined;
502
- }[];
503
- default?: string | undefined;
504
- };
505
- skills: {
506
- name: string;
507
- description?: string | undefined;
508
- title?: string | undefined;
509
- credentialKey?: string | undefined;
510
- additionalCredentialKeys?: string[] | undefined;
511
- }[];
512
- channels: {
513
- id: string;
514
- title: string;
515
- credentialKey: string;
516
- requiredFields: string[];
517
- }[];
518
- requiredCredentials: {
519
- key: string;
520
- title: string;
521
- fields: {
522
- required: boolean;
523
- key: string;
524
- label: string;
525
- type?: string | undefined;
526
- onlyInModes?: string[] | undefined;
527
- }[];
528
- oauth: boolean;
529
- connectionModes: string[];
530
- note?: string | undefined;
531
- mode?: string | undefined;
532
- }[];
533
- optionalCredentials: {
534
- key: string;
535
- title: string;
536
- fields: {
537
- required: boolean;
538
- key: string;
539
- label: string;
540
- type?: string | undefined;
541
- onlyInModes?: string[] | undefined;
542
- }[];
543
- oauth: boolean;
544
- connectionModes: string[];
545
- note?: string | undefined;
546
- mode?: string | undefined;
547
- }[];
548
- summary?: string | undefined;
549
- description?: string | undefined;
550
- cover?: string | undefined;
551
- scheduledTasks?: {
552
- key: string;
553
- enabled: boolean;
554
- instructions?: string | undefined;
555
- description?: string | undefined;
556
- notWritten?: boolean | undefined;
557
- ownerSkills?: string[] | undefined;
558
- skillOff?: boolean | undefined;
559
- offSkills?: string[][] | undefined;
560
- interval?: string | null | undefined;
561
- source?: "user" | "template" | "skill" | undefined;
562
- instructionsTruncated?: boolean | undefined;
563
- }[] | undefined;
564
- customInstructions?: {
565
- key: string;
566
- enabled: boolean;
567
- instructions?: string | undefined;
568
- description?: string | undefined;
569
- notWritten?: boolean | undefined;
570
- ownerSkills?: string[] | undefined;
571
- skillOff?: boolean | undefined;
572
- offSkills?: string[][] | undefined;
573
- interval?: string | null | undefined;
574
- source?: "user" | "template" | "skill" | undefined;
575
- instructionsTruncated?: boolean | undefined;
576
- }[] | undefined;
577
- tierMultiplier?: number | undefined;
578
- }, {
579
- categories: string[];
580
- guid: string;
581
- title: string;
582
- slug: string;
583
- pricing: {
584
- starter: {
585
- priceUsd: number;
586
- monthlyCredits: number;
587
- };
588
- pro: {
589
- priceUsd: number;
590
- monthlyCredits: number;
591
- };
592
- } | null;
593
- models: {
594
- selectable: {
595
- slug: string;
596
- label?: string | undefined;
597
- inputCreditsPer1M?: number | undefined;
598
- outputCreditsPer1M?: number | undefined;
599
- tier?: string | undefined;
600
- cachedInputCreditsPer1M?: number | undefined;
601
- }[];
602
- default?: string | undefined;
603
- };
604
- skills: {
605
- name: string;
606
- description?: string | undefined;
607
- title?: string | undefined;
608
- credentialKey?: string | undefined;
609
- additionalCredentialKeys?: string[] | undefined;
610
- }[];
611
- channels: {
612
- id: string;
613
- title: string;
614
- credentialKey: string;
615
- requiredFields: string[];
616
- }[];
617
- requiredCredentials: {
618
- key: string;
619
- title: string;
620
- fields: {
621
- required: boolean;
622
- key: string;
623
- label: string;
624
- type?: string | undefined;
625
- onlyInModes?: string[] | undefined;
626
- }[];
627
- oauth: boolean;
628
- connectionModes: string[];
629
- note?: string | undefined;
630
- mode?: string | undefined;
631
- }[];
632
- optionalCredentials: {
633
- key: string;
634
- title: string;
635
- fields: {
636
- required: boolean;
637
- key: string;
638
- label: string;
639
- type?: string | undefined;
640
- onlyInModes?: string[] | undefined;
641
- }[];
642
- oauth: boolean;
643
- connectionModes: string[];
644
- note?: string | undefined;
645
- mode?: string | undefined;
646
- }[];
647
- summary?: string | undefined;
648
- description?: string | undefined;
649
- cover?: string | undefined;
650
- scheduledTasks?: {
651
- key: string;
652
- enabled: boolean;
653
- instructions?: string | undefined;
654
- description?: string | undefined;
655
- notWritten?: boolean | undefined;
656
- ownerSkills?: string[] | undefined;
657
- skillOff?: boolean | undefined;
658
- offSkills?: string[][] | undefined;
659
- interval?: string | null | undefined;
660
- source?: "user" | "template" | "skill" | undefined;
661
- instructionsTruncated?: boolean | undefined;
662
- }[] | undefined;
663
- customInstructions?: {
664
- key: string;
665
- enabled: boolean;
666
- instructions?: string | undefined;
667
- description?: string | undefined;
668
- notWritten?: boolean | undefined;
669
- ownerSkills?: string[] | undefined;
670
- skillOff?: boolean | undefined;
671
- offSkills?: string[][] | undefined;
672
- interval?: string | null | undefined;
673
- source?: "user" | "template" | "skill" | undefined;
674
- instructionsTruncated?: boolean | undefined;
675
- }[] | undefined;
676
- tierMultiplier?: number | undefined;
677
- }>;
153
+ }, z.core.$strip>>>;
154
+ }, z.core.$strip>;
678
155
  export type TemplateDetail = z.infer<typeof templateDetailSchema>;
679
156
  /**
680
157
  * Reads one template by slug or guid. Wiro says "Agent not found" for a template
@@ -687,50 +164,18 @@ export declare const skillSummarySchema: z.ZodObject<{
687
164
  title: z.ZodString;
688
165
  description: z.ZodOptional<z.ZodString>;
689
166
  category: z.ZodOptional<z.ZodString>;
690
- capabilities: z.ZodArray<z.ZodString, "many">;
167
+ capabilities: z.ZodArray<z.ZodString>;
691
168
  requiresCredentials: z.ZodBoolean;
692
169
  credentialKey: z.ZodOptional<z.ZodString>;
693
- additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
694
- dependsOn: z.ZodArray<z.ZodString, "many">;
695
- conflictsWith: z.ZodArray<z.ZodString, "many">;
170
+ additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
+ dependsOn: z.ZodArray<z.ZodString>;
172
+ conflictsWith: z.ZodArray<z.ZodString>;
696
173
  userInvocable: z.ZodOptional<z.ZodBoolean>;
697
174
  deprecated: z.ZodBoolean;
698
175
  replacement: z.ZodOptional<z.ZodString>;
699
176
  monthlyPriceUsd: z.ZodNumber;
700
177
  monthlyCredits: z.ZodNumber;
701
- }, "strip", z.ZodTypeAny, {
702
- name: string;
703
- capabilities: string[];
704
- title: string;
705
- monthlyCredits: number;
706
- monthlyPriceUsd: number;
707
- deprecated: boolean;
708
- requiresCredentials: boolean;
709
- dependsOn: string[];
710
- conflictsWith: string[];
711
- description?: string | undefined;
712
- credentialKey?: string | undefined;
713
- replacement?: string | undefined;
714
- additionalCredentialKeys?: string[] | undefined;
715
- category?: string | undefined;
716
- userInvocable?: boolean | undefined;
717
- }, {
718
- name: string;
719
- capabilities: string[];
720
- title: string;
721
- monthlyCredits: number;
722
- monthlyPriceUsd: number;
723
- deprecated: boolean;
724
- requiresCredentials: boolean;
725
- dependsOn: string[];
726
- conflictsWith: string[];
727
- description?: string | undefined;
728
- credentialKey?: string | undefined;
729
- replacement?: string | undefined;
730
- additionalCredentialKeys?: string[] | undefined;
731
- category?: string | undefined;
732
- userInvocable?: boolean | undefined;
733
- }>;
178
+ }, z.core.$strip>;
734
179
  export type SkillSummary = z.infer<typeof skillSummarySchema>;
735
180
  export declare function toSkillSummary(skill: Record<string, unknown>): SkillSummary;
736
181
  declare const setupItemFieldSchema: z.ZodObject<{
@@ -742,37 +187,9 @@ declare const setupItemFieldSchema: z.ZodObject<{
742
187
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
743
188
  value: z.ZodString;
744
189
  label: z.ZodOptional<z.ZodString>;
745
- }, "strip", z.ZodTypeAny, {
746
- value: string;
747
- label?: string | undefined;
748
- }, {
749
- value: string;
750
- label?: string | undefined;
751
- }>, "many">>;
190
+ }, z.core.$strip>>>;
752
191
  help: z.ZodOptional<z.ZodString>;
753
- }, "strip", z.ZodTypeAny, {
754
- key: string;
755
- type?: string | undefined;
756
- required?: boolean | undefined;
757
- pattern?: string | undefined;
758
- label?: string | undefined;
759
- options?: {
760
- value: string;
761
- label?: string | undefined;
762
- }[] | undefined;
763
- help?: string | undefined;
764
- }, {
765
- key: string;
766
- type?: string | undefined;
767
- required?: boolean | undefined;
768
- pattern?: string | undefined;
769
- label?: string | undefined;
770
- options?: {
771
- value: string;
772
- label?: string | undefined;
773
- }[] | undefined;
774
- help?: string | undefined;
775
- }>;
192
+ }, z.core.$strip>;
776
193
  export declare const credentialSetupFieldSchema: z.ZodObject<{
777
194
  key: z.ZodString;
778
195
  label: z.ZodString;
@@ -780,18 +197,12 @@ export declare const credentialSetupFieldSchema: z.ZodObject<{
780
197
  required: z.ZodBoolean;
781
198
  writable: z.ZodBoolean;
782
199
  secret: z.ZodBoolean;
783
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
200
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
784
201
  pattern: z.ZodOptional<z.ZodString>;
785
202
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
786
203
  value: z.ZodString;
787
204
  label: z.ZodOptional<z.ZodString>;
788
- }, "strip", z.ZodTypeAny, {
789
- value: string;
790
- label?: string | undefined;
791
- }, {
792
- value: string;
793
- label?: string | undefined;
794
- }>, "many">>;
205
+ }, z.core.$strip>>>;
795
206
  help: z.ZodOptional<z.ZodString>;
796
207
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
208
  key: z.ZodString;
@@ -802,15 +213,8 @@ export declare const credentialSetupFieldSchema: z.ZodObject<{
802
213
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
803
214
  value: z.ZodString;
804
215
  label: z.ZodOptional<z.ZodString>;
805
- }, "strip", z.ZodTypeAny, {
806
- value: string;
807
- label?: string | undefined;
808
- }, {
809
- value: string;
810
- label?: string | undefined;
811
- }>, "many">>;
216
+ }, z.core.$strip>>>;
812
217
  help: z.ZodOptional<z.ZodString>;
813
- } & {
814
218
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
815
219
  key: z.ZodString;
816
220
  label: z.ZodOptional<z.ZodString>;
@@ -820,183 +224,32 @@ export declare const credentialSetupFieldSchema: z.ZodObject<{
820
224
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
821
225
  value: z.ZodString;
822
226
  label: z.ZodOptional<z.ZodString>;
823
- }, "strip", z.ZodTypeAny, {
824
- value: string;
825
- label?: string | undefined;
826
- }, {
827
- value: string;
828
- label?: string | undefined;
829
- }>, "many">>;
227
+ }, z.core.$strip>>>;
830
228
  help: z.ZodOptional<z.ZodString>;
831
- }, "strip", z.ZodTypeAny, {
832
- key: string;
833
- type?: string | undefined;
834
- required?: boolean | undefined;
835
- pattern?: string | undefined;
836
- label?: string | undefined;
837
- options?: {
838
- value: string;
839
- label?: string | undefined;
840
- }[] | undefined;
841
- help?: string | undefined;
842
- }, {
843
- key: string;
844
- type?: string | undefined;
845
- required?: boolean | undefined;
846
- pattern?: string | undefined;
847
- label?: string | undefined;
848
- options?: {
849
- value: string;
850
- label?: string | undefined;
851
- }[] | undefined;
852
- help?: string | undefined;
853
- }>, "many">>;
854
- }, "strip", z.ZodTypeAny, {
855
- key: string;
856
- type?: string | undefined;
857
- required?: boolean | undefined;
858
- pattern?: string | undefined;
859
- label?: string | undefined;
860
- options?: {
861
- value: string;
862
- label?: string | undefined;
863
- }[] | undefined;
864
- help?: string | undefined;
865
- itemFields?: {
866
- key: string;
867
- type?: string | undefined;
868
- required?: boolean | undefined;
869
- pattern?: string | undefined;
870
- label?: string | undefined;
871
- options?: {
872
- value: string;
873
- label?: string | undefined;
874
- }[] | undefined;
875
- help?: string | undefined;
876
- }[] | undefined;
877
- }, {
878
- key: string;
879
- type?: string | undefined;
880
- required?: boolean | undefined;
881
- pattern?: string | undefined;
882
- label?: string | undefined;
883
- options?: {
884
- value: string;
885
- label?: string | undefined;
886
- }[] | undefined;
887
- help?: string | undefined;
888
- itemFields?: {
889
- key: string;
890
- type?: string | undefined;
891
- required?: boolean | undefined;
892
- pattern?: string | undefined;
893
- label?: string | undefined;
894
- options?: {
895
- value: string;
896
- label?: string | undefined;
897
- }[] | undefined;
898
- help?: string | undefined;
899
- }[] | undefined;
900
- }>, "many">>;
901
- }, "strip", z.ZodTypeAny, {
902
- required: boolean;
903
- key: string;
904
- label: string;
905
- writable: boolean;
906
- secret: boolean;
907
- type?: string | undefined;
908
- pattern?: string | undefined;
909
- options?: {
910
- value: string;
911
- label?: string | undefined;
912
- }[] | undefined;
913
- help?: string | undefined;
914
- onlyInModes?: string[] | undefined;
915
- itemFields?: {
916
- key: string;
917
- type?: string | undefined;
918
- required?: boolean | undefined;
919
- pattern?: string | undefined;
920
- label?: string | undefined;
921
- options?: {
922
- value: string;
923
- label?: string | undefined;
924
- }[] | undefined;
925
- help?: string | undefined;
926
- itemFields?: {
927
- key: string;
928
- type?: string | undefined;
929
- required?: boolean | undefined;
930
- pattern?: string | undefined;
931
- label?: string | undefined;
932
- options?: {
933
- value: string;
934
- label?: string | undefined;
935
- }[] | undefined;
936
- help?: string | undefined;
937
- }[] | undefined;
938
- }[] | undefined;
939
- }, {
940
- required: boolean;
941
- key: string;
942
- label: string;
943
- writable: boolean;
944
- secret: boolean;
945
- type?: string | undefined;
946
- pattern?: string | undefined;
947
- options?: {
948
- value: string;
949
- label?: string | undefined;
950
- }[] | undefined;
951
- help?: string | undefined;
952
- onlyInModes?: string[] | undefined;
953
- itemFields?: {
954
- key: string;
955
- type?: string | undefined;
956
- required?: boolean | undefined;
957
- pattern?: string | undefined;
958
- label?: string | undefined;
959
- options?: {
960
- value: string;
961
- label?: string | undefined;
962
- }[] | undefined;
963
- help?: string | undefined;
964
- itemFields?: {
965
- key: string;
966
- type?: string | undefined;
967
- required?: boolean | undefined;
968
- pattern?: string | undefined;
969
- label?: string | undefined;
970
- options?: {
971
- value: string;
972
- label?: string | undefined;
973
- }[] | undefined;
974
- help?: string | undefined;
975
- }[] | undefined;
976
- }[] | undefined;
977
- }>;
229
+ }, z.core.$strip>>>;
230
+ }, z.core.$strip>>>;
231
+ }, z.core.$strip>;
978
232
  export type CredentialSetupItem = z.infer<typeof setupItemFieldSchema> & {
979
233
  itemFields?: Array<z.infer<typeof setupItemFieldSchema>>;
980
234
  };
981
235
  export declare const credentialSetupSchema: z.ZodObject<{
982
236
  key: z.ZodString;
983
237
  title: z.ZodString;
984
- role: z.ZodEnum<["primary", "additional", "channel", "credential"]>;
238
+ role: z.ZodEnum<{
239
+ credential: "credential";
240
+ channel: "channel";
241
+ primary: "primary";
242
+ additional: "additional";
243
+ }>;
985
244
  mode: z.ZodOptional<z.ZodString>;
986
- connectionModes: z.ZodArray<z.ZodString, "many">;
245
+ connectionModes: z.ZodArray<z.ZodString>;
987
246
  oauth: z.ZodBoolean;
988
247
  wiroConnectAvailable: z.ZodBoolean;
989
248
  channel: z.ZodOptional<z.ZodObject<{
990
249
  id: z.ZodString;
991
- requiredFields: z.ZodArray<z.ZodString, "many">;
992
- }, "strip", z.ZodTypeAny, {
993
- id: string;
994
- requiredFields: string[];
995
- }, {
996
- id: string;
997
- requiredFields: string[];
998
- }>>;
999
- usedBySkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
+ requiredFields: z.ZodArray<z.ZodString>;
251
+ }, z.core.$strip>>;
252
+ usedBySkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
1000
253
  note: z.ZodOptional<z.ZodString>;
1001
254
  fields: z.ZodArray<z.ZodObject<{
1002
255
  key: z.ZodString;
@@ -1005,18 +258,12 @@ export declare const credentialSetupSchema: z.ZodObject<{
1005
258
  required: z.ZodBoolean;
1006
259
  writable: z.ZodBoolean;
1007
260
  secret: z.ZodBoolean;
1008
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
261
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1009
262
  pattern: z.ZodOptional<z.ZodString>;
1010
263
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1011
264
  value: z.ZodString;
1012
265
  label: z.ZodOptional<z.ZodString>;
1013
- }, "strip", z.ZodTypeAny, {
1014
- value: string;
1015
- label?: string | undefined;
1016
- }, {
1017
- value: string;
1018
- label?: string | undefined;
1019
- }>, "many">>;
266
+ }, z.core.$strip>>>;
1020
267
  help: z.ZodOptional<z.ZodString>;
1021
268
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
269
  key: z.ZodString;
@@ -1027,15 +274,8 @@ export declare const credentialSetupSchema: z.ZodObject<{
1027
274
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1028
275
  value: z.ZodString;
1029
276
  label: z.ZodOptional<z.ZodString>;
1030
- }, "strip", z.ZodTypeAny, {
1031
- value: string;
1032
- label?: string | undefined;
1033
- }, {
1034
- value: string;
1035
- label?: string | undefined;
1036
- }>, "many">>;
277
+ }, z.core.$strip>>>;
1037
278
  help: z.ZodOptional<z.ZodString>;
1038
- } & {
1039
279
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1040
280
  key: z.ZodString;
1041
281
  label: z.ZodOptional<z.ZodString>;
@@ -1045,268 +285,12 @@ export declare const credentialSetupSchema: z.ZodObject<{
1045
285
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1046
286
  value: z.ZodString;
1047
287
  label: z.ZodOptional<z.ZodString>;
1048
- }, "strip", z.ZodTypeAny, {
1049
- value: string;
1050
- label?: string | undefined;
1051
- }, {
1052
- value: string;
1053
- label?: string | undefined;
1054
- }>, "many">>;
288
+ }, z.core.$strip>>>;
1055
289
  help: z.ZodOptional<z.ZodString>;
1056
- }, "strip", z.ZodTypeAny, {
1057
- key: string;
1058
- type?: string | undefined;
1059
- required?: boolean | undefined;
1060
- pattern?: string | undefined;
1061
- label?: string | undefined;
1062
- options?: {
1063
- value: string;
1064
- label?: string | undefined;
1065
- }[] | undefined;
1066
- help?: string | undefined;
1067
- }, {
1068
- key: string;
1069
- type?: string | undefined;
1070
- required?: boolean | undefined;
1071
- pattern?: string | undefined;
1072
- label?: string | undefined;
1073
- options?: {
1074
- value: string;
1075
- label?: string | undefined;
1076
- }[] | undefined;
1077
- help?: string | undefined;
1078
- }>, "many">>;
1079
- }, "strip", z.ZodTypeAny, {
1080
- key: string;
1081
- type?: string | undefined;
1082
- required?: boolean | undefined;
1083
- pattern?: string | undefined;
1084
- label?: string | undefined;
1085
- options?: {
1086
- value: string;
1087
- label?: string | undefined;
1088
- }[] | undefined;
1089
- help?: string | undefined;
1090
- itemFields?: {
1091
- key: string;
1092
- type?: string | undefined;
1093
- required?: boolean | undefined;
1094
- pattern?: string | undefined;
1095
- label?: string | undefined;
1096
- options?: {
1097
- value: string;
1098
- label?: string | undefined;
1099
- }[] | undefined;
1100
- help?: string | undefined;
1101
- }[] | undefined;
1102
- }, {
1103
- key: string;
1104
- type?: string | undefined;
1105
- required?: boolean | undefined;
1106
- pattern?: string | undefined;
1107
- label?: string | undefined;
1108
- options?: {
1109
- value: string;
1110
- label?: string | undefined;
1111
- }[] | undefined;
1112
- help?: string | undefined;
1113
- itemFields?: {
1114
- key: string;
1115
- type?: string | undefined;
1116
- required?: boolean | undefined;
1117
- pattern?: string | undefined;
1118
- label?: string | undefined;
1119
- options?: {
1120
- value: string;
1121
- label?: string | undefined;
1122
- }[] | undefined;
1123
- help?: string | undefined;
1124
- }[] | undefined;
1125
- }>, "many">>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- required: boolean;
1128
- key: string;
1129
- label: string;
1130
- writable: boolean;
1131
- secret: boolean;
1132
- type?: string | undefined;
1133
- pattern?: string | undefined;
1134
- options?: {
1135
- value: string;
1136
- label?: string | undefined;
1137
- }[] | undefined;
1138
- help?: string | undefined;
1139
- onlyInModes?: string[] | undefined;
1140
- itemFields?: {
1141
- key: string;
1142
- type?: string | undefined;
1143
- required?: boolean | undefined;
1144
- pattern?: string | undefined;
1145
- label?: string | undefined;
1146
- options?: {
1147
- value: string;
1148
- label?: string | undefined;
1149
- }[] | undefined;
1150
- help?: string | undefined;
1151
- itemFields?: {
1152
- key: string;
1153
- type?: string | undefined;
1154
- required?: boolean | undefined;
1155
- pattern?: string | undefined;
1156
- label?: string | undefined;
1157
- options?: {
1158
- value: string;
1159
- label?: string | undefined;
1160
- }[] | undefined;
1161
- help?: string | undefined;
1162
- }[] | undefined;
1163
- }[] | undefined;
1164
- }, {
1165
- required: boolean;
1166
- key: string;
1167
- label: string;
1168
- writable: boolean;
1169
- secret: boolean;
1170
- type?: string | undefined;
1171
- pattern?: string | undefined;
1172
- options?: {
1173
- value: string;
1174
- label?: string | undefined;
1175
- }[] | undefined;
1176
- help?: string | undefined;
1177
- onlyInModes?: string[] | undefined;
1178
- itemFields?: {
1179
- key: string;
1180
- type?: string | undefined;
1181
- required?: boolean | undefined;
1182
- pattern?: string | undefined;
1183
- label?: string | undefined;
1184
- options?: {
1185
- value: string;
1186
- label?: string | undefined;
1187
- }[] | undefined;
1188
- help?: string | undefined;
1189
- itemFields?: {
1190
- key: string;
1191
- type?: string | undefined;
1192
- required?: boolean | undefined;
1193
- pattern?: string | undefined;
1194
- label?: string | undefined;
1195
- options?: {
1196
- value: string;
1197
- label?: string | undefined;
1198
- }[] | undefined;
1199
- help?: string | undefined;
1200
- }[] | undefined;
1201
- }[] | undefined;
1202
- }>, "many">;
1203
- }, "strip", z.ZodTypeAny, {
1204
- key: string;
1205
- title: string;
1206
- role: "credential" | "channel" | "primary" | "additional";
1207
- fields: {
1208
- required: boolean;
1209
- key: string;
1210
- label: string;
1211
- writable: boolean;
1212
- secret: boolean;
1213
- type?: string | undefined;
1214
- pattern?: string | undefined;
1215
- options?: {
1216
- value: string;
1217
- label?: string | undefined;
1218
- }[] | undefined;
1219
- help?: string | undefined;
1220
- onlyInModes?: string[] | undefined;
1221
- itemFields?: {
1222
- key: string;
1223
- type?: string | undefined;
1224
- required?: boolean | undefined;
1225
- pattern?: string | undefined;
1226
- label?: string | undefined;
1227
- options?: {
1228
- value: string;
1229
- label?: string | undefined;
1230
- }[] | undefined;
1231
- help?: string | undefined;
1232
- itemFields?: {
1233
- key: string;
1234
- type?: string | undefined;
1235
- required?: boolean | undefined;
1236
- pattern?: string | undefined;
1237
- label?: string | undefined;
1238
- options?: {
1239
- value: string;
1240
- label?: string | undefined;
1241
- }[] | undefined;
1242
- help?: string | undefined;
1243
- }[] | undefined;
1244
- }[] | undefined;
1245
- }[];
1246
- oauth: boolean;
1247
- connectionModes: string[];
1248
- wiroConnectAvailable: boolean;
1249
- note?: string | undefined;
1250
- mode?: string | undefined;
1251
- channel?: {
1252
- id: string;
1253
- requiredFields: string[];
1254
- } | undefined;
1255
- usedBySkills?: string[] | undefined;
1256
- }, {
1257
- key: string;
1258
- title: string;
1259
- role: "credential" | "channel" | "primary" | "additional";
1260
- fields: {
1261
- required: boolean;
1262
- key: string;
1263
- label: string;
1264
- writable: boolean;
1265
- secret: boolean;
1266
- type?: string | undefined;
1267
- pattern?: string | undefined;
1268
- options?: {
1269
- value: string;
1270
- label?: string | undefined;
1271
- }[] | undefined;
1272
- help?: string | undefined;
1273
- onlyInModes?: string[] | undefined;
1274
- itemFields?: {
1275
- key: string;
1276
- type?: string | undefined;
1277
- required?: boolean | undefined;
1278
- pattern?: string | undefined;
1279
- label?: string | undefined;
1280
- options?: {
1281
- value: string;
1282
- label?: string | undefined;
1283
- }[] | undefined;
1284
- help?: string | undefined;
1285
- itemFields?: {
1286
- key: string;
1287
- type?: string | undefined;
1288
- required?: boolean | undefined;
1289
- pattern?: string | undefined;
1290
- label?: string | undefined;
1291
- options?: {
1292
- value: string;
1293
- label?: string | undefined;
1294
- }[] | undefined;
1295
- help?: string | undefined;
1296
- }[] | undefined;
1297
- }[] | undefined;
1298
- }[];
1299
- oauth: boolean;
1300
- connectionModes: string[];
1301
- wiroConnectAvailable: boolean;
1302
- note?: string | undefined;
1303
- mode?: string | undefined;
1304
- channel?: {
1305
- id: string;
1306
- requiredFields: string[];
1307
- } | undefined;
1308
- usedBySkills?: string[] | undefined;
1309
- }>;
290
+ }, z.core.$strip>>>;
291
+ }, z.core.$strip>>>;
292
+ }, z.core.$strip>>;
293
+ }, z.core.$strip>;
1310
294
  export type CredentialSetup = z.infer<typeof credentialSetupSchema>;
1311
295
  /** A credential registry entry reduced to what a user is asked for. */
1312
296
  export declare function toCredentialSetup(credential: Record<string, unknown>, role: CredentialSetup['role']): CredentialSetup;