@membranehq/sdk 0.17.6 → 0.18.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 +15 -4
- package/dist/bundle.js +20 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/agent/session.d.ts +2 -0
- package/dist/dts/client-tokens/types.d.ts +5 -5
- package/dist/dts/stats/index.d.ts +8 -5
- package/dist/dts/ui.d.ts +5 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connected-products-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/connections-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -2
- 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 +1 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +1 -0
- 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 +1 -0
- package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +3 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/index.browser.d.mts +54 -17
- package/dist/index.browser.d.ts +54 -17
- package/dist/index.browser.js +182 -11
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +182 -11
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +54 -17
- package/dist/index.node.d.ts +54 -17
- package/dist/index.node.js +182 -11
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +182 -11
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ export declare const AgentSession: z.ZodObject<{
|
|
|
41
41
|
hasWorker: z.ZodBoolean;
|
|
42
42
|
isExternal: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
|
|
44
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
44
45
|
createdAt: z.ZodISODateTime;
|
|
45
46
|
updatedAt: z.ZodISODateTime;
|
|
46
47
|
}, z.core.$strip>;
|
|
@@ -68,6 +69,7 @@ export declare const PatchAgentSessionSchema: z.ZodObject<{
|
|
|
68
69
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
69
70
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
70
71
|
opencodeSessionUuid: z.ZodOptional<z.ZodString>;
|
|
72
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
73
|
status: z.ZodOptional<z.ZodEnum<typeof AgentSessionStatus>>;
|
|
72
74
|
}, z.core.$strip>;
|
|
73
75
|
export type PatchAgentSession = z.infer<typeof PatchAgentSessionSchema>;
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CLIENT_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "cli-oauth", "agent-session", "api"];
|
|
3
3
|
export declare const ClientTokenGrantType: z.ZodEnum<{
|
|
4
4
|
api: "api";
|
|
5
|
+
"agent-session": "agent-session";
|
|
5
6
|
"mcp-oauth": "mcp-oauth";
|
|
6
7
|
"cli-oauth": "cli-oauth";
|
|
7
|
-
"agent-session": "agent-session";
|
|
8
8
|
}>;
|
|
9
9
|
export type ClientTokenGrantType = z.infer<typeof ClientTokenGrantType>;
|
|
10
10
|
export declare const ClientToken: z.ZodObject<{
|
|
@@ -14,9 +14,9 @@ export declare const ClientToken: z.ZodObject<{
|
|
|
14
14
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
15
15
|
grantType: z.ZodEnum<{
|
|
16
16
|
api: "api";
|
|
17
|
+
"agent-session": "agent-session";
|
|
17
18
|
"mcp-oauth": "mcp-oauth";
|
|
18
19
|
"cli-oauth": "cli-oauth";
|
|
19
|
-
"agent-session": "agent-session";
|
|
20
20
|
}>;
|
|
21
21
|
grantId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -31,9 +31,9 @@ export declare const CreateClientTokenResponse: z.ZodObject<{
|
|
|
31
31
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
32
32
|
grantType: z.ZodEnum<{
|
|
33
33
|
api: "api";
|
|
34
|
+
"agent-session": "agent-session";
|
|
34
35
|
"mcp-oauth": "mcp-oauth";
|
|
35
36
|
"cli-oauth": "cli-oauth";
|
|
36
|
-
"agent-session": "agent-session";
|
|
37
37
|
}>;
|
|
38
38
|
grantId: z.ZodOptional<z.ZodString>;
|
|
39
39
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -45,9 +45,9 @@ export type CreateClientTokenResponse = z.infer<typeof CreateClientTokenResponse
|
|
|
45
45
|
export declare const CreateClientTokenRequest: z.ZodObject<{
|
|
46
46
|
grantType: z.ZodEnum<{
|
|
47
47
|
api: "api";
|
|
48
|
+
"agent-session": "agent-session";
|
|
48
49
|
"mcp-oauth": "mcp-oauth";
|
|
49
50
|
"cli-oauth": "cli-oauth";
|
|
50
|
-
"agent-session": "agent-session";
|
|
51
51
|
}>;
|
|
52
52
|
grantId: z.ZodString;
|
|
53
53
|
grantName: z.ZodString;
|
|
@@ -63,9 +63,9 @@ export declare const ClientTokenListResponse: z.ZodObject<{
|
|
|
63
63
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
64
64
|
grantType: z.ZodEnum<{
|
|
65
65
|
api: "api";
|
|
66
|
+
"agent-session": "agent-session";
|
|
66
67
|
"mcp-oauth": "mcp-oauth";
|
|
67
68
|
"cli-oauth": "cli-oauth";
|
|
68
|
-
"agent-session": "agent-session";
|
|
69
69
|
}>;
|
|
70
70
|
grantId: z.ZodOptional<z.ZodString>;
|
|
71
71
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { WorkspaceElementType } from '../workspace-elements/types';
|
|
2
3
|
export declare const StatsFilterQuery: z.ZodObject<{
|
|
3
4
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4
5
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
5
6
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
export type StatsFilterQuery = z.infer<typeof StatsFilterQuery>;
|
|
8
10
|
export declare const ActivityStatsQuery: z.ZodObject<{
|
|
9
11
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
10
12
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11
13
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12
15
|
startDatetime: z.ZodString;
|
|
16
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
13
17
|
}, z.core.$strip>;
|
|
14
18
|
export type ActivityStatsQuery = z.infer<typeof ActivityStatsQuery>;
|
|
15
19
|
export declare const IntegrationLayerStatsQuery: z.ZodObject<{
|
|
16
20
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
17
21
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18
22
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
19
25
|
}, z.core.$strip>;
|
|
20
26
|
export type IntegrationLayerStatsQuery = z.infer<typeof IntegrationLayerStatsQuery>;
|
|
21
27
|
export declare const ActionRunsStatsQuery: z.ZodObject<{
|
|
22
|
-
actionId: z.
|
|
23
|
-
connectionActionId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
actionId: z.ZodString;
|
|
24
29
|
startDatetime: z.ZodString;
|
|
25
30
|
}, z.core.$strip>;
|
|
26
31
|
export type ActionRunsStatsQuery = z.infer<typeof ActionRunsStatsQuery>;
|
|
27
32
|
export declare const FlowRunsStatsQuery: z.ZodObject<{
|
|
28
|
-
|
|
29
|
-
connectionFlowId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
flowId: z.ZodString;
|
|
31
34
|
startDatetime: z.ZodString;
|
|
32
35
|
}, z.core.$strip>;
|
|
33
36
|
export type FlowRunsStatsQuery = z.infer<typeof FlowRunsStatsQuery>;
|
package/dist/dts/ui.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { MembraneApiClient } from './api-client';
|
|
2
2
|
import { ConnectionApiResponse, ConnectUIOptions } from './workspace-elements/api/connections-api';
|
|
3
3
|
export { ConnectUIOptions };
|
|
4
|
+
export interface UNSAFE_AgentSessionUIOptions {
|
|
5
|
+
sessionId: string;
|
|
6
|
+
theme?: 'light' | 'dark' | 'auto';
|
|
7
|
+
}
|
|
4
8
|
export declare class UI {
|
|
5
9
|
private client;
|
|
6
10
|
constructor(client: MembraneApiClient);
|
|
7
11
|
connect(options?: ConnectUIOptions): Promise<ConnectionApiResponse | null>;
|
|
12
|
+
UNSAFE_agentSession(options: UNSAFE_AgentSessionUIOptions): Promise<void>;
|
|
8
13
|
}
|
|
@@ -4,6 +4,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
4
4
|
userId: z.ZodString;
|
|
5
5
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
6
6
|
id: z.ZodString;
|
|
7
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
7
8
|
name: z.ZodString;
|
|
8
9
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
integrationActionId: z.ZodString;
|
|
@@ -195,6 +196,7 @@ export declare const FindActionRunLogsQuery: z.ZodObject<{
|
|
|
195
196
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
196
197
|
userId: z.ZodOptional<z.ZodString>;
|
|
197
198
|
status: z.ZodOptional<z.ZodEnum<typeof ActionRunLogStatus>>;
|
|
199
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
198
200
|
from: z.ZodOptional<z.ZodString>;
|
|
199
201
|
to: z.ZodOptional<z.ZodString>;
|
|
200
202
|
}, z.core.$strip>;
|
|
@@ -204,6 +206,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
204
206
|
userId: z.ZodString;
|
|
205
207
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
206
208
|
id: z.ZodString;
|
|
209
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
207
210
|
name: z.ZodString;
|
|
208
211
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
209
212
|
integrationActionId: z.ZodString;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4
5
|
type: z.ZodEnum<{
|
|
5
6
|
app: "app";
|
|
6
7
|
"ai-agent": "ai-agent";
|
|
@@ -21,6 +22,7 @@ export declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
|
21
22
|
export type CreateConnectedProductRequest = z.infer<typeof CreateConnectedProductRequest>;
|
|
22
23
|
export declare const UpdateConnectedProductRequest: z.ZodObject<{
|
|
23
24
|
name: z.ZodOptional<z.ZodString>;
|
|
25
|
+
key: z.ZodOptional<z.ZodString>;
|
|
24
26
|
type: z.ZodOptional<z.ZodEnum<{
|
|
25
27
|
app: "app";
|
|
26
28
|
"ai-agent": "ai-agent";
|
|
@@ -48,7 +50,6 @@ export declare const FindConnectedProductsQuery: z.ZodObject<{
|
|
|
48
50
|
customers: "customers";
|
|
49
51
|
personal: "personal";
|
|
50
52
|
}>>;
|
|
51
|
-
key: z.ZodOptional<z.ZodString>;
|
|
52
53
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
53
54
|
cursor: z.ZodOptional<z.ZodString>;
|
|
54
55
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -10,11 +10,11 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
10
10
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
14
15
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
15
16
|
userId: z.ZodOptional<z.ZodString>;
|
|
16
17
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
17
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
19
19
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
@@ -1186,9 +1186,9 @@ export declare const FindDataSourcesQuery: z.ZodObject<{
|
|
|
1186
1186
|
}>>;
|
|
1187
1187
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
1188
1188
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1189
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1190
1189
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
1191
1190
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1192
1192
|
}, z.core.$strip>;
|
|
1193
1193
|
export type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
|
|
1194
1194
|
export declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
@@ -1209,9 +1209,9 @@ export declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
|
1209
1209
|
}>>;
|
|
1210
1210
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
1211
1211
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1212
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1213
1212
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
1214
1213
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1215
1215
|
}, z.core.$strip>;
|
|
1216
1216
|
export type FindDataSourceInstancesQuery = FindDataSourcesQuery;
|
|
1217
1217
|
export declare const CreateDataSourceRequest: z.ZodObject<{
|
|
@@ -6,6 +6,7 @@ export declare const ListExternalApiLogsQuery: z.ZodObject<{
|
|
|
6
6
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
isSuccess: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
9
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
from: z.ZodOptional<z.ZodString>;
|
|
10
11
|
to: z.ZodOptional<z.ZodString>;
|
|
11
12
|
sortOrder: z.ZodOptional<z.ZodEnum<{
|
|
@@ -20,6 +21,7 @@ export declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
20
21
|
customerId: z.ZodString;
|
|
21
22
|
integrationId: z.ZodString;
|
|
22
23
|
connectionId: z.ZodString;
|
|
24
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
23
25
|
statusCode: z.ZodNumber;
|
|
24
26
|
isSuccess: z.ZodBoolean;
|
|
25
27
|
s3Uri: z.ZodString;
|
|
@@ -9,6 +9,7 @@ export declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
|
|
|
9
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
|
|
12
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
from: z.ZodOptional<z.ZodString>;
|
|
13
14
|
to: z.ZodOptional<z.ZodString>;
|
|
14
15
|
}, z.core.$strip>;
|
|
@@ -17,6 +18,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
17
18
|
userId: z.ZodString;
|
|
18
19
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19
20
|
id: z.ZodString;
|
|
21
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
20
22
|
name: z.ZodOptional<z.ZodString>;
|
|
21
23
|
externalEventSubscriptionId: z.ZodString;
|
|
22
24
|
integrationId: z.ZodString;
|
|
@@ -20,6 +20,7 @@ export declare const FindExternalEventPullsQuery: z.ZodObject<{
|
|
|
20
20
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
userId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
23
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
23
24
|
from: z.ZodOptional<z.ZodString>;
|
|
24
25
|
to: z.ZodOptional<z.ZodString>;
|
|
25
26
|
}, z.core.$strip>;
|
|
@@ -28,6 +29,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
28
29
|
userId: z.ZodString;
|
|
29
30
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
30
31
|
id: z.ZodString;
|
|
32
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
31
33
|
name: z.ZodOptional<z.ZodString>;
|
|
32
34
|
externalEventSubscriptionId: z.ZodString;
|
|
33
35
|
integrationId: z.ZodString;
|
|
@@ -7,6 +7,7 @@ export declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
|
7
7
|
userId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
10
11
|
}, z.core.$strip>;
|
|
11
12
|
export type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
|
|
12
13
|
export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
@@ -5,6 +5,7 @@ export interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
|
5
5
|
userId?: string;
|
|
6
6
|
connectionId?: string;
|
|
7
7
|
integrationId?: string;
|
|
8
|
+
externalAppId?: string;
|
|
8
9
|
}
|
|
9
10
|
export interface FindExternalEventLogsQuery extends PaginationQuery {
|
|
10
11
|
userId?: string;
|
|
@@ -582,9 +582,9 @@ export declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
|
582
582
|
}>>;
|
|
583
583
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
584
584
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
585
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
586
585
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
587
586
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
587
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
588
588
|
}, z.core.$strip>;
|
|
589
589
|
export type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
|
|
590
590
|
export declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
@@ -605,9 +605,9 @@ export declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
|
605
605
|
}>>;
|
|
606
606
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
607
607
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
608
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
609
608
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
610
609
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
610
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
611
611
|
}, z.core.$strip>;
|
|
612
612
|
export type FindFieldMappingInstancesQuery = FindFieldMappingsQuery;
|
|
613
613
|
export declare const CreateFieldMappingRequest: z.ZodObject<{
|
|
@@ -20,6 +20,7 @@ export declare const FindFlowRunsQuery: z.ZodObject<{
|
|
|
20
20
|
state: z.ZodOptional<z.ZodEnum<typeof FlowRunState>>;
|
|
21
21
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
23
24
|
from: z.ZodOptional<z.ZodString>;
|
|
24
25
|
to: z.ZodOptional<z.ZodString>;
|
|
25
26
|
}, z.core.$strip>;
|
|
@@ -35,6 +36,7 @@ export declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
35
36
|
id: z.ZodString;
|
|
36
37
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
37
38
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
39
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
38
40
|
name: z.ZodOptional<z.ZodString>;
|
|
39
41
|
connectionFlowId: z.ZodString;
|
|
40
42
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -221,6 +223,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
221
223
|
id: z.ZodString;
|
|
222
224
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
223
225
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
226
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
224
227
|
name: z.ZodOptional<z.ZodString>;
|
|
225
228
|
connectionFlowId: z.ZodString;
|
|
226
229
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -696,9 +696,9 @@ export declare const FindFlowsQuery: z.ZodObject<{
|
|
|
696
696
|
}>>;
|
|
697
697
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
698
698
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
699
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
700
699
|
flowId: z.ZodOptional<z.ZodString>;
|
|
701
700
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
701
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
702
702
|
}, z.core.$strip>;
|
|
703
703
|
export type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
|
|
704
704
|
export declare const CreateFlowRequest: z.ZodObject<{
|
|
@@ -7,6 +7,7 @@ export declare const ListIncomingWebhooksQuery: z.ZodObject<{
|
|
|
7
7
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
status: z.ZodOptional<z.ZodEnum<typeof IncomingWebhooksState>>;
|
|
10
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
10
11
|
from: z.ZodOptional<z.ZodString>;
|
|
11
12
|
to: z.ZodOptional<z.ZodString>;
|
|
12
13
|
}, z.core.$strip>;
|
|
@@ -18,6 +19,7 @@ export declare const IncomingWebhookApiResponse: z.ZodObject<{
|
|
|
18
19
|
customerId: z.ZodString;
|
|
19
20
|
integrationId: z.ZodString;
|
|
20
21
|
connectionId: z.ZodString;
|
|
22
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
21
23
|
subscriptionId: z.ZodString;
|
|
22
24
|
userId: z.ZodString;
|
|
23
25
|
uuid: z.ZodString;
|
|
@@ -8,6 +8,7 @@ export declare const BaseActionRunLogRecord: z.ZodObject<{
|
|
|
8
8
|
userId: z.ZodString;
|
|
9
9
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
id: z.ZodString;
|
|
11
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11
12
|
name: z.ZodString;
|
|
12
13
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
integrationActionId: z.ZodString;
|
|
@@ -2179,6 +2179,7 @@ export declare const GeneratedConnectorOption: z.ZodObject<{
|
|
|
2179
2179
|
description: z.ZodOptional<z.ZodString>;
|
|
2180
2180
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
2181
2181
|
connectorParametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
2182
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
2182
2183
|
}, z.core.$strip>;
|
|
2183
2184
|
export type GeneratedConnectorOption = z.infer<typeof GeneratedConnectorOption>;
|
|
2184
2185
|
export declare const ConnectorOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -9,6 +9,7 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
9
9
|
userId: z.ZodString;
|
|
10
10
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
id: z.ZodString;
|
|
12
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
name: z.ZodOptional<z.ZodString>;
|
|
13
14
|
externalEventSubscriptionId: z.ZodString;
|
|
14
15
|
integrationId: z.ZodString;
|
|
@@ -10,6 +10,7 @@ export declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
10
10
|
userId: z.ZodString;
|
|
11
11
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
id: z.ZodString;
|
|
13
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
name: z.ZodOptional<z.ZodString>;
|
|
14
15
|
externalEventSubscriptionId: z.ZodString;
|
|
15
16
|
integrationId: z.ZodString;
|
|
@@ -38,6 +38,7 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
38
38
|
id: z.ZodString;
|
|
39
39
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
40
40
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
41
42
|
name: z.ZodOptional<z.ZodString>;
|
|
42
43
|
connectionFlowId: z.ZodString;
|
|
43
44
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -37,6 +37,8 @@ export declare enum WorkspaceElementType {
|
|
|
37
37
|
ExternalEventPull = "external-event-pull",
|
|
38
38
|
Screen = "screen",
|
|
39
39
|
ActionRunLogRecord = "action-run-log-record",
|
|
40
|
+
ExternalApiLogRecord = "external-api-log-record",
|
|
41
|
+
IncomingWebhookLogRecord = "incoming-webhook-log-record",
|
|
40
42
|
ConnectedProduct = "connected-product"
|
|
41
43
|
}
|
|
42
44
|
export declare enum WorkspaceEventType {
|
|
@@ -224,6 +226,7 @@ export declare const ActivityLogRecord: z.ZodObject<{
|
|
|
224
226
|
id: z.ZodString;
|
|
225
227
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
226
228
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
229
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
227
230
|
}, z.core.$strip>;
|
|
228
231
|
export type ActivityLogRecord = z.infer<typeof ActivityLogRecord>;
|
|
229
232
|
export interface WorkspaceElementReference {
|
|
@@ -24,6 +24,9 @@ export interface WorkspaceElementSpec {
|
|
|
24
24
|
hasUuid?: boolean;
|
|
25
25
|
hasPublicLayer?: boolean;
|
|
26
26
|
isProOnly?: boolean;
|
|
27
|
+
statsKey?: string;
|
|
28
|
+
relatedIntegrationLayerElements?: WorkspaceElementType[];
|
|
29
|
+
relatedActivityLogElements?: WorkspaceElementType[];
|
|
27
30
|
}
|
|
28
31
|
export interface WorkspaceElements {
|
|
29
32
|
flows?: Record<string, CreateFlowRequest>;
|