@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
|
@@ -84,9 +84,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
84
84
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
85
85
|
error: any;
|
|
86
86
|
integrationId: z.ZodString;
|
|
87
|
-
|
|
88
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
89
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
87
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
90
88
|
createdAt: z.ZodString;
|
|
91
89
|
updatedAt: z.ZodString;
|
|
92
90
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -146,44 +144,8 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
146
144
|
logoUri: z.ZodString;
|
|
147
145
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
148
146
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
149
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
-
key: z.ZodString;
|
|
151
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
152
|
-
title: z.ZodOptional<z.ZodString>;
|
|
153
|
-
description: z.ZodOptional<z.ZodString>;
|
|
154
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
155
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
156
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
schema?: any;
|
|
159
|
-
helpUri?: string | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
schema?: any;
|
|
162
|
-
helpUri?: string | undefined;
|
|
163
|
-
}>>;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
key: string;
|
|
166
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
167
|
-
description?: string | undefined;
|
|
168
|
-
title?: string | undefined;
|
|
169
|
-
ui?: {
|
|
170
|
-
schema?: any;
|
|
171
|
-
helpUri?: string | undefined;
|
|
172
|
-
} | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
key: string;
|
|
175
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
176
|
-
description?: string | undefined;
|
|
177
|
-
title?: string | undefined;
|
|
178
|
-
ui?: {
|
|
179
|
-
schema?: any;
|
|
180
|
-
helpUri?: string | undefined;
|
|
181
|
-
} | undefined;
|
|
182
|
-
}>, "many">>;
|
|
183
147
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
184
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
185
148
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
186
|
-
baseUri: z.ZodString;
|
|
187
149
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
188
150
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
189
151
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -202,7 +164,6 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
202
164
|
}, "strip", z.ZodTypeAny, {
|
|
203
165
|
id: string;
|
|
204
166
|
name: string;
|
|
205
|
-
baseUri: string;
|
|
206
167
|
logoUri: string;
|
|
207
168
|
key?: string | undefined;
|
|
208
169
|
uuid?: string | undefined;
|
|
@@ -215,20 +176,9 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
215
176
|
updatedAt?: string | undefined;
|
|
216
177
|
archivedAt?: string | undefined;
|
|
217
178
|
parameters?: any;
|
|
218
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
219
179
|
isTest?: boolean | undefined;
|
|
220
180
|
connectorId?: string | undefined;
|
|
221
181
|
connectorVersion?: string | undefined;
|
|
222
|
-
authOptions?: {
|
|
223
|
-
key: string;
|
|
224
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
225
|
-
description?: string | undefined;
|
|
226
|
-
title?: string | undefined;
|
|
227
|
-
ui?: {
|
|
228
|
-
schema?: any;
|
|
229
|
-
helpUri?: string | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
}[] | undefined;
|
|
232
182
|
oAuthCallbackUri?: string | undefined;
|
|
233
183
|
hasMissingParameters?: boolean | undefined;
|
|
234
184
|
hasDocumentation?: boolean | undefined;
|
|
@@ -245,7 +195,6 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
245
195
|
}, {
|
|
246
196
|
id: string;
|
|
247
197
|
name: string;
|
|
248
|
-
baseUri: string;
|
|
249
198
|
logoUri: string;
|
|
250
199
|
key?: string | undefined;
|
|
251
200
|
uuid?: string | undefined;
|
|
@@ -258,20 +207,9 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
258
207
|
updatedAt?: string | undefined;
|
|
259
208
|
archivedAt?: string | undefined;
|
|
260
209
|
parameters?: any;
|
|
261
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
262
210
|
isTest?: boolean | undefined;
|
|
263
211
|
connectorId?: string | undefined;
|
|
264
212
|
connectorVersion?: string | undefined;
|
|
265
|
-
authOptions?: {
|
|
266
|
-
key: string;
|
|
267
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
268
|
-
description?: string | undefined;
|
|
269
|
-
title?: string | undefined;
|
|
270
|
-
ui?: {
|
|
271
|
-
schema?: any;
|
|
272
|
-
helpUri?: string | undefined;
|
|
273
|
-
} | undefined;
|
|
274
|
-
}[] | undefined;
|
|
275
213
|
oAuthCallbackUri?: string | undefined;
|
|
276
214
|
hasMissingParameters?: boolean | undefined;
|
|
277
215
|
hasDocumentation?: boolean | undefined;
|
|
@@ -297,7 +235,6 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
297
235
|
integration?: {
|
|
298
236
|
id: string;
|
|
299
237
|
name: string;
|
|
300
|
-
baseUri: string;
|
|
301
238
|
logoUri: string;
|
|
302
239
|
key?: string | undefined;
|
|
303
240
|
uuid?: string | undefined;
|
|
@@ -310,20 +247,291 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
310
247
|
updatedAt?: string | undefined;
|
|
311
248
|
archivedAt?: string | undefined;
|
|
312
249
|
parameters?: any;
|
|
313
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
314
250
|
isTest?: boolean | undefined;
|
|
315
251
|
connectorId?: string | undefined;
|
|
316
252
|
connectorVersion?: string | undefined;
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
253
|
+
oAuthCallbackUri?: string | undefined;
|
|
254
|
+
hasMissingParameters?: boolean | undefined;
|
|
255
|
+
hasDocumentation?: boolean | undefined;
|
|
256
|
+
hasOperations?: boolean | undefined;
|
|
257
|
+
operationsCount?: number | undefined;
|
|
258
|
+
hasData?: boolean | undefined;
|
|
259
|
+
dataCollectionsCount?: number | undefined;
|
|
260
|
+
hasEvents?: boolean | undefined;
|
|
261
|
+
eventsCount?: number | undefined;
|
|
262
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
263
|
+
hasUdm?: boolean | undefined;
|
|
264
|
+
appUuid?: string | undefined;
|
|
265
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
268
|
+
errors?: any[] | undefined;
|
|
269
|
+
isDeactivated?: boolean | undefined;
|
|
270
|
+
archivedAt?: string | undefined;
|
|
271
|
+
authOptionKey?: string | undefined;
|
|
272
|
+
user?: {
|
|
273
|
+
id: string;
|
|
274
|
+
name: string;
|
|
275
|
+
internalId: string;
|
|
276
|
+
createdAt?: string | undefined;
|
|
277
|
+
archivedAt?: string | undefined;
|
|
278
|
+
credentials?: any;
|
|
279
|
+
fields?: Record<string, any> | undefined;
|
|
280
|
+
isTest?: boolean | undefined;
|
|
281
|
+
lastActiveAt?: string | undefined;
|
|
282
|
+
isBillable?: boolean | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
isTest?: boolean | undefined;
|
|
285
|
+
disconnected?: boolean | undefined;
|
|
286
|
+
isDefunct?: boolean | undefined;
|
|
287
|
+
lastActiveAt?: string | undefined;
|
|
288
|
+
nextCredentialsRefreshAt?: string | undefined;
|
|
289
|
+
meta?: Record<string, any> | undefined;
|
|
290
|
+
}, {
|
|
291
|
+
id: string;
|
|
292
|
+
name: string;
|
|
293
|
+
createdAt: string;
|
|
294
|
+
updatedAt: string;
|
|
295
|
+
userId: string;
|
|
296
|
+
integrationId: string;
|
|
297
|
+
error?: any;
|
|
298
|
+
integration?: {
|
|
299
|
+
id: string;
|
|
300
|
+
name: string;
|
|
301
|
+
logoUri: string;
|
|
302
|
+
key?: string | undefined;
|
|
303
|
+
uuid?: string | undefined;
|
|
304
|
+
description?: string | undefined;
|
|
305
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
306
|
+
errors?: any[] | undefined;
|
|
307
|
+
revision?: string | undefined;
|
|
308
|
+
isDeactivated?: boolean | undefined;
|
|
309
|
+
createdAt?: string | undefined;
|
|
310
|
+
updatedAt?: string | undefined;
|
|
311
|
+
archivedAt?: string | undefined;
|
|
312
|
+
parameters?: any;
|
|
313
|
+
isTest?: boolean | undefined;
|
|
314
|
+
connectorId?: string | undefined;
|
|
315
|
+
connectorVersion?: string | undefined;
|
|
316
|
+
oAuthCallbackUri?: string | undefined;
|
|
317
|
+
hasMissingParameters?: boolean | undefined;
|
|
318
|
+
hasDocumentation?: boolean | undefined;
|
|
319
|
+
hasOperations?: boolean | undefined;
|
|
320
|
+
operationsCount?: number | undefined;
|
|
321
|
+
hasData?: boolean | undefined;
|
|
322
|
+
dataCollectionsCount?: number | undefined;
|
|
323
|
+
hasEvents?: boolean | undefined;
|
|
324
|
+
eventsCount?: number | undefined;
|
|
325
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
326
|
+
hasUdm?: boolean | undefined;
|
|
327
|
+
appUuid?: string | undefined;
|
|
328
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
331
|
+
errors?: any[] | undefined;
|
|
332
|
+
isDeactivated?: boolean | undefined;
|
|
333
|
+
archivedAt?: string | undefined;
|
|
334
|
+
authOptionKey?: string | undefined;
|
|
335
|
+
user?: {
|
|
336
|
+
id: string;
|
|
337
|
+
name: string;
|
|
338
|
+
internalId: string;
|
|
339
|
+
createdAt?: string | undefined;
|
|
340
|
+
archivedAt?: string | undefined;
|
|
341
|
+
credentials?: any;
|
|
342
|
+
fields?: Record<string, any> | undefined;
|
|
343
|
+
isTest?: boolean | undefined;
|
|
344
|
+
lastActiveAt?: string | undefined;
|
|
345
|
+
isBillable?: boolean | undefined;
|
|
346
|
+
} | undefined;
|
|
347
|
+
isTest?: boolean | undefined;
|
|
348
|
+
disconnected?: boolean | undefined;
|
|
349
|
+
isDefunct?: boolean | undefined;
|
|
350
|
+
lastActiveAt?: string | undefined;
|
|
351
|
+
nextCredentialsRefreshAt?: string | undefined;
|
|
352
|
+
meta?: Record<string, any> | undefined;
|
|
353
|
+
}>;
|
|
354
|
+
export type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
|
|
355
|
+
export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
356
|
+
id: z.ZodString;
|
|
357
|
+
} & {
|
|
358
|
+
name: z.ZodString;
|
|
359
|
+
userId: z.ZodString;
|
|
360
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
362
|
+
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
+
error: any;
|
|
364
|
+
integrationId: z.ZodString;
|
|
365
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
366
|
+
createdAt: z.ZodString;
|
|
367
|
+
updatedAt: z.ZodString;
|
|
368
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
369
|
+
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
370
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
371
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
373
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
374
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
375
|
+
} & {
|
|
376
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
id: z.ZodString;
|
|
378
|
+
name: z.ZodString;
|
|
379
|
+
internalId: z.ZodString;
|
|
380
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
381
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
382
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
383
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
386
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
internalId: string;
|
|
391
|
+
createdAt?: string | undefined;
|
|
392
|
+
archivedAt?: string | undefined;
|
|
393
|
+
credentials?: any;
|
|
394
|
+
fields?: Record<string, any> | undefined;
|
|
395
|
+
isTest?: boolean | undefined;
|
|
396
|
+
lastActiveAt?: string | undefined;
|
|
397
|
+
isBillable?: boolean | undefined;
|
|
398
|
+
}, {
|
|
399
|
+
id: string;
|
|
400
|
+
name: string;
|
|
401
|
+
internalId: string;
|
|
402
|
+
createdAt?: string | undefined;
|
|
403
|
+
archivedAt?: string | undefined;
|
|
404
|
+
credentials?: any;
|
|
405
|
+
fields?: Record<string, any> | undefined;
|
|
406
|
+
isTest?: boolean | undefined;
|
|
407
|
+
lastActiveAt?: string | undefined;
|
|
408
|
+
isBillable?: boolean | undefined;
|
|
409
|
+
}>>;
|
|
410
|
+
integration: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
id: z.ZodString;
|
|
412
|
+
name: z.ZodString;
|
|
413
|
+
key: z.ZodOptional<z.ZodString>;
|
|
414
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
415
|
+
description: z.ZodOptional<z.ZodString>;
|
|
416
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
417
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
418
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
419
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
420
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
421
|
+
} & {
|
|
422
|
+
logoUri: z.ZodString;
|
|
423
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
424
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
425
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
426
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
427
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
428
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
431
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
433
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
435
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
440
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
442
|
+
}, "strip", z.ZodTypeAny, {
|
|
443
|
+
id: string;
|
|
444
|
+
name: string;
|
|
445
|
+
logoUri: string;
|
|
446
|
+
key?: string | undefined;
|
|
447
|
+
uuid?: string | undefined;
|
|
448
|
+
description?: string | undefined;
|
|
449
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
450
|
+
errors?: any[] | undefined;
|
|
451
|
+
revision?: string | undefined;
|
|
452
|
+
isDeactivated?: boolean | undefined;
|
|
453
|
+
createdAt?: string | undefined;
|
|
454
|
+
updatedAt?: string | undefined;
|
|
455
|
+
archivedAt?: string | undefined;
|
|
456
|
+
parameters?: any;
|
|
457
|
+
isTest?: boolean | undefined;
|
|
458
|
+
connectorId?: string | undefined;
|
|
459
|
+
connectorVersion?: string | undefined;
|
|
460
|
+
oAuthCallbackUri?: string | undefined;
|
|
461
|
+
hasMissingParameters?: boolean | undefined;
|
|
462
|
+
hasDocumentation?: boolean | undefined;
|
|
463
|
+
hasOperations?: boolean | undefined;
|
|
464
|
+
operationsCount?: number | undefined;
|
|
465
|
+
hasData?: boolean | undefined;
|
|
466
|
+
dataCollectionsCount?: number | undefined;
|
|
467
|
+
hasEvents?: boolean | undefined;
|
|
468
|
+
eventsCount?: number | undefined;
|
|
469
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
470
|
+
hasUdm?: boolean | undefined;
|
|
471
|
+
appUuid?: string | undefined;
|
|
472
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
473
|
+
}, {
|
|
474
|
+
id: string;
|
|
475
|
+
name: string;
|
|
476
|
+
logoUri: string;
|
|
477
|
+
key?: string | undefined;
|
|
478
|
+
uuid?: string | undefined;
|
|
479
|
+
description?: string | undefined;
|
|
480
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
481
|
+
errors?: any[] | undefined;
|
|
482
|
+
revision?: string | undefined;
|
|
483
|
+
isDeactivated?: boolean | undefined;
|
|
484
|
+
createdAt?: string | undefined;
|
|
485
|
+
updatedAt?: string | undefined;
|
|
486
|
+
archivedAt?: string | undefined;
|
|
487
|
+
parameters?: any;
|
|
488
|
+
isTest?: boolean | undefined;
|
|
489
|
+
connectorId?: string | undefined;
|
|
490
|
+
connectorVersion?: string | undefined;
|
|
491
|
+
oAuthCallbackUri?: string | undefined;
|
|
492
|
+
hasMissingParameters?: boolean | undefined;
|
|
493
|
+
hasDocumentation?: boolean | undefined;
|
|
494
|
+
hasOperations?: boolean | undefined;
|
|
495
|
+
operationsCount?: number | undefined;
|
|
496
|
+
hasData?: boolean | undefined;
|
|
497
|
+
dataCollectionsCount?: number | undefined;
|
|
498
|
+
hasEvents?: boolean | undefined;
|
|
499
|
+
eventsCount?: number | undefined;
|
|
500
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
501
|
+
hasUdm?: boolean | undefined;
|
|
502
|
+
appUuid?: string | undefined;
|
|
503
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
504
|
+
}>>;
|
|
505
|
+
} & {
|
|
506
|
+
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
507
|
+
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
508
|
+
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
|
510
|
+
id: string;
|
|
511
|
+
name: string;
|
|
512
|
+
createdAt: string;
|
|
513
|
+
updatedAt: string;
|
|
514
|
+
userId: string;
|
|
515
|
+
integrationId: string;
|
|
516
|
+
error?: any;
|
|
517
|
+
integration?: {
|
|
518
|
+
id: string;
|
|
519
|
+
name: string;
|
|
520
|
+
logoUri: string;
|
|
521
|
+
key?: string | undefined;
|
|
522
|
+
uuid?: string | undefined;
|
|
523
|
+
description?: string | undefined;
|
|
524
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
525
|
+
errors?: any[] | undefined;
|
|
526
|
+
revision?: string | undefined;
|
|
527
|
+
isDeactivated?: boolean | undefined;
|
|
528
|
+
createdAt?: string | undefined;
|
|
529
|
+
updatedAt?: string | undefined;
|
|
530
|
+
archivedAt?: string | undefined;
|
|
531
|
+
parameters?: any;
|
|
532
|
+
isTest?: boolean | undefined;
|
|
533
|
+
connectorId?: string | undefined;
|
|
534
|
+
connectorVersion?: string | undefined;
|
|
327
535
|
oAuthCallbackUri?: string | undefined;
|
|
328
536
|
hasMissingParameters?: boolean | undefined;
|
|
329
537
|
hasDocumentation?: boolean | undefined;
|
|
@@ -344,6 +552,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
344
552
|
archivedAt?: string | undefined;
|
|
345
553
|
credentials?: unknown;
|
|
346
554
|
parameters?: unknown;
|
|
555
|
+
authOptionKey?: string | undefined;
|
|
347
556
|
connectorParameters?: unknown;
|
|
348
557
|
user?: {
|
|
349
558
|
id: string;
|
|
@@ -374,7 +583,6 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
374
583
|
integration?: {
|
|
375
584
|
id: string;
|
|
376
585
|
name: string;
|
|
377
|
-
baseUri: string;
|
|
378
586
|
logoUri: string;
|
|
379
587
|
key?: string | undefined;
|
|
380
588
|
uuid?: string | undefined;
|
|
@@ -387,20 +595,9 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
387
595
|
updatedAt?: string | undefined;
|
|
388
596
|
archivedAt?: string | undefined;
|
|
389
597
|
parameters?: any;
|
|
390
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
391
598
|
isTest?: boolean | undefined;
|
|
392
599
|
connectorId?: string | undefined;
|
|
393
600
|
connectorVersion?: string | undefined;
|
|
394
|
-
authOptions?: {
|
|
395
|
-
key: string;
|
|
396
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
397
|
-
description?: string | undefined;
|
|
398
|
-
title?: string | undefined;
|
|
399
|
-
ui?: {
|
|
400
|
-
schema?: any;
|
|
401
|
-
helpUri?: string | undefined;
|
|
402
|
-
} | undefined;
|
|
403
|
-
}[] | undefined;
|
|
404
601
|
oAuthCallbackUri?: string | undefined;
|
|
405
602
|
hasMissingParameters?: boolean | undefined;
|
|
406
603
|
hasDocumentation?: boolean | undefined;
|
|
@@ -421,6 +618,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
421
618
|
archivedAt?: string | undefined;
|
|
422
619
|
credentials?: unknown;
|
|
423
620
|
parameters?: unknown;
|
|
621
|
+
authOptionKey?: string | undefined;
|
|
424
622
|
connectorParameters?: unknown;
|
|
425
623
|
user?: {
|
|
426
624
|
id: string;
|
|
@@ -441,7 +639,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
441
639
|
nextCredentialsRefreshAt?: string | undefined;
|
|
442
640
|
meta?: Record<string, any> | undefined;
|
|
443
641
|
}>;
|
|
444
|
-
export type
|
|
642
|
+
export type ConnectionApiResponseWithSecrets = z.infer<typeof ConnectionApiResponseWithSecrets>;
|
|
445
643
|
export type Connection = ConnectionApiResponse;
|
|
446
644
|
export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
447
645
|
source: z.ZodString;
|
|
@@ -457,9 +655,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
457
655
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
458
656
|
error: any;
|
|
459
657
|
integrationId: z.ZodString;
|
|
460
|
-
|
|
461
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
462
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
658
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
463
659
|
createdAt: z.ZodString;
|
|
464
660
|
updatedAt: z.ZodString;
|
|
465
661
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -519,44 +715,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
519
715
|
logoUri: z.ZodString;
|
|
520
716
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
521
717
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
522
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
523
|
-
key: z.ZodString;
|
|
524
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
525
|
-
title: z.ZodOptional<z.ZodString>;
|
|
526
|
-
description: z.ZodOptional<z.ZodString>;
|
|
527
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
528
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
529
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
530
|
-
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
schema?: any;
|
|
532
|
-
helpUri?: string | undefined;
|
|
533
|
-
}, {
|
|
534
|
-
schema?: any;
|
|
535
|
-
helpUri?: string | undefined;
|
|
536
|
-
}>>;
|
|
537
|
-
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
key: string;
|
|
539
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
540
|
-
description?: string | undefined;
|
|
541
|
-
title?: string | undefined;
|
|
542
|
-
ui?: {
|
|
543
|
-
schema?: any;
|
|
544
|
-
helpUri?: string | undefined;
|
|
545
|
-
} | undefined;
|
|
546
|
-
}, {
|
|
547
|
-
key: string;
|
|
548
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
549
|
-
description?: string | undefined;
|
|
550
|
-
title?: string | undefined;
|
|
551
|
-
ui?: {
|
|
552
|
-
schema?: any;
|
|
553
|
-
helpUri?: string | undefined;
|
|
554
|
-
} | undefined;
|
|
555
|
-
}>, "many">>;
|
|
556
718
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
557
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
558
719
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
559
|
-
baseUri: z.ZodString;
|
|
560
720
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
561
721
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
562
722
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -575,7 +735,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
575
735
|
}, "strip", z.ZodTypeAny, {
|
|
576
736
|
id: string;
|
|
577
737
|
name: string;
|
|
578
|
-
baseUri: string;
|
|
579
738
|
logoUri: string;
|
|
580
739
|
key?: string | undefined;
|
|
581
740
|
uuid?: string | undefined;
|
|
@@ -588,20 +747,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
588
747
|
updatedAt?: string | undefined;
|
|
589
748
|
archivedAt?: string | undefined;
|
|
590
749
|
parameters?: any;
|
|
591
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
592
750
|
isTest?: boolean | undefined;
|
|
593
751
|
connectorId?: string | undefined;
|
|
594
752
|
connectorVersion?: string | undefined;
|
|
595
|
-
authOptions?: {
|
|
596
|
-
key: string;
|
|
597
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
598
|
-
description?: string | undefined;
|
|
599
|
-
title?: string | undefined;
|
|
600
|
-
ui?: {
|
|
601
|
-
schema?: any;
|
|
602
|
-
helpUri?: string | undefined;
|
|
603
|
-
} | undefined;
|
|
604
|
-
}[] | undefined;
|
|
605
753
|
oAuthCallbackUri?: string | undefined;
|
|
606
754
|
hasMissingParameters?: boolean | undefined;
|
|
607
755
|
hasDocumentation?: boolean | undefined;
|
|
@@ -618,7 +766,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
618
766
|
}, {
|
|
619
767
|
id: string;
|
|
620
768
|
name: string;
|
|
621
|
-
baseUri: string;
|
|
622
769
|
logoUri: string;
|
|
623
770
|
key?: string | undefined;
|
|
624
771
|
uuid?: string | undefined;
|
|
@@ -631,20 +778,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
631
778
|
updatedAt?: string | undefined;
|
|
632
779
|
archivedAt?: string | undefined;
|
|
633
780
|
parameters?: any;
|
|
634
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
635
781
|
isTest?: boolean | undefined;
|
|
636
782
|
connectorId?: string | undefined;
|
|
637
783
|
connectorVersion?: string | undefined;
|
|
638
|
-
authOptions?: {
|
|
639
|
-
key: string;
|
|
640
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
641
|
-
description?: string | undefined;
|
|
642
|
-
title?: string | undefined;
|
|
643
|
-
ui?: {
|
|
644
|
-
schema?: any;
|
|
645
|
-
helpUri?: string | undefined;
|
|
646
|
-
} | undefined;
|
|
647
|
-
}[] | undefined;
|
|
648
784
|
oAuthCallbackUri?: string | undefined;
|
|
649
785
|
hasMissingParameters?: boolean | undefined;
|
|
650
786
|
hasDocumentation?: boolean | undefined;
|
|
@@ -670,7 +806,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
670
806
|
integration?: {
|
|
671
807
|
id: string;
|
|
672
808
|
name: string;
|
|
673
|
-
baseUri: string;
|
|
674
809
|
logoUri: string;
|
|
675
810
|
key?: string | undefined;
|
|
676
811
|
uuid?: string | undefined;
|
|
@@ -683,20 +818,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
683
818
|
updatedAt?: string | undefined;
|
|
684
819
|
archivedAt?: string | undefined;
|
|
685
820
|
parameters?: any;
|
|
686
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
687
821
|
isTest?: boolean | undefined;
|
|
688
822
|
connectorId?: string | undefined;
|
|
689
823
|
connectorVersion?: string | undefined;
|
|
690
|
-
authOptions?: {
|
|
691
|
-
key: string;
|
|
692
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
693
|
-
description?: string | undefined;
|
|
694
|
-
title?: string | undefined;
|
|
695
|
-
ui?: {
|
|
696
|
-
schema?: any;
|
|
697
|
-
helpUri?: string | undefined;
|
|
698
|
-
} | undefined;
|
|
699
|
-
}[] | undefined;
|
|
700
824
|
oAuthCallbackUri?: string | undefined;
|
|
701
825
|
hasMissingParameters?: boolean | undefined;
|
|
702
826
|
hasDocumentation?: boolean | undefined;
|
|
@@ -715,9 +839,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
715
839
|
errors?: any[] | undefined;
|
|
716
840
|
isDeactivated?: boolean | undefined;
|
|
717
841
|
archivedAt?: string | undefined;
|
|
718
|
-
|
|
719
|
-
parameters?: unknown;
|
|
720
|
-
connectorParameters?: unknown;
|
|
842
|
+
authOptionKey?: string | undefined;
|
|
721
843
|
user?: {
|
|
722
844
|
id: string;
|
|
723
845
|
name: string;
|
|
@@ -747,7 +869,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
747
869
|
integration?: {
|
|
748
870
|
id: string;
|
|
749
871
|
name: string;
|
|
750
|
-
baseUri: string;
|
|
751
872
|
logoUri: string;
|
|
752
873
|
key?: string | undefined;
|
|
753
874
|
uuid?: string | undefined;
|
|
@@ -760,20 +881,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
760
881
|
updatedAt?: string | undefined;
|
|
761
882
|
archivedAt?: string | undefined;
|
|
762
883
|
parameters?: any;
|
|
763
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
764
884
|
isTest?: boolean | undefined;
|
|
765
885
|
connectorId?: string | undefined;
|
|
766
886
|
connectorVersion?: string | undefined;
|
|
767
|
-
authOptions?: {
|
|
768
|
-
key: string;
|
|
769
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
770
|
-
description?: string | undefined;
|
|
771
|
-
title?: string | undefined;
|
|
772
|
-
ui?: {
|
|
773
|
-
schema?: any;
|
|
774
|
-
helpUri?: string | undefined;
|
|
775
|
-
} | undefined;
|
|
776
|
-
}[] | undefined;
|
|
777
887
|
oAuthCallbackUri?: string | undefined;
|
|
778
888
|
hasMissingParameters?: boolean | undefined;
|
|
779
889
|
hasDocumentation?: boolean | undefined;
|
|
@@ -792,9 +902,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
792
902
|
errors?: any[] | undefined;
|
|
793
903
|
isDeactivated?: boolean | undefined;
|
|
794
904
|
archivedAt?: string | undefined;
|
|
795
|
-
|
|
796
|
-
parameters?: unknown;
|
|
797
|
-
connectorParameters?: unknown;
|
|
905
|
+
authOptionKey?: string | undefined;
|
|
798
906
|
user?: {
|
|
799
907
|
id: string;
|
|
800
908
|
name: string;
|
|
@@ -826,7 +934,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
826
934
|
integration?: {
|
|
827
935
|
id: string;
|
|
828
936
|
name: string;
|
|
829
|
-
baseUri: string;
|
|
830
937
|
logoUri: string;
|
|
831
938
|
key?: string | undefined;
|
|
832
939
|
uuid?: string | undefined;
|
|
@@ -839,20 +946,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
839
946
|
updatedAt?: string | undefined;
|
|
840
947
|
archivedAt?: string | undefined;
|
|
841
948
|
parameters?: any;
|
|
842
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
843
949
|
isTest?: boolean | undefined;
|
|
844
950
|
connectorId?: string | undefined;
|
|
845
951
|
connectorVersion?: string | undefined;
|
|
846
|
-
authOptions?: {
|
|
847
|
-
key: string;
|
|
848
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
849
|
-
description?: string | undefined;
|
|
850
|
-
title?: string | undefined;
|
|
851
|
-
ui?: {
|
|
852
|
-
schema?: any;
|
|
853
|
-
helpUri?: string | undefined;
|
|
854
|
-
} | undefined;
|
|
855
|
-
}[] | undefined;
|
|
856
952
|
oAuthCallbackUri?: string | undefined;
|
|
857
953
|
hasMissingParameters?: boolean | undefined;
|
|
858
954
|
hasDocumentation?: boolean | undefined;
|
|
@@ -871,9 +967,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
871
967
|
errors?: any[] | undefined;
|
|
872
968
|
isDeactivated?: boolean | undefined;
|
|
873
969
|
archivedAt?: string | undefined;
|
|
874
|
-
|
|
875
|
-
parameters?: unknown;
|
|
876
|
-
connectorParameters?: unknown;
|
|
970
|
+
authOptionKey?: string | undefined;
|
|
877
971
|
user?: {
|
|
878
972
|
id: string;
|
|
879
973
|
name: string;
|
|
@@ -908,7 +1002,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
908
1002
|
integration?: {
|
|
909
1003
|
id: string;
|
|
910
1004
|
name: string;
|
|
911
|
-
baseUri: string;
|
|
912
1005
|
logoUri: string;
|
|
913
1006
|
key?: string | undefined;
|
|
914
1007
|
uuid?: string | undefined;
|
|
@@ -921,20 +1014,9 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
921
1014
|
updatedAt?: string | undefined;
|
|
922
1015
|
archivedAt?: string | undefined;
|
|
923
1016
|
parameters?: any;
|
|
924
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
925
1017
|
isTest?: boolean | undefined;
|
|
926
1018
|
connectorId?: string | undefined;
|
|
927
1019
|
connectorVersion?: string | undefined;
|
|
928
|
-
authOptions?: {
|
|
929
|
-
key: string;
|
|
930
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
931
|
-
description?: string | undefined;
|
|
932
|
-
title?: string | undefined;
|
|
933
|
-
ui?: {
|
|
934
|
-
schema?: any;
|
|
935
|
-
helpUri?: string | undefined;
|
|
936
|
-
} | undefined;
|
|
937
|
-
}[] | undefined;
|
|
938
1020
|
oAuthCallbackUri?: string | undefined;
|
|
939
1021
|
hasMissingParameters?: boolean | undefined;
|
|
940
1022
|
hasDocumentation?: boolean | undefined;
|
|
@@ -953,9 +1035,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
953
1035
|
errors?: any[] | undefined;
|
|
954
1036
|
isDeactivated?: boolean | undefined;
|
|
955
1037
|
archivedAt?: string | undefined;
|
|
956
|
-
|
|
957
|
-
parameters?: unknown;
|
|
958
|
-
connectorParameters?: unknown;
|
|
1038
|
+
authOptionKey?: string | undefined;
|
|
959
1039
|
user?: {
|
|
960
1040
|
id: string;
|
|
961
1041
|
name: string;
|