@membranehq/sdk 0.5.0 → 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 +10513 -4612
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +22 -15
- package/dist/dts/accessors/integrations-accessors.d.ts +22 -15
- 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 +435 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +225 -114
- 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 +505 -135
- 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 +447 -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 +1496 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +189 -103
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +602 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +608 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +465 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +75 -41
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2570 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +199 -93
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1436 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +590 -295
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +176 -58
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +77 -36
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +31 -15
- 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 +21 -21
- 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 +2 -2
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +24 -9
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +187 -104
- 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 +5 -4
- package/dist/index.d.ts +20345 -9526
- package/dist/index.js +268 -115
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +20345 -9526
- package/dist/index.module.mjs +234 -107
- 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,25 +328,29 @@ 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.ZodAny, "many">>;
|
|
338
343
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
339
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
340
344
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
341
|
-
baseUri: z.ZodString;
|
|
342
345
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
343
346
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
344
347
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
345
348
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
349
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
346
350
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
351
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
347
352
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
348
354
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
349
355
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
350
356
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -352,66 +358,78 @@ export declare const DataSource: z.ZodObject<{
|
|
|
352
358
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
353
359
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
354
360
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
key: string;
|
|
356
361
|
id: string;
|
|
357
362
|
name: string;
|
|
358
|
-
baseUri: string;
|
|
359
363
|
logoUri: string;
|
|
364
|
+
key?: string | undefined;
|
|
365
|
+
uuid?: string | undefined;
|
|
366
|
+
description?: string | undefined;
|
|
360
367
|
state?: import("..").WorkspaceElementState | undefined;
|
|
361
368
|
errors?: any[] | undefined;
|
|
362
|
-
|
|
363
|
-
|
|
369
|
+
revision?: string | undefined;
|
|
370
|
+
isDeactivated?: boolean | undefined;
|
|
371
|
+
createdAt?: string | undefined;
|
|
372
|
+
updatedAt?: string | undefined;
|
|
364
373
|
archivedAt?: string | undefined;
|
|
374
|
+
parameters?: any;
|
|
365
375
|
isTest?: boolean | undefined;
|
|
366
376
|
connectorId?: string | undefined;
|
|
367
377
|
connectorVersion?: string | undefined;
|
|
368
|
-
authOptions?: any[] | undefined;
|
|
369
378
|
oAuthCallbackUri?: string | undefined;
|
|
370
379
|
hasMissingParameters?: boolean | undefined;
|
|
371
380
|
hasDocumentation?: boolean | undefined;
|
|
372
381
|
hasOperations?: boolean | undefined;
|
|
382
|
+
operationsCount?: number | undefined;
|
|
373
383
|
hasData?: boolean | undefined;
|
|
384
|
+
dataCollectionsCount?: number | undefined;
|
|
374
385
|
hasEvents?: boolean | undefined;
|
|
386
|
+
eventsCount?: number | undefined;
|
|
375
387
|
hasGlobalWebhooks?: boolean | undefined;
|
|
376
388
|
hasUdm?: boolean | undefined;
|
|
377
389
|
appUuid?: string | undefined;
|
|
378
|
-
isDeactivated?: boolean | undefined;
|
|
379
390
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
380
391
|
}, {
|
|
381
|
-
key: string;
|
|
382
392
|
id: string;
|
|
383
393
|
name: string;
|
|
384
|
-
baseUri: string;
|
|
385
394
|
logoUri: string;
|
|
395
|
+
key?: string | undefined;
|
|
396
|
+
uuid?: string | undefined;
|
|
397
|
+
description?: string | undefined;
|
|
386
398
|
state?: import("..").WorkspaceElementState | undefined;
|
|
387
399
|
errors?: any[] | undefined;
|
|
388
|
-
|
|
389
|
-
|
|
400
|
+
revision?: string | undefined;
|
|
401
|
+
isDeactivated?: boolean | undefined;
|
|
402
|
+
createdAt?: string | undefined;
|
|
403
|
+
updatedAt?: string | undefined;
|
|
390
404
|
archivedAt?: string | undefined;
|
|
405
|
+
parameters?: any;
|
|
391
406
|
isTest?: boolean | undefined;
|
|
392
407
|
connectorId?: string | undefined;
|
|
393
408
|
connectorVersion?: string | undefined;
|
|
394
|
-
authOptions?: any[] | undefined;
|
|
395
409
|
oAuthCallbackUri?: string | undefined;
|
|
396
410
|
hasMissingParameters?: boolean | undefined;
|
|
397
411
|
hasDocumentation?: boolean | undefined;
|
|
398
412
|
hasOperations?: boolean | undefined;
|
|
413
|
+
operationsCount?: number | undefined;
|
|
399
414
|
hasData?: boolean | undefined;
|
|
415
|
+
dataCollectionsCount?: number | undefined;
|
|
400
416
|
hasEvents?: boolean | undefined;
|
|
417
|
+
eventsCount?: number | undefined;
|
|
401
418
|
hasGlobalWebhooks?: boolean | undefined;
|
|
402
419
|
hasUdm?: boolean | undefined;
|
|
403
420
|
appUuid?: string | undefined;
|
|
404
|
-
isDeactivated?: boolean | undefined;
|
|
405
421
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
406
422
|
}>>;
|
|
407
423
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
424
|
element: z.ZodObject<{
|
|
409
425
|
id: z.ZodString;
|
|
410
426
|
name: z.ZodString;
|
|
411
|
-
|
|
412
|
-
|
|
427
|
+
key: z.ZodOptional<z.ZodString>;
|
|
428
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
429
|
+
description: z.ZodOptional<z.ZodString>;
|
|
413
430
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
414
431
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
432
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
415
433
|
} & {
|
|
416
434
|
revision: z.ZodString;
|
|
417
435
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -429,17 +447,20 @@ export declare const DataSource: z.ZodObject<{
|
|
|
429
447
|
customized: z.ZodOptional<z.ZodBoolean>;
|
|
430
448
|
defaultPath: z.ZodOptional<z.ZodString>;
|
|
431
449
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
key: string;
|
|
433
450
|
id: string;
|
|
434
451
|
name: string;
|
|
435
452
|
revision: string;
|
|
453
|
+
key?: string | undefined;
|
|
454
|
+
uuid?: string | undefined;
|
|
455
|
+
description?: string | undefined;
|
|
436
456
|
state?: import("..").WorkspaceElementState | undefined;
|
|
437
457
|
errors?: any[] | undefined;
|
|
438
|
-
|
|
439
|
-
udm?: string | undefined;
|
|
458
|
+
isDeactivated?: boolean | undefined;
|
|
440
459
|
createdAt?: string | undefined;
|
|
441
460
|
updatedAt?: string | undefined;
|
|
442
461
|
archivedAt?: string | undefined;
|
|
462
|
+
integrationId?: string | undefined;
|
|
463
|
+
udm?: string | undefined;
|
|
443
464
|
publishedRevision?: string | undefined;
|
|
444
465
|
customized?: boolean | undefined;
|
|
445
466
|
universalDataSourceId?: string | undefined;
|
|
@@ -450,17 +471,20 @@ export declare const DataSource: z.ZodObject<{
|
|
|
450
471
|
defaultPath?: string | undefined;
|
|
451
472
|
universalDataSourceRevision?: string | undefined;
|
|
452
473
|
}, {
|
|
453
|
-
key: string;
|
|
454
474
|
id: string;
|
|
455
475
|
name: string;
|
|
456
476
|
revision: string;
|
|
477
|
+
key?: string | undefined;
|
|
478
|
+
uuid?: string | undefined;
|
|
479
|
+
description?: string | undefined;
|
|
457
480
|
state?: import("..").WorkspaceElementState | undefined;
|
|
458
481
|
errors?: any[] | undefined;
|
|
459
|
-
|
|
460
|
-
udm?: string | undefined;
|
|
482
|
+
isDeactivated?: boolean | undefined;
|
|
461
483
|
createdAt?: string | undefined;
|
|
462
484
|
updatedAt?: string | undefined;
|
|
463
485
|
archivedAt?: string | undefined;
|
|
486
|
+
integrationId?: string | undefined;
|
|
487
|
+
udm?: string | undefined;
|
|
464
488
|
publishedRevision?: string | undefined;
|
|
465
489
|
customized?: boolean | undefined;
|
|
466
490
|
universalDataSourceId?: string | undefined;
|
|
@@ -474,25 +498,29 @@ export declare const DataSource: z.ZodObject<{
|
|
|
474
498
|
integration: z.ZodObject<{
|
|
475
499
|
id: z.ZodString;
|
|
476
500
|
name: z.ZodString;
|
|
477
|
-
|
|
478
|
-
|
|
501
|
+
key: z.ZodOptional<z.ZodString>;
|
|
502
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
503
|
+
description: z.ZodOptional<z.ZodString>;
|
|
479
504
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
480
505
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
506
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
507
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
508
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
481
509
|
} & {
|
|
482
510
|
logoUri: z.ZodString;
|
|
483
511
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
484
512
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
485
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
486
513
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
487
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
488
514
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
489
|
-
baseUri: z.ZodString;
|
|
490
515
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
491
516
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
492
517
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
493
518
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
519
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
494
520
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
521
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
495
522
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
523
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
496
524
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
497
525
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
498
526
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -500,98 +528,116 @@ export declare const DataSource: z.ZodObject<{
|
|
|
500
528
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
501
529
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
502
530
|
}, "strip", z.ZodTypeAny, {
|
|
503
|
-
key: string;
|
|
504
531
|
id: string;
|
|
505
532
|
name: string;
|
|
506
|
-
baseUri: string;
|
|
507
533
|
logoUri: string;
|
|
534
|
+
key?: string | undefined;
|
|
535
|
+
uuid?: string | undefined;
|
|
536
|
+
description?: string | undefined;
|
|
508
537
|
state?: import("..").WorkspaceElementState | undefined;
|
|
509
538
|
errors?: any[] | undefined;
|
|
510
|
-
|
|
511
|
-
|
|
539
|
+
revision?: string | undefined;
|
|
540
|
+
isDeactivated?: boolean | undefined;
|
|
541
|
+
createdAt?: string | undefined;
|
|
542
|
+
updatedAt?: string | undefined;
|
|
512
543
|
archivedAt?: string | undefined;
|
|
544
|
+
parameters?: any;
|
|
513
545
|
isTest?: boolean | undefined;
|
|
514
546
|
connectorId?: string | undefined;
|
|
515
547
|
connectorVersion?: string | undefined;
|
|
516
|
-
authOptions?: any[] | undefined;
|
|
517
548
|
oAuthCallbackUri?: string | undefined;
|
|
518
549
|
hasMissingParameters?: boolean | undefined;
|
|
519
550
|
hasDocumentation?: boolean | undefined;
|
|
520
551
|
hasOperations?: boolean | undefined;
|
|
552
|
+
operationsCount?: number | undefined;
|
|
521
553
|
hasData?: boolean | undefined;
|
|
554
|
+
dataCollectionsCount?: number | undefined;
|
|
522
555
|
hasEvents?: boolean | undefined;
|
|
556
|
+
eventsCount?: number | undefined;
|
|
523
557
|
hasGlobalWebhooks?: boolean | undefined;
|
|
524
558
|
hasUdm?: boolean | undefined;
|
|
525
559
|
appUuid?: string | undefined;
|
|
526
|
-
isDeactivated?: boolean | undefined;
|
|
527
560
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
528
561
|
}, {
|
|
529
|
-
key: string;
|
|
530
562
|
id: string;
|
|
531
563
|
name: string;
|
|
532
|
-
baseUri: string;
|
|
533
564
|
logoUri: string;
|
|
565
|
+
key?: string | undefined;
|
|
566
|
+
uuid?: string | undefined;
|
|
567
|
+
description?: string | undefined;
|
|
534
568
|
state?: import("..").WorkspaceElementState | undefined;
|
|
535
569
|
errors?: any[] | undefined;
|
|
536
|
-
|
|
537
|
-
|
|
570
|
+
revision?: string | undefined;
|
|
571
|
+
isDeactivated?: boolean | undefined;
|
|
572
|
+
createdAt?: string | undefined;
|
|
573
|
+
updatedAt?: string | undefined;
|
|
538
574
|
archivedAt?: string | undefined;
|
|
575
|
+
parameters?: any;
|
|
539
576
|
isTest?: boolean | undefined;
|
|
540
577
|
connectorId?: string | undefined;
|
|
541
578
|
connectorVersion?: string | undefined;
|
|
542
|
-
authOptions?: any[] | undefined;
|
|
543
579
|
oAuthCallbackUri?: string | undefined;
|
|
544
580
|
hasMissingParameters?: boolean | undefined;
|
|
545
581
|
hasDocumentation?: boolean | undefined;
|
|
546
582
|
hasOperations?: boolean | undefined;
|
|
583
|
+
operationsCount?: number | undefined;
|
|
547
584
|
hasData?: boolean | undefined;
|
|
585
|
+
dataCollectionsCount?: number | undefined;
|
|
548
586
|
hasEvents?: boolean | undefined;
|
|
587
|
+
eventsCount?: number | undefined;
|
|
549
588
|
hasGlobalWebhooks?: boolean | undefined;
|
|
550
589
|
hasUdm?: boolean | undefined;
|
|
551
590
|
appUuid?: string | undefined;
|
|
552
|
-
isDeactivated?: boolean | undefined;
|
|
553
591
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
554
592
|
}>;
|
|
555
593
|
}, "strip", z.ZodTypeAny, {
|
|
556
594
|
integration: {
|
|
557
|
-
key: string;
|
|
558
595
|
id: string;
|
|
559
596
|
name: string;
|
|
560
|
-
baseUri: string;
|
|
561
597
|
logoUri: string;
|
|
598
|
+
key?: string | undefined;
|
|
599
|
+
uuid?: string | undefined;
|
|
600
|
+
description?: string | undefined;
|
|
562
601
|
state?: import("..").WorkspaceElementState | undefined;
|
|
563
602
|
errors?: any[] | undefined;
|
|
564
|
-
|
|
565
|
-
|
|
603
|
+
revision?: string | undefined;
|
|
604
|
+
isDeactivated?: boolean | undefined;
|
|
605
|
+
createdAt?: string | undefined;
|
|
606
|
+
updatedAt?: string | undefined;
|
|
566
607
|
archivedAt?: string | undefined;
|
|
608
|
+
parameters?: any;
|
|
567
609
|
isTest?: boolean | undefined;
|
|
568
610
|
connectorId?: string | undefined;
|
|
569
611
|
connectorVersion?: string | undefined;
|
|
570
|
-
authOptions?: any[] | undefined;
|
|
571
612
|
oAuthCallbackUri?: string | undefined;
|
|
572
613
|
hasMissingParameters?: boolean | undefined;
|
|
573
614
|
hasDocumentation?: boolean | undefined;
|
|
574
615
|
hasOperations?: boolean | undefined;
|
|
616
|
+
operationsCount?: number | undefined;
|
|
575
617
|
hasData?: boolean | undefined;
|
|
618
|
+
dataCollectionsCount?: number | undefined;
|
|
576
619
|
hasEvents?: boolean | undefined;
|
|
620
|
+
eventsCount?: number | undefined;
|
|
577
621
|
hasGlobalWebhooks?: boolean | undefined;
|
|
578
622
|
hasUdm?: boolean | undefined;
|
|
579
623
|
appUuid?: string | undefined;
|
|
580
|
-
isDeactivated?: boolean | undefined;
|
|
581
624
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
582
625
|
};
|
|
583
626
|
element: {
|
|
584
|
-
key: string;
|
|
585
627
|
id: string;
|
|
586
628
|
name: string;
|
|
587
629
|
revision: string;
|
|
630
|
+
key?: string | undefined;
|
|
631
|
+
uuid?: string | undefined;
|
|
632
|
+
description?: string | undefined;
|
|
588
633
|
state?: import("..").WorkspaceElementState | undefined;
|
|
589
634
|
errors?: any[] | undefined;
|
|
590
|
-
|
|
591
|
-
udm?: string | undefined;
|
|
635
|
+
isDeactivated?: boolean | undefined;
|
|
592
636
|
createdAt?: string | undefined;
|
|
593
637
|
updatedAt?: string | undefined;
|
|
594
638
|
archivedAt?: string | undefined;
|
|
639
|
+
integrationId?: string | undefined;
|
|
640
|
+
udm?: string | undefined;
|
|
595
641
|
publishedRevision?: string | undefined;
|
|
596
642
|
customized?: boolean | undefined;
|
|
597
643
|
universalDataSourceId?: string | undefined;
|
|
@@ -604,44 +650,52 @@ export declare const DataSource: z.ZodObject<{
|
|
|
604
650
|
};
|
|
605
651
|
}, {
|
|
606
652
|
integration: {
|
|
607
|
-
key: string;
|
|
608
653
|
id: string;
|
|
609
654
|
name: string;
|
|
610
|
-
baseUri: string;
|
|
611
655
|
logoUri: string;
|
|
656
|
+
key?: string | undefined;
|
|
657
|
+
uuid?: string | undefined;
|
|
658
|
+
description?: string | undefined;
|
|
612
659
|
state?: import("..").WorkspaceElementState | undefined;
|
|
613
660
|
errors?: any[] | undefined;
|
|
614
|
-
|
|
615
|
-
|
|
661
|
+
revision?: string | undefined;
|
|
662
|
+
isDeactivated?: boolean | undefined;
|
|
663
|
+
createdAt?: string | undefined;
|
|
664
|
+
updatedAt?: string | undefined;
|
|
616
665
|
archivedAt?: string | undefined;
|
|
666
|
+
parameters?: any;
|
|
617
667
|
isTest?: boolean | undefined;
|
|
618
668
|
connectorId?: string | undefined;
|
|
619
669
|
connectorVersion?: string | undefined;
|
|
620
|
-
authOptions?: any[] | undefined;
|
|
621
670
|
oAuthCallbackUri?: string | undefined;
|
|
622
671
|
hasMissingParameters?: boolean | undefined;
|
|
623
672
|
hasDocumentation?: boolean | undefined;
|
|
624
673
|
hasOperations?: boolean | undefined;
|
|
674
|
+
operationsCount?: number | undefined;
|
|
625
675
|
hasData?: boolean | undefined;
|
|
676
|
+
dataCollectionsCount?: number | undefined;
|
|
626
677
|
hasEvents?: boolean | undefined;
|
|
678
|
+
eventsCount?: number | undefined;
|
|
627
679
|
hasGlobalWebhooks?: boolean | undefined;
|
|
628
680
|
hasUdm?: boolean | undefined;
|
|
629
681
|
appUuid?: string | undefined;
|
|
630
|
-
isDeactivated?: boolean | undefined;
|
|
631
682
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
632
683
|
};
|
|
633
684
|
element: {
|
|
634
|
-
key: string;
|
|
635
685
|
id: string;
|
|
636
686
|
name: string;
|
|
637
687
|
revision: string;
|
|
688
|
+
key?: string | undefined;
|
|
689
|
+
uuid?: string | undefined;
|
|
690
|
+
description?: string | undefined;
|
|
638
691
|
state?: import("..").WorkspaceElementState | undefined;
|
|
639
692
|
errors?: any[] | undefined;
|
|
640
|
-
|
|
641
|
-
udm?: string | undefined;
|
|
693
|
+
isDeactivated?: boolean | undefined;
|
|
642
694
|
createdAt?: string | undefined;
|
|
643
695
|
updatedAt?: string | undefined;
|
|
644
696
|
archivedAt?: string | undefined;
|
|
697
|
+
integrationId?: string | undefined;
|
|
698
|
+
udm?: string | undefined;
|
|
645
699
|
publishedRevision?: string | undefined;
|
|
646
700
|
customized?: boolean | undefined;
|
|
647
701
|
universalDataSourceId?: string | undefined;
|
|
@@ -654,86 +708,102 @@ export declare const DataSource: z.ZodObject<{
|
|
|
654
708
|
};
|
|
655
709
|
}>, "many">>;
|
|
656
710
|
}, "strip", z.ZodTypeAny, {
|
|
657
|
-
key: string;
|
|
658
711
|
id: string;
|
|
659
712
|
name: string;
|
|
660
713
|
revision: string;
|
|
714
|
+
key?: string | undefined;
|
|
661
715
|
integration?: {
|
|
662
|
-
key: string;
|
|
663
716
|
id: string;
|
|
664
717
|
name: string;
|
|
665
|
-
baseUri: string;
|
|
666
718
|
logoUri: string;
|
|
719
|
+
key?: string | undefined;
|
|
720
|
+
uuid?: string | undefined;
|
|
721
|
+
description?: string | undefined;
|
|
667
722
|
state?: import("..").WorkspaceElementState | undefined;
|
|
668
723
|
errors?: any[] | undefined;
|
|
669
|
-
|
|
670
|
-
|
|
724
|
+
revision?: string | undefined;
|
|
725
|
+
isDeactivated?: boolean | undefined;
|
|
726
|
+
createdAt?: string | undefined;
|
|
727
|
+
updatedAt?: string | undefined;
|
|
671
728
|
archivedAt?: string | undefined;
|
|
729
|
+
parameters?: any;
|
|
672
730
|
isTest?: boolean | undefined;
|
|
673
731
|
connectorId?: string | undefined;
|
|
674
732
|
connectorVersion?: string | undefined;
|
|
675
|
-
authOptions?: any[] | undefined;
|
|
676
733
|
oAuthCallbackUri?: string | undefined;
|
|
677
734
|
hasMissingParameters?: boolean | undefined;
|
|
678
735
|
hasDocumentation?: boolean | undefined;
|
|
679
736
|
hasOperations?: boolean | undefined;
|
|
737
|
+
operationsCount?: number | undefined;
|
|
680
738
|
hasData?: boolean | undefined;
|
|
739
|
+
dataCollectionsCount?: number | undefined;
|
|
681
740
|
hasEvents?: boolean | undefined;
|
|
741
|
+
eventsCount?: number | undefined;
|
|
682
742
|
hasGlobalWebhooks?: boolean | undefined;
|
|
683
743
|
hasUdm?: boolean | undefined;
|
|
684
744
|
appUuid?: string | undefined;
|
|
685
|
-
isDeactivated?: boolean | undefined;
|
|
686
745
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
687
746
|
} | undefined;
|
|
747
|
+
uuid?: string | undefined;
|
|
748
|
+
description?: string | undefined;
|
|
688
749
|
state?: import("..").WorkspaceElementState | undefined;
|
|
689
750
|
errors?: any[] | undefined;
|
|
690
|
-
|
|
691
|
-
udm?: string | undefined;
|
|
751
|
+
isDeactivated?: boolean | undefined;
|
|
692
752
|
createdAt?: string | undefined;
|
|
693
753
|
updatedAt?: string | undefined;
|
|
694
754
|
archivedAt?: string | undefined;
|
|
755
|
+
integrationId?: string | undefined;
|
|
756
|
+
udm?: string | undefined;
|
|
695
757
|
publishedRevision?: string | undefined;
|
|
696
758
|
customized?: boolean | undefined;
|
|
697
759
|
appliedToIntegrations?: {
|
|
698
760
|
integration: {
|
|
699
|
-
key: string;
|
|
700
761
|
id: string;
|
|
701
762
|
name: string;
|
|
702
|
-
baseUri: string;
|
|
703
763
|
logoUri: string;
|
|
764
|
+
key?: string | undefined;
|
|
765
|
+
uuid?: string | undefined;
|
|
766
|
+
description?: string | undefined;
|
|
704
767
|
state?: import("..").WorkspaceElementState | undefined;
|
|
705
768
|
errors?: any[] | undefined;
|
|
706
|
-
|
|
707
|
-
|
|
769
|
+
revision?: string | undefined;
|
|
770
|
+
isDeactivated?: boolean | undefined;
|
|
771
|
+
createdAt?: string | undefined;
|
|
772
|
+
updatedAt?: string | undefined;
|
|
708
773
|
archivedAt?: string | undefined;
|
|
774
|
+
parameters?: any;
|
|
709
775
|
isTest?: boolean | undefined;
|
|
710
776
|
connectorId?: string | undefined;
|
|
711
777
|
connectorVersion?: string | undefined;
|
|
712
|
-
authOptions?: any[] | undefined;
|
|
713
778
|
oAuthCallbackUri?: string | undefined;
|
|
714
779
|
hasMissingParameters?: boolean | undefined;
|
|
715
780
|
hasDocumentation?: boolean | undefined;
|
|
716
781
|
hasOperations?: boolean | undefined;
|
|
782
|
+
operationsCount?: number | undefined;
|
|
717
783
|
hasData?: boolean | undefined;
|
|
784
|
+
dataCollectionsCount?: number | undefined;
|
|
718
785
|
hasEvents?: boolean | undefined;
|
|
786
|
+
eventsCount?: number | undefined;
|
|
719
787
|
hasGlobalWebhooks?: boolean | undefined;
|
|
720
788
|
hasUdm?: boolean | undefined;
|
|
721
789
|
appUuid?: string | undefined;
|
|
722
|
-
isDeactivated?: boolean | undefined;
|
|
723
790
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
724
791
|
};
|
|
725
792
|
element: {
|
|
726
|
-
key: string;
|
|
727
793
|
id: string;
|
|
728
794
|
name: string;
|
|
729
795
|
revision: string;
|
|
796
|
+
key?: string | undefined;
|
|
797
|
+
uuid?: string | undefined;
|
|
798
|
+
description?: string | undefined;
|
|
730
799
|
state?: import("..").WorkspaceElementState | undefined;
|
|
731
800
|
errors?: any[] | undefined;
|
|
732
|
-
|
|
733
|
-
udm?: string | undefined;
|
|
801
|
+
isDeactivated?: boolean | undefined;
|
|
734
802
|
createdAt?: string | undefined;
|
|
735
803
|
updatedAt?: string | undefined;
|
|
736
804
|
archivedAt?: string | undefined;
|
|
805
|
+
integrationId?: string | undefined;
|
|
806
|
+
udm?: string | undefined;
|
|
737
807
|
publishedRevision?: string | undefined;
|
|
738
808
|
customized?: boolean | undefined;
|
|
739
809
|
universalDataSourceId?: string | undefined;
|
|
@@ -753,86 +823,102 @@ export declare const DataSource: z.ZodObject<{
|
|
|
753
823
|
defaultPath?: string | undefined;
|
|
754
824
|
universalDataSourceRevision?: string | undefined;
|
|
755
825
|
}, {
|
|
756
|
-
key: string;
|
|
757
826
|
id: string;
|
|
758
827
|
name: string;
|
|
759
828
|
revision: string;
|
|
829
|
+
key?: string | undefined;
|
|
760
830
|
integration?: {
|
|
761
|
-
key: string;
|
|
762
831
|
id: string;
|
|
763
832
|
name: string;
|
|
764
|
-
baseUri: string;
|
|
765
833
|
logoUri: string;
|
|
834
|
+
key?: string | undefined;
|
|
835
|
+
uuid?: string | undefined;
|
|
836
|
+
description?: string | undefined;
|
|
766
837
|
state?: import("..").WorkspaceElementState | undefined;
|
|
767
838
|
errors?: any[] | undefined;
|
|
768
|
-
|
|
769
|
-
|
|
839
|
+
revision?: string | undefined;
|
|
840
|
+
isDeactivated?: boolean | undefined;
|
|
841
|
+
createdAt?: string | undefined;
|
|
842
|
+
updatedAt?: string | undefined;
|
|
770
843
|
archivedAt?: string | undefined;
|
|
844
|
+
parameters?: any;
|
|
771
845
|
isTest?: boolean | undefined;
|
|
772
846
|
connectorId?: string | undefined;
|
|
773
847
|
connectorVersion?: string | undefined;
|
|
774
|
-
authOptions?: any[] | undefined;
|
|
775
848
|
oAuthCallbackUri?: string | undefined;
|
|
776
849
|
hasMissingParameters?: boolean | undefined;
|
|
777
850
|
hasDocumentation?: boolean | undefined;
|
|
778
851
|
hasOperations?: boolean | undefined;
|
|
852
|
+
operationsCount?: number | undefined;
|
|
779
853
|
hasData?: boolean | undefined;
|
|
854
|
+
dataCollectionsCount?: number | undefined;
|
|
780
855
|
hasEvents?: boolean | undefined;
|
|
856
|
+
eventsCount?: number | undefined;
|
|
781
857
|
hasGlobalWebhooks?: boolean | undefined;
|
|
782
858
|
hasUdm?: boolean | undefined;
|
|
783
859
|
appUuid?: string | undefined;
|
|
784
|
-
isDeactivated?: boolean | undefined;
|
|
785
860
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
786
861
|
} | undefined;
|
|
862
|
+
uuid?: string | undefined;
|
|
863
|
+
description?: string | undefined;
|
|
787
864
|
state?: import("..").WorkspaceElementState | undefined;
|
|
788
865
|
errors?: any[] | undefined;
|
|
789
|
-
|
|
790
|
-
udm?: string | undefined;
|
|
866
|
+
isDeactivated?: boolean | undefined;
|
|
791
867
|
createdAt?: string | undefined;
|
|
792
868
|
updatedAt?: string | undefined;
|
|
793
869
|
archivedAt?: string | undefined;
|
|
870
|
+
integrationId?: string | undefined;
|
|
871
|
+
udm?: string | undefined;
|
|
794
872
|
publishedRevision?: string | undefined;
|
|
795
873
|
customized?: boolean | undefined;
|
|
796
874
|
appliedToIntegrations?: {
|
|
797
875
|
integration: {
|
|
798
|
-
key: string;
|
|
799
876
|
id: string;
|
|
800
877
|
name: string;
|
|
801
|
-
baseUri: string;
|
|
802
878
|
logoUri: string;
|
|
879
|
+
key?: string | undefined;
|
|
880
|
+
uuid?: string | undefined;
|
|
881
|
+
description?: string | undefined;
|
|
803
882
|
state?: import("..").WorkspaceElementState | undefined;
|
|
804
883
|
errors?: any[] | undefined;
|
|
805
|
-
|
|
806
|
-
|
|
884
|
+
revision?: string | undefined;
|
|
885
|
+
isDeactivated?: boolean | undefined;
|
|
886
|
+
createdAt?: string | undefined;
|
|
887
|
+
updatedAt?: string | undefined;
|
|
807
888
|
archivedAt?: string | undefined;
|
|
889
|
+
parameters?: any;
|
|
808
890
|
isTest?: boolean | undefined;
|
|
809
891
|
connectorId?: string | undefined;
|
|
810
892
|
connectorVersion?: string | undefined;
|
|
811
|
-
authOptions?: any[] | undefined;
|
|
812
893
|
oAuthCallbackUri?: string | undefined;
|
|
813
894
|
hasMissingParameters?: boolean | undefined;
|
|
814
895
|
hasDocumentation?: boolean | undefined;
|
|
815
896
|
hasOperations?: boolean | undefined;
|
|
897
|
+
operationsCount?: number | undefined;
|
|
816
898
|
hasData?: boolean | undefined;
|
|
899
|
+
dataCollectionsCount?: number | undefined;
|
|
817
900
|
hasEvents?: boolean | undefined;
|
|
901
|
+
eventsCount?: number | undefined;
|
|
818
902
|
hasGlobalWebhooks?: boolean | undefined;
|
|
819
903
|
hasUdm?: boolean | undefined;
|
|
820
904
|
appUuid?: string | undefined;
|
|
821
|
-
isDeactivated?: boolean | undefined;
|
|
822
905
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
823
906
|
};
|
|
824
907
|
element: {
|
|
825
|
-
key: string;
|
|
826
908
|
id: string;
|
|
827
909
|
name: string;
|
|
828
910
|
revision: string;
|
|
911
|
+
key?: string | undefined;
|
|
912
|
+
uuid?: string | undefined;
|
|
913
|
+
description?: string | undefined;
|
|
829
914
|
state?: import("..").WorkspaceElementState | undefined;
|
|
830
915
|
errors?: any[] | undefined;
|
|
831
|
-
|
|
832
|
-
udm?: string | undefined;
|
|
916
|
+
isDeactivated?: boolean | undefined;
|
|
833
917
|
createdAt?: string | undefined;
|
|
834
918
|
updatedAt?: string | undefined;
|
|
835
919
|
archivedAt?: string | undefined;
|
|
920
|
+
integrationId?: string | undefined;
|
|
921
|
+
udm?: string | undefined;
|
|
836
922
|
publishedRevision?: string | undefined;
|
|
837
923
|
customized?: boolean | undefined;
|
|
838
924
|
universalDataSourceId?: string | undefined;
|
|
@@ -852,5 +938,5 @@ export declare const DataSource: z.ZodObject<{
|
|
|
852
938
|
defaultPath?: string | undefined;
|
|
853
939
|
universalDataSourceRevision?: string | undefined;
|
|
854
940
|
}>;
|
|
855
|
-
export type
|
|
856
|
-
export type
|
|
941
|
+
export type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
|
|
942
|
+
export type DataSource = DataSourceApiResponse;
|