@membranehq/sdk 0.5.1 → 0.6.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 +1949 -3947
- package/dist/bundle.js +9 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
- package/dist/dts/accessors/actions-accessors.d.ts +2 -2
- package/dist/dts/accessors/connections-accessors.d.ts +8 -22
- package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
- package/dist/dts/errors/index.d.ts +10 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
- package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
- package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
- package/dist/dts/workspace-elements/types.d.ts +53 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +3 -1
- package/dist/index.d.ts +2791 -5337
- package/dist/index.js +70 -66
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +2791 -5337
- package/dist/index.module.mjs +67 -66
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -3
- package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare enum FlowRunNodeState {
|
|
3
4
|
RUNNING = "running",
|
|
4
5
|
COMPLETED = "completed",
|
|
@@ -60,7 +61,7 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
60
61
|
state: z.ZodNativeEnum<typeof FlowRunState>;
|
|
61
62
|
startTime: z.ZodString;
|
|
62
63
|
endTime: z.ZodOptional<z.ZodString>;
|
|
63
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
64
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
64
65
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
65
66
|
state: z.ZodNativeEnum<typeof FlowRunNodeState>;
|
|
66
67
|
runs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -95,11 +96,11 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
95
96
|
flowInstanceId: string;
|
|
96
97
|
startNodeKey: string;
|
|
97
98
|
name?: string | undefined;
|
|
98
|
-
errors?:
|
|
99
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
99
100
|
connectionId?: string | undefined;
|
|
100
101
|
integrationId?: string | undefined;
|
|
101
|
-
endTime?: string | undefined;
|
|
102
102
|
input?: any;
|
|
103
|
+
endTime?: string | undefined;
|
|
103
104
|
universalFlowId?: string | undefined;
|
|
104
105
|
nodes?: Record<string, {
|
|
105
106
|
state: FlowRunNodeState;
|
|
@@ -119,11 +120,11 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
119
120
|
flowInstanceId: string;
|
|
120
121
|
startNodeKey: string;
|
|
121
122
|
name?: string | undefined;
|
|
122
|
-
errors?:
|
|
123
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
123
124
|
connectionId?: string | undefined;
|
|
124
125
|
integrationId?: string | undefined;
|
|
125
|
-
endTime?: string | undefined;
|
|
126
126
|
input?: any;
|
|
127
|
+
endTime?: string | undefined;
|
|
127
128
|
universalFlowId?: string | undefined;
|
|
128
129
|
nodes?: Record<string, {
|
|
129
130
|
state: FlowRunNodeState;
|
|
@@ -45,13 +45,13 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
45
45
|
type?: string | undefined;
|
|
46
46
|
name?: string | undefined;
|
|
47
47
|
description?: string | undefined;
|
|
48
|
-
ui?: any;
|
|
49
|
-
isCustomized?: boolean | undefined;
|
|
50
48
|
inputSchema?: any;
|
|
51
49
|
config?: any;
|
|
50
|
+
isCustomized?: boolean | undefined;
|
|
52
51
|
outputSchema?: any;
|
|
53
52
|
version?: number | undefined;
|
|
54
53
|
onError?: "stop" | "continue" | undefined;
|
|
54
|
+
ui?: any;
|
|
55
55
|
outputExample?: any;
|
|
56
56
|
links?: {
|
|
57
57
|
key?: string | undefined;
|
|
@@ -63,13 +63,13 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
63
63
|
type?: string | undefined;
|
|
64
64
|
name?: string | undefined;
|
|
65
65
|
description?: string | undefined;
|
|
66
|
-
ui?: any;
|
|
67
|
-
isCustomized?: boolean | undefined;
|
|
68
66
|
inputSchema?: any;
|
|
69
67
|
config?: any;
|
|
68
|
+
isCustomized?: boolean | undefined;
|
|
70
69
|
outputSchema?: any;
|
|
71
70
|
version?: number | undefined;
|
|
72
71
|
onError?: "stop" | "continue" | undefined;
|
|
72
|
+
ui?: any;
|
|
73
73
|
outputExample?: any;
|
|
74
74
|
links?: {
|
|
75
75
|
key?: string | undefined;
|
|
@@ -80,15 +80,15 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
80
80
|
export type FlowNode = z.infer<typeof FlowNode>;
|
|
81
81
|
export declare const BaseFlow: z.ZodObject<{
|
|
82
82
|
id: z.ZodString;
|
|
83
|
-
name: z.ZodString;
|
|
84
83
|
key: z.ZodOptional<z.ZodString>;
|
|
85
84
|
uuid: z.ZodOptional<z.ZodString>;
|
|
86
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
name: z.ZodString;
|
|
87
87
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
88
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
89
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
90
89
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
91
90
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
91
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
92
92
|
} & {
|
|
93
93
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
94
94
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -125,13 +125,13 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
125
125
|
type?: string | undefined;
|
|
126
126
|
name?: string | undefined;
|
|
127
127
|
description?: string | undefined;
|
|
128
|
-
ui?: any;
|
|
129
|
-
isCustomized?: boolean | undefined;
|
|
130
128
|
inputSchema?: any;
|
|
131
129
|
config?: any;
|
|
130
|
+
isCustomized?: boolean | undefined;
|
|
132
131
|
outputSchema?: any;
|
|
133
132
|
version?: number | undefined;
|
|
134
133
|
onError?: "stop" | "continue" | undefined;
|
|
134
|
+
ui?: any;
|
|
135
135
|
outputExample?: any;
|
|
136
136
|
links?: {
|
|
137
137
|
key?: string | undefined;
|
|
@@ -143,13 +143,13 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
143
143
|
type?: string | undefined;
|
|
144
144
|
name?: string | undefined;
|
|
145
145
|
description?: string | undefined;
|
|
146
|
-
ui?: any;
|
|
147
|
-
isCustomized?: boolean | undefined;
|
|
148
146
|
inputSchema?: any;
|
|
149
147
|
config?: any;
|
|
148
|
+
isCustomized?: boolean | undefined;
|
|
150
149
|
outputSchema?: any;
|
|
151
150
|
version?: number | undefined;
|
|
152
151
|
onError?: "stop" | "continue" | undefined;
|
|
152
|
+
ui?: any;
|
|
153
153
|
outputExample?: any;
|
|
154
154
|
links?: {
|
|
155
155
|
key?: string | undefined;
|
|
@@ -169,14 +169,14 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
169
169
|
uuid?: string | undefined;
|
|
170
170
|
description?: string | undefined;
|
|
171
171
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
172
|
-
errors?:
|
|
173
|
-
isDeactivated?: boolean | undefined;
|
|
172
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
174
173
|
createdAt?: string | undefined;
|
|
175
174
|
updatedAt?: string | undefined;
|
|
176
175
|
archivedAt?: string | undefined;
|
|
176
|
+
isDeactivated?: boolean | undefined;
|
|
177
177
|
integrationId?: string | undefined;
|
|
178
|
-
parametersSchema?: DataSchema | undefined;
|
|
179
178
|
customized?: boolean | undefined;
|
|
179
|
+
parametersSchema?: DataSchema | undefined;
|
|
180
180
|
universalFlowId?: string | undefined;
|
|
181
181
|
universalFlowRevision?: string | undefined;
|
|
182
182
|
nodes?: Record<string, {
|
|
@@ -184,13 +184,13 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
184
184
|
type?: string | undefined;
|
|
185
185
|
name?: string | undefined;
|
|
186
186
|
description?: string | undefined;
|
|
187
|
-
ui?: any;
|
|
188
|
-
isCustomized?: boolean | undefined;
|
|
189
187
|
inputSchema?: any;
|
|
190
188
|
config?: any;
|
|
189
|
+
isCustomized?: boolean | undefined;
|
|
191
190
|
outputSchema?: any;
|
|
192
191
|
version?: number | undefined;
|
|
193
192
|
onError?: "stop" | "continue" | undefined;
|
|
193
|
+
ui?: any;
|
|
194
194
|
outputExample?: any;
|
|
195
195
|
links?: {
|
|
196
196
|
key?: string | undefined;
|
|
@@ -207,14 +207,14 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
207
207
|
uuid?: string | undefined;
|
|
208
208
|
description?: string | undefined;
|
|
209
209
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
210
|
-
errors?:
|
|
211
|
-
isDeactivated?: boolean | undefined;
|
|
210
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
212
211
|
createdAt?: string | undefined;
|
|
213
212
|
updatedAt?: string | undefined;
|
|
214
213
|
archivedAt?: string | undefined;
|
|
214
|
+
isDeactivated?: boolean | undefined;
|
|
215
215
|
integrationId?: string | undefined;
|
|
216
|
-
parametersSchema?: DataSchema | undefined;
|
|
217
216
|
customized?: boolean | undefined;
|
|
217
|
+
parametersSchema?: DataSchema | undefined;
|
|
218
218
|
universalFlowId?: string | undefined;
|
|
219
219
|
universalFlowRevision?: string | undefined;
|
|
220
220
|
nodes?: Record<string, {
|
|
@@ -222,13 +222,13 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
222
222
|
type?: string | undefined;
|
|
223
223
|
name?: string | undefined;
|
|
224
224
|
description?: string | undefined;
|
|
225
|
-
ui?: any;
|
|
226
|
-
isCustomized?: boolean | undefined;
|
|
227
225
|
inputSchema?: any;
|
|
228
226
|
config?: any;
|
|
227
|
+
isCustomized?: boolean | undefined;
|
|
229
228
|
outputSchema?: any;
|
|
230
229
|
version?: number | undefined;
|
|
231
230
|
onError?: "stop" | "continue" | undefined;
|
|
231
|
+
ui?: any;
|
|
232
232
|
outputExample?: any;
|
|
233
233
|
links?: {
|
|
234
234
|
key?: string | undefined;
|