@arbium/enterprise-agent-connect 0.1.2-dev.d2aa5ca → 0.2.1-dev.7b4e802
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/README.md +19 -7
- package/dist/connectors/adestra/connector.json +336 -0
- package/dist/connectors/adobe-admin-console/connector.json +212 -0
- package/dist/connectors/argo-cd/connector.json +210 -0
- package/dist/connectors/automox/connector.json +376 -0
- package/dist/connectors/churnzero/connector.json +238 -0
- package/dist/connectors/confluence/connector.json +168 -0
- package/dist/connectors/cvent/connector.json +287 -0
- package/dist/connectors/datadog/connector.json +188 -0
- package/dist/connectors/drata/connector.json +447 -0
- package/dist/connectors/druva/connector.json +258 -0
- package/dist/connectors/dynamics-365/connector.json +16 -1
- package/dist/connectors/dynamics-365/index.d.ts +1 -4
- package/dist/connectors/dynamics-365/index.js.map +1 -1
- package/dist/connectors/entra/index.d.ts +1 -1
- package/dist/connectors/forsta-decipher/connector.json +164 -0
- package/dist/connectors/gitlab/connector.json +263 -0
- package/dist/connectors/gong/vendor.d.ts +1 -1
- package/dist/connectors/gong/vendor.js +24 -32
- package/dist/connectors/gong/vendor.js.map +1 -1
- package/dist/connectors/grafana/connector.json +162 -0
- package/dist/connectors/http/index.d.ts +7 -7
- package/dist/connectors/http/index.js +66 -9
- package/dist/connectors/http/index.js.map +1 -1
- package/dist/connectors/http/openapi.d.ts +62 -0
- package/dist/connectors/http/openapi.js +342 -0
- package/dist/connectors/http/openapi.js.map +1 -0
- package/dist/connectors/intercom/connector.json +249 -0
- package/dist/connectors/intune/index.d.ts +1 -1
- package/dist/connectors/jamf/vendor.js +5 -1
- package/dist/connectors/jamf/vendor.js.map +1 -1
- package/dist/connectors/jira/connector.json +3 -3
- package/dist/connectors/jira/vendor.d.ts +1 -1
- package/dist/connectors/jira/vendor.js +8 -2
- package/dist/connectors/jira/vendor.js.map +1 -1
- package/dist/connectors/lusha/connector.json +59 -0
- package/dist/connectors/lusha/index.d.ts +8 -0
- package/dist/connectors/lusha/index.js +7 -0
- package/dist/connectors/lusha/index.js.map +1 -0
- package/dist/connectors/lusha/tools.d.ts +2 -0
- package/dist/connectors/lusha/tools.js +113 -0
- package/dist/connectors/lusha/tools.js.map +1 -0
- package/dist/connectors/lusha/vendor.d.ts +4 -0
- package/dist/connectors/lusha/vendor.js +72 -0
- package/dist/connectors/lusha/vendor.js.map +1 -0
- package/dist/connectors/microsoft/client.d.ts +11 -3
- package/dist/connectors/microsoft/client.js +62 -8
- package/dist/connectors/microsoft/client.js.map +1 -1
- package/dist/connectors/netsuite/connector.json +4 -2
- package/dist/connectors/netsuite/vendor.d.ts +1 -1
- package/dist/connectors/netsuite/vendor.js +5 -6
- package/dist/connectors/netsuite/vendor.js.map +1 -1
- package/dist/connectors/odata/index.d.ts +1 -4
- package/dist/connectors/odata/index.js +12 -5
- package/dist/connectors/odata/index.js.map +1 -1
- package/dist/connectors/okta/connector.json +3 -2
- package/dist/connectors/okta/vendor.d.ts +1 -1
- package/dist/connectors/okta/vendor.js +7 -6
- package/dist/connectors/okta/vendor.js.map +1 -1
- package/dist/connectors/outlook-calendar/index.d.ts +1 -1
- package/dist/connectors/outlook-mail/index.d.ts +1 -1
- package/dist/connectors/pagerduty/connector.json +247 -0
- package/dist/connectors/qualys/connector.json +271 -0
- package/dist/connectors/safebase/connector.json +221 -0
- package/dist/connectors/salesforce/vendor.d.ts +1 -1
- package/dist/connectors/salesforce/vendor.js +9 -3
- package/dist/connectors/salesforce/vendor.js.map +1 -1
- package/dist/connectors/sap-s4hana/connector.json +1 -0
- package/dist/connectors/servicenow/vendor.d.ts +0 -1
- package/dist/connectors/servicenow/vendor.js +7 -10
- package/dist/connectors/servicenow/vendor.js.map +1 -1
- package/dist/connectors/sharepoint-files/connector.json +34 -3
- package/dist/connectors/sharepoint-files/documents.d.ts +7 -0
- package/dist/connectors/sharepoint-files/documents.js +212 -0
- package/dist/connectors/sharepoint-files/documents.js.map +1 -0
- package/dist/connectors/sharepoint-files/docx-worker.d.ts +7 -0
- package/dist/connectors/sharepoint-files/docx-worker.js +41 -0
- package/dist/connectors/sharepoint-files/docx-worker.js.map +1 -0
- package/dist/connectors/sharepoint-files/docx.d.ts +96 -0
- package/dist/connectors/sharepoint-files/docx.js +823 -0
- package/dist/connectors/sharepoint-files/docx.js.map +1 -0
- package/dist/connectors/sharepoint-files/index.d.ts +1 -4
- package/dist/connectors/sharepoint-files/index.js +2 -1
- package/dist/connectors/sharepoint-files/index.js.map +1 -1
- package/dist/connectors/sharepoint-files/ooxml.d.ts +19 -0
- package/dist/connectors/sharepoint-files/ooxml.js +179 -0
- package/dist/connectors/sharepoint-files/ooxml.js.map +1 -0
- package/dist/connectors/sharepoint-files/paging.d.ts +15 -0
- package/dist/connectors/sharepoint-files/paging.js +87 -0
- package/dist/connectors/sharepoint-files/paging.js.map +1 -0
- package/dist/connectors/sharepoint-files/parse-host.mjs +78 -0
- package/dist/connectors/sharepoint-files/pdf-worker.mjs +108 -0
- package/dist/connectors/sharepoint-files/pdf.d.ts +16 -0
- package/dist/connectors/sharepoint-files/pdf.js +19 -0
- package/dist/connectors/sharepoint-files/pdf.js.map +1 -0
- package/dist/connectors/sharepoint-files/sandbox.d.ts +19 -0
- package/dist/connectors/sharepoint-files/sandbox.js +176 -0
- package/dist/connectors/sharepoint-files/sandbox.js.map +1 -0
- package/dist/connectors/sharepoint-files/tools.d.ts +6 -0
- package/dist/connectors/sharepoint-files/tools.js +79 -4
- package/dist/connectors/sharepoint-files/tools.js.map +1 -1
- package/dist/connectors/slack/vendor.d.ts +1 -1
- package/dist/connectors/slack/vendor.js +32 -38
- package/dist/connectors/slack/vendor.js.map +1 -1
- package/dist/connectors/soap/index.d.ts +1 -4
- package/dist/connectors/soap/index.js +4 -3
- package/dist/connectors/soap/index.js.map +1 -1
- package/dist/connectors/sonarqube/connector.json +165 -0
- package/dist/connectors/sprout-social/connector.json +158 -0
- package/dist/connectors/sql/index.d.ts +1 -4
- package/dist/connectors/sql/index.js +2 -0
- package/dist/connectors/sql/index.js.map +1 -1
- package/dist/connectors/synthesia/connector.json +113 -0
- package/dist/connectors/teams/index.d.ts +1 -1
- package/dist/connectors/teams/tools.d.ts +6 -1
- package/dist/connectors/teams/tools.js +3 -2
- package/dist/connectors/teams/tools.js.map +1 -1
- package/dist/connectors/wordpress/connector.json +203 -0
- package/dist/connectors/workday/connector.json +6 -4
- package/dist/connectors/workday/vendor.d.ts +1 -1
- package/dist/connectors/workday/vendor.js +8 -4
- package/dist/connectors/workday/vendor.js.map +1 -1
- package/dist/connectors/zephyr/connector.json +192 -0
- package/dist/packages/connector-kit/src/common.d.ts +4 -5
- package/dist/packages/connector-kit/src/common.js +4 -1
- package/dist/packages/connector-kit/src/common.js.map +1 -1
- package/dist/packages/connector-kit/src/connector.d.ts +82 -34
- package/dist/packages/connector-kit/src/connector.js +163 -21
- package/dist/packages/connector-kit/src/connector.js.map +1 -1
- package/dist/packages/connector-kit/src/fetch.d.ts +6 -0
- package/dist/packages/connector-kit/src/fetch.js +44 -0
- package/dist/packages/connector-kit/src/fetch.js.map +1 -0
- package/dist/packages/connector-kit/src/index.d.ts +3 -3
- package/dist/packages/connector-kit/src/index.js +1 -0
- package/dist/packages/connector-kit/src/index.js.map +1 -1
- package/dist/packages/connector-kit/src/oauth.d.ts +3 -1
- package/dist/packages/connector-kit/src/oauth.js +16 -6
- package/dist/packages/connector-kit/src/oauth.js.map +1 -1
- package/dist/packages/connector-kit/src/types.d.ts +4 -1
- package/dist/packages/connector-kit/src/types.js.map +1 -1
- package/dist/packages/server/migrations/0008_internal_apps.sql +16 -0
- package/dist/packages/server/migrations/rollback/to-legacy.sql +2 -0
- package/dist/packages/server/src/api.d.ts +2486 -257
- package/dist/packages/server/src/api.js +84 -1
- package/dist/packages/server/src/api.js.map +1 -1
- package/dist/packages/server/src/app.js +26 -1
- package/dist/packages/server/src/app.js.map +1 -1
- package/dist/packages/server/src/builtin.d.ts +7 -3
- package/dist/packages/server/src/builtin.js +32 -0
- package/dist/packages/server/src/builtin.js.map +1 -1
- package/dist/packages/server/src/events/runtime.js +17 -10
- package/dist/packages/server/src/events/runtime.js.map +1 -1
- package/dist/packages/server/src/events/store.d.ts +2 -2
- package/dist/packages/server/src/index.d.ts +3 -3
- package/dist/packages/server/src/index.js +32 -22
- package/dist/packages/server/src/index.js.map +1 -1
- package/dist/packages/server/src/service.d.ts +1134 -14
- package/dist/packages/server/src/service.js +266 -21
- package/dist/packages/server/src/service.js.map +1 -1
- package/dist/packages/server/src/store.d.ts +43 -4
- package/dist/packages/server/src/store.js +79 -0
- package/dist/packages/server/src/store.js.map +1 -1
- package/package.json +4 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type Connector, type Provider } from "../../connector-kit/src/connector.js";
|
|
2
2
|
import { type CredentialKey } from "./secrets.js";
|
|
3
3
|
import type { AgentRow, ConnectionRow, Limits, ProviderRow, PublicConnection, Store } from "./store.js";
|
|
4
|
-
import { type
|
|
4
|
+
import { type Toolset } from "../../connector-kit/src/common.js";
|
|
5
5
|
import type { TeamsAccess } from "./teams/runtime.js";
|
|
6
|
+
import type { TeamsToolContext } from "../../../connectors/teams/tools.js";
|
|
6
7
|
import type { BotRow } from "./teams/store.js";
|
|
7
8
|
import { type ProviderClient, type Vendor, type VendorRequest } from "../../connector-kit/src/types.js";
|
|
8
9
|
export type App = {
|
|
@@ -27,6 +28,7 @@ export type CheckResult = {
|
|
|
27
28
|
label: string;
|
|
28
29
|
values: string[];
|
|
29
30
|
warning?: string;
|
|
31
|
+
labels?: Record<string, string>;
|
|
30
32
|
};
|
|
31
33
|
export declare class InvalidInput extends Error {
|
|
32
34
|
}
|
|
@@ -42,6 +44,8 @@ export declare function createService(deps: {
|
|
|
42
44
|
providers?: ProviderApp[];
|
|
43
45
|
store: Store;
|
|
44
46
|
key: CredentialKey;
|
|
47
|
+
internalApp?: (connector: Connector) => App;
|
|
48
|
+
reservedIds?: Iterable<string>;
|
|
45
49
|
bots?: {
|
|
46
50
|
botForAgent(org: string, agentId: string): Promise<BotRow | null>;
|
|
47
51
|
access(bot: BotRow): TeamsAccess;
|
|
@@ -68,7 +72,7 @@ export declare function createService(deps: {
|
|
|
68
72
|
certificate?: boolean | undefined;
|
|
69
73
|
click?: string[] | undefined;
|
|
70
74
|
clickUnavailable?: true | undefined;
|
|
71
|
-
siteRole?: "
|
|
75
|
+
siteRole?: "read" | "write" | undefined;
|
|
72
76
|
agentCheck?: boolean | undefined;
|
|
73
77
|
confirm?: string | undefined;
|
|
74
78
|
live?: string | undefined;
|
|
@@ -83,6 +87,7 @@ export declare function createService(deps: {
|
|
|
83
87
|
field: string;
|
|
84
88
|
value: string;
|
|
85
89
|
} | undefined;
|
|
90
|
+
capabilities?: string[] | undefined;
|
|
86
91
|
}[];
|
|
87
92
|
afterConnect: {
|
|
88
93
|
title: string;
|
|
@@ -97,7 +102,7 @@ export declare function createService(deps: {
|
|
|
97
102
|
certificate?: boolean | undefined;
|
|
98
103
|
click?: string[] | undefined;
|
|
99
104
|
clickUnavailable?: true | undefined;
|
|
100
|
-
siteRole?: "
|
|
105
|
+
siteRole?: "read" | "write" | undefined;
|
|
101
106
|
agentCheck?: boolean | undefined;
|
|
102
107
|
confirm?: string | undefined;
|
|
103
108
|
live?: string | undefined;
|
|
@@ -112,11 +117,13 @@ export declare function createService(deps: {
|
|
|
112
117
|
field: string;
|
|
113
118
|
value: string;
|
|
114
119
|
} | undefined;
|
|
120
|
+
capabilities?: string[] | undefined;
|
|
115
121
|
}[];
|
|
116
122
|
fields: {
|
|
117
123
|
id: string;
|
|
118
124
|
label: string;
|
|
119
125
|
secret: boolean;
|
|
126
|
+
optional: boolean;
|
|
120
127
|
help?: string | undefined;
|
|
121
128
|
placeholder?: string | undefined;
|
|
122
129
|
options?: {
|
|
@@ -160,6 +167,7 @@ export declare function createService(deps: {
|
|
|
160
167
|
path: string;
|
|
161
168
|
label: string;
|
|
162
169
|
show: string;
|
|
170
|
+
name?: string | undefined;
|
|
163
171
|
match?: Record<string, string | number | boolean> | undefined;
|
|
164
172
|
body?: Record<string, unknown> | undefined;
|
|
165
173
|
ifEmpty?: string | undefined;
|
|
@@ -187,7 +195,7 @@ export declare function createService(deps: {
|
|
|
187
195
|
certificate?: boolean | undefined;
|
|
188
196
|
click?: string[] | undefined;
|
|
189
197
|
clickUnavailable?: true | undefined;
|
|
190
|
-
siteRole?: "
|
|
198
|
+
siteRole?: "read" | "write" | undefined;
|
|
191
199
|
agentCheck?: boolean | undefined;
|
|
192
200
|
confirm?: string | undefined;
|
|
193
201
|
live?: string | undefined;
|
|
@@ -226,6 +234,7 @@ export declare function createService(deps: {
|
|
|
226
234
|
path: string;
|
|
227
235
|
label: string;
|
|
228
236
|
show: string;
|
|
237
|
+
name?: string | undefined;
|
|
229
238
|
match?: Record<string, string | number | boolean> | undefined;
|
|
230
239
|
body?: Record<string, unknown> | undefined;
|
|
231
240
|
ifEmpty?: string | undefined;
|
|
@@ -254,12 +263,15 @@ export declare function createService(deps: {
|
|
|
254
263
|
clientId: string;
|
|
255
264
|
clientSecret: string;
|
|
256
265
|
scope?: string | undefined;
|
|
266
|
+
clientAuth?: "body" | "basic" | undefined;
|
|
267
|
+
audience?: string | undefined;
|
|
257
268
|
} | {
|
|
258
269
|
type: "query";
|
|
259
270
|
param: string;
|
|
260
271
|
value: string;
|
|
261
272
|
};
|
|
262
273
|
headers: Record<string, string>;
|
|
274
|
+
fieldHeaders: Record<string, string>;
|
|
263
275
|
tools: {
|
|
264
276
|
name: string;
|
|
265
277
|
description: string;
|
|
@@ -268,7 +280,7 @@ export declare function createService(deps: {
|
|
|
268
280
|
params: Record<string, {
|
|
269
281
|
type: "string" | "number" | "boolean" | "array" | "integer";
|
|
270
282
|
description: string;
|
|
271
|
-
in: "
|
|
283
|
+
in: "body" | "path" | "query";
|
|
272
284
|
required: boolean;
|
|
273
285
|
name?: string | undefined;
|
|
274
286
|
default?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
@@ -298,6 +310,7 @@ export declare function createService(deps: {
|
|
|
298
310
|
} | undefined;
|
|
299
311
|
}[];
|
|
300
312
|
allowInsecureHttp: boolean;
|
|
313
|
+
allowedHosts?: string[] | undefined;
|
|
301
314
|
} | undefined;
|
|
302
315
|
soap?: {
|
|
303
316
|
endpoint: string;
|
|
@@ -370,6 +383,8 @@ export declare function createService(deps: {
|
|
|
370
383
|
clientId: string;
|
|
371
384
|
clientSecret: string;
|
|
372
385
|
scope?: string | undefined;
|
|
386
|
+
clientAuth?: "body" | "basic" | undefined;
|
|
387
|
+
audience?: string | undefined;
|
|
373
388
|
} | {
|
|
374
389
|
type: "query";
|
|
375
390
|
param: string;
|
|
@@ -383,14 +398,14 @@ export declare function createService(deps: {
|
|
|
383
398
|
description: string;
|
|
384
399
|
kind: "function" | "list" | "get" | "create" | "update" | "action";
|
|
385
400
|
key: Record<string, {
|
|
386
|
-
type: "string" | "number" | "boolean" | "
|
|
401
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
387
402
|
description: string;
|
|
388
403
|
property?: string | undefined;
|
|
389
404
|
required?: boolean | undefined;
|
|
390
405
|
limit?: string | undefined;
|
|
391
406
|
}>;
|
|
392
407
|
filters: Record<string, {
|
|
393
|
-
type: "string" | "number" | "boolean" | "
|
|
408
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
394
409
|
description: string;
|
|
395
410
|
op: "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "contains" | "startswith";
|
|
396
411
|
property?: string | undefined;
|
|
@@ -398,14 +413,14 @@ export declare function createService(deps: {
|
|
|
398
413
|
limit?: string | undefined;
|
|
399
414
|
}>;
|
|
400
415
|
fields: Record<string, {
|
|
401
|
-
type: "string" | "number" | "boolean" | "
|
|
416
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
402
417
|
description: string;
|
|
403
418
|
property?: string | undefined;
|
|
404
419
|
required?: boolean | undefined;
|
|
405
420
|
limit?: string | undefined;
|
|
406
421
|
}>;
|
|
407
422
|
params: Record<string, {
|
|
408
|
-
type: "string" | "number" | "boolean" | "
|
|
423
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
409
424
|
description: string;
|
|
410
425
|
property?: string | undefined;
|
|
411
426
|
required?: boolean | undefined;
|
|
@@ -423,6 +438,7 @@ export declare function createService(deps: {
|
|
|
423
438
|
orderBy?: string | undefined;
|
|
424
439
|
}[];
|
|
425
440
|
allowInsecureHttp: boolean;
|
|
441
|
+
allowedHosts?: string[] | undefined;
|
|
426
442
|
} | undefined;
|
|
427
443
|
sql?: {
|
|
428
444
|
engine: "postgres" | "sqlserver" | "mysql" | "oracle";
|
|
@@ -491,7 +507,7 @@ export declare function createService(deps: {
|
|
|
491
507
|
certificate?: boolean | undefined;
|
|
492
508
|
click?: string[] | undefined;
|
|
493
509
|
clickUnavailable?: true | undefined;
|
|
494
|
-
siteRole?: "
|
|
510
|
+
siteRole?: "read" | "write" | undefined;
|
|
495
511
|
agentCheck?: boolean | undefined;
|
|
496
512
|
confirm?: string | undefined;
|
|
497
513
|
live?: string | undefined;
|
|
@@ -548,13 +564,1116 @@ export declare function createService(deps: {
|
|
|
548
564
|
deliveryId: string[];
|
|
549
565
|
types: {
|
|
550
566
|
type: string;
|
|
551
|
-
|
|
567
|
+
since?: string | undefined;
|
|
552
568
|
}[];
|
|
553
569
|
filter?: string | undefined;
|
|
554
570
|
wrap?: string | undefined;
|
|
555
571
|
} | undefined;
|
|
556
572
|
} | undefined;
|
|
557
573
|
}[];
|
|
574
|
+
connectorsFor(org: string): Promise<{
|
|
575
|
+
id: string;
|
|
576
|
+
name: string;
|
|
577
|
+
description: string;
|
|
578
|
+
logo: string;
|
|
579
|
+
identity: string;
|
|
580
|
+
connectionKind: "guided";
|
|
581
|
+
accountKey: string;
|
|
582
|
+
setup: {
|
|
583
|
+
title: string;
|
|
584
|
+
body: string;
|
|
585
|
+
link?: {
|
|
586
|
+
label: string;
|
|
587
|
+
href: string;
|
|
588
|
+
} | undefined;
|
|
589
|
+
copy?: string[] | undefined;
|
|
590
|
+
shell?: "bash" | "powershell" | undefined;
|
|
591
|
+
permissions?: boolean | undefined;
|
|
592
|
+
certificate?: boolean | undefined;
|
|
593
|
+
click?: string[] | undefined;
|
|
594
|
+
clickUnavailable?: true | undefined;
|
|
595
|
+
siteRole?: "read" | "write" | undefined;
|
|
596
|
+
agentCheck?: boolean | undefined;
|
|
597
|
+
confirm?: string | undefined;
|
|
598
|
+
live?: string | undefined;
|
|
599
|
+
settings?: {
|
|
600
|
+
id: string;
|
|
601
|
+
label: string;
|
|
602
|
+
pattern: string;
|
|
603
|
+
help?: string | undefined;
|
|
604
|
+
placeholder?: string | undefined;
|
|
605
|
+
}[] | undefined;
|
|
606
|
+
option?: {
|
|
607
|
+
field: string;
|
|
608
|
+
value: string;
|
|
609
|
+
} | undefined;
|
|
610
|
+
capabilities?: string[] | undefined;
|
|
611
|
+
}[];
|
|
612
|
+
afterConnect: {
|
|
613
|
+
title: string;
|
|
614
|
+
body: string;
|
|
615
|
+
link?: {
|
|
616
|
+
label: string;
|
|
617
|
+
href: string;
|
|
618
|
+
} | undefined;
|
|
619
|
+
copy?: string[] | undefined;
|
|
620
|
+
shell?: "bash" | "powershell" | undefined;
|
|
621
|
+
permissions?: boolean | undefined;
|
|
622
|
+
certificate?: boolean | undefined;
|
|
623
|
+
click?: string[] | undefined;
|
|
624
|
+
clickUnavailable?: true | undefined;
|
|
625
|
+
siteRole?: "read" | "write" | undefined;
|
|
626
|
+
agentCheck?: boolean | undefined;
|
|
627
|
+
confirm?: string | undefined;
|
|
628
|
+
live?: string | undefined;
|
|
629
|
+
settings?: {
|
|
630
|
+
id: string;
|
|
631
|
+
label: string;
|
|
632
|
+
pattern: string;
|
|
633
|
+
help?: string | undefined;
|
|
634
|
+
placeholder?: string | undefined;
|
|
635
|
+
}[] | undefined;
|
|
636
|
+
option?: {
|
|
637
|
+
field: string;
|
|
638
|
+
value: string;
|
|
639
|
+
} | undefined;
|
|
640
|
+
capabilities?: string[] | undefined;
|
|
641
|
+
}[];
|
|
642
|
+
fields: {
|
|
643
|
+
id: string;
|
|
644
|
+
label: string;
|
|
645
|
+
secret: boolean;
|
|
646
|
+
optional: boolean;
|
|
647
|
+
help?: string | undefined;
|
|
648
|
+
placeholder?: string | undefined;
|
|
649
|
+
options?: {
|
|
650
|
+
value: string;
|
|
651
|
+
label: string;
|
|
652
|
+
description: string;
|
|
653
|
+
scopes?: string[] | undefined;
|
|
654
|
+
}[] | undefined;
|
|
655
|
+
requires?: {
|
|
656
|
+
field: string;
|
|
657
|
+
value: string;
|
|
658
|
+
} | undefined;
|
|
659
|
+
}[];
|
|
660
|
+
capabilities: {
|
|
661
|
+
id: string;
|
|
662
|
+
label: string;
|
|
663
|
+
description: string;
|
|
664
|
+
required: boolean;
|
|
665
|
+
destructive: boolean;
|
|
666
|
+
scopes: string[];
|
|
667
|
+
permissions: string[];
|
|
668
|
+
tools: string[];
|
|
669
|
+
costs?: boolean | undefined;
|
|
670
|
+
roles?: string[] | undefined;
|
|
671
|
+
fill?: Record<string, string> | undefined;
|
|
672
|
+
note?: string | undefined;
|
|
673
|
+
forbidden?: string | undefined;
|
|
674
|
+
claudeKey?: boolean | undefined;
|
|
675
|
+
}[];
|
|
676
|
+
limits: {
|
|
677
|
+
id: string;
|
|
678
|
+
label: string;
|
|
679
|
+
help: string;
|
|
680
|
+
kind: "text" | "map" | "list";
|
|
681
|
+
required: boolean;
|
|
682
|
+
pattern?: string | undefined;
|
|
683
|
+
keys?: string | undefined;
|
|
684
|
+
}[];
|
|
685
|
+
verify: {
|
|
686
|
+
method: "GET" | "POST";
|
|
687
|
+
path: string;
|
|
688
|
+
label: string;
|
|
689
|
+
show: string;
|
|
690
|
+
name?: string | undefined;
|
|
691
|
+
match?: Record<string, string | number | boolean> | undefined;
|
|
692
|
+
body?: Record<string, unknown> | undefined;
|
|
693
|
+
ifEmpty?: string | undefined;
|
|
694
|
+
} | {
|
|
695
|
+
label: string;
|
|
696
|
+
check: string;
|
|
697
|
+
ifEmpty?: string | undefined;
|
|
698
|
+
};
|
|
699
|
+
revoke: string;
|
|
700
|
+
signsInAs?: "agentBot" | undefined;
|
|
701
|
+
provider?: string | undefined;
|
|
702
|
+
order?: number | undefined;
|
|
703
|
+
scopes?: string[] | undefined;
|
|
704
|
+
siteAccess?: {
|
|
705
|
+
grant: {
|
|
706
|
+
title: string;
|
|
707
|
+
body: string;
|
|
708
|
+
link?: {
|
|
709
|
+
label: string;
|
|
710
|
+
href: string;
|
|
711
|
+
} | undefined;
|
|
712
|
+
copy?: string[] | undefined;
|
|
713
|
+
shell?: "bash" | "powershell" | undefined;
|
|
714
|
+
permissions?: boolean | undefined;
|
|
715
|
+
certificate?: boolean | undefined;
|
|
716
|
+
click?: string[] | undefined;
|
|
717
|
+
clickUnavailable?: true | undefined;
|
|
718
|
+
siteRole?: "read" | "write" | undefined;
|
|
719
|
+
agentCheck?: boolean | undefined;
|
|
720
|
+
confirm?: string | undefined;
|
|
721
|
+
live?: string | undefined;
|
|
722
|
+
settings?: {
|
|
723
|
+
id: string;
|
|
724
|
+
label: string;
|
|
725
|
+
pattern: string;
|
|
726
|
+
help?: string | undefined;
|
|
727
|
+
placeholder?: string | undefined;
|
|
728
|
+
}[] | undefined;
|
|
729
|
+
option?: {
|
|
730
|
+
field: string;
|
|
731
|
+
value: string;
|
|
732
|
+
} | undefined;
|
|
733
|
+
}[];
|
|
734
|
+
request: string;
|
|
735
|
+
write: string[];
|
|
736
|
+
} | undefined;
|
|
737
|
+
agentAccess?: {
|
|
738
|
+
limit: string;
|
|
739
|
+
label: string;
|
|
740
|
+
path: string;
|
|
741
|
+
granted: string;
|
|
742
|
+
notGranted: string;
|
|
743
|
+
notFound: string;
|
|
744
|
+
probes: Record<string, {
|
|
745
|
+
method: "GET" | "POST" | "PATCH";
|
|
746
|
+
path: string;
|
|
747
|
+
allowed: number[];
|
|
748
|
+
body?: unknown;
|
|
749
|
+
}>;
|
|
750
|
+
missing?: string | undefined;
|
|
751
|
+
} | undefined;
|
|
752
|
+
discover?: {
|
|
753
|
+
method: "GET" | "POST";
|
|
754
|
+
path: string;
|
|
755
|
+
label: string;
|
|
756
|
+
show: string;
|
|
757
|
+
name?: string | undefined;
|
|
758
|
+
match?: Record<string, string | number | boolean> | undefined;
|
|
759
|
+
body?: Record<string, unknown> | undefined;
|
|
760
|
+
ifEmpty?: string | undefined;
|
|
761
|
+
} | {
|
|
762
|
+
label: string;
|
|
763
|
+
check: string;
|
|
764
|
+
ifEmpty?: string | undefined;
|
|
765
|
+
} | undefined;
|
|
766
|
+
http?: {
|
|
767
|
+
baseUrl: string;
|
|
768
|
+
auth: {
|
|
769
|
+
type: "header";
|
|
770
|
+
header: string;
|
|
771
|
+
value: string;
|
|
772
|
+
prefix?: string | undefined;
|
|
773
|
+
} | {
|
|
774
|
+
type: "bearer";
|
|
775
|
+
token: string;
|
|
776
|
+
} | {
|
|
777
|
+
type: "basic";
|
|
778
|
+
username: string;
|
|
779
|
+
password: string;
|
|
780
|
+
} | {
|
|
781
|
+
type: "oauth2";
|
|
782
|
+
tokenUrl: string;
|
|
783
|
+
clientId: string;
|
|
784
|
+
clientSecret: string;
|
|
785
|
+
scope?: string | undefined;
|
|
786
|
+
clientAuth?: "body" | "basic" | undefined;
|
|
787
|
+
audience?: string | undefined;
|
|
788
|
+
} | {
|
|
789
|
+
type: "query";
|
|
790
|
+
param: string;
|
|
791
|
+
value: string;
|
|
792
|
+
};
|
|
793
|
+
headers: Record<string, string>;
|
|
794
|
+
fieldHeaders: Record<string, string>;
|
|
795
|
+
tools: {
|
|
796
|
+
name: string;
|
|
797
|
+
description: string;
|
|
798
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
799
|
+
path: string;
|
|
800
|
+
params: Record<string, {
|
|
801
|
+
type: "string" | "number" | "boolean" | "array" | "integer";
|
|
802
|
+
description: string;
|
|
803
|
+
in: "body" | "path" | "query";
|
|
804
|
+
required: boolean;
|
|
805
|
+
name?: string | undefined;
|
|
806
|
+
default?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
807
|
+
enum?: (string | number | boolean)[] | undefined;
|
|
808
|
+
items?: "string" | "number" | "boolean" | "integer" | undefined;
|
|
809
|
+
join?: string | undefined;
|
|
810
|
+
limit?: string | undefined;
|
|
811
|
+
}>;
|
|
812
|
+
destructive: boolean;
|
|
813
|
+
answerLimits: {
|
|
814
|
+
field: string;
|
|
815
|
+
limit: string;
|
|
816
|
+
}[];
|
|
817
|
+
result?: {
|
|
818
|
+
items?: string | undefined;
|
|
819
|
+
fields?: string[] | undefined;
|
|
820
|
+
} | undefined;
|
|
821
|
+
paging?: {
|
|
822
|
+
param: string;
|
|
823
|
+
body: string;
|
|
824
|
+
} | {
|
|
825
|
+
param: string;
|
|
826
|
+
header: string;
|
|
827
|
+
} | {
|
|
828
|
+
param: string;
|
|
829
|
+
link: true;
|
|
830
|
+
} | undefined;
|
|
831
|
+
}[];
|
|
832
|
+
allowInsecureHttp: boolean;
|
|
833
|
+
allowedHosts?: string[] | undefined;
|
|
834
|
+
} | undefined;
|
|
835
|
+
soap?: {
|
|
836
|
+
endpoint: string;
|
|
837
|
+
version: "1.1" | "1.2";
|
|
838
|
+
namespaces: Record<string, string>;
|
|
839
|
+
tools: {
|
|
840
|
+
name: string;
|
|
841
|
+
description: string;
|
|
842
|
+
operation: string;
|
|
843
|
+
body: string;
|
|
844
|
+
params: Record<string, {
|
|
845
|
+
type: "string" | "number" | "boolean" | "integer";
|
|
846
|
+
description: string;
|
|
847
|
+
required: boolean;
|
|
848
|
+
limit?: string | undefined;
|
|
849
|
+
}>;
|
|
850
|
+
readOnly: boolean;
|
|
851
|
+
destructive: boolean;
|
|
852
|
+
answerLimits: {
|
|
853
|
+
field: string;
|
|
854
|
+
limit: string;
|
|
855
|
+
}[];
|
|
856
|
+
soapAction?: string | undefined;
|
|
857
|
+
result?: string | undefined;
|
|
858
|
+
fields?: string[] | undefined;
|
|
859
|
+
}[];
|
|
860
|
+
allowInsecureHttp: boolean;
|
|
861
|
+
auth?: {
|
|
862
|
+
type: "header";
|
|
863
|
+
header: string;
|
|
864
|
+
value: string;
|
|
865
|
+
prefix?: string | undefined;
|
|
866
|
+
} | {
|
|
867
|
+
type: "bearer";
|
|
868
|
+
token: string;
|
|
869
|
+
} | {
|
|
870
|
+
type: "basic";
|
|
871
|
+
username: string;
|
|
872
|
+
password: string;
|
|
873
|
+
} | undefined;
|
|
874
|
+
wsSecurity?: {
|
|
875
|
+
username: string;
|
|
876
|
+
password: string;
|
|
877
|
+
digest: boolean;
|
|
878
|
+
} | undefined;
|
|
879
|
+
verify?: {
|
|
880
|
+
tool: string;
|
|
881
|
+
args: Record<string, string | number | boolean>;
|
|
882
|
+
show: string;
|
|
883
|
+
} | undefined;
|
|
884
|
+
} | undefined;
|
|
885
|
+
odata?: {
|
|
886
|
+
serviceRoot: string;
|
|
887
|
+
version: "2" | "4";
|
|
888
|
+
auth: {
|
|
889
|
+
type: "header";
|
|
890
|
+
header: string;
|
|
891
|
+
value: string;
|
|
892
|
+
prefix?: string | undefined;
|
|
893
|
+
} | {
|
|
894
|
+
type: "bearer";
|
|
895
|
+
token: string;
|
|
896
|
+
} | {
|
|
897
|
+
type: "basic";
|
|
898
|
+
username: string;
|
|
899
|
+
password: string;
|
|
900
|
+
} | {
|
|
901
|
+
type: "oauth2";
|
|
902
|
+
tokenUrl: string;
|
|
903
|
+
clientId: string;
|
|
904
|
+
clientSecret: string;
|
|
905
|
+
scope?: string | undefined;
|
|
906
|
+
clientAuth?: "body" | "basic" | undefined;
|
|
907
|
+
audience?: string | undefined;
|
|
908
|
+
} | {
|
|
909
|
+
type: "query";
|
|
910
|
+
param: string;
|
|
911
|
+
value: string;
|
|
912
|
+
};
|
|
913
|
+
headers: Record<string, string>;
|
|
914
|
+
csrf: boolean;
|
|
915
|
+
paging: "skip" | "server";
|
|
916
|
+
tools: {
|
|
917
|
+
name: string;
|
|
918
|
+
description: string;
|
|
919
|
+
kind: "function" | "list" | "get" | "create" | "update" | "action";
|
|
920
|
+
key: Record<string, {
|
|
921
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
922
|
+
description: string;
|
|
923
|
+
property?: string | undefined;
|
|
924
|
+
required?: boolean | undefined;
|
|
925
|
+
limit?: string | undefined;
|
|
926
|
+
}>;
|
|
927
|
+
filters: Record<string, {
|
|
928
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
929
|
+
description: string;
|
|
930
|
+
op: "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "contains" | "startswith";
|
|
931
|
+
property?: string | undefined;
|
|
932
|
+
required?: boolean | undefined;
|
|
933
|
+
limit?: string | undefined;
|
|
934
|
+
}>;
|
|
935
|
+
fields: Record<string, {
|
|
936
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
937
|
+
description: string;
|
|
938
|
+
property?: string | undefined;
|
|
939
|
+
required?: boolean | undefined;
|
|
940
|
+
limit?: string | undefined;
|
|
941
|
+
}>;
|
|
942
|
+
params: Record<string, {
|
|
943
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
944
|
+
description: string;
|
|
945
|
+
property?: string | undefined;
|
|
946
|
+
required?: boolean | undefined;
|
|
947
|
+
limit?: string | undefined;
|
|
948
|
+
}>;
|
|
949
|
+
select: string[];
|
|
950
|
+
top: number;
|
|
951
|
+
destructive: boolean;
|
|
952
|
+
answerLimits: {
|
|
953
|
+
field: string;
|
|
954
|
+
limit: string;
|
|
955
|
+
}[];
|
|
956
|
+
entitySet?: string | undefined;
|
|
957
|
+
function?: string | undefined;
|
|
958
|
+
orderBy?: string | undefined;
|
|
959
|
+
}[];
|
|
960
|
+
allowInsecureHttp: boolean;
|
|
961
|
+
allowedHosts?: string[] | undefined;
|
|
962
|
+
} | undefined;
|
|
963
|
+
sql?: {
|
|
964
|
+
engine: "postgres" | "sqlserver" | "mysql" | "oracle";
|
|
965
|
+
host: string;
|
|
966
|
+
database: string;
|
|
967
|
+
auth: {
|
|
968
|
+
user: string;
|
|
969
|
+
password: string;
|
|
970
|
+
};
|
|
971
|
+
tls: "verify" | "insecure" | "off";
|
|
972
|
+
timeoutSeconds: number;
|
|
973
|
+
maxRows: number;
|
|
974
|
+
tools: {
|
|
975
|
+
name: string;
|
|
976
|
+
description: string;
|
|
977
|
+
sql: string;
|
|
978
|
+
params: Record<string, {
|
|
979
|
+
type: "string" | "number" | "boolean" | "integer";
|
|
980
|
+
description: string;
|
|
981
|
+
required: boolean;
|
|
982
|
+
limit?: string | undefined;
|
|
983
|
+
}>;
|
|
984
|
+
write: boolean;
|
|
985
|
+
destructive: boolean;
|
|
986
|
+
answerLimits: {
|
|
987
|
+
column: string;
|
|
988
|
+
limit: string;
|
|
989
|
+
}[];
|
|
990
|
+
}[];
|
|
991
|
+
port?: number | undefined;
|
|
992
|
+
} | undefined;
|
|
993
|
+
events?: {
|
|
994
|
+
types: {
|
|
995
|
+
id: string;
|
|
996
|
+
label: string;
|
|
997
|
+
}[];
|
|
998
|
+
fields: Record<string, string>;
|
|
999
|
+
limits: Record<string, string>;
|
|
1000
|
+
webhook?: {
|
|
1001
|
+
verify: {
|
|
1002
|
+
type: "hmac-sha256";
|
|
1003
|
+
header: string;
|
|
1004
|
+
prefix: string;
|
|
1005
|
+
} | {
|
|
1006
|
+
type: "token";
|
|
1007
|
+
header: string;
|
|
1008
|
+
} | {
|
|
1009
|
+
type: "none";
|
|
1010
|
+
};
|
|
1011
|
+
allowInsecure: boolean;
|
|
1012
|
+
type: {
|
|
1013
|
+
field: string;
|
|
1014
|
+
} | {
|
|
1015
|
+
header: string;
|
|
1016
|
+
};
|
|
1017
|
+
setup: {
|
|
1018
|
+
title: string;
|
|
1019
|
+
body: string;
|
|
1020
|
+
link?: {
|
|
1021
|
+
label: string;
|
|
1022
|
+
href: string;
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
copy?: string[] | undefined;
|
|
1025
|
+
shell?: "bash" | "powershell" | undefined;
|
|
1026
|
+
permissions?: boolean | undefined;
|
|
1027
|
+
certificate?: boolean | undefined;
|
|
1028
|
+
click?: string[] | undefined;
|
|
1029
|
+
clickUnavailable?: true | undefined;
|
|
1030
|
+
siteRole?: "read" | "write" | undefined;
|
|
1031
|
+
agentCheck?: boolean | undefined;
|
|
1032
|
+
confirm?: string | undefined;
|
|
1033
|
+
live?: string | undefined;
|
|
1034
|
+
settings?: {
|
|
1035
|
+
id: string;
|
|
1036
|
+
label: string;
|
|
1037
|
+
pattern: string;
|
|
1038
|
+
help?: string | undefined;
|
|
1039
|
+
placeholder?: string | undefined;
|
|
1040
|
+
}[] | undefined;
|
|
1041
|
+
option?: {
|
|
1042
|
+
field: string;
|
|
1043
|
+
value: string;
|
|
1044
|
+
} | undefined;
|
|
1045
|
+
}[];
|
|
1046
|
+
deliveryId?: {
|
|
1047
|
+
field: string;
|
|
1048
|
+
} | {
|
|
1049
|
+
header: string;
|
|
1050
|
+
} | undefined;
|
|
1051
|
+
timestamp?: {
|
|
1052
|
+
at: {
|
|
1053
|
+
field: string;
|
|
1054
|
+
} | {
|
|
1055
|
+
header: string;
|
|
1056
|
+
};
|
|
1057
|
+
unit: "s" | "ms" | "iso";
|
|
1058
|
+
toleranceSeconds: number;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
register?: {
|
|
1061
|
+
method: "GET" | "POST" | "PUT";
|
|
1062
|
+
path: string;
|
|
1063
|
+
location: string;
|
|
1064
|
+
body?: unknown;
|
|
1065
|
+
} | undefined;
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
self?: {
|
|
1068
|
+
request: {
|
|
1069
|
+
method: "GET" | "POST" | "PUT";
|
|
1070
|
+
path: string;
|
|
1071
|
+
body?: unknown;
|
|
1072
|
+
};
|
|
1073
|
+
id: string;
|
|
1074
|
+
fields: string[];
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
poll?: {
|
|
1077
|
+
request: {
|
|
1078
|
+
method: "GET" | "POST" | "PUT";
|
|
1079
|
+
path: string;
|
|
1080
|
+
body?: unknown;
|
|
1081
|
+
};
|
|
1082
|
+
items: string;
|
|
1083
|
+
cursor: string;
|
|
1084
|
+
deliveryId: string[];
|
|
1085
|
+
types: {
|
|
1086
|
+
type: string;
|
|
1087
|
+
since?: string | undefined;
|
|
1088
|
+
}[];
|
|
1089
|
+
filter?: string | undefined;
|
|
1090
|
+
wrap?: string | undefined;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
} | undefined;
|
|
1093
|
+
}[]>;
|
|
1094
|
+
listInternalApps(org: string): Promise<({
|
|
1095
|
+
problem: null;
|
|
1096
|
+
id: string;
|
|
1097
|
+
organizationId: string;
|
|
1098
|
+
definition: Record<string, unknown>;
|
|
1099
|
+
createdBy: string;
|
|
1100
|
+
createdAt: string;
|
|
1101
|
+
updatedBy: string;
|
|
1102
|
+
updatedAt: string;
|
|
1103
|
+
} | {
|
|
1104
|
+
problem: string;
|
|
1105
|
+
id: string;
|
|
1106
|
+
organizationId: string;
|
|
1107
|
+
definition: Record<string, unknown>;
|
|
1108
|
+
createdBy: string;
|
|
1109
|
+
createdAt: string;
|
|
1110
|
+
updatedBy: string;
|
|
1111
|
+
updatedAt: string;
|
|
1112
|
+
})[]>;
|
|
1113
|
+
getInternalApp(org: string, id: string): Promise<{
|
|
1114
|
+
problem: null;
|
|
1115
|
+
id: string;
|
|
1116
|
+
organizationId: string;
|
|
1117
|
+
definition: Record<string, unknown>;
|
|
1118
|
+
createdBy: string;
|
|
1119
|
+
createdAt: string;
|
|
1120
|
+
updatedBy: string;
|
|
1121
|
+
updatedAt: string;
|
|
1122
|
+
} | {
|
|
1123
|
+
problem: string;
|
|
1124
|
+
id: string;
|
|
1125
|
+
organizationId: string;
|
|
1126
|
+
definition: Record<string, unknown>;
|
|
1127
|
+
createdBy: string;
|
|
1128
|
+
createdAt: string;
|
|
1129
|
+
updatedBy: string;
|
|
1130
|
+
updatedAt: string;
|
|
1131
|
+
} | null>;
|
|
1132
|
+
saveInternalApp(org: string, id: string, definition: Record<string, unknown>, by: string): Promise<{
|
|
1133
|
+
app: {
|
|
1134
|
+
problem: null;
|
|
1135
|
+
id: string;
|
|
1136
|
+
organizationId: string;
|
|
1137
|
+
definition: Record<string, unknown>;
|
|
1138
|
+
createdBy: string;
|
|
1139
|
+
createdAt: string;
|
|
1140
|
+
updatedBy: string;
|
|
1141
|
+
updatedAt: string;
|
|
1142
|
+
} | {
|
|
1143
|
+
problem: string;
|
|
1144
|
+
id: string;
|
|
1145
|
+
organizationId: string;
|
|
1146
|
+
definition: Record<string, unknown>;
|
|
1147
|
+
createdBy: string;
|
|
1148
|
+
createdAt: string;
|
|
1149
|
+
updatedBy: string;
|
|
1150
|
+
updatedAt: string;
|
|
1151
|
+
};
|
|
1152
|
+
connector: {
|
|
1153
|
+
id: string;
|
|
1154
|
+
name: string;
|
|
1155
|
+
description: string;
|
|
1156
|
+
logo: string;
|
|
1157
|
+
identity: string;
|
|
1158
|
+
connectionKind: "guided";
|
|
1159
|
+
accountKey: string;
|
|
1160
|
+
setup: {
|
|
1161
|
+
title: string;
|
|
1162
|
+
body: string;
|
|
1163
|
+
link?: {
|
|
1164
|
+
label: string;
|
|
1165
|
+
href: string;
|
|
1166
|
+
} | undefined;
|
|
1167
|
+
copy?: string[] | undefined;
|
|
1168
|
+
shell?: "bash" | "powershell" | undefined;
|
|
1169
|
+
permissions?: boolean | undefined;
|
|
1170
|
+
certificate?: boolean | undefined;
|
|
1171
|
+
click?: string[] | undefined;
|
|
1172
|
+
clickUnavailable?: true | undefined;
|
|
1173
|
+
siteRole?: "read" | "write" | undefined;
|
|
1174
|
+
agentCheck?: boolean | undefined;
|
|
1175
|
+
confirm?: string | undefined;
|
|
1176
|
+
live?: string | undefined;
|
|
1177
|
+
settings?: {
|
|
1178
|
+
id: string;
|
|
1179
|
+
label: string;
|
|
1180
|
+
pattern: string;
|
|
1181
|
+
help?: string | undefined;
|
|
1182
|
+
placeholder?: string | undefined;
|
|
1183
|
+
}[] | undefined;
|
|
1184
|
+
option?: {
|
|
1185
|
+
field: string;
|
|
1186
|
+
value: string;
|
|
1187
|
+
} | undefined;
|
|
1188
|
+
capabilities?: string[] | undefined;
|
|
1189
|
+
}[];
|
|
1190
|
+
afterConnect: {
|
|
1191
|
+
title: string;
|
|
1192
|
+
body: string;
|
|
1193
|
+
link?: {
|
|
1194
|
+
label: string;
|
|
1195
|
+
href: string;
|
|
1196
|
+
} | undefined;
|
|
1197
|
+
copy?: string[] | undefined;
|
|
1198
|
+
shell?: "bash" | "powershell" | undefined;
|
|
1199
|
+
permissions?: boolean | undefined;
|
|
1200
|
+
certificate?: boolean | undefined;
|
|
1201
|
+
click?: string[] | undefined;
|
|
1202
|
+
clickUnavailable?: true | undefined;
|
|
1203
|
+
siteRole?: "read" | "write" | undefined;
|
|
1204
|
+
agentCheck?: boolean | undefined;
|
|
1205
|
+
confirm?: string | undefined;
|
|
1206
|
+
live?: string | undefined;
|
|
1207
|
+
settings?: {
|
|
1208
|
+
id: string;
|
|
1209
|
+
label: string;
|
|
1210
|
+
pattern: string;
|
|
1211
|
+
help?: string | undefined;
|
|
1212
|
+
placeholder?: string | undefined;
|
|
1213
|
+
}[] | undefined;
|
|
1214
|
+
option?: {
|
|
1215
|
+
field: string;
|
|
1216
|
+
value: string;
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
capabilities?: string[] | undefined;
|
|
1219
|
+
}[];
|
|
1220
|
+
fields: {
|
|
1221
|
+
id: string;
|
|
1222
|
+
label: string;
|
|
1223
|
+
secret: boolean;
|
|
1224
|
+
optional: boolean;
|
|
1225
|
+
help?: string | undefined;
|
|
1226
|
+
placeholder?: string | undefined;
|
|
1227
|
+
options?: {
|
|
1228
|
+
value: string;
|
|
1229
|
+
label: string;
|
|
1230
|
+
description: string;
|
|
1231
|
+
scopes?: string[] | undefined;
|
|
1232
|
+
}[] | undefined;
|
|
1233
|
+
requires?: {
|
|
1234
|
+
field: string;
|
|
1235
|
+
value: string;
|
|
1236
|
+
} | undefined;
|
|
1237
|
+
}[];
|
|
1238
|
+
capabilities: {
|
|
1239
|
+
id: string;
|
|
1240
|
+
label: string;
|
|
1241
|
+
description: string;
|
|
1242
|
+
required: boolean;
|
|
1243
|
+
destructive: boolean;
|
|
1244
|
+
scopes: string[];
|
|
1245
|
+
permissions: string[];
|
|
1246
|
+
tools: string[];
|
|
1247
|
+
costs?: boolean | undefined;
|
|
1248
|
+
roles?: string[] | undefined;
|
|
1249
|
+
fill?: Record<string, string> | undefined;
|
|
1250
|
+
note?: string | undefined;
|
|
1251
|
+
forbidden?: string | undefined;
|
|
1252
|
+
claudeKey?: boolean | undefined;
|
|
1253
|
+
}[];
|
|
1254
|
+
limits: {
|
|
1255
|
+
id: string;
|
|
1256
|
+
label: string;
|
|
1257
|
+
help: string;
|
|
1258
|
+
kind: "text" | "map" | "list";
|
|
1259
|
+
required: boolean;
|
|
1260
|
+
pattern?: string | undefined;
|
|
1261
|
+
keys?: string | undefined;
|
|
1262
|
+
}[];
|
|
1263
|
+
verify: {
|
|
1264
|
+
method: "GET" | "POST";
|
|
1265
|
+
path: string;
|
|
1266
|
+
label: string;
|
|
1267
|
+
show: string;
|
|
1268
|
+
name?: string | undefined;
|
|
1269
|
+
match?: Record<string, string | number | boolean> | undefined;
|
|
1270
|
+
body?: Record<string, unknown> | undefined;
|
|
1271
|
+
ifEmpty?: string | undefined;
|
|
1272
|
+
} | {
|
|
1273
|
+
label: string;
|
|
1274
|
+
check: string;
|
|
1275
|
+
ifEmpty?: string | undefined;
|
|
1276
|
+
};
|
|
1277
|
+
revoke: string;
|
|
1278
|
+
signsInAs?: "agentBot" | undefined;
|
|
1279
|
+
provider?: string | undefined;
|
|
1280
|
+
order?: number | undefined;
|
|
1281
|
+
scopes?: string[] | undefined;
|
|
1282
|
+
siteAccess?: {
|
|
1283
|
+
grant: {
|
|
1284
|
+
title: string;
|
|
1285
|
+
body: string;
|
|
1286
|
+
link?: {
|
|
1287
|
+
label: string;
|
|
1288
|
+
href: string;
|
|
1289
|
+
} | undefined;
|
|
1290
|
+
copy?: string[] | undefined;
|
|
1291
|
+
shell?: "bash" | "powershell" | undefined;
|
|
1292
|
+
permissions?: boolean | undefined;
|
|
1293
|
+
certificate?: boolean | undefined;
|
|
1294
|
+
click?: string[] | undefined;
|
|
1295
|
+
clickUnavailable?: true | undefined;
|
|
1296
|
+
siteRole?: "read" | "write" | undefined;
|
|
1297
|
+
agentCheck?: boolean | undefined;
|
|
1298
|
+
confirm?: string | undefined;
|
|
1299
|
+
live?: string | undefined;
|
|
1300
|
+
settings?: {
|
|
1301
|
+
id: string;
|
|
1302
|
+
label: string;
|
|
1303
|
+
pattern: string;
|
|
1304
|
+
help?: string | undefined;
|
|
1305
|
+
placeholder?: string | undefined;
|
|
1306
|
+
}[] | undefined;
|
|
1307
|
+
option?: {
|
|
1308
|
+
field: string;
|
|
1309
|
+
value: string;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
}[];
|
|
1312
|
+
request: string;
|
|
1313
|
+
write: string[];
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
agentAccess?: {
|
|
1316
|
+
limit: string;
|
|
1317
|
+
label: string;
|
|
1318
|
+
path: string;
|
|
1319
|
+
granted: string;
|
|
1320
|
+
notGranted: string;
|
|
1321
|
+
notFound: string;
|
|
1322
|
+
probes: Record<string, {
|
|
1323
|
+
method: "GET" | "POST" | "PATCH";
|
|
1324
|
+
path: string;
|
|
1325
|
+
allowed: number[];
|
|
1326
|
+
body?: unknown;
|
|
1327
|
+
}>;
|
|
1328
|
+
missing?: string | undefined;
|
|
1329
|
+
} | undefined;
|
|
1330
|
+
discover?: {
|
|
1331
|
+
method: "GET" | "POST";
|
|
1332
|
+
path: string;
|
|
1333
|
+
label: string;
|
|
1334
|
+
show: string;
|
|
1335
|
+
name?: string | undefined;
|
|
1336
|
+
match?: Record<string, string | number | boolean> | undefined;
|
|
1337
|
+
body?: Record<string, unknown> | undefined;
|
|
1338
|
+
ifEmpty?: string | undefined;
|
|
1339
|
+
} | {
|
|
1340
|
+
label: string;
|
|
1341
|
+
check: string;
|
|
1342
|
+
ifEmpty?: string | undefined;
|
|
1343
|
+
} | undefined;
|
|
1344
|
+
http?: {
|
|
1345
|
+
baseUrl: string;
|
|
1346
|
+
auth: {
|
|
1347
|
+
type: "header";
|
|
1348
|
+
header: string;
|
|
1349
|
+
value: string;
|
|
1350
|
+
prefix?: string | undefined;
|
|
1351
|
+
} | {
|
|
1352
|
+
type: "bearer";
|
|
1353
|
+
token: string;
|
|
1354
|
+
} | {
|
|
1355
|
+
type: "basic";
|
|
1356
|
+
username: string;
|
|
1357
|
+
password: string;
|
|
1358
|
+
} | {
|
|
1359
|
+
type: "oauth2";
|
|
1360
|
+
tokenUrl: string;
|
|
1361
|
+
clientId: string;
|
|
1362
|
+
clientSecret: string;
|
|
1363
|
+
scope?: string | undefined;
|
|
1364
|
+
clientAuth?: "body" | "basic" | undefined;
|
|
1365
|
+
audience?: string | undefined;
|
|
1366
|
+
} | {
|
|
1367
|
+
type: "query";
|
|
1368
|
+
param: string;
|
|
1369
|
+
value: string;
|
|
1370
|
+
};
|
|
1371
|
+
headers: Record<string, string>;
|
|
1372
|
+
fieldHeaders: Record<string, string>;
|
|
1373
|
+
tools: {
|
|
1374
|
+
name: string;
|
|
1375
|
+
description: string;
|
|
1376
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1377
|
+
path: string;
|
|
1378
|
+
params: Record<string, {
|
|
1379
|
+
type: "string" | "number" | "boolean" | "array" | "integer";
|
|
1380
|
+
description: string;
|
|
1381
|
+
in: "body" | "path" | "query";
|
|
1382
|
+
required: boolean;
|
|
1383
|
+
name?: string | undefined;
|
|
1384
|
+
default?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
1385
|
+
enum?: (string | number | boolean)[] | undefined;
|
|
1386
|
+
items?: "string" | "number" | "boolean" | "integer" | undefined;
|
|
1387
|
+
join?: string | undefined;
|
|
1388
|
+
limit?: string | undefined;
|
|
1389
|
+
}>;
|
|
1390
|
+
destructive: boolean;
|
|
1391
|
+
answerLimits: {
|
|
1392
|
+
field: string;
|
|
1393
|
+
limit: string;
|
|
1394
|
+
}[];
|
|
1395
|
+
result?: {
|
|
1396
|
+
items?: string | undefined;
|
|
1397
|
+
fields?: string[] | undefined;
|
|
1398
|
+
} | undefined;
|
|
1399
|
+
paging?: {
|
|
1400
|
+
param: string;
|
|
1401
|
+
body: string;
|
|
1402
|
+
} | {
|
|
1403
|
+
param: string;
|
|
1404
|
+
header: string;
|
|
1405
|
+
} | {
|
|
1406
|
+
param: string;
|
|
1407
|
+
link: true;
|
|
1408
|
+
} | undefined;
|
|
1409
|
+
}[];
|
|
1410
|
+
allowInsecureHttp: boolean;
|
|
1411
|
+
allowedHosts?: string[] | undefined;
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
soap?: {
|
|
1414
|
+
endpoint: string;
|
|
1415
|
+
version: "1.1" | "1.2";
|
|
1416
|
+
namespaces: Record<string, string>;
|
|
1417
|
+
tools: {
|
|
1418
|
+
name: string;
|
|
1419
|
+
description: string;
|
|
1420
|
+
operation: string;
|
|
1421
|
+
body: string;
|
|
1422
|
+
params: Record<string, {
|
|
1423
|
+
type: "string" | "number" | "boolean" | "integer";
|
|
1424
|
+
description: string;
|
|
1425
|
+
required: boolean;
|
|
1426
|
+
limit?: string | undefined;
|
|
1427
|
+
}>;
|
|
1428
|
+
readOnly: boolean;
|
|
1429
|
+
destructive: boolean;
|
|
1430
|
+
answerLimits: {
|
|
1431
|
+
field: string;
|
|
1432
|
+
limit: string;
|
|
1433
|
+
}[];
|
|
1434
|
+
soapAction?: string | undefined;
|
|
1435
|
+
result?: string | undefined;
|
|
1436
|
+
fields?: string[] | undefined;
|
|
1437
|
+
}[];
|
|
1438
|
+
allowInsecureHttp: boolean;
|
|
1439
|
+
auth?: {
|
|
1440
|
+
type: "header";
|
|
1441
|
+
header: string;
|
|
1442
|
+
value: string;
|
|
1443
|
+
prefix?: string | undefined;
|
|
1444
|
+
} | {
|
|
1445
|
+
type: "bearer";
|
|
1446
|
+
token: string;
|
|
1447
|
+
} | {
|
|
1448
|
+
type: "basic";
|
|
1449
|
+
username: string;
|
|
1450
|
+
password: string;
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
wsSecurity?: {
|
|
1453
|
+
username: string;
|
|
1454
|
+
password: string;
|
|
1455
|
+
digest: boolean;
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
verify?: {
|
|
1458
|
+
tool: string;
|
|
1459
|
+
args: Record<string, string | number | boolean>;
|
|
1460
|
+
show: string;
|
|
1461
|
+
} | undefined;
|
|
1462
|
+
} | undefined;
|
|
1463
|
+
odata?: {
|
|
1464
|
+
serviceRoot: string;
|
|
1465
|
+
version: "2" | "4";
|
|
1466
|
+
auth: {
|
|
1467
|
+
type: "header";
|
|
1468
|
+
header: string;
|
|
1469
|
+
value: string;
|
|
1470
|
+
prefix?: string | undefined;
|
|
1471
|
+
} | {
|
|
1472
|
+
type: "bearer";
|
|
1473
|
+
token: string;
|
|
1474
|
+
} | {
|
|
1475
|
+
type: "basic";
|
|
1476
|
+
username: string;
|
|
1477
|
+
password: string;
|
|
1478
|
+
} | {
|
|
1479
|
+
type: "oauth2";
|
|
1480
|
+
tokenUrl: string;
|
|
1481
|
+
clientId: string;
|
|
1482
|
+
clientSecret: string;
|
|
1483
|
+
scope?: string | undefined;
|
|
1484
|
+
clientAuth?: "body" | "basic" | undefined;
|
|
1485
|
+
audience?: string | undefined;
|
|
1486
|
+
} | {
|
|
1487
|
+
type: "query";
|
|
1488
|
+
param: string;
|
|
1489
|
+
value: string;
|
|
1490
|
+
};
|
|
1491
|
+
headers: Record<string, string>;
|
|
1492
|
+
csrf: boolean;
|
|
1493
|
+
paging: "skip" | "server";
|
|
1494
|
+
tools: {
|
|
1495
|
+
name: string;
|
|
1496
|
+
description: string;
|
|
1497
|
+
kind: "function" | "list" | "get" | "create" | "update" | "action";
|
|
1498
|
+
key: Record<string, {
|
|
1499
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
1500
|
+
description: string;
|
|
1501
|
+
property?: string | undefined;
|
|
1502
|
+
required?: boolean | undefined;
|
|
1503
|
+
limit?: string | undefined;
|
|
1504
|
+
}>;
|
|
1505
|
+
filters: Record<string, {
|
|
1506
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
1507
|
+
description: string;
|
|
1508
|
+
op: "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "contains" | "startswith";
|
|
1509
|
+
property?: string | undefined;
|
|
1510
|
+
required?: boolean | undefined;
|
|
1511
|
+
limit?: string | undefined;
|
|
1512
|
+
}>;
|
|
1513
|
+
fields: Record<string, {
|
|
1514
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
1515
|
+
description: string;
|
|
1516
|
+
property?: string | undefined;
|
|
1517
|
+
required?: boolean | undefined;
|
|
1518
|
+
limit?: string | undefined;
|
|
1519
|
+
}>;
|
|
1520
|
+
params: Record<string, {
|
|
1521
|
+
type: "string" | "number" | "boolean" | "guid" | "integer" | "decimal" | "datetime" | "datetimeoffset";
|
|
1522
|
+
description: string;
|
|
1523
|
+
property?: string | undefined;
|
|
1524
|
+
required?: boolean | undefined;
|
|
1525
|
+
limit?: string | undefined;
|
|
1526
|
+
}>;
|
|
1527
|
+
select: string[];
|
|
1528
|
+
top: number;
|
|
1529
|
+
destructive: boolean;
|
|
1530
|
+
answerLimits: {
|
|
1531
|
+
field: string;
|
|
1532
|
+
limit: string;
|
|
1533
|
+
}[];
|
|
1534
|
+
entitySet?: string | undefined;
|
|
1535
|
+
function?: string | undefined;
|
|
1536
|
+
orderBy?: string | undefined;
|
|
1537
|
+
}[];
|
|
1538
|
+
allowInsecureHttp: boolean;
|
|
1539
|
+
allowedHosts?: string[] | undefined;
|
|
1540
|
+
} | undefined;
|
|
1541
|
+
sql?: {
|
|
1542
|
+
engine: "postgres" | "sqlserver" | "mysql" | "oracle";
|
|
1543
|
+
host: string;
|
|
1544
|
+
database: string;
|
|
1545
|
+
auth: {
|
|
1546
|
+
user: string;
|
|
1547
|
+
password: string;
|
|
1548
|
+
};
|
|
1549
|
+
tls: "verify" | "insecure" | "off";
|
|
1550
|
+
timeoutSeconds: number;
|
|
1551
|
+
maxRows: number;
|
|
1552
|
+
tools: {
|
|
1553
|
+
name: string;
|
|
1554
|
+
description: string;
|
|
1555
|
+
sql: string;
|
|
1556
|
+
params: Record<string, {
|
|
1557
|
+
type: "string" | "number" | "boolean" | "integer";
|
|
1558
|
+
description: string;
|
|
1559
|
+
required: boolean;
|
|
1560
|
+
limit?: string | undefined;
|
|
1561
|
+
}>;
|
|
1562
|
+
write: boolean;
|
|
1563
|
+
destructive: boolean;
|
|
1564
|
+
answerLimits: {
|
|
1565
|
+
column: string;
|
|
1566
|
+
limit: string;
|
|
1567
|
+
}[];
|
|
1568
|
+
}[];
|
|
1569
|
+
port?: number | undefined;
|
|
1570
|
+
} | undefined;
|
|
1571
|
+
events?: {
|
|
1572
|
+
types: {
|
|
1573
|
+
id: string;
|
|
1574
|
+
label: string;
|
|
1575
|
+
}[];
|
|
1576
|
+
fields: Record<string, string>;
|
|
1577
|
+
limits: Record<string, string>;
|
|
1578
|
+
webhook?: {
|
|
1579
|
+
verify: {
|
|
1580
|
+
type: "hmac-sha256";
|
|
1581
|
+
header: string;
|
|
1582
|
+
prefix: string;
|
|
1583
|
+
} | {
|
|
1584
|
+
type: "token";
|
|
1585
|
+
header: string;
|
|
1586
|
+
} | {
|
|
1587
|
+
type: "none";
|
|
1588
|
+
};
|
|
1589
|
+
allowInsecure: boolean;
|
|
1590
|
+
type: {
|
|
1591
|
+
field: string;
|
|
1592
|
+
} | {
|
|
1593
|
+
header: string;
|
|
1594
|
+
};
|
|
1595
|
+
setup: {
|
|
1596
|
+
title: string;
|
|
1597
|
+
body: string;
|
|
1598
|
+
link?: {
|
|
1599
|
+
label: string;
|
|
1600
|
+
href: string;
|
|
1601
|
+
} | undefined;
|
|
1602
|
+
copy?: string[] | undefined;
|
|
1603
|
+
shell?: "bash" | "powershell" | undefined;
|
|
1604
|
+
permissions?: boolean | undefined;
|
|
1605
|
+
certificate?: boolean | undefined;
|
|
1606
|
+
click?: string[] | undefined;
|
|
1607
|
+
clickUnavailable?: true | undefined;
|
|
1608
|
+
siteRole?: "read" | "write" | undefined;
|
|
1609
|
+
agentCheck?: boolean | undefined;
|
|
1610
|
+
confirm?: string | undefined;
|
|
1611
|
+
live?: string | undefined;
|
|
1612
|
+
settings?: {
|
|
1613
|
+
id: string;
|
|
1614
|
+
label: string;
|
|
1615
|
+
pattern: string;
|
|
1616
|
+
help?: string | undefined;
|
|
1617
|
+
placeholder?: string | undefined;
|
|
1618
|
+
}[] | undefined;
|
|
1619
|
+
option?: {
|
|
1620
|
+
field: string;
|
|
1621
|
+
value: string;
|
|
1622
|
+
} | undefined;
|
|
1623
|
+
}[];
|
|
1624
|
+
deliveryId?: {
|
|
1625
|
+
field: string;
|
|
1626
|
+
} | {
|
|
1627
|
+
header: string;
|
|
1628
|
+
} | undefined;
|
|
1629
|
+
timestamp?: {
|
|
1630
|
+
at: {
|
|
1631
|
+
field: string;
|
|
1632
|
+
} | {
|
|
1633
|
+
header: string;
|
|
1634
|
+
};
|
|
1635
|
+
unit: "s" | "ms" | "iso";
|
|
1636
|
+
toleranceSeconds: number;
|
|
1637
|
+
} | undefined;
|
|
1638
|
+
register?: {
|
|
1639
|
+
method: "GET" | "POST" | "PUT";
|
|
1640
|
+
path: string;
|
|
1641
|
+
location: string;
|
|
1642
|
+
body?: unknown;
|
|
1643
|
+
} | undefined;
|
|
1644
|
+
} | undefined;
|
|
1645
|
+
self?: {
|
|
1646
|
+
request: {
|
|
1647
|
+
method: "GET" | "POST" | "PUT";
|
|
1648
|
+
path: string;
|
|
1649
|
+
body?: unknown;
|
|
1650
|
+
};
|
|
1651
|
+
id: string;
|
|
1652
|
+
fields: string[];
|
|
1653
|
+
} | undefined;
|
|
1654
|
+
poll?: {
|
|
1655
|
+
request: {
|
|
1656
|
+
method: "GET" | "POST" | "PUT";
|
|
1657
|
+
path: string;
|
|
1658
|
+
body?: unknown;
|
|
1659
|
+
};
|
|
1660
|
+
items: string;
|
|
1661
|
+
cursor: string;
|
|
1662
|
+
deliveryId: string[];
|
|
1663
|
+
types: {
|
|
1664
|
+
type: string;
|
|
1665
|
+
since?: string | undefined;
|
|
1666
|
+
}[];
|
|
1667
|
+
filter?: string | undefined;
|
|
1668
|
+
wrap?: string | undefined;
|
|
1669
|
+
} | undefined;
|
|
1670
|
+
} | undefined;
|
|
1671
|
+
};
|
|
1672
|
+
created: boolean;
|
|
1673
|
+
disconnected: boolean;
|
|
1674
|
+
grantsRemoved: string[];
|
|
1675
|
+
}>;
|
|
1676
|
+
deleteInternalApp(org: string, id: string, by: string): Promise<boolean>;
|
|
558
1677
|
providers: () => {
|
|
559
1678
|
approval: boolean;
|
|
560
1679
|
id: string;
|
|
@@ -577,7 +1696,7 @@ export declare function createService(deps: {
|
|
|
577
1696
|
certificate?: boolean | undefined;
|
|
578
1697
|
click?: string[] | undefined;
|
|
579
1698
|
clickUnavailable?: true | undefined;
|
|
580
|
-
siteRole?: "
|
|
1699
|
+
siteRole?: "read" | "write" | undefined;
|
|
581
1700
|
agentCheck?: boolean | undefined;
|
|
582
1701
|
confirm?: string | undefined;
|
|
583
1702
|
live?: string | undefined;
|
|
@@ -625,7 +1744,7 @@ export declare function createService(deps: {
|
|
|
625
1744
|
certificate?: boolean | undefined;
|
|
626
1745
|
click?: string[] | undefined;
|
|
627
1746
|
clickUnavailable?: true | undefined;
|
|
628
|
-
siteRole?: "
|
|
1747
|
+
siteRole?: "read" | "write" | undefined;
|
|
629
1748
|
agentCheck?: boolean | undefined;
|
|
630
1749
|
confirm?: string | undefined;
|
|
631
1750
|
live?: string | undefined;
|
|
@@ -750,11 +1869,12 @@ export declare function createService(deps: {
|
|
|
750
1869
|
agent: AgentRow;
|
|
751
1870
|
toolsets: {
|
|
752
1871
|
toolset: Toolset;
|
|
753
|
-
ctx:
|
|
1872
|
+
ctx: TeamsToolContext;
|
|
754
1873
|
allowed: Set<string>;
|
|
755
1874
|
}[];
|
|
756
1875
|
refuseUngranted(tool: string, args: unknown): Promise<void>;
|
|
757
1876
|
} | null>;
|
|
758
1877
|
};
|
|
1878
|
+
export declare function plainParseError(message: string): string;
|
|
759
1879
|
export type Service = ReturnType<typeof createService>;
|
|
760
1880
|
export {};
|