@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.
Files changed (66) hide show
  1. package/dist/bundle.d.ts +1949 -3947
  2. package/dist/bundle.js +9 -4
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
  5. package/dist/dts/accessors/actions-accessors.d.ts +2 -2
  6. package/dist/dts/accessors/connections-accessors.d.ts +8 -22
  7. package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
  8. package/dist/dts/errors/index.d.ts +10 -1
  9. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
  12. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
  13. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
  14. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
  15. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
  16. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
  18. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
  19. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
  20. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
  21. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
  22. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
  23. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
  24. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
  25. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
  26. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
  27. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
  28. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
  29. package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
  30. package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
  31. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
  32. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
  33. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
  34. package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
  35. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
  36. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
  37. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
  38. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
  39. package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
  40. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
  41. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
  42. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
  43. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
  44. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
  45. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
  46. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
  47. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
  48. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
  49. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
  50. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
  51. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
  52. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
  53. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
  54. package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
  55. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
  56. package/dist/dts/workspace-elements/types.d.ts +53 -9
  57. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
  58. package/dist/dts/workspaces/types.d.ts +3 -1
  59. package/dist/index.d.ts +2791 -5337
  60. package/dist/index.js +70 -66
  61. package/dist/index.js.map +1 -1
  62. package/dist/index.module.d.mts +2791 -5337
  63. package/dist/index.module.mjs +67 -66
  64. package/dist/index.module.mjs.map +1 -1
  65. package/package.json +1 -3
  66. package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
@@ -301,12 +301,12 @@ export declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
301
301
  export type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
