@membranehq/sdk 0.5.0 → 0.5.1
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 +13011 -5117
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +31 -10
- package/dist/dts/accessors/integrations-accessors.d.ts +31 -10
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/entity-repository.d.ts +7 -6
- package/dist/dts/http-requests.d.ts +2 -2
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +393 -90
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
- package/dist/dts/workspace-elements/api/connections-api.d.ts +387 -97
- package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +357 -79
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +169 -27
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +367 -69
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1040 -257
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +121 -37
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +151 -26
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +28 -12
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
- package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
- package/dist/dts/workspace-elements/base/connections/types.d.ts +18 -12
- package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +6 -6
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +26 -11
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +26 -12
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +557 -67
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +4 -3
- package/dist/index.d.ts +21959 -8561
- package/dist/index.js +258 -109
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +21959 -8561
- package/dist/index.module.mjs +225 -101
- package/dist/index.module.mjs.map +1 -1
- package/package.json +3 -2
- package/dist/dts/data-schema/schemas.d.ts +0 -4
- package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
|
@@ -85,8 +85,8 @@ export declare const UpdateDataSourceRequest: z.ZodObject<{
|
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
key?: string | undefined;
|
|
87
87
|
name?: string | undefined;
|
|
88
|
-
udm?: string | undefined;
|
|
89
88
|
archivedAt?: string | undefined;
|
|
89
|
+
udm?: string | undefined;
|
|
90
90
|
pullUpdatesIntervalSeconds?: number | undefined;
|
|
91
91
|
fullSyncIntervalSeconds?: number | undefined;
|
|
92
92
|
defaultPath?: string | undefined;
|
|
@@ -94,8 +94,8 @@ export declare const UpdateDataSourceRequest: z.ZodObject<{
|
|
|
94
94
|
}, {
|
|
95
95
|
key?: string | undefined;
|
|
96
96
|
name?: string | undefined;
|
|
97
|
-
udm?: string | undefined;
|
|
98
97
|
archivedAt?: string | undefined;
|
|
98
|
+
udm?: string | undefined;
|
|
99
99
|
pullUpdatesIntervalSeconds?: number | undefined;
|
|
100
100
|
fullSyncIntervalSeconds?: number | undefined;
|
|
101
101
|
defaultPath?: string | undefined;
|
|
@@ -299,13 +299,15 @@ export declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
|
|
|
299
299
|
dataSourceInstanceId?: string | undefined;
|
|
300
300
|
}>;
|
|
301
301
|
export type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
|
|
302
|
-
export declare const
|
|
302
|
+
export declare const DataSourceApiResponse: z.ZodObject<{
|
|
303
303
|
id: z.ZodString;
|
|
304
304
|
name: z.ZodString;
|
|
305
|
-
|
|
306
|
-
|
|
305
|
+
key: z.ZodOptional<z.ZodString>;
|
|
306
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
307
|
+
description: z.ZodOptional<z.ZodString>;
|
|
307
308
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
308
309
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
310
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
309
311
|
} & {
|
|
310
312
|
revision: z.ZodString;
|
|
311
313
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -326,15 +328,52 @@ export declare const DataSource: z.ZodObject<{
|
|
|
326
328
|
integration: z.ZodOptional<z.ZodObject<{
|
|
327
329
|
id: z.ZodString;
|
|
328
330
|
name: z.ZodString;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
+
key: z.ZodOptional<z.ZodString>;
|
|
332
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
333
|
+
description: z.ZodOptional<z.ZodString>;
|
|
331
334
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
332
335
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
336
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
337
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
338
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
333
339
|
} & {
|
|
334
340
|
logoUri: z.ZodString;
|
|
335
341
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
336
342
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
337
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
343
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
|
+
key: z.ZodString;
|
|
345
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
346
|
+
title: z.ZodOptional<z.ZodString>;
|
|
347
|
+
description: z.ZodOptional<z.ZodString>;
|
|
348
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
350
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
schema?: any;
|
|
353
|
+
helpUri?: string | undefined;
|
|
354
|
+
}, {
|
|
355
|
+
schema?: any;
|
|
356
|
+
helpUri?: string | undefined;
|
|
357
|
+
}>>;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
key: string;
|
|
360
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
361
|
+
description?: string | undefined;
|
|
362
|
+
title?: string | undefined;
|
|
363
|
+
ui?: {
|
|
364
|
+
schema?: any;
|
|
365
|
+
helpUri?: string | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
}, {
|
|
368
|
+
key: string;
|
|
369
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
370
|
+
description?: string | undefined;
|
|
371
|
+
title?: string | undefined;
|
|
372
|
+
ui?: {
|
|
373
|
+
schema?: any;
|
|
374
|
+
helpUri?: string | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
}>, "many">>;
|
|
338
377
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
339
378
|
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
340
379
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -343,8 +382,11 @@ export declare const DataSource: z.ZodObject<{
|
|
|
343
382
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
344
383
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
345
384
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
346
386
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
387
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
347
388
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
348
390
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
349
391
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
350
392
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -352,66 +394,102 @@ export declare const DataSource: z.ZodObject<{
|
|
|
352
394
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
353
395
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
354
396
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
key: string;
|
|
356
397
|
id: string;
|
|
357
398
|
name: string;
|
|
358
399
|
baseUri: string;
|
|
359
400
|
logoUri: string;
|
|
401
|
+
key?: string | undefined;
|
|
402
|
+
uuid?: string | undefined;
|
|
403
|
+
description?: string | undefined;
|
|
360
404
|
state?: import("..").WorkspaceElementState | undefined;
|
|
361
405
|
errors?: any[] | undefined;
|
|
406
|
+
revision?: string | undefined;
|
|
407
|
+
isDeactivated?: boolean | undefined;
|
|
408
|
+
createdAt?: string | undefined;
|
|
409
|
+
updatedAt?: string | undefined;
|
|
410
|
+
archivedAt?: string | undefined;
|
|
362
411
|
parameters?: any;
|
|
363
412
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
364
|
-
archivedAt?: string | undefined;
|
|
365
413
|
isTest?: boolean | undefined;
|
|
366
414
|
connectorId?: string | undefined;
|
|
367
415
|
connectorVersion?: string | undefined;
|
|
368
|
-
authOptions?:
|
|
416
|
+
authOptions?: {
|
|
417
|
+
key: string;
|
|
418
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
419
|
+
description?: string | undefined;
|
|
420
|
+
title?: string | undefined;
|
|
421
|
+
ui?: {
|
|
422
|
+
schema?: any;
|
|
423
|
+
helpUri?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}[] | undefined;
|
|
369
426
|
oAuthCallbackUri?: string | undefined;
|
|
370
427
|
hasMissingParameters?: boolean | undefined;
|
|
371
428
|
hasDocumentation?: boolean | undefined;
|
|
372
429
|
hasOperations?: boolean | undefined;
|
|
430
|
+
operationsCount?: number | undefined;
|
|
373
431
|
hasData?: boolean | undefined;
|
|
432
|
+
dataCollectionsCount?: number | undefined;
|
|
374
433
|
hasEvents?: boolean | undefined;
|
|
434
|
+
eventsCount?: number | undefined;
|
|
375
435
|
hasGlobalWebhooks?: boolean | undefined;
|
|
376
436
|
hasUdm?: boolean | undefined;
|
|
377
437
|
appUuid?: string | undefined;
|
|
378
|
-
isDeactivated?: boolean | undefined;
|
|
379
438
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
380
439
|
}, {
|
|
381
|
-
key: string;
|
|
382
440
|
id: string;
|
|
383
441
|
name: string;
|
|
384
442
|
baseUri: string;
|
|
385
443
|
logoUri: string;
|
|
444
|
+
key?: string | undefined;
|
|
445
|
+
uuid?: string | undefined;
|
|
446
|
+
description?: string | undefined;
|
|
386
447
|
state?: import("..").WorkspaceElementState | undefined;
|
|
387
448
|
errors?: any[] | undefined;
|
|
449
|
+
revision?: string | undefined;
|
|
450
|
+
isDeactivated?: boolean | undefined;
|
|
451
|
+
createdAt?: string | undefined;
|
|
452
|
+
updatedAt?: string | undefined;
|
|
453
|
+
archivedAt?: string | undefined;
|
|
388
454
|
parameters?: any;
|
|
389
455
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
390
|
-
archivedAt?: string | undefined;
|
|
391
456
|
isTest?: boolean | undefined;
|
|
392
457
|
connectorId?: string | undefined;
|
|
393
458
|
connectorVersion?: string | undefined;
|
|
394
|
-
authOptions?:
|
|
459
|
+
authOptions?: {
|
|
460
|
+
key: string;
|
|
461
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
462
|
+
description?: string | undefined;
|
|
463
|
+
title?: string | undefined;
|
|
464
|
+
ui?: {
|
|
465
|
+
schema?: any;
|
|
466
|
+
helpUri?: string | undefined;
|
|
467
|
+
} | undefined;
|
|
468
|
+
}[] | undefined;
|
|
395
469
|
oAuthCallbackUri?: string | undefined;
|
|
396
470
|
hasMissingParameters?: boolean | undefined;
|
|
397
471
|
hasDocumentation?: boolean | undefined;
|
|
398
472
|
hasOperations?: boolean | undefined;
|
|
473
|
+
operationsCount?: number | undefined;
|
|
399
474
|
hasData?: boolean | undefined;
|
|
475
|
+
dataCollectionsCount?: number | undefined;
|
|
400
476
|
hasEvents?: boolean | undefined;
|
|
477
|
+
eventsCount?: number | undefined;
|
|
401
478
|
hasGlobalWebhooks?: boolean | undefined;
|
|
402
479
|
hasUdm?: boolean | undefined;
|
|
403
480
|
appUuid?: string | undefined;
|
|
404
|
-
isDeactivated?: boolean | undefined;
|
|
405
481
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
406
482
|
}>>;
|
|
407
483
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
484
|
element: z.ZodObject<{
|
|
409
485
|
id: z.ZodString;
|
|
410
486
|
name: z.ZodString;
|
|
411
|
-
|
|
412
|
-
|
|
487
|
+
key: z.ZodOptional<z.ZodString>;
|
|
488
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
489
|
+
description: z.ZodOptional<z.ZodString>;
|
|
413
490
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
414
491
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
492
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
415
493
|
} & {
|
|
416
494
|
revision: z.ZodString;
|
|
417
495
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -429,17 +507,20 @@ export declare const DataSource: z.ZodObject<{
|
|
|
429
507
|
customized: z.ZodOptional<z.ZodBoolean>;
|
|
430
508
|
defaultPath: z.ZodOptional<z.ZodString>;
|
|
431
509
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
key: string;
|
|
433
510
|
id: string;
|
|
434
511
|
name: string;
|
|
435
512
|
revision: string;
|
|
513
|
+
key?: string | undefined;
|
|
514
|
+
uuid?: string | undefined;
|
|
515
|
+
description?: string | undefined;
|
|
436
516
|
state?: import("..").WorkspaceElementState | undefined;
|
|
437
517
|
errors?: any[] | undefined;
|
|
438
|
-
|
|
439
|
-
udm?: string | undefined;
|
|
518
|
+
isDeactivated?: boolean | undefined;
|
|
440
519
|
createdAt?: string | undefined;
|
|
441
520
|
updatedAt?: string | undefined;
|
|
442
521
|
archivedAt?: string | undefined;
|
|
522
|
+
integrationId?: string | undefined;
|
|
523
|
+
udm?: string | undefined;
|
|
443
524
|
publishedRevision?: string | undefined;
|
|
444
525
|
customized?: boolean | undefined;
|
|
445
526
|
universalDataSourceId?: string | undefined;
|
|
@@ -450,17 +531,20 @@ export declare const DataSource: z.ZodObject<{
|
|
|
450
531
|
defaultPath?: string | undefined;
|
|
451
532
|
universalDataSourceRevision?: string | undefined;
|
|
452
533
|
}, {
|
|
453
|
-
key: string;
|
|
454
534
|
id: string;
|
|
455
535
|
name: string;
|
|
456
536
|
revision: string;
|
|
537
|
+
key?: string | undefined;
|
|
538
|
+
uuid?: string | undefined;
|
|
539
|
+
description?: string | undefined;
|
|
457
540
|
state?: import("..").WorkspaceElementState | undefined;
|
|
458
541
|
errors?: any[] | undefined;
|
|
459
|
-
|
|
460
|
-
udm?: string | undefined;
|
|
542
|
+
isDeactivated?: boolean | undefined;
|
|
461
543
|
createdAt?: string | undefined;
|
|
462
544
|
updatedAt?: string | undefined;
|
|
463
545
|
archivedAt?: string | undefined;
|
|
546
|
+
integrationId?: string | undefined;
|
|
547
|
+
udm?: string | undefined;
|
|
464
548
|
publishedRevision?: string | undefined;
|
|
465
549
|
customized?: boolean | undefined;
|
|
466
550
|
universalDataSourceId?: string | undefined;
|
|
@@ -474,15 +558,52 @@ export declare const DataSource: z.ZodObject<{
|
|
|
474
558
|
integration: z.ZodObject<{
|
|
475
559
|
id: z.ZodString;
|
|
476
560
|
name: z.ZodString;
|
|
477
|
-
|
|
478
|
-
|
|
561
|
+
key: z.ZodOptional<z.ZodString>;
|
|
562
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
563
|
+
description: z.ZodOptional<z.ZodString>;
|
|
479
564
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
480
565
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
566
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
567
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
568
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
481
569
|
} & {
|
|
482
570
|
logoUri: z.ZodString;
|
|
483
571
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
484
572
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
485
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
573
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
574
|
+
key: z.ZodString;
|
|
575
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
576
|
+
title: z.ZodOptional<z.ZodString>;
|
|
577
|
+
description: z.ZodOptional<z.ZodString>;
|
|
578
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
579
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
580
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
581
|
+
}, "strip", z.ZodTypeAny, {
|
|
582
|
+
schema?: any;
|
|
583
|
+
helpUri?: string | undefined;
|
|
584
|
+
}, {
|
|
585
|
+
schema?: any;
|
|
586
|
+
helpUri?: string | undefined;
|
|
587
|
+
}>>;
|
|
588
|
+
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
key: string;
|
|
590
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
591
|
+
description?: string | undefined;
|
|
592
|
+
title?: string | undefined;
|
|
593
|
+
ui?: {
|
|
594
|
+
schema?: any;
|
|
595
|
+
helpUri?: string | undefined;
|
|
596
|
+
} | undefined;
|
|
597
|
+
}, {
|
|
598
|
+
key: string;
|
|
599
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
600
|
+
description?: string | undefined;
|
|
601
|
+
title?: string | undefined;
|
|
602
|
+
ui?: {
|
|
603
|
+
schema?: any;
|
|
604
|
+
helpUri?: string | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
}>, "many">>;
|
|
486
607
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
487
608
|
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
488
609
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -491,8 +612,11 @@ export declare const DataSource: z.ZodObject<{
|
|
|
491
612
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
492
613
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
493
614
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
615
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
494
616
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
617
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
495
618
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
619
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
496
620
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
497
621
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
498
622
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -500,98 +624,152 @@ export declare const DataSource: z.ZodObject<{
|
|
|
500
624
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
501
625
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
502
626
|
}, "strip", z.ZodTypeAny, {
|
|
503
|
-
key: string;
|
|
504
627
|
id: string;
|
|
505
628
|
name: string;
|
|
506
629
|
baseUri: string;
|
|
507
630
|
logoUri: string;
|
|
631
|
+
key?: string | undefined;
|
|
632
|
+
uuid?: string | undefined;
|
|
633
|
+
description?: string | undefined;
|
|
508
634
|
state?: import("..").WorkspaceElementState | undefined;
|
|
509
635
|
errors?: any[] | undefined;
|
|
636
|
+
revision?: string | undefined;
|
|
637
|
+
isDeactivated?: boolean | undefined;
|
|
638
|
+
createdAt?: string | undefined;
|
|
639
|
+
updatedAt?: string | undefined;
|
|
640
|
+
archivedAt?: string | undefined;
|
|
510
641
|
parameters?: any;
|
|
511
642
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
512
|
-
archivedAt?: string | undefined;
|
|
513
643
|
isTest?: boolean | undefined;
|
|
514
644
|
connectorId?: string | undefined;
|
|
515
645
|
connectorVersion?: string | undefined;
|
|
516
|
-
authOptions?:
|
|
646
|
+
authOptions?: {
|
|
647
|
+
key: string;
|
|
648
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
649
|
+
description?: string | undefined;
|
|
650
|
+
title?: string | undefined;
|
|
651
|
+
ui?: {
|
|
652
|
+
schema?: any;
|
|
653
|
+
helpUri?: string | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
}[] | undefined;
|
|
517
656
|
oAuthCallbackUri?: string | undefined;
|
|
518
657
|
hasMissingParameters?: boolean | undefined;
|
|
519
658
|
hasDocumentation?: boolean | undefined;
|
|
520
659
|
hasOperations?: boolean | undefined;
|
|
660
|
+
operationsCount?: number | undefined;
|
|
521
661
|
hasData?: boolean | undefined;
|
|
662
|
+
dataCollectionsCount?: number | undefined;
|
|
522
663
|
hasEvents?: boolean | undefined;
|
|
664
|
+
eventsCount?: number | undefined;
|
|
523
665
|
hasGlobalWebhooks?: boolean | undefined;
|
|
524
666
|
hasUdm?: boolean | undefined;
|
|
525
667
|
appUuid?: string | undefined;
|
|
526
|
-
isDeactivated?: boolean | undefined;
|
|
527
668
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
528
669
|
}, {
|
|
529
|
-
key: string;
|
|
530
670
|
id: string;
|
|
531
671
|
name: string;
|
|
532
672
|
baseUri: string;
|
|
533
673
|
logoUri: string;
|
|
674
|
+
key?: string | undefined;
|
|
675
|
+
uuid?: string | undefined;
|
|
676
|
+
description?: string | undefined;
|
|
534
677
|
state?: import("..").WorkspaceElementState | undefined;
|
|
535
678
|
errors?: any[] | undefined;
|
|
679
|
+
revision?: string | undefined;
|
|
680
|
+
isDeactivated?: boolean | undefined;
|
|
681
|
+
createdAt?: string | undefined;
|
|
682
|
+
updatedAt?: string | undefined;
|
|
683
|
+
archivedAt?: string | undefined;
|
|
536
684
|
parameters?: any;
|
|
537
685
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
538
|
-
archivedAt?: string | undefined;
|
|
539
686
|
isTest?: boolean | undefined;
|
|
540
687
|
connectorId?: string | undefined;
|
|
541
688
|
connectorVersion?: string | undefined;
|
|
542
|
-
authOptions?:
|
|
689
|
+
authOptions?: {
|
|
690
|
+
key: string;
|
|
691
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
692
|
+
description?: string | undefined;
|
|
693
|
+
title?: string | undefined;
|
|
694
|
+
ui?: {
|
|
695
|
+
schema?: any;
|
|
696
|
+
helpUri?: string | undefined;
|
|
697
|
+
} | undefined;
|
|
698
|
+
}[] | undefined;
|
|
543
699
|
oAuthCallbackUri?: string | undefined;
|
|
544
700
|
hasMissingParameters?: boolean | undefined;
|
|
545
701
|
hasDocumentation?: boolean | undefined;
|
|
546
702
|
hasOperations?: boolean | undefined;
|
|
703
|
+
operationsCount?: number | undefined;
|
|
547
704
|
hasData?: boolean | undefined;
|
|
705
|
+
dataCollectionsCount?: number | undefined;
|
|
548
706
|
hasEvents?: boolean | undefined;
|
|
707
|
+
eventsCount?: number | undefined;
|
|
549
708
|
hasGlobalWebhooks?: boolean | undefined;
|
|
550
709
|
hasUdm?: boolean | undefined;
|
|
551
710
|
appUuid?: string | undefined;
|
|
552
|
-
isDeactivated?: boolean | undefined;
|
|
553
711
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
554
712
|
}>;
|
|
555
713
|
}, "strip", z.ZodTypeAny, {
|
|
556
714
|
integration: {
|
|
557
|
-
key: string;
|
|
558
715
|
id: string;
|
|
559
716
|
name: string;
|
|
560
717
|
baseUri: string;
|
|
561
718
|
logoUri: string;
|
|
719
|
+
key?: string | undefined;
|
|
720
|
+
uuid?: string | undefined;
|
|
721
|
+
description?: string | undefined;
|
|
562
722
|
state?: import("..").WorkspaceElementState | undefined;
|
|
563
723
|
errors?: any[] | undefined;
|
|
724
|
+
revision?: string | undefined;
|
|
725
|
+
isDeactivated?: boolean | undefined;
|
|
726
|
+
createdAt?: string | undefined;
|
|
727
|
+
updatedAt?: string | undefined;
|
|
728
|
+
archivedAt?: string | undefined;
|
|
564
729
|
parameters?: any;
|
|
565
730
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
566
|
-
archivedAt?: string | undefined;
|
|
567
731
|
isTest?: boolean | undefined;
|
|
568
732
|
connectorId?: string | undefined;
|
|
569
733
|
connectorVersion?: string | undefined;
|
|
570
|
-
authOptions?:
|
|
734
|
+
authOptions?: {
|
|
735
|
+
key: string;
|
|
736
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
737
|
+
description?: string | undefined;
|
|
738
|
+
title?: string | undefined;
|
|
739
|
+
ui?: {
|
|
740
|
+
schema?: any;
|
|
741
|
+
helpUri?: string | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
}[] | undefined;
|
|
571
744
|
oAuthCallbackUri?: string | undefined;
|
|
572
745
|
hasMissingParameters?: boolean | undefined;
|
|
573
746
|
hasDocumentation?: boolean | undefined;
|
|
574
747
|
hasOperations?: boolean | undefined;
|
|
748
|
+
operationsCount?: number | undefined;
|
|
575
749
|
hasData?: boolean | undefined;
|
|
750
|
+
dataCollectionsCount?: number | undefined;
|
|
576
751
|
hasEvents?: boolean | undefined;
|
|
752
|
+
eventsCount?: number | undefined;
|
|
577
753
|
hasGlobalWebhooks?: boolean | undefined;
|
|
578
754
|
hasUdm?: boolean | undefined;
|
|
579
755
|
appUuid?: string | undefined;
|
|
580
|
-
isDeactivated?: boolean | undefined;
|
|
581
756
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
582
757
|
};
|
|
583
758
|
element: {
|
|
584
|
-
key: string;
|
|
585
759
|
id: string;
|
|
586
760
|
name: string;
|
|
587
761
|
revision: string;
|
|
762
|
+
key?: string | undefined;
|
|
763
|
+
uuid?: string | undefined;
|
|
764
|
+
description?: string | undefined;
|
|
588
765
|
state?: import("..").WorkspaceElementState | undefined;
|
|
589
766
|
errors?: any[] | undefined;
|
|
590
|
-
|
|
591
|
-
udm?: string | undefined;
|
|
767
|
+
isDeactivated?: boolean | undefined;
|
|
592
768
|
createdAt?: string | undefined;
|
|
593
769
|
updatedAt?: string | undefined;
|
|
594
770
|
archivedAt?: string | undefined;
|
|
771
|
+
integrationId?: string | undefined;
|
|
772
|
+
udm?: string | undefined;
|
|
595
773
|
publishedRevision?: string | undefined;
|
|
596
774
|
customized?: boolean | undefined;
|
|
597
775
|
universalDataSourceId?: string | undefined;
|
|
@@ -604,44 +782,64 @@ export declare const DataSource: z.ZodObject<{
|
|
|
604
782
|
};
|
|
605
783
|
}, {
|
|
606
784
|
integration: {
|
|
607
|
-
key: string;
|
|
608
785
|
id: string;
|
|
609
786
|
name: string;
|
|
610
787
|
baseUri: string;
|
|
611
788
|
logoUri: string;
|
|
789
|
+
key?: string | undefined;
|
|
790
|
+
uuid?: string | undefined;
|
|
791
|
+
description?: string | undefined;
|
|
612
792
|
state?: import("..").WorkspaceElementState | undefined;
|
|
613
793
|
errors?: any[] | undefined;
|
|
794
|
+
revision?: string | undefined;
|
|
795
|
+
isDeactivated?: boolean | undefined;
|
|
796
|
+
createdAt?: string | undefined;
|
|
797
|
+
updatedAt?: string | undefined;
|
|
798
|
+
archivedAt?: string | undefined;
|
|
614
799
|
parameters?: any;
|
|
615
800
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
616
|
-
archivedAt?: string | undefined;
|
|
617
801
|
isTest?: boolean | undefined;
|
|
618
802
|
connectorId?: string | undefined;
|
|
619
803
|
connectorVersion?: string | undefined;
|
|
620
|
-
authOptions?:
|
|
804
|
+
authOptions?: {
|
|
805
|
+
key: string;
|
|
806
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
807
|
+
description?: string | undefined;
|
|
808
|
+
title?: string | undefined;
|
|
809
|
+
ui?: {
|
|
810
|
+
schema?: any;
|
|
811
|
+
helpUri?: string | undefined;
|
|
812
|
+
} | undefined;
|
|
813
|
+
}[] | undefined;
|
|
621
814
|
oAuthCallbackUri?: string | undefined;
|
|
622
815
|
hasMissingParameters?: boolean | undefined;
|
|
623
816
|
hasDocumentation?: boolean | undefined;
|
|
624
817
|
hasOperations?: boolean | undefined;
|
|
818
|
+
operationsCount?: number | undefined;
|
|
625
819
|
hasData?: boolean | undefined;
|
|
820
|
+
dataCollectionsCount?: number | undefined;
|
|
626
821
|
hasEvents?: boolean | undefined;
|
|
822
|
+
eventsCount?: number | undefined;
|
|
627
823
|
hasGlobalWebhooks?: boolean | undefined;
|
|
628
824
|
hasUdm?: boolean | undefined;
|
|
629
825
|
appUuid?: string | undefined;
|
|
630
|
-
isDeactivated?: boolean | undefined;
|
|
631
826
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
632
827
|
};
|
|
633
828
|
element: {
|
|
634
|
-
key: string;
|
|
635
829
|
id: string;
|
|
636
830
|
name: string;
|
|
637
831
|
revision: string;
|
|
832
|
+
key?: string | undefined;
|
|
833
|
+
uuid?: string | undefined;
|
|
834
|
+
description?: string | undefined;
|
|
638
835
|
state?: import("..").WorkspaceElementState | undefined;
|
|
639
836
|
errors?: any[] | undefined;
|
|
640
|
-
|
|
641
|
-
udm?: string | undefined;
|
|
837
|
+
isDeactivated?: boolean | undefined;
|
|
642
838
|
createdAt?: string | undefined;
|
|
643
839
|
updatedAt?: string | undefined;
|
|
644
840
|
archivedAt?: string | undefined;
|
|
841
|
+
integrationId?: string | undefined;
|
|
842
|
+
udm?: string | undefined;
|
|
645
843
|
publishedRevision?: string | undefined;
|
|
646
844
|
customized?: boolean | undefined;
|
|
647
845
|
universalDataSourceId?: string | undefined;
|
|
@@ -654,86 +852,126 @@ export declare const DataSource: z.ZodObject<{
|
|
|
654
852
|
};
|
|
655
853
|
}>, "many">>;
|
|
656
854
|
}, "strip", z.ZodTypeAny, {
|
|
657
|
-
key: string;
|
|
658
855
|
id: string;
|
|
659
856
|
name: string;
|
|
660
857
|
revision: string;
|
|
858
|
+
key?: string | undefined;
|
|
661
859
|
integration?: {
|
|
662
|
-
key: string;
|
|
663
860
|
id: string;
|
|
664
861
|
name: string;
|
|
665
862
|
baseUri: string;
|
|
666
863
|
logoUri: string;
|
|
864
|
+
key?: string | undefined;
|
|
865
|
+
uuid?: string | undefined;
|
|
866
|
+
description?: string | undefined;
|
|
667
867
|
state?: import("..").WorkspaceElementState | undefined;
|
|
668
868
|
errors?: any[] | undefined;
|
|
869
|
+
revision?: string | undefined;
|
|
870
|
+
isDeactivated?: boolean | undefined;
|
|
871
|
+
createdAt?: string | undefined;
|
|
872
|
+
updatedAt?: string | undefined;
|
|
873
|
+
archivedAt?: string | undefined;
|
|
669
874
|
parameters?: any;
|
|
670
875
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
671
|
-
archivedAt?: string | undefined;
|
|
672
876
|
isTest?: boolean | undefined;
|
|
673
877
|
connectorId?: string | undefined;
|
|
674
878
|
connectorVersion?: string | undefined;
|
|
675
|
-
authOptions?:
|
|
879
|
+
authOptions?: {
|
|
880
|
+
key: string;
|
|
881
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
882
|
+
description?: string | undefined;
|
|
883
|
+
title?: string | undefined;
|
|
884
|
+
ui?: {
|
|
885
|
+
schema?: any;
|
|
886
|
+
helpUri?: string | undefined;
|
|
887
|
+
} | undefined;
|
|
888
|
+
}[] | undefined;
|
|
676
889
|
oAuthCallbackUri?: string | undefined;
|
|
677
890
|
hasMissingParameters?: boolean | undefined;
|
|
678
891
|
hasDocumentation?: boolean | undefined;
|
|
679
892
|
hasOperations?: boolean | undefined;
|
|
893
|
+
operationsCount?: number | undefined;
|
|
680
894
|
hasData?: boolean | undefined;
|
|
895
|
+
dataCollectionsCount?: number | undefined;
|
|
681
896
|
hasEvents?: boolean | undefined;
|
|
897
|
+
eventsCount?: number | undefined;
|
|
682
898
|
hasGlobalWebhooks?: boolean | undefined;
|
|
683
899
|
hasUdm?: boolean | undefined;
|
|
684
900
|
appUuid?: string | undefined;
|
|
685
|
-
isDeactivated?: boolean | undefined;
|
|
686
901
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
687
902
|
} | undefined;
|
|
903
|
+
uuid?: string | undefined;
|
|
904
|
+
description?: string | undefined;
|
|
688
905
|
state?: import("..").WorkspaceElementState | undefined;
|
|
689
906
|
errors?: any[] | undefined;
|
|
690
|
-
|
|
691
|
-
udm?: string | undefined;
|
|
907
|
+
isDeactivated?: boolean | undefined;
|
|
692
908
|
createdAt?: string | undefined;
|
|
693
909
|
updatedAt?: string | undefined;
|
|
694
910
|
archivedAt?: string | undefined;
|
|
911
|
+
integrationId?: string | undefined;
|
|
912
|
+
udm?: string | undefined;
|
|
695
913
|
publishedRevision?: string | undefined;
|
|
696
914
|
customized?: boolean | undefined;
|
|
697
915
|
appliedToIntegrations?: {
|
|
698
916
|
integration: {
|
|
699
|
-
key: string;
|
|
700
917
|
id: string;
|
|
701
918
|
name: string;
|
|
702
919
|
baseUri: string;
|
|
703
920
|
logoUri: string;
|
|
921
|
+
key?: string | undefined;
|
|
922
|
+
uuid?: string | undefined;
|
|
923
|
+
description?: string | undefined;
|
|
704
924
|
state?: import("..").WorkspaceElementState | undefined;
|
|
705
925
|
errors?: any[] | undefined;
|
|
926
|
+
revision?: string | undefined;
|
|
927
|
+
isDeactivated?: boolean | undefined;
|
|
928
|
+
createdAt?: string | undefined;
|
|
929
|
+
updatedAt?: string | undefined;
|
|
930
|
+
archivedAt?: string | undefined;
|
|
706
931
|
parameters?: any;
|
|
707
932
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
708
|
-
archivedAt?: string | undefined;
|
|
709
933
|
isTest?: boolean | undefined;
|
|
710
934
|
connectorId?: string | undefined;
|
|
711
935
|
connectorVersion?: string | undefined;
|
|
712
|
-
authOptions?:
|
|
936
|
+
authOptions?: {
|
|
937
|
+
key: string;
|
|
938
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
939
|
+
description?: string | undefined;
|
|
940
|
+
title?: string | undefined;
|
|
941
|
+
ui?: {
|
|
942
|
+
schema?: any;
|
|
943
|
+
helpUri?: string | undefined;
|
|
944
|
+
} | undefined;
|
|
945
|
+
}[] | undefined;
|
|
713
946
|
oAuthCallbackUri?: string | undefined;
|
|
714
947
|
hasMissingParameters?: boolean | undefined;
|
|
715
948
|
hasDocumentation?: boolean | undefined;
|
|
716
949
|
hasOperations?: boolean | undefined;
|
|
950
|
+
operationsCount?: number | undefined;
|
|
717
951
|
hasData?: boolean | undefined;
|
|
952
|
+
dataCollectionsCount?: number | undefined;
|
|
718
953
|
hasEvents?: boolean | undefined;
|
|
954
|
+
eventsCount?: number | undefined;
|
|
719
955
|
hasGlobalWebhooks?: boolean | undefined;
|
|
720
956
|
hasUdm?: boolean | undefined;
|
|
721
957
|
appUuid?: string | undefined;
|
|
722
|
-
isDeactivated?: boolean | undefined;
|
|
723
958
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
724
959
|
};
|
|
725
960
|
element: {
|
|
726
|
-
key: string;
|
|
727
961
|
id: string;
|
|
728
962
|
name: string;
|
|
729
963
|
revision: string;
|
|
964
|
+
key?: string | undefined;
|
|
965
|
+
uuid?: string | undefined;
|
|
966
|
+
description?: string | undefined;
|
|
730
967
|
state?: import("..").WorkspaceElementState | undefined;
|
|
731
968
|
errors?: any[] | undefined;
|
|
732
|
-
|
|
733
|
-
udm?: string | undefined;
|
|
969
|
+
isDeactivated?: boolean | undefined;
|
|
734
970
|
createdAt?: string | undefined;
|
|
735
971
|
updatedAt?: string | undefined;
|
|
736
972
|
archivedAt?: string | undefined;
|
|
973
|
+
integrationId?: string | undefined;
|
|
974
|
+
udm?: string | undefined;
|
|
737
975
|
publishedRevision?: string | undefined;
|
|
738
976
|
customized?: boolean | undefined;
|
|
739
977
|
universalDataSourceId?: string | undefined;
|
|
@@ -753,86 +991,126 @@ export declare const DataSource: z.ZodObject<{
|
|
|
753
991
|
defaultPath?: string | undefined;
|
|
754
992
|
universalDataSourceRevision?: string | undefined;
|
|
755
993
|
}, {
|
|
756
|
-
key: string;
|
|
757
994
|
id: string;
|
|
758
995
|
name: string;
|
|
759
996
|
revision: string;
|
|
997
|
+
key?: string | undefined;
|
|
760
998
|
integration?: {
|
|
761
|
-
key: string;
|
|
762
999
|
id: string;
|
|
763
1000
|
name: string;
|
|
764
1001
|
baseUri: string;
|
|
765
1002
|
logoUri: string;
|
|
1003
|
+
key?: string | undefined;
|
|
1004
|
+
uuid?: string | undefined;
|
|
1005
|
+
description?: string | undefined;
|
|
766
1006
|
state?: import("..").WorkspaceElementState | undefined;
|
|
767
1007
|
errors?: any[] | undefined;
|
|
1008
|
+
revision?: string | undefined;
|
|
1009
|
+
isDeactivated?: boolean | undefined;
|
|
1010
|
+
createdAt?: string | undefined;
|
|
1011
|
+
updatedAt?: string | undefined;
|
|
1012
|
+
archivedAt?: string | undefined;
|
|
768
1013
|
parameters?: any;
|
|
769
1014
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
770
|
-
archivedAt?: string | undefined;
|
|
771
1015
|
isTest?: boolean | undefined;
|
|
772
1016
|
connectorId?: string | undefined;
|
|
773
1017
|
connectorVersion?: string | undefined;
|
|
774
|
-
authOptions?:
|
|
1018
|
+
authOptions?: {
|
|
1019
|
+
key: string;
|
|
1020
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
1021
|
+
description?: string | undefined;
|
|
1022
|
+
title?: string | undefined;
|
|
1023
|
+
ui?: {
|
|
1024
|
+
schema?: any;
|
|
1025
|
+
helpUri?: string | undefined;
|
|
1026
|
+
} | undefined;
|
|
1027
|
+
}[] | undefined;
|
|
775
1028
|
oAuthCallbackUri?: string | undefined;
|
|
776
1029
|
hasMissingParameters?: boolean | undefined;
|
|
777
1030
|
hasDocumentation?: boolean | undefined;
|
|
778
1031
|
hasOperations?: boolean | undefined;
|
|
1032
|
+
operationsCount?: number | undefined;
|
|
779
1033
|
hasData?: boolean | undefined;
|
|
1034
|
+
dataCollectionsCount?: number | undefined;
|
|
780
1035
|
hasEvents?: boolean | undefined;
|
|
1036
|
+
eventsCount?: number | undefined;
|
|
781
1037
|
hasGlobalWebhooks?: boolean | undefined;
|
|
782
1038
|
hasUdm?: boolean | undefined;
|
|
783
1039
|
appUuid?: string | undefined;
|
|
784
|
-
isDeactivated?: boolean | undefined;
|
|
785
1040
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
786
1041
|
} | undefined;
|
|
1042
|
+
uuid?: string | undefined;
|
|
1043
|
+
description?: string | undefined;
|
|
787
1044
|
state?: import("..").WorkspaceElementState | undefined;
|
|
788
1045
|
errors?: any[] | undefined;
|
|
789
|
-
|
|
790
|
-
udm?: string | undefined;
|
|
1046
|
+
isDeactivated?: boolean | undefined;
|
|
791
1047
|
createdAt?: string | undefined;
|
|
792
1048
|
updatedAt?: string | undefined;
|
|
793
1049
|
archivedAt?: string | undefined;
|
|
1050
|
+
integrationId?: string | undefined;
|
|
1051
|
+
udm?: string | undefined;
|
|
794
1052
|
publishedRevision?: string | undefined;
|
|
795
1053
|
customized?: boolean | undefined;
|
|
796
1054
|
appliedToIntegrations?: {
|
|
797
1055
|
integration: {
|
|
798
|
-
key: string;
|
|
799
1056
|
id: string;
|
|
800
1057
|
name: string;
|
|
801
1058
|
baseUri: string;
|
|
802
1059
|
logoUri: string;
|
|
1060
|
+
key?: string | undefined;
|
|
1061
|
+
uuid?: string | undefined;
|
|
1062
|
+
description?: string | undefined;
|
|
803
1063
|
state?: import("..").WorkspaceElementState | undefined;
|
|
804
1064
|
errors?: any[] | undefined;
|
|
1065
|
+
revision?: string | undefined;
|
|
1066
|
+
isDeactivated?: boolean | undefined;
|
|
1067
|
+
createdAt?: string | undefined;
|
|
1068
|
+
updatedAt?: string | undefined;
|
|
1069
|
+
archivedAt?: string | undefined;
|
|
805
1070
|
parameters?: any;
|
|
806
1071
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
807
|
-
archivedAt?: string | undefined;
|
|
808
1072
|
isTest?: boolean | undefined;
|
|
809
1073
|
connectorId?: string | undefined;
|
|
810
1074
|
connectorVersion?: string | undefined;
|
|
811
|
-
authOptions?:
|
|
1075
|
+
authOptions?: {
|
|
1076
|
+
key: string;
|
|
1077
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
1078
|
+
description?: string | undefined;
|
|
1079
|
+
title?: string | undefined;
|
|
1080
|
+
ui?: {
|
|
1081
|
+
schema?: any;
|
|
1082
|
+
helpUri?: string | undefined;
|
|
1083
|
+
} | undefined;
|
|
1084
|
+
}[] | undefined;
|
|
812
1085
|
oAuthCallbackUri?: string | undefined;
|
|
813
1086
|
hasMissingParameters?: boolean | undefined;
|
|
814
1087
|
hasDocumentation?: boolean | undefined;
|
|
815
1088
|
hasOperations?: boolean | undefined;
|
|
1089
|
+
operationsCount?: number | undefined;
|
|
816
1090
|
hasData?: boolean | undefined;
|
|
1091
|
+
dataCollectionsCount?: number | undefined;
|
|
817
1092
|
hasEvents?: boolean | undefined;
|
|
1093
|
+
eventsCount?: number | undefined;
|
|
818
1094
|
hasGlobalWebhooks?: boolean | undefined;
|
|
819
1095
|
hasUdm?: boolean | undefined;
|
|
820
1096
|
appUuid?: string | undefined;
|
|
821
|
-
isDeactivated?: boolean | undefined;
|
|
822
1097
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
823
1098
|
};
|
|
824
1099
|
element: {
|
|
825
|
-
key: string;
|
|
826
1100
|
id: string;
|
|
827
1101
|
name: string;
|
|
828
1102
|
revision: string;
|
|
1103
|
+
key?: string | undefined;
|
|
1104
|
+
uuid?: string | undefined;
|
|
1105
|
+
description?: string | undefined;
|
|
829
1106
|
state?: import("..").WorkspaceElementState | undefined;
|
|
830
1107
|
errors?: any[] | undefined;
|
|
831
|
-
|
|
832
|
-
udm?: string | undefined;
|
|
1108
|
+
isDeactivated?: boolean | undefined;
|
|
833
1109
|
createdAt?: string | undefined;
|
|
834
1110
|
updatedAt?: string | undefined;
|
|
835
1111
|
archivedAt?: string | undefined;
|
|
1112
|
+
integrationId?: string | undefined;
|
|
1113
|
+
udm?: string | undefined;
|
|
836
1114
|
publishedRevision?: string | undefined;
|
|
837
1115
|
customized?: boolean | undefined;
|
|
838
1116
|
universalDataSourceId?: string | undefined;
|
|
@@ -852,5 +1130,5 @@ export declare const DataSource: z.ZodObject<{
|
|
|
852
1130
|
defaultPath?: string | undefined;
|
|
853
1131
|
universalDataSourceRevision?: string | undefined;
|
|
854
1132
|
}>;
|
|
855
|
-
export type
|
|
856
|
-
export type
|
|
1133
|
+
export type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
|
|
1134
|
+
export type DataSource = DataSourceApiResponse;
|