@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,52 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { DataSchema } from '../../../data-schema';
|
|
3
2
|
import { ConnectorAuthSpec } from '../connectors';
|
|
4
|
-
export declare const IntegrationAuthUi: z.ZodObject<{
|
|
5
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
6
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
schema?: any;
|
|
9
|
-
helpUri?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
schema?: any;
|
|
12
|
-
helpUri?: string | undefined;
|
|
13
|
-
}>;
|
|
14
|
-
export type IntegrationAuthUi = z.infer<typeof IntegrationAuthUi>;
|
|
15
|
-
export declare const IntegrationAuthOption: z.ZodObject<{
|
|
16
|
-
key: z.ZodString;
|
|
17
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
18
|
-
title: z.ZodOptional<z.ZodString>;
|
|
19
|
-
description: z.ZodOptional<z.ZodString>;
|
|
20
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
21
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
22
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
schema?: any;
|
|
25
|
-
helpUri?: string | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
schema?: any;
|
|
28
|
-
helpUri?: string | undefined;
|
|
29
|
-
}>>;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
key: string;
|
|
32
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
33
|
-
description?: string | undefined;
|
|
34
|
-
title?: string | undefined;
|
|
35
|
-
ui?: {
|
|
36
|
-
schema?: any;
|
|
37
|
-
helpUri?: string | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
key: string;
|
|
41
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
42
|
-
description?: string | undefined;
|
|
43
|
-
title?: string | undefined;
|
|
44
|
-
ui?: {
|
|
45
|
-
schema?: any;
|
|
46
|
-
helpUri?: string | undefined;
|
|
47
|
-
} | undefined;
|
|
48
|
-
}>;
|
|
49
|
-
export type IntegrationAuthOption = z.infer<typeof IntegrationAuthOption>;
|
|
50
3
|
export declare const BaseIntegration: z.ZodObject<{
|
|
51
4
|
id: z.ZodString;
|
|
52
5
|
name: z.ZodString;
|
|
@@ -62,44 +15,8 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
62
15
|
logoUri: z.ZodString;
|
|
63
16
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
64
17
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
65
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
|
-
key: z.ZodString;
|
|
67
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
68
|
-
title: z.ZodOptional<z.ZodString>;
|
|
69
|
-
description: z.ZodOptional<z.ZodString>;
|
|
70
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
72
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
schema?: any;
|
|
75
|
-
helpUri?: string | undefined;
|
|
76
|
-
}, {
|
|
77
|
-
schema?: any;
|
|
78
|
-
helpUri?: string | undefined;
|
|
79
|
-
}>>;
|
|
80
|
-
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
key: string;
|
|
82
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
title?: string | undefined;
|
|
85
|
-
ui?: {
|
|
86
|
-
schema?: any;
|
|
87
|
-
helpUri?: string | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
key: string;
|
|
91
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
92
|
-
description?: string | undefined;
|
|
93
|
-
title?: string | undefined;
|
|
94
|
-
ui?: {
|
|
95
|
-
schema?: any;
|
|
96
|
-
helpUri?: string | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
}>, "many">>;
|
|
99
18
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
100
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
101
19
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
102
|
-
baseUri: z.ZodString;
|
|
103
20
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
104
21
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
105
22
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -118,7 +35,6 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
118
35
|
}, "strip", z.ZodTypeAny, {
|
|
119
36
|
id: string;
|
|
120
37
|
name: string;
|
|
121
|
-
baseUri: string;
|
|
122
38
|
logoUri: string;
|
|
123
39
|
key?: string | undefined;
|
|
124
40
|
uuid?: string | undefined;
|
|
@@ -131,20 +47,9 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
131
47
|
updatedAt?: string | undefined;
|
|
132
48
|
archivedAt?: string | undefined;
|
|
133
49
|
parameters?: any;
|
|
134
|
-
parametersSchema?: DataSchema | undefined;
|
|
135
50
|
isTest?: boolean | undefined;
|
|
136
51
|
connectorId?: string | undefined;
|
|
137
52
|
connectorVersion?: string | undefined;
|
|
138
|
-
authOptions?: {
|
|
139
|
-
key: string;
|
|
140
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
141
|
-
description?: string | undefined;
|
|
142
|
-
title?: string | undefined;
|
|
143
|
-
ui?: {
|
|
144
|
-
schema?: any;
|
|
145
|
-
helpUri?: string | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
}[] | undefined;
|
|
148
53
|
oAuthCallbackUri?: string | undefined;
|
|
149
54
|
hasMissingParameters?: boolean | undefined;
|
|
150
55
|
hasDocumentation?: boolean | undefined;
|
|
@@ -161,7 +66,6 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
161
66
|
}, {
|
|
162
67
|
id: string;
|
|
163
68
|
name: string;
|
|
164
|
-
baseUri: string;
|
|
165
69
|
logoUri: string;
|
|
166
70
|
key?: string | undefined;
|
|
167
71
|
uuid?: string | undefined;
|
|
@@ -174,20 +78,9 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
174
78
|
updatedAt?: string | undefined;
|
|
175
79
|
archivedAt?: string | undefined;
|
|
176
80
|
parameters?: any;
|
|
177
|
-
parametersSchema?: DataSchema | undefined;
|
|
178
81
|
isTest?: boolean | undefined;
|
|
179
82
|
connectorId?: string | undefined;
|
|
180
83
|
connectorVersion?: string | undefined;
|
|
181
|
-
authOptions?: {
|
|
182
|
-
key: string;
|
|
183
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
184
|
-
description?: string | undefined;
|
|
185
|
-
title?: string | undefined;
|
|
186
|
-
ui?: {
|
|
187
|
-
schema?: any;
|
|
188
|
-
helpUri?: string | undefined;
|
|
189
|
-
} | undefined;
|
|
190
|
-
}[] | undefined;
|
|
191
84
|
oAuthCallbackUri?: string | undefined;
|
|
192
85
|
hasMissingParameters?: boolean | undefined;
|
|
193
86
|
hasDocumentation?: boolean | undefined;
|
|
@@ -223,44 +116,8 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
223
116
|
logoUri: z.ZodString;
|
|
224
117
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
225
118
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
226
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
-
key: z.ZodString;
|
|
228
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
229
|
-
title: z.ZodOptional<z.ZodString>;
|
|
230
|
-
description: z.ZodOptional<z.ZodString>;
|
|
231
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
232
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
233
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
234
|
-
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
schema?: any;
|
|
236
|
-
helpUri?: string | undefined;
|
|
237
|
-
}, {
|
|
238
|
-
schema?: any;
|
|
239
|
-
helpUri?: string | undefined;
|
|
240
|
-
}>>;
|
|
241
|
-
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
key: string;
|
|
243
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
244
|
-
description?: string | undefined;
|
|
245
|
-
title?: string | undefined;
|
|
246
|
-
ui?: {
|
|
247
|
-
schema?: any;
|
|
248
|
-
helpUri?: string | undefined;
|
|
249
|
-
} | undefined;
|
|
250
|
-
}, {
|
|
251
|
-
key: string;
|
|
252
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
253
|
-
description?: string | undefined;
|
|
254
|
-
title?: string | undefined;
|
|
255
|
-
ui?: {
|
|
256
|
-
schema?: any;
|
|
257
|
-
helpUri?: string | undefined;
|
|
258
|
-
} | undefined;
|
|
259
|
-
}>, "many">>;
|
|
260
119
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
261
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
262
120
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
263
|
-
baseUri: z.ZodString;
|
|
264
121
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
265
122
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
266
123
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -279,7 +136,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
279
136
|
}, "strip", z.ZodTypeAny, {
|
|
280
137
|
id: string;
|
|
281
138
|
name: string;
|
|
282
|
-
baseUri: string;
|
|
283
139
|
logoUri: string;
|
|
284
140
|
key?: string | undefined;
|
|
285
141
|
uuid?: string | undefined;
|
|
@@ -292,20 +148,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
292
148
|
updatedAt?: string | undefined;
|
|
293
149
|
archivedAt?: string | undefined;
|
|
294
150
|
parameters?: any;
|
|
295
|
-
parametersSchema?: DataSchema | undefined;
|
|
296
151
|
isTest?: boolean | undefined;
|
|
297
152
|
connectorId?: string | undefined;
|
|
298
153
|
connectorVersion?: string | undefined;
|
|
299
|
-
authOptions?: {
|
|
300
|
-
key: string;
|
|
301
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
302
|
-
description?: string | undefined;
|
|
303
|
-
title?: string | undefined;
|
|
304
|
-
ui?: {
|
|
305
|
-
schema?: any;
|
|
306
|
-
helpUri?: string | undefined;
|
|
307
|
-
} | undefined;
|
|
308
|
-
}[] | undefined;
|
|
309
154
|
oAuthCallbackUri?: string | undefined;
|
|
310
155
|
hasMissingParameters?: boolean | undefined;
|
|
311
156
|
hasDocumentation?: boolean | undefined;
|
|
@@ -322,7 +167,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
322
167
|
}, {
|
|
323
168
|
id: string;
|
|
324
169
|
name: string;
|
|
325
|
-
baseUri: string;
|
|
326
170
|
logoUri: string;
|
|
327
171
|
key?: string | undefined;
|
|
328
172
|
uuid?: string | undefined;
|
|
@@ -335,20 +179,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
335
179
|
updatedAt?: string | undefined;
|
|
336
180
|
archivedAt?: string | undefined;
|
|
337
181
|
parameters?: any;
|
|
338
|
-
parametersSchema?: DataSchema | undefined;
|
|
339
182
|
isTest?: boolean | undefined;
|
|
340
183
|
connectorId?: string | undefined;
|
|
341
184
|
connectorVersion?: string | undefined;
|
|
342
|
-
authOptions?: {
|
|
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
|
-
}[] | undefined;
|
|
352
185
|
oAuthCallbackUri?: string | undefined;
|
|
353
186
|
hasMissingParameters?: boolean | undefined;
|
|
354
187
|
hasDocumentation?: boolean | undefined;
|
|
@@ -380,44 +213,8 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
380
213
|
logoUri: z.ZodString;
|
|
381
214
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
382
215
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
383
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
384
|
-
key: z.ZodString;
|
|
385
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
386
|
-
title: z.ZodOptional<z.ZodString>;
|
|
387
|
-
description: z.ZodOptional<z.ZodString>;
|
|
388
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
389
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
390
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
391
|
-
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
schema?: any;
|
|
393
|
-
helpUri?: string | undefined;
|
|
394
|
-
}, {
|
|
395
|
-
schema?: any;
|
|
396
|
-
helpUri?: string | undefined;
|
|
397
|
-
}>>;
|
|
398
|
-
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
key: string;
|
|
400
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
401
|
-
description?: string | undefined;
|
|
402
|
-
title?: string | undefined;
|
|
403
|
-
ui?: {
|
|
404
|
-
schema?: any;
|
|
405
|
-
helpUri?: string | undefined;
|
|
406
|
-
} | undefined;
|
|
407
|
-
}, {
|
|
408
|
-
key: string;
|
|
409
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
410
|
-
description?: string | undefined;
|
|
411
|
-
title?: string | undefined;
|
|
412
|
-
ui?: {
|
|
413
|
-
schema?: any;
|
|
414
|
-
helpUri?: string | undefined;
|
|
415
|
-
} | undefined;
|
|
416
|
-
}>, "many">>;
|
|
417
216
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
418
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
419
217
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
420
|
-
baseUri: z.ZodString;
|
|
421
218
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
422
219
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
423
220
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -436,7 +233,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
436
233
|
}, "strip", z.ZodTypeAny, {
|
|
437
234
|
id: string;
|
|
438
235
|
name: string;
|
|
439
|
-
baseUri: string;
|
|
440
236
|
logoUri: string;
|
|
441
237
|
key?: string | undefined;
|
|
442
238
|
uuid?: string | undefined;
|
|
@@ -449,20 +245,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
449
245
|
updatedAt?: string | undefined;
|
|
450
246
|
archivedAt?: string | undefined;
|
|
451
247
|
parameters?: any;
|
|
452
|
-
parametersSchema?: DataSchema | undefined;
|
|
453
248
|
isTest?: boolean | undefined;
|
|
454
249
|
connectorId?: string | undefined;
|
|
455
250
|
connectorVersion?: string | undefined;
|
|
456
|
-
authOptions?: {
|
|
457
|
-
key: string;
|
|
458
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
459
|
-
description?: string | undefined;
|
|
460
|
-
title?: string | undefined;
|
|
461
|
-
ui?: {
|
|
462
|
-
schema?: any;
|
|
463
|
-
helpUri?: string | undefined;
|
|
464
|
-
} | undefined;
|
|
465
|
-
}[] | undefined;
|
|
466
251
|
oAuthCallbackUri?: string | undefined;
|
|
467
252
|
hasMissingParameters?: boolean | undefined;
|
|
468
253
|
hasDocumentation?: boolean | undefined;
|
|
@@ -479,7 +264,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
479
264
|
}, {
|
|
480
265
|
id: string;
|
|
481
266
|
name: string;
|
|
482
|
-
baseUri: string;
|
|
483
267
|
logoUri: string;
|
|
484
268
|
key?: string | undefined;
|
|
485
269
|
uuid?: string | undefined;
|
|
@@ -492,20 +276,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
492
276
|
updatedAt?: string | undefined;
|
|
493
277
|
archivedAt?: string | undefined;
|
|
494
278
|
parameters?: any;
|
|
495
|
-
parametersSchema?: DataSchema | undefined;
|
|
496
279
|
isTest?: boolean | undefined;
|
|
497
280
|
connectorId?: string | undefined;
|
|
498
281
|
connectorVersion?: string | undefined;
|
|
499
|
-
authOptions?: {
|
|
500
|
-
key: string;
|
|
501
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
502
|
-
description?: string | undefined;
|
|
503
|
-
title?: string | undefined;
|
|
504
|
-
ui?: {
|
|
505
|
-
schema?: any;
|
|
506
|
-
helpUri?: string | undefined;
|
|
507
|
-
} | undefined;
|
|
508
|
-
}[] | undefined;
|
|
509
282
|
oAuthCallbackUri?: string | undefined;
|
|
510
283
|
hasMissingParameters?: boolean | undefined;
|
|
511
284
|
hasDocumentation?: boolean | undefined;
|
|
@@ -537,44 +310,8 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
537
310
|
logoUri: z.ZodString;
|
|
538
311
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
539
312
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
540
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
-
key: z.ZodString;
|
|
542
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
543
|
-
title: z.ZodOptional<z.ZodString>;
|
|
544
|
-
description: z.ZodOptional<z.ZodString>;
|
|
545
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
546
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
547
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
548
|
-
}, "strip", z.ZodTypeAny, {
|
|
549
|
-
schema?: any;
|
|
550
|
-
helpUri?: string | undefined;
|
|
551
|
-
}, {
|
|
552
|
-
schema?: any;
|
|
553
|
-
helpUri?: string | undefined;
|
|
554
|
-
}>>;
|
|
555
|
-
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
key: string;
|
|
557
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
558
|
-
description?: string | undefined;
|
|
559
|
-
title?: string | undefined;
|
|
560
|
-
ui?: {
|
|
561
|
-
schema?: any;
|
|
562
|
-
helpUri?: string | undefined;
|
|
563
|
-
} | undefined;
|
|
564
|
-
}, {
|
|
565
|
-
key: string;
|
|
566
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
567
|
-
description?: string | undefined;
|
|
568
|
-
title?: string | undefined;
|
|
569
|
-
ui?: {
|
|
570
|
-
schema?: any;
|
|
571
|
-
helpUri?: string | undefined;
|
|
572
|
-
} | undefined;
|
|
573
|
-
}>, "many">>;
|
|
574
313
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
575
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
576
314
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
577
|
-
baseUri: z.ZodString;
|
|
578
315
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
579
316
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
580
317
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -593,7 +330,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
593
330
|
}, "strip", z.ZodTypeAny, {
|
|
594
331
|
id: string;
|
|
595
332
|
name: string;
|
|
596
|
-
baseUri: string;
|
|
597
333
|
logoUri: string;
|
|
598
334
|
key?: string | undefined;
|
|
599
335
|
uuid?: string | undefined;
|
|
@@ -606,20 +342,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
606
342
|
updatedAt?: string | undefined;
|
|
607
343
|
archivedAt?: string | undefined;
|
|
608
344
|
parameters?: any;
|
|
609
|
-
parametersSchema?: DataSchema | undefined;
|
|
610
345
|
isTest?: boolean | undefined;
|
|
611
346
|
connectorId?: string | undefined;
|
|
612
347
|
connectorVersion?: string | undefined;
|
|
613
|
-
authOptions?: {
|
|
614
|
-
key: string;
|
|
615
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
616
|
-
description?: string | undefined;
|
|
617
|
-
title?: string | undefined;
|
|
618
|
-
ui?: {
|
|
619
|
-
schema?: any;
|
|
620
|
-
helpUri?: string | undefined;
|
|
621
|
-
} | undefined;
|
|
622
|
-
}[] | undefined;
|
|
623
348
|
oAuthCallbackUri?: string | undefined;
|
|
624
349
|
hasMissingParameters?: boolean | undefined;
|
|
625
350
|
hasDocumentation?: boolean | undefined;
|
|
@@ -636,7 +361,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
636
361
|
}, {
|
|
637
362
|
id: string;
|
|
638
363
|
name: string;
|
|
639
|
-
baseUri: string;
|
|
640
364
|
logoUri: string;
|
|
641
365
|
key?: string | undefined;
|
|
642
366
|
uuid?: string | undefined;
|
|
@@ -649,20 +373,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
649
373
|
updatedAt?: string | undefined;
|
|
650
374
|
archivedAt?: string | undefined;
|
|
651
375
|
parameters?: any;
|
|
652
|
-
parametersSchema?: DataSchema | undefined;
|
|
653
376
|
isTest?: boolean | undefined;
|
|
654
377
|
connectorId?: string | undefined;
|
|
655
378
|
connectorVersion?: string | undefined;
|
|
656
|
-
authOptions?: {
|
|
657
|
-
key: string;
|
|
658
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
659
|
-
description?: string | undefined;
|
|
660
|
-
title?: string | undefined;
|
|
661
|
-
ui?: {
|
|
662
|
-
schema?: any;
|
|
663
|
-
helpUri?: string | undefined;
|
|
664
|
-
} | undefined;
|
|
665
|
-
}[] | undefined;
|
|
666
379
|
oAuthCallbackUri?: string | undefined;
|
|
667
380
|
hasMissingParameters?: boolean | undefined;
|
|
668
381
|
hasDocumentation?: boolean | undefined;
|
|
@@ -694,44 +407,8 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
694
407
|
logoUri: z.ZodString;
|
|
695
408
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
696
409
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
697
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
698
|
-
key: z.ZodString;
|
|
699
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
700
|
-
title: z.ZodOptional<z.ZodString>;
|
|
701
|
-
description: z.ZodOptional<z.ZodString>;
|
|
702
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
703
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
704
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
705
|
-
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
schema?: any;
|
|
707
|
-
helpUri?: string | undefined;
|
|
708
|
-
}, {
|
|
709
|
-
schema?: any;
|
|
710
|
-
helpUri?: string | undefined;
|
|
711
|
-
}>>;
|
|
712
|
-
}, "strip", z.ZodTypeAny, {
|
|
713
|
-
key: string;
|
|
714
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
715
|
-
description?: string | undefined;
|
|
716
|
-
title?: string | undefined;
|
|
717
|
-
ui?: {
|
|
718
|
-
schema?: any;
|
|
719
|
-
helpUri?: string | undefined;
|
|
720
|
-
} | undefined;
|
|
721
|
-
}, {
|
|
722
|
-
key: string;
|
|
723
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
724
|
-
description?: string | undefined;
|
|
725
|
-
title?: string | undefined;
|
|
726
|
-
ui?: {
|
|
727
|
-
schema?: any;
|
|
728
|
-
helpUri?: string | undefined;
|
|
729
|
-
} | undefined;
|
|
730
|
-
}>, "many">>;
|
|
731
410
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
732
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
733
411
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
734
|
-
baseUri: z.ZodString;
|
|
735
412
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
736
413
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
737
414
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -750,7 +427,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
750
427
|
}, "strip", z.ZodTypeAny, {
|
|
751
428
|
id: string;
|
|
752
429
|
name: string;
|
|
753
|
-
baseUri: string;
|
|
754
430
|
logoUri: string;
|
|
755
431
|
key?: string | undefined;
|
|
756
432
|
uuid?: string | undefined;
|
|
@@ -763,20 +439,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
763
439
|
updatedAt?: string | undefined;
|
|
764
440
|
archivedAt?: string | undefined;
|
|
765
441
|
parameters?: any;
|
|
766
|
-
parametersSchema?: DataSchema | undefined;
|
|
767
442
|
isTest?: boolean | undefined;
|
|
768
443
|
connectorId?: string | undefined;
|
|
769
444
|
connectorVersion?: string | undefined;
|
|
770
|
-
authOptions?: {
|
|
771
|
-
key: string;
|
|
772
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
773
|
-
description?: string | undefined;
|
|
774
|
-
title?: string | undefined;
|
|
775
|
-
ui?: {
|
|
776
|
-
schema?: any;
|
|
777
|
-
helpUri?: string | undefined;
|
|
778
|
-
} | undefined;
|
|
779
|
-
}[] | undefined;
|
|
780
445
|
oAuthCallbackUri?: string | undefined;
|
|
781
446
|
hasMissingParameters?: boolean | undefined;
|
|
782
447
|
hasDocumentation?: boolean | undefined;
|
|
@@ -793,7 +458,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
793
458
|
}, {
|
|
794
459
|
id: string;
|
|
795
460
|
name: string;
|
|
796
|
-
baseUri: string;
|
|
797
461
|
logoUri: string;
|
|
798
462
|
key?: string | undefined;
|
|
799
463
|
uuid?: string | undefined;
|
|
@@ -806,20 +470,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
806
470
|
updatedAt?: string | undefined;
|
|
807
471
|
archivedAt?: string | undefined;
|
|
808
472
|
parameters?: any;
|
|
809
|
-
parametersSchema?: DataSchema | undefined;
|
|
810
473
|
isTest?: boolean | undefined;
|
|
811
474
|
connectorId?: string | undefined;
|
|
812
475
|
connectorVersion?: string | undefined;
|
|
813
|
-
authOptions?: {
|
|
814
|
-
key: string;
|
|
815
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
816
|
-
description?: string | undefined;
|
|
817
|
-
title?: string | undefined;
|
|
818
|
-
ui?: {
|
|
819
|
-
schema?: any;
|
|
820
|
-
helpUri?: string | undefined;
|
|
821
|
-
} | undefined;
|
|
822
|
-
}[] | undefined;
|
|
823
476
|
oAuthCallbackUri?: string | undefined;
|
|
824
477
|
hasMissingParameters?: boolean | undefined;
|
|
825
478
|
hasDocumentation?: boolean | undefined;
|
|
@@ -851,44 +504,8 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
851
504
|
logoUri: z.ZodString;
|
|
852
505
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
853
506
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
854
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
855
|
-
key: z.ZodString;
|
|
856
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
857
|
-
title: z.ZodOptional<z.ZodString>;
|
|
858
|
-
description: z.ZodOptional<z.ZodString>;
|
|
859
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
860
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
861
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
862
|
-
}, "strip", z.ZodTypeAny, {
|
|
863
|
-
schema?: any;
|
|
864
|
-
helpUri?: string | undefined;
|
|
865
|
-
}, {
|
|
866
|
-
schema?: any;
|
|
867
|
-
helpUri?: string | undefined;
|
|
868
|
-
}>>;
|
|
869
|
-
}, "strip", z.ZodTypeAny, {
|
|
870
|
-
key: string;
|
|
871
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
872
|
-
description?: string | undefined;
|
|
873
|
-
title?: string | undefined;
|
|
874
|
-
ui?: {
|
|
875
|
-
schema?: any;
|
|
876
|
-
helpUri?: string | undefined;
|
|
877
|
-
} | undefined;
|
|
878
|
-
}, {
|
|
879
|
-
key: string;
|
|
880
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
881
|
-
description?: string | undefined;
|
|
882
|
-
title?: string | undefined;
|
|
883
|
-
ui?: {
|
|
884
|
-
schema?: any;
|
|
885
|
-
helpUri?: string | undefined;
|
|
886
|
-
} | undefined;
|
|
887
|
-
}>, "many">>;
|
|
888
507
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
889
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
890
508
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
891
|
-
baseUri: z.ZodString;
|
|
892
509
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
893
510
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
894
511
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -907,7 +524,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
907
524
|
}, "strip", z.ZodTypeAny, {
|
|
908
525
|
id: string;
|
|
909
526
|
name: string;
|
|
910
|
-
baseUri: string;
|
|
911
527
|
logoUri: string;
|
|
912
528
|
key?: string | undefined;
|
|
913
529
|
uuid?: string | undefined;
|
|
@@ -920,20 +536,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
920
536
|
updatedAt?: string | undefined;
|
|
921
537
|
archivedAt?: string | undefined;
|
|
922
538
|
parameters?: any;
|
|
923
|
-
parametersSchema?: DataSchema | undefined;
|
|
924
539
|
isTest?: boolean | undefined;
|
|
925
540
|
connectorId?: string | undefined;
|
|
926
541
|
connectorVersion?: string | undefined;
|
|
927
|
-
authOptions?: {
|
|
928
|
-
key: string;
|
|
929
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
930
|
-
description?: string | undefined;
|
|
931
|
-
title?: string | undefined;
|
|
932
|
-
ui?: {
|
|
933
|
-
schema?: any;
|
|
934
|
-
helpUri?: string | undefined;
|
|
935
|
-
} | undefined;
|
|
936
|
-
}[] | undefined;
|
|
937
542
|
oAuthCallbackUri?: string | undefined;
|
|
938
543
|
hasMissingParameters?: boolean | undefined;
|
|
939
544
|
hasDocumentation?: boolean | undefined;
|
|
@@ -950,7 +555,6 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
950
555
|
}, {
|
|
951
556
|
id: string;
|
|
952
557
|
name: string;
|
|
953
|
-
baseUri: string;
|
|
954
558
|
logoUri: string;
|
|
955
559
|
key?: string | undefined;
|
|
956
560
|
uuid?: string | undefined;
|
|
@@ -963,20 +567,9 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
963
567
|
updatedAt?: string | undefined;
|
|
964
568
|
archivedAt?: string | undefined;
|
|
965
569
|
parameters?: any;
|
|
966
|
-
parametersSchema?: DataSchema | undefined;
|
|
967
570
|
isTest?: boolean | undefined;
|
|
968
571
|
connectorId?: string | undefined;
|
|
969
572
|
connectorVersion?: string | undefined;
|
|
970
|
-
authOptions?: {
|
|
971
|
-
key: string;
|
|
972
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
973
|
-
description?: string | undefined;
|
|
974
|
-
title?: string | undefined;
|
|
975
|
-
ui?: {
|
|
976
|
-
schema?: any;
|
|
977
|
-
helpUri?: string | undefined;
|
|
978
|
-
} | undefined;
|
|
979
|
-
}[] | undefined;
|
|
980
573
|
oAuthCallbackUri?: string | undefined;
|
|
981
574
|
hasMissingParameters?: boolean | undefined;
|
|
982
575
|
hasDocumentation?: boolean | undefined;
|
|
@@ -122,7 +122,7 @@ export interface WorkspaceLimit {
|
|
|
122
122
|
defaultValue?: number;
|
|
123
123
|
unit: LimitUnits;
|
|
124
124
|
}
|
|
125
|
-
export type WorkspaceLimits = Record<ParallelExecutionLimits, WorkspaceLimit> & Record<RateLimits, WorkspaceLimit> & Record<WorkspaceSizeLimits, WorkspaceLimit> & Record<CustomerLimits, WorkspaceLimit
|
|
125
|
+
export type WorkspaceLimits = Partial<Record<ParallelExecutionLimits, WorkspaceLimit> & Record<RateLimits, WorkspaceLimit> & Record<WorkspaceSizeLimits, WorkspaceLimit> & Record<CustomerLimits, WorkspaceLimit>>;
|
|
126
126
|
export interface EngineWorkspaceWithOrgData {
|
|
127
127
|
id: string;
|
|
128
128
|
key: string;
|