@stackone/connect-sdk 1.32.0 → 1.34.1

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.
@@ -1,1237 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const OPERATION_SCHEMA: z.ZodObject<{
3
- operationId: z.ZodString;
4
- categories: z.ZodArray<z.ZodString, "many">;
5
- operationType: z.ZodEnum<["list", "get", "create", "update", "delete", "custom", "unknown"]>;
6
- schema: z.ZodOptional<z.ZodString>;
7
- entrypointUrl: z.ZodOptional<z.ZodString>;
8
- entrypointHttpMethod: z.ZodOptional<z.ZodString>;
9
- description: z.ZodString;
10
- responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
- statusCode: z.ZodNumber;
12
- description: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- description: string;
15
- statusCode: number;
16
- }, {
17
- description: string;
18
- statusCode: number;
19
- }>, "many">>;
20
- inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
- name: z.ZodString;
22
- type: z.ZodString;
23
- required: z.ZodBoolean;
24
- description: z.ZodString;
25
- in: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
27
- type: string;
28
- required: boolean;
29
- description: string;
30
- name: string;
31
- in: string;
32
- }, {
33
- type: string;
34
- required: boolean;
35
- description: string;
36
- name: string;
37
- in: string;
38
- }>, "many">>;
39
- cursor: z.ZodOptional<z.ZodObject<{
40
- enabled: z.ZodBoolean;
41
- pageSize: z.ZodNumber;
42
- }, "strip", z.ZodTypeAny, {
43
- enabled: boolean;
44
- pageSize: number;
45
- }, {
46
- enabled: boolean;
47
- pageSize: number;
48
- }>>;
49
- compositeIdentifiers: z.ZodOptional<z.ZodObject<{
50
- enabled: z.ZodBoolean;
51
- version: z.ZodOptional<z.ZodNumber>;
52
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
- targetFieldKey: z.ZodString;
54
- remote: z.ZodOptional<z.ZodString>;
55
- components: z.ZodArray<z.ZodString, "many">;
56
- }, "strip", z.ZodTypeAny, {
57
- targetFieldKey: string;
58
- components: string[];
59
- remote?: string | undefined;
60
- }, {
61
- targetFieldKey: string;
62
- components: string[];
63
- remote?: string | undefined;
64
- }>, "many">>;
65
- }, "strip", z.ZodTypeAny, {
66
- enabled: boolean;
67
- version?: number | undefined;
68
- fields?: {
69
- targetFieldKey: string;
70
- components: string[];
71
- remote?: string | undefined;
72
- }[] | undefined;
73
- }, {
74
- enabled: boolean;
75
- version?: number | undefined;
76
- fields?: {
77
- targetFieldKey: string;
78
- components: string[];
79
- remote?: string | undefined;
80
- }[] | undefined;
81
- }>>;
82
- fieldConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
- targetFieldKey: z.ZodString;
84
- alias: z.ZodOptional<z.ZodString>;
85
- expression: z.ZodString;
86
- type: z.ZodEnum<["string", "number", "boolean", "datetime_string", "enum"]>;
87
- custom: z.ZodDefault<z.ZodBoolean>;
88
- hidden: z.ZodDefault<z.ZodBoolean>;
89
- enumMapper: z.ZodOptional<z.ZodObject<{
90
- matcher: z.ZodUnion<[z.ZodEnum<["country_alpha2code_by_alpha2code", "country_alpha3code_by_alpha3code", "country_code_by_country_code", "country_name_by_country_name", "country_name_by_alpha3code", "country_name_by_alpha2code", "country_name_by_country_code", "country_alpha3code_by_alpha2code", "country_alpha3code_by_country_name", "country_alpha3code_by_country_code", "country_alpha2code_by_alpha3code", "country_alpha2code_by_country_name", "country_alpha2code_by_country_code", "country_code_by_alpha2code", "country_code_by_alpha3code", "country_code_by_country_name", "country_subdivisions_by_alpha2code", "country_subdivision_code_by_subdivision_name", "country_alpha2code_by_citizenship", "country_subdivision_name_by_subdivision_code"]>, z.ZodArray<z.ZodObject<{
91
- matchExpression: z.ZodString;
92
- value: z.ZodString;
93
- }, "strip", z.ZodTypeAny, {
94
- value: string;
95
- matchExpression: string;
96
- }, {
97
- value: string;
98
- matchExpression: string;
99
- }>, "many">]>;
100
- }, "strip", z.ZodTypeAny, {
101
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
102
- value: string;
103
- matchExpression: string;
104
- }[];
105
- }, {
106
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
107
- value: string;
108
- matchExpression: string;
109
- }[];
110
- }>>;
111
- }, "strip", z.ZodTypeAny, {
112
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
113
- custom: boolean;
114
- targetFieldKey: string;
115
- expression: string;
116
- hidden: boolean;
117
- alias?: string | undefined;
118
- enumMapper?: {
119
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
120
- value: string;
121
- matchExpression: string;
122
- }[];
123
- } | undefined;
124
- }, {
125
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
126
- targetFieldKey: string;
127
- expression: string;
128
- custom?: boolean | undefined;
129
- alias?: string | undefined;
130
- hidden?: boolean | undefined;
131
- enumMapper?: {
132
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
133
- value: string;
134
- matchExpression: string;
135
- }[];
136
- } | undefined;
137
- }>, "many">>;
138
- steps: z.ZodArray<z.ZodObject<{
139
- stepId: z.ZodString;
140
- description: z.ZodString;
141
- stepFunction: z.ZodObject<{
142
- functionName: z.ZodString;
143
- version: z.ZodOptional<z.ZodString>;
144
- parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
145
- }, "strip", z.ZodTypeAny, {
146
- functionName: string;
147
- parameters: Record<string, unknown>;
148
- version?: string | undefined;
149
- }, {
150
- functionName: string;
151
- parameters: Record<string, unknown>;
152
- version?: string | undefined;
153
- }>;
154
- condition: z.ZodOptional<z.ZodString>;
155
- ignoreError: z.ZodOptional<z.ZodBoolean>;
156
- }, "strip", z.ZodTypeAny, {
157
- description: string;
158
- stepId: string;
159
- stepFunction: {
160
- functionName: string;
161
- parameters: Record<string, unknown>;
162
- version?: string | undefined;
163
- };
164
- condition?: string | undefined;
165
- ignoreError?: boolean | undefined;
166
- }, {
167
- description: string;
168
- stepId: string;
169
- stepFunction: {
170
- functionName: string;
171
- parameters: Record<string, unknown>;
172
- version?: string | undefined;
173
- };
174
- condition?: string | undefined;
175
- ignoreError?: boolean | undefined;
176
- }>, "many">;
177
- result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
178
- }, "strip", z.ZodTypeAny, {
179
- description: string;
180
- operationId: string;
181
- categories: string[];
182
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
183
- steps: {
184
- description: string;
185
- stepId: string;
186
- stepFunction: {
187
- functionName: string;
188
- parameters: Record<string, unknown>;
189
- version?: string | undefined;
190
- };
191
- condition?: string | undefined;
192
- ignoreError?: boolean | undefined;
193
- }[];
194
- schema?: string | undefined;
195
- entrypointUrl?: string | undefined;
196
- entrypointHttpMethod?: string | undefined;
197
- responses?: {
198
- description: string;
199
- statusCode: number;
200
- }[] | undefined;
201
- inputs?: {
202
- type: string;
203
- required: boolean;
204
- description: string;
205
- name: string;
206
- in: string;
207
- }[] | undefined;
208
- cursor?: {
209
- enabled: boolean;
210
- pageSize: number;
211
- } | undefined;
212
- compositeIdentifiers?: {
213
- enabled: boolean;
214
- version?: number | undefined;
215
- fields?: {
216
- targetFieldKey: string;
217
- components: string[];
218
- remote?: string | undefined;
219
- }[] | undefined;
220
- } | undefined;
221
- fieldConfigs?: {
222
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
223
- custom: boolean;
224
- targetFieldKey: string;
225
- expression: string;
226
- hidden: boolean;
227
- alias?: string | undefined;
228
- enumMapper?: {
229
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
230
- value: string;
231
- matchExpression: string;
232
- }[];
233
- } | undefined;
234
- }[] | undefined;
235
- result?: string | Record<string, unknown> | undefined;
236
- }, {
237
- description: string;
238
- operationId: string;
239
- categories: string[];
240
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
241
- steps: {
242
- description: string;
243
- stepId: string;
244
- stepFunction: {
245
- functionName: string;
246
- parameters: Record<string, unknown>;
247
- version?: string | undefined;
248
- };
249
- condition?: string | undefined;
250
- ignoreError?: boolean | undefined;
251
- }[];
252
- schema?: string | undefined;
253
- entrypointUrl?: string | undefined;
254
- entrypointHttpMethod?: string | undefined;
255
- responses?: {
256
- description: string;
257
- statusCode: number;
258
- }[] | undefined;
259
- inputs?: {
260
- type: string;
261
- required: boolean;
262
- description: string;
263
- name: string;
264
- in: string;
265
- }[] | undefined;
266
- cursor?: {
267
- enabled: boolean;
268
- pageSize: number;
269
- } | undefined;
270
- compositeIdentifiers?: {
271
- enabled: boolean;
272
- version?: number | undefined;
273
- fields?: {
274
- targetFieldKey: string;
275
- components: string[];
276
- remote?: string | undefined;
277
- }[] | undefined;
278
- } | undefined;
279
- fieldConfigs?: {
280
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
281
- targetFieldKey: string;
282
- expression: string;
283
- custom?: boolean | undefined;
284
- alias?: string | undefined;
285
- hidden?: boolean | undefined;
286
- enumMapper?: {
287
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
288
- value: string;
289
- matchExpression: string;
290
- }[];
291
- } | undefined;
292
- }[] | undefined;
293
- result?: string | Record<string, unknown> | undefined;
294
- }>;
295
- export declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
296
- StackOne: z.ZodString;
297
- info: z.ZodObject<{
298
- title: z.ZodString;
299
- version: z.ZodString;
300
- key: z.ZodString;
301
- description: z.ZodOptional<z.ZodString>;
302
- }, "strip", z.ZodTypeAny, {
303
- key: string;
304
- version: string;
305
- title: string;
306
- description?: string | undefined;
307
- }, {
308
- key: string;
309
- version: string;
310
- title: string;
311
- description?: string | undefined;
312
- }>;
313
- baseUrl: z.ZodString;
314
- authentication: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
315
- type: z.ZodString;
316
- label: z.ZodString;
317
- authorization: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
318
- type: z.ZodLiteral<"basic">;
319
- username: z.ZodOptional<z.ZodString>;
320
- password: z.ZodOptional<z.ZodString>;
321
- encoding: z.ZodOptional<z.ZodString>;
322
- }, "strip", z.ZodTypeAny, {
323
- type: "basic";
324
- username?: string | undefined;
325
- password?: string | undefined;
326
- encoding?: string | undefined;
327
- }, {
328
- type: "basic";
329
- username?: string | undefined;
330
- password?: string | undefined;
331
- encoding?: string | undefined;
332
- }>, z.ZodObject<{
333
- type: z.ZodLiteral<"bearer">;
334
- token: z.ZodString;
335
- }, "strip", z.ZodTypeAny, {
336
- type: "bearer";
337
- token: string;
338
- }, {
339
- type: "bearer";
340
- token: string;
341
- }>]>;
342
- environments: z.ZodArray<z.ZodObject<{
343
- key: z.ZodString;
344
- name: z.ZodString;
345
- }, "strip", z.ZodTypeAny, {
346
- key: string;
347
- name: string;
348
- }, {
349
- key: string;
350
- name: string;
351
- }>, "many">;
352
- support: z.ZodObject<{
353
- link: z.ZodString;
354
- description: z.ZodOptional<z.ZodString>;
355
- }, "strip", z.ZodTypeAny, {
356
- link: string;
357
- description?: string | undefined;
358
- }, {
359
- link: string;
360
- description?: string | undefined;
361
- }>;
362
- configFields: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
363
- type: z.ZodEnum<["text", "password"]>;
364
- key: z.ZodString;
365
- label: z.ZodString;
366
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
367
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
368
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
369
- placeholder: z.ZodOptional<z.ZodString>;
370
- description: z.ZodOptional<z.ZodString>;
371
- tooltip: z.ZodOptional<z.ZodString>;
372
- }, "strip", z.ZodTypeAny, {
373
- type: "text" | "password";
374
- key: string;
375
- label: string;
376
- required: boolean;
377
- secret: boolean;
378
- readOnly: boolean;
379
- placeholder?: string | undefined;
380
- description?: string | undefined;
381
- tooltip?: string | undefined;
382
- }, {
383
- type: "text" | "password";
384
- key: string;
385
- label: string;
386
- required?: boolean | undefined;
387
- secret?: boolean | undefined;
388
- readOnly?: boolean | undefined;
389
- placeholder?: string | undefined;
390
- description?: string | undefined;
391
- tooltip?: string | undefined;
392
- }>, z.ZodObject<{
393
- type: z.ZodLiteral<"select">;
394
- options: z.ZodArray<z.ZodObject<{
395
- value: z.ZodString;
396
- label: z.ZodString;
397
- }, "strip", z.ZodTypeAny, {
398
- value: string;
399
- label: string;
400
- }, {
401
- value: string;
402
- label: string;
403
- }>, "many">;
404
- key: z.ZodString;
405
- label: z.ZodString;
406
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
407
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
408
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
409
- placeholder: z.ZodOptional<z.ZodString>;
410
- description: z.ZodOptional<z.ZodString>;
411
- tooltip: z.ZodOptional<z.ZodString>;
412
- }, "strip", z.ZodTypeAny, {
413
- type: "select";
414
- options: {
415
- value: string;
416
- label: string;
417
- }[];
418
- key: string;
419
- label: string;
420
- required: boolean;
421
- secret: boolean;
422
- readOnly: boolean;
423
- placeholder?: string | undefined;
424
- description?: string | undefined;
425
- tooltip?: string | undefined;
426
- }, {
427
- type: "select";
428
- options: {
429
- value: string;
430
- label: string;
431
- }[];
432
- key: string;
433
- label: string;
434
- required?: boolean | undefined;
435
- secret?: boolean | undefined;
436
- readOnly?: boolean | undefined;
437
- placeholder?: string | undefined;
438
- description?: string | undefined;
439
- tooltip?: string | undefined;
440
- }>]>, "many">>;
441
- setupFields: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
442
- type: z.ZodEnum<["text", "password"]>;
443
- key: z.ZodString;
444
- label: z.ZodString;
445
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
446
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
447
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
448
- placeholder: z.ZodOptional<z.ZodString>;
449
- description: z.ZodOptional<z.ZodString>;
450
- tooltip: z.ZodOptional<z.ZodString>;
451
- }, "strip", z.ZodTypeAny, {
452
- type: "text" | "password";
453
- key: string;
454
- label: string;
455
- required: boolean;
456
- secret: boolean;
457
- readOnly: boolean;
458
- placeholder?: string | undefined;
459
- description?: string | undefined;
460
- tooltip?: string | undefined;
461
- }, {
462
- type: "text" | "password";
463
- key: string;
464
- label: string;
465
- required?: boolean | undefined;
466
- secret?: boolean | undefined;
467
- readOnly?: boolean | undefined;
468
- placeholder?: string | undefined;
469
- description?: string | undefined;
470
- tooltip?: string | undefined;
471
- }>, z.ZodObject<{
472
- type: z.ZodLiteral<"select">;
473
- options: z.ZodArray<z.ZodObject<{
474
- value: z.ZodString;
475
- label: z.ZodString;
476
- }, "strip", z.ZodTypeAny, {
477
- value: string;
478
- label: string;
479
- }, {
480
- value: string;
481
- label: string;
482
- }>, "many">;
483
- key: z.ZodString;
484
- label: z.ZodString;
485
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
486
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
487
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
488
- placeholder: z.ZodOptional<z.ZodString>;
489
- description: z.ZodOptional<z.ZodString>;
490
- tooltip: z.ZodOptional<z.ZodString>;
491
- }, "strip", z.ZodTypeAny, {
492
- type: "select";
493
- options: {
494
- value: string;
495
- label: string;
496
- }[];
497
- key: string;
498
- label: string;
499
- required: boolean;
500
- secret: boolean;
501
- readOnly: boolean;
502
- placeholder?: string | undefined;
503
- description?: string | undefined;
504
- tooltip?: string | undefined;
505
- }, {
506
- type: "select";
507
- options: {
508
- value: string;
509
- label: string;
510
- }[];
511
- key: string;
512
- label: string;
513
- required?: boolean | undefined;
514
- secret?: boolean | undefined;
515
- readOnly?: boolean | undefined;
516
- placeholder?: string | undefined;
517
- description?: string | undefined;
518
- tooltip?: string | undefined;
519
- }>]>, "many">>;
520
- testOperationsIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
521
- }, "strip", z.ZodTypeAny, {
522
- type: string;
523
- label: string;
524
- authorization: {
525
- type: "basic";
526
- username?: string | undefined;
527
- password?: string | undefined;
528
- encoding?: string | undefined;
529
- } | {
530
- type: "bearer";
531
- token: string;
532
- };
533
- environments: {
534
- key: string;
535
- name: string;
536
- }[];
537
- support: {
538
- link: string;
539
- description?: string | undefined;
540
- };
541
- configFields?: ({
542
- type: "text" | "password";
543
- key: string;
544
- label: string;
545
- required: boolean;
546
- secret: boolean;
547
- readOnly: boolean;
548
- placeholder?: string | undefined;
549
- description?: string | undefined;
550
- tooltip?: string | undefined;
551
- } | {
552
- type: "select";
553
- options: {
554
- value: string;
555
- label: string;
556
- }[];
557
- key: string;
558
- label: string;
559
- required: boolean;
560
- secret: boolean;
561
- readOnly: boolean;
562
- placeholder?: string | undefined;
563
- description?: string | undefined;
564
- tooltip?: string | undefined;
565
- })[] | undefined;
566
- setupFields?: ({
567
- type: "text" | "password";
568
- key: string;
569
- label: string;
570
- required: boolean;
571
- secret: boolean;
572
- readOnly: boolean;
573
- placeholder?: string | undefined;
574
- description?: string | undefined;
575
- tooltip?: string | undefined;
576
- } | {
577
- type: "select";
578
- options: {
579
- value: string;
580
- label: string;
581
- }[];
582
- key: string;
583
- label: string;
584
- required: boolean;
585
- secret: boolean;
586
- readOnly: boolean;
587
- placeholder?: string | undefined;
588
- description?: string | undefined;
589
- tooltip?: string | undefined;
590
- })[] | undefined;
591
- testOperationsIds?: string[] | undefined;
592
- }, {
593
- type: string;
594
- label: string;
595
- authorization: {
596
- type: "basic";
597
- username?: string | undefined;
598
- password?: string | undefined;
599
- encoding?: string | undefined;
600
- } | {
601
- type: "bearer";
602
- token: string;
603
- };
604
- environments: {
605
- key: string;
606
- name: string;
607
- }[];
608
- support: {
609
- link: string;
610
- description?: string | undefined;
611
- };
612
- configFields?: ({
613
- type: "text" | "password";
614
- key: string;
615
- label: string;
616
- required?: boolean | undefined;
617
- secret?: boolean | undefined;
618
- readOnly?: boolean | undefined;
619
- placeholder?: string | undefined;
620
- description?: string | undefined;
621
- tooltip?: string | undefined;
622
- } | {
623
- type: "select";
624
- options: {
625
- value: string;
626
- label: string;
627
- }[];
628
- key: string;
629
- label: string;
630
- required?: boolean | undefined;
631
- secret?: boolean | undefined;
632
- readOnly?: boolean | undefined;
633
- placeholder?: string | undefined;
634
- description?: string | undefined;
635
- tooltip?: string | undefined;
636
- })[] | undefined;
637
- setupFields?: ({
638
- type: "text" | "password";
639
- key: string;
640
- label: string;
641
- required?: boolean | undefined;
642
- secret?: boolean | undefined;
643
- readOnly?: boolean | undefined;
644
- placeholder?: string | undefined;
645
- description?: string | undefined;
646
- tooltip?: string | undefined;
647
- } | {
648
- type: "select";
649
- options: {
650
- value: string;
651
- label: string;
652
- }[];
653
- key: string;
654
- label: string;
655
- required?: boolean | undefined;
656
- secret?: boolean | undefined;
657
- readOnly?: boolean | undefined;
658
- placeholder?: string | undefined;
659
- description?: string | undefined;
660
- tooltip?: string | undefined;
661
- })[] | undefined;
662
- testOperationsIds?: string[] | undefined;
663
- }>>, "many">>;
664
- operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
665
- operationId: z.ZodString;
666
- categories: z.ZodArray<z.ZodString, "many">;
667
- operationType: z.ZodEnum<["list", "get", "create", "update", "delete", "custom", "unknown"]>;
668
- schema: z.ZodOptional<z.ZodString>;
669
- entrypointUrl: z.ZodOptional<z.ZodString>;
670
- entrypointHttpMethod: z.ZodOptional<z.ZodString>;
671
- description: z.ZodString;
672
- responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
673
- statusCode: z.ZodNumber;
674
- description: z.ZodString;
675
- }, "strip", z.ZodTypeAny, {
676
- description: string;
677
- statusCode: number;
678
- }, {
679
- description: string;
680
- statusCode: number;
681
- }>, "many">>;
682
- inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
683
- name: z.ZodString;
684
- type: z.ZodString;
685
- required: z.ZodBoolean;
686
- description: z.ZodString;
687
- in: z.ZodString;
688
- }, "strip", z.ZodTypeAny, {
689
- type: string;
690
- required: boolean;
691
- description: string;
692
- name: string;
693
- in: string;
694
- }, {
695
- type: string;
696
- required: boolean;
697
- description: string;
698
- name: string;
699
- in: string;
700
- }>, "many">>;
701
- cursor: z.ZodOptional<z.ZodObject<{
702
- enabled: z.ZodBoolean;
703
- pageSize: z.ZodNumber;
704
- }, "strip", z.ZodTypeAny, {
705
- enabled: boolean;
706
- pageSize: number;
707
- }, {
708
- enabled: boolean;
709
- pageSize: number;
710
- }>>;
711
- compositeIdentifiers: z.ZodOptional<z.ZodObject<{
712
- enabled: z.ZodBoolean;
713
- version: z.ZodOptional<z.ZodNumber>;
714
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
715
- targetFieldKey: z.ZodString;
716
- remote: z.ZodOptional<z.ZodString>;
717
- components: z.ZodArray<z.ZodString, "many">;
718
- }, "strip", z.ZodTypeAny, {
719
- targetFieldKey: string;
720
- components: string[];
721
- remote?: string | undefined;
722
- }, {
723
- targetFieldKey: string;
724
- components: string[];
725
- remote?: string | undefined;
726
- }>, "many">>;
727
- }, "strip", z.ZodTypeAny, {
728
- enabled: boolean;
729
- version?: number | undefined;
730
- fields?: {
731
- targetFieldKey: string;
732
- components: string[];
733
- remote?: string | undefined;
734
- }[] | undefined;
735
- }, {
736
- enabled: boolean;
737
- version?: number | undefined;
738
- fields?: {
739
- targetFieldKey: string;
740
- components: string[];
741
- remote?: string | undefined;
742
- }[] | undefined;
743
- }>>;
744
- fieldConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
745
- targetFieldKey: z.ZodString;
746
- alias: z.ZodOptional<z.ZodString>;
747
- expression: z.ZodString;
748
- type: z.ZodEnum<["string", "number", "boolean", "datetime_string", "enum"]>;
749
- custom: z.ZodDefault<z.ZodBoolean>;
750
- hidden: z.ZodDefault<z.ZodBoolean>;
751
- enumMapper: z.ZodOptional<z.ZodObject<{
752
- matcher: z.ZodUnion<[z.ZodEnum<["country_alpha2code_by_alpha2code", "country_alpha3code_by_alpha3code", "country_code_by_country_code", "country_name_by_country_name", "country_name_by_alpha3code", "country_name_by_alpha2code", "country_name_by_country_code", "country_alpha3code_by_alpha2code", "country_alpha3code_by_country_name", "country_alpha3code_by_country_code", "country_alpha2code_by_alpha3code", "country_alpha2code_by_country_name", "country_alpha2code_by_country_code", "country_code_by_alpha2code", "country_code_by_alpha3code", "country_code_by_country_name", "country_subdivisions_by_alpha2code", "country_subdivision_code_by_subdivision_name", "country_alpha2code_by_citizenship", "country_subdivision_name_by_subdivision_code"]>, z.ZodArray<z.ZodObject<{
753
- matchExpression: z.ZodString;
754
- value: z.ZodString;
755
- }, "strip", z.ZodTypeAny, {
756
- value: string;
757
- matchExpression: string;
758
- }, {
759
- value: string;
760
- matchExpression: string;
761
- }>, "many">]>;
762
- }, "strip", z.ZodTypeAny, {
763
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
764
- value: string;
765
- matchExpression: string;
766
- }[];
767
- }, {
768
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
769
- value: string;
770
- matchExpression: string;
771
- }[];
772
- }>>;
773
- }, "strip", z.ZodTypeAny, {
774
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
775
- custom: boolean;
776
- targetFieldKey: string;
777
- expression: string;
778
- hidden: boolean;
779
- alias?: string | undefined;
780
- enumMapper?: {
781
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
782
- value: string;
783
- matchExpression: string;
784
- }[];
785
- } | undefined;
786
- }, {
787
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
788
- targetFieldKey: string;
789
- expression: string;
790
- custom?: boolean | undefined;
791
- alias?: string | undefined;
792
- hidden?: boolean | undefined;
793
- enumMapper?: {
794
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
795
- value: string;
796
- matchExpression: string;
797
- }[];
798
- } | undefined;
799
- }>, "many">>;
800
- steps: z.ZodArray<z.ZodObject<{
801
- stepId: z.ZodString;
802
- description: z.ZodString;
803
- stepFunction: z.ZodObject<{
804
- functionName: z.ZodString;
805
- version: z.ZodOptional<z.ZodString>;
806
- parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
807
- }, "strip", z.ZodTypeAny, {
808
- functionName: string;
809
- parameters: Record<string, unknown>;
810
- version?: string | undefined;
811
- }, {
812
- functionName: string;
813
- parameters: Record<string, unknown>;
814
- version?: string | undefined;
815
- }>;
816
- condition: z.ZodOptional<z.ZodString>;
817
- ignoreError: z.ZodOptional<z.ZodBoolean>;
818
- }, "strip", z.ZodTypeAny, {
819
- description: string;
820
- stepId: string;
821
- stepFunction: {
822
- functionName: string;
823
- parameters: Record<string, unknown>;
824
- version?: string | undefined;
825
- };
826
- condition?: string | undefined;
827
- ignoreError?: boolean | undefined;
828
- }, {
829
- description: string;
830
- stepId: string;
831
- stepFunction: {
832
- functionName: string;
833
- parameters: Record<string, unknown>;
834
- version?: string | undefined;
835
- };
836
- condition?: string | undefined;
837
- ignoreError?: boolean | undefined;
838
- }>, "many">;
839
- result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
840
- }, "strip", z.ZodTypeAny, {
841
- description: string;
842
- operationId: string;
843
- categories: string[];
844
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
845
- steps: {
846
- description: string;
847
- stepId: string;
848
- stepFunction: {
849
- functionName: string;
850
- parameters: Record<string, unknown>;
851
- version?: string | undefined;
852
- };
853
- condition?: string | undefined;
854
- ignoreError?: boolean | undefined;
855
- }[];
856
- schema?: string | undefined;
857
- entrypointUrl?: string | undefined;
858
- entrypointHttpMethod?: string | undefined;
859
- responses?: {
860
- description: string;
861
- statusCode: number;
862
- }[] | undefined;
863
- inputs?: {
864
- type: string;
865
- required: boolean;
866
- description: string;
867
- name: string;
868
- in: string;
869
- }[] | undefined;
870
- cursor?: {
871
- enabled: boolean;
872
- pageSize: number;
873
- } | undefined;
874
- compositeIdentifiers?: {
875
- enabled: boolean;
876
- version?: number | undefined;
877
- fields?: {
878
- targetFieldKey: string;
879
- components: string[];
880
- remote?: string | undefined;
881
- }[] | undefined;
882
- } | undefined;
883
- fieldConfigs?: {
884
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
885
- custom: boolean;
886
- targetFieldKey: string;
887
- expression: string;
888
- hidden: boolean;
889
- alias?: string | undefined;
890
- enumMapper?: {
891
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
892
- value: string;
893
- matchExpression: string;
894
- }[];
895
- } | undefined;
896
- }[] | undefined;
897
- result?: string | Record<string, unknown> | undefined;
898
- }, {
899
- description: string;
900
- operationId: string;
901
- categories: string[];
902
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
903
- steps: {
904
- description: string;
905
- stepId: string;
906
- stepFunction: {
907
- functionName: string;
908
- parameters: Record<string, unknown>;
909
- version?: string | undefined;
910
- };
911
- condition?: string | undefined;
912
- ignoreError?: boolean | undefined;
913
- }[];
914
- schema?: string | undefined;
915
- entrypointUrl?: string | undefined;
916
- entrypointHttpMethod?: string | undefined;
917
- responses?: {
918
- description: string;
919
- statusCode: number;
920
- }[] | undefined;
921
- inputs?: {
922
- type: string;
923
- required: boolean;
924
- description: string;
925
- name: string;
926
- in: string;
927
- }[] | undefined;
928
- cursor?: {
929
- enabled: boolean;
930
- pageSize: number;
931
- } | undefined;
932
- compositeIdentifiers?: {
933
- enabled: boolean;
934
- version?: number | undefined;
935
- fields?: {
936
- targetFieldKey: string;
937
- components: string[];
938
- remote?: string | undefined;
939
- }[] | undefined;
940
- } | undefined;
941
- fieldConfigs?: {
942
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
943
- targetFieldKey: string;
944
- expression: string;
945
- custom?: boolean | undefined;
946
- alias?: string | undefined;
947
- hidden?: boolean | undefined;
948
- enumMapper?: {
949
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
950
- value: string;
951
- matchExpression: string;
952
- }[];
953
- } | undefined;
954
- }[] | undefined;
955
- result?: string | Record<string, unknown> | undefined;
956
- }>, "many">>;
957
- }, "strip", z.ZodTypeAny, {
958
- StackOne: string;
959
- info: {
960
- key: string;
961
- version: string;
962
- title: string;
963
- description?: string | undefined;
964
- };
965
- baseUrl: string;
966
- authentication?: Record<string, {
967
- type: string;
968
- label: string;
969
- authorization: {
970
- type: "basic";
971
- username?: string | undefined;
972
- password?: string | undefined;
973
- encoding?: string | undefined;
974
- } | {
975
- type: "bearer";
976
- token: string;
977
- };
978
- environments: {
979
- key: string;
980
- name: string;
981
- }[];
982
- support: {
983
- link: string;
984
- description?: string | undefined;
985
- };
986
- configFields?: ({
987
- type: "text" | "password";
988
- key: string;
989
- label: string;
990
- required: boolean;
991
- secret: boolean;
992
- readOnly: boolean;
993
- placeholder?: string | undefined;
994
- description?: string | undefined;
995
- tooltip?: string | undefined;
996
- } | {
997
- type: "select";
998
- options: {
999
- value: string;
1000
- label: string;
1001
- }[];
1002
- key: string;
1003
- label: string;
1004
- required: boolean;
1005
- secret: boolean;
1006
- readOnly: boolean;
1007
- placeholder?: string | undefined;
1008
- description?: string | undefined;
1009
- tooltip?: string | undefined;
1010
- })[] | undefined;
1011
- setupFields?: ({
1012
- type: "text" | "password";
1013
- key: string;
1014
- label: string;
1015
- required: boolean;
1016
- secret: boolean;
1017
- readOnly: boolean;
1018
- placeholder?: string | undefined;
1019
- description?: string | undefined;
1020
- tooltip?: string | undefined;
1021
- } | {
1022
- type: "select";
1023
- options: {
1024
- value: string;
1025
- label: string;
1026
- }[];
1027
- key: string;
1028
- label: string;
1029
- required: boolean;
1030
- secret: boolean;
1031
- readOnly: boolean;
1032
- placeholder?: string | undefined;
1033
- description?: string | undefined;
1034
- tooltip?: string | undefined;
1035
- })[] | undefined;
1036
- testOperationsIds?: string[] | undefined;
1037
- }>[] | undefined;
1038
- operations?: {
1039
- description: string;
1040
- operationId: string;
1041
- categories: string[];
1042
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
1043
- steps: {
1044
- description: string;
1045
- stepId: string;
1046
- stepFunction: {
1047
- functionName: string;
1048
- parameters: Record<string, unknown>;
1049
- version?: string | undefined;
1050
- };
1051
- condition?: string | undefined;
1052
- ignoreError?: boolean | undefined;
1053
- }[];
1054
- schema?: string | undefined;
1055
- entrypointUrl?: string | undefined;
1056
- entrypointHttpMethod?: string | undefined;
1057
- responses?: {
1058
- description: string;
1059
- statusCode: number;
1060
- }[] | undefined;
1061
- inputs?: {
1062
- type: string;
1063
- required: boolean;
1064
- description: string;
1065
- name: string;
1066
- in: string;
1067
- }[] | undefined;
1068
- cursor?: {
1069
- enabled: boolean;
1070
- pageSize: number;
1071
- } | undefined;
1072
- compositeIdentifiers?: {
1073
- enabled: boolean;
1074
- version?: number | undefined;
1075
- fields?: {
1076
- targetFieldKey: string;
1077
- components: string[];
1078
- remote?: string | undefined;
1079
- }[] | undefined;
1080
- } | undefined;
1081
- fieldConfigs?: {
1082
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
1083
- custom: boolean;
1084
- targetFieldKey: string;
1085
- expression: string;
1086
- hidden: boolean;
1087
- alias?: string | undefined;
1088
- enumMapper?: {
1089
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
1090
- value: string;
1091
- matchExpression: string;
1092
- }[];
1093
- } | undefined;
1094
- }[] | undefined;
1095
- result?: string | Record<string, unknown> | undefined;
1096
- }[] | undefined;
1097
- }, {
1098
- StackOne: string;
1099
- info: {
1100
- key: string;
1101
- version: string;
1102
- title: string;
1103
- description?: string | undefined;
1104
- };
1105
- baseUrl: string;
1106
- authentication?: Record<string, {
1107
- type: string;
1108
- label: string;
1109
- authorization: {
1110
- type: "basic";
1111
- username?: string | undefined;
1112
- password?: string | undefined;
1113
- encoding?: string | undefined;
1114
- } | {
1115
- type: "bearer";
1116
- token: string;
1117
- };
1118
- environments: {
1119
- key: string;
1120
- name: string;
1121
- }[];
1122
- support: {
1123
- link: string;
1124
- description?: string | undefined;
1125
- };
1126
- configFields?: ({
1127
- type: "text" | "password";
1128
- key: string;
1129
- label: string;
1130
- required?: boolean | undefined;
1131
- secret?: boolean | undefined;
1132
- readOnly?: boolean | undefined;
1133
- placeholder?: string | undefined;
1134
- description?: string | undefined;
1135
- tooltip?: string | undefined;
1136
- } | {
1137
- type: "select";
1138
- options: {
1139
- value: string;
1140
- label: string;
1141
- }[];
1142
- key: string;
1143
- label: string;
1144
- required?: boolean | undefined;
1145
- secret?: boolean | undefined;
1146
- readOnly?: boolean | undefined;
1147
- placeholder?: string | undefined;
1148
- description?: string | undefined;
1149
- tooltip?: string | undefined;
1150
- })[] | undefined;
1151
- setupFields?: ({
1152
- type: "text" | "password";
1153
- key: string;
1154
- label: string;
1155
- required?: boolean | undefined;
1156
- secret?: boolean | undefined;
1157
- readOnly?: boolean | undefined;
1158
- placeholder?: string | undefined;
1159
- description?: string | undefined;
1160
- tooltip?: string | undefined;
1161
- } | {
1162
- type: "select";
1163
- options: {
1164
- value: string;
1165
- label: string;
1166
- }[];
1167
- key: string;
1168
- label: string;
1169
- required?: boolean | undefined;
1170
- secret?: boolean | undefined;
1171
- readOnly?: boolean | undefined;
1172
- placeholder?: string | undefined;
1173
- description?: string | undefined;
1174
- tooltip?: string | undefined;
1175
- })[] | undefined;
1176
- testOperationsIds?: string[] | undefined;
1177
- }>[] | undefined;
1178
- operations?: {
1179
- description: string;
1180
- operationId: string;
1181
- categories: string[];
1182
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
1183
- steps: {
1184
- description: string;
1185
- stepId: string;
1186
- stepFunction: {
1187
- functionName: string;
1188
- parameters: Record<string, unknown>;
1189
- version?: string | undefined;
1190
- };
1191
- condition?: string | undefined;
1192
- ignoreError?: boolean | undefined;
1193
- }[];
1194
- schema?: string | undefined;
1195
- entrypointUrl?: string | undefined;
1196
- entrypointHttpMethod?: string | undefined;
1197
- responses?: {
1198
- description: string;
1199
- statusCode: number;
1200
- }[] | undefined;
1201
- inputs?: {
1202
- type: string;
1203
- required: boolean;
1204
- description: string;
1205
- name: string;
1206
- in: string;
1207
- }[] | undefined;
1208
- cursor?: {
1209
- enabled: boolean;
1210
- pageSize: number;
1211
- } | undefined;
1212
- compositeIdentifiers?: {
1213
- enabled: boolean;
1214
- version?: number | undefined;
1215
- fields?: {
1216
- targetFieldKey: string;
1217
- components: string[];
1218
- remote?: string | undefined;
1219
- }[] | undefined;
1220
- } | undefined;
1221
- fieldConfigs?: {
1222
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
1223
- targetFieldKey: string;
1224
- expression: string;
1225
- custom?: boolean | undefined;
1226
- alias?: string | undefined;
1227
- hidden?: boolean | undefined;
1228
- enumMapper?: {
1229
- matcher: "country_alpha2code_by_alpha2code" | "country_alpha3code_by_alpha3code" | "country_code_by_country_code" | "country_name_by_country_name" | "country_name_by_alpha3code" | "country_name_by_alpha2code" | "country_name_by_country_code" | "country_alpha3code_by_alpha2code" | "country_alpha3code_by_country_name" | "country_alpha3code_by_country_code" | "country_alpha2code_by_alpha3code" | "country_alpha2code_by_country_name" | "country_alpha2code_by_country_code" | "country_code_by_alpha2code" | "country_code_by_alpha3code" | "country_code_by_country_name" | "country_subdivisions_by_alpha2code" | "country_subdivision_code_by_subdivision_name" | "country_alpha2code_by_citizenship" | "country_subdivision_name_by_subdivision_code" | {
1230
- value: string;
1231
- matchExpression: string;
1232
- }[];
1233
- } | undefined;
1234
- }[] | undefined;
1235
- result?: string | Record<string, unknown> | undefined;
1236
- }[] | undefined;
1237
- }>;