302
302
  export declare const DataSourceApiResponse: z.ZodObject<{
303
303
  id: z.ZodString;
304
- name: z.ZodString;
305
304
  key: z.ZodOptional<z.ZodString>;
306
305
  uuid: z.ZodOptional<z.ZodString>;
307
306
  description: z.ZodOptional<z.ZodString>;
307
+ name: z.ZodString;
308
308
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
309
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
309
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
310
310
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
311
311
  } & {
312
312
  revision: z.ZodString;
@@ -327,12 +327,12 @@ export declare const DataSourceApiResponse: z.ZodObject<{
327
327
  } & {
328
328
  integration: z.ZodOptional<z.ZodObject<{
329
329
  id: z.ZodString;
330
- name: z.ZodString;
331
330
  key: z.ZodOptional<z.ZodString>;
332
331
  uuid: z.ZodOptional<z.ZodString>;
333
332
  description: z.ZodOptional<z.ZodString>;
333
+ name: z.ZodString;
334
334
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
335
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
335
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
336
336
  revision: z.ZodOptional<z.ZodString>;
337
337
  createdAt: z.ZodOptional<z.ZodString>;
338
338
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -340,44 +340,8 @@ export declare const DataSourceApiResponse: z.ZodObject<{
340
340
  logoUri: z.ZodString;
341
341
  connectorId: z.ZodOptional<z.ZodString>;
342
342
  connectorVersion: z.ZodOptional<z.ZodString>;
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">>;
377
343
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
378
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
379
344
  parameters: z.ZodOptional<z.ZodAny>;
380
- baseUri: z.ZodString;
381
345
  archivedAt: z.ZodOptional<z.ZodString>;
382
346
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
383
347
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -396,33 +360,20 @@ export declare const DataSourceApiResponse: z.ZodObject<{
396
360
  }, "strip", z.ZodTypeAny, {
397
361
  id: string;
398
362
  name: string;
399
- baseUri: string;
400
363
  logoUri: string;
401
364
  key?: string | undefined;
402
365
  uuid?: string | undefined;
403
366
  description?: string | undefined;
404
367
  state?: import("..").WorkspaceElementState | undefined;
405
- errors?: any[] | undefined;
368
+ errors?: import("../..").ErrorDataSchema[] | undefined;
406
369
  revision?: string | undefined;
407
- isDeactivated?: boolean | undefined;
408
370
  createdAt?: string | undefined;
409
371
  updatedAt?: string | undefined;
410
372
  archivedAt?: string | undefined;
373
+ isDeactivated?: boolean | undefined;
411
374
  parameters?: any;
412
- parametersSchema?: import("../..").DataSchema | undefined;
413
- isTest?: boolean | undefined;
414
375
  connectorId?: string | undefined;
415
376
  connectorVersion?: string | undefined;
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;
426
377
  oAuthCallbackUri?: string | undefined;
427
378
  hasMissingParameters?: boolean | undefined;
428
379
  hasDocumentation?: boolean | undefined;
@@ -434,38 +385,26 @@ export declare const DataSourceApiResponse: z.ZodObject<{
434
385
  eventsCount?: number | undefined;
435
386
  hasGlobalWebhooks?: boolean | undefined;
436
387
  hasUdm?: boolean | undefined;
388
+ isTest?: boolean | undefined;
437
389
  appUuid?: string | undefined;
438
390
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
439
391
  }, {
440
392
  id: string;
441
393
  name: string;
442
- baseUri: string;
443
394
  logoUri: string;
444
395
  key?: string | undefined;
445
396
  uuid?: string | undefined;
446
397
  description?: string | undefined;
447
398
  state?: import("..").WorkspaceElementState | undefined;
448
- errors?: any[] | undefined;
399
+ errors?: import("../..").ErrorDataSchema[] | undefined;
449
400
  revision?: string | undefined;
450
- isDeactivated?: boolean | undefined;
451
401
  createdAt?: string | undefined;
452
402
  updatedAt?: string | undefined;
453
403
  archivedAt?: string | undefined;
404
+ isDeactivated?: boolean | undefined;
454
405
  parameters?: any;
455
- parametersSchema?: import("../..").DataSchema | undefined;
456
- isTest?: boolean | undefined;
457
406
  connectorId?: string | undefined;
458
407
  connectorVersion?: string | undefined;
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;
469
408
  oAuthCallbackUri?: string | undefined;
470
409
  hasMissingParameters?: boolean | undefined;
471
410
  hasDocumentation?: boolean | undefined;
@@ -477,18 +416,19 @@ export declare const DataSourceApiResponse: z.ZodObject<{
477
416
  eventsCount?: number | undefined;
478
417
  hasGlobalWebhooks?: boolean | undefined;
479
418
  hasUdm?: boolean | undefined;
419
+ isTest?: boolean | undefined;
480
420
  appUuid?: string | undefined;
481
421
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
482
422
  }>>;
483
423
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
484
424
  element: z.ZodObject<{
485
425
  id: z.ZodString;
486
- name: z.ZodString;
487
426
  key: z.ZodOptional<z.ZodString>;
488
427
  uuid: z.ZodOptional<z.ZodString>;
489
428
  description: z.ZodOptional<z.ZodString>;
429
+ name: z.ZodString;
490
430
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
491
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
431
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
492
432
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
493
433
  } & {
494
434
  revision: z.ZodString;
@@ -514,15 +454,15 @@ export declare const DataSourceApiResponse: z.ZodObject<{
514
454
  uuid?: string | undefined;
515
455
  description?: string | undefined;
516
456
  state?: import("..").WorkspaceElementState | undefined;
517
- errors?: any[] | undefined;
518
- isDeactivated?: boolean | undefined;
457
+ errors?: import("../..").ErrorDataSchema[] | undefined;
519
458
  createdAt?: string | undefined;
520
459
  updatedAt?: string | undefined;
521
460
  archivedAt?: string | undefined;
461
+ isDeactivated?: boolean | undefined;
522
462
  integrationId?: string | undefined;
523
- udm?: string | undefined;
524
463
  publishedRevision?: string | undefined;
525
464
  customized?: boolean | undefined;
465
+ udm?: string | undefined;
526
466
  universalDataSourceId?: string | undefined;
527
467
  collectionKey?: string | undefined;
528
468
  collectionParameters?: any;
@@ -538,15 +478,15 @@ export declare const DataSourceApiResponse: z.ZodObject<{
538
478
  uuid?: string | undefined;
539
479
  description?: string | undefined;
540
480
  state?: import("..").WorkspaceElementState | undefined;
541
- errors?: any[] | undefined;
542
- isDeactivated?: boolean | undefined;
481
+ errors?: import("../..").ErrorDataSchema[] | undefined;
543
482
  createdAt?: string | undefined;
544
483
  updatedAt?: string | undefined;
545
484
  archivedAt?: string | undefined;
485
+ isDeactivated?: boolean | undefined;
546
486
  integrationId?: string | undefined;
547
- udm?: string | undefined;
548
487
  publishedRevision?: string | undefined;
549
488
  customized?: boolean | undefined;
489
+ udm?: string | undefined;
550
490
  universalDataSourceId?: string | undefined;
551
491
  collectionKey?: string | undefined;
552
492
  collectionParameters?: any;
@@ -557,12 +497,12 @@ export declare const DataSourceApiResponse: z.ZodObject<{
557
497
  }>;
558
498
  integration: z.ZodObject<{
559
499
  id: z.ZodString;
560
- name: z.ZodString;
561
500
  key: z.ZodOptional<z.ZodString>;
562
501
  uuid: z.ZodOptional<z.ZodString>;
563
502
  description: z.ZodOptional<z.ZodString>;
503
+ name: z.ZodString;
564
504
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
565
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
505
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
566
506
  revision: z.ZodOptional<z.ZodString>;
567
507
  createdAt: z.ZodOptional<z.ZodString>;
568
508
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -570,44 +510,8 @@ export declare const DataSourceApiResponse: z.ZodObject<{
570
510
  logoUri: z.ZodString;
571
511
  connectorId: z.ZodOptional<z.ZodString>;
572
512
  connectorVersion: z.ZodOptional<z.ZodString>;
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">>;
607
513
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
608
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
609
514
  parameters: z.ZodOptional<z.ZodAny>;
610
- baseUri: z.ZodString;
611
515
  archivedAt: z.ZodOptional<z.ZodString>;
612
516
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
613
517
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -626,33 +530,20 @@ export declare const DataSourceApiResponse: z.ZodObject<{
626
530
  }, "strip", z.ZodTypeAny, {
627
531
  id: string;
628
532
  name: string;
629
- baseUri: string;
630
533
  logoUri: string;
631
534
  key?: string | undefined;
632
535
  uuid?: string | undefined;
633
536
  description?: string | undefined;
634
537
  state?: import("..").WorkspaceElementState | undefined;
635
- errors?: any[] | undefined;
538
+ errors?: import("../..").ErrorDataSchema[] | undefined;
636
539
  revision?: string | undefined;
637
- isDeactivated?: boolean | undefined;
638
540
  createdAt?: string | undefined;
639
541
  updatedAt?: string | undefined;
640
542
  archivedAt?: string | undefined;
543
+ isDeactivated?: boolean | undefined;
641
544
  parameters?: any;
642
- parametersSchema?: import("../..").DataSchema | undefined;
643
- isTest?: boolean | undefined;
644
545
  connectorId?: string | undefined;
645
546
  connectorVersion?: string | undefined;
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;
656
547
  oAuthCallbackUri?: string | undefined;
657
548
  hasMissingParameters?: boolean | undefined;
658
549
  hasDocumentation?: boolean | undefined;
@@ -664,38 +555,26 @@ export declare const DataSourceApiResponse: z.ZodObject<{
664
555
  eventsCount?: number | undefined;
665
556
  hasGlobalWebhooks?: boolean | undefined;
666
557
  hasUdm?: boolean | undefined;
558
+ isTest?: boolean | undefined;
667
559
  appUuid?: string | undefined;
668
560
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
669
561
  }, {
670
562
  id: string;
671
563
  name: string;
672
- baseUri: string;
673
564
  logoUri: string;
674
565
  key?: string | undefined;
675
566
  uuid?: string | undefined;
676
567
  description?: string | undefined;
677
568
  state?: import("..").WorkspaceElementState | undefined;
678
- errors?: any[] | undefined;
569
+ errors?: import("../..").ErrorDataSchema[] | undefined;
679
570
  revision?: string | undefined;
680
- isDeactivated?: boolean | undefined;
681
571
  createdAt?: string | undefined;
682
572
  updatedAt?: string | undefined;
683
573
  archivedAt?: string | undefined;
574
+ isDeactivated?: boolean | undefined;
684
575
  parameters?: any;
685
- parametersSchema?: import("../..").DataSchema | undefined;
686
- isTest?: boolean | undefined;
687
576
  connectorId?: string | undefined;
688
577
  connectorVersion?: string | undefined;
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;
699
578
  oAuthCallbackUri?: string | undefined;
700
579
  hasMissingParameters?: boolean | undefined;
701
580
  hasDocumentation?: boolean | undefined;
@@ -707,6 +586,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
707
586
  eventsCount?: number | undefined;
708
587
  hasGlobalWebhooks?: boolean | undefined;
709
588
  hasUdm?: boolean | undefined;
589
+ isTest?: boolean | undefined;
710
590
  appUuid?: string | undefined;
711
591
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
712
592
  }>;
@@ -714,33 +594,20 @@ export declare const DataSourceApiResponse: z.ZodObject<{
714
594
  integration: {
715
595
  id: string;
716
596
  name: string;
717
- baseUri: string;
718
597
  logoUri: string;
719
598
  key?: string | undefined;
720
599
  uuid?: string | undefined;
721
600
  description?: string | undefined;
722
601
  state?: import("..").WorkspaceElementState | undefined;
723
- errors?: any[] | undefined;
602
+ errors?: import("../..").ErrorDataSchema[] | undefined;
724
603
  revision?: string | undefined;
725
- isDeactivated?: boolean | undefined;
726
604
  createdAt?: string | undefined;
727
605
  updatedAt?: string | undefined;
728
606
  archivedAt?: string | undefined;
607
+ isDeactivated?: boolean | undefined;
729
608
  parameters?: any;
730
- parametersSchema?: import("../..").DataSchema | undefined;
731
- isTest?: boolean | undefined;
732
609
  connectorId?: string | undefined;
733
610
  connectorVersion?: string | undefined;
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;
744
611
  oAuthCallbackUri?: string | undefined;
745
612
  hasMissingParameters?: boolean | undefined;
746
613
  hasDocumentation?: boolean | undefined;
@@ -752,6 +619,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
752
619
  eventsCount?: number | undefined;
753
620
  hasGlobalWebhooks?: boolean | undefined;
754
621
  hasUdm?: boolean | undefined;
622
+ isTest?: boolean | undefined;
755
623
  appUuid?: string | undefined;
756
624
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
757
625
  };
@@ -763,15 +631,15 @@ export declare const DataSourceApiResponse: z.ZodObject<{
763
631
  uuid?: string | undefined;
764
632
  description?: string | undefined;
765
633
  state?: import("..").WorkspaceElementState | undefined;
766
- errors?: any[] | undefined;
767
- isDeactivated?: boolean | undefined;
634
+ errors?: import("../..").ErrorDataSchema[] | undefined;
768
635
  createdAt?: string | undefined;
769
636
  updatedAt?: string | undefined;
770
637
  archivedAt?: string | undefined;
638
+ isDeactivated?: boolean | undefined;
771
639
  integrationId?: string | undefined;
772
- udm?: string | undefined;
773
640
  publishedRevision?: string | undefined;
774
641
  customized?: boolean | undefined;
642
+ udm?: string | undefined;
775
643
  universalDataSourceId?: string | undefined;
776
644
  collectionKey?: string | undefined;
777
645
  collectionParameters?: any;
@@ -784,33 +652,20 @@ export declare const DataSourceApiResponse: z.ZodObject<{
784
652
  integration: {
785
653
  id: string;
786
654
  name: string;
787
- baseUri: string;
788
655
  logoUri: string;
789
656
  key?: string | undefined;
790
657
  uuid?: string | undefined;
791
658
  description?: string | undefined;
792
659
  state?: import("..").WorkspaceElementState | undefined;
793
- errors?: any[] | undefined;
660
+ errors?: import("../..").ErrorDataSchema[] | undefined;
794
661
  revision?: string | undefined;
795
- isDeactivated?: boolean | undefined;
796
662
  createdAt?: string | undefined;
797
663
  updatedAt?: string | undefined;
798
664
  archivedAt?: string | undefined;
665
+ isDeactivated?: boolean | undefined;
799
666
  parameters?: any;
800
- parametersSchema?: import("../..").DataSchema | undefined;
801
- isTest?: boolean | undefined;
802
667
  connectorId?: string | undefined;
803
668
  connectorVersion?: string | undefined;
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;
814
669
  oAuthCallbackUri?: string | undefined;
815
670
  hasMissingParameters?: boolean | undefined;
816
671
  hasDocumentation?: boolean | undefined;
@@ -822,6 +677,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
822
677
  eventsCount?: number | undefined;
823
678
  hasGlobalWebhooks?: boolean | undefined;
824
679
  hasUdm?: boolean | undefined;
680
+ isTest?: boolean | undefined;
825
681
  appUuid?: string | undefined;
826
682
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
827
683
  };
@@ -833,15 +689,15 @@ export declare const DataSourceApiResponse: z.ZodObject<{
833
689
  uuid?: string | undefined;
834
690
  description?: string | undefined;
835
691
  state?: import("..").WorkspaceElementState | undefined;
836
- errors?: any[] | undefined;
837
- isDeactivated?: boolean | undefined;
692
+ errors?: import("../..").ErrorDataSchema[] | undefined;
838
693
  createdAt?: string | undefined;
839
694
  updatedAt?: string | undefined;
840
695
  archivedAt?: string | undefined;
696
+ isDeactivated?: boolean | undefined;
841
697
  integrationId?: string | undefined;
842
- udm?: string | undefined;
843
698
  publishedRevision?: string | undefined;
844
699
  customized?: boolean | undefined;
700
+ udm?: string | undefined;
845
701
  universalDataSourceId?: string | undefined;
846
702
  collectionKey?: string | undefined;
847
703
  collectionParameters?: any;
@@ -859,33 +715,20 @@ export declare const DataSourceApiResponse: z.ZodObject<{
859
715
  integration?: {
860
716
  id: string;
861
717
  name: string;
862
- baseUri: string;
863
718
  logoUri: string;
864
719
  key?: string | undefined;
865
720
  uuid?: string | undefined;
866
721
  description?: string | undefined;
867
722
  state?: import("..").WorkspaceElementState | undefined;
868
- errors?: any[] | undefined;
723
+ errors?: import("../..").ErrorDataSchema[] | undefined;
869
724
  revision?: string | undefined;
870
- isDeactivated?: boolean | undefined;
871
725
  createdAt?: string | undefined;
872
726
  updatedAt?: string | undefined;
873
727
  archivedAt?: string | undefined;
728
+ isDeactivated?: boolean | undefined;
874
729
  parameters?: any;
875
- parametersSchema?: import("../..").DataSchema | undefined;
876
- isTest?: boolean | undefined;
877
730
  connectorId?: string | undefined;
878
731
  connectorVersion?: string | undefined;
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;
889
732
  oAuthCallbackUri?: string | undefined;
890
733
  hasMissingParameters?: boolean | undefined;
891
734
  hasDocumentation?: boolean | undefined;
@@ -897,52 +740,40 @@ export declare const DataSourceApiResponse: z.ZodObject<{
897
740
  eventsCount?: number | undefined;
898
741
  hasGlobalWebhooks?: boolean | undefined;
899
742
  hasUdm?: boolean | undefined;
743
+ isTest?: boolean | undefined;
900
744
  appUuid?: string | undefined;
901
745
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
902
746
  } | undefined;
903
747
  uuid?: string | undefined;
904
748
  description?: string | undefined;
905
749
  state?: import("..").WorkspaceElementState | undefined;
906
- errors?: any[] | undefined;
907
- isDeactivated?: boolean | undefined;
750
+ errors?: import("../..").ErrorDataSchema[] | undefined;
908
751
  createdAt?: string | undefined;
909
752
  updatedAt?: string | undefined;
910
753
  archivedAt?: string | undefined;
754
+ isDeactivated?: boolean | undefined;
911
755
  integrationId?: string | undefined;
912
- udm?: string | undefined;
913
756
  publishedRevision?: string | undefined;
914
757
  customized?: boolean | undefined;
758
+ udm?: string | undefined;
915
759
  appliedToIntegrations?: {
916
760
  integration: {
917
761
  id: string;
918
762
  name: string;
919
- baseUri: string;
920
763
  logoUri: string;
921
764
  key?: string | undefined;
922
765
  uuid?: string | undefined;
923
766
  description?: string | undefined;
924
767
  state?: import("..").WorkspaceElementState | undefined;
925
- errors?: any[] | undefined;
768
+ errors?: import("../..").ErrorDataSchema[] | undefined;
926
769
  revision?: string | undefined;
927
- isDeactivated?: boolean | undefined;
928
770
  createdAt?: string | undefined;
929
771
  updatedAt?: string | undefined;
930
772
  archivedAt?: string | undefined;
773
+ isDeactivated?: boolean | undefined;
931
774
  parameters?: any;
932
- parametersSchema?: import("../..").DataSchema | undefined;
933
- isTest?: boolean | undefined;
934
775
  connectorId?: string | undefined;
935
776
  connectorVersion?: string | undefined;
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;
946
777
  oAuthCallbackUri?: string | undefined;
947
778
  hasMissingParameters?: boolean | undefined;
948
779
  hasDocumentation?: boolean | undefined;
@@ -954,6 +785,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
954
785
  eventsCount?: number | undefined;
955
786
  hasGlobalWebhooks?: boolean | undefined;
956
787
  hasUdm?: boolean | undefined;
788
+ isTest?: boolean | undefined;
957
789
  appUuid?: string | undefined;
958
790
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
959
791
  };
@@ -965,15 +797,15 @@ export declare const DataSourceApiResponse: z.ZodObject<{
965
797
  uuid?: string | undefined;
966
798
  description?: string | undefined;
967
799
  state?: import("..").WorkspaceElementState | undefined;
968
- errors?: any[] | undefined;
969
- isDeactivated?: boolean | undefined;
800
+ errors?: import("../..").ErrorDataSchema[] | undefined;
970
801
  createdAt?: string | undefined;
971
802
  updatedAt?: string | undefined;
972
803
  archivedAt?: string | undefined;
804
+ isDeactivated?: boolean | undefined;
973
805
  integrationId?: string | undefined;
974
- udm?: string | undefined;
975
806
  publishedRevision?: string | undefined;
976
807
  customized?: boolean | undefined;
808
+ udm?: string | undefined;
977
809
  universalDataSourceId?: string | undefined;
978
810
  collectionKey?: string | undefined;
979
811
  collectionParameters?: any;
@@ -998,33 +830,20 @@ export declare const DataSourceApiResponse: z.ZodObject<{
998
830
  integration?: {
999
831
  id: string;
1000
832
  name: string;
1001
- baseUri: string;
1002
833
  logoUri: string;
1003
834
  key?: string | undefined;
1004
835
  uuid?: string | undefined;
1005
836
  description?: string | undefined;
1006
837
  state?: import("..").WorkspaceElementState | undefined;
1007
- errors?: any[] | undefined;
838
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1008
839
  revision?: string | undefined;
1009
- isDeactivated?: boolean | undefined;
1010
840
  createdAt?: string | undefined;
1011
841
  updatedAt?: string | undefined;
1012
842
  archivedAt?: string | undefined;
843
+ isDeactivated?: boolean | undefined;
1013
844
  parameters?: any;
1014
- parametersSchema?: import("../..").DataSchema | undefined;
1015
- isTest?: boolean | undefined;
1016
845
  connectorId?: string | undefined;
1017
846
  connectorVersion?: string | undefined;
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;
1028
847
  oAuthCallbackUri?: string | undefined;
1029
848
  hasMissingParameters?: boolean | undefined;
1030
849
  hasDocumentation?: boolean | undefined;
@@ -1036,52 +855,40 @@ export declare const DataSourceApiResponse: z.ZodObject<{
1036
855
  eventsCount?: number | undefined;
1037
856
  hasGlobalWebhooks?: boolean | undefined;
1038
857
  hasUdm?: boolean | undefined;
858
+ isTest?: boolean | undefined;
1039
859
  appUuid?: string | undefined;
1040
860
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1041
861
  } | undefined;
1042
862
  uuid?: string | undefined;
1043
863
  description?: string | undefined;
1044
864
  state?: import("..").WorkspaceElementState | undefined;
1045
- errors?: any[] | undefined;
1046
- isDeactivated?: boolean | undefined;
865
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1047
866
  createdAt?: string | undefined;
1048
867
  updatedAt?: string | undefined;
1049
868
  archivedAt?: string | undefined;
869
+ isDeactivated?: boolean | undefined;
1050
870
  integrationId?: string | undefined;
1051
- udm?: string | undefined;
1052
871
  publishedRevision?: string | undefined;
1053
872
  customized?: boolean | undefined;
873
+ udm?: string | undefined;
1054
874
  appliedToIntegrations?: {
1055
875
  integration: {
1056
876
  id: string;
1057
877
  name: string;
1058
- baseUri: string;
1059
878
  logoUri: string;
1060
879
  key?: string | undefined;
1061
880
  uuid?: string | undefined;
1062
881
  description?: string | undefined;
1063
882
  state?: import("..").WorkspaceElementState | undefined;
1064
- errors?: any[] | undefined;
883
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1065
884
  revision?: string | undefined;
1066
- isDeactivated?: boolean | undefined;
1067
885
  createdAt?: string | undefined;
1068
886
  updatedAt?: string | undefined;
1069
887
  archivedAt?: string | undefined;
888
+ isDeactivated?: boolean | undefined;
1070
889
  parameters?: any;
1071
- parametersSchema?: import("../..").DataSchema | undefined;
1072
- isTest?: boolean | undefined;
1073
890
  connectorId?: string | undefined;
1074
891
  connectorVersion?: string | undefined;
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;
1085
892
  oAuthCallbackUri?: string | undefined;
1086
893
  hasMissingParameters?: boolean | undefined;
1087
894
  hasDocumentation?: boolean | undefined;
@@ -1093,6 +900,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
1093
900
  eventsCount?: number | undefined;
1094
901
  hasGlobalWebhooks?: boolean | undefined;
1095
902
  hasUdm?: boolean | undefined;
903
+ isTest?: boolean | undefined;
1096
904
  appUuid?: string | undefined;
1097
905
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1098
906
  };
@@ -1104,15 +912,15 @@ export declare const DataSourceApiResponse: z.ZodObject<{
1104
912
  uuid?: string | undefined;
1105
913
  description?: string | undefined;
1106
914
  state?: import("..").WorkspaceElementState | undefined;
1107
- errors?: any[] | undefined;
1108
- isDeactivated?: boolean | undefined;
915
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1109
916
  createdAt?: string | undefined;
1110
917
  updatedAt?: string | undefined;
1111
918
  archivedAt?: string | undefined;
919
+ isDeactivated?: boolean | undefined;
1112
920
  integrationId?: string | undefined;
1113
- udm?: string | undefined;
1114
921
  publishedRevision?: string | undefined;
1115
922
  customized?: boolean | undefined;
923
+ udm?: string | undefined;
1116
924
  universalDataSourceId?: string | undefined;
1117
925
  collectionKey?: string | undefined;
1118
926
  collectionParameters?: any;