@membranehq/sdk 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +1949 -3947
- package/dist/bundle.js +9 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
- package/dist/dts/accessors/actions-accessors.d.ts +2 -2
- package/dist/dts/accessors/connections-accessors.d.ts +8 -22
- package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
- package/dist/dts/errors/index.d.ts +10 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
- package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
- package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
- package/dist/dts/workspace-elements/types.d.ts +53 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +3 -1
- package/dist/index.d.ts +2791 -5337
- package/dist/index.js +70 -66
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +2791 -5337
- package/dist/index.module.mjs +67 -66
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -3
- package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
|
@@ -44,7 +44,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
44
44
|
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
status: z.ZodNativeEnum<typeof ExternalEventPullStatus>;
|
|
46
46
|
collectedEventIds: z.ZodArray<z.ZodString, "many">;
|
|
47
|
-
error:
|
|
47
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
48
48
|
} & {
|
|
49
49
|
user: z.ZodOptional<z.ZodObject<{
|
|
50
50
|
id: z.ZodString;
|
|
@@ -143,7 +143,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
143
143
|
} | undefined;
|
|
144
144
|
}>>;
|
|
145
145
|
status: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus>>;
|
|
146
|
-
error:
|
|
146
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
147
147
|
isRealTime: z.ZodOptional<z.ZodBoolean>;
|
|
148
148
|
requiresPull: z.ZodOptional<z.ZodBoolean>;
|
|
149
149
|
requiresFullSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -162,7 +162,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
162
162
|
connectionId: string;
|
|
163
163
|
integrationId: string;
|
|
164
164
|
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
165
|
-
error?:
|
|
165
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
166
166
|
name?: string | undefined;
|
|
167
167
|
createdAt?: string | undefined;
|
|
168
168
|
archivedAt?: string | undefined;
|
|
@@ -196,7 +196,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
196
196
|
connectionId: string;
|
|
197
197
|
integrationId: string;
|
|
198
198
|
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
199
|
-
error?:
|
|
199
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
200
200
|
name?: string | undefined;
|
|
201
201
|
createdAt?: string | undefined;
|
|
202
202
|
archivedAt?: string | undefined;
|
|
@@ -227,12 +227,12 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
227
227
|
}>>;
|
|
228
228
|
integration: z.ZodOptional<z.ZodObject<{
|
|
229
229
|
id: z.ZodString;
|
|
230
|
-
name: z.ZodString;
|
|
231
230
|
key: z.ZodOptional<z.ZodString>;
|
|
232
231
|
uuid: z.ZodOptional<z.ZodString>;
|
|
233
232
|
description: z.ZodOptional<z.ZodString>;
|
|
233
|
+
name: z.ZodString;
|
|
234
234
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
235
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
235
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
236
236
|
revision: z.ZodOptional<z.ZodString>;
|
|
237
237
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
238
238
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -240,44 +240,8 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
240
240
|
logoUri: z.ZodString;
|
|
241
241
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
242
242
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
243
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
244
|
-
key: z.ZodString;
|
|
245
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
246
|
-
title: z.ZodOptional<z.ZodString>;
|
|
247
|
-
description: z.ZodOptional<z.ZodString>;
|
|
248
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
249
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
250
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
schema?: any;
|
|
253
|
-
helpUri?: string | undefined;
|
|
254
|
-
}, {
|
|
255
|
-
schema?: any;
|
|
256
|
-
helpUri?: string | undefined;
|
|
257
|
-
}>>;
|
|
258
|
-
}, "strip", z.ZodTypeAny, {
|
|
259
|
-
key: string;
|
|
260
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
261
|
-
description?: string | undefined;
|
|
262
|
-
title?: string | undefined;
|
|
263
|
-
ui?: {
|
|
264
|
-
schema?: any;
|
|
265
|
-
helpUri?: string | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
}, {
|
|
268
|
-
key: string;
|
|
269
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
270
|
-
description?: string | undefined;
|
|
271
|
-
title?: string | undefined;
|
|
272
|
-
ui?: {
|
|
273
|
-
schema?: any;
|
|
274
|
-
helpUri?: string | undefined;
|
|
275
|
-
} | undefined;
|
|
276
|
-
}>, "many">>;
|
|
277
243
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
278
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
279
244
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
280
|
-
baseUri: z.ZodString;
|
|
281
245
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
282
246
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
283
247
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -296,33 +260,20 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
296
260
|
}, "strip", z.ZodTypeAny, {
|
|
297
261
|
id: string;
|
|
298
262
|
name: string;
|
|
299
|
-
baseUri: string;
|
|
300
263
|
logoUri: string;
|
|
301
264
|
key?: string | undefined;
|
|
302
265
|
uuid?: string | undefined;
|
|
303
266
|
description?: string | undefined;
|
|
304
267
|
state?: import("..").WorkspaceElementState | undefined;
|
|
305
|
-
errors?:
|
|
268
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
306
269
|
revision?: string | undefined;
|
|
307
|
-
isDeactivated?: boolean | undefined;
|
|
308
270
|
createdAt?: string | undefined;
|
|
309
271
|
updatedAt?: string | undefined;
|
|
310
272
|
archivedAt?: string | undefined;
|
|
273
|
+
isDeactivated?: boolean | undefined;
|
|
311
274
|
parameters?: any;
|
|
312
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
313
|
-
isTest?: boolean | undefined;
|
|
314
275
|
connectorId?: string | undefined;
|
|
315
276
|
connectorVersion?: string | undefined;
|
|
316
|
-
authOptions?: {
|
|
317
|
-
key: string;
|
|
318
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
319
|
-
description?: string | undefined;
|
|
320
|
-
title?: string | undefined;
|
|
321
|
-
ui?: {
|
|
322
|
-
schema?: any;
|
|
323
|
-
helpUri?: string | undefined;
|
|
324
|
-
} | undefined;
|
|
325
|
-
}[] | undefined;
|
|
326
277
|
oAuthCallbackUri?: string | undefined;
|
|
327
278
|
hasMissingParameters?: boolean | undefined;
|
|
328
279
|
hasDocumentation?: boolean | undefined;
|
|
@@ -334,38 +285,26 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
334
285
|
eventsCount?: number | undefined;
|
|
335
286
|
hasGlobalWebhooks?: boolean | undefined;
|
|
336
287
|
hasUdm?: boolean | undefined;
|
|
288
|
+
isTest?: boolean | undefined;
|
|
337
289
|
appUuid?: string | undefined;
|
|
338
290
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
339
291
|
}, {
|
|
340
292
|
id: string;
|
|
341
293
|
name: string;
|
|
342
|
-
baseUri: string;
|
|
343
294
|
logoUri: string;
|
|
344
295
|
key?: string | undefined;
|
|
345
296
|
uuid?: string | undefined;
|
|
346
297
|
description?: string | undefined;
|
|
347
298
|
state?: import("..").WorkspaceElementState | undefined;
|
|
348
|
-
errors?:
|
|
299
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
349
300
|
revision?: string | undefined;
|
|
350
|
-
isDeactivated?: boolean | undefined;
|
|
351
301
|
createdAt?: string | undefined;
|
|
352
302
|
updatedAt?: string | undefined;
|
|
353
303
|
archivedAt?: string | undefined;
|
|
304
|
+
isDeactivated?: boolean | undefined;
|
|
354
305
|
parameters?: any;
|
|
355
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
356
|
-
isTest?: boolean | undefined;
|
|
357
306
|
connectorId?: string | undefined;
|
|
358
307
|
connectorVersion?: string | undefined;
|
|
359
|
-
authOptions?: {
|
|
360
|
-
key: string;
|
|
361
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
362
|
-
description?: string | undefined;
|
|
363
|
-
title?: string | undefined;
|
|
364
|
-
ui?: {
|
|
365
|
-
schema?: any;
|
|
366
|
-
helpUri?: string | undefined;
|
|
367
|
-
} | undefined;
|
|
368
|
-
}[] | undefined;
|
|
369
308
|
oAuthCallbackUri?: string | undefined;
|
|
370
309
|
hasMissingParameters?: boolean | undefined;
|
|
371
310
|
hasDocumentation?: boolean | undefined;
|
|
@@ -377,6 +316,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
377
316
|
eventsCount?: number | undefined;
|
|
378
317
|
hasGlobalWebhooks?: boolean | undefined;
|
|
379
318
|
hasUdm?: boolean | undefined;
|
|
319
|
+
isTest?: boolean | undefined;
|
|
380
320
|
appUuid?: string | undefined;
|
|
381
321
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
382
322
|
}>>;
|
|
@@ -388,11 +328,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
388
328
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
389
329
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
390
330
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
391
|
-
error:
|
|
331
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
392
332
|
integrationId: z.ZodString;
|
|
393
|
-
|
|
394
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
395
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
333
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
396
334
|
createdAt: z.ZodString;
|
|
397
335
|
updatedAt: z.ZodString;
|
|
398
336
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -400,7 +338,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
400
338
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
401
339
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
402
340
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
403
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
341
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
404
342
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
405
343
|
}, "strip", z.ZodTypeAny, {
|
|
406
344
|
id: string;
|
|
@@ -409,20 +347,18 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
409
347
|
updatedAt: string;
|
|
410
348
|
userId: string;
|
|
411
349
|
integrationId: string;
|
|
412
|
-
error?:
|
|
350
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
413
351
|
state?: import("..").WorkspaceElementState | undefined;
|
|
414
|
-
errors?:
|
|
415
|
-
isDeactivated?: boolean | undefined;
|
|
352
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
416
353
|
archivedAt?: string | undefined;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
connectorParameters?: unknown;
|
|
354
|
+
isDeactivated?: boolean | undefined;
|
|
355
|
+
authOptionKey?: string | undefined;
|
|
420
356
|
isTest?: boolean | undefined;
|
|
357
|
+
meta?: Record<string, any> | undefined;
|
|
421
358
|
disconnected?: boolean | undefined;
|
|
422
359
|
isDefunct?: boolean | undefined;
|
|
423
360
|
lastActiveAt?: string | undefined;
|
|
424
361
|
nextCredentialsRefreshAt?: string | undefined;
|
|
425
|
-
meta?: Record<string, any> | undefined;
|
|
426
362
|
}, {
|
|
427
363
|
id: string;
|
|
428
364
|
name: string;
|
|
@@ -430,20 +366,18 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
430
366
|
updatedAt: string;
|
|
431
367
|
userId: string;
|
|
432
368
|
integrationId: string;
|
|
433
|
-
error?:
|
|
369
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
434
370
|
state?: import("..").WorkspaceElementState | undefined;
|
|
435
|
-
errors?:
|
|
436
|
-
isDeactivated?: boolean | undefined;
|
|
371
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
437
372
|
archivedAt?: string | undefined;
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
connectorParameters?: unknown;
|
|
373
|
+
isDeactivated?: boolean | undefined;
|
|
374
|
+
authOptionKey?: string | undefined;
|
|
441
375
|
isTest?: boolean | undefined;
|
|
376
|
+
meta?: Record<string, any> | undefined;
|
|
442
377
|
disconnected?: boolean | undefined;
|
|
443
378
|
isDefunct?: boolean | undefined;
|
|
444
379
|
lastActiveAt?: string | undefined;
|
|
445
380
|
nextCredentialsRefreshAt?: string | undefined;
|
|
446
|
-
meta?: Record<string, any> | undefined;
|
|
447
381
|
}>>;
|
|
448
382
|
}, "strip", z.ZodTypeAny, {
|
|
449
383
|
status: ExternalEventPullStatus;
|
|
@@ -462,52 +396,37 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
462
396
|
updatedAt: string;
|
|
463
397
|
userId: string;
|
|
464
398
|
integrationId: string;
|
|
465
|
-
error?:
|
|
399
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
466
400
|
state?: import("..").WorkspaceElementState | undefined;
|
|
467
|
-
errors?:
|
|
468
|
-
isDeactivated?: boolean | undefined;
|
|
401
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
469
402
|
archivedAt?: string | undefined;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
connectorParameters?: unknown;
|
|
403
|
+
isDeactivated?: boolean | undefined;
|
|
404
|
+
authOptionKey?: string | undefined;
|
|
473
405
|
isTest?: boolean | undefined;
|
|
406
|
+
meta?: Record<string, any> | undefined;
|
|
474
407
|
disconnected?: boolean | undefined;
|
|
475
408
|
isDefunct?: boolean | undefined;
|
|
476
409
|
lastActiveAt?: string | undefined;
|
|
477
410
|
nextCredentialsRefreshAt?: string | undefined;
|
|
478
|
-
meta?: Record<string, any> | undefined;
|
|
479
411
|
} | undefined;
|
|
480
|
-
error?:
|
|
412
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
481
413
|
integration?: {
|
|
482
414
|
id: string;
|
|
483
415
|
name: string;
|
|
484
|
-
baseUri: string;
|
|
485
416
|
logoUri: string;
|
|
486
417
|
key?: string | undefined;
|
|
487
418
|
uuid?: string | undefined;
|
|
488
419
|
description?: string | undefined;
|
|
489
420
|
state?: import("..").WorkspaceElementState | undefined;
|
|
490
|
-
errors?:
|
|
421
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
491
422
|
revision?: string | undefined;
|
|
492
|
-
isDeactivated?: boolean | undefined;
|
|
493
423
|
createdAt?: string | undefined;
|
|
494
424
|
updatedAt?: string | undefined;
|
|
495
425
|
archivedAt?: string | undefined;
|
|
426
|
+
isDeactivated?: boolean | undefined;
|
|
496
427
|
parameters?: any;
|
|
497
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
498
|
-
isTest?: boolean | undefined;
|
|
499
428
|
connectorId?: string | undefined;
|
|
500
429
|
connectorVersion?: string | undefined;
|
|
501
|
-
authOptions?: {
|
|
502
|
-
key: string;
|
|
503
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
504
|
-
description?: string | undefined;
|
|
505
|
-
title?: string | undefined;
|
|
506
|
-
ui?: {
|
|
507
|
-
schema?: any;
|
|
508
|
-
helpUri?: string | undefined;
|
|
509
|
-
} | undefined;
|
|
510
|
-
}[] | undefined;
|
|
511
430
|
oAuthCallbackUri?: string | undefined;
|
|
512
431
|
hasMissingParameters?: boolean | undefined;
|
|
513
432
|
hasDocumentation?: boolean | undefined;
|
|
@@ -519,6 +438,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
519
438
|
eventsCount?: number | undefined;
|
|
520
439
|
hasGlobalWebhooks?: boolean | undefined;
|
|
521
440
|
hasUdm?: boolean | undefined;
|
|
441
|
+
isTest?: boolean | undefined;
|
|
522
442
|
appUuid?: string | undefined;
|
|
523
443
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
524
444
|
} | undefined;
|
|
@@ -542,7 +462,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
542
462
|
connectionId: string;
|
|
543
463
|
integrationId: string;
|
|
544
464
|
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
545
|
-
error?:
|
|
465
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
546
466
|
name?: string | undefined;
|
|
547
467
|
createdAt?: string | undefined;
|
|
548
468
|
archivedAt?: string | undefined;
|
|
@@ -588,52 +508,37 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
588
508
|
updatedAt: string;
|
|
589
509
|
userId: string;
|
|
590
510
|
integrationId: string;
|
|
591
|
-
error?:
|
|
511
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
592
512
|
state?: import("..").WorkspaceElementState | undefined;
|
|
593
|
-
errors?:
|
|
594
|
-
isDeactivated?: boolean | undefined;
|
|
513
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
595
514
|
archivedAt?: string | undefined;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
connectorParameters?: unknown;
|
|
515
|
+
isDeactivated?: boolean | undefined;
|
|
516
|
+
authOptionKey?: string | undefined;
|
|
599
517
|
isTest?: boolean | undefined;
|
|
518
|
+
meta?: Record<string, any> | undefined;
|
|
600
519
|
disconnected?: boolean | undefined;
|
|
601
520
|
isDefunct?: boolean | undefined;
|
|
602
521
|
lastActiveAt?: string | undefined;
|
|
603
522
|
nextCredentialsRefreshAt?: string | undefined;
|
|
604
|
-
meta?: Record<string, any> | undefined;
|
|
605
523
|
} | undefined;
|
|
606
|
-
error?:
|
|
524
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
607
525
|
integration?: {
|
|
608
526
|
id: string;
|
|
609
527
|
name: string;
|
|
610
|
-
baseUri: string;
|
|
611
528
|
logoUri: string;
|
|
612
529
|
key?: string | undefined;
|
|
613
530
|
uuid?: string | undefined;
|
|
614
531
|
description?: string | undefined;
|
|
615
532
|
state?: import("..").WorkspaceElementState | undefined;
|
|
616
|
-
errors?:
|
|
533
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
617
534
|
revision?: string | undefined;
|
|
618
|
-
isDeactivated?: boolean | undefined;
|
|
619
535
|
createdAt?: string | undefined;
|
|
620
536
|
updatedAt?: string | undefined;
|
|
621
537
|
archivedAt?: string | undefined;
|
|
538
|
+
isDeactivated?: boolean | undefined;
|
|
622
539
|
parameters?: any;
|
|
623
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
624
|
-
isTest?: boolean | undefined;
|
|
625
540
|
connectorId?: string | undefined;
|
|
626
541
|
connectorVersion?: string | undefined;
|
|
627
|
-
authOptions?: {
|
|
628
|
-
key: string;
|
|
629
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
630
|
-
description?: string | undefined;
|
|
631
|
-
title?: string | undefined;
|
|
632
|
-
ui?: {
|
|
633
|
-
schema?: any;
|
|
634
|
-
helpUri?: string | undefined;
|
|
635
|
-
} | undefined;
|
|
636
|
-
}[] | undefined;
|
|
637
542
|
oAuthCallbackUri?: string | undefined;
|
|
638
543
|
hasMissingParameters?: boolean | undefined;
|
|
639
544
|
hasDocumentation?: boolean | undefined;
|
|
@@ -645,6 +550,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
645
550
|
eventsCount?: number | undefined;
|
|
646
551
|
hasGlobalWebhooks?: boolean | undefined;
|
|
647
552
|
hasUdm?: boolean | undefined;
|
|
553
|
+
isTest?: boolean | undefined;
|
|
648
554
|
appUuid?: string | undefined;
|
|
649
555
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
650
556
|
} | undefined;
|
|
@@ -668,7 +574,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
668
574
|
connectionId: string;
|
|
669
575
|
integrationId: string;
|
|
670
576
|
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
671
|
-
error?:
|
|
577
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
672
578
|
name?: string | undefined;
|
|
673
579
|
createdAt?: string | undefined;
|
|
674
580
|
archivedAt?: string | undefined;
|