@zapier/zapier-sdk 0.15.12 → 0.16.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.
- package/CHANGELOG.md +19 -0
- package/LICENSE +2 -0
- package/dist/api/schemas.d.ts +133 -1488
- package/dist/api/schemas.d.ts.map +1 -1
- package/dist/api/schemas.js +10 -10
- package/dist/index.cjs +27 -27
- package/dist/index.d.mts +296 -1830
- package/dist/index.mjs +27 -27
- package/dist/plugins/apps/schemas.d.ts +2 -12
- package/dist/plugins/apps/schemas.d.ts.map +1 -1
- package/dist/plugins/apps/schemas.js +1 -1
- package/dist/plugins/fetch/schemas.d.ts +12 -18
- package/dist/plugins/fetch/schemas.d.ts.map +1 -1
- package/dist/plugins/fetch/schemas.js +1 -1
- package/dist/plugins/findFirstAuthentication/schemas.d.ts +2 -14
- package/dist/plugins/findFirstAuthentication/schemas.d.ts.map +1 -1
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts +2 -14
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts.map +1 -1
- package/dist/plugins/getAction/schemas.d.ts +13 -23
- package/dist/plugins/getAction/schemas.d.ts.map +1 -1
- package/dist/plugins/getApp/schemas.d.ts +2 -6
- package/dist/plugins/getApp/schemas.d.ts.map +1 -1
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts +12 -15
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +1 -1
- package/dist/plugins/getProfile/schemas.d.ts +1 -1
- package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
- package/dist/plugins/listActions/schemas.d.ts +13 -27
- package/dist/plugins/listActions/schemas.d.ts.map +1 -1
- package/dist/plugins/listAuthentications/schemas.d.ts +5 -36
- package/dist/plugins/listAuthentications/schemas.d.ts.map +1 -1
- package/dist/plugins/listInputFieldChoices/schemas.d.ts +13 -36
- package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
- package/dist/plugins/listInputFields/schemas.d.ts +12 -21
- package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
- package/dist/plugins/manifest/schemas.d.ts +6 -90
- package/dist/plugins/manifest/schemas.d.ts.map +1 -1
- package/dist/plugins/manifest/schemas.js +5 -2
- package/dist/plugins/request/schemas.d.ts +24 -68
- package/dist/plugins/request/schemas.d.ts.map +1 -1
- package/dist/plugins/request/schemas.js +1 -1
- package/dist/plugins/runAction/schemas.d.ts +12 -21
- package/dist/plugins/runAction/schemas.d.ts.map +1 -1
- package/dist/schemas/Action.d.ts +13 -30
- package/dist/schemas/Action.d.ts.map +1 -1
- package/dist/schemas/App.d.ts +30 -171
- package/dist/schemas/App.d.ts.map +1 -1
- package/dist/schemas/Auth.d.ts +14 -120
- package/dist/schemas/Auth.d.ts.map +1 -1
- package/dist/schemas/Field.d.ts +10 -108
- package/dist/schemas/Field.d.ts.map +1 -1
- package/dist/schemas/UserProfile.d.ts +5 -113
- package/dist/schemas/UserProfile.d.ts.map +1 -1
- package/dist/temporary-internal-core/schemas/apps/index.d.ts +19 -440
- package/dist/temporary-internal-core/schemas/apps/index.d.ts.map +1 -1
- package/dist/temporary-internal-core/schemas/authentications/index.d.ts +23 -327
- package/dist/temporary-internal-core/schemas/authentications/index.d.ts.map +1 -1
- package/dist/temporary-internal-core/schemas/authentications/index.js +1 -1
- package/dist/temporary-internal-core/schemas/implementations/index.d.ts +9 -393
- package/dist/temporary-internal-core/schemas/implementations/index.d.ts.map +1 -1
- package/dist/types/properties.d.ts +11 -2
- package/dist/types/properties.d.ts.map +1 -1
- package/dist/types/properties.js +2 -2
- package/dist/utils/function-utils.d.ts +2 -14
- package/dist/utils/function-utils.d.ts.map +1 -1
- package/dist/utils/schema-utils.d.ts.map +1 -1
- package/dist/utils/schema-utils.js +10 -9
- package/dist/utils/validation.d.ts +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -381,33 +381,23 @@ interface EventEmissionProvides {
|
|
|
381
381
|
declare const NeedSchema: z.ZodObject<{
|
|
382
382
|
key: z.ZodString;
|
|
383
383
|
alters_custom_fields: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
384
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString
|
|
384
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
385
385
|
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
386
|
key: z.ZodOptional<z.ZodString>;
|
|
387
387
|
label: z.ZodOptional<z.ZodString>;
|
|
388
388
|
sample: z.ZodOptional<z.ZodString>;
|
|
389
389
|
value: z.ZodOptional<z.ZodString>;
|
|
390
|
-
},
|
|
391
|
-
key?: string | undefined;
|
|
392
|
-
value?: string | undefined;
|
|
393
|
-
label?: string | undefined;
|
|
394
|
-
sample?: string | undefined;
|
|
395
|
-
}, {
|
|
396
|
-
key?: string | undefined;
|
|
397
|
-
value?: string | undefined;
|
|
398
|
-
label?: string | undefined;
|
|
399
|
-
sample?: string | undefined;
|
|
400
|
-
}>, "many">>;
|
|
390
|
+
}, z.core.$strip>>>;
|
|
401
391
|
computed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
402
392
|
custom_field: z.ZodOptional<z.ZodBoolean>;
|
|
403
393
|
default: z.ZodOptional<z.ZodString>;
|
|
404
|
-
depends_on: z.ZodOptional<z.ZodArray<z.ZodString
|
|
394
|
+
depends_on: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
395
|
format: z.ZodOptional<z.ZodLiteral<"SELECT">>;
|
|
406
396
|
from_search: z.ZodOptional<z.ZodBoolean>;
|
|
407
397
|
from_write: z.ZodOptional<z.ZodBoolean>;
|
|
408
398
|
help_text: z.ZodOptional<z.ZodString>;
|
|
409
399
|
help_text_html: z.ZodOptional<z.ZodString>;
|
|
410
|
-
input_format: z.ZodOptional<z.ZodArray<z.ZodString
|
|
400
|
+
input_format: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
411
401
|
label: z.ZodOptional<z.ZodString>;
|
|
412
402
|
language: z.ZodOptional<z.ZodString>;
|
|
413
403
|
parent_key: z.ZodOptional<z.ZodString>;
|
|
@@ -417,163 +407,72 @@ declare const NeedSchema: z.ZodObject<{
|
|
|
417
407
|
searchfill: z.ZodOptional<z.ZodString>;
|
|
418
408
|
send_in_json: z.ZodOptional<z.ZodBoolean>;
|
|
419
409
|
regex: z.ZodOptional<z.ZodString>;
|
|
420
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
410
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
411
|
+
string: "string";
|
|
412
|
+
boolean: "boolean";
|
|
413
|
+
file: "file";
|
|
414
|
+
integer: "integer";
|
|
415
|
+
text: "text";
|
|
416
|
+
datetime: "datetime";
|
|
417
|
+
decimal: "decimal";
|
|
418
|
+
copy: "copy";
|
|
419
|
+
password: "password";
|
|
420
|
+
dict: "dict";
|
|
421
|
+
code: "code";
|
|
422
|
+
filter: "filter";
|
|
423
|
+
json: "json";
|
|
424
|
+
}>>;
|
|
421
425
|
list: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
-
},
|
|
423
|
-
key: string;
|
|
424
|
-
type?: "string" | "boolean" | "code" | "filter" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
|
|
425
|
-
list?: boolean | undefined;
|
|
426
|
-
default?: string | undefined;
|
|
427
|
-
label?: string | undefined;
|
|
428
|
-
alters_custom_fields?: boolean | null | undefined;
|
|
429
|
-
capabilities?: string[] | undefined;
|
|
430
|
-
choices?: {
|
|
431
|
-
key?: string | undefined;
|
|
432
|
-
value?: string | undefined;
|
|
433
|
-
label?: string | undefined;
|
|
434
|
-
sample?: string | undefined;
|
|
435
|
-
}[] | undefined;
|
|
436
|
-
computed?: boolean | null | undefined;
|
|
437
|
-
custom_field?: boolean | undefined;
|
|
438
|
-
depends_on?: string[] | undefined;
|
|
439
|
-
format?: "SELECT" | undefined;
|
|
440
|
-
from_search?: boolean | undefined;
|
|
441
|
-
from_write?: boolean | undefined;
|
|
442
|
-
help_text?: string | undefined;
|
|
443
|
-
help_text_html?: string | undefined;
|
|
444
|
-
input_format?: string[] | undefined;
|
|
445
|
-
language?: string | undefined;
|
|
446
|
-
parent_key?: string | undefined;
|
|
447
|
-
placeholder?: string | undefined;
|
|
448
|
-
prefill?: string | undefined;
|
|
449
|
-
required?: boolean | undefined;
|
|
450
|
-
searchfill?: string | undefined;
|
|
451
|
-
send_in_json?: boolean | undefined;
|
|
452
|
-
regex?: string | undefined;
|
|
453
|
-
}, {
|
|
454
|
-
key: string;
|
|
455
|
-
type?: "string" | "boolean" | "code" | "filter" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
|
|
456
|
-
list?: boolean | undefined;
|
|
457
|
-
default?: string | undefined;
|
|
458
|
-
label?: string | undefined;
|
|
459
|
-
alters_custom_fields?: boolean | null | undefined;
|
|
460
|
-
capabilities?: string[] | undefined;
|
|
461
|
-
choices?: {
|
|
462
|
-
key?: string | undefined;
|
|
463
|
-
value?: string | undefined;
|
|
464
|
-
label?: string | undefined;
|
|
465
|
-
sample?: string | undefined;
|
|
466
|
-
}[] | undefined;
|
|
467
|
-
computed?: boolean | null | undefined;
|
|
468
|
-
custom_field?: boolean | undefined;
|
|
469
|
-
depends_on?: string[] | undefined;
|
|
470
|
-
format?: "SELECT" | undefined;
|
|
471
|
-
from_search?: boolean | undefined;
|
|
472
|
-
from_write?: boolean | undefined;
|
|
473
|
-
help_text?: string | undefined;
|
|
474
|
-
help_text_html?: string | undefined;
|
|
475
|
-
input_format?: string[] | undefined;
|
|
476
|
-
language?: string | undefined;
|
|
477
|
-
parent_key?: string | undefined;
|
|
478
|
-
placeholder?: string | undefined;
|
|
479
|
-
prefill?: string | undefined;
|
|
480
|
-
required?: boolean | undefined;
|
|
481
|
-
searchfill?: string | undefined;
|
|
482
|
-
send_in_json?: boolean | undefined;
|
|
483
|
-
regex?: string | undefined;
|
|
484
|
-
}>;
|
|
426
|
+
}, z.core.$strip>;
|
|
485
427
|
declare const ActionSchema: z.ZodObject<{
|
|
486
428
|
id: z.ZodOptional<z.ZodString>;
|
|
487
|
-
type: z.ZodEnum<
|
|
429
|
+
type: z.ZodEnum<{
|
|
430
|
+
search: "search";
|
|
431
|
+
filter: "filter";
|
|
432
|
+
read: "read";
|
|
433
|
+
read_bulk: "read_bulk";
|
|
434
|
+
run: "run";
|
|
435
|
+
search_and_write: "search_and_write";
|
|
436
|
+
search_or_write: "search_or_write";
|
|
437
|
+
write: "write";
|
|
438
|
+
}>;
|
|
488
439
|
key: z.ZodString;
|
|
489
440
|
name: z.ZodString;
|
|
490
441
|
description: z.ZodString;
|
|
491
442
|
is_important: z.ZodOptional<z.ZodBoolean>;
|
|
492
443
|
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
493
444
|
selected_api: z.ZodOptional<z.ZodString>;
|
|
494
|
-
},
|
|
495
|
-
type: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
496
|
-
key: string;
|
|
497
|
-
name: string;
|
|
498
|
-
description: string;
|
|
499
|
-
selected_api?: string | undefined;
|
|
500
|
-
id?: string | undefined;
|
|
501
|
-
is_important?: boolean | undefined;
|
|
502
|
-
is_hidden?: boolean | undefined;
|
|
503
|
-
}, {
|
|
504
|
-
type: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
505
|
-
key: string;
|
|
506
|
-
name: string;
|
|
507
|
-
description: string;
|
|
508
|
-
selected_api?: string | undefined;
|
|
509
|
-
id?: string | undefined;
|
|
510
|
-
is_important?: boolean | undefined;
|
|
511
|
-
is_hidden?: boolean | undefined;
|
|
512
|
-
}>;
|
|
445
|
+
}, z.core.$strip>;
|
|
513
446
|
declare const ChoiceSchema: z.ZodObject<{
|
|
514
|
-
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
447
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
515
448
|
label: z.ZodString;
|
|
516
|
-
},
|
|
517
|
-
value: string | number;
|
|
518
|
-
label: string;
|
|
519
|
-
}, {
|
|
520
|
-
value: string | number;
|
|
521
|
-
label: string;
|
|
522
|
-
}>;
|
|
449
|
+
}, z.core.$strip>;
|
|
523
450
|
declare const FieldSchema: z.ZodObject<{
|
|
524
451
|
key: z.ZodString;
|
|
525
452
|
label: z.ZodString;
|
|
526
|
-
type: z.ZodEnum<
|
|
453
|
+
type: z.ZodEnum<{
|
|
454
|
+
string: "string";
|
|
455
|
+
number: "number";
|
|
456
|
+
boolean: "boolean";
|
|
457
|
+
object: "object";
|
|
458
|
+
file: "file";
|
|
459
|
+
array: "array";
|
|
460
|
+
datetime: "datetime";
|
|
461
|
+
}>;
|
|
527
462
|
required: z.ZodBoolean;
|
|
528
463
|
description: z.ZodOptional<z.ZodString>;
|
|
529
464
|
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
|
-
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
465
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
531
466
|
label: z.ZodString;
|
|
532
|
-
},
|
|
533
|
-
|
|
534
|
-
label: string;
|
|
535
|
-
}, {
|
|
536
|
-
value: string | number;
|
|
537
|
-
label: string;
|
|
538
|
-
}>, "many">>;
|
|
539
|
-
}, "strip", z.ZodTypeAny, {
|
|
540
|
-
type: "string" | "number" | "boolean" | "object" | "datetime" | "file" | "array";
|
|
541
|
-
key: string;
|
|
542
|
-
label: string;
|
|
543
|
-
required: boolean;
|
|
544
|
-
choices?: {
|
|
545
|
-
value: string | number;
|
|
546
|
-
label: string;
|
|
547
|
-
}[] | undefined;
|
|
548
|
-
description?: string | undefined;
|
|
549
|
-
}, {
|
|
550
|
-
type: "string" | "number" | "boolean" | "object" | "datetime" | "file" | "array";
|
|
551
|
-
key: string;
|
|
552
|
-
label: string;
|
|
553
|
-
required: boolean;
|
|
554
|
-
choices?: {
|
|
555
|
-
value: string | number;
|
|
556
|
-
label: string;
|
|
557
|
-
}[] | undefined;
|
|
558
|
-
description?: string | undefined;
|
|
559
|
-
}>;
|
|
467
|
+
}, z.core.$strip>>>;
|
|
468
|
+
}, z.core.$strip>;
|
|
560
469
|
declare const ActionExecutionResultSchema: z.ZodObject<{
|
|
561
|
-
data: z.ZodArray<z.ZodUnknown
|
|
562
|
-
},
|
|
563
|
-
data: unknown[];
|
|
564
|
-
}, {
|
|
565
|
-
data: unknown[];
|
|
566
|
-
}>;
|
|
470
|
+
data: z.ZodArray<z.ZodUnknown>;
|
|
471
|
+
}, z.core.$strip>;
|
|
567
472
|
declare const ActionFieldChoiceSchema: z.ZodObject<{
|
|
568
|
-
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
473
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
569
474
|
label: z.ZodString;
|
|
570
|
-
},
|
|
571
|
-
value: string | number;
|
|
572
|
-
label: string;
|
|
573
|
-
}, {
|
|
574
|
-
value: string | number;
|
|
575
|
-
label: string;
|
|
576
|
-
}>;
|
|
475
|
+
}, z.core.$strip>;
|
|
577
476
|
declare const ActionFieldSchema: z.ZodObject<{
|
|
578
477
|
key: z.ZodString;
|
|
579
478
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -582,59 +481,17 @@ declare const ActionFieldSchema: z.ZodObject<{
|
|
|
582
481
|
helpText: z.ZodOptional<z.ZodString>;
|
|
583
482
|
helpTextHtml: z.ZodOptional<z.ZodString>;
|
|
584
483
|
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
585
|
-
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
484
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
586
485
|
label: z.ZodString;
|
|
587
|
-
},
|
|
588
|
-
value: string | number;
|
|
589
|
-
label: string;
|
|
590
|
-
}, {
|
|
591
|
-
value: string | number;
|
|
592
|
-
label: string;
|
|
593
|
-
}>, "many">>;
|
|
486
|
+
}, z.core.$strip>>>;
|
|
594
487
|
default: z.ZodOptional<z.ZodString>;
|
|
595
488
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
596
489
|
computed: z.ZodOptional<z.ZodBoolean>;
|
|
597
490
|
customField: z.ZodOptional<z.ZodBoolean>;
|
|
598
|
-
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString
|
|
491
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
599
492
|
format: z.ZodOptional<z.ZodString>;
|
|
600
|
-
inputFormat: z.ZodOptional<z.ZodArray<z.ZodString
|
|
601
|
-
},
|
|
602
|
-
key: string;
|
|
603
|
-
required: boolean;
|
|
604
|
-
type?: string | undefined;
|
|
605
|
-
default?: string | undefined;
|
|
606
|
-
label?: string | undefined;
|
|
607
|
-
choices?: {
|
|
608
|
-
value: string | number;
|
|
609
|
-
label: string;
|
|
610
|
-
}[] | undefined;
|
|
611
|
-
computed?: boolean | undefined;
|
|
612
|
-
format?: string | undefined;
|
|
613
|
-
placeholder?: string | undefined;
|
|
614
|
-
helpText?: string | undefined;
|
|
615
|
-
helpTextHtml?: string | undefined;
|
|
616
|
-
customField?: boolean | undefined;
|
|
617
|
-
dependsOn?: string[] | undefined;
|
|
618
|
-
inputFormat?: string[] | undefined;
|
|
619
|
-
}, {
|
|
620
|
-
key: string;
|
|
621
|
-
required: boolean;
|
|
622
|
-
type?: string | undefined;
|
|
623
|
-
default?: string | undefined;
|
|
624
|
-
label?: string | undefined;
|
|
625
|
-
choices?: {
|
|
626
|
-
value: string | number;
|
|
627
|
-
label: string;
|
|
628
|
-
}[] | undefined;
|
|
629
|
-
computed?: boolean | undefined;
|
|
630
|
-
format?: string | undefined;
|
|
631
|
-
placeholder?: string | undefined;
|
|
632
|
-
helpText?: string | undefined;
|
|
633
|
-
helpTextHtml?: string | undefined;
|
|
634
|
-
customField?: boolean | undefined;
|
|
635
|
-
dependsOn?: string[] | undefined;
|
|
636
|
-
inputFormat?: string[] | undefined;
|
|
637
|
-
}>;
|
|
493
|
+
inputFormat: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
|
+
}, z.core.$strip>;
|
|
638
495
|
declare const AuthenticationSchema: z.ZodObject<{
|
|
639
496
|
id: z.ZodNumber;
|
|
640
497
|
date: z.ZodString;
|
|
@@ -656,49 +513,7 @@ declare const AuthenticationSchema: z.ZodObject<{
|
|
|
656
513
|
groups: z.ZodOptional<z.ZodString>;
|
|
657
514
|
members: z.ZodOptional<z.ZodString>;
|
|
658
515
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
659
|
-
},
|
|
660
|
-
account_id: number;
|
|
661
|
-
selected_api: string;
|
|
662
|
-
id: number;
|
|
663
|
-
date: string;
|
|
664
|
-
is_invite_only: boolean;
|
|
665
|
-
is_private: boolean;
|
|
666
|
-
shared_with_all: boolean;
|
|
667
|
-
url?: string | undefined;
|
|
668
|
-
customuser_id?: number | undefined;
|
|
669
|
-
label?: string | null | undefined;
|
|
670
|
-
lastchanged?: string | undefined;
|
|
671
|
-
destination_selected_api?: string | null | undefined;
|
|
672
|
-
is_stale?: string | undefined;
|
|
673
|
-
is_shared?: string | undefined;
|
|
674
|
-
marked_stale_at?: string | null | undefined;
|
|
675
|
-
identifier?: string | null | undefined;
|
|
676
|
-
title?: string | null | undefined;
|
|
677
|
-
groups?: string | undefined;
|
|
678
|
-
members?: string | undefined;
|
|
679
|
-
permissions?: Record<string, boolean> | undefined;
|
|
680
|
-
}, {
|
|
681
|
-
account_id: number;
|
|
682
|
-
selected_api: string;
|
|
683
|
-
id: number;
|
|
684
|
-
date: string;
|
|
685
|
-
is_invite_only: boolean;
|
|
686
|
-
is_private: boolean;
|
|
687
|
-
shared_with_all: boolean;
|
|
688
|
-
url?: string | undefined;
|
|
689
|
-
customuser_id?: number | undefined;
|
|
690
|
-
label?: string | null | undefined;
|
|
691
|
-
lastchanged?: string | undefined;
|
|
692
|
-
destination_selected_api?: string | null | undefined;
|
|
693
|
-
is_stale?: string | undefined;
|
|
694
|
-
is_shared?: string | undefined;
|
|
695
|
-
marked_stale_at?: string | null | undefined;
|
|
696
|
-
identifier?: string | null | undefined;
|
|
697
|
-
title?: string | null | undefined;
|
|
698
|
-
groups?: string | undefined;
|
|
699
|
-
members?: string | undefined;
|
|
700
|
-
permissions?: Record<string, boolean> | undefined;
|
|
701
|
-
}>;
|
|
516
|
+
}, z.core.$strip>;
|
|
702
517
|
declare const AuthenticationsResponseSchema: z.ZodObject<{
|
|
703
518
|
count: z.ZodNumber;
|
|
704
519
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -724,102 +539,8 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
|
|
|
724
539
|
groups: z.ZodOptional<z.ZodString>;
|
|
725
540
|
members: z.ZodOptional<z.ZodString>;
|
|
726
541
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
727
|
-
},
|
|
728
|
-
|
|
729
|
-
selected_api: string;
|
|
730
|
-
id: number;
|
|
731
|
-
date: string;
|
|
732
|
-
is_invite_only: boolean;
|
|
733
|
-
is_private: boolean;
|
|
734
|
-
shared_with_all: boolean;
|
|
735
|
-
url?: string | undefined;
|
|
736
|
-
customuser_id?: number | undefined;
|
|
737
|
-
label?: string | null | undefined;
|
|
738
|
-
lastchanged?: string | undefined;
|
|
739
|
-
destination_selected_api?: string | null | undefined;
|
|
740
|
-
is_stale?: string | undefined;
|
|
741
|
-
is_shared?: string | undefined;
|
|
742
|
-
marked_stale_at?: string | null | undefined;
|
|
743
|
-
identifier?: string | null | undefined;
|
|
744
|
-
title?: string | null | undefined;
|
|
745
|
-
groups?: string | undefined;
|
|
746
|
-
members?: string | undefined;
|
|
747
|
-
permissions?: Record<string, boolean> | undefined;
|
|
748
|
-
}, {
|
|
749
|
-
account_id: number;
|
|
750
|
-
selected_api: string;
|
|
751
|
-
id: number;
|
|
752
|
-
date: string;
|
|
753
|
-
is_invite_only: boolean;
|
|
754
|
-
is_private: boolean;
|
|
755
|
-
shared_with_all: boolean;
|
|
756
|
-
url?: string | undefined;
|
|
757
|
-
customuser_id?: number | undefined;
|
|
758
|
-
label?: string | null | undefined;
|
|
759
|
-
lastchanged?: string | undefined;
|
|
760
|
-
destination_selected_api?: string | null | undefined;
|
|
761
|
-
is_stale?: string | undefined;
|
|
762
|
-
is_shared?: string | undefined;
|
|
763
|
-
marked_stale_at?: string | null | undefined;
|
|
764
|
-
identifier?: string | null | undefined;
|
|
765
|
-
title?: string | null | undefined;
|
|
766
|
-
groups?: string | undefined;
|
|
767
|
-
members?: string | undefined;
|
|
768
|
-
permissions?: Record<string, boolean> | undefined;
|
|
769
|
-
}>, "many">;
|
|
770
|
-
}, "strip", z.ZodTypeAny, {
|
|
771
|
-
count: number;
|
|
772
|
-
results: {
|
|
773
|
-
account_id: number;
|
|
774
|
-
selected_api: string;
|
|
775
|
-
id: number;
|
|
776
|
-
date: string;
|
|
777
|
-
is_invite_only: boolean;
|
|
778
|
-
is_private: boolean;
|
|
779
|
-
shared_with_all: boolean;
|
|
780
|
-
url?: string | undefined;
|
|
781
|
-
customuser_id?: number | undefined;
|
|
782
|
-
label?: string | null | undefined;
|
|
783
|
-
lastchanged?: string | undefined;
|
|
784
|
-
destination_selected_api?: string | null | undefined;
|
|
785
|
-
is_stale?: string | undefined;
|
|
786
|
-
is_shared?: string | undefined;
|
|
787
|
-
marked_stale_at?: string | null | undefined;
|
|
788
|
-
identifier?: string | null | undefined;
|
|
789
|
-
title?: string | null | undefined;
|
|
790
|
-
groups?: string | undefined;
|
|
791
|
-
members?: string | undefined;
|
|
792
|
-
permissions?: Record<string, boolean> | undefined;
|
|
793
|
-
}[];
|
|
794
|
-
next?: string | null | undefined;
|
|
795
|
-
previous?: string | null | undefined;
|
|
796
|
-
}, {
|
|
797
|
-
count: number;
|
|
798
|
-
results: {
|
|
799
|
-
account_id: number;
|
|
800
|
-
selected_api: string;
|
|
801
|
-
id: number;
|
|
802
|
-
date: string;
|
|
803
|
-
is_invite_only: boolean;
|
|
804
|
-
is_private: boolean;
|
|
805
|
-
shared_with_all: boolean;
|
|
806
|
-
url?: string | undefined;
|
|
807
|
-
customuser_id?: number | undefined;
|
|
808
|
-
label?: string | null | undefined;
|
|
809
|
-
lastchanged?: string | undefined;
|
|
810
|
-
destination_selected_api?: string | null | undefined;
|
|
811
|
-
is_stale?: string | undefined;
|
|
812
|
-
is_shared?: string | undefined;
|
|
813
|
-
marked_stale_at?: string | null | undefined;
|
|
814
|
-
identifier?: string | null | undefined;
|
|
815
|
-
title?: string | null | undefined;
|
|
816
|
-
groups?: string | undefined;
|
|
817
|
-
members?: string | undefined;
|
|
818
|
-
permissions?: Record<string, boolean> | undefined;
|
|
819
|
-
}[];
|
|
820
|
-
next?: string | null | undefined;
|
|
821
|
-
previous?: string | null | undefined;
|
|
822
|
-
}>;
|
|
542
|
+
}, z.core.$strip>>;
|
|
543
|
+
}, z.core.$strip>;
|
|
823
544
|
declare const UserProfileSchema: z.ZodObject<{
|
|
824
545
|
id: z.ZodNumber;
|
|
825
546
|
code: z.ZodString;
|
|
@@ -861,7 +582,7 @@ declare const UserProfileSchema: z.ZodObject<{
|
|
|
861
582
|
viewed_help: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
862
583
|
show_editor_migration_mesaging: z.ZodBoolean;
|
|
863
584
|
switches: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
864
|
-
organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
585
|
+
organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
865
586
|
primary_organization: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
866
587
|
has_active_zaps: z.ZodBoolean;
|
|
867
588
|
has_google_sso: z.ZodBoolean;
|
|
@@ -869,120 +590,14 @@ declare const UserProfileSchema: z.ZodObject<{
|
|
|
869
590
|
roles: z.ZodArray<z.ZodObject<{
|
|
870
591
|
account_id: z.ZodNumber;
|
|
871
592
|
role: z.ZodString;
|
|
872
|
-
},
|
|
873
|
-
|
|
874
|
-
role: string;
|
|
875
|
-
}, {
|
|
876
|
-
account_id: number;
|
|
877
|
-
role: string;
|
|
878
|
-
}>, "many">;
|
|
879
|
-
}, "strip", z.ZodTypeAny, {
|
|
880
|
-
code: string;
|
|
881
|
-
id: number;
|
|
882
|
-
user_id: number;
|
|
883
|
-
auto_provisioned: boolean;
|
|
884
|
-
first_name: string;
|
|
885
|
-
last_name: string;
|
|
886
|
-
username: string;
|
|
887
|
-
personas: string;
|
|
888
|
-
user_generated_personas: string;
|
|
889
|
-
last_login: string;
|
|
890
|
-
email: string;
|
|
891
|
-
email_hash: string;
|
|
892
|
-
email_confirmed: boolean;
|
|
893
|
-
timezone: string;
|
|
894
|
-
photo_url: string;
|
|
895
|
-
has_seen_notifications: Record<string, boolean | null>;
|
|
896
|
-
signup: string;
|
|
897
|
-
since_signup: string;
|
|
898
|
-
has_activated: boolean;
|
|
899
|
-
enable_gz_creator: boolean;
|
|
900
|
-
should_see_nps_survey: boolean;
|
|
901
|
-
is_developer: boolean;
|
|
902
|
-
is_expert: boolean;
|
|
903
|
-
tos_agreement: boolean;
|
|
904
|
-
should_renew_tos: boolean;
|
|
905
|
-
is_gdpr_consented: boolean;
|
|
906
|
-
disable_ssl_check: boolean;
|
|
907
|
-
identity: number;
|
|
908
|
-
summary_schedule: string;
|
|
909
|
-
alert_triggers: string;
|
|
910
|
-
alert_actions: string;
|
|
911
|
-
is_staff: boolean;
|
|
912
|
-
is_zt_reviewer: boolean;
|
|
913
|
-
is_high_value: boolean;
|
|
914
|
-
is_temporary: boolean;
|
|
915
|
-
banner_message: string;
|
|
916
|
-
enable_totp_2fa: boolean;
|
|
917
|
-
viewed_help: Record<string, boolean>;
|
|
918
|
-
show_editor_migration_mesaging: boolean;
|
|
919
|
-
switches: Record<string, unknown>;
|
|
920
|
-
organizations: (Record<string, unknown> | null)[];
|
|
921
|
-
primary_organization: Record<string, unknown> | null;
|
|
922
|
-
has_active_zaps: boolean;
|
|
923
|
-
has_google_sso: boolean;
|
|
924
|
-
auth_realm: string;
|
|
925
|
-
roles: {
|
|
926
|
-
account_id: number;
|
|
927
|
-
role: string;
|
|
928
|
-
}[];
|
|
929
|
-
}, {
|
|
930
|
-
code: string;
|
|
931
|
-
id: number;
|
|
932
|
-
user_id: number;
|
|
933
|
-
auto_provisioned: boolean;
|
|
934
|
-
first_name: string;
|
|
935
|
-
last_name: string;
|
|
936
|
-
username: string;
|
|
937
|
-
personas: string;
|
|
938
|
-
user_generated_personas: string;
|
|
939
|
-
last_login: string;
|
|
940
|
-
email: string;
|
|
941
|
-
email_hash: string;
|
|
942
|
-
email_confirmed: boolean;
|
|
943
|
-
timezone: string;
|
|
944
|
-
photo_url: string;
|
|
945
|
-
has_seen_notifications: Record<string, boolean | null>;
|
|
946
|
-
signup: string;
|
|
947
|
-
since_signup: string;
|
|
948
|
-
has_activated: boolean;
|
|
949
|
-
enable_gz_creator: boolean;
|
|
950
|
-
should_see_nps_survey: boolean;
|
|
951
|
-
is_developer: boolean;
|
|
952
|
-
is_expert: boolean;
|
|
953
|
-
tos_agreement: boolean;
|
|
954
|
-
should_renew_tos: boolean;
|
|
955
|
-
is_gdpr_consented: boolean;
|
|
956
|
-
disable_ssl_check: boolean;
|
|
957
|
-
identity: number;
|
|
958
|
-
summary_schedule: string;
|
|
959
|
-
alert_triggers: string;
|
|
960
|
-
alert_actions: string;
|
|
961
|
-
is_staff: boolean;
|
|
962
|
-
is_zt_reviewer: boolean;
|
|
963
|
-
is_high_value: boolean;
|
|
964
|
-
is_temporary: boolean;
|
|
965
|
-
banner_message: string;
|
|
966
|
-
enable_totp_2fa: boolean;
|
|
967
|
-
viewed_help: Record<string, boolean>;
|
|
968
|
-
show_editor_migration_mesaging: boolean;
|
|
969
|
-
switches: Record<string, unknown>;
|
|
970
|
-
organizations: (Record<string, unknown> | null)[];
|
|
971
|
-
primary_organization: Record<string, unknown> | null;
|
|
972
|
-
has_active_zaps: boolean;
|
|
973
|
-
has_google_sso: boolean;
|
|
974
|
-
auth_realm: string;
|
|
975
|
-
roles: {
|
|
976
|
-
account_id: number;
|
|
977
|
-
role: string;
|
|
978
|
-
}[];
|
|
979
|
-
}>;
|
|
593
|
+
}, z.core.$strip>>;
|
|
594
|
+
}, z.core.$strip>;
|
|
980
595
|
declare const AppSchema: z.ZodObject<{
|
|
981
596
|
age_in_days: z.ZodOptional<z.ZodString>;
|
|
982
597
|
api_docs_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
983
598
|
app_profile_url: z.ZodString;
|
|
984
599
|
banner: z.ZodOptional<z.ZodString>;
|
|
985
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString
|
|
600
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
986
601
|
canonical_id: z.ZodOptional<z.ZodString>;
|
|
987
602
|
current_implementation_id: z.ZodString;
|
|
988
603
|
days_since_last_update: z.ZodOptional<z.ZodString>;
|
|
@@ -1008,120 +623,36 @@ declare const AppSchema: z.ZodObject<{
|
|
|
1008
623
|
request_count: z.ZodOptional<z.ZodString>;
|
|
1009
624
|
slug: z.ZodString;
|
|
1010
625
|
zap_usage_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1011
|
-
},
|
|
1012
|
-
name: string;
|
|
1013
|
-
description: string;
|
|
1014
|
-
app_profile_url: string;
|
|
1015
|
-
current_implementation_id: string;
|
|
1016
|
-
external_url: string;
|
|
1017
|
-
internal_id: string;
|
|
1018
|
-
learn_more_url: string;
|
|
1019
|
-
popularity: number;
|
|
1020
|
-
primary_color: string;
|
|
1021
|
-
slug: string;
|
|
1022
|
-
categories?: string[] | undefined;
|
|
1023
|
-
id?: number | undefined;
|
|
1024
|
-
age_in_days?: string | undefined;
|
|
1025
|
-
api_docs_url?: string | null | undefined;
|
|
1026
|
-
banner?: string | undefined;
|
|
1027
|
-
canonical_id?: string | undefined;
|
|
1028
|
-
days_since_last_update?: string | undefined;
|
|
1029
|
-
hashtag?: string | undefined;
|
|
1030
|
-
image?: string | undefined;
|
|
1031
|
-
images?: string | undefined;
|
|
1032
|
-
integration_overview_html?: string | null | undefined;
|
|
1033
|
-
invite_url?: string | null | undefined;
|
|
1034
|
-
is_beta?: string | undefined;
|
|
1035
|
-
is_built_in?: string | undefined;
|
|
1036
|
-
is_featured?: string | undefined;
|
|
1037
|
-
is_premium?: boolean | undefined;
|
|
1038
|
-
is_public?: string | undefined;
|
|
1039
|
-
is_upcoming?: string | undefined;
|
|
1040
|
-
request_count?: string | undefined;
|
|
1041
|
-
zap_usage_count?: number | null | undefined;
|
|
1042
|
-
}, {
|
|
1043
|
-
name: string;
|
|
1044
|
-
description: string;
|
|
1045
|
-
app_profile_url: string;
|
|
1046
|
-
current_implementation_id: string;
|
|
1047
|
-
external_url: string;
|
|
1048
|
-
internal_id: string;
|
|
1049
|
-
learn_more_url: string;
|
|
1050
|
-
popularity: number;
|
|
1051
|
-
primary_color: string;
|
|
1052
|
-
slug: string;
|
|
1053
|
-
categories?: string[] | undefined;
|
|
1054
|
-
id?: number | undefined;
|
|
1055
|
-
age_in_days?: string | undefined;
|
|
1056
|
-
api_docs_url?: string | null | undefined;
|
|
1057
|
-
banner?: string | undefined;
|
|
1058
|
-
canonical_id?: string | undefined;
|
|
1059
|
-
days_since_last_update?: string | undefined;
|
|
1060
|
-
hashtag?: string | undefined;
|
|
1061
|
-
image?: string | undefined;
|
|
1062
|
-
images?: string | undefined;
|
|
1063
|
-
integration_overview_html?: string | null | undefined;
|
|
1064
|
-
invite_url?: string | null | undefined;
|
|
1065
|
-
is_beta?: string | undefined;
|
|
1066
|
-
is_built_in?: string | undefined;
|
|
1067
|
-
is_featured?: string | undefined;
|
|
1068
|
-
is_premium?: boolean | undefined;
|
|
1069
|
-
is_public?: string | undefined;
|
|
1070
|
-
is_upcoming?: string | undefined;
|
|
1071
|
-
request_count?: string | undefined;
|
|
1072
|
-
zap_usage_count?: number | null | undefined;
|
|
1073
|
-
}>;
|
|
626
|
+
}, z.core.$strip>;
|
|
1074
627
|
declare const NeedsRequestSchema: z.ZodObject<{
|
|
1075
628
|
selected_api: z.ZodString;
|
|
1076
629
|
action: z.ZodString;
|
|
1077
630
|
type_of: z.ZodString;
|
|
1078
631
|
authentication_id: z.ZodOptional<z.ZodNumber>;
|
|
1079
632
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1080
|
-
},
|
|
1081
|
-
selected_api: string;
|
|
1082
|
-
action: string;
|
|
1083
|
-
type_of: string;
|
|
1084
|
-
params?: Record<string, unknown> | undefined;
|
|
1085
|
-
authentication_id?: number | undefined;
|
|
1086
|
-
}, {
|
|
1087
|
-
selected_api: string;
|
|
1088
|
-
action: string;
|
|
1089
|
-
type_of: string;
|
|
1090
|
-
params?: Record<string, unknown> | undefined;
|
|
1091
|
-
authentication_id?: number | undefined;
|
|
1092
|
-
}>;
|
|
633
|
+
}, z.core.$strip>;
|
|
1093
634
|
declare const NeedsResponseSchema: z.ZodObject<{
|
|
1094
635
|
success: z.ZodBoolean;
|
|
1095
636
|
needs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1096
637
|
key: z.ZodString;
|
|
1097
638
|
alters_custom_fields: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1098
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString
|
|
639
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1099
640
|
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1100
641
|
key: z.ZodOptional<z.ZodString>;
|
|
1101
642
|
label: z.ZodOptional<z.ZodString>;
|
|
1102
643
|
sample: z.ZodOptional<z.ZodString>;
|
|
1103
644
|
value: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
},
|
|
1105
|
-
key?: string | undefined;
|
|
1106
|
-
value?: string | undefined;
|
|
1107
|
-
label?: string | undefined;
|
|
1108
|
-
sample?: string | undefined;
|
|
1109
|
-
}, {
|
|
1110
|
-
key?: string | undefined;
|
|
1111
|
-
value?: string | undefined;
|
|
1112
|
-
label?: string | undefined;
|
|
1113
|
-
sample?: string | undefined;
|
|
1114
|
-
}>, "many">>;
|
|
645
|
+
}, z.core.$strip>>>;
|
|
1115
646
|
computed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1116
647
|
custom_field: z.ZodOptional<z.ZodBoolean>;
|
|
1117
648
|
default: z.ZodOptional<z.ZodString>;
|
|
1118
|
-
depends_on: z.ZodOptional<z.ZodArray<z.ZodString
|
|
649
|
+
depends_on: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1119
650
|
format: z.ZodOptional<z.ZodLiteral<"SELECT">>;
|
|
1120
651
|
from_search: z.ZodOptional<z.ZodBoolean>;
|
|
1121
652
|
from_write: z.ZodOptional<z.ZodBoolean>;
|
|
1122
653
|
help_text: z.ZodOptional<z.ZodString>;
|
|
1123
654
|
help_text_html: z.ZodOptional<z.ZodString>;
|
|
1124
|
-
input_format: z.ZodOptional<z.ZodArray<z.ZodString
|
|
655
|
+
input_format: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1125
656
|
label: z.ZodOptional<z.ZodString>;
|
|
1126
657
|
language: z.ZodOptional<z.ZodString>;
|
|
1127
658
|
parent_key: z.ZodOptional<z.ZodString>;
|
|
@@ -1131,149 +662,27 @@ declare const NeedsResponseSchema: z.ZodObject<{
|
|
|
1131
662
|
searchfill: z.ZodOptional<z.ZodString>;
|
|
1132
663
|
send_in_json: z.ZodOptional<z.ZodBoolean>;
|
|
1133
664
|
regex: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
665
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
string: "string";
|
|
667
|
+
boolean: "boolean";
|
|
668
|
+
file: "file";
|
|
669
|
+
integer: "integer";
|
|
670
|
+
text: "text";
|
|
671
|
+
datetime: "datetime";
|
|
672
|
+
decimal: "decimal";
|
|
673
|
+
copy: "copy";
|
|
674
|
+
password: "password";
|
|
675
|
+
dict: "dict";
|
|
676
|
+
code: "code";
|
|
677
|
+
filter: "filter";
|
|
678
|
+
json: "json";
|
|
679
|
+
}>>;
|
|
1135
680
|
list: z.ZodOptional<z.ZodBoolean>;
|
|
1136
|
-
},
|
|
1137
|
-
|
|
1138
|
-
type?: "string" | "boolean" | "code" | "filter" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
|
|
1139
|
-
list?: boolean | undefined;
|
|
1140
|
-
default?: string | undefined;
|
|
1141
|
-
label?: string | undefined;
|
|
1142
|
-
alters_custom_fields?: boolean | null | undefined;
|
|
1143
|
-
capabilities?: string[] | undefined;
|
|
1144
|
-
choices?: {
|
|
1145
|
-
key?: string | undefined;
|
|
1146
|
-
value?: string | undefined;
|
|
1147
|
-
label?: string | undefined;
|
|
1148
|
-
sample?: string | undefined;
|
|
1149
|
-
}[] | undefined;
|
|
1150
|
-
computed?: boolean | null | undefined;
|
|
1151
|
-
custom_field?: boolean | undefined;
|
|
1152
|
-
depends_on?: string[] | undefined;
|
|
1153
|
-
format?: "SELECT" | undefined;
|
|
1154
|
-
from_search?: boolean | undefined;
|
|
1155
|
-
from_write?: boolean | undefined;
|
|
1156
|
-
help_text?: string | undefined;
|
|
1157
|
-
help_text_html?: string | undefined;
|
|
1158
|
-
input_format?: string[] | undefined;
|
|
1159
|
-
language?: string | undefined;
|
|
1160
|
-
parent_key?: string | undefined;
|
|
1161
|
-
placeholder?: string | undefined;
|
|
1162
|
-
prefill?: string | undefined;
|
|
1163
|
-
required?: boolean | undefined;
|
|
1164
|
-
searchfill?: string | undefined;
|
|
1165
|
-
send_in_json?: boolean | undefined;
|
|
1166
|
-
regex?: string | undefined;
|
|
1167
|
-
}, {
|
|
1168
|
-
key: string;
|
|
1169
|
-
type?: "string" | "boolean" | "code" | "filter" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
|
|
1170
|
-
list?: boolean | undefined;
|
|
1171
|
-
default?: string | undefined;
|
|
1172
|
-
label?: string | undefined;
|
|
1173
|
-
alters_custom_fields?: boolean | null | undefined;
|
|
1174
|
-
capabilities?: string[] | undefined;
|
|
1175
|
-
choices?: {
|
|
1176
|
-
key?: string | undefined;
|
|
1177
|
-
value?: string | undefined;
|
|
1178
|
-
label?: string | undefined;
|
|
1179
|
-
sample?: string | undefined;
|
|
1180
|
-
}[] | undefined;
|
|
1181
|
-
computed?: boolean | null | undefined;
|
|
1182
|
-
custom_field?: boolean | undefined;
|
|
1183
|
-
depends_on?: string[] | undefined;
|
|
1184
|
-
format?: "SELECT" | undefined;
|
|
1185
|
-
from_search?: boolean | undefined;
|
|
1186
|
-
from_write?: boolean | undefined;
|
|
1187
|
-
help_text?: string | undefined;
|
|
1188
|
-
help_text_html?: string | undefined;
|
|
1189
|
-
input_format?: string[] | undefined;
|
|
1190
|
-
language?: string | undefined;
|
|
1191
|
-
parent_key?: string | undefined;
|
|
1192
|
-
placeholder?: string | undefined;
|
|
1193
|
-
prefill?: string | undefined;
|
|
1194
|
-
required?: boolean | undefined;
|
|
1195
|
-
searchfill?: string | undefined;
|
|
1196
|
-
send_in_json?: boolean | undefined;
|
|
1197
|
-
regex?: string | undefined;
|
|
1198
|
-
}>, "many">>;
|
|
1199
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
681
|
+
}, z.core.$strip>>>;
|
|
682
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1200
683
|
last_fetched_at: z.ZodOptional<z.ZodString>;
|
|
1201
684
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1202
|
-
},
|
|
1203
|
-
success: boolean;
|
|
1204
|
-
needs?: {
|
|
1205
|
-
key: string;
|
|
1206
|
-
type?: "string" | "boolean" | "code" | "filter" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
|
|
1207
|
-
list?: boolean | undefined;
|
|
1208
|
-
default?: string | undefined;
|
|
1209
|
-
label?: string | undefined;
|
|
1210
|
-
alters_custom_fields?: boolean | null | undefined;
|
|
1211
|
-
capabilities?: string[] | undefined;
|
|
1212
|
-
choices?: {
|
|
1213
|
-
key?: string | undefined;
|
|
1214
|
-
value?: string | undefined;
|
|
1215
|
-
label?: string | undefined;
|
|
1216
|
-
sample?: string | undefined;
|
|
1217
|
-
}[] | undefined;
|
|
1218
|
-
computed?: boolean | null | undefined;
|
|
1219
|
-
custom_field?: boolean | undefined;
|
|
1220
|
-
depends_on?: string[] | undefined;
|
|
1221
|
-
format?: "SELECT" | undefined;
|
|
1222
|
-
from_search?: boolean | undefined;
|
|
1223
|
-
from_write?: boolean | undefined;
|
|
1224
|
-
help_text?: string | undefined;
|
|
1225
|
-
help_text_html?: string | undefined;
|
|
1226
|
-
input_format?: string[] | undefined;
|
|
1227
|
-
language?: string | undefined;
|
|
1228
|
-
parent_key?: string | undefined;
|
|
1229
|
-
placeholder?: string | undefined;
|
|
1230
|
-
prefill?: string | undefined;
|
|
1231
|
-
required?: boolean | undefined;
|
|
1232
|
-
searchfill?: string | undefined;
|
|
1233
|
-
send_in_json?: boolean | undefined;
|
|
1234
|
-
regex?: string | undefined;
|
|
1235
|
-
}[] | undefined;
|
|
1236
|
-
errors?: string[] | undefined;
|
|
1237
|
-
last_fetched_at?: string | undefined;
|
|
1238
|
-
schema?: Record<string, unknown> | undefined;
|
|
1239
|
-
}, {
|
|
1240
|
-
success: boolean;
|
|
1241
|
-
needs?: {
|
|
1242
|
-
key: string;
|
|
1243
|
-
type?: "string" | "boolean" | "code" | "filter" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
|
|
1244
|
-
list?: boolean | undefined;
|
|
1245
|
-
default?: string | undefined;
|
|
1246
|
-
label?: string | undefined;
|
|
1247
|
-
alters_custom_fields?: boolean | null | undefined;
|
|
1248
|
-
capabilities?: string[] | undefined;
|
|
1249
|
-
choices?: {
|
|
1250
|
-
key?: string | undefined;
|
|
1251
|
-
value?: string | undefined;
|
|
1252
|
-
label?: string | undefined;
|
|
1253
|
-
sample?: string | undefined;
|
|
1254
|
-
}[] | undefined;
|
|
1255
|
-
computed?: boolean | null | undefined;
|
|
1256
|
-
custom_field?: boolean | undefined;
|
|
1257
|
-
depends_on?: string[] | undefined;
|
|
1258
|
-
format?: "SELECT" | undefined;
|
|
1259
|
-
from_search?: boolean | undefined;
|
|
1260
|
-
from_write?: boolean | undefined;
|
|
1261
|
-
help_text?: string | undefined;
|
|
1262
|
-
help_text_html?: string | undefined;
|
|
1263
|
-
input_format?: string[] | undefined;
|
|
1264
|
-
language?: string | undefined;
|
|
1265
|
-
parent_key?: string | undefined;
|
|
1266
|
-
placeholder?: string | undefined;
|
|
1267
|
-
prefill?: string | undefined;
|
|
1268
|
-
required?: boolean | undefined;
|
|
1269
|
-
searchfill?: string | undefined;
|
|
1270
|
-
send_in_json?: boolean | undefined;
|
|
1271
|
-
regex?: string | undefined;
|
|
1272
|
-
}[] | undefined;
|
|
1273
|
-
errors?: string[] | undefined;
|
|
1274
|
-
last_fetched_at?: string | undefined;
|
|
1275
|
-
schema?: Record<string, unknown> | undefined;
|
|
1276
|
-
}>;
|
|
685
|
+
}, z.core.$strip>;
|
|
1277
686
|
|
|
1278
687
|
/**
|
|
1279
688
|
* API Client Type Definitions
|
|
@@ -1360,23 +769,7 @@ declare const ActionEntrySchema: z.ZodObject<{
|
|
|
1360
769
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1361
770
|
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1362
771
|
createdAt: z.ZodString;
|
|
1363
|
-
},
|
|
1364
|
-
schema: Record<string, unknown>;
|
|
1365
|
-
appKey: string;
|
|
1366
|
-
actionKey: string;
|
|
1367
|
-
actionType: string;
|
|
1368
|
-
createdAt: string;
|
|
1369
|
-
authenticationId?: number | null | undefined;
|
|
1370
|
-
inputs?: Record<string, unknown> | undefined;
|
|
1371
|
-
}, {
|
|
1372
|
-
schema: Record<string, unknown>;
|
|
1373
|
-
appKey: string;
|
|
1374
|
-
actionKey: string;
|
|
1375
|
-
actionType: string;
|
|
1376
|
-
createdAt: string;
|
|
1377
|
-
authenticationId?: number | null | undefined;
|
|
1378
|
-
inputs?: Record<string, unknown> | undefined;
|
|
1379
|
-
}>;
|
|
772
|
+
}, z.core.$strip>;
|
|
1380
773
|
type ActionEntry = z.infer<typeof ActionEntrySchema>;
|
|
1381
774
|
type Manifest = {
|
|
1382
775
|
apps: Record<string, ManifestEntry>;
|
|
@@ -1390,26 +783,8 @@ declare const ManifestPluginOptionsSchema: z.ZodObject<{
|
|
|
1390
783
|
manifest: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1391
784
|
implementationName: z.ZodString;
|
|
1392
785
|
version: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
},
|
|
1394
|
-
|
|
1395
|
-
version?: string | undefined;
|
|
1396
|
-
}, {
|
|
1397
|
-
implementationName: string;
|
|
1398
|
-
version?: string | undefined;
|
|
1399
|
-
}>>>;
|
|
1400
|
-
}, "strip", z.ZodTypeAny, {
|
|
1401
|
-
manifestPath?: string | undefined;
|
|
1402
|
-
manifest?: Record<string, {
|
|
1403
|
-
implementationName: string;
|
|
1404
|
-
version?: string | undefined;
|
|
1405
|
-
}> | undefined;
|
|
1406
|
-
}, {
|
|
1407
|
-
manifestPath?: string | undefined;
|
|
1408
|
-
manifest?: Record<string, {
|
|
1409
|
-
implementationName: string;
|
|
1410
|
-
version?: string | undefined;
|
|
1411
|
-
}> | undefined;
|
|
1412
|
-
}>;
|
|
786
|
+
}, z.core.$strip>>>;
|
|
787
|
+
}, z.core.$strip>;
|
|
1413
788
|
|
|
1414
789
|
type ManifestPluginOptions = z.infer<typeof ManifestPluginOptionsSchema>;
|
|
1415
790
|
interface UpdateManifestEntryOptions {
|
|
@@ -1662,34 +1037,25 @@ declare function formatErrorMessage(error: ZapierError): string;
|
|
|
1662
1037
|
|
|
1663
1038
|
declare const ListInputFieldsSchema: z.ZodObject<{
|
|
1664
1039
|
appKey: z.ZodString & {
|
|
1665
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1040
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
1666
1041
|
};
|
|
1667
|
-
actionType: z.ZodEnum<
|
|
1042
|
+
actionType: z.ZodEnum<{
|
|
1043
|
+
search: "search";
|
|
1044
|
+
filter: "filter";
|
|
1045
|
+
read: "read";
|
|
1046
|
+
read_bulk: "read_bulk";
|
|
1047
|
+
run: "run";
|
|
1048
|
+
search_and_write: "search_and_write";
|
|
1049
|
+
search_or_write: "search_or_write";
|
|
1050
|
+
write: "write";
|
|
1051
|
+
}>;
|
|
1668
1052
|
actionKey: z.ZodString;
|
|
1669
1053
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1670
1054
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1671
1055
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1672
1056
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1673
1057
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1674
|
-
},
|
|
1675
|
-
appKey: string;
|
|
1676
|
-
actionKey: string;
|
|
1677
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
1678
|
-
authenticationId?: number | null | undefined;
|
|
1679
|
-
inputs?: Record<string, unknown> | undefined;
|
|
1680
|
-
cursor?: string | undefined;
|
|
1681
|
-
maxItems?: number | undefined;
|
|
1682
|
-
pageSize?: number | undefined;
|
|
1683
|
-
}, {
|
|
1684
|
-
appKey: string;
|
|
1685
|
-
actionKey: string;
|
|
1686
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
1687
|
-
authenticationId?: number | null | undefined;
|
|
1688
|
-
inputs?: Record<string, unknown> | undefined;
|
|
1689
|
-
cursor?: string | undefined;
|
|
1690
|
-
maxItems?: number | undefined;
|
|
1691
|
-
pageSize?: number | undefined;
|
|
1692
|
-
}>;
|
|
1058
|
+
}, z.core.$strip>;
|
|
1693
1059
|
type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema>;
|
|
1694
1060
|
|
|
1695
1061
|
/**
|
|
@@ -1708,38 +1074,15 @@ type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema>;
|
|
|
1708
1074
|
* The plugin resolves these to implementation IDs before calling the handler.
|
|
1709
1075
|
*/
|
|
1710
1076
|
declare const ListAppsOptionsSchema: z.ZodObject<{
|
|
1711
|
-
appKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1077
|
+
appKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1712
1078
|
search: z.ZodOptional<z.ZodString>;
|
|
1713
1079
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1714
1080
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1715
1081
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1716
|
-
} & {
|
|
1717
1082
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
1718
1083
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
1719
|
-
},
|
|
1720
|
-
|
|
1721
|
-
}, {
|
|
1722
|
-
isNested?: boolean | undefined;
|
|
1723
|
-
}>>;
|
|
1724
|
-
}, "strip", z.ZodTypeAny, {
|
|
1725
|
-
search?: string | undefined;
|
|
1726
|
-
appKeys?: string[] | undefined;
|
|
1727
|
-
cursor?: string | undefined;
|
|
1728
|
-
maxItems?: number | undefined;
|
|
1729
|
-
pageSize?: number | undefined;
|
|
1730
|
-
_telemetry?: {
|
|
1731
|
-
isNested?: boolean | undefined;
|
|
1732
|
-
} | undefined;
|
|
1733
|
-
}, {
|
|
1734
|
-
search?: string | undefined;
|
|
1735
|
-
appKeys?: string[] | undefined;
|
|
1736
|
-
cursor?: string | undefined;
|
|
1737
|
-
maxItems?: number | undefined;
|
|
1738
|
-
pageSize?: number | undefined;
|
|
1739
|
-
_telemetry?: {
|
|
1740
|
-
isNested?: boolean | undefined;
|
|
1741
|
-
} | undefined;
|
|
1742
|
-
}>;
|
|
1084
|
+
}, z.core.$strip>>;
|
|
1085
|
+
}, z.core.$strip>;
|
|
1743
1086
|
type ListAppsOptions = z.infer<typeof ListAppsOptionsSchema>;
|
|
1744
1087
|
/**
|
|
1745
1088
|
* Normalized app item returned by listApps
|
|
@@ -1750,15 +1093,7 @@ declare const AppItemSchema$1: z.ZodObject<{
|
|
|
1750
1093
|
id: z.ZodNumber;
|
|
1751
1094
|
name: z.ZodString;
|
|
1752
1095
|
slug: z.ZodString;
|
|
1753
|
-
},
|
|
1754
|
-
id: number;
|
|
1755
|
-
name: string;
|
|
1756
|
-
slug: string;
|
|
1757
|
-
}, {
|
|
1758
|
-
id: number;
|
|
1759
|
-
name: string;
|
|
1760
|
-
slug: string;
|
|
1761
|
-
}>, "many">>;
|
|
1096
|
+
}, z.core.$strip>>>;
|
|
1762
1097
|
actions: z.ZodOptional<z.ZodObject<{
|
|
1763
1098
|
read: z.ZodOptional<z.ZodNumber>;
|
|
1764
1099
|
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1767,23 +1102,7 @@ declare const AppItemSchema$1: z.ZodObject<{
|
|
|
1767
1102
|
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
1768
1103
|
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
1769
1104
|
filter: z.ZodOptional<z.ZodNumber>;
|
|
1770
|
-
},
|
|
1771
|
-
search?: number | undefined;
|
|
1772
|
-
filter?: number | undefined;
|
|
1773
|
-
read?: number | undefined;
|
|
1774
|
-
read_bulk?: number | undefined;
|
|
1775
|
-
search_and_write?: number | undefined;
|
|
1776
|
-
search_or_write?: number | undefined;
|
|
1777
|
-
write?: number | undefined;
|
|
1778
|
-
}, {
|
|
1779
|
-
search?: number | undefined;
|
|
1780
|
-
filter?: number | undefined;
|
|
1781
|
-
read?: number | undefined;
|
|
1782
|
-
read_bulk?: number | undefined;
|
|
1783
|
-
search_and_write?: number | undefined;
|
|
1784
|
-
search_or_write?: number | undefined;
|
|
1785
|
-
write?: number | undefined;
|
|
1786
|
-
}>>;
|
|
1105
|
+
}, z.core.$strip>>;
|
|
1787
1106
|
description: z.ZodOptional<z.ZodString>;
|
|
1788
1107
|
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1789
1108
|
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1795,17 +1114,7 @@ declare const AppItemSchema$1: z.ZodObject<{
|
|
|
1795
1114
|
url_32x32: z.ZodOptional<z.ZodString>;
|
|
1796
1115
|
url_64x64: z.ZodOptional<z.ZodString>;
|
|
1797
1116
|
url_128x128: z.ZodOptional<z.ZodString>;
|
|
1798
|
-
},
|
|
1799
|
-
url_16x16?: string | undefined;
|
|
1800
|
-
url_32x32?: string | undefined;
|
|
1801
|
-
url_64x64?: string | undefined;
|
|
1802
|
-
url_128x128?: string | undefined;
|
|
1803
|
-
}, {
|
|
1804
|
-
url_16x16?: string | undefined;
|
|
1805
|
-
url_32x32?: string | undefined;
|
|
1806
|
-
url_64x64?: string | undefined;
|
|
1807
|
-
url_128x128?: string | undefined;
|
|
1808
|
-
}>>;
|
|
1117
|
+
}, z.core.$strip>>;
|
|
1809
1118
|
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
1810
1119
|
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
1811
1120
|
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1827,116 +1136,11 @@ declare const AppItemSchema$1: z.ZodObject<{
|
|
|
1827
1136
|
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
1828
1137
|
visibility: z.ZodOptional<z.ZodString>;
|
|
1829
1138
|
classification: z.ZodOptional<z.ZodString>;
|
|
1830
|
-
} & {
|
|
1831
1139
|
title: z.ZodString;
|
|
1832
1140
|
key: z.ZodString;
|
|
1833
1141
|
implementation_id: z.ZodString;
|
|
1834
1142
|
version: z.ZodOptional<z.ZodString>;
|
|
1835
|
-
},
|
|
1836
|
-
key: string;
|
|
1837
|
-
title: string;
|
|
1838
|
-
slug: string;
|
|
1839
|
-
implementation_id: string;
|
|
1840
|
-
categories?: {
|
|
1841
|
-
id: number;
|
|
1842
|
-
name: string;
|
|
1843
|
-
slug: string;
|
|
1844
|
-
}[] | undefined;
|
|
1845
|
-
actions?: {
|
|
1846
|
-
search?: number | undefined;
|
|
1847
|
-
filter?: number | undefined;
|
|
1848
|
-
read?: number | undefined;
|
|
1849
|
-
read_bulk?: number | undefined;
|
|
1850
|
-
search_and_write?: number | undefined;
|
|
1851
|
-
search_or_write?: number | undefined;
|
|
1852
|
-
write?: number | undefined;
|
|
1853
|
-
} | undefined;
|
|
1854
|
-
description?: string | undefined;
|
|
1855
|
-
is_hidden?: boolean | undefined;
|
|
1856
|
-
age_in_days?: number | undefined;
|
|
1857
|
-
api_docs_url?: string | undefined;
|
|
1858
|
-
banner?: string | undefined;
|
|
1859
|
-
image?: string | undefined;
|
|
1860
|
-
images?: {
|
|
1861
|
-
url_16x16?: string | undefined;
|
|
1862
|
-
url_32x32?: string | undefined;
|
|
1863
|
-
url_64x64?: string | undefined;
|
|
1864
|
-
url_128x128?: string | undefined;
|
|
1865
|
-
} | undefined;
|
|
1866
|
-
is_beta?: boolean | undefined;
|
|
1867
|
-
is_built_in?: boolean | undefined;
|
|
1868
|
-
is_featured?: boolean | undefined;
|
|
1869
|
-
is_premium?: boolean | undefined;
|
|
1870
|
-
is_public?: boolean | undefined;
|
|
1871
|
-
is_upcoming?: boolean | undefined;
|
|
1872
|
-
popularity?: number | undefined;
|
|
1873
|
-
primary_color?: string | undefined;
|
|
1874
|
-
auth_type?: string | undefined;
|
|
1875
|
-
is_deprecated?: boolean | undefined;
|
|
1876
|
-
secondary_color?: string | undefined;
|
|
1877
|
-
has_filters?: boolean | undefined;
|
|
1878
|
-
has_reads?: boolean | undefined;
|
|
1879
|
-
has_searches?: boolean | undefined;
|
|
1880
|
-
has_searches_or_writes?: boolean | undefined;
|
|
1881
|
-
has_upfront_fields?: boolean | undefined;
|
|
1882
|
-
has_writes?: boolean | undefined;
|
|
1883
|
-
is_invite?: boolean | undefined;
|
|
1884
|
-
version?: string | undefined;
|
|
1885
|
-
visibility?: string | undefined;
|
|
1886
|
-
classification?: string | undefined;
|
|
1887
|
-
}, {
|
|
1888
|
-
key: string;
|
|
1889
|
-
title: string;
|
|
1890
|
-
slug: string;
|
|
1891
|
-
implementation_id: string;
|
|
1892
|
-
categories?: {
|
|
1893
|
-
id: number;
|
|
1894
|
-
name: string;
|
|
1895
|
-
slug: string;
|
|
1896
|
-
}[] | undefined;
|
|
1897
|
-
actions?: {
|
|
1898
|
-
search?: number | undefined;
|
|
1899
|
-
filter?: number | undefined;
|
|
1900
|
-
read?: number | undefined;
|
|
1901
|
-
read_bulk?: number | undefined;
|
|
1902
|
-
search_and_write?: number | undefined;
|
|
1903
|
-
search_or_write?: number | undefined;
|
|
1904
|
-
write?: number | undefined;
|
|
1905
|
-
} | undefined;
|
|
1906
|
-
description?: string | undefined;
|
|
1907
|
-
is_hidden?: boolean | undefined;
|
|
1908
|
-
age_in_days?: number | undefined;
|
|
1909
|
-
api_docs_url?: string | undefined;
|
|
1910
|
-
banner?: string | undefined;
|
|
1911
|
-
image?: string | undefined;
|
|
1912
|
-
images?: {
|
|
1913
|
-
url_16x16?: string | undefined;
|
|
1914
|
-
url_32x32?: string | undefined;
|
|
1915
|
-
url_64x64?: string | undefined;
|
|
1916
|
-
url_128x128?: string | undefined;
|
|
1917
|
-
} | undefined;
|
|
1918
|
-
is_beta?: boolean | undefined;
|
|
1919
|
-
is_built_in?: boolean | undefined;
|
|
1920
|
-
is_featured?: boolean | undefined;
|
|
1921
|
-
is_premium?: boolean | undefined;
|
|
1922
|
-
is_public?: boolean | undefined;
|
|
1923
|
-
is_upcoming?: boolean | undefined;
|
|
1924
|
-
popularity?: number | undefined;
|
|
1925
|
-
primary_color?: string | undefined;
|
|
1926
|
-
auth_type?: string | undefined;
|
|
1927
|
-
is_deprecated?: boolean | undefined;
|
|
1928
|
-
secondary_color?: string | undefined;
|
|
1929
|
-
has_filters?: boolean | undefined;
|
|
1930
|
-
has_reads?: boolean | undefined;
|
|
1931
|
-
has_searches?: boolean | undefined;
|
|
1932
|
-
has_searches_or_writes?: boolean | undefined;
|
|
1933
|
-
has_upfront_fields?: boolean | undefined;
|
|
1934
|
-
has_writes?: boolean | undefined;
|
|
1935
|
-
is_invite?: boolean | undefined;
|
|
1936
|
-
version?: string | undefined;
|
|
1937
|
-
visibility?: string | undefined;
|
|
1938
|
-
classification?: string | undefined;
|
|
1939
|
-
}>;
|
|
1143
|
+
}, z.core.$strip>;
|
|
1940
1144
|
type AppItem$1 = z.infer<typeof AppItemSchema$1>;
|
|
1941
1145
|
|
|
1942
1146
|
/**
|
|
@@ -1950,23 +1154,19 @@ type AppItem$1 = z.infer<typeof AppItemSchema$1>;
|
|
|
1950
1154
|
*/
|
|
1951
1155
|
declare const GetAuthenticationOptionsSchema: z.ZodObject<{
|
|
1952
1156
|
authenticationId: z.ZodNumber;
|
|
1953
|
-
},
|
|
1954
|
-
authenticationId: number;
|
|
1955
|
-
}, {
|
|
1956
|
-
authenticationId: number;
|
|
1957
|
-
}>;
|
|
1157
|
+
}, z.core.$strip>;
|
|
1958
1158
|
type GetAuthenticationOptions = z.infer<typeof GetAuthenticationOptionsSchema>;
|
|
1959
1159
|
/**
|
|
1960
1160
|
* Response schema for getAuthentication (single item)
|
|
1961
1161
|
*/
|
|
1962
1162
|
declare const GetAuthenticationResponseSchema: z.ZodObject<{
|
|
1963
|
-
data: z.ZodLazy<z.ZodObject<
|
|
1964
|
-
|
|
1163
|
+
data: z.ZodLazy<z.ZodObject<{
|
|
1164
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
account_id: z.ZodNumber;
|
|
1166
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1965
1167
|
date: z.ZodString;
|
|
1168
|
+
id: z.ZodNumber;
|
|
1966
1169
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
1967
|
-
account_id: z.ZodNumber;
|
|
1968
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
1969
|
-
selected_api: z.ZodString;
|
|
1970
1170
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1971
1171
|
is_invite_only: z.ZodBoolean;
|
|
1972
1172
|
is_private: z.ZodBoolean;
|
|
@@ -1974,261 +1174,86 @@ declare const GetAuthenticationResponseSchema: z.ZodObject<{
|
|
|
1974
1174
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
1975
1175
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
1976
1176
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1977
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1978
1177
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1979
1178
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1980
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1981
1179
|
groups: z.ZodOptional<z.ZodString>;
|
|
1982
1180
|
members: z.ZodOptional<z.ZodString>;
|
|
1983
1181
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1984
|
-
}, "customuser_id" | "selected_api"> & {
|
|
1985
1182
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
1986
1183
|
user_id: z.ZodOptional<z.ZodNumber>;
|
|
1987
1184
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
1988
1185
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1989
1186
|
app_key: z.ZodOptional<z.ZodString>;
|
|
1990
1187
|
app_version: z.ZodOptional<z.ZodString>;
|
|
1991
|
-
},
|
|
1992
|
-
|
|
1993
|
-
id: number;
|
|
1994
|
-
date: string;
|
|
1995
|
-
is_invite_only: boolean;
|
|
1996
|
-
is_private: boolean;
|
|
1997
|
-
shared_with_all: boolean;
|
|
1998
|
-
url?: string | undefined;
|
|
1999
|
-
label?: string | null | undefined;
|
|
2000
|
-
lastchanged?: string | undefined;
|
|
2001
|
-
destination_selected_api?: string | null | undefined;
|
|
2002
|
-
is_stale?: string | undefined;
|
|
2003
|
-
is_shared?: string | undefined;
|
|
2004
|
-
marked_stale_at?: string | null | undefined;
|
|
2005
|
-
identifier?: string | null | undefined;
|
|
2006
|
-
title?: string | null | undefined;
|
|
2007
|
-
groups?: string | undefined;
|
|
2008
|
-
members?: string | undefined;
|
|
2009
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2010
|
-
user_id?: number | undefined;
|
|
2011
|
-
implementation_id?: string | undefined;
|
|
2012
|
-
is_expired?: string | undefined;
|
|
2013
|
-
expired_at?: string | null | undefined;
|
|
2014
|
-
app_key?: string | undefined;
|
|
2015
|
-
app_version?: string | undefined;
|
|
2016
|
-
}, {
|
|
2017
|
-
account_id: number;
|
|
2018
|
-
id: number;
|
|
2019
|
-
date: string;
|
|
2020
|
-
is_invite_only: boolean;
|
|
2021
|
-
is_private: boolean;
|
|
2022
|
-
shared_with_all: boolean;
|
|
2023
|
-
url?: string | undefined;
|
|
2024
|
-
label?: string | null | undefined;
|
|
2025
|
-
lastchanged?: string | undefined;
|
|
2026
|
-
destination_selected_api?: string | null | undefined;
|
|
2027
|
-
is_stale?: string | undefined;
|
|
2028
|
-
is_shared?: string | undefined;
|
|
2029
|
-
marked_stale_at?: string | null | undefined;
|
|
2030
|
-
identifier?: string | null | undefined;
|
|
2031
|
-
title?: string | null | undefined;
|
|
2032
|
-
groups?: string | undefined;
|
|
2033
|
-
members?: string | undefined;
|
|
2034
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2035
|
-
user_id?: number | undefined;
|
|
2036
|
-
implementation_id?: string | undefined;
|
|
2037
|
-
is_expired?: string | undefined;
|
|
2038
|
-
expired_at?: string | null | undefined;
|
|
2039
|
-
app_key?: string | undefined;
|
|
2040
|
-
app_version?: string | undefined;
|
|
2041
|
-
}>>;
|
|
2042
|
-
}, "strip", z.ZodTypeAny, {
|
|
2043
|
-
data: {
|
|
2044
|
-
account_id: number;
|
|
2045
|
-
id: number;
|
|
2046
|
-
date: string;
|
|
2047
|
-
is_invite_only: boolean;
|
|
2048
|
-
is_private: boolean;
|
|
2049
|
-
shared_with_all: boolean;
|
|
2050
|
-
url?: string | undefined;
|
|
2051
|
-
label?: string | null | undefined;
|
|
2052
|
-
lastchanged?: string | undefined;
|
|
2053
|
-
destination_selected_api?: string | null | undefined;
|
|
2054
|
-
is_stale?: string | undefined;
|
|
2055
|
-
is_shared?: string | undefined;
|
|
2056
|
-
marked_stale_at?: string | null | undefined;
|
|
2057
|
-
identifier?: string | null | undefined;
|
|
2058
|
-
title?: string | null | undefined;
|
|
2059
|
-
groups?: string | undefined;
|
|
2060
|
-
members?: string | undefined;
|
|
2061
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2062
|
-
user_id?: number | undefined;
|
|
2063
|
-
implementation_id?: string | undefined;
|
|
2064
|
-
is_expired?: string | undefined;
|
|
2065
|
-
expired_at?: string | null | undefined;
|
|
2066
|
-
app_key?: string | undefined;
|
|
2067
|
-
app_version?: string | undefined;
|
|
2068
|
-
};
|
|
2069
|
-
}, {
|
|
2070
|
-
data: {
|
|
2071
|
-
account_id: number;
|
|
2072
|
-
id: number;
|
|
2073
|
-
date: string;
|
|
2074
|
-
is_invite_only: boolean;
|
|
2075
|
-
is_private: boolean;
|
|
2076
|
-
shared_with_all: boolean;
|
|
2077
|
-
url?: string | undefined;
|
|
2078
|
-
label?: string | null | undefined;
|
|
2079
|
-
lastchanged?: string | undefined;
|
|
2080
|
-
destination_selected_api?: string | null | undefined;
|
|
2081
|
-
is_stale?: string | undefined;
|
|
2082
|
-
is_shared?: string | undefined;
|
|
2083
|
-
marked_stale_at?: string | null | undefined;
|
|
2084
|
-
identifier?: string | null | undefined;
|
|
2085
|
-
title?: string | null | undefined;
|
|
2086
|
-
groups?: string | undefined;
|
|
2087
|
-
members?: string | undefined;
|
|
2088
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2089
|
-
user_id?: number | undefined;
|
|
2090
|
-
implementation_id?: string | undefined;
|
|
2091
|
-
is_expired?: string | undefined;
|
|
2092
|
-
expired_at?: string | null | undefined;
|
|
2093
|
-
app_key?: string | undefined;
|
|
2094
|
-
app_version?: string | undefined;
|
|
2095
|
-
};
|
|
2096
|
-
}>;
|
|
1188
|
+
}, z.core.$strip>>;
|
|
1189
|
+
}, z.core.$strip>;
|
|
2097
1190
|
type GetAuthenticationResponse = z.infer<typeof GetAuthenticationResponseSchema>;
|
|
2098
1191
|
|
|
2099
1192
|
declare const FindFirstAuthenticationSchema: z.ZodObject<{
|
|
2100
1193
|
appKey: z.ZodOptional<z.ZodString & {
|
|
2101
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1194
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2102
1195
|
}>;
|
|
2103
1196
|
search: z.ZodOptional<z.ZodString>;
|
|
2104
1197
|
title: z.ZodOptional<z.ZodString>;
|
|
2105
1198
|
accountId: z.ZodOptional<z.ZodString>;
|
|
2106
1199
|
owner: z.ZodOptional<z.ZodString>;
|
|
2107
|
-
},
|
|
2108
|
-
search?: string | undefined;
|
|
2109
|
-
title?: string | undefined;
|
|
2110
|
-
appKey?: string | undefined;
|
|
2111
|
-
accountId?: string | undefined;
|
|
2112
|
-
owner?: string | undefined;
|
|
2113
|
-
}, {
|
|
2114
|
-
search?: string | undefined;
|
|
2115
|
-
title?: string | undefined;
|
|
2116
|
-
appKey?: string | undefined;
|
|
2117
|
-
accountId?: string | undefined;
|
|
2118
|
-
owner?: string | undefined;
|
|
2119
|
-
}>;
|
|
1200
|
+
}, z.core.$strip>;
|
|
2120
1201
|
type FindFirstAuthenticationOptions = z.infer<typeof FindFirstAuthenticationSchema>;
|
|
2121
1202
|
|
|
2122
1203
|
declare const FindUniqueAuthenticationSchema: z.ZodObject<{
|
|
2123
1204
|
appKey: z.ZodOptional<z.ZodString & {
|
|
2124
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1205
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2125
1206
|
}>;
|
|
2126
1207
|
search: z.ZodOptional<z.ZodString>;
|
|
2127
1208
|
title: z.ZodOptional<z.ZodString>;
|
|
2128
1209
|
accountId: z.ZodOptional<z.ZodString>;
|
|
2129
1210
|
owner: z.ZodOptional<z.ZodString>;
|
|
2130
|
-
},
|
|
2131
|
-
search?: string | undefined;
|
|
2132
|
-
title?: string | undefined;
|
|
2133
|
-
appKey?: string | undefined;
|
|
2134
|
-
accountId?: string | undefined;
|
|
2135
|
-
owner?: string | undefined;
|
|
2136
|
-
}, {
|
|
2137
|
-
search?: string | undefined;
|
|
2138
|
-
title?: string | undefined;
|
|
2139
|
-
appKey?: string | undefined;
|
|
2140
|
-
accountId?: string | undefined;
|
|
2141
|
-
owner?: string | undefined;
|
|
2142
|
-
}>;
|
|
1211
|
+
}, z.core.$strip>;
|
|
2143
1212
|
type FindUniqueAuthenticationOptions = z.infer<typeof FindUniqueAuthenticationSchema>;
|
|
2144
1213
|
|
|
2145
1214
|
declare const RelayRequestSchema: z.ZodObject<{
|
|
2146
1215
|
url: z.ZodString;
|
|
2147
|
-
method: z.ZodOptional<z.ZodEnum<
|
|
1216
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
1217
|
+
POST: "POST";
|
|
1218
|
+
GET: "GET";
|
|
1219
|
+
PUT: "PUT";
|
|
1220
|
+
DELETE: "DELETE";
|
|
1221
|
+
PATCH: "PATCH";
|
|
1222
|
+
HEAD: "HEAD";
|
|
1223
|
+
OPTIONS: "OPTIONS";
|
|
1224
|
+
}>>;
|
|
2148
1225
|
body: z.ZodOptional<z.ZodAny>;
|
|
2149
1226
|
authenticationId: z.ZodOptional<z.ZodNumber>;
|
|
2150
1227
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
2151
1228
|
authenticationTemplate: z.ZodOptional<z.ZodString>;
|
|
2152
|
-
headers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.
|
|
2153
|
-
} & {
|
|
1229
|
+
headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodCustom<Headers, Headers>, z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>]>>;
|
|
2154
1230
|
relayBaseUrl: z.ZodOptional<z.ZodString>;
|
|
2155
|
-
} & {
|
|
2156
1231
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
2157
1232
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
2158
|
-
},
|
|
2159
|
-
|
|
2160
|
-
}, {
|
|
2161
|
-
isNested?: boolean | undefined;
|
|
2162
|
-
}>>;
|
|
2163
|
-
}, "strip", z.ZodTypeAny, {
|
|
2164
|
-
url: string;
|
|
2165
|
-
method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
2166
|
-
authenticationId?: number | undefined;
|
|
2167
|
-
headers?: Record<string, string> | [string, string][] | Headers | undefined;
|
|
2168
|
-
body?: any;
|
|
2169
|
-
_telemetry?: {
|
|
2170
|
-
isNested?: boolean | undefined;
|
|
2171
|
-
} | undefined;
|
|
2172
|
-
callbackUrl?: string | undefined;
|
|
2173
|
-
authenticationTemplate?: string | undefined;
|
|
2174
|
-
relayBaseUrl?: string | undefined;
|
|
2175
|
-
}, {
|
|
2176
|
-
url: string;
|
|
2177
|
-
method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
2178
|
-
authenticationId?: number | undefined;
|
|
2179
|
-
headers?: Record<string, string> | [string, string][] | Headers | undefined;
|
|
2180
|
-
body?: any;
|
|
2181
|
-
_telemetry?: {
|
|
2182
|
-
isNested?: boolean | undefined;
|
|
2183
|
-
} | undefined;
|
|
2184
|
-
callbackUrl?: string | undefined;
|
|
2185
|
-
authenticationTemplate?: string | undefined;
|
|
2186
|
-
relayBaseUrl?: string | undefined;
|
|
2187
|
-
}>;
|
|
1233
|
+
}, z.core.$strip>>;
|
|
1234
|
+
}, z.core.$strip>;
|
|
2188
1235
|
type RelayRequestOptions = z.infer<typeof RelayRequestSchema>;
|
|
2189
1236
|
declare const RelayFetchSchema: z.ZodObject<{
|
|
2190
1237
|
url: z.ZodString;
|
|
2191
|
-
method: z.ZodOptional<z.ZodEnum<
|
|
1238
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
1239
|
+
POST: "POST";
|
|
1240
|
+
GET: "GET";
|
|
1241
|
+
PUT: "PUT";
|
|
1242
|
+
DELETE: "DELETE";
|
|
1243
|
+
PATCH: "PATCH";
|
|
1244
|
+
HEAD: "HEAD";
|
|
1245
|
+
OPTIONS: "OPTIONS";
|
|
1246
|
+
}>>;
|
|
2192
1247
|
body: z.ZodOptional<z.ZodAny>;
|
|
2193
1248
|
authenticationId: z.ZodOptional<z.ZodNumber>;
|
|
2194
1249
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
2195
1250
|
authenticationTemplate: z.ZodOptional<z.ZodString>;
|
|
2196
|
-
headers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.
|
|
2197
|
-
} & {
|
|
1251
|
+
headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodCustom<Headers, Headers>, z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>]>>;
|
|
2198
1252
|
relayBaseUrl: z.ZodOptional<z.ZodString>;
|
|
2199
|
-
} & {
|
|
2200
1253
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
2201
1254
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
2202
|
-
},
|
|
2203
|
-
|
|
2204
|
-
}, {
|
|
2205
|
-
isNested?: boolean | undefined;
|
|
2206
|
-
}>>;
|
|
2207
|
-
}, "strip", z.ZodTypeAny, {
|
|
2208
|
-
url: string;
|
|
2209
|
-
method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
2210
|
-
authenticationId?: number | undefined;
|
|
2211
|
-
headers?: Record<string, string> | [string, string][] | Headers | undefined;
|
|
2212
|
-
body?: any;
|
|
2213
|
-
_telemetry?: {
|
|
2214
|
-
isNested?: boolean | undefined;
|
|
2215
|
-
} | undefined;
|
|
2216
|
-
callbackUrl?: string | undefined;
|
|
2217
|
-
authenticationTemplate?: string | undefined;
|
|
2218
|
-
relayBaseUrl?: string | undefined;
|
|
2219
|
-
}, {
|
|
2220
|
-
url: string;
|
|
2221
|
-
method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
2222
|
-
authenticationId?: number | undefined;
|
|
2223
|
-
headers?: Record<string, string> | [string, string][] | Headers | undefined;
|
|
2224
|
-
body?: any;
|
|
2225
|
-
_telemetry?: {
|
|
2226
|
-
isNested?: boolean | undefined;
|
|
2227
|
-
} | undefined;
|
|
2228
|
-
callbackUrl?: string | undefined;
|
|
2229
|
-
authenticationTemplate?: string | undefined;
|
|
2230
|
-
relayBaseUrl?: string | undefined;
|
|
2231
|
-
}>;
|
|
1255
|
+
}, z.core.$strip>>;
|
|
1256
|
+
}, z.core.$strip>;
|
|
2232
1257
|
|
|
2233
1258
|
interface RegistryPluginProvides {
|
|
2234
1259
|
getRegistry: (options?: {
|
|
@@ -2247,7 +1272,7 @@ declare const registryPlugin: Plugin<{}, // accepts any SDK shape
|
|
|
2247
1272
|
{}, // requires no context
|
|
2248
1273
|
RegistryPluginProvides>;
|
|
2249
1274
|
|
|
2250
|
-
declare const GetProfileSchema: z.ZodOptional<z.ZodObject<{},
|
|
1275
|
+
declare const GetProfileSchema: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
2251
1276
|
type GetProfileOptions = z.infer<typeof GetProfileSchema> & FunctionOptions;
|
|
2252
1277
|
|
|
2253
1278
|
interface GetProfilePluginProvides {
|
|
@@ -2281,21 +1306,11 @@ declare const apiPlugin: Plugin<{}, {}, ApiPluginProvides>;
|
|
|
2281
1306
|
declare const ActionExecutionInputSchema: z.ZodObject<{
|
|
2282
1307
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2283
1308
|
authenticationId: z.ZodOptional<z.ZodNumber>;
|
|
2284
|
-
},
|
|
2285
|
-
authenticationId?: number | undefined;
|
|
2286
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2287
|
-
}, {
|
|
2288
|
-
authenticationId?: number | undefined;
|
|
2289
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2290
|
-
}>;
|
|
1309
|
+
}, z.core.$strip>;
|
|
2291
1310
|
type ActionExecutionOptions = z.infer<typeof ActionExecutionInputSchema>;
|
|
2292
1311
|
declare const AppFactoryInputSchema: z.ZodObject<{
|
|
2293
1312
|
authenticationId: z.ZodNumber;
|
|
2294
|
-
},
|
|
2295
|
-
authenticationId: number;
|
|
2296
|
-
}, {
|
|
2297
|
-
authenticationId: number;
|
|
2298
|
-
}>;
|
|
1313
|
+
}, z.core.$strip>;
|
|
2299
1314
|
type AppFactoryInput = z.infer<typeof AppFactoryInputSchema>;
|
|
2300
1315
|
interface BaseActionTypeProxy {
|
|
2301
1316
|
[action: string]: (options?: ActionExecutionOptions) => Promise<{
|
|
@@ -2378,102 +1393,69 @@ type ZapierFetchInitOptions = RequestInit & {
|
|
|
2378
1393
|
|
|
2379
1394
|
declare const RunActionSchema: z.ZodObject<{
|
|
2380
1395
|
appKey: z.ZodString & {
|
|
2381
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1396
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2382
1397
|
};
|
|
2383
|
-
actionType: z.ZodEnum<
|
|
1398
|
+
actionType: z.ZodEnum<{
|
|
1399
|
+
search: "search";
|
|
1400
|
+
filter: "filter";
|
|
1401
|
+
read: "read";
|
|
1402
|
+
read_bulk: "read_bulk";
|
|
1403
|
+
run: "run";
|
|
1404
|
+
search_and_write: "search_and_write";
|
|
1405
|
+
search_or_write: "search_or_write";
|
|
1406
|
+
write: "write";
|
|
1407
|
+
}>;
|
|
2384
1408
|
actionKey: z.ZodString;
|
|
2385
1409
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2386
1410
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2387
1411
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2388
1412
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2389
1413
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2390
|
-
},
|
|
2391
|
-
appKey: string;
|
|
2392
|
-
actionKey: string;
|
|
2393
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2394
|
-
authenticationId?: number | null | undefined;
|
|
2395
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2396
|
-
cursor?: string | undefined;
|
|
2397
|
-
maxItems?: number | undefined;
|
|
2398
|
-
pageSize?: number | undefined;
|
|
2399
|
-
}, {
|
|
2400
|
-
appKey: string;
|
|
2401
|
-
actionKey: string;
|
|
2402
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2403
|
-
authenticationId?: number | null | undefined;
|
|
2404
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2405
|
-
cursor?: string | undefined;
|
|
2406
|
-
maxItems?: number | undefined;
|
|
2407
|
-
pageSize?: number | undefined;
|
|
2408
|
-
}>;
|
|
1414
|
+
}, z.core.$strip>;
|
|
2409
1415
|
type RunActionOptions = z.infer<typeof RunActionSchema>;
|
|
2410
1416
|
|
|
2411
1417
|
declare const GetActionSchema: z.ZodObject<{
|
|
2412
1418
|
appKey: z.ZodString & {
|
|
2413
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1419
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2414
1420
|
};
|
|
2415
|
-
actionType: z.ZodEnum<
|
|
1421
|
+
actionType: z.ZodEnum<{
|
|
1422
|
+
search: "search";
|
|
1423
|
+
filter: "filter";
|
|
1424
|
+
read: "read";
|
|
1425
|
+
read_bulk: "read_bulk";
|
|
1426
|
+
run: "run";
|
|
1427
|
+
search_and_write: "search_and_write";
|
|
1428
|
+
search_or_write: "search_or_write";
|
|
1429
|
+
write: "write";
|
|
1430
|
+
}>;
|
|
2416
1431
|
actionKey: z.ZodString;
|
|
2417
|
-
} & {
|
|
2418
1432
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
2419
1433
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
2420
|
-
},
|
|
2421
|
-
|
|
2422
|
-
}, {
|
|
2423
|
-
isNested?: boolean | undefined;
|
|
2424
|
-
}>>;
|
|
2425
|
-
}, "strip", z.ZodTypeAny, {
|
|
2426
|
-
appKey: string;
|
|
2427
|
-
actionKey: string;
|
|
2428
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2429
|
-
_telemetry?: {
|
|
2430
|
-
isNested?: boolean | undefined;
|
|
2431
|
-
} | undefined;
|
|
2432
|
-
}, {
|
|
2433
|
-
appKey: string;
|
|
2434
|
-
actionKey: string;
|
|
2435
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2436
|
-
_telemetry?: {
|
|
2437
|
-
isNested?: boolean | undefined;
|
|
2438
|
-
} | undefined;
|
|
2439
|
-
}>;
|
|
1434
|
+
}, z.core.$strip>>;
|
|
1435
|
+
}, z.core.$strip>;
|
|
2440
1436
|
type GetActionOptions = z.infer<typeof GetActionSchema>;
|
|
2441
1437
|
|
|
2442
1438
|
declare const ListActionsSchema: z.ZodObject<{
|
|
2443
1439
|
appKey: z.ZodString & {
|
|
2444
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1440
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2445
1441
|
};
|
|
2446
|
-
actionType: z.ZodOptional<z.ZodEnum<
|
|
1442
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
1443
|
+
search: "search";
|
|
1444
|
+
filter: "filter";
|
|
1445
|
+
read: "read";
|
|
1446
|
+
read_bulk: "read_bulk";
|
|
1447
|
+
run: "run";
|
|
1448
|
+
search_and_write: "search_and_write";
|
|
1449
|
+
search_or_write: "search_or_write";
|
|
1450
|
+
write: "write";
|
|
1451
|
+
}>>;
|
|
2447
1452
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2448
1453
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2449
1454
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2450
|
-
} & {
|
|
2451
1455
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
2452
1456
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
2453
|
-
},
|
|
2454
|
-
|
|
2455
|
-
}, {
|
|
2456
|
-
isNested?: boolean | undefined;
|
|
2457
|
-
}>>;
|
|
2458
|
-
}, "strip", z.ZodTypeAny, {
|
|
2459
|
-
appKey: string;
|
|
2460
|
-
actionType?: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write" | undefined;
|
|
2461
|
-
cursor?: string | undefined;
|
|
2462
|
-
maxItems?: number | undefined;
|
|
2463
|
-
pageSize?: number | undefined;
|
|
2464
|
-
_telemetry?: {
|
|
2465
|
-
isNested?: boolean | undefined;
|
|
2466
|
-
} | undefined;
|
|
2467
|
-
}, {
|
|
2468
|
-
appKey: string;
|
|
2469
|
-
actionType?: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write" | undefined;
|
|
2470
|
-
cursor?: string | undefined;
|
|
2471
|
-
maxItems?: number | undefined;
|
|
2472
|
-
pageSize?: number | undefined;
|
|
2473
|
-
_telemetry?: {
|
|
2474
|
-
isNested?: boolean | undefined;
|
|
2475
|
-
} | undefined;
|
|
2476
|
-
}>;
|
|
1457
|
+
}, z.core.$strip>>;
|
|
1458
|
+
}, z.core.$strip>;
|
|
2477
1459
|
type ListActionsOptions = z.infer<typeof ListActionsSchema>;
|
|
2478
1460
|
|
|
2479
1461
|
interface ListActionsPluginProvides {
|
|
@@ -2520,13 +1502,9 @@ GetActionPluginProvides>;
|
|
|
2520
1502
|
|
|
2521
1503
|
declare const GetAppSchema: z.ZodObject<{
|
|
2522
1504
|
appKey: z.ZodString & {
|
|
2523
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1505
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2524
1506
|
};
|
|
2525
|
-
},
|
|
2526
|
-
appKey: string;
|
|
2527
|
-
}, {
|
|
2528
|
-
appKey: string;
|
|
2529
|
-
}>;
|
|
1507
|
+
}, z.core.$strip>;
|
|
2530
1508
|
type GetAppOptions = z.infer<typeof GetAppSchema>;
|
|
2531
1509
|
|
|
2532
1510
|
interface ListAppsPluginProvides {
|
|
@@ -2601,51 +1579,20 @@ interface ZapierSdkApps {
|
|
|
2601
1579
|
|
|
2602
1580
|
declare const ListAuthenticationsSchema: z.ZodObject<{
|
|
2603
1581
|
appKey: z.ZodOptional<z.ZodString & {
|
|
2604
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1582
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2605
1583
|
}>;
|
|
2606
|
-
authenticationIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1584
|
+
authenticationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2607
1585
|
search: z.ZodOptional<z.ZodString>;
|
|
2608
1586
|
title: z.ZodOptional<z.ZodString>;
|
|
2609
1587
|
accountId: z.ZodOptional<z.ZodString>;
|
|
2610
|
-
owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"me">]>>;
|
|
1588
|
+
owner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"me">]>>;
|
|
2611
1589
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2612
1590
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2613
1591
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2614
|
-
} & {
|
|
2615
1592
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
2616
1593
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
2617
|
-
},
|
|
2618
|
-
|
|
2619
|
-
}, {
|
|
2620
|
-
isNested?: boolean | undefined;
|
|
2621
|
-
}>>;
|
|
2622
|
-
}, "strip", z.ZodTypeAny, {
|
|
2623
|
-
search?: string | undefined;
|
|
2624
|
-
title?: string | undefined;
|
|
2625
|
-
appKey?: string | undefined;
|
|
2626
|
-
cursor?: string | undefined;
|
|
2627
|
-
maxItems?: number | undefined;
|
|
2628
|
-
pageSize?: number | undefined;
|
|
2629
|
-
_telemetry?: {
|
|
2630
|
-
isNested?: boolean | undefined;
|
|
2631
|
-
} | undefined;
|
|
2632
|
-
accountId?: string | undefined;
|
|
2633
|
-
owner?: string | undefined;
|
|
2634
|
-
authenticationIds?: string[] | undefined;
|
|
2635
|
-
}, {
|
|
2636
|
-
search?: string | undefined;
|
|
2637
|
-
title?: string | undefined;
|
|
2638
|
-
appKey?: string | undefined;
|
|
2639
|
-
cursor?: string | undefined;
|
|
2640
|
-
maxItems?: number | undefined;
|
|
2641
|
-
pageSize?: number | undefined;
|
|
2642
|
-
_telemetry?: {
|
|
2643
|
-
isNested?: boolean | undefined;
|
|
2644
|
-
} | undefined;
|
|
2645
|
-
accountId?: string | undefined;
|
|
2646
|
-
owner?: string | undefined;
|
|
2647
|
-
authenticationIds?: string[] | undefined;
|
|
2648
|
-
}>;
|
|
1594
|
+
}, z.core.$strip>>;
|
|
1595
|
+
}, z.core.$strip>;
|
|
2649
1596
|
type ListAuthenticationsOptions = z.infer<typeof ListAuthenticationsSchema>;
|
|
2650
1597
|
|
|
2651
1598
|
interface ListAuthenticationsPluginProvides {
|
|
@@ -2748,25 +1695,22 @@ ListInputFieldsPluginProvides>;
|
|
|
2748
1695
|
|
|
2749
1696
|
declare const GetInputFieldsSchemaSchema: z.ZodObject<{
|
|
2750
1697
|
appKey: z.ZodString & {
|
|
2751
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1698
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2752
1699
|
};
|
|
2753
|
-
actionType: z.ZodEnum<
|
|
1700
|
+
actionType: z.ZodEnum<{
|
|
1701
|
+
search: "search";
|
|
1702
|
+
filter: "filter";
|
|
1703
|
+
read: "read";
|
|
1704
|
+
read_bulk: "read_bulk";
|
|
1705
|
+
run: "run";
|
|
1706
|
+
search_and_write: "search_and_write";
|
|
1707
|
+
search_or_write: "search_or_write";
|
|
1708
|
+
write: "write";
|
|
1709
|
+
}>;
|
|
2754
1710
|
actionKey: z.ZodString;
|
|
2755
1711
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2756
1712
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2757
|
-
},
|
|
2758
|
-
appKey: string;
|
|
2759
|
-
actionKey: string;
|
|
2760
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2761
|
-
authenticationId?: number | null | undefined;
|
|
2762
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2763
|
-
}, {
|
|
2764
|
-
appKey: string;
|
|
2765
|
-
actionKey: string;
|
|
2766
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2767
|
-
authenticationId?: number | null | undefined;
|
|
2768
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2769
|
-
}>;
|
|
1713
|
+
}, z.core.$strip>;
|
|
2770
1714
|
type GetInputFieldsSchemaOptions = z.infer<typeof GetInputFieldsSchemaSchema>;
|
|
2771
1715
|
|
|
2772
1716
|
interface GetInputFieldsSchemaPluginProvides {
|
|
@@ -2787,23 +1731,22 @@ declare const InputFieldChoiceItemSchema: z.ZodObject<{
|
|
|
2787
1731
|
label: z.ZodOptional<z.ZodString>;
|
|
2788
1732
|
sample: z.ZodOptional<z.ZodString>;
|
|
2789
1733
|
value: z.ZodOptional<z.ZodString>;
|
|
2790
|
-
},
|
|
2791
|
-
key?: string | undefined;
|
|
2792
|
-
value?: string | undefined;
|
|
2793
|
-
label?: string | undefined;
|
|
2794
|
-
sample?: string | undefined;
|
|
2795
|
-
}, {
|
|
2796
|
-
key?: string | undefined;
|
|
2797
|
-
value?: string | undefined;
|
|
2798
|
-
label?: string | undefined;
|
|
2799
|
-
sample?: string | undefined;
|
|
2800
|
-
}>;
|
|
1734
|
+
}, z.core.$strip>;
|
|
2801
1735
|
type InputFieldChoiceItem = z.infer<typeof InputFieldChoiceItemSchema>;
|
|
2802
1736
|
declare const ListInputFieldChoicesSchema: z.ZodObject<{
|
|
2803
1737
|
appKey: z.ZodString & {
|
|
2804
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
1738
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
2805
1739
|
};
|
|
2806
|
-
actionType: z.ZodEnum<
|
|
1740
|
+
actionType: z.ZodEnum<{
|
|
1741
|
+
search: "search";
|
|
1742
|
+
filter: "filter";
|
|
1743
|
+
read: "read";
|
|
1744
|
+
read_bulk: "read_bulk";
|
|
1745
|
+
run: "run";
|
|
1746
|
+
search_and_write: "search_and_write";
|
|
1747
|
+
search_or_write: "search_or_write";
|
|
1748
|
+
write: "write";
|
|
1749
|
+
}>;
|
|
2807
1750
|
actionKey: z.ZodString;
|
|
2808
1751
|
inputFieldKey: z.ZodString;
|
|
2809
1752
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2812,29 +1755,7 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
|
|
|
2812
1755
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2813
1756
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2814
1757
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2815
|
-
},
|
|
2816
|
-
appKey: string;
|
|
2817
|
-
actionKey: string;
|
|
2818
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2819
|
-
inputFieldKey: string;
|
|
2820
|
-
page?: number | undefined;
|
|
2821
|
-
authenticationId?: number | null | undefined;
|
|
2822
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2823
|
-
cursor?: string | undefined;
|
|
2824
|
-
maxItems?: number | undefined;
|
|
2825
|
-
pageSize?: number | undefined;
|
|
2826
|
-
}, {
|
|
2827
|
-
appKey: string;
|
|
2828
|
-
actionKey: string;
|
|
2829
|
-
actionType: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
2830
|
-
inputFieldKey: string;
|
|
2831
|
-
page?: number | undefined;
|
|
2832
|
-
authenticationId?: number | null | undefined;
|
|
2833
|
-
inputs?: Record<string, unknown> | undefined;
|
|
2834
|
-
cursor?: string | undefined;
|
|
2835
|
-
maxItems?: number | undefined;
|
|
2836
|
-
pageSize?: number | undefined;
|
|
2837
|
-
}>;
|
|
1758
|
+
}, z.core.$strip>;
|
|
2838
1759
|
type ListInputFieldChoicesOptions = z.infer<typeof ListInputFieldChoicesSchema>;
|
|
2839
1760
|
|
|
2840
1761
|
interface ListInputFieldChoicesPluginProvides {
|
|
@@ -2896,10 +1817,9 @@ interface ZapierSdk extends GetSdkType<RegistryPluginProvides & FetchPluginProvi
|
|
|
2896
1817
|
|
|
2897
1818
|
declare const InputFieldItemSchema: z.ZodObject<{
|
|
2898
1819
|
key: z.ZodString;
|
|
2899
|
-
} & {
|
|
2900
1820
|
type: z.ZodLiteral<"input_field">;
|
|
2901
1821
|
default_value: z.ZodString;
|
|
2902
|
-
depends_on: z.ZodArray<z.ZodString
|
|
1822
|
+
depends_on: z.ZodArray<z.ZodString>;
|
|
2903
1823
|
description: z.ZodString;
|
|
2904
1824
|
invalidates_input_fields: z.ZodBoolean;
|
|
2905
1825
|
is_required: z.ZodBoolean;
|
|
@@ -2909,59 +1829,14 @@ declare const InputFieldItemSchema: z.ZodObject<{
|
|
|
2909
1829
|
format: z.ZodOptional<z.ZodString>;
|
|
2910
1830
|
items: z.ZodOptional<z.ZodObject<{
|
|
2911
1831
|
type: z.ZodString;
|
|
2912
|
-
},
|
|
2913
|
-
|
|
2914
|
-
}, {
|
|
2915
|
-
type: string;
|
|
2916
|
-
}>>;
|
|
2917
|
-
}, "strip", z.ZodTypeAny, {
|
|
2918
|
-
type: "input_field";
|
|
2919
|
-
key: string;
|
|
2920
|
-
depends_on: string[];
|
|
2921
|
-
placeholder: string;
|
|
2922
|
-
description: string;
|
|
2923
|
-
title: string;
|
|
2924
|
-
default_value: string;
|
|
2925
|
-
invalidates_input_fields: boolean;
|
|
2926
|
-
is_required: boolean;
|
|
2927
|
-
value_type: string;
|
|
2928
|
-
format?: string | undefined;
|
|
2929
|
-
items?: {
|
|
2930
|
-
type: string;
|
|
2931
|
-
} | undefined;
|
|
2932
|
-
}, {
|
|
2933
|
-
type: "input_field";
|
|
2934
|
-
key: string;
|
|
2935
|
-
depends_on: string[];
|
|
2936
|
-
placeholder: string;
|
|
2937
|
-
description: string;
|
|
2938
|
-
title: string;
|
|
2939
|
-
default_value: string;
|
|
2940
|
-
invalidates_input_fields: boolean;
|
|
2941
|
-
is_required: boolean;
|
|
2942
|
-
value_type: string;
|
|
2943
|
-
format?: string | undefined;
|
|
2944
|
-
items?: {
|
|
2945
|
-
type: string;
|
|
2946
|
-
} | undefined;
|
|
2947
|
-
}>;
|
|
1832
|
+
}, z.core.$strip>>;
|
|
1833
|
+
}, z.core.$strip>;
|
|
2948
1834
|
declare const InfoFieldItemSchema: z.ZodObject<{
|
|
2949
1835
|
key: z.ZodString;
|
|
2950
|
-
} & {
|
|
2951
1836
|
type: z.ZodLiteral<"info_field">;
|
|
2952
1837
|
description: z.ZodString;
|
|
2953
1838
|
title: z.ZodOptional<z.ZodString>;
|
|
2954
|
-
},
|
|
2955
|
-
type: "info_field";
|
|
2956
|
-
key: string;
|
|
2957
|
-
description: string;
|
|
2958
|
-
title?: string | undefined;
|
|
2959
|
-
}, {
|
|
2960
|
-
type: "info_field";
|
|
2961
|
-
key: string;
|
|
2962
|
-
description: string;
|
|
2963
|
-
title?: string | undefined;
|
|
2964
|
-
}>;
|
|
1839
|
+
}, z.core.$strip>;
|
|
2965
1840
|
type FieldsetItemType = z.infer<typeof InputFieldItemSchema> | z.infer<typeof InfoFieldItemSchema> | FieldsetItem;
|
|
2966
1841
|
interface FieldsetItem {
|
|
2967
1842
|
type: "fieldset";
|
|
@@ -2969,12 +1844,11 @@ interface FieldsetItem {
|
|
|
2969
1844
|
title: string;
|
|
2970
1845
|
fields: FieldsetItemType[];
|
|
2971
1846
|
}
|
|
2972
|
-
declare const RootFieldItemSchema: z.ZodUnion<[z.ZodObject<{
|
|
1847
|
+
declare const RootFieldItemSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2973
1848
|
key: z.ZodString;
|
|
2974
|
-
} & {
|
|
2975
1849
|
type: z.ZodLiteral<"input_field">;
|
|
2976
1850
|
default_value: z.ZodString;
|
|
2977
|
-
depends_on: z.ZodArray<z.ZodString
|
|
1851
|
+
depends_on: z.ZodArray<z.ZodString>;
|
|
2978
1852
|
description: z.ZodString;
|
|
2979
1853
|
invalidates_input_fields: z.ZodBoolean;
|
|
2980
1854
|
is_required: z.ZodBoolean;
|
|
@@ -2984,58 +1858,13 @@ declare const RootFieldItemSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2984
1858
|
format: z.ZodOptional<z.ZodString>;
|
|
2985
1859
|
items: z.ZodOptional<z.ZodObject<{
|
|
2986
1860
|
type: z.ZodString;
|
|
2987
|
-
},
|
|
2988
|
-
|
|
2989
|
-
}, {
|
|
2990
|
-
type: string;
|
|
2991
|
-
}>>;
|
|
2992
|
-
}, "strip", z.ZodTypeAny, {
|
|
2993
|
-
type: "input_field";
|
|
2994
|
-
key: string;
|
|
2995
|
-
depends_on: string[];
|
|
2996
|
-
placeholder: string;
|
|
2997
|
-
description: string;
|
|
2998
|
-
title: string;
|
|
2999
|
-
default_value: string;
|
|
3000
|
-
invalidates_input_fields: boolean;
|
|
3001
|
-
is_required: boolean;
|
|
3002
|
-
value_type: string;
|
|
3003
|
-
format?: string | undefined;
|
|
3004
|
-
items?: {
|
|
3005
|
-
type: string;
|
|
3006
|
-
} | undefined;
|
|
3007
|
-
}, {
|
|
3008
|
-
type: "input_field";
|
|
3009
|
-
key: string;
|
|
3010
|
-
depends_on: string[];
|
|
3011
|
-
placeholder: string;
|
|
3012
|
-
description: string;
|
|
3013
|
-
title: string;
|
|
3014
|
-
default_value: string;
|
|
3015
|
-
invalidates_input_fields: boolean;
|
|
3016
|
-
is_required: boolean;
|
|
3017
|
-
value_type: string;
|
|
3018
|
-
format?: string | undefined;
|
|
3019
|
-
items?: {
|
|
3020
|
-
type: string;
|
|
3021
|
-
} | undefined;
|
|
3022
|
-
}>, z.ZodObject<{
|
|
1861
|
+
}, z.core.$strip>>;
|
|
1862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3023
1863
|
key: z.ZodString;
|
|
3024
|
-
} & {
|
|
3025
1864
|
type: z.ZodLiteral<"info_field">;
|
|
3026
1865
|
description: z.ZodString;
|
|
3027
1866
|
title: z.ZodOptional<z.ZodString>;
|
|
3028
|
-
},
|
|
3029
|
-
type: "info_field";
|
|
3030
|
-
key: string;
|
|
3031
|
-
description: string;
|
|
3032
|
-
title?: string | undefined;
|
|
3033
|
-
}, {
|
|
3034
|
-
type: "info_field";
|
|
3035
|
-
key: string;
|
|
3036
|
-
description: string;
|
|
3037
|
-
title?: string | undefined;
|
|
3038
|
-
}>, z.ZodType<FieldsetItem, z.ZodTypeDef, FieldsetItem>]>;
|
|
1867
|
+
}, z.core.$strip>, z.ZodType<FieldsetItem, unknown, z.core.$ZodTypeInternals<FieldsetItem, unknown>>]>;
|
|
3039
1868
|
type InputFieldItem$1 = z.infer<typeof InputFieldItemSchema>;
|
|
3040
1869
|
|
|
3041
1870
|
interface FormattedItem {
|
|
@@ -3083,208 +1912,67 @@ interface PositionalMetadata {
|
|
|
3083
1912
|
}
|
|
3084
1913
|
declare function isPositional(schema: z.ZodType): boolean;
|
|
3085
1914
|
|
|
3086
|
-
declare const AppItemSchema: z.ZodObject<
|
|
3087
|
-
id: z.ZodString;
|
|
3088
|
-
name: z.ZodString;
|
|
3089
|
-
slug: z.ZodString;
|
|
3090
|
-
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
3091
|
-
auth_type: z.ZodOptional<z.ZodString>;
|
|
3092
|
-
banner: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
declare const AppItemSchema: z.ZodObject<{
|
|
3093
1916
|
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3094
1917
|
id: z.ZodNumber;
|
|
3095
1918
|
name: z.ZodString;
|
|
3096
1919
|
slug: z.ZodString;
|
|
3097
|
-
},
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
1920
|
+
}, z.core.$strip>>>;
|
|
1921
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1922
|
+
read: z.ZodOptional<z.ZodNumber>;
|
|
1923
|
+
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
1924
|
+
write: z.ZodOptional<z.ZodNumber>;
|
|
1925
|
+
search: z.ZodOptional<z.ZodNumber>;
|
|
1926
|
+
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
1927
|
+
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
1928
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
1929
|
+
}, z.core.$strip>>;
|
|
1930
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1931
|
+
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1932
|
+
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
1933
|
+
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
1934
|
+
banner: z.ZodOptional<z.ZodString>;
|
|
1935
|
+
image: z.ZodOptional<z.ZodString>;
|
|
3106
1936
|
images: z.ZodOptional<z.ZodObject<{
|
|
3107
1937
|
url_16x16: z.ZodOptional<z.ZodString>;
|
|
3108
1938
|
url_32x32: z.ZodOptional<z.ZodString>;
|
|
3109
1939
|
url_64x64: z.ZodOptional<z.ZodString>;
|
|
3110
1940
|
url_128x128: z.ZodOptional<z.ZodString>;
|
|
3111
|
-
},
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
url_32x32?: string | undefined;
|
|
3119
|
-
url_64x64?: string | undefined;
|
|
3120
|
-
url_128x128?: string | undefined;
|
|
3121
|
-
}>>;
|
|
1941
|
+
}, z.core.$strip>>;
|
|
1942
|
+
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
1943
|
+
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
1944
|
+
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
1945
|
+
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
1946
|
+
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
1947
|
+
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
3122
1948
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
1949
|
+
primary_color: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
slug: z.ZodString;
|
|
1951
|
+
auth_type: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
1953
|
+
secondary_color: z.ZodOptional<z.ZodString>;
|
|
3123
1954
|
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
3124
1955
|
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
3125
1956
|
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
3126
1957
|
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
3127
1958
|
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
3128
1959
|
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
3129
|
-
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
3130
|
-
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
3131
|
-
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
3132
|
-
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
3133
|
-
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3134
1960
|
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
3135
|
-
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
3136
|
-
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
3137
|
-
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
3138
1961
|
version: z.ZodOptional<z.ZodString>;
|
|
3139
1962
|
visibility: z.ZodOptional<z.ZodString>;
|
|
3140
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
3141
|
-
read: z.ZodOptional<z.ZodNumber>;
|
|
3142
|
-
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
3143
|
-
write: z.ZodOptional<z.ZodNumber>;
|
|
3144
|
-
search: z.ZodOptional<z.ZodNumber>;
|
|
3145
|
-
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
3146
|
-
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
3147
|
-
filter: z.ZodOptional<z.ZodNumber>;
|
|
3148
|
-
}, "strip", z.ZodTypeAny, {
|
|
3149
|
-
search?: number | undefined;
|
|
3150
|
-
filter?: number | undefined;
|
|
3151
|
-
read?: number | undefined;
|
|
3152
|
-
read_bulk?: number | undefined;
|
|
3153
|
-
search_and_write?: number | undefined;
|
|
3154
|
-
search_or_write?: number | undefined;
|
|
3155
|
-
write?: number | undefined;
|
|
3156
|
-
}, {
|
|
3157
|
-
search?: number | undefined;
|
|
3158
|
-
filter?: number | undefined;
|
|
3159
|
-
read?: number | undefined;
|
|
3160
|
-
read_bulk?: number | undefined;
|
|
3161
|
-
search_and_write?: number | undefined;
|
|
3162
|
-
search_or_write?: number | undefined;
|
|
3163
|
-
write?: number | undefined;
|
|
3164
|
-
}>>;
|
|
3165
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3166
|
-
primary_color: z.ZodOptional<z.ZodString>;
|
|
3167
|
-
secondary_color: z.ZodOptional<z.ZodString>;
|
|
3168
1963
|
classification: z.ZodOptional<z.ZodString>;
|
|
3169
|
-
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
3170
|
-
image: z.ZodOptional<z.ZodString>;
|
|
3171
|
-
}, "id" | "name"> & {
|
|
3172
1964
|
title: z.ZodString;
|
|
3173
1965
|
key: z.ZodString;
|
|
3174
1966
|
implementation_id: z.ZodString;
|
|
3175
|
-
},
|
|
3176
|
-
key: string;
|
|
3177
|
-
title: string;
|
|
3178
|
-
slug: string;
|
|
3179
|
-
implementation_id: string;
|
|
3180
|
-
categories?: {
|
|
3181
|
-
id: number;
|
|
3182
|
-
name: string;
|
|
3183
|
-
slug: string;
|
|
3184
|
-
}[] | undefined;
|
|
3185
|
-
actions?: {
|
|
3186
|
-
search?: number | undefined;
|
|
3187
|
-
filter?: number | undefined;
|
|
3188
|
-
read?: number | undefined;
|
|
3189
|
-
read_bulk?: number | undefined;
|
|
3190
|
-
search_and_write?: number | undefined;
|
|
3191
|
-
search_or_write?: number | undefined;
|
|
3192
|
-
write?: number | undefined;
|
|
3193
|
-
} | undefined;
|
|
3194
|
-
description?: string | undefined;
|
|
3195
|
-
is_hidden?: boolean | undefined;
|
|
3196
|
-
age_in_days?: number | undefined;
|
|
3197
|
-
api_docs_url?: string | undefined;
|
|
3198
|
-
banner?: string | undefined;
|
|
3199
|
-
image?: string | undefined;
|
|
3200
|
-
images?: {
|
|
3201
|
-
url_16x16?: string | undefined;
|
|
3202
|
-
url_32x32?: string | undefined;
|
|
3203
|
-
url_64x64?: string | undefined;
|
|
3204
|
-
url_128x128?: string | undefined;
|
|
3205
|
-
} | undefined;
|
|
3206
|
-
is_beta?: boolean | undefined;
|
|
3207
|
-
is_built_in?: boolean | undefined;
|
|
3208
|
-
is_featured?: boolean | undefined;
|
|
3209
|
-
is_premium?: boolean | undefined;
|
|
3210
|
-
is_public?: boolean | undefined;
|
|
3211
|
-
is_upcoming?: boolean | undefined;
|
|
3212
|
-
popularity?: number | undefined;
|
|
3213
|
-
primary_color?: string | undefined;
|
|
3214
|
-
auth_type?: string | undefined;
|
|
3215
|
-
is_deprecated?: boolean | undefined;
|
|
3216
|
-
secondary_color?: string | undefined;
|
|
3217
|
-
has_filters?: boolean | undefined;
|
|
3218
|
-
has_reads?: boolean | undefined;
|
|
3219
|
-
has_searches?: boolean | undefined;
|
|
3220
|
-
has_searches_or_writes?: boolean | undefined;
|
|
3221
|
-
has_upfront_fields?: boolean | undefined;
|
|
3222
|
-
has_writes?: boolean | undefined;
|
|
3223
|
-
is_invite?: boolean | undefined;
|
|
3224
|
-
version?: string | undefined;
|
|
3225
|
-
visibility?: string | undefined;
|
|
3226
|
-
classification?: string | undefined;
|
|
3227
|
-
}, {
|
|
3228
|
-
key: string;
|
|
3229
|
-
title: string;
|
|
3230
|
-
slug: string;
|
|
3231
|
-
implementation_id: string;
|
|
3232
|
-
categories?: {
|
|
3233
|
-
id: number;
|
|
3234
|
-
name: string;
|
|
3235
|
-
slug: string;
|
|
3236
|
-
}[] | undefined;
|
|
3237
|
-
actions?: {
|
|
3238
|
-
search?: number | undefined;
|
|
3239
|
-
filter?: number | undefined;
|
|
3240
|
-
read?: number | undefined;
|
|
3241
|
-
read_bulk?: number | undefined;
|
|
3242
|
-
search_and_write?: number | undefined;
|
|
3243
|
-
search_or_write?: number | undefined;
|
|
3244
|
-
write?: number | undefined;
|
|
3245
|
-
} | undefined;
|
|
3246
|
-
description?: string | undefined;
|
|
3247
|
-
is_hidden?: boolean | undefined;
|
|
3248
|
-
age_in_days?: number | undefined;
|
|
3249
|
-
api_docs_url?: string | undefined;
|
|
3250
|
-
banner?: string | undefined;
|
|
3251
|
-
image?: string | undefined;
|
|
3252
|
-
images?: {
|
|
3253
|
-
url_16x16?: string | undefined;
|
|
3254
|
-
url_32x32?: string | undefined;
|
|
3255
|
-
url_64x64?: string | undefined;
|
|
3256
|
-
url_128x128?: string | undefined;
|
|
3257
|
-
} | undefined;
|
|
3258
|
-
is_beta?: boolean | undefined;
|
|
3259
|
-
is_built_in?: boolean | undefined;
|
|
3260
|
-
is_featured?: boolean | undefined;
|
|
3261
|
-
is_premium?: boolean | undefined;
|
|
3262
|
-
is_public?: boolean | undefined;
|
|
3263
|
-
is_upcoming?: boolean | undefined;
|
|
3264
|
-
popularity?: number | undefined;
|
|
3265
|
-
primary_color?: string | undefined;
|
|
3266
|
-
auth_type?: string | undefined;
|
|
3267
|
-
is_deprecated?: boolean | undefined;
|
|
3268
|
-
secondary_color?: string | undefined;
|
|
3269
|
-
has_filters?: boolean | undefined;
|
|
3270
|
-
has_reads?: boolean | undefined;
|
|
3271
|
-
has_searches?: boolean | undefined;
|
|
3272
|
-
has_searches_or_writes?: boolean | undefined;
|
|
3273
|
-
has_upfront_fields?: boolean | undefined;
|
|
3274
|
-
has_writes?: boolean | undefined;
|
|
3275
|
-
is_invite?: boolean | undefined;
|
|
3276
|
-
version?: string | undefined;
|
|
3277
|
-
visibility?: string | undefined;
|
|
3278
|
-
classification?: string | undefined;
|
|
3279
|
-
}>;
|
|
1967
|
+
}, z.core.$strip>;
|
|
3280
1968
|
|
|
3281
|
-
declare const AuthenticationItemSchema: z.ZodObject<
|
|
3282
|
-
|
|
1969
|
+
declare const AuthenticationItemSchema: z.ZodObject<{
|
|
1970
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
account_id: z.ZodNumber;
|
|
1972
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3283
1973
|
date: z.ZodString;
|
|
1974
|
+
id: z.ZodNumber;
|
|
3284
1975
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
3285
|
-
account_id: z.ZodNumber;
|
|
3286
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
3287
|
-
selected_api: z.ZodString;
|
|
3288
1976
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3289
1977
|
is_invite_only: z.ZodBoolean;
|
|
3290
1978
|
is_private: z.ZodBoolean;
|
|
@@ -3292,78 +1980,25 @@ declare const AuthenticationItemSchema: z.ZodObject<Omit<{
|
|
|
3292
1980
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
3293
1981
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
3294
1982
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3295
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3296
1983
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3297
1984
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3298
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3299
1985
|
groups: z.ZodOptional<z.ZodString>;
|
|
3300
1986
|
members: z.ZodOptional<z.ZodString>;
|
|
3301
1987
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3302
|
-
}, "customuser_id" | "selected_api"> & {
|
|
3303
1988
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
3304
1989
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
3305
1990
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3306
1991
|
app_key: z.ZodOptional<z.ZodString>;
|
|
3307
1992
|
app_version: z.ZodOptional<z.ZodString>;
|
|
3308
1993
|
user_id: z.ZodOptional<z.ZodNumber>;
|
|
3309
|
-
},
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
is_private: boolean;
|
|
3315
|
-
shared_with_all: boolean;
|
|
3316
|
-
url?: string | undefined;
|
|
3317
|
-
label?: string | null | undefined;
|
|
3318
|
-
lastchanged?: string | undefined;
|
|
3319
|
-
destination_selected_api?: string | null | undefined;
|
|
3320
|
-
is_stale?: string | undefined;
|
|
3321
|
-
is_shared?: string | undefined;
|
|
3322
|
-
marked_stale_at?: string | null | undefined;
|
|
3323
|
-
identifier?: string | null | undefined;
|
|
3324
|
-
title?: string | null | undefined;
|
|
3325
|
-
groups?: string | undefined;
|
|
3326
|
-
members?: string | undefined;
|
|
3327
|
-
permissions?: Record<string, boolean> | undefined;
|
|
3328
|
-
user_id?: number | undefined;
|
|
3329
|
-
implementation_id?: string | undefined;
|
|
3330
|
-
is_expired?: string | undefined;
|
|
3331
|
-
expired_at?: string | null | undefined;
|
|
3332
|
-
app_key?: string | undefined;
|
|
3333
|
-
app_version?: string | undefined;
|
|
3334
|
-
}, {
|
|
3335
|
-
account_id: number;
|
|
3336
|
-
id: number;
|
|
3337
|
-
date: string;
|
|
3338
|
-
is_invite_only: boolean;
|
|
3339
|
-
is_private: boolean;
|
|
3340
|
-
shared_with_all: boolean;
|
|
3341
|
-
url?: string | undefined;
|
|
3342
|
-
label?: string | null | undefined;
|
|
3343
|
-
lastchanged?: string | undefined;
|
|
3344
|
-
destination_selected_api?: string | null | undefined;
|
|
3345
|
-
is_stale?: string | undefined;
|
|
3346
|
-
is_shared?: string | undefined;
|
|
3347
|
-
marked_stale_at?: string | null | undefined;
|
|
3348
|
-
identifier?: string | null | undefined;
|
|
3349
|
-
title?: string | null | undefined;
|
|
3350
|
-
groups?: string | undefined;
|
|
3351
|
-
members?: string | undefined;
|
|
3352
|
-
permissions?: Record<string, boolean> | undefined;
|
|
3353
|
-
user_id?: number | undefined;
|
|
3354
|
-
implementation_id?: string | undefined;
|
|
3355
|
-
is_expired?: string | undefined;
|
|
3356
|
-
expired_at?: string | null | undefined;
|
|
3357
|
-
app_key?: string | undefined;
|
|
3358
|
-
app_version?: string | undefined;
|
|
3359
|
-
}>;
|
|
3360
|
-
declare const AuthItemSchema: z.ZodObject<Omit<{
|
|
3361
|
-
id: z.ZodNumber;
|
|
1994
|
+
}, z.core.$strip>;
|
|
1995
|
+
declare const AuthItemSchema: z.ZodObject<{
|
|
1996
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1997
|
+
account_id: z.ZodNumber;
|
|
1998
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3362
1999
|
date: z.ZodString;
|
|
2000
|
+
id: z.ZodNumber;
|
|
3363
2001
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
3364
|
-
account_id: z.ZodNumber;
|
|
3365
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
3366
|
-
selected_api: z.ZodString;
|
|
3367
2002
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3368
2003
|
is_invite_only: z.ZodBoolean;
|
|
3369
2004
|
is_private: z.ZodBoolean;
|
|
@@ -3371,116 +2006,45 @@ declare const AuthItemSchema: z.ZodObject<Omit<{
|
|
|
3371
2006
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
3372
2007
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
3373
2008
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3374
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3375
2009
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3376
2010
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3377
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3378
2011
|
groups: z.ZodOptional<z.ZodString>;
|
|
3379
2012
|
members: z.ZodOptional<z.ZodString>;
|
|
3380
2013
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3381
|
-
}, "customuser_id" | "selected_api"> & {
|
|
3382
2014
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
3383
2015
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
3384
2016
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3385
2017
|
app_key: z.ZodOptional<z.ZodString>;
|
|
3386
2018
|
app_version: z.ZodOptional<z.ZodString>;
|
|
3387
2019
|
user_id: z.ZodOptional<z.ZodNumber>;
|
|
3388
|
-
},
|
|
3389
|
-
account_id: number;
|
|
3390
|
-
id: number;
|
|
3391
|
-
date: string;
|
|
3392
|
-
is_invite_only: boolean;
|
|
3393
|
-
is_private: boolean;
|
|
3394
|
-
shared_with_all: boolean;
|
|
3395
|
-
url?: string | undefined;
|
|
3396
|
-
label?: string | null | undefined;
|
|
3397
|
-
lastchanged?: string | undefined;
|
|
3398
|
-
destination_selected_api?: string | null | undefined;
|
|
3399
|
-
is_stale?: string | undefined;
|
|
3400
|
-
is_shared?: string | undefined;
|
|
3401
|
-
marked_stale_at?: string | null | undefined;
|
|
3402
|
-
identifier?: string | null | undefined;
|
|
3403
|
-
title?: string | null | undefined;
|
|
3404
|
-
groups?: string | undefined;
|
|
3405
|
-
members?: string | undefined;
|
|
3406
|
-
permissions?: Record<string, boolean> | undefined;
|
|
3407
|
-
user_id?: number | undefined;
|
|
3408
|
-
implementation_id?: string | undefined;
|
|
3409
|
-
is_expired?: string | undefined;
|
|
3410
|
-
expired_at?: string | null | undefined;
|
|
3411
|
-
app_key?: string | undefined;
|
|
3412
|
-
app_version?: string | undefined;
|
|
3413
|
-
}, {
|
|
3414
|
-
account_id: number;
|
|
3415
|
-
id: number;
|
|
3416
|
-
date: string;
|
|
3417
|
-
is_invite_only: boolean;
|
|
3418
|
-
is_private: boolean;
|
|
3419
|
-
shared_with_all: boolean;
|
|
3420
|
-
url?: string | undefined;
|
|
3421
|
-
label?: string | null | undefined;
|
|
3422
|
-
lastchanged?: string | undefined;
|
|
3423
|
-
destination_selected_api?: string | null | undefined;
|
|
3424
|
-
is_stale?: string | undefined;
|
|
3425
|
-
is_shared?: string | undefined;
|
|
3426
|
-
marked_stale_at?: string | null | undefined;
|
|
3427
|
-
identifier?: string | null | undefined;
|
|
3428
|
-
title?: string | null | undefined;
|
|
3429
|
-
groups?: string | undefined;
|
|
3430
|
-
members?: string | undefined;
|
|
3431
|
-
permissions?: Record<string, boolean> | undefined;
|
|
3432
|
-
user_id?: number | undefined;
|
|
3433
|
-
implementation_id?: string | undefined;
|
|
3434
|
-
is_expired?: string | undefined;
|
|
3435
|
-
expired_at?: string | null | undefined;
|
|
3436
|
-
app_key?: string | undefined;
|
|
3437
|
-
app_version?: string | undefined;
|
|
3438
|
-
}>;
|
|
2020
|
+
}, z.core.$strip>;
|
|
3439
2021
|
type AuthItem = z.infer<typeof AuthItemSchema>;
|
|
3440
2022
|
|
|
3441
|
-
declare const ActionItemSchema: z.ZodObject<
|
|
3442
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3443
|
-
type: z.ZodEnum<["filter", "read", "read_bulk", "run", "search", "search_and_write", "search_or_write", "write"]>;
|
|
2023
|
+
declare const ActionItemSchema: z.ZodObject<{
|
|
3444
2024
|
key: z.ZodString;
|
|
3445
|
-
|
|
2025
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3446
2026
|
description: z.ZodString;
|
|
3447
2027
|
is_important: z.ZodOptional<z.ZodBoolean>;
|
|
3448
2028
|
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3449
|
-
selected_api: z.ZodOptional<z.ZodString>;
|
|
3450
|
-
}, "type" | "selected_api" | "name"> & {
|
|
3451
2029
|
app_key: z.ZodString;
|
|
3452
2030
|
app_version: z.ZodOptional<z.ZodString>;
|
|
3453
|
-
action_type: z.ZodEnum<
|
|
2031
|
+
action_type: z.ZodEnum<{
|
|
2032
|
+
search: "search";
|
|
2033
|
+
filter: "filter";
|
|
2034
|
+
read: "read";
|
|
2035
|
+
read_bulk: "read_bulk";
|
|
2036
|
+
run: "run";
|
|
2037
|
+
search_and_write: "search_and_write";
|
|
2038
|
+
search_or_write: "search_or_write";
|
|
2039
|
+
write: "write";
|
|
2040
|
+
}>;
|
|
3454
2041
|
title: z.ZodString;
|
|
3455
2042
|
type: z.ZodLiteral<"action">;
|
|
3456
|
-
},
|
|
3457
|
-
type: "action";
|
|
3458
|
-
key: string;
|
|
3459
|
-
description: string;
|
|
3460
|
-
title: string;
|
|
3461
|
-
app_key: string;
|
|
3462
|
-
action_type: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
3463
|
-
id?: string | undefined;
|
|
3464
|
-
is_important?: boolean | undefined;
|
|
3465
|
-
is_hidden?: boolean | undefined;
|
|
3466
|
-
app_version?: string | undefined;
|
|
3467
|
-
}, {
|
|
3468
|
-
type: "action";
|
|
3469
|
-
key: string;
|
|
3470
|
-
description: string;
|
|
3471
|
-
title: string;
|
|
3472
|
-
app_key: string;
|
|
3473
|
-
action_type: "search" | "filter" | "read" | "read_bulk" | "run" | "search_and_write" | "search_or_write" | "write";
|
|
3474
|
-
id?: string | undefined;
|
|
3475
|
-
is_important?: boolean | undefined;
|
|
3476
|
-
is_hidden?: boolean | undefined;
|
|
3477
|
-
app_version?: string | undefined;
|
|
3478
|
-
}>;
|
|
2043
|
+
}, z.core.$strip>;
|
|
3479
2044
|
|
|
3480
|
-
declare const UserProfileItemSchema: z.ZodObject<
|
|
3481
|
-
id: z.ZodNumber;
|
|
2045
|
+
declare const UserProfileItemSchema: z.ZodObject<{
|
|
3482
2046
|
code: z.ZodString;
|
|
3483
|
-
|
|
2047
|
+
id: z.ZodNumber;
|
|
3484
2048
|
auto_provisioned: z.ZodBoolean;
|
|
3485
2049
|
first_name: z.ZodString;
|
|
3486
2050
|
last_name: z.ZodString;
|
|
@@ -3518,7 +2082,7 @@ declare const UserProfileItemSchema: z.ZodObject<Omit<{
|
|
|
3518
2082
|
viewed_help: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
3519
2083
|
show_editor_migration_mesaging: z.ZodBoolean;
|
|
3520
2084
|
switches: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3521
|
-
organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
2085
|
+
organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3522
2086
|
primary_organization: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3523
2087
|
has_active_zaps: z.ZodBoolean;
|
|
3524
2088
|
has_google_sso: z.ZodBoolean;
|
|
@@ -3526,116 +2090,9 @@ declare const UserProfileItemSchema: z.ZodObject<Omit<{
|
|
|
3526
2090
|
roles: z.ZodArray<z.ZodObject<{
|
|
3527
2091
|
account_id: z.ZodNumber;
|
|
3528
2092
|
role: z.ZodString;
|
|
3529
|
-
},
|
|
3530
|
-
account_id: number;
|
|
3531
|
-
role: string;
|
|
3532
|
-
}, {
|
|
3533
|
-
account_id: number;
|
|
3534
|
-
role: string;
|
|
3535
|
-
}>, "many">;
|
|
3536
|
-
}, "user_id"> & {
|
|
2093
|
+
}, z.core.$strip>>;
|
|
3537
2094
|
full_name: z.ZodString;
|
|
3538
|
-
},
|
|
3539
|
-
code: string;
|
|
3540
|
-
id: number;
|
|
3541
|
-
auto_provisioned: boolean;
|
|
3542
|
-
first_name: string;
|
|
3543
|
-
last_name: string;
|
|
3544
|
-
username: string;
|
|
3545
|
-
personas: string;
|
|
3546
|
-
user_generated_personas: string;
|
|
3547
|
-
last_login: string;
|
|
3548
|
-
email: string;
|
|
3549
|
-
email_hash: string;
|
|
3550
|
-
email_confirmed: boolean;
|
|
3551
|
-
timezone: string;
|
|
3552
|
-
photo_url: string;
|
|
3553
|
-
has_seen_notifications: Record<string, boolean | null>;
|
|
3554
|
-
signup: string;
|
|
3555
|
-
since_signup: string;
|
|
3556
|
-
has_activated: boolean;
|
|
3557
|
-
enable_gz_creator: boolean;
|
|
3558
|
-
should_see_nps_survey: boolean;
|
|
3559
|
-
is_developer: boolean;
|
|
3560
|
-
is_expert: boolean;
|
|
3561
|
-
tos_agreement: boolean;
|
|
3562
|
-
should_renew_tos: boolean;
|
|
3563
|
-
is_gdpr_consented: boolean;
|
|
3564
|
-
disable_ssl_check: boolean;
|
|
3565
|
-
identity: number;
|
|
3566
|
-
summary_schedule: string;
|
|
3567
|
-
alert_triggers: string;
|
|
3568
|
-
alert_actions: string;
|
|
3569
|
-
is_staff: boolean;
|
|
3570
|
-
is_zt_reviewer: boolean;
|
|
3571
|
-
is_high_value: boolean;
|
|
3572
|
-
is_temporary: boolean;
|
|
3573
|
-
banner_message: string;
|
|
3574
|
-
enable_totp_2fa: boolean;
|
|
3575
|
-
viewed_help: Record<string, boolean>;
|
|
3576
|
-
show_editor_migration_mesaging: boolean;
|
|
3577
|
-
switches: Record<string, unknown>;
|
|
3578
|
-
organizations: (Record<string, unknown> | null)[];
|
|
3579
|
-
primary_organization: Record<string, unknown> | null;
|
|
3580
|
-
has_active_zaps: boolean;
|
|
3581
|
-
has_google_sso: boolean;
|
|
3582
|
-
auth_realm: string;
|
|
3583
|
-
roles: {
|
|
3584
|
-
account_id: number;
|
|
3585
|
-
role: string;
|
|
3586
|
-
}[];
|
|
3587
|
-
full_name: string;
|
|
3588
|
-
}, {
|
|
3589
|
-
code: string;
|
|
3590
|
-
id: number;
|
|
3591
|
-
auto_provisioned: boolean;
|
|
3592
|
-
first_name: string;
|
|
3593
|
-
last_name: string;
|
|
3594
|
-
username: string;
|
|
3595
|
-
personas: string;
|
|
3596
|
-
user_generated_personas: string;
|
|
3597
|
-
last_login: string;
|
|
3598
|
-
email: string;
|
|
3599
|
-
email_hash: string;
|
|
3600
|
-
email_confirmed: boolean;
|
|
3601
|
-
timezone: string;
|
|
3602
|
-
photo_url: string;
|
|
3603
|
-
has_seen_notifications: Record<string, boolean | null>;
|
|
3604
|
-
signup: string;
|
|
3605
|
-
since_signup: string;
|
|
3606
|
-
has_activated: boolean;
|
|
3607
|
-
enable_gz_creator: boolean;
|
|
3608
|
-
should_see_nps_survey: boolean;
|
|
3609
|
-
is_developer: boolean;
|
|
3610
|
-
is_expert: boolean;
|
|
3611
|
-
tos_agreement: boolean;
|
|
3612
|
-
should_renew_tos: boolean;
|
|
3613
|
-
is_gdpr_consented: boolean;
|
|
3614
|
-
disable_ssl_check: boolean;
|
|
3615
|
-
identity: number;
|
|
3616
|
-
summary_schedule: string;
|
|
3617
|
-
alert_triggers: string;
|
|
3618
|
-
alert_actions: string;
|
|
3619
|
-
is_staff: boolean;
|
|
3620
|
-
is_zt_reviewer: boolean;
|
|
3621
|
-
is_high_value: boolean;
|
|
3622
|
-
is_temporary: boolean;
|
|
3623
|
-
banner_message: string;
|
|
3624
|
-
enable_totp_2fa: boolean;
|
|
3625
|
-
viewed_help: Record<string, boolean>;
|
|
3626
|
-
show_editor_migration_mesaging: boolean;
|
|
3627
|
-
switches: Record<string, unknown>;
|
|
3628
|
-
organizations: (Record<string, unknown> | null)[];
|
|
3629
|
-
primary_organization: Record<string, unknown> | null;
|
|
3630
|
-
has_active_zaps: boolean;
|
|
3631
|
-
has_google_sso: boolean;
|
|
3632
|
-
auth_realm: string;
|
|
3633
|
-
roles: {
|
|
3634
|
-
account_id: number;
|
|
3635
|
-
role: string;
|
|
3636
|
-
}[];
|
|
3637
|
-
full_name: string;
|
|
3638
|
-
}>;
|
|
2095
|
+
}, z.core.$strip>;
|
|
3639
2096
|
|
|
3640
2097
|
/**
|
|
3641
2098
|
* Represents an app item returned by getApp and listApps functions
|
|
@@ -3675,9 +2132,18 @@ type RootFieldItem = z.infer<typeof RootFieldItemSchema>;
|
|
|
3675
2132
|
type UserProfileItem = z.infer<typeof UserProfileItemSchema>;
|
|
3676
2133
|
|
|
3677
2134
|
declare const AppKeyPropertySchema: z.ZodString & {
|
|
3678
|
-
_def: z.ZodStringDef & PositionalMetadata;
|
|
2135
|
+
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
3679
2136
|
};
|
|
3680
|
-
declare const ActionTypePropertySchema: z.ZodEnum<
|
|
2137
|
+
declare const ActionTypePropertySchema: z.ZodEnum<{
|
|
2138
|
+
search: "search";
|
|
2139
|
+
filter: "filter";
|
|
2140
|
+
read: "read";
|
|
2141
|
+
read_bulk: "read_bulk";
|
|
2142
|
+
run: "run";
|
|
2143
|
+
search_and_write: "search_and_write";
|
|
2144
|
+
search_or_write: "search_or_write";
|
|
2145
|
+
write: "write";
|
|
2146
|
+
}>;
|
|
3681
2147
|
declare const ActionKeyPropertySchema: z.ZodString;
|
|
3682
2148
|
declare const AuthenticationIdPropertySchema: z.ZodNumber;
|
|
3683
2149
|
declare const InputsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|