@membranehq/sdk 0.28.0 → 0.28.2
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 +60 -4
- package/dist/bundle.js +233 -126
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/actions-accessors.d.ts +1 -0
- package/dist/dts/accessors/connections-accessors.d.ts +3 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +2 -0
- package/dist/dts/agent/index.d.ts +1 -0
- package/dist/dts/agent/session-cost.d.ts +1 -0
- package/dist/dts/agent/session.d.ts +10 -2
- package/dist/dts/ai-gateway/models.d.ts +43 -0
- package/dist/dts/ai-gateway/models.test.d.ts +1 -0
- package/dist/dts/alerts/types.d.ts +7 -0
- package/dist/dts/api-client.d.ts +22 -3
- package/dist/dts/api-version.generated.d.ts +1 -1
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/membrane-instances/types.d.ts +19 -35
- package/dist/dts/membrane-instances/types.test.d.ts +1 -0
- package/dist/dts/oauth/types.d.ts +11 -5
- package/dist/dts/orgs/types.d.ts +154 -281
- package/dist/dts/webhooks/types.d.ts +4 -2
- package/dist/dts/workspace-elements/api/act-api.d.ts +33 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connected-products-api.d.ts +6 -21
- package/dist/dts/workspace-elements/api/connection-attempt-logs-api.d.ts +53 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +15 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +6 -0
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +5 -1
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +6 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +5 -0
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/index.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +113 -0
- package/dist/dts/workspace-elements/api/packages-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/connected-products/index.d.ts +9 -14
- package/dist/dts/workspace-elements/base/connection-attempt-logs/index.d.ts +21 -0
- package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connections/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connectors/functions.d.ts +1 -1
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connectors/rest-api.d.ts +1 -1
- package/dist/dts/workspace-elements/base/index.d.ts +1 -0
- package/dist/dts/workspace-elements/paths.d.ts +2 -2
- package/dist/dts/workspace-elements/types.d.ts +4 -1
- package/dist/dts/workspaces/api.d.ts +20 -0
- package/dist/dts/workspaces/compare.d.ts +1 -1
- package/dist/dts/workspaces/types.d.ts +29 -0
- package/dist/index.browser.d.mts +637 -373
- package/dist/index.browser.d.ts +637 -373
- package/dist/index.browser.js +307 -47
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +287 -44
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +637 -373
- package/dist/index.node.d.ts +637 -373
- package/dist/index.node.js +307 -47
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +287 -44
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpRequestMethod } from '../../http-requests';
|
|
3
|
+
export declare const ActApiDispatch: z.ZodObject<{
|
|
4
|
+
method: z.ZodEnum<typeof HttpRequestMethod>;
|
|
5
|
+
path: z.ZodOptional<z.ZodString>;
|
|
6
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
7
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
9
|
+
url: z.ZodOptional<z.ZodString>;
|
|
10
|
+
data: z.ZodOptional<z.ZodAny>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type ActApiDispatch = z.infer<typeof ActApiDispatch>;
|
|
13
|
+
export declare const ActRequest: z.ZodObject<{
|
|
14
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
key: z.ZodOptional<z.ZodString>;
|
|
16
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
method: z.ZodEnum<typeof HttpRequestMethod>;
|
|
18
|
+
path: z.ZodOptional<z.ZodString>;
|
|
19
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
20
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
21
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
22
|
+
url: z.ZodOptional<z.ZodString>;
|
|
23
|
+
data: z.ZodOptional<z.ZodAny>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
code: z.ZodOptional<z.ZodString>;
|
|
26
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
28
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
30
|
+
input: z.ZodOptional<z.ZodAny>;
|
|
31
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
export type ActRequest = z.infer<typeof ActRequest>;
|
|
@@ -150,7 +150,9 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
150
150
|
connection: z.ZodOptional<z.ZodObject<{
|
|
151
151
|
id: z.ZodString;
|
|
152
152
|
name: z.ZodString;
|
|
153
|
+
key: z.ZodOptional<z.ZodString>;
|
|
153
154
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
155
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
154
156
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
155
157
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
156
158
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -371,7 +373,9 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
371
373
|
connection: z.ZodOptional<z.ZodObject<{
|
|
372
374
|
id: z.ZodString;
|
|
373
375
|
name: z.ZodString;
|
|
376
|
+
key: z.ZodOptional<z.ZodString>;
|
|
374
377
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
378
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
375
379
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
376
380
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
377
381
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -240,6 +240,7 @@ export declare const FindActionsQuery: z.ZodObject<{
|
|
|
240
240
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
241
241
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
242
242
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
243
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
243
244
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
244
245
|
search: z.ZodOptional<z.ZodString>;
|
|
245
246
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -615,6 +616,7 @@ export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
|
615
616
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
616
617
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
617
618
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
619
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
618
620
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
619
621
|
search: z.ZodOptional<z.ZodString>;
|
|
620
622
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -638,6 +640,7 @@ export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
638
640
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
639
641
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
640
642
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
643
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
641
644
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
642
645
|
search: z.ZodOptional<z.ZodString>;
|
|
643
646
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -11,13 +11,8 @@ export declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
|
11
11
|
personal: "personal";
|
|
12
12
|
}>>;
|
|
13
13
|
parameters: z.ZodOptional<z.ZodObject<{
|
|
14
|
-
agentType: z.ZodOptional<z.
|
|
15
|
-
|
|
16
|
-
openclaw: "openclaw";
|
|
17
|
-
claude: "claude";
|
|
18
|
-
chatgpt: "chatgpt";
|
|
19
|
-
}>>;
|
|
20
|
-
}, z.core.$strip>>;
|
|
14
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
21
16
|
}, z.core.$strip>;
|
|
22
17
|
export type CreateConnectedProductRequest = z.infer<typeof CreateConnectedProductRequest>;
|
|
23
18
|
export declare const UpdateConnectedProductRequest: z.ZodObject<{
|
|
@@ -32,13 +27,8 @@ export declare const UpdateConnectedProductRequest: z.ZodObject<{
|
|
|
32
27
|
personal: "personal";
|
|
33
28
|
}>>;
|
|
34
29
|
parameters: z.ZodOptional<z.ZodObject<{
|
|
35
|
-
agentType: z.ZodOptional<z.
|
|
36
|
-
|
|
37
|
-
openclaw: "openclaw";
|
|
38
|
-
claude: "claude";
|
|
39
|
-
chatgpt: "chatgpt";
|
|
40
|
-
}>>;
|
|
41
|
-
}, z.core.$strip>>;
|
|
30
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
42
32
|
}, z.core.$strip>;
|
|
43
33
|
export type UpdateConnectedProductRequest = z.infer<typeof UpdateConnectedProductRequest>;
|
|
44
34
|
export declare const FindConnectedProductsQuery: z.ZodObject<{
|
|
@@ -69,13 +59,8 @@ export declare const ConnectedProductApiResponse: z.ZodObject<{
|
|
|
69
59
|
personal: "personal";
|
|
70
60
|
}>>;
|
|
71
61
|
parameters: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
agentType: z.ZodOptional<z.
|
|
73
|
-
|
|
74
|
-
openclaw: "openclaw";
|
|
75
|
-
claude: "claude";
|
|
76
|
-
chatgpt: "chatgpt";
|
|
77
|
-
}>>;
|
|
78
|
-
}, z.core.$strip>>;
|
|
62
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, z.core.$loose>>;
|
|
79
64
|
isConnected: z.ZodOptional<z.ZodBoolean>;
|
|
80
65
|
lastApiRequestDate: z.ZodOptional<z.ZodString>;
|
|
81
66
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ConnectionAttemptLogApiResponse: z.ZodObject<{
|
|
3
|
+
userId: z.ZodString;
|
|
4
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
11
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
12
|
+
connectionRequestId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
status: z.ZodEnum<{
|
|
14
|
+
success: "success";
|
|
15
|
+
error: "error";
|
|
16
|
+
}>;
|
|
17
|
+
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
18
|
+
createdAt: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type ConnectionAttemptLogApiResponse = z.infer<typeof ConnectionAttemptLogApiResponse>;
|
|
21
|
+
export declare const FindConnectionAttemptLogsQuery: z.ZodObject<{
|
|
22
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
23
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
24
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
26
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
success: "success";
|
|
28
|
+
error: "error";
|
|
29
|
+
}>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type FindConnectionAttemptLogsQuery = z.infer<typeof FindConnectionAttemptLogsQuery>;
|
|
32
|
+
export declare const FindConnectionAttemptLogsResponse: z.ZodObject<{
|
|
33
|
+
items: z.ZodArray<z.ZodObject<{
|
|
34
|
+
userId: z.ZodString;
|
|
35
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
36
|
+
id: z.ZodString;
|
|
37
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
39
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
42
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
43
|
+
connectionRequestId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
status: z.ZodEnum<{
|
|
45
|
+
success: "success";
|
|
46
|
+
error: "error";
|
|
47
|
+
}>;
|
|
48
|
+
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
49
|
+
createdAt: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type FindConnectionAttemptLogsResponse = z.infer<typeof FindConnectionAttemptLogsResponse>;
|
|
@@ -11,6 +11,7 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
11
11
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
13
13
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
connected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
14
15
|
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
15
16
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
16
17
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -28,6 +29,7 @@ export declare const CreateConnectionRequest: z.ZodObject<{
|
|
|
28
29
|
name: z.ZodOptional<z.ZodString>;
|
|
29
30
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30
31
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
32
|
+
key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
31
33
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
32
34
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
33
35
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -47,6 +49,7 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
|
47
49
|
name: z.ZodOptional<z.ZodString>;
|
|
48
50
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
49
51
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
52
|
+
key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
50
53
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
51
54
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
52
55
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -63,6 +66,7 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
|
63
66
|
}, z.core.$strip>;
|
|
64
67
|
export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
65
68
|
export declare const ConnectionExportProperties: z.ZodObject<{
|
|
69
|
+
key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
66
70
|
name: z.ZodOptional<z.ZodString>;
|
|
67
71
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
68
72
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
@@ -100,12 +104,15 @@ export declare const ConnectionSelector: z.ZodObject<{
|
|
|
100
104
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
101
105
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
102
106
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
107
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
103
108
|
}, z.core.$strip>;
|
|
104
109
|
export type ConnectionSelector = z.infer<typeof ConnectionSelector>;
|
|
105
110
|
export declare const ConnectionApiResponse: z.ZodObject<{
|
|
106
111
|
id: z.ZodString;
|
|
107
112
|
name: z.ZodString;
|
|
113
|
+
key: z.ZodOptional<z.ZodString>;
|
|
108
114
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
109
116
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
110
117
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
111
118
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -206,7 +213,9 @@ export type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
|
|
|
206
213
|
export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
207
214
|
id: z.ZodString;
|
|
208
215
|
name: z.ZodString;
|
|
216
|
+
key: z.ZodOptional<z.ZodString>;
|
|
209
217
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
210
219
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
211
220
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
212
221
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -315,7 +324,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
315
324
|
connection: z.ZodObject<{
|
|
316
325
|
id: z.ZodString;
|
|
317
326
|
name: z.ZodString;
|
|
327
|
+
key: z.ZodOptional<z.ZodString>;
|
|
318
328
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
319
330
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
320
331
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
321
332
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -439,6 +450,7 @@ export declare const ConnectPayload: z.ZodObject<{
|
|
|
439
450
|
connectorKey: z.ZodOptional<z.ZodString>;
|
|
440
451
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
441
452
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
453
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
442
454
|
name: z.ZodOptional<z.ZodString>;
|
|
443
455
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
444
456
|
connectionParameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -448,6 +460,7 @@ export declare const ConnectPayload: z.ZodObject<{
|
|
|
448
460
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
449
461
|
customState: z.ZodOptional<z.ZodString>;
|
|
450
462
|
connectionRequestId: z.ZodOptional<z.ZodString>;
|
|
463
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
451
464
|
}, z.core.$strip>;
|
|
452
465
|
export type ConnectPayload = z.infer<typeof ConnectPayload>;
|
|
453
466
|
export declare const ConnectUIOptions: z.ZodObject<{
|
|
@@ -455,6 +468,8 @@ export declare const ConnectUIOptions: z.ZodObject<{
|
|
|
455
468
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
456
469
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
457
470
|
name: z.ZodOptional<z.ZodString>;
|
|
471
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
472
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
458
473
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
459
474
|
connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
460
475
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -81,6 +81,7 @@ export declare const FindDataLinkTableInstanceLinksQuery: z.ZodObject<{
|
|
|
81
81
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
82
82
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
83
83
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
84
85
|
id: z.ZodOptional<z.ZodString>;
|
|
85
86
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
86
87
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
@@ -141,7 +142,9 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
141
142
|
connection: z.ZodOptional<z.ZodObject<{
|
|
142
143
|
id: z.ZodString;
|
|
143
144
|
name: z.ZodString;
|
|
145
|
+
key: z.ZodOptional<z.ZodString>;
|
|
144
146
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
145
148
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
146
149
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
147
150
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -416,7 +416,9 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
416
416
|
connection: z.ZodOptional<z.ZodObject<{
|
|
417
417
|
id: z.ZodString;
|
|
418
418
|
name: z.ZodString;
|
|
419
|
+
key: z.ZodOptional<z.ZodString>;
|
|
419
420
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
420
422
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
421
423
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
422
424
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -1020,7 +1022,9 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1020
1022
|
connection: z.ZodOptional<z.ZodObject<{
|
|
1021
1023
|
id: z.ZodString;
|
|
1022
1024
|
name: z.ZodString;
|
|
1025
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1023
1026
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1027
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
1024
1028
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
1025
1029
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
1026
1030
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -1228,6 +1232,7 @@ export declare const FindDataSourcesQuery: z.ZodObject<{
|
|
|
1228
1232
|
integration: "integration";
|
|
1229
1233
|
universal: "universal";
|
|
1230
1234
|
}>>;
|
|
1235
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
1231
1236
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
1232
1237
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1233
1238
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -1251,6 +1256,7 @@ export declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
|
1251
1256
|
integration: "integration";
|
|
1252
1257
|
universal: "universal";
|
|
1253
1258
|
}>>;
|
|
1259
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
1254
1260
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
1255
1261
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1256
1262
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -46,7 +46,9 @@ export declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
46
46
|
connection: z.ZodOptional<z.ZodObject<{
|
|
47
47
|
id: z.ZodString;
|
|
48
48
|
name: z.ZodString;
|
|
49
|
+
key: z.ZodOptional<z.ZodString>;
|
|
49
50
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
50
52
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
51
53
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
52
54
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -130,7 +130,9 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
130
130
|
connection: z.ZodOptional<z.ZodObject<{
|
|
131
131
|
id: z.ZodString;
|
|
132
132
|
name: z.ZodString;
|
|
133
|
+
key: z.ZodOptional<z.ZodString>;
|
|
133
134
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
134
136
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
135
137
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
136
138
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -143,7 +143,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
143
143
|
connection: z.ZodOptional<z.ZodObject<{
|
|
144
144
|
id: z.ZodString;
|
|
145
145
|
name: z.ZodString;
|
|
146
|
+
key: z.ZodOptional<z.ZodString>;
|
|
146
147
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
147
149
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
148
150
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
149
151
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ExternalEventSubscriptionStatus } from '../base/external-event-subscriptions';
|
|
2
3
|
export declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
3
4
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4
5
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -8,6 +9,7 @@ export declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
|
8
9
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
11
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventSubscriptionStatus>>;
|
|
11
13
|
}, z.core.$strip>;
|
|
12
14
|
export type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
|
|
13
15
|
export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
@@ -32,7 +34,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
32
34
|
eventKey: z.ZodOptional<z.ZodString>;
|
|
33
35
|
eventParameters: z.ZodOptional<z.ZodAny>;
|
|
34
36
|
}, z.core.$strip>>;
|
|
35
|
-
status: z.ZodOptional<z.ZodEnum<typeof
|
|
37
|
+
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventSubscriptionStatus>>;
|
|
36
38
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
37
39
|
isRealTime: z.ZodOptional<z.ZodBoolean>;
|
|
38
40
|
requiresPull: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -66,7 +68,9 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
66
68
|
connection: z.ZodOptional<z.ZodObject<{
|
|
67
69
|
id: z.ZodString;
|
|
68
70
|
name: z.ZodString;
|
|
71
|
+
key: z.ZodOptional<z.ZodString>;
|
|
69
72
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
70
74
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
71
75
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
72
76
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -216,7 +216,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
216
216
|
connection: z.ZodOptional<z.ZodObject<{
|
|
217
217
|
id: z.ZodString;
|
|
218
218
|
name: z.ZodString;
|
|
219
|
+
key: z.ZodOptional<z.ZodString>;
|
|
219
220
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
220
222
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
221
223
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
222
224
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -519,7 +521,9 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
519
521
|
connection: z.ZodOptional<z.ZodObject<{
|
|
520
522
|
id: z.ZodString;
|
|
521
523
|
name: z.ZodString;
|
|
524
|
+
key: z.ZodOptional<z.ZodString>;
|
|
522
525
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
523
527
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
524
528
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
525
529
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -624,6 +628,7 @@ export declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
|
624
628
|
integration: "integration";
|
|
625
629
|
universal: "universal";
|
|
626
630
|
}>>;
|
|
631
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
627
632
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
628
633
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
629
634
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -647,6 +652,7 @@ export declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
|
647
652
|
integration: "integration";
|
|
648
653
|
universal: "universal";
|
|
649
654
|
}>>;
|
|
655
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
650
656
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
651
657
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
652
658
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -133,7 +133,9 @@ export declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
133
133
|
connection: z.ZodOptional<z.ZodObject<{
|
|
134
134
|
id: z.ZodString;
|
|
135
135
|
name: z.ZodString;
|
|
136
|
+
key: z.ZodOptional<z.ZodString>;
|
|
136
137
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
137
139
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
138
140
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
139
141
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -336,7 +338,9 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
336
338
|
connection: z.ZodOptional<z.ZodObject<{
|
|
337
339
|
id: z.ZodString;
|
|
338
340
|
name: z.ZodString;
|
|
341
|
+
key: z.ZodOptional<z.ZodString>;
|
|
339
342
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
340
344
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
341
345
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
342
346
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -253,7 +253,9 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
253
253
|
connection: z.ZodOptional<z.ZodObject<{
|
|
254
254
|
id: z.ZodString;
|
|
255
255
|
name: z.ZodString;
|
|
256
|
+
key: z.ZodOptional<z.ZodString>;
|
|
256
257
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
257
259
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
258
260
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
259
261
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -612,7 +614,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
612
614
|
connection: z.ZodOptional<z.ZodObject<{
|
|
613
615
|
id: z.ZodString;
|
|
614
616
|
name: z.ZodString;
|
|
617
|
+
key: z.ZodOptional<z.ZodString>;
|
|
615
618
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
619
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
616
620
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
617
621
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
618
622
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -738,6 +742,7 @@ export declare const FindFlowsQuery: z.ZodObject<{
|
|
|
738
742
|
integration: "integration";
|
|
739
743
|
universal: "universal";
|
|
740
744
|
}>>;
|
|
745
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
741
746
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
742
747
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
743
748
|
flowId: z.ZodOptional<z.ZodString>;
|
|
@@ -44,7 +44,9 @@ export declare const IncomingWebhookApiResponse: z.ZodObject<{
|
|
|
44
44
|
connection: z.ZodOptional<z.ZodObject<{
|
|
45
45
|
id: z.ZodString;
|
|
46
46
|
name: z.ZodString;
|
|
47
|
+
key: z.ZodOptional<z.ZodString>;
|
|
47
48
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
48
50
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
49
51
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
50
52
|
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './act-api';
|
|
1
2
|
export * from './actions-api';
|
|
2
3
|
export * from './action-run-log-records-api';
|
|
3
4
|
export * from './connections-api';
|
|
@@ -26,3 +27,4 @@ export * from './app-event-log-records-api';
|
|
|
26
27
|
export * from './external-api-logs-api';
|
|
27
28
|
export * from './incoming-webhooks-api';
|
|
28
29
|
export * from './connected-products-api';
|
|
30
|
+
export * from './connection-attempt-logs-api';
|
|
@@ -50,6 +50,9 @@ export declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
|
50
50
|
export type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
51
51
|
export declare const FindIntegrationsQuery: z.ZodObject<{
|
|
52
52
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
53
|
+
connectors: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
54
|
+
externalApps: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
55
|
+
websearch: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
53
56
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
54
57
|
cursor: z.ZodOptional<z.ZodString>;
|
|
55
58
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -135,7 +138,9 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
135
138
|
connection: z.ZodOptional<z.ZodObject<{
|
|
136
139
|
id: z.ZodString;
|
|
137
140
|
name: z.ZodString;
|
|
141
|
+
key: z.ZodOptional<z.ZodString>;
|
|
138
142
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
139
144
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
140
145
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
141
146
|
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
@@ -192,4 +197,112 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
192
197
|
}, z.core.$strip>>>;
|
|
193
198
|
}, z.core.$strip>;
|
|
194
199
|
export type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
200
|
+
export declare const IntegrationListItem: z.ZodObject<{
|
|
201
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
202
|
+
key: z.ZodOptional<z.ZodString>;
|
|
203
|
+
description: z.ZodOptional<z.ZodString>;
|
|
204
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
205
|
+
name: z.ZodString;
|
|
206
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
207
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
208
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
209
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
210
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
211
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
212
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
213
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
214
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
215
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
216
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
217
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
227
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
229
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
230
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
proxy: "proxy";
|
|
233
|
+
"integration-app-token": "integration-app-token";
|
|
234
|
+
"membrane-token": "membrane-token";
|
|
235
|
+
oauth2: "oauth2";
|
|
236
|
+
oauth1: "oauth1";
|
|
237
|
+
"client-credentials": "client-credentials";
|
|
238
|
+
}>>;
|
|
239
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
240
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
243
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
id: z.ZodString;
|
|
245
|
+
name: z.ZodString;
|
|
246
|
+
key: z.ZodOptional<z.ZodString>;
|
|
247
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
248
|
+
connected: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
+
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
+
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
252
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
253
|
+
requestError: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
254
|
+
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
255
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
256
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
257
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
259
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
260
|
+
createdAt: z.ZodString;
|
|
261
|
+
updatedAt: z.ZodString;
|
|
262
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
263
|
+
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
264
|
+
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
265
|
+
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
269
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
271
|
+
buildingAgentSessionId: z.ZodOptional<z.ZodString>;
|
|
272
|
+
clientAction: z.ZodOptional<z.ZodObject<{
|
|
273
|
+
type: z.ZodEnum<{
|
|
274
|
+
connect: "connect";
|
|
275
|
+
"provide-input": "provide-input";
|
|
276
|
+
}>;
|
|
277
|
+
description: z.ZodString;
|
|
278
|
+
uiUrl: z.ZodOptional<z.ZodString>;
|
|
279
|
+
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
280
|
+
}, z.core.$strip>>;
|
|
281
|
+
userId: z.ZodString;
|
|
282
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
spec: z.ZodOptional<z.ZodAny>;
|
|
285
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
286
|
+
key: z.ZodString;
|
|
287
|
+
type: z.ZodEnum<{
|
|
288
|
+
proxy: "proxy";
|
|
289
|
+
"integration-app-token": "integration-app-token";
|
|
290
|
+
"membrane-token": "membrane-token";
|
|
291
|
+
oauth2: "oauth2";
|
|
292
|
+
oauth1: "oauth1";
|
|
293
|
+
"client-credentials": "client-credentials";
|
|
294
|
+
}>;
|
|
295
|
+
title: z.ZodOptional<z.ZodString>;
|
|
296
|
+
description: z.ZodOptional<z.ZodString>;
|
|
297
|
+
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
298
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
300
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
301
|
+
}, z.core.$strip>>;
|
|
302
|
+
}, z.core.$strip>>>;
|
|
303
|
+
id: z.ZodOptional<z.ZodString>;
|
|
304
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
305
|
+
appUri: z.ZodOptional<z.ZodString>;
|
|
306
|
+
}, z.core.$strip>;
|
|
307
|
+
export type IntegrationListItem = z.infer<typeof IntegrationListItem>;
|
|
195
308
|
export type Integration = IntegrationApiResponse;
|
|
@@ -10,6 +10,7 @@ export declare const FindPackagesQuery: z.ZodObject<{
|
|
|
10
10
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
11
11
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
connectionKey: z.ZodOptional<z.ZodString>;
|
|
13
14
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
14
15
|
search: z.ZodOptional<z.ZodString>;
|
|
15
16
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|