@membranehq/sdk 0.5.1 → 0.5.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 +160 -2153
- package/dist/dts/accessors/connections-accessors.d.ts +1 -15
- package/dist/dts/accessors/integrations-accessors.d.ts +1 -15
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/actions-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/connections-api.d.ts +291 -211
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +0 -108
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +12 -228
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +12 -228
- package/dist/dts/workspace-elements/api/flows-api.d.ts +42 -530
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +109 -75
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +0 -84
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +3 -3
- package/dist/dts/workspace-elements/base/connections/types.d.ts +3 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +6 -6
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -407
- package/dist/dts/workspaces/types.d.ts +1 -1
- package/dist/index.d.ts +530 -3109
- package/dist/index.js +22 -18
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +530 -3109
- package/dist/index.module.mjs +22 -19
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { DataSchema } from '../../data-schema';
|
|
2
3
|
import { PaginationResponse } from '../../entity-repository';
|
|
3
4
|
export declare const CreateIntegrationRequest: z.ZodObject<{
|
|
4
5
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -72,6 +73,52 @@ export declare const OpenNewConnectionOptions: z.ZodObject<{
|
|
|
72
73
|
allowMultipleConnections?: boolean | undefined;
|
|
73
74
|
}>;
|
|
74
75
|
export type OpenNewConnectionOptions = z.infer<typeof OpenNewConnectionOptions>;
|
|
76
|
+
export declare const IntegrationAuthUi: z.ZodObject<{
|
|
77
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
78
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
schema?: any;
|
|
81
|
+
helpUri?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
schema?: any;
|
|
84
|
+
helpUri?: string | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export type IntegrationAuthUi = z.infer<typeof IntegrationAuthUi>;
|
|
87
|
+
export declare const IntegrationAuthOption: z.ZodObject<{
|
|
88
|
+
key: z.ZodString;
|
|
89
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
90
|
+
title: z.ZodOptional<z.ZodString>;
|
|
91
|
+
description: z.ZodOptional<z.ZodString>;
|
|
92
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
94
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
schema?: any;
|
|
97
|
+
helpUri?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
schema?: any;
|
|
100
|
+
helpUri?: string | undefined;
|
|
101
|
+
}>>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
key: string;
|
|
104
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
105
|
+
description?: string | undefined;
|
|
106
|
+
title?: string | undefined;
|
|
107
|
+
ui?: {
|
|
108
|
+
schema?: any;
|
|
109
|
+
helpUri?: string | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
key: string;
|
|
113
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
114
|
+
description?: string | undefined;
|
|
115
|
+
title?: string | undefined;
|
|
116
|
+
ui?: {
|
|
117
|
+
schema?: any;
|
|
118
|
+
helpUri?: string | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}>;
|
|
121
|
+
export type IntegrationAuthOption = z.infer<typeof IntegrationAuthOption>;
|
|
75
122
|
export declare const IntegrationApiResponse: z.ZodObject<{
|
|
76
123
|
id: z.ZodString;
|
|
77
124
|
name: z.ZodString;
|
|
@@ -87,44 +134,8 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
87
134
|
logoUri: z.ZodString;
|
|
88
135
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
89
136
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
90
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
-
key: z.ZodString;
|
|
92
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
93
|
-
title: z.ZodOptional<z.ZodString>;
|
|
94
|
-
description: z.ZodOptional<z.ZodString>;
|
|
95
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
96
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
97
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
schema?: any;
|
|
100
|
-
helpUri?: string | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
schema?: any;
|
|
103
|
-
helpUri?: string | undefined;
|
|
104
|
-
}>>;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
key: string;
|
|
107
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
108
|
-
description?: string | undefined;
|
|
109
|
-
title?: string | undefined;
|
|
110
|
-
ui?: {
|
|
111
|
-
schema?: any;
|
|
112
|
-
helpUri?: string | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
key: string;
|
|
116
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
117
|
-
description?: string | undefined;
|
|
118
|
-
title?: string | undefined;
|
|
119
|
-
ui?: {
|
|
120
|
-
schema?: any;
|
|
121
|
-
helpUri?: string | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
}>, "many">>;
|
|
124
137
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
125
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
126
138
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
127
|
-
baseUri: z.ZodString;
|
|
128
139
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
129
140
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
130
141
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -151,9 +162,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
151
162
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
152
163
|
error: any;
|
|
153
164
|
integrationId: z.ZodString;
|
|
154
|
-
|
|
155
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
156
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
165
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
157
166
|
createdAt: z.ZodString;
|
|
158
167
|
updatedAt: z.ZodString;
|
|
159
168
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -175,9 +184,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
175
184
|
errors?: any[] | undefined;
|
|
176
185
|
isDeactivated?: boolean | undefined;
|
|
177
186
|
archivedAt?: string | undefined;
|
|
178
|
-
|
|
179
|
-
parameters?: unknown;
|
|
180
|
-
connectorParameters?: unknown;
|
|
187
|
+
authOptionKey?: string | undefined;
|
|
181
188
|
isTest?: boolean | undefined;
|
|
182
189
|
disconnected?: boolean | undefined;
|
|
183
190
|
isDefunct?: boolean | undefined;
|
|
@@ -196,9 +203,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
196
203
|
errors?: any[] | undefined;
|
|
197
204
|
isDeactivated?: boolean | undefined;
|
|
198
205
|
archivedAt?: string | undefined;
|
|
199
|
-
|
|
200
|
-
parameters?: unknown;
|
|
201
|
-
connectorParameters?: unknown;
|
|
206
|
+
authOptionKey?: string | undefined;
|
|
202
207
|
isTest?: boolean | undefined;
|
|
203
208
|
disconnected?: boolean | undefined;
|
|
204
209
|
isDefunct?: boolean | undefined;
|
|
@@ -207,10 +212,44 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
207
212
|
meta?: Record<string, any> | undefined;
|
|
208
213
|
}>>;
|
|
209
214
|
spec: z.ZodOptional<z.ZodAny>;
|
|
215
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
216
|
+
key: z.ZodString;
|
|
217
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
218
|
+
title: z.ZodOptional<z.ZodString>;
|
|
219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
220
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
222
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
schema?: any;
|
|
225
|
+
helpUri?: string | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
schema?: any;
|
|
228
|
+
helpUri?: string | undefined;
|
|
229
|
+
}>>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
key: string;
|
|
232
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
233
|
+
description?: string | undefined;
|
|
234
|
+
title?: string | undefined;
|
|
235
|
+
ui?: {
|
|
236
|
+
schema?: any;
|
|
237
|
+
helpUri?: string | undefined;
|
|
238
|
+
} | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
key: string;
|
|
241
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
242
|
+
description?: string | undefined;
|
|
243
|
+
title?: string | undefined;
|
|
244
|
+
ui?: {
|
|
245
|
+
schema?: any;
|
|
246
|
+
helpUri?: string | undefined;
|
|
247
|
+
} | undefined;
|
|
248
|
+
}>, "many">>;
|
|
249
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
210
250
|
}, "strip", z.ZodTypeAny, {
|
|
211
251
|
id: string;
|
|
212
252
|
name: string;
|
|
213
|
-
baseUri: string;
|
|
214
253
|
logoUri: string;
|
|
215
254
|
key?: string | undefined;
|
|
216
255
|
connection?: {
|
|
@@ -225,9 +264,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
225
264
|
errors?: any[] | undefined;
|
|
226
265
|
isDeactivated?: boolean | undefined;
|
|
227
266
|
archivedAt?: string | undefined;
|
|
228
|
-
|
|
229
|
-
parameters?: unknown;
|
|
230
|
-
connectorParameters?: unknown;
|
|
267
|
+
authOptionKey?: string | undefined;
|
|
231
268
|
isTest?: boolean | undefined;
|
|
232
269
|
disconnected?: boolean | undefined;
|
|
233
270
|
isDefunct?: boolean | undefined;
|
|
@@ -245,20 +282,10 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
245
282
|
updatedAt?: string | undefined;
|
|
246
283
|
archivedAt?: string | undefined;
|
|
247
284
|
parameters?: any;
|
|
248
|
-
parametersSchema?:
|
|
285
|
+
parametersSchema?: DataSchema | undefined;
|
|
249
286
|
isTest?: boolean | undefined;
|
|
250
287
|
connectorId?: string | undefined;
|
|
251
288
|
connectorVersion?: string | undefined;
|
|
252
|
-
authOptions?: {
|
|
253
|
-
key: string;
|
|
254
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
255
|
-
description?: string | undefined;
|
|
256
|
-
title?: string | undefined;
|
|
257
|
-
ui?: {
|
|
258
|
-
schema?: any;
|
|
259
|
-
helpUri?: string | undefined;
|
|
260
|
-
} | undefined;
|
|
261
|
-
}[] | undefined;
|
|
262
289
|
oAuthCallbackUri?: string | undefined;
|
|
263
290
|
hasMissingParameters?: boolean | undefined;
|
|
264
291
|
hasDocumentation?: boolean | undefined;
|
|
@@ -273,10 +300,19 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
273
300
|
appUuid?: string | undefined;
|
|
274
301
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
275
302
|
spec?: any;
|
|
303
|
+
authOptions?: {
|
|
304
|
+
key: string;
|
|
305
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
306
|
+
description?: string | undefined;
|
|
307
|
+
title?: string | undefined;
|
|
308
|
+
ui?: {
|
|
309
|
+
schema?: any;
|
|
310
|
+
helpUri?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
}[] | undefined;
|
|
276
313
|
}, {
|
|
277
314
|
id: string;
|
|
278
315
|
name: string;
|
|
279
|
-
baseUri: string;
|
|
280
316
|
logoUri: string;
|
|
281
317
|
key?: string | undefined;
|
|
282
318
|
connection?: {
|
|
@@ -291,9 +327,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
291
327
|
errors?: any[] | undefined;
|
|
292
328
|
isDeactivated?: boolean | undefined;
|
|
293
329
|
archivedAt?: string | undefined;
|
|
294
|
-
|
|
295
|
-
parameters?: unknown;
|
|
296
|
-
connectorParameters?: unknown;
|
|
330
|
+
authOptionKey?: string | undefined;
|
|
297
331
|
isTest?: boolean | undefined;
|
|
298
332
|
disconnected?: boolean | undefined;
|
|
299
333
|
isDefunct?: boolean | undefined;
|
|
@@ -311,20 +345,10 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
311
345
|
updatedAt?: string | undefined;
|
|
312
346
|
archivedAt?: string | undefined;
|
|
313
347
|
parameters?: any;
|
|
314
|
-
parametersSchema?:
|
|
348
|
+
parametersSchema?: DataSchema | undefined;
|
|
315
349
|
isTest?: boolean | undefined;
|
|
316
350
|
connectorId?: string | undefined;
|
|
317
351
|
connectorVersion?: string | undefined;
|
|
318
|
-
authOptions?: {
|
|
319
|
-
key: string;
|
|
320
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
321
|
-
description?: string | undefined;
|
|
322
|
-
title?: string | undefined;
|
|
323
|
-
ui?: {
|
|
324
|
-
schema?: any;
|
|
325
|
-
helpUri?: string | undefined;
|
|
326
|
-
} | undefined;
|
|
327
|
-
}[] | undefined;
|
|
328
352
|
oAuthCallbackUri?: string | undefined;
|
|
329
353
|
hasMissingParameters?: boolean | undefined;
|
|
330
354
|
hasDocumentation?: boolean | undefined;
|
|
@@ -339,6 +363,16 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
339
363
|
appUuid?: string | undefined;
|
|
340
364
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
341
365
|
spec?: any;
|
|
366
|
+
authOptions?: {
|
|
367
|
+
key: string;
|
|
368
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
369
|
+
description?: string | undefined;
|
|
370
|
+
title?: string | undefined;
|
|
371
|
+
ui?: {
|
|
372
|
+
schema?: any;
|
|
373
|
+
helpUri?: string | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
}[] | undefined;
|
|
342
376
|
}>;
|
|
343
377
|
export type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
344
378
|
export type Integration = IntegrationApiResponse;
|
|
@@ -315,44 +315,8 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
315
315
|
logoUri: z.ZodString;
|
|
316
316
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
317
317
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
318
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
|
-
key: z.ZodString;
|
|
320
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
321
|
-
title: z.ZodOptional<z.ZodString>;
|
|
322
|
-
description: z.ZodOptional<z.ZodString>;
|
|
323
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
324
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
325
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
schema?: any;
|
|
328
|
-
helpUri?: string | undefined;
|
|
329
|
-
}, {
|
|
330
|
-
schema?: any;
|
|
331
|
-
helpUri?: string | undefined;
|
|
332
|
-
}>>;
|
|
333
|
-
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
key: string;
|
|
335
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
336
|
-
description?: string | undefined;
|
|
337
|
-
title?: string | undefined;
|
|
338
|
-
ui?: {
|
|
339
|
-
schema?: any;
|
|
340
|
-
helpUri?: string | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
key: string;
|
|
344
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
345
|
-
description?: string | undefined;
|
|
346
|
-
title?: string | undefined;
|
|
347
|
-
ui?: {
|
|
348
|
-
schema?: any;
|
|
349
|
-
helpUri?: string | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
}>, "many">>;
|
|
352
318
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
353
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
354
319
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
355
|
-
baseUri: z.ZodString;
|
|
356
320
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
357
321
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
358
322
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -371,7 +335,6 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
371
335
|
}, "strip", z.ZodTypeAny, {
|
|
372
336
|
id: string;
|
|
373
337
|
name: string;
|
|
374
|
-
baseUri: string;
|
|
375
338
|
logoUri: string;
|
|
376
339
|
key?: string | undefined;
|
|
377
340
|
uuid?: string | undefined;
|
|
@@ -384,20 +347,9 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
384
347
|
updatedAt?: string | undefined;
|
|
385
348
|
archivedAt?: string | undefined;
|
|
386
349
|
parameters?: any;
|
|
387
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
388
350
|
isTest?: boolean | undefined;
|
|
389
351
|
connectorId?: string | undefined;
|
|
390
352
|
connectorVersion?: string | undefined;
|
|
391
|
-
authOptions?: {
|
|
392
|
-
key: string;
|
|
393
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
394
|
-
description?: string | undefined;
|
|
395
|
-
title?: string | undefined;
|
|
396
|
-
ui?: {
|
|
397
|
-
schema?: any;
|
|
398
|
-
helpUri?: string | undefined;
|
|
399
|
-
} | undefined;
|
|
400
|
-
}[] | undefined;
|
|
401
353
|
oAuthCallbackUri?: string | undefined;
|
|
402
354
|
hasMissingParameters?: boolean | undefined;
|
|
403
355
|
hasDocumentation?: boolean | undefined;
|
|
@@ -414,7 +366,6 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
414
366
|
}, {
|
|
415
367
|
id: string;
|
|
416
368
|
name: string;
|
|
417
|
-
baseUri: string;
|
|
418
369
|
logoUri: string;
|
|
419
370
|
key?: string | undefined;
|
|
420
371
|
uuid?: string | undefined;
|
|
@@ -427,20 +378,9 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
427
378
|
updatedAt?: string | undefined;
|
|
428
379
|
archivedAt?: string | undefined;
|
|
429
380
|
parameters?: any;
|
|
430
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
431
381
|
isTest?: boolean | undefined;
|
|
432
382
|
connectorId?: string | undefined;
|
|
433
383
|
connectorVersion?: string | undefined;
|
|
434
|
-
authOptions?: {
|
|
435
|
-
key: string;
|
|
436
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
437
|
-
description?: string | undefined;
|
|
438
|
-
title?: string | undefined;
|
|
439
|
-
ui?: {
|
|
440
|
-
schema?: any;
|
|
441
|
-
helpUri?: string | undefined;
|
|
442
|
-
} | undefined;
|
|
443
|
-
}[] | undefined;
|
|
444
384
|
oAuthCallbackUri?: string | undefined;
|
|
445
385
|
hasMissingParameters?: boolean | undefined;
|
|
446
386
|
hasDocumentation?: boolean | undefined;
|
|
@@ -472,7 +412,6 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
472
412
|
appliedToIntegrations?: {
|
|
473
413
|
id: string;
|
|
474
414
|
name: string;
|
|
475
|
-
baseUri: string;
|
|
476
415
|
logoUri: string;
|
|
477
416
|
key?: string | undefined;
|
|
478
417
|
uuid?: string | undefined;
|
|
@@ -485,20 +424,9 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
485
424
|
updatedAt?: string | undefined;
|
|
486
425
|
archivedAt?: string | undefined;
|
|
487
426
|
parameters?: any;
|
|
488
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
489
427
|
isTest?: boolean | undefined;
|
|
490
428
|
connectorId?: string | undefined;
|
|
491
429
|
connectorVersion?: string | undefined;
|
|
492
|
-
authOptions?: {
|
|
493
|
-
key: string;
|
|
494
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
495
|
-
description?: string | undefined;
|
|
496
|
-
title?: string | undefined;
|
|
497
|
-
ui?: {
|
|
498
|
-
schema?: any;
|
|
499
|
-
helpUri?: string | undefined;
|
|
500
|
-
} | undefined;
|
|
501
|
-
}[] | undefined;
|
|
502
430
|
oAuthCallbackUri?: string | undefined;
|
|
503
431
|
hasMissingParameters?: boolean | undefined;
|
|
504
432
|
hasDocumentation?: boolean | undefined;
|
|
@@ -547,7 +475,6 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
547
475
|
appliedToIntegrations?: {
|
|
548
476
|
id: string;
|
|
549
477
|
name: string;
|
|
550
|
-
baseUri: string;
|
|
551
478
|
logoUri: string;
|
|
552
479
|
key?: string | undefined;
|
|
553
480
|
uuid?: string | undefined;
|
|
@@ -560,20 +487,9 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
560
487
|
updatedAt?: string | undefined;
|
|
561
488
|
archivedAt?: string | undefined;
|
|
562
489
|
parameters?: any;
|
|
563
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
564
490
|
isTest?: boolean | undefined;
|
|
565
491
|
connectorId?: string | undefined;
|
|
566
492
|
connectorVersion?: string | undefined;
|
|
567
|
-
authOptions?: {
|
|
568
|
-
key: string;
|
|
569
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
570
|
-
description?: string | undefined;
|
|
571
|
-
title?: string | undefined;
|
|
572
|
-
ui?: {
|
|
573
|
-
schema?: any;
|
|
574
|
-
helpUri?: string | undefined;
|
|
575
|
-
} | undefined;
|
|
576
|
-
}[] | undefined;
|
|
577
493
|
oAuthCallbackUri?: string | undefined;
|
|
578
494
|
hasMissingParameters?: boolean | undefined;
|
|
579
495
|
hasDocumentation?: boolean | undefined;
|
|
@@ -38,17 +38,17 @@ export declare const BaseActionInstance: z.ZodObject<{
|
|
|
38
38
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
39
39
|
userId: z.ZodString;
|
|
40
40
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
41
|
-
type: z.ZodNativeEnum<typeof ActionType
|
|
41
|
+
type: z.ZodOptional<z.ZodNativeEnum<typeof ActionType>>;
|
|
42
42
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
43
43
|
config: z.ZodOptional<z.ZodAny>;
|
|
44
44
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
45
45
|
isOutdated: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
type: ActionType;
|
|
48
47
|
id: string;
|
|
49
48
|
name: string;
|
|
50
49
|
userId: string;
|
|
51
50
|
key?: string | undefined;
|
|
51
|
+
type?: ActionType | undefined;
|
|
52
52
|
uuid?: string | undefined;
|
|
53
53
|
description?: string | undefined;
|
|
54
54
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
@@ -67,11 +67,11 @@ export declare const BaseActionInstance: z.ZodObject<{
|
|
|
67
67
|
universalParentId?: string | undefined;
|
|
68
68
|
isOutdated?: boolean | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
type: ActionType;
|
|
71
70
|
id: string;
|
|
72
71
|
name: string;
|
|
73
72
|
userId: string;
|
|
74
73
|
key?: string | undefined;
|
|
74
|
+
type?: ActionType | undefined;
|
|
75
75
|
uuid?: string | undefined;
|
|
76
76
|
description?: string | undefined;
|
|
77
77
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
@@ -34,9 +34,7 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
34
34
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
35
35
|
error: any;
|
|
36
36
|
integrationId: z.ZodString;
|
|
37
|
-
|
|
38
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
39
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
37
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
40
38
|
createdAt: z.ZodString;
|
|
41
39
|
updatedAt: z.ZodString;
|
|
42
40
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -58,9 +56,7 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
58
56
|
errors?: any[] | undefined;
|
|
59
57
|
isDeactivated?: boolean | undefined;
|
|
60
58
|
archivedAt?: string | undefined;
|
|
61
|
-
|
|
62
|
-
parameters?: unknown;
|
|
63
|
-
connectorParameters?: unknown;
|
|
59
|
+
authOptionKey?: string | undefined;
|
|
64
60
|
isTest?: boolean | undefined;
|
|
65
61
|
disconnected?: boolean | undefined;
|
|
66
62
|
isDefunct?: boolean | undefined;
|
|
@@ -79,9 +75,7 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
79
75
|
errors?: any[] | undefined;
|
|
80
76
|
isDeactivated?: boolean | undefined;
|
|
81
77
|
archivedAt?: string | undefined;
|
|
82
|
-
|
|
83
|
-
parameters?: unknown;
|
|
84
|
-
connectorParameters?: unknown;
|
|
78
|
+
authOptionKey?: string | undefined;
|
|
85
79
|
isTest?: boolean | undefined;
|
|
86
80
|
disconnected?: boolean | undefined;
|
|
87
81
|
isDefunct?: boolean | undefined;
|
|
@@ -33,10 +33,10 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
33
33
|
concurrency?: number | undefined;
|
|
34
34
|
type?: string | undefined;
|
|
35
35
|
name?: string | undefined;
|
|
36
|
-
ui?: any;
|
|
37
36
|
isCustomized?: boolean | undefined;
|
|
38
37
|
config?: any;
|
|
39
38
|
onError?: "stop" | "continue" | undefined;
|
|
39
|
+
ui?: any;
|
|
40
40
|
links?: {
|
|
41
41
|
key?: string | undefined;
|
|
42
42
|
filter?: any;
|
|
@@ -47,10 +47,10 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
47
47
|
concurrency?: number | undefined;
|
|
48
48
|
type?: string | undefined;
|
|
49
49
|
name?: string | undefined;
|
|
50
|
-
ui?: any;
|
|
51
50
|
isCustomized?: boolean | undefined;
|
|
52
51
|
config?: any;
|
|
53
52
|
onError?: "stop" | "continue" | undefined;
|
|
53
|
+
ui?: any;
|
|
54
54
|
links?: {
|
|
55
55
|
key?: string | undefined;
|
|
56
56
|
filter?: any;
|
|
@@ -84,10 +84,10 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
84
84
|
concurrency?: number | undefined;
|
|
85
85
|
type?: string | undefined;
|
|
86
86
|
name?: string | undefined;
|
|
87
|
-
ui?: any;
|
|
88
87
|
isCustomized?: boolean | undefined;
|
|
89
88
|
config?: any;
|
|
90
89
|
onError?: "stop" | "continue" | undefined;
|
|
90
|
+
ui?: any;
|
|
91
91
|
links?: {
|
|
92
92
|
key?: string | undefined;
|
|
93
93
|
filter?: any;
|
|
@@ -112,10 +112,10 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
112
112
|
concurrency?: number | undefined;
|
|
113
113
|
type?: string | undefined;
|
|
114
114
|
name?: string | undefined;
|
|
115
|
-
ui?: any;
|
|
116
115
|
isCustomized?: boolean | undefined;
|
|
117
116
|
config?: any;
|
|
118
117
|
onError?: "stop" | "continue" | undefined;
|
|
118
|
+
ui?: any;
|
|
119
119
|
links?: {
|
|
120
120
|
key?: string | undefined;
|
|
121
121
|
filter?: any;
|
|
@@ -140,7 +140,6 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
140
140
|
description?: string | undefined;
|
|
141
141
|
state?: FlowInstanceNodeState | undefined;
|
|
142
142
|
errors?: any[] | undefined;
|
|
143
|
-
ui?: any;
|
|
144
143
|
isCustomized?: boolean | undefined;
|
|
145
144
|
inputSchema?: any;
|
|
146
145
|
config?: any;
|
|
@@ -148,6 +147,7 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
148
147
|
dependencies?: any[] | undefined;
|
|
149
148
|
version?: number | undefined;
|
|
150
149
|
onError?: "stop" | "continue" | undefined;
|
|
150
|
+
ui?: any;
|
|
151
151
|
outputExample?: any;
|
|
152
152
|
links?: {
|
|
153
153
|
key?: string | undefined;
|
|
@@ -163,7 +163,6 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
163
163
|
description?: string | undefined;
|
|
164
164
|
state?: FlowInstanceNodeState | undefined;
|
|
165
165
|
errors?: any[] | undefined;
|
|
166
|
-
ui?: any;
|
|
167
166
|
isCustomized?: boolean | undefined;
|
|
168
167
|
inputSchema?: any;
|
|
169
168
|
config?: any;
|
|
@@ -171,6 +170,7 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
171
170
|
dependencies?: any[] | undefined;
|
|
172
171
|
version?: number | undefined;
|
|
173
172
|
onError?: "stop" | "continue" | undefined;
|
|
173
|
+
ui?: any;
|
|
174
174
|
outputExample?: any;
|
|
175
175
|
links?: {
|
|
176
176
|
key?: string | undefined;
|
|
@@ -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
48
|
isCustomized?: boolean | undefined;
|
|
50
49
|
inputSchema?: any;
|
|
51
50
|
config?: any;
|
|
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
66
|
isCustomized?: boolean | undefined;
|
|
68
67
|
inputSchema?: any;
|
|
69
68
|
config?: any;
|
|
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;
|
|
@@ -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
128
|
isCustomized?: boolean | undefined;
|
|
130
129
|
inputSchema?: any;
|
|
131
130
|
config?: any;
|
|
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
146
|
isCustomized?: boolean | undefined;
|
|
148
147
|
inputSchema?: any;
|
|
149
148
|
config?: any;
|
|
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;
|
|
@@ -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
187
|
isCustomized?: boolean | undefined;
|
|
189
188
|
inputSchema?: any;
|
|
190
189
|
config?: any;
|
|
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;
|
|
@@ -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
225
|
isCustomized?: boolean | undefined;
|
|
227
226
|
inputSchema?: any;
|
|
228
227
|
config?: any;
|
|
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;
|