@membranehq/sdk 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +200 -9
- package/dist/bundle.js +1072 -766
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +8 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -0
- package/dist/dts/agent/session.d.ts +3 -2
- package/dist/dts/agent/worker-contracts.d.ts +4 -0
- package/dist/dts/alerts/types.d.ts +14 -0
- package/dist/dts/auth/auth-context-permissions.d.ts +2 -0
- package/dist/dts/client-tokens/types.d.ts +1 -1
- package/dist/dts/oauth/types.d.ts +1 -0
- package/dist/dts/oauth/types.test.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +6 -1
- package/dist/dts/validation/types.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +32 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +34 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +52 -7
- package/dist/dts/workspace-elements/api/connectors-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +11 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +44 -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 +1 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +50 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +26 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +44 -0
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +11 -0
- package/dist/dts/workspace-elements/api/packages-api.d.ts +12 -4
- package/dist/dts/workspace-elements/base/action-instances/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +4 -5
- package/dist/dts/workspace-elements/base/connections/index.d.ts +27 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +6 -7
- package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +0 -1
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +13 -2
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +10 -3
- package/dist/dts/workspace-elements/base/flows/index.d.ts +10 -2
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +8 -10
- package/dist/dts/workspace-elements/base/packages/index.d.ts +7 -2
- package/dist/dts/workspace-elements/types.d.ts +13 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +11 -1
- package/dist/index.browser.d.mts +610 -121
- package/dist/index.browser.d.ts +610 -121
- package/dist/index.browser.js +216 -109
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +212 -110
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +610 -121
- package/dist/index.node.d.ts +610 -121
- package/dist/index.node.js +216 -109
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +212 -110
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,9 @@ export declare const ActionEditableProperties: z.ZodObject<{
|
|
|
26
26
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
27
27
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
28
28
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
31
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
29
32
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
30
33
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
31
34
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -47,6 +50,7 @@ export declare const ActionExportProperties: z.ZodObject<{
|
|
|
47
50
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
48
51
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
49
52
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
50
54
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
51
55
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
52
56
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -66,6 +70,8 @@ export declare const BaseAction: z.ZodObject<{
|
|
|
66
70
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
67
71
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
68
72
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
74
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
69
75
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
70
76
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
71
77
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -83,6 +89,7 @@ export declare const BaseAction: z.ZodObject<{
|
|
|
83
89
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
84
90
|
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
85
91
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
agentSessionId: z.ZodOptional<z.ZodString>;
|
|
86
93
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
87
94
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
88
95
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -104,6 +111,8 @@ export declare const BaseActionInstance: z.ZodObject<{
|
|
|
104
111
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
105
112
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
106
113
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
107
116
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
108
117
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
109
118
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -121,6 +130,7 @@ export declare const BaseActionInstance: z.ZodObject<{
|
|
|
121
130
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
122
131
|
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
123
132
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
agentSessionId: z.ZodOptional<z.ZodString>;
|
|
124
134
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
125
135
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
126
136
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13,15 +13,14 @@ export declare const AppDataSchemaEditableProperties: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
export type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
|
|
15
15
|
export declare const AppDataSchemaExportProperties: z.ZodObject<{
|
|
16
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
17
16
|
key: z.ZodOptional<z.ZodString>;
|
|
18
|
-
|
|
17
|
+
code: z.ZodOptional<z.ZodString>;
|
|
19
18
|
description: z.ZodOptional<z.ZodString>;
|
|
20
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
21
19
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
22
|
-
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
22
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
23
23
|
schema: z.ZodOptional<z.ZodAny>;
|
|
24
|
-
code: z.ZodOptional<z.ZodString>;
|
|
25
24
|
}, z.core.$strip>;
|
|
26
25
|
export type AppDataSchemaExportProperties = z.infer<typeof AppDataSchemaExportProperties>;
|
|
27
26
|
export declare const BaseAppDataSchema: z.ZodObject<{
|
|
@@ -6,6 +6,13 @@ export declare const ConnectionEditableProperties: z.ZodObject<{
|
|
|
6
6
|
name: z.ZodOptional<z.ZodString>;
|
|
7
7
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
8
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
9
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
11
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
12
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
14
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
15
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
9
16
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
10
17
|
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
11
18
|
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -13,6 +20,16 @@ export declare const ConnectionEditableProperties: z.ZodObject<{
|
|
|
13
20
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
14
21
|
}, z.core.$strip>;
|
|
15
22
|
export type ConnectionEditableProperties = z.infer<typeof ConnectionEditableProperties>;
|
|
23
|
+
export declare const ConnectionClientAction: z.ZodObject<{
|
|
24
|
+
type: z.ZodEnum<{
|
|
25
|
+
connect: "connect";
|
|
26
|
+
"provide-input": "provide-input";
|
|
27
|
+
}>;
|
|
28
|
+
description: z.ZodString;
|
|
29
|
+
uiUrl: z.ZodOptional<z.ZodString>;
|
|
30
|
+
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type ConnectionClientAction = z.infer<typeof ConnectionClientAction>;
|
|
16
33
|
export declare const BaseConnection: z.ZodObject<{
|
|
17
34
|
id: z.ZodString;
|
|
18
35
|
name: z.ZodString;
|
|
@@ -37,6 +54,16 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
37
54
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
38
55
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
39
56
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
57
|
+
agentSessionId: z.ZodOptional<z.ZodString>;
|
|
58
|
+
clientAction: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
type: z.ZodEnum<{
|
|
60
|
+
connect: "connect";
|
|
61
|
+
"provide-input": "provide-input";
|
|
62
|
+
}>;
|
|
63
|
+
description: z.ZodString;
|
|
64
|
+
uiUrl: z.ZodOptional<z.ZodString>;
|
|
65
|
+
agentInstructions: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
40
67
|
userId: z.ZodString;
|
|
41
68
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
42
69
|
}, z.core.$strip>;
|
|
@@ -3060,12 +3060,6 @@ export declare const WriteableConnectorFields: z.ZodObject<{
|
|
|
3060
3060
|
}, z.core.$strip>;
|
|
3061
3061
|
export declare const ConnectorExportProperties: z.ZodObject<{
|
|
3062
3062
|
key: z.ZodOptional<z.ZodString>;
|
|
3063
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3064
|
-
logoUri: z.ZodOptional<z.ZodString>;
|
|
3065
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3066
|
-
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
3067
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
3068
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3069
3063
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3070
3064
|
proxy: "proxy";
|
|
3071
3065
|
"integration-app-token": "integration-app-token";
|
|
@@ -3074,6 +3068,9 @@ export declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
3074
3068
|
oauth1: "oauth1";
|
|
3075
3069
|
"client-credentials": "client-credentials";
|
|
3076
3070
|
}>>;
|
|
3071
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3072
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3073
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
3077
3074
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3078
3075
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3079
3076
|
proxy: "proxy";
|
|
@@ -3203,6 +3200,7 @@ export declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
3203
3200
|
javascript: "javascript";
|
|
3204
3201
|
}>>;
|
|
3205
3202
|
}, z.core.$loose>>;
|
|
3203
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
3206
3204
|
getOAuthConfig: z.ZodOptional<z.ZodObject<{
|
|
3207
3205
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3208
3206
|
mapping: "mapping";
|
|
@@ -3249,7 +3247,8 @@ export declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
3249
3247
|
}>>;
|
|
3250
3248
|
}, z.core.$loose>>;
|
|
3251
3249
|
proxyKey: z.ZodOptional<z.ZodString>;
|
|
3252
|
-
|
|
3250
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
3251
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3253
3252
|
}, z.core.$strip>;
|
|
3254
3253
|
export type ConnectorExportProperties = z.infer<typeof ConnectorExportProperties>;
|
|
3255
3254
|
export interface ConnectorVersionExport {
|
|
@@ -22,7 +22,6 @@ export declare const DataLinkTableExportProperties: z.ZodObject<{
|
|
|
22
22
|
name: z.ZodOptional<z.ZodString>;
|
|
23
23
|
uuid: z.ZodOptional<z.ZodString>;
|
|
24
24
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
25
|
-
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
26
25
|
}, z.core.$strip>;
|
|
27
26
|
export type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
|
|
28
27
|
export declare const BaseDataLinkTable: z.ZodObject<{
|
|
@@ -16,6 +16,9 @@ export declare const DataSourceEditableProperties: z.ZodObject<{
|
|
|
16
16
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
17
17
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
18
18
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
21
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
19
22
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
20
23
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
21
24
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +42,9 @@ export declare const BackwardCompatibleDataSourceEditableProperties: z.ZodObject
|
|
|
39
42
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
40
43
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
41
44
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
47
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
42
48
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
43
49
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
44
50
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -63,10 +69,9 @@ export declare const DataSourceExportProperties: z.ZodObject<{
|
|
|
63
69
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
64
70
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
65
71
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
66
73
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
67
74
|
udm: z.ZodOptional<z.ZodString>;
|
|
68
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
69
|
-
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
70
75
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
71
76
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
72
77
|
collectionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -86,6 +91,9 @@ export declare const BaseDataSource: z.ZodObject<{
|
|
|
86
91
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
87
92
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
88
93
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
95
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
96
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
89
97
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
90
98
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
91
99
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -235,6 +243,9 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
235
243
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
236
244
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
237
245
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
247
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
248
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
238
249
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
239
250
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
240
251
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -20,6 +20,9 @@ export declare const FieldMappingEditableProperties: z.ZodObject<{
|
|
|
20
20
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
21
21
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
22
22
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
25
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
23
26
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
24
27
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
25
28
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -50,10 +53,8 @@ export declare const FieldMappingExportProperties: z.ZodObject<{
|
|
|
50
53
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
51
54
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
52
55
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
53
57
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
55
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
56
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
57
58
|
dataSourceUuid: z.ZodOptional<z.ZodString>;
|
|
58
59
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
59
60
|
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -81,6 +82,9 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
81
82
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
82
83
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
83
84
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
86
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
87
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
84
88
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
85
89
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
86
90
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -142,6 +146,9 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
142
146
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
143
147
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
144
148
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
150
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
151
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
145
152
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
146
153
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
147
154
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -14,6 +14,9 @@ export declare const FlowEditableProperties: z.ZodObject<{
|
|
|
14
14
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
15
15
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
16
16
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
19
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
17
20
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
18
21
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
19
22
|
flowId: z.ZodOptional<z.ZodString>;
|
|
@@ -61,12 +64,11 @@ export declare const FlowExportProperties: z.ZodObject<{
|
|
|
61
64
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
62
65
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
63
66
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
64
68
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
65
69
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
66
70
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
67
71
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
flowId: z.ZodOptional<z.ZodString>;
|
|
69
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
70
72
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
71
73
|
type: z.ZodOptional<z.ZodString>;
|
|
72
74
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -109,6 +111,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
109
111
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
110
112
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
111
113
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
116
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
112
117
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
113
118
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
114
119
|
flowId: z.ZodOptional<z.ZodString>;
|
|
@@ -177,6 +182,9 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
177
182
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
178
183
|
parentKey: z.ZodOptional<z.ZodString>;
|
|
179
184
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
186
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
187
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
180
188
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
181
189
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
182
190
|
flowId: z.ZodOptional<z.ZodString>;
|
|
@@ -81,26 +81,24 @@ export declare const IntegrationEditableProperties: z.ZodObject<{
|
|
|
81
81
|
}, z.core.$strip>;
|
|
82
82
|
export type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
|
|
83
83
|
export declare const IntegrationExportProperties: z.ZodObject<{
|
|
84
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
85
84
|
key: z.ZodOptional<z.ZodString>;
|
|
86
|
-
name: z.ZodOptional<z.ZodString>;
|
|
87
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
name: z.ZodOptional<z.ZodString>;
|
|
87
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
88
88
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
89
|
-
logoUri: z.ZodOptional<z.ZodString>;
|
|
90
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
91
89
|
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
90
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
91
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
92
92
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
93
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
94
|
-
logoBase64: z.ZodOptional<z.ZodString>;
|
|
95
93
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
96
|
-
|
|
97
|
-
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
98
|
-
connectorKey: z.ZodOptional<z.ZodString>;
|
|
99
|
-
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
94
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
100
95
|
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
101
96
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
102
97
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
103
98
|
}, z.core.$strip>>>;
|
|
99
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
100
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
101
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
104
102
|
}, z.core.$strip>;
|
|
105
103
|
export type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
|
|
106
104
|
export type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
|
|
@@ -29,8 +29,10 @@ export declare const PackageEditableProperties: z.ZodObject<{
|
|
|
29
29
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
30
30
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
31
31
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
33
32
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
34
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
35
|
+
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
34
36
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
37
|
id: z.ZodString;
|
|
36
38
|
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
@@ -46,6 +48,7 @@ export declare const PackageExportProperties: z.ZodObject<{
|
|
|
46
48
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
47
49
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
48
50
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
51
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
49
52
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
50
53
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
51
54
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -84,8 +87,10 @@ export declare const BasePackage: z.ZodObject<{
|
|
|
84
87
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
85
88
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
86
89
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
88
90
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
91
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
92
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
93
|
+
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
89
94
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
90
95
|
id: z.ZodString;
|
|
91
96
|
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
@@ -54,6 +54,8 @@ export declare enum WorkspaceEventType {
|
|
|
54
54
|
AlertCreated = "alert.created"
|
|
55
55
|
}
|
|
56
56
|
export declare enum WorkspaceElementState {
|
|
57
|
+
BUILDING = "BUILDING",
|
|
58
|
+
CLIENT_ACTION_REQUIRED = "CLIENT_ACTION_REQUIRED",
|
|
57
59
|
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
58
60
|
SETUP_FAILED = "SETUP_FAILED",
|
|
59
61
|
READY = "READY"
|
|
@@ -106,6 +108,10 @@ export declare const BaseMembraneInterface: z.ZodObject<{
|
|
|
106
108
|
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
107
109
|
}, z.core.$strip>;
|
|
108
110
|
export type BaseMembraneInterface = z.infer<typeof BaseMembraneInterface>;
|
|
111
|
+
export declare const IntentProperties: z.ZodObject<{
|
|
112
|
+
intent: z.ZodOptional<z.ZodString>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export type IntentProperties = z.infer<typeof IntentProperties>;
|
|
109
115
|
export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.ZodObject<{
|
|
110
116
|
uuid: z.ZodOptional<z.ZodString>;
|
|
111
117
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -121,6 +127,9 @@ export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.
|
|
|
121
127
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
122
128
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
123
129
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
131
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
132
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
124
133
|
}, z.core.$strip>;
|
|
125
134
|
export type BaseIntegrationLevelMembraneInterfaceEditableProperties = z.infer<typeof BaseIntegrationLevelMembraneInterfaceEditableProperties>;
|
|
126
135
|
export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
@@ -144,6 +153,7 @@ export declare const BaseIntegrationLevelMembraneInterfaceExportProperties: z.Zo
|
|
|
144
153
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
145
154
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
146
155
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
156
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
147
157
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
148
158
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
149
159
|
}, z.core.$strip>;
|
|
@@ -203,6 +213,9 @@ export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
|
203
213
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
204
214
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
205
215
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
216
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
218
|
+
externalAppKey: z.ZodOptional<z.ZodString>;
|
|
206
219
|
name: z.ZodString;
|
|
207
220
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
208
221
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { AgentName } from '../agent/session';
|
|
2
3
|
import { CreateAppDataSchemaRequest, CreateAppEventTypeRequest, CreateDataLinkTableRequest, CreateFieldMappingRequest } from '../workspace-elements';
|
|
3
4
|
import { CreateActionRequest, CreateDataSourceRequest, CreateFlowRequest } from '../workspace-elements/api';
|
|
4
5
|
import { WorkspaceElementType } from '../workspace-elements/types';
|
|
@@ -27,6 +28,8 @@ export interface WorkspaceElementSpec {
|
|
|
27
28
|
statsKey?: string;
|
|
28
29
|
relatedIntegrationLayerElements?: WorkspaceElementType[];
|
|
29
30
|
relatedActivityLogElements?: WorkspaceElementType[];
|
|
31
|
+
isAgentic?: boolean;
|
|
32
|
+
agentName?: AgentName;
|
|
30
33
|
}
|
|
31
34
|
export interface WorkspaceElements {
|
|
32
35
|
flows?: Record<string, CreateFlowRequest>;
|
|
@@ -43,7 +43,9 @@ export declare enum WorkspaceSizeLimits {
|
|
|
43
43
|
TotalNumberOfConnections = "totalNumberOfConnections",
|
|
44
44
|
TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
45
45
|
InstantTasksQueueSize = "instantTasksQueueSize",
|
|
46
|
-
QueuedTasksQueueSize = "queuedTasksQueueSize"
|
|
46
|
+
QueuedTasksQueueSize = "queuedTasksQueueSize",
|
|
47
|
+
FlowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
|
|
48
|
+
EventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection"
|
|
47
49
|
}
|
|
48
50
|
export declare enum CustomerLimits {
|
|
49
51
|
ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
|
|
@@ -286,6 +288,7 @@ export declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
|
286
288
|
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
287
289
|
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
288
290
|
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
+
useInlineAgent: z.ZodOptional<z.ZodBoolean>;
|
|
289
292
|
}, z.core.$strip>;
|
|
290
293
|
export declare const EngineWorkspaceSettingsSchema: z.ZodObject<{
|
|
291
294
|
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -293,6 +296,7 @@ export declare const EngineWorkspaceSettingsSchema: z.ZodObject<{
|
|
|
293
296
|
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
294
297
|
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
295
298
|
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
299
|
+
useInlineAgent: z.ZodOptional<z.ZodBoolean>;
|
|
296
300
|
}, z.core.$strip>;
|
|
297
301
|
export declare const WorkspacePublicKey: z.ZodObject<{
|
|
298
302
|
name: z.ZodString;
|
|
@@ -518,6 +522,7 @@ export declare const Workspace: z.ZodObject<{
|
|
|
518
522
|
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
519
523
|
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
520
524
|
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
useInlineAgent: z.ZodOptional<z.ZodBoolean>;
|
|
521
526
|
}, z.core.$strip>>;
|
|
522
527
|
alertDeliverySettings: z.ZodOptional<z.ZodObject<{
|
|
523
528
|
alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
@@ -543,6 +548,8 @@ export declare const Workspace: z.ZodObject<{
|
|
|
543
548
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
544
549
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
545
550
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
551
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
552
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
546
553
|
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
547
554
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
548
555
|
}>, z.ZodOptional<z.ZodObject<{
|
|
@@ -783,6 +790,7 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
783
790
|
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
784
791
|
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
785
792
|
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
+
useInlineAgent: z.ZodOptional<z.ZodBoolean>;
|
|
786
794
|
}, z.core.$strip>>;
|
|
787
795
|
alertDeliverySettings: z.ZodOptional<z.ZodObject<{
|
|
788
796
|
alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
@@ -808,6 +816,8 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
808
816
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
809
817
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
810
818
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
819
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
820
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
811
821
|
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
812
822
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
813
823
|
}>, z.ZodOptional<z.ZodObject<{
|