@membranehq/sdk 0.28.3 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +140 -4
- package/dist/bundle.js +1917 -1394
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connection-events-listener.d.ts +14 -0
- package/dist/dts/accessors/connection-events-listener.test.d.ts +1 -0
- package/dist/dts/accessors/connections-accessors.d.ts +9 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +3 -0
- package/dist/dts/agent/harness-snapshot.d.ts +65 -0
- package/dist/dts/agent/harness.d.ts +107 -0
- package/dist/dts/agent/index.d.ts +6 -0
- package/dist/dts/agent/instruction.d.ts +32 -0
- package/dist/dts/agent/session.d.ts +6 -2
- package/dist/dts/agent/skill.d.ts +50 -0
- package/dist/dts/agent/tool.d.ts +8 -0
- package/dist/dts/agent/worker-contracts.d.ts +4 -1
- package/dist/dts/agent/workspace-element-context.d.ts +3 -0
- package/dist/dts/ai-gateway/models.d.ts +4 -0
- package/dist/dts/async-requests/types.d.ts +50 -0
- package/dist/dts/data-schema/types.d.ts +1 -1
- package/dist/dts/deprecation.d.ts +1 -0
- package/dist/dts/errors/index.d.ts +5 -1
- package/dist/dts/index.browser.d.ts +3 -1
- package/dist/dts/mcp-client/index.d.ts +76 -0
- package/dist/dts/oauth/types.d.ts +14 -5
- package/dist/dts/orgs/types.d.ts +1183 -33
- package/dist/dts/orgs/types.test.d.ts +1 -0
- package/dist/dts/platform-user-tokens/types.d.ts +42 -0
- package/dist/dts/scenario-templates/index.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +50 -72
- package/dist/dts/workspace-elements/api/checkpoints-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/connections-api.d.ts +71 -1
- package/dist/dts/workspace-elements/api/connectors-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +20 -0
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +28 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +22 -0
- package/dist/dts/workspace-elements/api/external-event-types-api.d.ts +331 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +20 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +20 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +20 -0
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/index.d.ts +1 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +32 -7
- package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +19 -0
- package/dist/dts/workspace-elements/base/actions/action-payload.d.ts +46 -0
- package/dist/dts/workspace-elements/base/actions/action-payload.test.d.ts +1 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +3 -2
- package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-types/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +6 -0
- package/dist/dts/workspace-elements/base/connections/index.d.ts +25 -0
- package/dist/dts/workspace-elements/base/connectors/auth.d.ts +6 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +213 -5
- package/dist/dts/workspace-elements/base/connectors/rest-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +50 -0
- package/dist/dts/workspace-elements/base/external-event-subscriptions/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/external-event-types/index.d.ts +190 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/packages/index.d.ts +2 -2
- package/dist/dts/workspace-elements/paths.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +15 -3
- package/dist/dts/workspace-tokens/index.d.ts +1 -0
- package/dist/dts/{client-tokens → workspace-tokens}/types.d.ts +35 -22
- package/dist/dts/workspaces/api.d.ts +0 -6
- package/dist/dts/workspaces/compare.d.ts +4 -1
- package/dist/index.browser.d.mts +3654 -858
- package/dist/index.browser.d.ts +3654 -858
- package/dist/index.browser.js +1105 -213
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +1032 -207
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +3654 -858
- package/dist/index.node.d.ts +3654 -858
- package/dist/index.node.js +1105 -213
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +1032 -207
- package/dist/index.node.mjs.map +1 -1
- package/package.json +3 -3
- /package/dist/dts/{client-tokens → platform-user-tokens}/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PLATFORM_USER_TOKEN_GRANT_TYPES: readonly ["cli-oauth"];
|
|
3
|
+
export declare const PlatformUserTokenGrantType: z.ZodEnum<{
|
|
4
|
+
"cli-oauth": "cli-oauth";
|
|
5
|
+
}>;
|
|
6
|
+
export type PlatformUserTokenGrantType = z.infer<typeof PlatformUserTokenGrantType>;
|
|
7
|
+
export declare const PlatformUserToken: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
platformUserId: z.ZodString;
|
|
10
|
+
grantType: z.ZodEnum<{
|
|
11
|
+
"cli-oauth": "cli-oauth";
|
|
12
|
+
}>;
|
|
13
|
+
grantId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
grantName: z.ZodOptional<z.ZodString>;
|
|
15
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
17
|
+
defaultTenantKey: z.ZodOptional<z.ZodString>;
|
|
18
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
createdAt: z.ZodString;
|
|
21
|
+
lastUsedDate: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type PlatformUserToken = z.infer<typeof PlatformUserToken>;
|
|
24
|
+
export declare const PlatformUserTokenListResponse: z.ZodObject<{
|
|
25
|
+
items: z.ZodArray<z.ZodObject<{
|
|
26
|
+
id: z.ZodString;
|
|
27
|
+
platformUserId: z.ZodString;
|
|
28
|
+
grantType: z.ZodEnum<{
|
|
29
|
+
"cli-oauth": "cli-oauth";
|
|
30
|
+
}>;
|
|
31
|
+
grantId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
grantName: z.ZodOptional<z.ZodString>;
|
|
33
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
35
|
+
defaultTenantKey: z.ZodOptional<z.ZodString>;
|
|
36
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
createdAt: z.ZodString;
|
|
39
|
+
lastUsedDate: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type PlatformUserTokenListResponse = z.infer<typeof PlatformUserTokenListResponse>;
|
|
@@ -133,6 +133,7 @@ export declare const ScenarioTemplate: z.ZodObject<{
|
|
|
133
133
|
key: z.ZodString;
|
|
134
134
|
name: z.ZodString;
|
|
135
135
|
logoUri: z.ZodString;
|
|
136
|
+
appUri: z.ZodOptional<z.ZodString>;
|
|
136
137
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
137
138
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
138
139
|
}, z.core.$strip>>>;
|
|
@@ -22,44 +22,23 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
22
22
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
24
24
|
action: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
id: z.ZodString
|
|
26
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
27
|
-
key: z.ZodOptional<z.ZodString>;
|
|
28
|
-
description: z.ZodOptional<z.ZodString>;
|
|
29
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
31
|
-
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
25
|
+
id: z.ZodOptional<z.ZodString>;
|
|
32
26
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
parentKey: z.ZodOptional<z.ZodString>;
|
|
36
|
-
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
38
|
-
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
27
|
+
key: z.ZodOptional<z.ZodString>;
|
|
28
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
39
29
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
53
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
-
agentSessionId: z.ZodOptional<z.ZodString>;
|
|
57
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
58
|
-
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
59
|
-
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
-
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
61
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
62
|
-
tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
type: z.ZodString;
|
|
31
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
method: z.ZodEnum<typeof import("../../http-requests").HttpRequestMethod>;
|
|
33
|
+
path: z.ZodOptional<z.ZodString>;
|
|
34
|
+
url: z.ZodOptional<z.ZodString>;
|
|
35
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
36
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
37
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
code: z.ZodOptional<z.ZodString>;
|
|
40
|
+
input: z.ZodOptional<z.ZodAny>;
|
|
41
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
63
42
|
}, z.core.$strip>>;
|
|
64
43
|
actionInstance: z.ZodOptional<z.ZodObject<{
|
|
65
44
|
id: z.ZodString;
|
|
@@ -149,6 +128,10 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
149
128
|
}, z.core.$strip>>;
|
|
150
129
|
connection: z.ZodOptional<z.ZodObject<{
|
|
151
130
|
id: z.ZodString;
|
|
131
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
connector: "connector";
|
|
133
|
+
mcp: "mcp";
|
|
134
|
+
}>>;
|
|
152
135
|
name: z.ZodString;
|
|
153
136
|
key: z.ZodOptional<z.ZodString>;
|
|
154
137
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -184,6 +167,12 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
184
167
|
description: z.ZodString;
|
|
185
168
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
186
169
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
170
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
171
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
"provide-input": "provide-input";
|
|
173
|
+
authenticate: "authenticate";
|
|
174
|
+
reauthenticate: "reauthenticate";
|
|
175
|
+
}>>;
|
|
187
176
|
}, z.core.$strip>>;
|
|
188
177
|
userId: z.ZodString;
|
|
189
178
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -245,44 +234,23 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
245
234
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
246
235
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
247
236
|
action: z.ZodOptional<z.ZodObject<{
|
|
248
|
-
id: z.ZodString
|
|
249
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
250
|
-
key: z.ZodOptional<z.ZodString>;
|
|
251
|
-
description: z.ZodOptional<z.ZodString>;
|
|
252
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
253
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
254
|
-
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
237
|
+
id: z.ZodOptional<z.ZodString>;
|
|
255
238
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
parentKey: z.ZodOptional<z.ZodString>;
|
|
259
|
-
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
261
|
-
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
239
|
+
key: z.ZodOptional<z.ZodString>;
|
|
240
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
262
241
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
276
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
-
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
278
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
-
agentSessionId: z.ZodOptional<z.ZodString>;
|
|
280
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
281
|
-
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
282
|
-
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
-
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
284
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
285
|
-
tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
242
|
+
type: z.ZodString;
|
|
243
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
method: z.ZodEnum<typeof import("../../http-requests").HttpRequestMethod>;
|
|
245
|
+
path: z.ZodOptional<z.ZodString>;
|
|
246
|
+
url: z.ZodOptional<z.ZodString>;
|
|
247
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
248
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
249
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
code: z.ZodOptional<z.ZodString>;
|
|
252
|
+
input: z.ZodOptional<z.ZodAny>;
|
|
253
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
286
254
|
}, z.core.$strip>>;
|
|
287
255
|
actionInstance: z.ZodOptional<z.ZodObject<{
|
|
288
256
|
id: z.ZodString;
|
|
@@ -372,6 +340,10 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
372
340
|
}, z.core.$strip>>;
|
|
373
341
|
connection: z.ZodOptional<z.ZodObject<{
|
|
374
342
|
id: z.ZodString;
|
|
343
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
344
|
+
connector: "connector";
|
|
345
|
+
mcp: "mcp";
|
|
346
|
+
}>>;
|
|
375
347
|
name: z.ZodString;
|
|
376
348
|
key: z.ZodOptional<z.ZodString>;
|
|
377
349
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -407,6 +379,12 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
407
379
|
description: z.ZodString;
|
|
408
380
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
409
381
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
382
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
383
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
"provide-input": "provide-input";
|
|
385
|
+
authenticate: "authenticate";
|
|
386
|
+
reauthenticate: "reauthenticate";
|
|
387
|
+
}>>;
|
|
410
388
|
}, z.core.$strip>>;
|
|
411
389
|
userId: z.ZodString;
|
|
412
390
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -7,7 +7,7 @@ export declare const CheckpointApiResponse: z.ZodObject<{
|
|
|
7
7
|
checkpointNumber: z.ZodNumber;
|
|
8
8
|
snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
createdAt: z.ZodString;
|
|
10
|
-
|
|
10
|
+
asyncRequestId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type CheckpointApiResponse = z.infer<typeof CheckpointApiResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { PaginationResponse } from '../../api';
|
|
3
|
-
import { ErrorDataSchema } from '../../errors';
|
|
3
|
+
import { ErrorDataSchema, MembraneError } from '../../errors';
|
|
4
4
|
import { HttpRequestMethod } from '../../http-requests';
|
|
5
5
|
export declare const FindConnectionsQuery: z.ZodObject<{
|
|
6
6
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -26,6 +26,10 @@ export declare const EnsureConnectionRequest: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
export type EnsureConnectionRequest = z.infer<typeof EnsureConnectionRequest>;
|
|
28
28
|
export declare const CreateConnectionRequest: z.ZodObject<{
|
|
29
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
connector: "connector";
|
|
31
|
+
mcp: "mcp";
|
|
32
|
+
}>>;
|
|
29
33
|
name: z.ZodOptional<z.ZodString>;
|
|
30
34
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
31
35
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -46,6 +50,10 @@ export declare const CreateConnectionRequest: z.ZodObject<{
|
|
|
46
50
|
}, z.core.$strip>;
|
|
47
51
|
export type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
|
|
48
52
|
export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
53
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
connector: "connector";
|
|
55
|
+
mcp: "mcp";
|
|
56
|
+
}>>;
|
|
49
57
|
name: z.ZodOptional<z.ZodString>;
|
|
50
58
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
51
59
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -67,6 +75,10 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
|
67
75
|
export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
68
76
|
export declare const ConnectionExportProperties: z.ZodObject<{
|
|
69
77
|
key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
78
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
connector: "connector";
|
|
80
|
+
mcp: "mcp";
|
|
81
|
+
}>>;
|
|
70
82
|
name: z.ZodOptional<z.ZodString>;
|
|
71
83
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
72
84
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
@@ -109,6 +121,10 @@ export declare const ConnectionSelector: z.ZodObject<{
|
|
|
109
121
|
export type ConnectionSelector = z.infer<typeof ConnectionSelector>;
|
|
110
122
|
export declare const ConnectionApiResponse: z.ZodObject<{
|
|
111
123
|
id: z.ZodString;
|
|
124
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
connector: "connector";
|
|
126
|
+
mcp: "mcp";
|
|
127
|
+
}>>;
|
|
112
128
|
name: z.ZodString;
|
|
113
129
|
key: z.ZodOptional<z.ZodString>;
|
|
114
130
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,6 +160,12 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
144
160
|
description: z.ZodString;
|
|
145
161
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
146
162
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
163
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
164
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
165
|
+
"provide-input": "provide-input";
|
|
166
|
+
authenticate: "authenticate";
|
|
167
|
+
reauthenticate: "reauthenticate";
|
|
168
|
+
}>>;
|
|
147
169
|
}, z.core.$strip>>;
|
|
148
170
|
userId: z.ZodString;
|
|
149
171
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -214,6 +236,10 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
214
236
|
export type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
|
|
215
237
|
export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
216
238
|
id: z.ZodString;
|
|
239
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
240
|
+
connector: "connector";
|
|
241
|
+
mcp: "mcp";
|
|
242
|
+
}>>;
|
|
217
243
|
name: z.ZodString;
|
|
218
244
|
key: z.ZodOptional<z.ZodString>;
|
|
219
245
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -249,6 +275,12 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
249
275
|
description: z.ZodString;
|
|
250
276
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
251
277
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
278
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
279
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
280
|
+
"provide-input": "provide-input";
|
|
281
|
+
authenticate: "authenticate";
|
|
282
|
+
reauthenticate: "reauthenticate";
|
|
283
|
+
}>>;
|
|
252
284
|
}, z.core.$strip>>;
|
|
253
285
|
userId: z.ZodString;
|
|
254
286
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -325,6 +357,10 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
325
357
|
type: z.ZodLiteral<"newConnectionCreated">;
|
|
326
358
|
connection: z.ZodObject<{
|
|
327
359
|
id: z.ZodString;
|
|
360
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
connector: "connector";
|
|
362
|
+
mcp: "mcp";
|
|
363
|
+
}>>;
|
|
328
364
|
name: z.ZodString;
|
|
329
365
|
key: z.ZodOptional<z.ZodString>;
|
|
330
366
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -360,6 +396,12 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
360
396
|
description: z.ZodString;
|
|
361
397
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
362
398
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
399
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
400
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
401
|
+
"provide-input": "provide-input";
|
|
402
|
+
authenticate: "authenticate";
|
|
403
|
+
reauthenticate: "reauthenticate";
|
|
404
|
+
}>>;
|
|
363
405
|
}, z.core.$strip>>;
|
|
364
406
|
userId: z.ZodString;
|
|
365
407
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -436,6 +478,16 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
436
478
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
437
479
|
}, z.core.$strip>], "type">;
|
|
438
480
|
export type ConnectionMessagePayload = z.infer<typeof ConnectionMessagePayload>;
|
|
481
|
+
export declare const ConnectionEntityMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
482
|
+
type: z.ZodLiteral<"connected">;
|
|
483
|
+
connectionId: z.ZodString;
|
|
484
|
+
timestamp: z.ZodString;
|
|
485
|
+
message: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
487
|
+
type: z.ZodLiteral<"connectionPatched">;
|
|
488
|
+
connectionId: z.ZodString;
|
|
489
|
+
}, z.core.$strip>], "type">;
|
|
490
|
+
export type ConnectionEntityMessagePayload = z.infer<typeof ConnectionEntityMessagePayload>;
|
|
439
491
|
export declare const GenerateOptionsRequest: z.ZodObject<{
|
|
440
492
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
441
493
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -447,12 +499,18 @@ export declare const GenerateOptionsRequest: z.ZodObject<{
|
|
|
447
499
|
}, z.core.$strip>;
|
|
448
500
|
export type GenerateOptionsRequest = z.infer<typeof GenerateOptionsRequest>;
|
|
449
501
|
export declare const ConnectPayload: z.ZodObject<{
|
|
502
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
503
|
+
connector: "connector";
|
|
504
|
+
mcp: "mcp";
|
|
505
|
+
}>>;
|
|
450
506
|
requestId: z.ZodOptional<z.ZodString>;
|
|
451
507
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
452
508
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
453
509
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
454
510
|
connectorKey: z.ZodOptional<z.ZodString>;
|
|
455
511
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
512
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
513
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
456
514
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
457
515
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
458
516
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -468,11 +526,17 @@ export declare const ConnectPayload: z.ZodObject<{
|
|
|
468
526
|
}, z.core.$strip>;
|
|
469
527
|
export type ConnectPayload = z.infer<typeof ConnectPayload>;
|
|
470
528
|
export declare const ConnectUIOptions: z.ZodObject<{
|
|
529
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
530
|
+
connector: "connector";
|
|
531
|
+
mcp: "mcp";
|
|
532
|
+
}>>;
|
|
471
533
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
472
534
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
473
535
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
474
536
|
name: z.ZodOptional<z.ZodString>;
|
|
475
537
|
intent: z.ZodOptional<z.ZodString>;
|
|
538
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
539
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
476
540
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
477
541
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
478
542
|
connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -491,7 +555,13 @@ export declare const ConnectUIOptions: z.ZodObject<{
|
|
|
491
555
|
}>>;
|
|
492
556
|
}, z.core.$strip>;
|
|
493
557
|
export type ConnectUIOptions = z.infer<typeof ConnectUIOptions>;
|
|
558
|
+
export interface LateConnectionEvents {
|
|
559
|
+
onConnection?: (connection: ConnectionApiResponse) => void;
|
|
560
|
+
onFailure?: (error: MembraneError) => void;
|
|
561
|
+
signal?: AbortSignal;
|
|
562
|
+
}
|
|
494
563
|
export type ConnectOptions = ConnectPayload & {
|
|
495
564
|
onPopupClosed?: () => void;
|
|
565
|
+
lateEvents?: LateConnectionEvents;
|
|
496
566
|
sameWindow?: boolean;
|
|
497
567
|
};
|
|
@@ -6,3 +6,13 @@ export declare const ListPublicConnectorsQuery: z.ZodObject<{
|
|
|
6
6
|
search: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
export type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
|
|
9
|
+
export declare const ListConnectorsQuery: z.ZodObject<{
|
|
10
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
12
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
search: z.ZodOptional<z.ZodString>;
|
|
14
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type ListConnectorsQuery = z.infer<typeof ListConnectorsQuery>;
|
|
@@ -141,6 +141,10 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strip>>;
|
|
142
142
|
connection: z.ZodOptional<z.ZodObject<{
|
|
143
143
|
id: z.ZodString;
|
|
144
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
145
|
+
connector: "connector";
|
|
146
|
+
mcp: "mcp";
|
|
147
|
+
}>>;
|
|
144
148
|
name: z.ZodString;
|
|
145
149
|
key: z.ZodOptional<z.ZodString>;
|
|
146
150
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -176,6 +180,12 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
176
180
|
description: z.ZodString;
|
|
177
181
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
178
182
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
183
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
184
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
185
|
+
"provide-input": "provide-input";
|
|
186
|
+
authenticate: "authenticate";
|
|
187
|
+
reauthenticate: "reauthenticate";
|
|
188
|
+
}>>;
|
|
179
189
|
}, z.core.$strip>>;
|
|
180
190
|
userId: z.ZodString;
|
|
181
191
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -415,6 +415,10 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
415
415
|
}, z.core.$strip>>;
|
|
416
416
|
connection: z.ZodOptional<z.ZodObject<{
|
|
417
417
|
id: z.ZodString;
|
|
418
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
connector: "connector";
|
|
420
|
+
mcp: "mcp";
|
|
421
|
+
}>>;
|
|
418
422
|
name: z.ZodString;
|
|
419
423
|
key: z.ZodOptional<z.ZodString>;
|
|
420
424
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -450,6 +454,12 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
450
454
|
description: z.ZodString;
|
|
451
455
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
452
456
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
457
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
458
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
"provide-input": "provide-input";
|
|
460
|
+
authenticate: "authenticate";
|
|
461
|
+
reauthenticate: "reauthenticate";
|
|
462
|
+
}>>;
|
|
453
463
|
}, z.core.$strip>>;
|
|
454
464
|
userId: z.ZodString;
|
|
455
465
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -1021,6 +1031,10 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1021
1031
|
}, z.core.$strip>>;
|
|
1022
1032
|
connection: z.ZodOptional<z.ZodObject<{
|
|
1023
1033
|
id: z.ZodString;
|
|
1034
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1035
|
+
connector: "connector";
|
|
1036
|
+
mcp: "mcp";
|
|
1037
|
+
}>>;
|
|
1024
1038
|
name: z.ZodString;
|
|
1025
1039
|
key: z.ZodOptional<z.ZodString>;
|
|
1026
1040
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1056,6 +1070,12 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1056
1070
|
description: z.ZodString;
|
|
1057
1071
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
1058
1072
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1075
|
+
"provide-input": "provide-input";
|
|
1076
|
+
authenticate: "authenticate";
|
|
1077
|
+
reauthenticate: "reauthenticate";
|
|
1078
|
+
}>>;
|
|
1059
1079
|
}, z.core.$strip>>;
|
|
1060
1080
|
userId: z.ZodString;
|
|
1061
1081
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -45,6 +45,10 @@ export declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
45
45
|
}, z.core.$strip>>;
|
|
46
46
|
connection: z.ZodOptional<z.ZodObject<{
|
|
47
47
|
id: z.ZodString;
|
|
48
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
connector: "connector";
|
|
50
|
+
mcp: "mcp";
|
|
51
|
+
}>>;
|
|
48
52
|
name: z.ZodString;
|
|
49
53
|
key: z.ZodOptional<z.ZodString>;
|
|
50
54
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -80,6 +84,12 @@ export declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
80
84
|
description: z.ZodString;
|
|
81
85
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
82
86
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
87
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
88
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
"provide-input": "provide-input";
|
|
90
|
+
authenticate: "authenticate";
|
|
91
|
+
reauthenticate: "reauthenticate";
|
|
92
|
+
}>>;
|
|
83
93
|
}, z.core.$strip>>;
|
|
84
94
|
userId: z.ZodString;
|
|
85
95
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -8,3 +8,31 @@ export declare const ListExternalAppsQuery: z.ZodObject<{
|
|
|
8
8
|
isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
export type ListExternalAppsQuery = z.infer<typeof ListExternalAppsQuery>;
|
|
11
|
+
export declare const CreateExternalAppRequest: z.ZodObject<{
|
|
12
|
+
key: z.ZodString;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
appUri: z.ZodOptional<z.ZodURL>;
|
|
15
|
+
logoUri: z.ZodOptional<z.ZodURL>;
|
|
16
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
defaultConnectorId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
basePackageId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
hasFreeTestAccount: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
freeTestAccountGuide: z.ZodOptional<z.ZodString>;
|
|
21
|
+
freeTestAccountGuideVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type CreateExternalAppRequest = z.infer<typeof CreateExternalAppRequest>;
|
|
25
|
+
export declare const UpdateExternalAppRequest: z.ZodObject<{
|
|
26
|
+
key: z.ZodOptional<z.ZodString>;
|
|
27
|
+
name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
appUri: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
|
|
29
|
+
logoUri: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
|
|
30
|
+
categories: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
31
|
+
defaultConnectorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
basePackageId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
hasFreeTestAccount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
34
|
+
freeTestAccountGuide: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
freeTestAccountGuideVerifiedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>>;
|
|
36
|
+
tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export type UpdateExternalAppRequest = z.infer<typeof UpdateExternalAppRequest>;
|
|
@@ -8,6 +8,7 @@ export declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
|
|
|
8
8
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
externalEventTypeId: z.ZodOptional<z.ZodString>;
|
|
11
12
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
|
|
12
13
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
from: z.ZodOptional<z.ZodString>;
|
|
@@ -23,6 +24,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
23
24
|
externalEventSubscriptionId: z.ZodString;
|
|
24
25
|
integrationId: z.ZodString;
|
|
25
26
|
connectionId: z.ZodString;
|
|
27
|
+
externalEventTypeId: z.ZodOptional<z.ZodString>;
|
|
26
28
|
payload: z.ZodOptional<z.ZodAny>;
|
|
27
29
|
launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
30
|
status: z.ZodEnum<typeof ExternalEventLogStatus>;
|
|
@@ -49,6 +51,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
49
51
|
name: z.ZodOptional<z.ZodString>;
|
|
50
52
|
connectionId: z.ZodString;
|
|
51
53
|
integrationId: z.ZodString;
|
|
54
|
+
externalEventTypeId: z.ZodOptional<z.ZodString>;
|
|
52
55
|
config: z.ZodOptional<z.ZodObject<{
|
|
53
56
|
type: z.ZodEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionType>;
|
|
54
57
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
@@ -79,6 +82,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
79
82
|
nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
80
83
|
globalWebhookKey: z.ZodOptional<z.ZodString>;
|
|
81
84
|
globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
|
|
85
|
+
incomingWebhookUri: z.ZodOptional<z.ZodString>;
|
|
82
86
|
webhookUri: z.ZodOptional<z.ZodString>;
|
|
83
87
|
}, z.core.$strip>>;
|
|
84
88
|
integration: z.ZodOptional<z.ZodObject<{
|
|
@@ -129,6 +133,10 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
129
133
|
}, z.core.$strip>>;
|
|
130
134
|
connection: z.ZodOptional<z.ZodObject<{
|
|
131
135
|
id: z.ZodString;
|
|
136
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
connector: "connector";
|
|
138
|
+
mcp: "mcp";
|
|
139
|
+
}>>;
|
|
132
140
|
name: z.ZodString;
|
|
133
141
|
key: z.ZodOptional<z.ZodString>;
|
|
134
142
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -164,6 +172,12 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
164
172
|
description: z.ZodString;
|
|
165
173
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
166
174
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
175
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
176
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
"provide-input": "provide-input";
|
|
178
|
+
authenticate: "authenticate";
|
|
179
|
+
reauthenticate: "reauthenticate";
|
|
180
|
+
}>>;
|
|
167
181
|
}, z.core.$strip>>;
|
|
168
182
|
userId: z.ZodString;
|
|
169
183
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +39,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
39
39
|
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
status: z.ZodEnum<typeof ExternalEventPullStatus>;
|
|
41
41
|
collectedEventIds: z.ZodArray<z.ZodString>;
|
|
42
|
+
telemetryUri: z.ZodOptional<z.ZodString>;
|
|
42
43
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
43
44
|
user: z.ZodOptional<z.ZodObject<{
|
|
44
45
|
id: z.ZodString;
|
|
@@ -62,6 +63,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
62
63
|
name: z.ZodOptional<z.ZodString>;
|
|
63
64
|
connectionId: z.ZodString;
|
|
64
65
|
integrationId: z.ZodString;
|
|
66
|
+
externalEventTypeId: z.ZodOptional<z.ZodString>;
|
|
65
67
|
config: z.ZodOptional<z.ZodObject<{
|
|
66
68
|
type: z.ZodEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionType>;
|
|
67
69
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
@@ -92,6 +94,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
92
94
|
nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
93
95
|
globalWebhookKey: z.ZodOptional<z.ZodString>;
|
|
94
96
|
globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
|
|
97
|
+
incomingWebhookUri: z.ZodOptional<z.ZodString>;
|
|
95
98
|
webhookUri: z.ZodOptional<z.ZodString>;
|
|
96
99
|
}, z.core.$strip>>;
|
|
97
100
|
integration: z.ZodOptional<z.ZodObject<{
|
|
@@ -142,6 +145,10 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
142
145
|
}, z.core.$strip>>;
|
|
143
146
|
connection: z.ZodOptional<z.ZodObject<{
|
|
144
147
|
id: z.ZodString;
|
|
148
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
connector: "connector";
|
|
150
|
+
mcp: "mcp";
|
|
151
|
+
}>>;
|
|
145
152
|
name: z.ZodString;
|
|
146
153
|
key: z.ZodOptional<z.ZodString>;
|
|
147
154
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -177,6 +184,12 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
177
184
|
description: z.ZodString;
|
|
178
185
|
uiUrl: z.ZodOptional<z.ZodString>;
|
|
179
186
|
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
187
|
+
handoffAgentInstructions: z.ZodOptional<z.ZodString>;
|
|
188
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
189
|
+
"provide-input": "provide-input";
|
|
190
|
+
authenticate: "authenticate";
|
|
191
|
+
reauthenticate: "reauthenticate";
|
|
192
|
+
}>>;
|
|
180
193
|
}, z.core.$strip>>;
|
|
181
194
|
userId: z.ZodString;
|
|
182
195
|
tenantId: z.ZodOptional<z.ZodString>;
|