@arbium/enterprise-agent-connect-client 0.1.1 → 0.1.2-dev.d2aa5ca
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/lib/index.d.ts +437 -2
- package/lib/index.js +12 -0
- package/lib/schema.d.ts +1694 -550
- package/lib/steps.d.ts +612 -2
- package/lib/types.d.ts +6 -0
- package/package.json +1 -1
package/lib/steps.d.ts
CHANGED
|
@@ -376,6 +376,7 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
376
376
|
type: "header";
|
|
377
377
|
header: string;
|
|
378
378
|
value: string;
|
|
379
|
+
prefix?: string;
|
|
379
380
|
} | {
|
|
380
381
|
type: "bearer";
|
|
381
382
|
token: string;
|
|
@@ -388,6 +389,14 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
388
389
|
tokenUrl: string;
|
|
389
390
|
clientId: string;
|
|
390
391
|
clientSecret: string;
|
|
392
|
+
scope?: string;
|
|
393
|
+
} | {
|
|
394
|
+
type: "query";
|
|
395
|
+
param: string;
|
|
396
|
+
value: string;
|
|
397
|
+
};
|
|
398
|
+
headers: {
|
|
399
|
+
[key: string]: string;
|
|
391
400
|
};
|
|
392
401
|
tools: {
|
|
393
402
|
name: string;
|
|
@@ -396,13 +405,88 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
396
405
|
path: string;
|
|
397
406
|
params: {
|
|
398
407
|
[key: string]: {
|
|
399
|
-
type: "string" | "number" | "integer" | "boolean";
|
|
408
|
+
type: "string" | "number" | "integer" | "boolean" | "array";
|
|
400
409
|
description: string;
|
|
401
410
|
in: "path" | "query" | "body";
|
|
411
|
+
name?: string;
|
|
412
|
+
required: boolean;
|
|
413
|
+
default?: (string | number | boolean) | (string | number | boolean)[];
|
|
414
|
+
enum?: (string | number | boolean)[];
|
|
415
|
+
items?: "string" | "number" | "integer" | "boolean";
|
|
416
|
+
join?: string;
|
|
417
|
+
limit?: string;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
destructive: boolean;
|
|
421
|
+
answerLimits: {
|
|
422
|
+
field: string;
|
|
423
|
+
limit: string;
|
|
424
|
+
}[];
|
|
425
|
+
result?: {
|
|
426
|
+
items?: string;
|
|
427
|
+
fields?: string[];
|
|
428
|
+
};
|
|
429
|
+
paging?: {
|
|
430
|
+
param: string;
|
|
431
|
+
body: string;
|
|
432
|
+
} | {
|
|
433
|
+
param: string;
|
|
434
|
+
header: string;
|
|
435
|
+
} | {
|
|
436
|
+
param: string;
|
|
437
|
+
link: true;
|
|
438
|
+
};
|
|
439
|
+
}[];
|
|
440
|
+
allowInsecureHttp: boolean;
|
|
441
|
+
};
|
|
442
|
+
soap?: {
|
|
443
|
+
endpoint: string;
|
|
444
|
+
version: "1.1" | "1.2";
|
|
445
|
+
namespaces: {
|
|
446
|
+
[key: string]: string;
|
|
447
|
+
};
|
|
448
|
+
auth?: {
|
|
449
|
+
type: "header";
|
|
450
|
+
header: string;
|
|
451
|
+
value: string;
|
|
452
|
+
prefix?: string;
|
|
453
|
+
} | {
|
|
454
|
+
type: "bearer";
|
|
455
|
+
token: string;
|
|
456
|
+
} | {
|
|
457
|
+
type: "basic";
|
|
458
|
+
username: string;
|
|
459
|
+
password: string;
|
|
460
|
+
};
|
|
461
|
+
wsSecurity?: {
|
|
462
|
+
username: string;
|
|
463
|
+
password: string;
|
|
464
|
+
digest: boolean;
|
|
465
|
+
};
|
|
466
|
+
verify?: {
|
|
467
|
+
tool: string;
|
|
468
|
+
args: {
|
|
469
|
+
[key: string]: string | number | boolean;
|
|
470
|
+
};
|
|
471
|
+
show: string;
|
|
472
|
+
};
|
|
473
|
+
tools: {
|
|
474
|
+
name: string;
|
|
475
|
+
description: string;
|
|
476
|
+
operation: string;
|
|
477
|
+
soapAction?: string;
|
|
478
|
+
body: string;
|
|
479
|
+
params: {
|
|
480
|
+
[key: string]: {
|
|
481
|
+
type: "string" | "number" | "integer" | "boolean";
|
|
482
|
+
description: string;
|
|
402
483
|
required: boolean;
|
|
403
484
|
limit?: string;
|
|
404
485
|
};
|
|
405
486
|
};
|
|
487
|
+
result?: string;
|
|
488
|
+
fields?: string[];
|
|
489
|
+
readOnly: boolean;
|
|
406
490
|
destructive: boolean;
|
|
407
491
|
answerLimits: {
|
|
408
492
|
field: string;
|
|
@@ -411,6 +495,227 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
411
495
|
}[];
|
|
412
496
|
allowInsecureHttp: boolean;
|
|
413
497
|
};
|
|
498
|
+
odata?: {
|
|
499
|
+
serviceRoot: string;
|
|
500
|
+
version: "2" | "4";
|
|
501
|
+
auth: {
|
|
502
|
+
type: "header";
|
|
503
|
+
header: string;
|
|
504
|
+
value: string;
|
|
505
|
+
prefix?: string;
|
|
506
|
+
} | {
|
|
507
|
+
type: "bearer";
|
|
508
|
+
token: string;
|
|
509
|
+
} | {
|
|
510
|
+
type: "basic";
|
|
511
|
+
username: string;
|
|
512
|
+
password: string;
|
|
513
|
+
} | {
|
|
514
|
+
type: "oauth2";
|
|
515
|
+
tokenUrl: string;
|
|
516
|
+
clientId: string;
|
|
517
|
+
clientSecret: string;
|
|
518
|
+
scope?: string;
|
|
519
|
+
} | {
|
|
520
|
+
type: "query";
|
|
521
|
+
param: string;
|
|
522
|
+
value: string;
|
|
523
|
+
};
|
|
524
|
+
headers: {
|
|
525
|
+
[key: string]: string;
|
|
526
|
+
};
|
|
527
|
+
csrf: boolean;
|
|
528
|
+
paging: "skip" | "server";
|
|
529
|
+
tools: {
|
|
530
|
+
name: string;
|
|
531
|
+
description: string;
|
|
532
|
+
kind: "list" | "get" | "create" | "update" | "function" | "action";
|
|
533
|
+
entitySet?: string;
|
|
534
|
+
function?: string;
|
|
535
|
+
key: {
|
|
536
|
+
[key: string]: {
|
|
537
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
538
|
+
description: string;
|
|
539
|
+
property?: string;
|
|
540
|
+
required?: boolean;
|
|
541
|
+
limit?: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
filters: {
|
|
545
|
+
[key: string]: {
|
|
546
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
547
|
+
description: string;
|
|
548
|
+
property?: string;
|
|
549
|
+
required?: boolean;
|
|
550
|
+
limit?: string;
|
|
551
|
+
op: "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "contains" | "startswith";
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
fields: {
|
|
555
|
+
[key: string]: {
|
|
556
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
557
|
+
description: string;
|
|
558
|
+
property?: string;
|
|
559
|
+
required?: boolean;
|
|
560
|
+
limit?: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
params: {
|
|
564
|
+
[key: string]: {
|
|
565
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
566
|
+
description: string;
|
|
567
|
+
property?: string;
|
|
568
|
+
required?: boolean;
|
|
569
|
+
limit?: string;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
select: string[];
|
|
573
|
+
orderBy?: string;
|
|
574
|
+
top: number;
|
|
575
|
+
destructive: boolean;
|
|
576
|
+
answerLimits: {
|
|
577
|
+
field: string;
|
|
578
|
+
limit: string;
|
|
579
|
+
}[];
|
|
580
|
+
}[];
|
|
581
|
+
allowInsecureHttp: boolean;
|
|
582
|
+
};
|
|
583
|
+
sql?: {
|
|
584
|
+
engine: "postgres" | "sqlserver" | "mysql" | "oracle";
|
|
585
|
+
host: string;
|
|
586
|
+
port?: number;
|
|
587
|
+
database: string;
|
|
588
|
+
auth: {
|
|
589
|
+
user: string;
|
|
590
|
+
password: string;
|
|
591
|
+
};
|
|
592
|
+
tls: "verify" | "insecure" | "off";
|
|
593
|
+
timeoutSeconds: number;
|
|
594
|
+
maxRows: number;
|
|
595
|
+
tools: {
|
|
596
|
+
name: string;
|
|
597
|
+
description: string;
|
|
598
|
+
sql: string;
|
|
599
|
+
params: {
|
|
600
|
+
[key: string]: {
|
|
601
|
+
type: "string" | "number" | "integer" | "boolean";
|
|
602
|
+
description: string;
|
|
603
|
+
required: boolean;
|
|
604
|
+
limit?: string;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
write: boolean;
|
|
608
|
+
destructive: boolean;
|
|
609
|
+
answerLimits: {
|
|
610
|
+
column: string;
|
|
611
|
+
limit: string;
|
|
612
|
+
}[];
|
|
613
|
+
}[];
|
|
614
|
+
};
|
|
615
|
+
events?: {
|
|
616
|
+
types: {
|
|
617
|
+
id: string;
|
|
618
|
+
label: string;
|
|
619
|
+
}[];
|
|
620
|
+
fields: {
|
|
621
|
+
[key: string]: string;
|
|
622
|
+
};
|
|
623
|
+
limits: {
|
|
624
|
+
[key: string]: string;
|
|
625
|
+
};
|
|
626
|
+
webhook?: {
|
|
627
|
+
verify: {
|
|
628
|
+
type: "hmac-sha256";
|
|
629
|
+
header: string;
|
|
630
|
+
prefix: string;
|
|
631
|
+
} | {
|
|
632
|
+
type: "token";
|
|
633
|
+
header: string;
|
|
634
|
+
} | {
|
|
635
|
+
type: "none";
|
|
636
|
+
};
|
|
637
|
+
allowInsecure: boolean;
|
|
638
|
+
type: {
|
|
639
|
+
field: string;
|
|
640
|
+
} | {
|
|
641
|
+
header: string;
|
|
642
|
+
};
|
|
643
|
+
deliveryId?: {
|
|
644
|
+
field: string;
|
|
645
|
+
} | {
|
|
646
|
+
header: string;
|
|
647
|
+
};
|
|
648
|
+
timestamp?: {
|
|
649
|
+
at: {
|
|
650
|
+
field: string;
|
|
651
|
+
} | {
|
|
652
|
+
header: string;
|
|
653
|
+
};
|
|
654
|
+
unit: "s" | "ms" | "iso";
|
|
655
|
+
toleranceSeconds: number;
|
|
656
|
+
};
|
|
657
|
+
setup: {
|
|
658
|
+
title: string;
|
|
659
|
+
body: string;
|
|
660
|
+
link?: {
|
|
661
|
+
label: string;
|
|
662
|
+
href: string;
|
|
663
|
+
};
|
|
664
|
+
copy?: string[];
|
|
665
|
+
shell?: "bash" | "powershell";
|
|
666
|
+
permissions?: boolean;
|
|
667
|
+
certificate?: boolean;
|
|
668
|
+
click?: string[];
|
|
669
|
+
clickUnavailable?: true;
|
|
670
|
+
siteRole?: "read" | "write";
|
|
671
|
+
agentCheck?: boolean;
|
|
672
|
+
confirm?: string;
|
|
673
|
+
live?: string;
|
|
674
|
+
settings?: {
|
|
675
|
+
id: string;
|
|
676
|
+
label: string;
|
|
677
|
+
help?: string;
|
|
678
|
+
placeholder?: string;
|
|
679
|
+
pattern: string;
|
|
680
|
+
}[];
|
|
681
|
+
option?: {
|
|
682
|
+
field: string;
|
|
683
|
+
value: string;
|
|
684
|
+
};
|
|
685
|
+
}[];
|
|
686
|
+
register?: {
|
|
687
|
+
method: "GET" | "POST" | "PUT";
|
|
688
|
+
path: string;
|
|
689
|
+
body?: unknown;
|
|
690
|
+
location: string;
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
self?: {
|
|
694
|
+
request: {
|
|
695
|
+
method: "GET" | "POST" | "PUT";
|
|
696
|
+
path: string;
|
|
697
|
+
body?: unknown;
|
|
698
|
+
};
|
|
699
|
+
id: string;
|
|
700
|
+
fields: string[];
|
|
701
|
+
};
|
|
702
|
+
poll?: {
|
|
703
|
+
request: {
|
|
704
|
+
method: "GET" | "POST" | "PUT";
|
|
705
|
+
path: string;
|
|
706
|
+
body?: unknown;
|
|
707
|
+
};
|
|
708
|
+
filter?: string;
|
|
709
|
+
items: string;
|
|
710
|
+
wrap?: string;
|
|
711
|
+
cursor: string;
|
|
712
|
+
deliveryId: string[];
|
|
713
|
+
types: {
|
|
714
|
+
type: string;
|
|
715
|
+
same?: [string, string];
|
|
716
|
+
}[];
|
|
717
|
+
};
|
|
718
|
+
};
|
|
414
719
|
}[];
|
|
415
720
|
steps: {
|
|
416
721
|
provider: string;
|
|
@@ -650,6 +955,7 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
650
955
|
type: "header";
|
|
651
956
|
header: string;
|
|
652
957
|
value: string;
|
|
958
|
+
prefix?: string;
|
|
653
959
|
} | {
|
|
654
960
|
type: "bearer";
|
|
655
961
|
token: string;
|
|
@@ -662,6 +968,14 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
662
968
|
tokenUrl: string;
|
|
663
969
|
clientId: string;
|
|
664
970
|
clientSecret: string;
|
|
971
|
+
scope?: string;
|
|
972
|
+
} | {
|
|
973
|
+
type: "query";
|
|
974
|
+
param: string;
|
|
975
|
+
value: string;
|
|
976
|
+
};
|
|
977
|
+
headers: {
|
|
978
|
+
[key: string]: string;
|
|
665
979
|
};
|
|
666
980
|
tools: {
|
|
667
981
|
name: string;
|
|
@@ -670,13 +984,88 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
670
984
|
path: string;
|
|
671
985
|
params: {
|
|
672
986
|
[key: string]: {
|
|
673
|
-
type: "string" | "number" | "integer" | "boolean";
|
|
987
|
+
type: "string" | "number" | "integer" | "boolean" | "array";
|
|
674
988
|
description: string;
|
|
675
989
|
in: "path" | "query" | "body";
|
|
990
|
+
name?: string;
|
|
991
|
+
required: boolean;
|
|
992
|
+
default?: (string | number | boolean) | (string | number | boolean)[];
|
|
993
|
+
enum?: (string | number | boolean)[];
|
|
994
|
+
items?: "string" | "number" | "integer" | "boolean";
|
|
995
|
+
join?: string;
|
|
996
|
+
limit?: string;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
destructive: boolean;
|
|
1000
|
+
answerLimits: {
|
|
1001
|
+
field: string;
|
|
1002
|
+
limit: string;
|
|
1003
|
+
}[];
|
|
1004
|
+
result?: {
|
|
1005
|
+
items?: string;
|
|
1006
|
+
fields?: string[];
|
|
1007
|
+
};
|
|
1008
|
+
paging?: {
|
|
1009
|
+
param: string;
|
|
1010
|
+
body: string;
|
|
1011
|
+
} | {
|
|
1012
|
+
param: string;
|
|
1013
|
+
header: string;
|
|
1014
|
+
} | {
|
|
1015
|
+
param: string;
|
|
1016
|
+
link: true;
|
|
1017
|
+
};
|
|
1018
|
+
}[];
|
|
1019
|
+
allowInsecureHttp: boolean;
|
|
1020
|
+
};
|
|
1021
|
+
soap?: {
|
|
1022
|
+
endpoint: string;
|
|
1023
|
+
version: "1.1" | "1.2";
|
|
1024
|
+
namespaces: {
|
|
1025
|
+
[key: string]: string;
|
|
1026
|
+
};
|
|
1027
|
+
auth?: {
|
|
1028
|
+
type: "header";
|
|
1029
|
+
header: string;
|
|
1030
|
+
value: string;
|
|
1031
|
+
prefix?: string;
|
|
1032
|
+
} | {
|
|
1033
|
+
type: "bearer";
|
|
1034
|
+
token: string;
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "basic";
|
|
1037
|
+
username: string;
|
|
1038
|
+
password: string;
|
|
1039
|
+
};
|
|
1040
|
+
wsSecurity?: {
|
|
1041
|
+
username: string;
|
|
1042
|
+
password: string;
|
|
1043
|
+
digest: boolean;
|
|
1044
|
+
};
|
|
1045
|
+
verify?: {
|
|
1046
|
+
tool: string;
|
|
1047
|
+
args: {
|
|
1048
|
+
[key: string]: string | number | boolean;
|
|
1049
|
+
};
|
|
1050
|
+
show: string;
|
|
1051
|
+
};
|
|
1052
|
+
tools: {
|
|
1053
|
+
name: string;
|
|
1054
|
+
description: string;
|
|
1055
|
+
operation: string;
|
|
1056
|
+
soapAction?: string;
|
|
1057
|
+
body: string;
|
|
1058
|
+
params: {
|
|
1059
|
+
[key: string]: {
|
|
1060
|
+
type: "string" | "number" | "integer" | "boolean";
|
|
1061
|
+
description: string;
|
|
676
1062
|
required: boolean;
|
|
677
1063
|
limit?: string;
|
|
678
1064
|
};
|
|
679
1065
|
};
|
|
1066
|
+
result?: string;
|
|
1067
|
+
fields?: string[];
|
|
1068
|
+
readOnly: boolean;
|
|
680
1069
|
destructive: boolean;
|
|
681
1070
|
answerLimits: {
|
|
682
1071
|
field: string;
|
|
@@ -685,6 +1074,227 @@ export declare function newKeySetup(ticked: Connector[], providers: Provider[]):
|
|
|
685
1074
|
}[];
|
|
686
1075
|
allowInsecureHttp: boolean;
|
|
687
1076
|
};
|
|
1077
|
+
odata?: {
|
|
1078
|
+
serviceRoot: string;
|
|
1079
|
+
version: "2" | "4";
|
|
1080
|
+
auth: {
|
|
1081
|
+
type: "header";
|
|
1082
|
+
header: string;
|
|
1083
|
+
value: string;
|
|
1084
|
+
prefix?: string;
|
|
1085
|
+
} | {
|
|
1086
|
+
type: "bearer";
|
|
1087
|
+
token: string;
|
|
1088
|
+
} | {
|
|
1089
|
+
type: "basic";
|
|
1090
|
+
username: string;
|
|
1091
|
+
password: string;
|
|
1092
|
+
} | {
|
|
1093
|
+
type: "oauth2";
|
|
1094
|
+
tokenUrl: string;
|
|
1095
|
+
clientId: string;
|
|
1096
|
+
clientSecret: string;
|
|
1097
|
+
scope?: string;
|
|
1098
|
+
} | {
|
|
1099
|
+
type: "query";
|
|
1100
|
+
param: string;
|
|
1101
|
+
value: string;
|
|
1102
|
+
};
|
|
1103
|
+
headers: {
|
|
1104
|
+
[key: string]: string;
|
|
1105
|
+
};
|
|
1106
|
+
csrf: boolean;
|
|
1107
|
+
paging: "skip" | "server";
|
|
1108
|
+
tools: {
|
|
1109
|
+
name: string;
|
|
1110
|
+
description: string;
|
|
1111
|
+
kind: "list" | "get" | "create" | "update" | "function" | "action";
|
|
1112
|
+
entitySet?: string;
|
|
1113
|
+
function?: string;
|
|
1114
|
+
key: {
|
|
1115
|
+
[key: string]: {
|
|
1116
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
1117
|
+
description: string;
|
|
1118
|
+
property?: string;
|
|
1119
|
+
required?: boolean;
|
|
1120
|
+
limit?: string;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
filters: {
|
|
1124
|
+
[key: string]: {
|
|
1125
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
1126
|
+
description: string;
|
|
1127
|
+
property?: string;
|
|
1128
|
+
required?: boolean;
|
|
1129
|
+
limit?: string;
|
|
1130
|
+
op: "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "contains" | "startswith";
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
fields: {
|
|
1134
|
+
[key: string]: {
|
|
1135
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
1136
|
+
description: string;
|
|
1137
|
+
property?: string;
|
|
1138
|
+
required?: boolean;
|
|
1139
|
+
limit?: string;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
params: {
|
|
1143
|
+
[key: string]: {
|
|
1144
|
+
type: "string" | "integer" | "number" | "decimal" | "boolean" | "guid" | "datetime" | "datetimeoffset";
|
|
1145
|
+
description: string;
|
|
1146
|
+
property?: string;
|
|
1147
|
+
required?: boolean;
|
|
1148
|
+
limit?: string;
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
select: string[];
|
|
1152
|
+
orderBy?: string;
|
|
1153
|
+
top: number;
|
|
1154
|
+
destructive: boolean;
|
|
1155
|
+
answerLimits: {
|
|
1156
|
+
field: string;
|
|
1157
|
+
limit: string;
|
|
1158
|
+
}[];
|
|
1159
|
+
}[];
|
|
1160
|
+
allowInsecureHttp: boolean;
|
|
1161
|
+
};
|
|
1162
|
+
sql?: {
|
|
1163
|
+
engine: "postgres" | "sqlserver" | "mysql" | "oracle";
|
|
1164
|
+
host: string;
|
|
1165
|
+
port?: number;
|
|
1166
|
+
database: string;
|
|
1167
|
+
auth: {
|
|
1168
|
+
user: string;
|
|
1169
|
+
password: string;
|
|
1170
|
+
};
|
|
1171
|
+
tls: "verify" | "insecure" | "off";
|
|
1172
|
+
timeoutSeconds: number;
|
|
1173
|
+
maxRows: number;
|
|
1174
|
+
tools: {
|
|
1175
|
+
name: string;
|
|
1176
|
+
description: string;
|
|
1177
|
+
sql: string;
|
|
1178
|
+
params: {
|
|
1179
|
+
[key: string]: {
|
|
1180
|
+
type: "string" | "number" | "integer" | "boolean";
|
|
1181
|
+
description: string;
|
|
1182
|
+
required: boolean;
|
|
1183
|
+
limit?: string;
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
write: boolean;
|
|
1187
|
+
destructive: boolean;
|
|
1188
|
+
answerLimits: {
|
|
1189
|
+
column: string;
|
|
1190
|
+
limit: string;
|
|
1191
|
+
}[];
|
|
1192
|
+
}[];
|
|
1193
|
+
};
|
|
1194
|
+
events?: {
|
|
1195
|
+
types: {
|
|
1196
|
+
id: string;
|
|
1197
|
+
label: string;
|
|
1198
|
+
}[];
|
|
1199
|
+
fields: {
|
|
1200
|
+
[key: string]: string;
|
|
1201
|
+
};
|
|
1202
|
+
limits: {
|
|
1203
|
+
[key: string]: string;
|
|
1204
|
+
};
|
|
1205
|
+
webhook?: {
|
|
1206
|
+
verify: {
|
|
1207
|
+
type: "hmac-sha256";
|
|
1208
|
+
header: string;
|
|
1209
|
+
prefix: string;
|
|
1210
|
+
} | {
|
|
1211
|
+
type: "token";
|
|
1212
|
+
header: string;
|
|
1213
|
+
} | {
|
|
1214
|
+
type: "none";
|
|
1215
|
+
};
|
|
1216
|
+
allowInsecure: boolean;
|
|
1217
|
+
type: {
|
|
1218
|
+
field: string;
|
|
1219
|
+
} | {
|
|
1220
|
+
header: string;
|
|
1221
|
+
};
|
|
1222
|
+
deliveryId?: {
|
|
1223
|
+
field: string;
|
|
1224
|
+
} | {
|
|
1225
|
+
header: string;
|
|
1226
|
+
};
|
|
1227
|
+
timestamp?: {
|
|
1228
|
+
at: {
|
|
1229
|
+
field: string;
|
|
1230
|
+
} | {
|
|
1231
|
+
header: string;
|
|
1232
|
+
};
|
|
1233
|
+
unit: "s" | "ms" | "iso";
|
|
1234
|
+
toleranceSeconds: number;
|
|
1235
|
+
};
|
|
1236
|
+
setup: {
|
|
1237
|
+
title: string;
|
|
1238
|
+
body: string;
|
|
1239
|
+
link?: {
|
|
1240
|
+
label: string;
|
|
1241
|
+
href: string;
|
|
1242
|
+
};
|
|
1243
|
+
copy?: string[];
|
|
1244
|
+
shell?: "bash" | "powershell";
|
|
1245
|
+
permissions?: boolean;
|
|
1246
|
+
certificate?: boolean;
|
|
1247
|
+
click?: string[];
|
|
1248
|
+
clickUnavailable?: true;
|
|
1249
|
+
siteRole?: "read" | "write";
|
|
1250
|
+
agentCheck?: boolean;
|
|
1251
|
+
confirm?: string;
|
|
1252
|
+
live?: string;
|
|
1253
|
+
settings?: {
|
|
1254
|
+
id: string;
|
|
1255
|
+
label: string;
|
|
1256
|
+
help?: string;
|
|
1257
|
+
placeholder?: string;
|
|
1258
|
+
pattern: string;
|
|
1259
|
+
}[];
|
|
1260
|
+
option?: {
|
|
1261
|
+
field: string;
|
|
1262
|
+
value: string;
|
|
1263
|
+
};
|
|
1264
|
+
}[];
|
|
1265
|
+
register?: {
|
|
1266
|
+
method: "GET" | "POST" | "PUT";
|
|
1267
|
+
path: string;
|
|
1268
|
+
body?: unknown;
|
|
1269
|
+
location: string;
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
self?: {
|
|
1273
|
+
request: {
|
|
1274
|
+
method: "GET" | "POST" | "PUT";
|
|
1275
|
+
path: string;
|
|
1276
|
+
body?: unknown;
|
|
1277
|
+
};
|
|
1278
|
+
id: string;
|
|
1279
|
+
fields: string[];
|
|
1280
|
+
};
|
|
1281
|
+
poll?: {
|
|
1282
|
+
request: {
|
|
1283
|
+
method: "GET" | "POST" | "PUT";
|
|
1284
|
+
path: string;
|
|
1285
|
+
body?: unknown;
|
|
1286
|
+
};
|
|
1287
|
+
filter?: string;
|
|
1288
|
+
items: string;
|
|
1289
|
+
wrap?: string;
|
|
1290
|
+
cursor: string;
|
|
1291
|
+
deliveryId: string[];
|
|
1292
|
+
types: {
|
|
1293
|
+
type: string;
|
|
1294
|
+
same?: [string, string];
|
|
1295
|
+
}[];
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
688
1298
|
}[];
|
|
689
1299
|
};
|
|
690
1300
|
/** The list limits a new key must be given for an app before it is made (e.g. SharePoint's
|
package/lib/types.d.ts
CHANGED
|
@@ -39,6 +39,12 @@ export type InstallTarget = S["InstallTarget"];
|
|
|
39
39
|
export type TeamsTrigger = S["TeamsTrigger"];
|
|
40
40
|
export type TeamsTriggerInput = Body<"setTeamsTrigger">;
|
|
41
41
|
export type TeamsRun = S["TeamsRun"];
|
|
42
|
+
export type EventSubscription = S["EventSubscription"];
|
|
43
|
+
export type EventSubscriptionInput = Body<"subscribeEvents">;
|
|
44
|
+
export type EventSubscribed = S["EventSubscribed"];
|
|
45
|
+
export type EventTrigger = S["EventTrigger"];
|
|
46
|
+
export type EventTriggerInput = Body<"setEventTrigger">;
|
|
47
|
+
export type EventRun = S["EventRun"];
|
|
42
48
|
export type ClaudeKey = S["ClaudeKey"];
|
|
43
49
|
export type ClaudeAgent = S["ClaudeAgent"];
|
|
44
50
|
export type Step = Connector["setup"][number];
|
package/package.json
CHANGED