@stackone/connect-sdk 1.33.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1457 +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
- scheduledJobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
- enabled: z.ZodBoolean;
84
- type: z.ZodEnum<["data_sync"]>;
85
- schedule: z.ZodString;
86
- description: z.ZodString;
87
- requestParams: z.ZodOptional<z.ZodObject<{
88
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
89
- expand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
90
- filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
91
- }, "strip", z.ZodTypeAny, {
92
- filter?: Record<string, string> | undefined;
93
- fields?: string[] | undefined;
94
- expand?: string[] | undefined;
95
- }, {
96
- filter?: Record<string, string> | undefined;
97
- fields?: string[] | undefined;
98
- expand?: string[] | undefined;
99
- }>>;
100
- syncFilter: z.ZodOptional<z.ZodObject<{
101
- name: z.ZodEnum<["updated_after", "created_after"]>;
102
- initialLoopbackPeriod: z.ZodString;
103
- incrementalLoopbackPeriod: z.ZodString;
104
- }, "strip", z.ZodTypeAny, {
105
- name: "updated_after" | "created_after";
106
- initialLoopbackPeriod: string;
107
- incrementalLoopbackPeriod: string;
108
- }, {
109
- name: "updated_after" | "created_after";
110
- initialLoopbackPeriod: string;
111
- incrementalLoopbackPeriod: string;
112
- }>>;
113
- }, "strip", z.ZodTypeAny, {
114
- type: "data_sync";
115
- description: string;
116
- enabled: boolean;
117
- schedule: string;
118
- requestParams?: {
119
- filter?: Record<string, string> | undefined;
120
- fields?: string[] | undefined;
121
- expand?: string[] | undefined;
122
- } | undefined;
123
- syncFilter?: {
124
- name: "updated_after" | "created_after";
125
- initialLoopbackPeriod: string;
126
- incrementalLoopbackPeriod: string;
127
- } | undefined;
128
- }, {
129
- type: "data_sync";
130
- description: string;
131
- enabled: boolean;
132
- schedule: string;
133
- requestParams?: {
134
- filter?: Record<string, string> | undefined;
135
- fields?: string[] | undefined;
136
- expand?: string[] | undefined;
137
- } | undefined;
138
- syncFilter?: {
139
- name: "updated_after" | "created_after";
140
- initialLoopbackPeriod: string;
141
- incrementalLoopbackPeriod: string;
142
- } | undefined;
143
- }>, "many">>;
144
- fieldConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
145
- targetFieldKey: z.ZodString;
146
- alias: z.ZodOptional<z.ZodString>;
147
- expression: z.ZodString;
148
- type: z.ZodEnum<["string", "number", "boolean", "datetime_string", "enum"]>;
149
- custom: z.ZodDefault<z.ZodBoolean>;
150
- hidden: z.ZodDefault<z.ZodBoolean>;
151
- enumMapper: z.ZodOptional<z.ZodObject<{
152
- 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<{
153
- matchExpression: z.ZodString;
154
- value: z.ZodString;
155
- }, "strip", z.ZodTypeAny, {
156
- value: string;
157
- matchExpression: string;
158
- }, {
159
- value: string;
160
- matchExpression: string;
161
- }>, "many">]>;
162
- }, "strip", z.ZodTypeAny, {
163
- 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" | {
164
- value: string;
165
- matchExpression: string;
166
- }[];
167
- }, {
168
- 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" | {
169
- value: string;
170
- matchExpression: string;
171
- }[];
172
- }>>;
173
- }, "strip", z.ZodTypeAny, {
174
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
175
- custom: boolean;
176
- targetFieldKey: string;
177
- expression: string;
178
- hidden: boolean;
179
- alias?: string | undefined;
180
- enumMapper?: {
181
- 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" | {
182
- value: string;
183
- matchExpression: string;
184
- }[];
185
- } | undefined;
186
- }, {
187
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
188
- targetFieldKey: string;
189
- expression: string;
190
- custom?: boolean | undefined;
191
- alias?: string | undefined;
192
- hidden?: boolean | undefined;
193
- enumMapper?: {
194
- 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" | {
195
- value: string;
196
- matchExpression: string;
197
- }[];
198
- } | undefined;
199
- }>, "many">>;
200
- steps: z.ZodArray<z.ZodObject<{
201
- stepId: z.ZodString;
202
- description: z.ZodString;
203
- stepFunction: z.ZodObject<{
204
- functionName: z.ZodString;
205
- version: z.ZodOptional<z.ZodString>;
206
- parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
207
- }, "strip", z.ZodTypeAny, {
208
- functionName: string;
209
- parameters: Record<string, unknown>;
210
- version?: string | undefined;
211
- }, {
212
- functionName: string;
213
- parameters: Record<string, unknown>;
214
- version?: string | undefined;
215
- }>;
216
- condition: z.ZodOptional<z.ZodString>;
217
- ignoreError: z.ZodOptional<z.ZodBoolean>;
218
- }, "strip", z.ZodTypeAny, {
219
- description: string;
220
- stepId: string;
221
- stepFunction: {
222
- functionName: string;
223
- parameters: Record<string, unknown>;
224
- version?: string | undefined;
225
- };
226
- condition?: string | undefined;
227
- ignoreError?: boolean | undefined;
228
- }, {
229
- description: string;
230
- stepId: string;
231
- stepFunction: {
232
- functionName: string;
233
- parameters: Record<string, unknown>;
234
- version?: string | undefined;
235
- };
236
- condition?: string | undefined;
237
- ignoreError?: boolean | undefined;
238
- }>, "many">;
239
- result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
240
- }, "strip", z.ZodTypeAny, {
241
- description: string;
242
- operationId: string;
243
- categories: string[];
244
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
245
- steps: {
246
- description: string;
247
- stepId: string;
248
- stepFunction: {
249
- functionName: string;
250
- parameters: Record<string, unknown>;
251
- version?: string | undefined;
252
- };
253
- condition?: string | undefined;
254
- ignoreError?: boolean | undefined;
255
- }[];
256
- schema?: string | undefined;
257
- entrypointUrl?: string | undefined;
258
- entrypointHttpMethod?: string | undefined;
259
- responses?: {
260
- description: string;
261
- statusCode: number;
262
- }[] | undefined;
263
- inputs?: {
264
- type: string;
265
- required: boolean;
266
- description: string;
267
- name: string;
268
- in: string;
269
- }[] | undefined;
270
- cursor?: {
271
- enabled: boolean;
272
- pageSize: number;
273
- } | undefined;
274
- compositeIdentifiers?: {
275
- enabled: boolean;
276
- version?: number | undefined;
277
- fields?: {
278
- targetFieldKey: string;
279
- components: string[];
280
- remote?: string | undefined;
281
- }[] | undefined;
282
- } | undefined;
283
- scheduledJobs?: {
284
- type: "data_sync";
285
- description: string;
286
- enabled: boolean;
287
- schedule: string;
288
- requestParams?: {
289
- filter?: Record<string, string> | undefined;
290
- fields?: string[] | undefined;
291
- expand?: string[] | undefined;
292
- } | undefined;
293
- syncFilter?: {
294
- name: "updated_after" | "created_after";
295
- initialLoopbackPeriod: string;
296
- incrementalLoopbackPeriod: string;
297
- } | undefined;
298
- }[] | undefined;
299
- fieldConfigs?: {
300
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
301
- custom: boolean;
302
- targetFieldKey: string;
303
- expression: string;
304
- hidden: boolean;
305
- alias?: string | undefined;
306
- enumMapper?: {
307
- 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" | {
308
- value: string;
309
- matchExpression: string;
310
- }[];
311
- } | undefined;
312
- }[] | undefined;
313
- result?: string | Record<string, unknown> | undefined;
314
- }, {
315
- description: string;
316
- operationId: string;
317
- categories: string[];
318
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
319
- steps: {
320
- description: string;
321
- stepId: string;
322
- stepFunction: {
323
- functionName: string;
324
- parameters: Record<string, unknown>;
325
- version?: string | undefined;
326
- };
327
- condition?: string | undefined;
328
- ignoreError?: boolean | undefined;
329
- }[];
330
- schema?: string | undefined;
331
- entrypointUrl?: string | undefined;
332
- entrypointHttpMethod?: string | undefined;
333
- responses?: {
334
- description: string;
335
- statusCode: number;
336
- }[] | undefined;
337
- inputs?: {
338
- type: string;
339
- required: boolean;
340
- description: string;
341
- name: string;
342
- in: string;
343
- }[] | undefined;
344
- cursor?: {
345
- enabled: boolean;
346
- pageSize: number;
347
- } | undefined;
348
- compositeIdentifiers?: {
349
- enabled: boolean;
350
- version?: number | undefined;
351
- fields?: {
352
- targetFieldKey: string;
353
- components: string[];
354
- remote?: string | undefined;
355
- }[] | undefined;
356
- } | undefined;
357
- scheduledJobs?: {
358
- type: "data_sync";
359
- description: string;
360
- enabled: boolean;
361
- schedule: string;
362
- requestParams?: {
363
- filter?: Record<string, string> | undefined;
364
- fields?: string[] | undefined;
365
- expand?: string[] | undefined;
366
- } | undefined;
367
- syncFilter?: {
368
- name: "updated_after" | "created_after";
369
- initialLoopbackPeriod: string;
370
- incrementalLoopbackPeriod: string;
371
- } | undefined;
372
- }[] | undefined;
373
- fieldConfigs?: {
374
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
375
- targetFieldKey: string;
376
- expression: string;
377
- custom?: boolean | undefined;
378
- alias?: string | undefined;
379
- hidden?: boolean | undefined;
380
- enumMapper?: {
381
- 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" | {
382
- value: string;
383
- matchExpression: string;
384
- }[];
385
- } | undefined;
386
- }[] | undefined;
387
- result?: string | Record<string, unknown> | undefined;
388
- }>;
389
- export declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
390
- StackOne: z.ZodString;
391
- info: z.ZodObject<{
392
- title: z.ZodString;
393
- version: z.ZodString;
394
- key: z.ZodString;
395
- description: z.ZodOptional<z.ZodString>;
396
- }, "strip", z.ZodTypeAny, {
397
- key: string;
398
- version: string;
399
- title: string;
400
- description?: string | undefined;
401
- }, {
402
- key: string;
403
- version: string;
404
- title: string;
405
- description?: string | undefined;
406
- }>;
407
- baseUrl: z.ZodString;
408
- authentication: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
409
- type: z.ZodString;
410
- label: z.ZodString;
411
- authorization: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
412
- type: z.ZodLiteral<"basic">;
413
- username: z.ZodOptional<z.ZodString>;
414
- password: z.ZodOptional<z.ZodString>;
415
- encoding: z.ZodOptional<z.ZodString>;
416
- }, "strip", z.ZodTypeAny, {
417
- type: "basic";
418
- username?: string | undefined;
419
- password?: string | undefined;
420
- encoding?: string | undefined;
421
- }, {
422
- type: "basic";
423
- username?: string | undefined;
424
- password?: string | undefined;
425
- encoding?: string | undefined;
426
- }>, z.ZodObject<{
427
- type: z.ZodLiteral<"bearer">;
428
- token: z.ZodString;
429
- }, "strip", z.ZodTypeAny, {
430
- type: "bearer";
431
- token: string;
432
- }, {
433
- type: "bearer";
434
- token: string;
435
- }>]>;
436
- environments: z.ZodArray<z.ZodObject<{
437
- key: z.ZodString;
438
- name: z.ZodString;
439
- }, "strip", z.ZodTypeAny, {
440
- key: string;
441
- name: string;
442
- }, {
443
- key: string;
444
- name: string;
445
- }>, "many">;
446
- support: z.ZodObject<{
447
- link: z.ZodString;
448
- description: z.ZodOptional<z.ZodString>;
449
- }, "strip", z.ZodTypeAny, {
450
- link: string;
451
- description?: string | undefined;
452
- }, {
453
- link: string;
454
- description?: string | undefined;
455
- }>;
456
- configFields: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
457
- type: z.ZodEnum<["text", "password"]>;
458
- key: z.ZodString;
459
- label: z.ZodString;
460
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
461
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
462
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
463
- placeholder: z.ZodOptional<z.ZodString>;
464
- description: z.ZodOptional<z.ZodString>;
465
- tooltip: z.ZodOptional<z.ZodString>;
466
- }, "strip", z.ZodTypeAny, {
467
- type: "text" | "password";
468
- key: string;
469
- label: string;
470
- required: boolean;
471
- secret: boolean;
472
- readOnly: boolean;
473
- placeholder?: string | undefined;
474
- description?: string | undefined;
475
- tooltip?: string | undefined;
476
- }, {
477
- type: "text" | "password";
478
- key: string;
479
- label: string;
480
- required?: boolean | undefined;
481
- secret?: boolean | undefined;
482
- readOnly?: boolean | undefined;
483
- placeholder?: string | undefined;
484
- description?: string | undefined;
485
- tooltip?: string | undefined;
486
- }>, z.ZodObject<{
487
- type: z.ZodLiteral<"select">;
488
- options: z.ZodArray<z.ZodObject<{
489
- value: z.ZodString;
490
- label: z.ZodString;
491
- }, "strip", z.ZodTypeAny, {
492
- value: string;
493
- label: string;
494
- }, {
495
- value: string;
496
- label: string;
497
- }>, "many">;
498
- key: z.ZodString;
499
- label: z.ZodString;
500
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
501
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
502
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
503
- placeholder: z.ZodOptional<z.ZodString>;
504
- description: z.ZodOptional<z.ZodString>;
505
- tooltip: z.ZodOptional<z.ZodString>;
506
- }, "strip", z.ZodTypeAny, {
507
- type: "select";
508
- options: {
509
- value: string;
510
- label: string;
511
- }[];
512
- key: string;
513
- label: string;
514
- required: boolean;
515
- secret: boolean;
516
- readOnly: boolean;
517
- placeholder?: string | undefined;
518
- description?: string | undefined;
519
- tooltip?: string | undefined;
520
- }, {
521
- type: "select";
522
- options: {
523
- value: string;
524
- label: string;
525
- }[];
526
- key: string;
527
- label: string;
528
- required?: boolean | undefined;
529
- secret?: boolean | undefined;
530
- readOnly?: boolean | undefined;
531
- placeholder?: string | undefined;
532
- description?: string | undefined;
533
- tooltip?: string | undefined;
534
- }>]>, "many">>;
535
- setupFields: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
536
- type: z.ZodEnum<["text", "password"]>;
537
- key: z.ZodString;
538
- label: z.ZodString;
539
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
540
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
541
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
542
- placeholder: z.ZodOptional<z.ZodString>;
543
- description: z.ZodOptional<z.ZodString>;
544
- tooltip: z.ZodOptional<z.ZodString>;
545
- }, "strip", z.ZodTypeAny, {
546
- type: "text" | "password";
547
- key: string;
548
- label: string;
549
- required: boolean;
550
- secret: boolean;
551
- readOnly: boolean;
552
- placeholder?: string | undefined;
553
- description?: string | undefined;
554
- tooltip?: string | undefined;
555
- }, {
556
- type: "text" | "password";
557
- key: string;
558
- label: string;
559
- required?: boolean | undefined;
560
- secret?: boolean | undefined;
561
- readOnly?: boolean | undefined;
562
- placeholder?: string | undefined;
563
- description?: string | undefined;
564
- tooltip?: string | undefined;
565
- }>, z.ZodObject<{
566
- type: z.ZodLiteral<"select">;
567
- options: z.ZodArray<z.ZodObject<{
568
- value: z.ZodString;
569
- label: z.ZodString;
570
- }, "strip", z.ZodTypeAny, {
571
- value: string;
572
- label: string;
573
- }, {
574
- value: string;
575
- label: string;
576
- }>, "many">;
577
- key: z.ZodString;
578
- label: z.ZodString;
579
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
580
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
581
- readOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
582
- placeholder: z.ZodOptional<z.ZodString>;
583
- description: z.ZodOptional<z.ZodString>;
584
- tooltip: z.ZodOptional<z.ZodString>;
585
- }, "strip", z.ZodTypeAny, {
586
- type: "select";
587
- options: {
588
- value: string;
589
- label: string;
590
- }[];
591
- key: string;
592
- label: string;
593
- required: boolean;
594
- secret: boolean;
595
- readOnly: boolean;
596
- placeholder?: string | undefined;
597
- description?: string | undefined;
598
- tooltip?: string | undefined;
599
- }, {
600
- type: "select";
601
- options: {
602
- value: string;
603
- label: string;
604
- }[];
605
- key: string;
606
- label: string;
607
- required?: boolean | undefined;
608
- secret?: boolean | undefined;
609
- readOnly?: boolean | undefined;
610
- placeholder?: string | undefined;
611
- description?: string | undefined;
612
- tooltip?: string | undefined;
613
- }>]>, "many">>;
614
- testOperationsIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
615
- }, "strip", z.ZodTypeAny, {
616
- type: string;
617
- label: string;
618
- authorization: {
619
- type: "basic";
620
- username?: string | undefined;
621
- password?: string | undefined;
622
- encoding?: string | undefined;
623
- } | {
624
- type: "bearer";
625
- token: string;
626
- };
627
- environments: {
628
- key: string;
629
- name: string;
630
- }[];
631
- support: {
632
- link: string;
633
- description?: string | undefined;
634
- };
635
- configFields?: ({
636
- type: "text" | "password";
637
- key: string;
638
- label: string;
639
- required: boolean;
640
- secret: boolean;
641
- readOnly: boolean;
642
- placeholder?: string | undefined;
643
- description?: string | undefined;
644
- tooltip?: string | undefined;
645
- } | {
646
- type: "select";
647
- options: {
648
- value: string;
649
- label: string;
650
- }[];
651
- key: string;
652
- label: string;
653
- required: boolean;
654
- secret: boolean;
655
- readOnly: boolean;
656
- placeholder?: string | undefined;
657
- description?: string | undefined;
658
- tooltip?: string | undefined;
659
- })[] | undefined;
660
- setupFields?: ({
661
- type: "text" | "password";
662
- key: string;
663
- label: string;
664
- required: boolean;
665
- secret: boolean;
666
- readOnly: boolean;
667
- placeholder?: string | undefined;
668
- description?: string | undefined;
669
- tooltip?: string | undefined;
670
- } | {
671
- type: "select";
672
- options: {
673
- value: string;
674
- label: string;
675
- }[];
676
- key: string;
677
- label: string;
678
- required: boolean;
679
- secret: boolean;
680
- readOnly: boolean;
681
- placeholder?: string | undefined;
682
- description?: string | undefined;
683
- tooltip?: string | undefined;
684
- })[] | undefined;
685
- testOperationsIds?: string[] | undefined;
686
- }, {
687
- type: string;
688
- label: string;
689
- authorization: {
690
- type: "basic";
691
- username?: string | undefined;
692
- password?: string | undefined;
693
- encoding?: string | undefined;
694
- } | {
695
- type: "bearer";
696
- token: string;
697
- };
698
- environments: {
699
- key: string;
700
- name: string;
701
- }[];
702
- support: {
703
- link: string;
704
- description?: string | undefined;
705
- };
706
- configFields?: ({
707
- type: "text" | "password";
708
- key: string;
709
- label: string;
710
- required?: boolean | undefined;
711
- secret?: boolean | undefined;
712
- readOnly?: boolean | undefined;
713
- placeholder?: string | undefined;
714
- description?: string | undefined;
715
- tooltip?: string | undefined;
716
- } | {
717
- type: "select";
718
- options: {
719
- value: string;
720
- label: string;
721
- }[];
722
- key: string;
723
- label: string;
724
- required?: boolean | undefined;
725
- secret?: boolean | undefined;
726
- readOnly?: boolean | undefined;
727
- placeholder?: string | undefined;
728
- description?: string | undefined;
729
- tooltip?: string | undefined;
730
- })[] | undefined;
731
- setupFields?: ({
732
- type: "text" | "password";
733
- key: string;
734
- label: string;
735
- required?: boolean | undefined;
736
- secret?: boolean | undefined;
737
- readOnly?: boolean | undefined;
738
- placeholder?: string | undefined;
739
- description?: string | undefined;
740
- tooltip?: string | undefined;
741
- } | {
742
- type: "select";
743
- options: {
744
- value: string;
745
- label: string;
746
- }[];
747
- key: string;
748
- label: string;
749
- required?: boolean | undefined;
750
- secret?: boolean | undefined;
751
- readOnly?: boolean | undefined;
752
- placeholder?: string | undefined;
753
- description?: string | undefined;
754
- tooltip?: string | undefined;
755
- })[] | undefined;
756
- testOperationsIds?: string[] | undefined;
757
- }>>, "many">>;
758
- operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
759
- operationId: z.ZodString;
760
- categories: z.ZodArray<z.ZodString, "many">;
761
- operationType: z.ZodEnum<["list", "get", "create", "update", "delete", "custom", "unknown"]>;
762
- schema: z.ZodOptional<z.ZodString>;
763
- entrypointUrl: z.ZodOptional<z.ZodString>;
764
- entrypointHttpMethod: z.ZodOptional<z.ZodString>;
765
- description: z.ZodString;
766
- responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
767
- statusCode: z.ZodNumber;
768
- description: z.ZodString;
769
- }, "strip", z.ZodTypeAny, {
770
- description: string;
771
- statusCode: number;
772
- }, {
773
- description: string;
774
- statusCode: number;
775
- }>, "many">>;
776
- inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
- name: z.ZodString;
778
- type: z.ZodString;
779
- required: z.ZodBoolean;
780
- description: z.ZodString;
781
- in: z.ZodString;
782
- }, "strip", z.ZodTypeAny, {
783
- type: string;
784
- required: boolean;
785
- description: string;
786
- name: string;
787
- in: string;
788
- }, {
789
- type: string;
790
- required: boolean;
791
- description: string;
792
- name: string;
793
- in: string;
794
- }>, "many">>;
795
- cursor: z.ZodOptional<z.ZodObject<{
796
- enabled: z.ZodBoolean;
797
- pageSize: z.ZodNumber;
798
- }, "strip", z.ZodTypeAny, {
799
- enabled: boolean;
800
- pageSize: number;
801
- }, {
802
- enabled: boolean;
803
- pageSize: number;
804
- }>>;
805
- compositeIdentifiers: z.ZodOptional<z.ZodObject<{
806
- enabled: z.ZodBoolean;
807
- version: z.ZodOptional<z.ZodNumber>;
808
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
809
- targetFieldKey: z.ZodString;
810
- remote: z.ZodOptional<z.ZodString>;
811
- components: z.ZodArray<z.ZodString, "many">;
812
- }, "strip", z.ZodTypeAny, {
813
- targetFieldKey: string;
814
- components: string[];
815
- remote?: string | undefined;
816
- }, {
817
- targetFieldKey: string;
818
- components: string[];
819
- remote?: string | undefined;
820
- }>, "many">>;
821
- }, "strip", z.ZodTypeAny, {
822
- enabled: boolean;
823
- version?: number | undefined;
824
- fields?: {
825
- targetFieldKey: string;
826
- components: string[];
827
- remote?: string | undefined;
828
- }[] | undefined;
829
- }, {
830
- enabled: boolean;
831
- version?: number | undefined;
832
- fields?: {
833
- targetFieldKey: string;
834
- components: string[];
835
- remote?: string | undefined;
836
- }[] | undefined;
837
- }>>;
838
- scheduledJobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
839
- enabled: z.ZodBoolean;
840
- type: z.ZodEnum<["data_sync"]>;
841
- schedule: z.ZodString;
842
- description: z.ZodString;
843
- requestParams: z.ZodOptional<z.ZodObject<{
844
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
845
- expand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
846
- filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
847
- }, "strip", z.ZodTypeAny, {
848
- filter?: Record<string, string> | undefined;
849
- fields?: string[] | undefined;
850
- expand?: string[] | undefined;
851
- }, {
852
- filter?: Record<string, string> | undefined;
853
- fields?: string[] | undefined;
854
- expand?: string[] | undefined;
855
- }>>;
856
- syncFilter: z.ZodOptional<z.ZodObject<{
857
- name: z.ZodEnum<["updated_after", "created_after"]>;
858
- initialLoopbackPeriod: z.ZodString;
859
- incrementalLoopbackPeriod: z.ZodString;
860
- }, "strip", z.ZodTypeAny, {
861
- name: "updated_after" | "created_after";
862
- initialLoopbackPeriod: string;
863
- incrementalLoopbackPeriod: string;
864
- }, {
865
- name: "updated_after" | "created_after";
866
- initialLoopbackPeriod: string;
867
- incrementalLoopbackPeriod: string;
868
- }>>;
869
- }, "strip", z.ZodTypeAny, {
870
- type: "data_sync";
871
- description: string;
872
- enabled: boolean;
873
- schedule: string;
874
- requestParams?: {
875
- filter?: Record<string, string> | undefined;
876
- fields?: string[] | undefined;
877
- expand?: string[] | undefined;
878
- } | undefined;
879
- syncFilter?: {
880
- name: "updated_after" | "created_after";
881
- initialLoopbackPeriod: string;
882
- incrementalLoopbackPeriod: string;
883
- } | undefined;
884
- }, {
885
- type: "data_sync";
886
- description: string;
887
- enabled: boolean;
888
- schedule: string;
889
- requestParams?: {
890
- filter?: Record<string, string> | undefined;
891
- fields?: string[] | undefined;
892
- expand?: string[] | undefined;
893
- } | undefined;
894
- syncFilter?: {
895
- name: "updated_after" | "created_after";
896
- initialLoopbackPeriod: string;
897
- incrementalLoopbackPeriod: string;
898
- } | undefined;
899
- }>, "many">>;
900
- fieldConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
901
- targetFieldKey: z.ZodString;
902
- alias: z.ZodOptional<z.ZodString>;
903
- expression: z.ZodString;
904
- type: z.ZodEnum<["string", "number", "boolean", "datetime_string", "enum"]>;
905
- custom: z.ZodDefault<z.ZodBoolean>;
906
- hidden: z.ZodDefault<z.ZodBoolean>;
907
- enumMapper: z.ZodOptional<z.ZodObject<{
908
- 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<{
909
- matchExpression: z.ZodString;
910
- value: z.ZodString;
911
- }, "strip", z.ZodTypeAny, {
912
- value: string;
913
- matchExpression: string;
914
- }, {
915
- value: string;
916
- matchExpression: string;
917
- }>, "many">]>;
918
- }, "strip", z.ZodTypeAny, {
919
- 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" | {
920
- value: string;
921
- matchExpression: string;
922
- }[];
923
- }, {
924
- 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" | {
925
- value: string;
926
- matchExpression: string;
927
- }[];
928
- }>>;
929
- }, "strip", z.ZodTypeAny, {
930
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
931
- custom: boolean;
932
- targetFieldKey: string;
933
- expression: string;
934
- hidden: boolean;
935
- alias?: string | undefined;
936
- enumMapper?: {
937
- 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" | {
938
- value: string;
939
- matchExpression: string;
940
- }[];
941
- } | undefined;
942
- }, {
943
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
944
- targetFieldKey: string;
945
- expression: string;
946
- custom?: boolean | undefined;
947
- alias?: string | undefined;
948
- hidden?: boolean | undefined;
949
- enumMapper?: {
950
- 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" | {
951
- value: string;
952
- matchExpression: string;
953
- }[];
954
- } | undefined;
955
- }>, "many">>;
956
- steps: z.ZodArray<z.ZodObject<{
957
- stepId: z.ZodString;
958
- description: z.ZodString;
959
- stepFunction: z.ZodObject<{
960
- functionName: z.ZodString;
961
- version: z.ZodOptional<z.ZodString>;
962
- parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
963
- }, "strip", z.ZodTypeAny, {
964
- functionName: string;
965
- parameters: Record<string, unknown>;
966
- version?: string | undefined;
967
- }, {
968
- functionName: string;
969
- parameters: Record<string, unknown>;
970
- version?: string | undefined;
971
- }>;
972
- condition: z.ZodOptional<z.ZodString>;
973
- ignoreError: z.ZodOptional<z.ZodBoolean>;
974
- }, "strip", z.ZodTypeAny, {
975
- description: string;
976
- stepId: string;
977
- stepFunction: {
978
- functionName: string;
979
- parameters: Record<string, unknown>;
980
- version?: string | undefined;
981
- };
982
- condition?: string | undefined;
983
- ignoreError?: boolean | undefined;
984
- }, {
985
- description: string;
986
- stepId: string;
987
- stepFunction: {
988
- functionName: string;
989
- parameters: Record<string, unknown>;
990
- version?: string | undefined;
991
- };
992
- condition?: string | undefined;
993
- ignoreError?: boolean | undefined;
994
- }>, "many">;
995
- result: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
996
- }, "strip", z.ZodTypeAny, {
997
- description: string;
998
- operationId: string;
999
- categories: string[];
1000
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
1001
- steps: {
1002
- description: string;
1003
- stepId: string;
1004
- stepFunction: {
1005
- functionName: string;
1006
- parameters: Record<string, unknown>;
1007
- version?: string | undefined;
1008
- };
1009
- condition?: string | undefined;
1010
- ignoreError?: boolean | undefined;
1011
- }[];
1012
- schema?: string | undefined;
1013
- entrypointUrl?: string | undefined;
1014
- entrypointHttpMethod?: string | undefined;
1015
- responses?: {
1016
- description: string;
1017
- statusCode: number;
1018
- }[] | undefined;
1019
- inputs?: {
1020
- type: string;
1021
- required: boolean;
1022
- description: string;
1023
- name: string;
1024
- in: string;
1025
- }[] | undefined;
1026
- cursor?: {
1027
- enabled: boolean;
1028
- pageSize: number;
1029
- } | undefined;
1030
- compositeIdentifiers?: {
1031
- enabled: boolean;
1032
- version?: number | undefined;
1033
- fields?: {
1034
- targetFieldKey: string;
1035
- components: string[];
1036
- remote?: string | undefined;
1037
- }[] | undefined;
1038
- } | undefined;
1039
- scheduledJobs?: {
1040
- type: "data_sync";
1041
- description: string;
1042
- enabled: boolean;
1043
- schedule: string;
1044
- requestParams?: {
1045
- filter?: Record<string, string> | undefined;
1046
- fields?: string[] | undefined;
1047
- expand?: string[] | undefined;
1048
- } | undefined;
1049
- syncFilter?: {
1050
- name: "updated_after" | "created_after";
1051
- initialLoopbackPeriod: string;
1052
- incrementalLoopbackPeriod: string;
1053
- } | undefined;
1054
- }[] | undefined;
1055
- fieldConfigs?: {
1056
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
1057
- custom: boolean;
1058
- targetFieldKey: string;
1059
- expression: string;
1060
- hidden: boolean;
1061
- alias?: string | undefined;
1062
- enumMapper?: {
1063
- 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" | {
1064
- value: string;
1065
- matchExpression: string;
1066
- }[];
1067
- } | undefined;
1068
- }[] | undefined;
1069
- result?: string | Record<string, unknown> | undefined;
1070
- }, {
1071
- description: string;
1072
- operationId: string;
1073
- categories: string[];
1074
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
1075
- steps: {
1076
- description: string;
1077
- stepId: string;
1078
- stepFunction: {
1079
- functionName: string;
1080
- parameters: Record<string, unknown>;
1081
- version?: string | undefined;
1082
- };
1083
- condition?: string | undefined;
1084
- ignoreError?: boolean | undefined;
1085
- }[];
1086
- schema?: string | undefined;
1087
- entrypointUrl?: string | undefined;
1088
- entrypointHttpMethod?: string | undefined;
1089
- responses?: {
1090
- description: string;
1091
- statusCode: number;
1092
- }[] | undefined;
1093
- inputs?: {
1094
- type: string;
1095
- required: boolean;
1096
- description: string;
1097
- name: string;
1098
- in: string;
1099
- }[] | undefined;
1100
- cursor?: {
1101
- enabled: boolean;
1102
- pageSize: number;
1103
- } | undefined;
1104
- compositeIdentifiers?: {
1105
- enabled: boolean;
1106
- version?: number | undefined;
1107
- fields?: {
1108
- targetFieldKey: string;
1109
- components: string[];
1110
- remote?: string | undefined;
1111
- }[] | undefined;
1112
- } | undefined;
1113
- scheduledJobs?: {
1114
- type: "data_sync";
1115
- description: string;
1116
- enabled: boolean;
1117
- schedule: string;
1118
- requestParams?: {
1119
- filter?: Record<string, string> | undefined;
1120
- fields?: string[] | undefined;
1121
- expand?: string[] | undefined;
1122
- } | undefined;
1123
- syncFilter?: {
1124
- name: "updated_after" | "created_after";
1125
- initialLoopbackPeriod: string;
1126
- incrementalLoopbackPeriod: string;
1127
- } | undefined;
1128
- }[] | undefined;
1129
- fieldConfigs?: {
1130
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
1131
- targetFieldKey: string;
1132
- expression: string;
1133
- custom?: boolean | undefined;
1134
- alias?: string | undefined;
1135
- hidden?: boolean | undefined;
1136
- enumMapper?: {
1137
- 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" | {
1138
- value: string;
1139
- matchExpression: string;
1140
- }[];
1141
- } | undefined;
1142
- }[] | undefined;
1143
- result?: string | Record<string, unknown> | undefined;
1144
- }>, "many">>;
1145
- }, "strip", z.ZodTypeAny, {
1146
- StackOne: string;
1147
- info: {
1148
- key: string;
1149
- version: string;
1150
- title: string;
1151
- description?: string | undefined;
1152
- };
1153
- baseUrl: string;
1154
- authentication?: Record<string, {
1155
- type: string;
1156
- label: string;
1157
- authorization: {
1158
- type: "basic";
1159
- username?: string | undefined;
1160
- password?: string | undefined;
1161
- encoding?: string | undefined;
1162
- } | {
1163
- type: "bearer";
1164
- token: string;
1165
- };
1166
- environments: {
1167
- key: string;
1168
- name: string;
1169
- }[];
1170
- support: {
1171
- link: string;
1172
- description?: string | undefined;
1173
- };
1174
- configFields?: ({
1175
- type: "text" | "password";
1176
- key: string;
1177
- label: string;
1178
- required: boolean;
1179
- secret: boolean;
1180
- readOnly: boolean;
1181
- placeholder?: string | undefined;
1182
- description?: string | undefined;
1183
- tooltip?: string | undefined;
1184
- } | {
1185
- type: "select";
1186
- options: {
1187
- value: string;
1188
- label: string;
1189
- }[];
1190
- key: string;
1191
- label: string;
1192
- required: boolean;
1193
- secret: boolean;
1194
- readOnly: boolean;
1195
- placeholder?: string | undefined;
1196
- description?: string | undefined;
1197
- tooltip?: string | undefined;
1198
- })[] | undefined;
1199
- setupFields?: ({
1200
- type: "text" | "password";
1201
- key: string;
1202
- label: string;
1203
- required: boolean;
1204
- secret: boolean;
1205
- readOnly: boolean;
1206
- placeholder?: string | undefined;
1207
- description?: string | undefined;
1208
- tooltip?: string | undefined;
1209
- } | {
1210
- type: "select";
1211
- options: {
1212
- value: string;
1213
- label: string;
1214
- }[];
1215
- key: string;
1216
- label: string;
1217
- required: boolean;
1218
- secret: boolean;
1219
- readOnly: boolean;
1220
- placeholder?: string | undefined;
1221
- description?: string | undefined;
1222
- tooltip?: string | undefined;
1223
- })[] | undefined;
1224
- testOperationsIds?: string[] | undefined;
1225
- }>[] | undefined;
1226
- operations?: {
1227
- description: string;
1228
- operationId: string;
1229
- categories: string[];
1230
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
1231
- steps: {
1232
- description: string;
1233
- stepId: string;
1234
- stepFunction: {
1235
- functionName: string;
1236
- parameters: Record<string, unknown>;
1237
- version?: string | undefined;
1238
- };
1239
- condition?: string | undefined;
1240
- ignoreError?: boolean | undefined;
1241
- }[];
1242
- schema?: string | undefined;
1243
- entrypointUrl?: string | undefined;
1244
- entrypointHttpMethod?: string | undefined;
1245
- responses?: {
1246
- description: string;
1247
- statusCode: number;
1248
- }[] | undefined;
1249
- inputs?: {
1250
- type: string;
1251
- required: boolean;
1252
- description: string;
1253
- name: string;
1254
- in: string;
1255
- }[] | undefined;
1256
- cursor?: {
1257
- enabled: boolean;
1258
- pageSize: number;
1259
- } | undefined;
1260
- compositeIdentifiers?: {
1261
- enabled: boolean;
1262
- version?: number | undefined;
1263
- fields?: {
1264
- targetFieldKey: string;
1265
- components: string[];
1266
- remote?: string | undefined;
1267
- }[] | undefined;
1268
- } | undefined;
1269
- scheduledJobs?: {
1270
- type: "data_sync";
1271
- description: string;
1272
- enabled: boolean;
1273
- schedule: string;
1274
- requestParams?: {
1275
- filter?: Record<string, string> | undefined;
1276
- fields?: string[] | undefined;
1277
- expand?: string[] | undefined;
1278
- } | undefined;
1279
- syncFilter?: {
1280
- name: "updated_after" | "created_after";
1281
- initialLoopbackPeriod: string;
1282
- incrementalLoopbackPeriod: string;
1283
- } | undefined;
1284
- }[] | undefined;
1285
- fieldConfigs?: {
1286
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
1287
- custom: boolean;
1288
- targetFieldKey: string;
1289
- expression: string;
1290
- hidden: boolean;
1291
- alias?: string | undefined;
1292
- enumMapper?: {
1293
- 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" | {
1294
- value: string;
1295
- matchExpression: string;
1296
- }[];
1297
- } | undefined;
1298
- }[] | undefined;
1299
- result?: string | Record<string, unknown> | undefined;
1300
- }[] | undefined;
1301
- }, {
1302
- StackOne: string;
1303
- info: {
1304
- key: string;
1305
- version: string;
1306
- title: string;
1307
- description?: string | undefined;
1308
- };
1309
- baseUrl: string;
1310
- authentication?: Record<string, {
1311
- type: string;
1312
- label: string;
1313
- authorization: {
1314
- type: "basic";
1315
- username?: string | undefined;
1316
- password?: string | undefined;
1317
- encoding?: string | undefined;
1318
- } | {
1319
- type: "bearer";
1320
- token: string;
1321
- };
1322
- environments: {
1323
- key: string;
1324
- name: string;
1325
- }[];
1326
- support: {
1327
- link: string;
1328
- description?: string | undefined;
1329
- };
1330
- configFields?: ({
1331
- type: "text" | "password";
1332
- key: string;
1333
- label: string;
1334
- required?: boolean | undefined;
1335
- secret?: boolean | undefined;
1336
- readOnly?: boolean | undefined;
1337
- placeholder?: string | undefined;
1338
- description?: string | undefined;
1339
- tooltip?: string | undefined;
1340
- } | {
1341
- type: "select";
1342
- options: {
1343
- value: string;
1344
- label: string;
1345
- }[];
1346
- key: string;
1347
- label: string;
1348
- required?: boolean | undefined;
1349
- secret?: boolean | undefined;
1350
- readOnly?: boolean | undefined;
1351
- placeholder?: string | undefined;
1352
- description?: string | undefined;
1353
- tooltip?: string | undefined;
1354
- })[] | undefined;
1355
- setupFields?: ({
1356
- type: "text" | "password";
1357
- key: string;
1358
- label: string;
1359
- required?: boolean | undefined;
1360
- secret?: boolean | undefined;
1361
- readOnly?: boolean | undefined;
1362
- placeholder?: string | undefined;
1363
- description?: string | undefined;
1364
- tooltip?: string | undefined;
1365
- } | {
1366
- type: "select";
1367
- options: {
1368
- value: string;
1369
- label: string;
1370
- }[];
1371
- key: string;
1372
- label: string;
1373
- required?: boolean | undefined;
1374
- secret?: boolean | undefined;
1375
- readOnly?: boolean | undefined;
1376
- placeholder?: string | undefined;
1377
- description?: string | undefined;
1378
- tooltip?: string | undefined;
1379
- })[] | undefined;
1380
- testOperationsIds?: string[] | undefined;
1381
- }>[] | undefined;
1382
- operations?: {
1383
- description: string;
1384
- operationId: string;
1385
- categories: string[];
1386
- operationType: "custom" | "unknown" | "list" | "get" | "create" | "update" | "delete";
1387
- steps: {
1388
- description: string;
1389
- stepId: string;
1390
- stepFunction: {
1391
- functionName: string;
1392
- parameters: Record<string, unknown>;
1393
- version?: string | undefined;
1394
- };
1395
- condition?: string | undefined;
1396
- ignoreError?: boolean | undefined;
1397
- }[];
1398
- schema?: string | undefined;
1399
- entrypointUrl?: string | undefined;
1400
- entrypointHttpMethod?: string | undefined;
1401
- responses?: {
1402
- description: string;
1403
- statusCode: number;
1404
- }[] | undefined;
1405
- inputs?: {
1406
- type: string;
1407
- required: boolean;
1408
- description: string;
1409
- name: string;
1410
- in: string;
1411
- }[] | undefined;
1412
- cursor?: {
1413
- enabled: boolean;
1414
- pageSize: number;
1415
- } | undefined;
1416
- compositeIdentifiers?: {
1417
- enabled: boolean;
1418
- version?: number | undefined;
1419
- fields?: {
1420
- targetFieldKey: string;
1421
- components: string[];
1422
- remote?: string | undefined;
1423
- }[] | undefined;
1424
- } | undefined;
1425
- scheduledJobs?: {
1426
- type: "data_sync";
1427
- description: string;
1428
- enabled: boolean;
1429
- schedule: string;
1430
- requestParams?: {
1431
- filter?: Record<string, string> | undefined;
1432
- fields?: string[] | undefined;
1433
- expand?: string[] | undefined;
1434
- } | undefined;
1435
- syncFilter?: {
1436
- name: "updated_after" | "created_after";
1437
- initialLoopbackPeriod: string;
1438
- incrementalLoopbackPeriod: string;
1439
- } | undefined;
1440
- }[] | undefined;
1441
- fieldConfigs?: {
1442
- type: "string" | "number" | "boolean" | "datetime_string" | "enum";
1443
- targetFieldKey: string;
1444
- expression: string;
1445
- custom?: boolean | undefined;
1446
- alias?: string | undefined;
1447
- hidden?: boolean | undefined;
1448
- enumMapper?: {
1449
- 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" | {
1450
- value: string;
1451
- matchExpression: string;
1452
- }[];
1453
- } | undefined;
1454
- }[] | undefined;
1455
- result?: string | Record<string, unknown> | undefined;
1456
- }[] | undefined;
1457
- }>;