@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.
Files changed (69) hide show
  1. package/dist/bundle.d.ts +10513 -4612
  2. package/dist/bundle.js +149 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +22 -15
  5. package/dist/dts/accessors/integrations-accessors.d.ts +22 -15
  6. package/dist/dts/data-schema/index.d.ts +0 -1
  7. package/dist/dts/entity-repository.d.ts +7 -6
  8. package/dist/dts/http-requests.d.ts +2 -2
  9. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +435 -10
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +225 -114
  12. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
  13. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
  14. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
  15. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
  16. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +505 -135
  18. package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
  19. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +447 -12
  20. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
  21. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1496 -12
  22. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +189 -103
  23. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +602 -19
  24. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +608 -19
  25. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +465 -10
  26. package/dist/dts/workspace-elements/api/external-events-api.d.ts +75 -41
  27. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2570 -14
  28. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +199 -93
  29. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1436 -47
  30. package/dist/dts/workspace-elements/api/flows-api.d.ts +590 -295
  31. package/dist/dts/workspace-elements/api/index.d.ts +1 -1
  32. package/dist/dts/workspace-elements/api/integrations-api.d.ts +176 -58
  33. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +77 -36
  34. package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
  35. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +31 -15
  36. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
  37. package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
  38. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
  39. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
  40. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
  41. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
  42. package/dist/dts/workspace-elements/base/connections/types.d.ts +21 -21
  43. package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
  44. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
  45. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
  46. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
  47. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
  48. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
  49. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
  50. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
  51. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
  52. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +2 -2
  53. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +24 -9
  54. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
  55. package/dist/dts/workspace-elements/base/flows/types.d.ts +20 -6
  56. package/dist/dts/workspace-elements/base/integrations/types.d.ts +187 -104
  57. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
  58. package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
  59. package/dist/dts/workspace-elements/types.d.ts +25 -3
  60. package/dist/dts/workspaces/types.d.ts +5 -4
  61. package/dist/index.d.ts +20345 -9526
  62. package/dist/index.js +268 -115
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.module.d.mts +20345 -9526
  65. package/dist/index.module.mjs +234 -107
  66. package/dist/index.module.mjs.map +1 -1
  67. package/package.json +3 -2
  68. package/dist/dts/data-schema/schemas.d.ts +0 -4
  69. package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
@@ -10,7 +10,7 @@ export declare const ListFlowsForIntegrationQuery: z.ZodObject<{
10
10
  limit: z.ZodOptional<z.ZodNumber>;
11
11
  cursor: z.ZodOptional<z.ZodString>;
12
12
  } & {
13
- includeArchived: z.ZodOptional<z.ZodBoolean>;
13
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  search?: string | undefined;
16
16
  includeArchived?: boolean | undefined;
@@ -19,7 +19,7 @@ export declare const ListFlowsForIntegrationQuery: z.ZodObject<{
19
19
  universalFlowId?: string | undefined;
20
20
  }, {
21
21
  search?: string | undefined;
22
- includeArchived?: boolean | undefined;
22
+ includeArchived?: unknown;
23
23
  limit?: number | undefined;
24
24
  cursor?: string | undefined;
25
25
  universalFlowId?: string | undefined;
@@ -33,7 +33,7 @@ export declare const FindFlowsQuery: z.ZodObject<{
33
33
  limit: z.ZodOptional<z.ZodNumber>;
34
34
  cursor: z.ZodOptional<z.ZodString>;
35
35
  } & {
36
- includeArchived: z.ZodOptional<z.ZodBoolean>;
36
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
37
37
  } & {
38
38
  integrationId: z.ZodOptional<z.ZodString>;
39
39
  }, "strip", z.ZodTypeAny, {
@@ -45,7 +45,7 @@ export declare const FindFlowsQuery: z.ZodObject<{
45
45
  universalFlowId?: string | undefined;
46
46
  }, {
47
47
  search?: string | undefined;
48
- includeArchived?: boolean | undefined;
48
+ includeArchived?: unknown;
49
49
  limit?: number | undefined;
50
50
  cursor?: string | undefined;
51
51
  integrationId?: string | undefined;
@@ -200,9 +200,9 @@ export declare const UpdateFlowRequest: z.ZodObject<{
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  key: string;
202
202
  name: string;
203
+ archivedAt?: string | undefined;
203
204
  integrationId?: string | undefined;
204
205
  parametersSchema?: DataSchema | undefined;
205
- archivedAt?: string | undefined;
206
206
  nodes?: Record<string, {
207
207
  type: string;
208
208
  config?: any;
@@ -217,9 +217,9 @@ export declare const UpdateFlowRequest: z.ZodObject<{
217
217
  }, {
218
218
  key: string;
219
219
  name: string;
220
+ archivedAt?: string | undefined;
220
221
  integrationId?: string | undefined;
221
222
  parametersSchema?: DataSchema | undefined;
222
- archivedAt?: string | undefined;
223
223
  nodes?: Record<string, {
224
224
  type: string;
225
225
  config?: any;
@@ -246,7 +246,7 @@ export declare const ListFlowInstancesForConnectionQuery: z.ZodObject<{
246
246
  limit: z.ZodOptional<z.ZodNumber>;
247
247
  cursor: z.ZodOptional<z.ZodString>;
248
248
  } & {
249
- includeArchived: z.ZodOptional<z.ZodBoolean>;
249
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
250
250
  } & {
251
251
  userId: z.ZodOptional<z.ZodString>;
252
252
  instanceKey: z.ZodOptional<z.ZodString>;
@@ -262,7 +262,7 @@ export declare const ListFlowInstancesForConnectionQuery: z.ZodObject<{
262
262
  flowKey?: string | undefined;
263
263
  }, {
264
264
  search?: string | undefined;
265
- includeArchived?: boolean | undefined;
265
+ includeArchived?: unknown;
266
266
  limit?: number | undefined;
267
267
  cursor?: string | undefined;
268
268
  userId?: string | undefined;
@@ -282,7 +282,7 @@ export declare const FindFlowInstancesQuery: z.ZodObject<{
282
282
  limit: z.ZodOptional<z.ZodNumber>;
283
283
  cursor: z.ZodOptional<z.ZodString>;
284
284
  } & {
285
- includeArchived: z.ZodOptional<z.ZodBoolean>;
285
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
286
286
  } & {
287
287
  userId: z.ZodOptional<z.ZodString>;
288
288
  instanceKey: z.ZodOptional<z.ZodString>;
@@ -305,7 +305,7 @@ export declare const FindFlowInstancesQuery: z.ZodObject<{
305
305
  flowKey?: string | undefined;
306
306
  }, {
307
307
  search?: string | undefined;
308
- includeArchived?: boolean | undefined;
308
+ includeArchived?: unknown;
309
309
  limit?: number | undefined;
310
310
  cursor?: string | undefined;
311
311
  userId?: string | undefined;
@@ -355,13 +355,17 @@ export declare const RunFlowOptions: z.ZodObject<{
355
355
  onUpdate?: ((...args: unknown[]) => unknown) | undefined;
356
356
  }>;
357
357
  export type RunFlowOptions = z.infer<typeof RunFlowOptions>;
358
- export declare const Flow: z.ZodObject<{
358
+ export declare const FlowApiResponse: z.ZodObject<{
359
359
  id: z.ZodString;
360
360
  name: z.ZodString;
361
- } & {
362
- key: z.ZodString;
361
+ key: z.ZodOptional<z.ZodString>;
362
+ uuid: z.ZodOptional<z.ZodString>;
363
+ description: z.ZodOptional<z.ZodString>;
363
364
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
364
365
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
366
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
367
+ createdAt: z.ZodOptional<z.ZodString>;
368
+ updatedAt: z.ZodOptional<z.ZodString>;
365
369
  } & {
366
370
  integrationId: z.ZodOptional<z.ZodString>;
367
371
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -438,25 +442,29 @@ export declare const Flow: z.ZodObject<{
438
442
  integration: z.ZodOptional<z.ZodObject<{
439
443
  id: z.ZodString;
440
444
  name: z.ZodString;
441
- } & {
442
- key: z.ZodString;
445
+ key: z.ZodOptional<z.ZodString>;
446
+ uuid: z.ZodOptional<z.ZodString>;
447
+ description: z.ZodOptional<z.ZodString>;
443
448
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
444
449
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
450
+ revision: z.ZodOptional<z.ZodString>;
451
+ createdAt: z.ZodOptional<z.ZodString>;
452
+ updatedAt: z.ZodOptional<z.ZodString>;
445
453
  } & {
446
454
  logoUri: z.ZodString;
447
455
  connectorId: z.ZodOptional<z.ZodString>;
448
456
  connectorVersion: z.ZodOptional<z.ZodString>;
449
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
450
457
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
451
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
452
458
  parameters: z.ZodOptional<z.ZodAny>;
453
- baseUri: z.ZodString;
454
459
  archivedAt: z.ZodOptional<z.ZodString>;
455
460
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
456
461
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
457
462
  hasOperations: z.ZodOptional<z.ZodBoolean>;
463
+ operationsCount: z.ZodOptional<z.ZodNumber>;
458
464
  hasData: z.ZodOptional<z.ZodBoolean>;
465
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
459
466
  hasEvents: z.ZodOptional<z.ZodBoolean>;
467
+ eventsCount: z.ZodOptional<z.ZodNumber>;
460
468
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
461
469
  hasUdm: z.ZodOptional<z.ZodBoolean>;
462
470
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -464,66 +472,80 @@ export declare const Flow: z.ZodObject<{
464
472
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
465
473
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
466
474
  }, "strip", z.ZodTypeAny, {
467
- key: string;
468
475
  id: string;
469
476
  name: string;
470
- baseUri: string;
471
477
  logoUri: string;
478
+ key?: string | undefined;
479
+ uuid?: string | undefined;
480
+ description?: string | undefined;
472
481
  state?: import("..").WorkspaceElementState | undefined;
473
482
  errors?: any[] | undefined;
474
- parameters?: any;
475
- parametersSchema?: DataSchema | undefined;
483
+ revision?: string | undefined;
484
+ isDeactivated?: boolean | undefined;
485
+ createdAt?: string | undefined;
486
+ updatedAt?: string | undefined;
476
487
  archivedAt?: string | undefined;
488
+ parameters?: any;
477
489
  isTest?: boolean | undefined;
478
490
  connectorId?: string | undefined;
479
491
  connectorVersion?: string | undefined;
480
- authOptions?: any[] | undefined;
481
492
  oAuthCallbackUri?: string | undefined;
482
493
  hasMissingParameters?: boolean | undefined;
483
494
  hasDocumentation?: boolean | undefined;
484
495
  hasOperations?: boolean | undefined;
496
+ operationsCount?: number | undefined;
485
497
  hasData?: boolean | undefined;
498
+ dataCollectionsCount?: number | undefined;
486
499
  hasEvents?: boolean | undefined;
500
+ eventsCount?: number | undefined;
487
501
  hasGlobalWebhooks?: boolean | undefined;
488
502
  hasUdm?: boolean | undefined;
489
503
  appUuid?: string | undefined;
490
- isDeactivated?: boolean | undefined;
491
504
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
492
505
  }, {
493
- key: string;
494
506
  id: string;
495
507
  name: string;
496
- baseUri: string;
497
508
  logoUri: string;
509
+ key?: string | undefined;
510
+ uuid?: string | undefined;
511
+ description?: string | undefined;
498
512
  state?: import("..").WorkspaceElementState | undefined;
499
513
  errors?: any[] | undefined;
500
- parameters?: any;
501
- parametersSchema?: DataSchema | undefined;
514
+ revision?: string | undefined;
515
+ isDeactivated?: boolean | undefined;
516
+ createdAt?: string | undefined;
517
+ updatedAt?: string | undefined;
502
518
  archivedAt?: string | undefined;
519
+ parameters?: any;
503
520
  isTest?: boolean | undefined;
504
521
  connectorId?: string | undefined;
505
522
  connectorVersion?: string | undefined;
506
- authOptions?: any[] | undefined;
507
523
  oAuthCallbackUri?: string | undefined;
508
524
  hasMissingParameters?: boolean | undefined;
509
525
  hasDocumentation?: boolean | undefined;
510
526
  hasOperations?: boolean | undefined;
527
+ operationsCount?: number | undefined;
511
528
  hasData?: boolean | undefined;
529
+ dataCollectionsCount?: number | undefined;
512
530
  hasEvents?: boolean | undefined;
531
+ eventsCount?: number | undefined;
513
532
  hasGlobalWebhooks?: boolean | undefined;
514
533
  hasUdm?: boolean | undefined;
515
534
  appUuid?: string | undefined;
516
- isDeactivated?: boolean | undefined;
517
535
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
518
536
  }>>;
519
537
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
520
538
  element: z.ZodObject<{
521
539
  id: z.ZodString;
522
540
  name: z.ZodString;
523
- } & {
524
- key: z.ZodString;
541
+ key: z.ZodOptional<z.ZodString>;
542
+ uuid: z.ZodOptional<z.ZodString>;
543
+ description: z.ZodOptional<z.ZodString>;
525
544
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
526
545
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
546
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
547
+ createdAt: z.ZodOptional<z.ZodString>;
548
+ updatedAt: z.ZodOptional<z.ZodString>;
527
549
  } & {
528
550
  integrationId: z.ZodOptional<z.ZodString>;
529
551
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -597,15 +619,20 @@ export declare const Flow: z.ZodObject<{
597
619
  revision: z.ZodString;
598
620
  customized: z.ZodOptional<z.ZodBoolean>;
599
621
  }, "strip", z.ZodTypeAny, {
600
- key: string;
601
622
  id: string;
602
623
  name: string;
603
624
  revision: string;
625
+ key?: string | undefined;
626
+ uuid?: string | undefined;
627
+ description?: string | undefined;
604
628
  state?: import("..").WorkspaceElementState | undefined;
605
629
  errors?: any[] | undefined;
630
+ isDeactivated?: boolean | undefined;
631
+ createdAt?: string | undefined;
632
+ updatedAt?: string | undefined;
633
+ archivedAt?: string | undefined;
606
634
  integrationId?: string | undefined;
607
635
  parametersSchema?: DataSchema | undefined;
608
- archivedAt?: string | undefined;
609
636
  customized?: boolean | undefined;
610
637
  universalFlowId?: string | undefined;
611
638
  universalFlowRevision?: string | undefined;
@@ -630,15 +657,20 @@ export declare const Flow: z.ZodObject<{
630
657
  }> | undefined;
631
658
  autoCreateInstances?: boolean | undefined;
632
659
  }, {
633
- key: string;
634
660
  id: string;
635
661
  name: string;
636
662
  revision: string;
663
+ key?: string | undefined;
664
+ uuid?: string | undefined;
665
+ description?: string | undefined;
637
666
  state?: import("..").WorkspaceElementState | undefined;
638
667
  errors?: any[] | undefined;
668
+ isDeactivated?: boolean | undefined;
669
+ createdAt?: string | undefined;
670
+ updatedAt?: string | undefined;
671
+ archivedAt?: string | undefined;
639
672
  integrationId?: string | undefined;
640
673
  parametersSchema?: DataSchema | undefined;
641
- archivedAt?: string | undefined;
642
674
  customized?: boolean | undefined;
643
675
  universalFlowId?: string | undefined;
644
676
  universalFlowRevision?: string | undefined;
@@ -666,25 +698,29 @@ export declare const Flow: z.ZodObject<{
666
698
  integration: z.ZodObject<{
667
699
  id: z.ZodString;
668
700
  name: z.ZodString;
669
- } & {
670
- key: z.ZodString;
701
+ key: z.ZodOptional<z.ZodString>;
702
+ uuid: z.ZodOptional<z.ZodString>;
703
+ description: z.ZodOptional<z.ZodString>;
671
704
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
672
705
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
706
+ revision: z.ZodOptional<z.ZodString>;
707
+ createdAt: z.ZodOptional<z.ZodString>;
708
+ updatedAt: z.ZodOptional<z.ZodString>;
673
709
  } & {
674
710
  logoUri: z.ZodString;
675
711
  connectorId: z.ZodOptional<z.ZodString>;
676
712
  connectorVersion: z.ZodOptional<z.ZodString>;
677
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
678
713
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
679
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
680
714
  parameters: z.ZodOptional<z.ZodAny>;
681
- baseUri: z.ZodString;
682
715
  archivedAt: z.ZodOptional<z.ZodString>;
683
716
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
684
717
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
685
718
  hasOperations: z.ZodOptional<z.ZodBoolean>;
719
+ operationsCount: z.ZodOptional<z.ZodNumber>;
686
720
  hasData: z.ZodOptional<z.ZodBoolean>;
721
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
687
722
  hasEvents: z.ZodOptional<z.ZodBoolean>;
723
+ eventsCount: z.ZodOptional<z.ZodNumber>;
688
724
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
689
725
  hasUdm: z.ZodOptional<z.ZodBoolean>;
690
726
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -692,96 +728,116 @@ export declare const Flow: z.ZodObject<{
692
728
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
693
729
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
694
730
  }, "strip", z.ZodTypeAny, {
695
- key: string;
696
731
  id: string;
697
732
  name: string;
698
- baseUri: string;
699
733
  logoUri: string;
734
+ key?: string | undefined;
735
+ uuid?: string | undefined;
736
+ description?: string | undefined;
700
737
  state?: import("..").WorkspaceElementState | undefined;
701
738
  errors?: any[] | undefined;
702
- parameters?: any;
703
- parametersSchema?: DataSchema | undefined;
739
+ revision?: string | undefined;
740
+ isDeactivated?: boolean | undefined;
741
+ createdAt?: string | undefined;
742
+ updatedAt?: string | undefined;
704
743
  archivedAt?: string | undefined;
744
+ parameters?: any;
705
745
  isTest?: boolean | undefined;
706
746
  connectorId?: string | undefined;
707
747
  connectorVersion?: string | undefined;
708
- authOptions?: any[] | undefined;
709
748
  oAuthCallbackUri?: string | undefined;
710
749
  hasMissingParameters?: boolean | undefined;
711
750
  hasDocumentation?: boolean | undefined;
712
751
  hasOperations?: boolean | undefined;
752
+ operationsCount?: number | undefined;
713
753
  hasData?: boolean | undefined;
754
+ dataCollectionsCount?: number | undefined;
714
755
  hasEvents?: boolean | undefined;
756
+ eventsCount?: number | undefined;
715
757
  hasGlobalWebhooks?: boolean | undefined;
716
758
  hasUdm?: boolean | undefined;
717
759
  appUuid?: string | undefined;
718
- isDeactivated?: boolean | undefined;
719
760
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
720
761
  }, {
721
- key: string;
722
762
  id: string;
723
763
  name: string;
724
- baseUri: string;
725
764
  logoUri: string;
765
+ key?: string | undefined;
766
+ uuid?: string | undefined;
767
+ description?: string | undefined;
726
768
  state?: import("..").WorkspaceElementState | undefined;
727
769
  errors?: any[] | undefined;
728
- parameters?: any;
729
- parametersSchema?: DataSchema | undefined;
770
+ revision?: string | undefined;
771
+ isDeactivated?: boolean | undefined;
772
+ createdAt?: string | undefined;
773
+ updatedAt?: string | undefined;
730
774
  archivedAt?: string | undefined;
775
+ parameters?: any;
731
776
  isTest?: boolean | undefined;
732
777
  connectorId?: string | undefined;
733
778
  connectorVersion?: string | undefined;
734
- authOptions?: any[] | undefined;
735
779
  oAuthCallbackUri?: string | undefined;
736
780
  hasMissingParameters?: boolean | undefined;
737
781
  hasDocumentation?: boolean | undefined;
738
782
  hasOperations?: boolean | undefined;
783
+ operationsCount?: number | undefined;
739
784
  hasData?: boolean | undefined;
785
+ dataCollectionsCount?: number | undefined;
740
786
  hasEvents?: boolean | undefined;
787
+ eventsCount?: number | undefined;
741
788
  hasGlobalWebhooks?: boolean | undefined;
742
789
  hasUdm?: boolean | undefined;
743
790
  appUuid?: string | undefined;
744
- isDeactivated?: boolean | undefined;
745
791
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
746
792
  }>;
747
793
  }, "strip", z.ZodTypeAny, {
748
794
  integration: {
749
- key: string;
750
795
  id: string;
751
796
  name: string;
752
- baseUri: string;
753
797
  logoUri: string;
798
+ key?: string | undefined;
799
+ uuid?: string | undefined;
800
+ description?: string | undefined;
754
801
  state?: import("..").WorkspaceElementState | undefined;
755
802
  errors?: any[] | undefined;
756
- parameters?: any;
757
- parametersSchema?: DataSchema | undefined;
803
+ revision?: string | undefined;
804
+ isDeactivated?: boolean | undefined;
805
+ createdAt?: string | undefined;
806
+ updatedAt?: string | undefined;
758
807
  archivedAt?: string | undefined;
808
+ parameters?: any;
759
809
  isTest?: boolean | undefined;
760
810
  connectorId?: string | undefined;
761
811
  connectorVersion?: string | undefined;
762
- authOptions?: any[] | undefined;
763
812
  oAuthCallbackUri?: string | undefined;
764
813
  hasMissingParameters?: boolean | undefined;
765
814
  hasDocumentation?: boolean | undefined;
766
815
  hasOperations?: boolean | undefined;
816
+ operationsCount?: number | undefined;
767
817
  hasData?: boolean | undefined;
818
+ dataCollectionsCount?: number | undefined;
768
819
  hasEvents?: boolean | undefined;
820
+ eventsCount?: number | undefined;
769
821
  hasGlobalWebhooks?: boolean | undefined;
770
822
  hasUdm?: boolean | undefined;
771
823
  appUuid?: string | undefined;
772
- isDeactivated?: boolean | undefined;
773
824
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
774
825
  };
775
826
  element: {
776
- key: string;
777
827
  id: string;
778
828
  name: string;
779
829
  revision: string;
830
+ key?: string | undefined;
831
+ uuid?: string | undefined;
832
+ description?: string | undefined;
780
833
  state?: import("..").WorkspaceElementState | undefined;
781
834
  errors?: any[] | undefined;
835
+ isDeactivated?: boolean | undefined;
836
+ createdAt?: string | undefined;
837
+ updatedAt?: string | undefined;
838
+ archivedAt?: string | undefined;
782
839
  integrationId?: string | undefined;
783
840
  parametersSchema?: DataSchema | undefined;
784
- archivedAt?: string | undefined;
785
841
  customized?: boolean | undefined;
786
842
  universalFlowId?: string | undefined;
787
843
  universalFlowRevision?: string | undefined;
@@ -808,42 +864,52 @@ export declare const Flow: z.ZodObject<{
808
864
  };
809
865
  }, {
810
866
  integration: {
811
- key: string;
812
867
  id: string;
813
868
  name: string;
814
- baseUri: string;
815
869
  logoUri: string;
870
+ key?: string | undefined;
871
+ uuid?: string | undefined;
872
+ description?: string | undefined;
816
873
  state?: import("..").WorkspaceElementState | undefined;
817
874
  errors?: any[] | undefined;
818
- parameters?: any;
819
- parametersSchema?: DataSchema | undefined;
875
+ revision?: string | undefined;
876
+ isDeactivated?: boolean | undefined;
877
+ createdAt?: string | undefined;
878
+ updatedAt?: string | undefined;
820
879
  archivedAt?: string | undefined;
880
+ parameters?: any;
821
881
  isTest?: boolean | undefined;
822
882
  connectorId?: string | undefined;
823
883
  connectorVersion?: string | undefined;
824
- authOptions?: any[] | undefined;
825
884
  oAuthCallbackUri?: string | undefined;
826
885
  hasMissingParameters?: boolean | undefined;
827
886
  hasDocumentation?: boolean | undefined;
828
887
  hasOperations?: boolean | undefined;
888
+ operationsCount?: number | undefined;
829
889
  hasData?: boolean | undefined;
890
+ dataCollectionsCount?: number | undefined;
830
891
  hasEvents?: boolean | undefined;
892
+ eventsCount?: number | undefined;
831
893
  hasGlobalWebhooks?: boolean | undefined;
832
894
  hasUdm?: boolean | undefined;
833
895
  appUuid?: string | undefined;
834
- isDeactivated?: boolean | undefined;
835
896
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
836
897
  };
837
898
  element: {
838
- key: string;
839
899
  id: string;
840
900
  name: string;
841
901
  revision: string;
902
+ key?: string | undefined;
903
+ uuid?: string | undefined;
904
+ description?: string | undefined;
842
905
  state?: import("..").WorkspaceElementState | undefined;
843
906
  errors?: any[] | undefined;
907
+ isDeactivated?: boolean | undefined;
908
+ createdAt?: string | undefined;
909
+ updatedAt?: string | undefined;
910
+ archivedAt?: string | undefined;
844
911
  integrationId?: string | undefined;
845
912
  parametersSchema?: DataSchema | undefined;
846
- archivedAt?: string | undefined;
847
913
  customized?: boolean | undefined;
848
914
  universalFlowId?: string | undefined;
849
915
  universalFlowRevision?: string | undefined;
@@ -870,81 +936,101 @@ export declare const Flow: z.ZodObject<{
870
936
  };
871
937
  }>, "many">>;
872
938
  }, "strip", z.ZodTypeAny, {
873
- key: string;
874
939
  id: string;
875
940
  name: string;
876
941
  revision: string;
942
+ key?: string | undefined;
877
943
  integration?: {
878
- key: string;
879
944
  id: string;
880
945
  name: string;
881
- baseUri: string;
882
946
  logoUri: string;
947
+ key?: string | undefined;
948
+ uuid?: string | undefined;
949
+ description?: string | undefined;
883
950
  state?: import("..").WorkspaceElementState | undefined;
884
951
  errors?: any[] | undefined;
885
- parameters?: any;
886
- parametersSchema?: DataSchema | undefined;
952
+ revision?: string | undefined;
953
+ isDeactivated?: boolean | undefined;
954
+ createdAt?: string | undefined;
955
+ updatedAt?: string | undefined;
887
956
  archivedAt?: string | undefined;
957
+ parameters?: any;
888
958
  isTest?: boolean | undefined;
889
959
  connectorId?: string | undefined;
890
960
  connectorVersion?: string | undefined;
891
- authOptions?: any[] | undefined;
892
961
  oAuthCallbackUri?: string | undefined;
893
962
  hasMissingParameters?: boolean | undefined;
894
963
  hasDocumentation?: boolean | undefined;
895
964
  hasOperations?: boolean | undefined;
965
+ operationsCount?: number | undefined;
896
966
  hasData?: boolean | undefined;
967
+ dataCollectionsCount?: number | undefined;
897
968
  hasEvents?: boolean | undefined;
969
+ eventsCount?: number | undefined;
898
970
  hasGlobalWebhooks?: boolean | undefined;
899
971
  hasUdm?: boolean | undefined;
900
972
  appUuid?: string | undefined;
901
- isDeactivated?: boolean | undefined;
902
973
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
903
974
  } | undefined;
975
+ uuid?: string | undefined;
976
+ description?: string | undefined;
904
977
  state?: import("..").WorkspaceElementState | undefined;
905
978
  errors?: any[] | undefined;
979
+ isDeactivated?: boolean | undefined;
980
+ createdAt?: string | undefined;
981
+ updatedAt?: string | undefined;
982
+ archivedAt?: string | undefined;
906
983
  integrationId?: string | undefined;
907
984
  parametersSchema?: DataSchema | undefined;
908
- archivedAt?: string | undefined;
909
985
  customized?: boolean | undefined;
910
986
  appliedToIntegrations?: {
911
987
  integration: {
912
- key: string;
913
988
  id: string;
914
989
  name: string;
915
- baseUri: string;
916
990
  logoUri: string;
991
+ key?: string | undefined;
992
+ uuid?: string | undefined;
993
+ description?: string | undefined;
917
994
  state?: import("..").WorkspaceElementState | undefined;
918
995
  errors?: any[] | undefined;
919
- parameters?: any;
920
- parametersSchema?: DataSchema | undefined;
996
+ revision?: string | undefined;
997
+ isDeactivated?: boolean | undefined;
998
+ createdAt?: string | undefined;
999
+ updatedAt?: string | undefined;
921
1000
  archivedAt?: string | undefined;
1001
+ parameters?: any;
922
1002
  isTest?: boolean | undefined;
923
1003
  connectorId?: string | undefined;
924
1004
  connectorVersion?: string | undefined;
925
- authOptions?: any[] | undefined;
926
1005
  oAuthCallbackUri?: string | undefined;
927
1006
  hasMissingParameters?: boolean | undefined;
928
1007
  hasDocumentation?: boolean | undefined;
929
1008
  hasOperations?: boolean | undefined;
1009
+ operationsCount?: number | undefined;
930
1010
  hasData?: boolean | undefined;
1011
+ dataCollectionsCount?: number | undefined;
931
1012
  hasEvents?: boolean | undefined;
1013
+ eventsCount?: number | undefined;
932
1014
  hasGlobalWebhooks?: boolean | undefined;
933
1015
  hasUdm?: boolean | undefined;
934
1016
  appUuid?: string | undefined;
935
- isDeactivated?: boolean | undefined;
936
1017
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
937
1018
  };
938
1019
  element: {
939
- key: string;
940
1020
  id: string;
941
1021
  name: string;
942
1022
  revision: string;
1023
+ key?: string | undefined;
1024
+ uuid?: string | undefined;
1025
+ description?: string | undefined;
943
1026
  state?: import("..").WorkspaceElementState | undefined;
944
1027
  errors?: any[] | undefined;
1028
+ isDeactivated?: boolean | undefined;
1029
+ createdAt?: string | undefined;
1030
+ updatedAt?: string | undefined;
1031
+ archivedAt?: string | undefined;
945
1032
  integrationId?: string | undefined;
946
1033
  parametersSchema?: DataSchema | undefined;
947
- archivedAt?: string | undefined;
948
1034
  customized?: boolean | undefined;
949
1035
  universalFlowId?: string | undefined;
950
1036
  universalFlowRevision?: string | undefined;
@@ -993,81 +1079,101 @@ export declare const Flow: z.ZodObject<{
993
1079
  }> | undefined;
994
1080
  autoCreateInstances?: boolean | undefined;
995
1081
  }, {
996
- key: string;
997
1082
  id: string;
998
1083
  name: string;
999
1084
  revision: string;
1085
+ key?: string | undefined;
1000
1086
  integration?: {
1001
- key: string;
1002
1087
  id: string;
1003
1088
  name: string;
1004
- baseUri: string;
1005
1089
  logoUri: string;
1090
+ key?: string | undefined;
1091
+ uuid?: string | undefined;
1092
+ description?: string | undefined;
1006
1093
  state?: import("..").WorkspaceElementState | undefined;
1007
1094
  errors?: any[] | undefined;
1008
- parameters?: any;
1009
- parametersSchema?: DataSchema | undefined;
1095
+ revision?: string | undefined;
1096
+ isDeactivated?: boolean | undefined;
1097
+ createdAt?: string | undefined;
1098
+ updatedAt?: string | undefined;
1010
1099
  archivedAt?: string | undefined;
1100
+ parameters?: any;
1011
1101
  isTest?: boolean | undefined;
1012
1102
  connectorId?: string | undefined;
1013
1103
  connectorVersion?: string | undefined;
1014
- authOptions?: any[] | undefined;
1015
1104
  oAuthCallbackUri?: string | undefined;
1016
1105
  hasMissingParameters?: boolean | undefined;
1017
1106
  hasDocumentation?: boolean | undefined;
1018
1107
  hasOperations?: boolean | undefined;
1108
+ operationsCount?: number | undefined;
1019
1109
  hasData?: boolean | undefined;
1110
+ dataCollectionsCount?: number | undefined;
1020
1111
  hasEvents?: boolean | undefined;
1112
+ eventsCount?: number | undefined;
1021
1113
  hasGlobalWebhooks?: boolean | undefined;
1022
1114
  hasUdm?: boolean | undefined;
1023
1115
  appUuid?: string | undefined;
1024
- isDeactivated?: boolean | undefined;
1025
1116
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1026
1117
  } | undefined;
1118
+ uuid?: string | undefined;
1119
+ description?: string | undefined;
1027
1120
  state?: import("..").WorkspaceElementState | undefined;
1028
1121
  errors?: any[] | undefined;
1122
+ isDeactivated?: boolean | undefined;
1123
+ createdAt?: string | undefined;
1124
+ updatedAt?: string | undefined;
1125
+ archivedAt?: string | undefined;
1029
1126
  integrationId?: string | undefined;
1030
1127
  parametersSchema?: DataSchema | undefined;
1031
- archivedAt?: string | undefined;
1032
1128
  customized?: boolean | undefined;
1033
1129
  appliedToIntegrations?: {
1034
1130
  integration: {
1035
- key: string;
1036
1131
  id: string;
1037
1132
  name: string;
1038
- baseUri: string;
1039
1133
  logoUri: string;
1134
+ key?: string | undefined;
1135
+ uuid?: string | undefined;
1136
+ description?: string | undefined;
1040
1137
  state?: import("..").WorkspaceElementState | undefined;
1041
1138
  errors?: any[] | undefined;
1042
- parameters?: any;
1043
- parametersSchema?: DataSchema | undefined;
1139
+ revision?: string | undefined;
1140
+ isDeactivated?: boolean | undefined;
1141
+ createdAt?: string | undefined;
1142
+ updatedAt?: string | undefined;
1044
1143
  archivedAt?: string | undefined;
1144
+ parameters?: any;
1045
1145
  isTest?: boolean | undefined;
1046
1146
  connectorId?: string | undefined;
1047
1147
  connectorVersion?: string | undefined;
1048
- authOptions?: any[] | undefined;
1049
1148
  oAuthCallbackUri?: string | undefined;
1050
1149
  hasMissingParameters?: boolean | undefined;
1051
1150
  hasDocumentation?: boolean | undefined;
1052
1151
  hasOperations?: boolean | undefined;
1152
+ operationsCount?: number | undefined;
1053
1153
  hasData?: boolean | undefined;
1154
+ dataCollectionsCount?: number | undefined;
1054
1155
  hasEvents?: boolean | undefined;
1156
+ eventsCount?: number | undefined;
1055
1157
  hasGlobalWebhooks?: boolean | undefined;
1056
1158
  hasUdm?: boolean | undefined;
1057
1159
  appUuid?: string | undefined;
1058
- isDeactivated?: boolean | undefined;
1059
1160
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1060
1161
  };
1061
1162
  element: {
1062
- key: string;
1063
1163
  id: string;
1064
1164
  name: string;
1065
1165
  revision: string;
1166
+ key?: string | undefined;
1167
+ uuid?: string | undefined;
1168
+ description?: string | undefined;
1066
1169
  state?: import("..").WorkspaceElementState | undefined;
1067
1170
  errors?: any[] | undefined;
1171
+ isDeactivated?: boolean | undefined;
1172
+ createdAt?: string | undefined;
1173
+ updatedAt?: string | undefined;
1174
+ archivedAt?: string | undefined;
1068
1175
  integrationId?: string | undefined;
1069
1176
  parametersSchema?: DataSchema | undefined;
1070
- archivedAt?: string | undefined;
1071
1177
  customized?: boolean | undefined;
1072
1178
  universalFlowId?: string | undefined;
1073
1179
  universalFlowRevision?: string | undefined;
@@ -1116,13 +1222,18 @@ export declare const Flow: z.ZodObject<{
1116
1222
  }> | undefined;
1117
1223
  autoCreateInstances?: boolean | undefined;
1118
1224
  }>;
1119
- export type Flow = z.infer<typeof Flow>;
1120
- export type FlowApiResponse = Flow;
1121
- export declare const FlowInstance: z.ZodObject<{
1225
+ export type FlowApiResponse = z.infer<typeof FlowApiResponse>;
1226
+ export type Flow = FlowApiResponse;
1227
+ export declare const FlowInstanceApiResponse: z.ZodObject<{
1122
1228
  id: z.ZodString;
1123
1229
  name: z.ZodString;
1124
- key: z.ZodString;
1230
+ key: z.ZodOptional<z.ZodString>;
1231
+ uuid: z.ZodOptional<z.ZodString>;
1232
+ description: z.ZodOptional<z.ZodString>;
1125
1233
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1234
+ revision: z.ZodOptional<z.ZodString>;
1235
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1236
+ archivedAt: z.ZodOptional<z.ZodString>;
1126
1237
  } & {
1127
1238
  userId: z.ZodString;
1128
1239
  connectionId: z.ZodOptional<z.ZodString>;
@@ -1154,67 +1265,75 @@ export declare const FlowInstance: z.ZodObject<{
1154
1265
  id: string;
1155
1266
  name: string;
1156
1267
  internalId: string;
1268
+ createdAt?: string | undefined;
1269
+ archivedAt?: string | undefined;
1157
1270
  credentials?: any;
1158
1271
  fields?: Record<string, any> | undefined;
1159
- lastActiveAt?: string | undefined;
1160
1272
  isTest?: boolean | undefined;
1273
+ lastActiveAt?: string | undefined;
1161
1274
  isBillable?: boolean | undefined;
1162
1275
  }, z.ZodTypeDef, {
1163
1276
  id: string;
1164
1277
  name: string;
1165
1278
  internalId: string;
1279
+ createdAt?: string | undefined;
1280
+ archivedAt?: string | undefined;
1166
1281
  credentials?: any;
1167
1282
  fields?: Record<string, any> | undefined;
1168
- lastActiveAt?: string | undefined;
1169
1283
  isTest?: boolean | undefined;
1284
+ lastActiveAt?: string | undefined;
1170
1285
  isBillable?: boolean | undefined;
1171
1286
  }>>>;
1172
1287
  connection: z.ZodOptional<z.ZodLazy<z.ZodType<{
1173
1288
  id: string;
1174
1289
  name: string;
1175
- userId: string;
1176
- integrationId: string;
1177
1290
  createdAt: string;
1178
1291
  updatedAt: string;
1292
+ userId: string;
1293
+ integrationId: string;
1179
1294
  error?: any;
1180
1295
  state?: import("..").WorkspaceElementState | undefined;
1181
1296
  errors?: any[] | undefined;
1182
- accessToken?: string | undefined;
1183
- credentials?: unknown;
1184
- parameters?: unknown;
1185
- connectorParameters?: unknown;
1297
+ isDeactivated?: boolean | undefined;
1298
+ archivedAt?: string | undefined;
1299
+ authOptionKey?: string | undefined;
1300
+ isTest?: boolean | undefined;
1186
1301
  disconnected?: boolean | undefined;
1187
- refreshToken?: string | undefined;
1302
+ isDefunct?: boolean | undefined;
1188
1303
  lastActiveAt?: string | undefined;
1189
1304
  nextCredentialsRefreshAt?: string | undefined;
1190
- archivedAt?: string | undefined;
1305
+ meta?: Record<string, any> | undefined;
1191
1306
  }, z.ZodTypeDef, {
1192
1307
  id: string;
1193
1308
  name: string;
1194
- userId: string;
1195
- integrationId: string;
1196
1309
  createdAt: string;
1197
1310
  updatedAt: string;
1311
+ userId: string;
1312
+ integrationId: string;
1198
1313
  error?: any;
1199
1314
  state?: import("..").WorkspaceElementState | undefined;
1200
1315
  errors?: any[] | undefined;
1201
- accessToken?: string | undefined;
1202
- credentials?: unknown;
1203
- parameters?: unknown;
1204
- connectorParameters?: unknown;
1316
+ isDeactivated?: boolean | undefined;
1317
+ archivedAt?: string | undefined;
1318
+ authOptionKey?: string | undefined;
1319
+ isTest?: boolean | undefined;
1205
1320
  disconnected?: boolean | undefined;
1206
- refreshToken?: string | undefined;
1321
+ isDefunct?: boolean | undefined;
1207
1322
  lastActiveAt?: string | undefined;
1208
1323
  nextCredentialsRefreshAt?: string | undefined;
1209
- archivedAt?: string | undefined;
1324
+ meta?: Record<string, any> | undefined;
1210
1325
  }>>>;
1211
1326
  flow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1212
1327
  id: z.ZodString;
1213
1328
  name: z.ZodString;
1214
- } & {
1215
- key: z.ZodString;
1329
+ key: z.ZodOptional<z.ZodString>;
1330
+ uuid: z.ZodOptional<z.ZodString>;
1331
+ description: z.ZodOptional<z.ZodString>;
1216
1332
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1217
1333
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1334
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1335
+ createdAt: z.ZodOptional<z.ZodString>;
1336
+ updatedAt: z.ZodOptional<z.ZodString>;
1218
1337
  } & {
1219
1338
  integrationId: z.ZodOptional<z.ZodString>;
1220
1339
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -1291,25 +1410,29 @@ export declare const FlowInstance: z.ZodObject<{
1291
1410
  integration: z.ZodOptional<z.ZodObject<{
1292
1411
  id: z.ZodString;
1293
1412
  name: z.ZodString;
1294
- } & {
1295
- key: z.ZodString;
1413
+ key: z.ZodOptional<z.ZodString>;
1414
+ uuid: z.ZodOptional<z.ZodString>;
1415
+ description: z.ZodOptional<z.ZodString>;
1296
1416
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1297
1417
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1418
+ revision: z.ZodOptional<z.ZodString>;
1419
+ createdAt: z.ZodOptional<z.ZodString>;
1420
+ updatedAt: z.ZodOptional<z.ZodString>;
1298
1421
  } & {
1299
1422
  logoUri: z.ZodString;
1300
1423
  connectorId: z.ZodOptional<z.ZodString>;
1301
1424
  connectorVersion: z.ZodOptional<z.ZodString>;
1302
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1303
1425
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1304
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1305
1426
  parameters: z.ZodOptional<z.ZodAny>;
1306
- baseUri: z.ZodString;
1307
1427
  archivedAt: z.ZodOptional<z.ZodString>;
1308
1428
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1309
1429
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1310
1430
  hasOperations: z.ZodOptional<z.ZodBoolean>;
1431
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1311
1432
  hasData: z.ZodOptional<z.ZodBoolean>;
1433
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1312
1434
  hasEvents: z.ZodOptional<z.ZodBoolean>;
1435
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1313
1436
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1314
1437
  hasUdm: z.ZodOptional<z.ZodBoolean>;
1315
1438
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -1317,66 +1440,80 @@ export declare const FlowInstance: z.ZodObject<{
1317
1440
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1318
1441
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1319
1442
  }, "strip", z.ZodTypeAny, {
1320
- key: string;
1321
1443
  id: string;
1322
1444
  name: string;
1323
- baseUri: string;
1324
1445
  logoUri: string;
1446
+ key?: string | undefined;
1447
+ uuid?: string | undefined;
1448
+ description?: string | undefined;
1325
1449
  state?: import("..").WorkspaceElementState | undefined;
1326
1450
  errors?: any[] | undefined;
1327
- parameters?: any;
1328
- parametersSchema?: DataSchema | undefined;
1451
+ revision?: string | undefined;
1452
+ isDeactivated?: boolean | undefined;
1453
+ createdAt?: string | undefined;
1454
+ updatedAt?: string | undefined;
1329
1455
  archivedAt?: string | undefined;
1456
+ parameters?: any;
1330
1457
  isTest?: boolean | undefined;
1331
1458
  connectorId?: string | undefined;
1332
1459
  connectorVersion?: string | undefined;
1333
- authOptions?: any[] | undefined;
1334
1460
  oAuthCallbackUri?: string | undefined;
1335
1461
  hasMissingParameters?: boolean | undefined;
1336
1462
  hasDocumentation?: boolean | undefined;
1337
1463
  hasOperations?: boolean | undefined;
1464
+ operationsCount?: number | undefined;
1338
1465
  hasData?: boolean | undefined;
1466
+ dataCollectionsCount?: number | undefined;
1339
1467
  hasEvents?: boolean | undefined;
1468
+ eventsCount?: number | undefined;
1340
1469
  hasGlobalWebhooks?: boolean | undefined;
1341
1470
  hasUdm?: boolean | undefined;
1342
1471
  appUuid?: string | undefined;
1343
- isDeactivated?: boolean | undefined;
1344
1472
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1345
1473
  }, {
1346
- key: string;
1347
1474
  id: string;
1348
1475
  name: string;
1349
- baseUri: string;
1350
1476
  logoUri: string;
1477
+ key?: string | undefined;
1478
+ uuid?: string | undefined;
1479
+ description?: string | undefined;
1351
1480
  state?: import("..").WorkspaceElementState | undefined;
1352
1481
  errors?: any[] | undefined;
1353
- parameters?: any;
1354
- parametersSchema?: DataSchema | undefined;
1482
+ revision?: string | undefined;
1483
+ isDeactivated?: boolean | undefined;
1484
+ createdAt?: string | undefined;
1485
+ updatedAt?: string | undefined;
1355
1486
  archivedAt?: string | undefined;
1487
+ parameters?: any;
1356
1488
  isTest?: boolean | undefined;
1357
1489
  connectorId?: string | undefined;
1358
1490
  connectorVersion?: string | undefined;
1359
- authOptions?: any[] | undefined;
1360
1491
  oAuthCallbackUri?: string | undefined;
1361
1492
  hasMissingParameters?: boolean | undefined;
1362
1493
  hasDocumentation?: boolean | undefined;
1363
1494
  hasOperations?: boolean | undefined;
1495
+ operationsCount?: number | undefined;
1364
1496
  hasData?: boolean | undefined;
1497
+ dataCollectionsCount?: number | undefined;
1365
1498
  hasEvents?: boolean | undefined;
1499
+ eventsCount?: number | undefined;
1366
1500
  hasGlobalWebhooks?: boolean | undefined;
1367
1501
  hasUdm?: boolean | undefined;
1368
1502
  appUuid?: string | undefined;
1369
- isDeactivated?: boolean | undefined;
1370
1503
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1371
1504
  }>>;
1372
1505
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1373
1506
  element: z.ZodObject<{
1374
1507
  id: z.ZodString;
1375
1508
  name: z.ZodString;
1376
- } & {
1377
- key: z.ZodString;
1509
+ key: z.ZodOptional<z.ZodString>;
1510
+ uuid: z.ZodOptional<z.ZodString>;
1511
+ description: z.ZodOptional<z.ZodString>;
1378
1512
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1379
1513
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1514
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1515
+ createdAt: z.ZodOptional<z.ZodString>;
1516
+ updatedAt: z.ZodOptional<z.ZodString>;
1380
1517
  } & {
1381
1518
  integrationId: z.ZodOptional<z.ZodString>;
1382
1519
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -1450,15 +1587,20 @@ export declare const FlowInstance: z.ZodObject<{
1450
1587
  revision: z.ZodString;
1451
1588
  customized: z.ZodOptional<z.ZodBoolean>;
1452
1589
  }, "strip", z.ZodTypeAny, {
1453
- key: string;
1454
1590
  id: string;
1455
1591
  name: string;
1456
1592
  revision: string;
1593
+ key?: string | undefined;
1594
+ uuid?: string | undefined;
1595
+ description?: string | undefined;
1457
1596
  state?: import("..").WorkspaceElementState | undefined;
1458
1597
  errors?: any[] | undefined;
1598
+ isDeactivated?: boolean | undefined;
1599
+ createdAt?: string | undefined;
1600
+ updatedAt?: string | undefined;
1601
+ archivedAt?: string | undefined;
1459
1602
  integrationId?: string | undefined;
1460
1603
  parametersSchema?: DataSchema | undefined;
1461
- archivedAt?: string | undefined;
1462
1604
  customized?: boolean | undefined;
1463
1605
  universalFlowId?: string | undefined;
1464
1606
  universalFlowRevision?: string | undefined;
@@ -1483,15 +1625,20 @@ export declare const FlowInstance: z.ZodObject<{
1483
1625
  }> | undefined;
1484
1626
  autoCreateInstances?: boolean | undefined;
1485
1627
  }, {
1486
- key: string;
1487
1628
  id: string;
1488
1629
  name: string;
1489
1630
  revision: string;
1631
+ key?: string | undefined;
1632
+ uuid?: string | undefined;
1633
+ description?: string | undefined;
1490
1634
  state?: import("..").WorkspaceElementState | undefined;
1491
1635
  errors?: any[] | undefined;
1636
+ isDeactivated?: boolean | undefined;
1637
+ createdAt?: string | undefined;
1638
+ updatedAt?: string | undefined;
1639
+ archivedAt?: string | undefined;
1492
1640
  integrationId?: string | undefined;
1493
1641
  parametersSchema?: DataSchema | undefined;
1494
- archivedAt?: string | undefined;
1495
1642
  customized?: boolean | undefined;
1496
1643
  universalFlowId?: string | undefined;
1497
1644
  universalFlowRevision?: string | undefined;
@@ -1519,25 +1666,29 @@ export declare const FlowInstance: z.ZodObject<{
1519
1666
  integration: z.ZodObject<{
1520
1667
  id: z.ZodString;
1521
1668
  name: z.ZodString;
1522
- } & {
1523
- key: z.ZodString;
1669
+ key: z.ZodOptional<z.ZodString>;
1670
+ uuid: z.ZodOptional<z.ZodString>;
1671
+ description: z.ZodOptional<z.ZodString>;
1524
1672
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1525
1673
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1674
+ revision: z.ZodOptional<z.ZodString>;
1675
+ createdAt: z.ZodOptional<z.ZodString>;
1676
+ updatedAt: z.ZodOptional<z.ZodString>;
1526
1677
  } & {
1527
1678
  logoUri: z.ZodString;
1528
1679
  connectorId: z.ZodOptional<z.ZodString>;
1529
1680
  connectorVersion: z.ZodOptional<z.ZodString>;
1530
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1531
1681
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1532
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1533
1682
  parameters: z.ZodOptional<z.ZodAny>;
1534
- baseUri: z.ZodString;
1535
1683
  archivedAt: z.ZodOptional<z.ZodString>;
1536
1684
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1537
1685
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1538
1686
  hasOperations: z.ZodOptional<z.ZodBoolean>;
1687
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1539
1688
  hasData: z.ZodOptional<z.ZodBoolean>;
1689
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1540
1690
  hasEvents: z.ZodOptional<z.ZodBoolean>;
1691
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1541
1692
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1542
1693
  hasUdm: z.ZodOptional<z.ZodBoolean>;
1543
1694
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -1545,96 +1696,116 @@ export declare const FlowInstance: z.ZodObject<{
1545
1696
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1546
1697
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1547
1698
  }, "strip", z.ZodTypeAny, {
1548
- key: string;
1549
1699
  id: string;
1550
1700
  name: string;
1551
- baseUri: string;
1552
1701
  logoUri: string;
1702
+ key?: string | undefined;
1703
+ uuid?: string | undefined;
1704
+ description?: string | undefined;
1553
1705
  state?: import("..").WorkspaceElementState | undefined;
1554
1706
  errors?: any[] | undefined;
1555
- parameters?: any;
1556
- parametersSchema?: DataSchema | undefined;
1707
+ revision?: string | undefined;
1708
+ isDeactivated?: boolean | undefined;
1709
+ createdAt?: string | undefined;
1710
+ updatedAt?: string | undefined;
1557
1711
  archivedAt?: string | undefined;
1712
+ parameters?: any;
1558
1713
  isTest?: boolean | undefined;
1559
1714
  connectorId?: string | undefined;
1560
1715
  connectorVersion?: string | undefined;
1561
- authOptions?: any[] | undefined;
1562
1716
  oAuthCallbackUri?: string | undefined;
1563
1717
  hasMissingParameters?: boolean | undefined;
1564
1718
  hasDocumentation?: boolean | undefined;
1565
1719
  hasOperations?: boolean | undefined;
1720
+ operationsCount?: number | undefined;
1566
1721
  hasData?: boolean | undefined;
1722
+ dataCollectionsCount?: number | undefined;
1567
1723
  hasEvents?: boolean | undefined;
1724
+ eventsCount?: number | undefined;
1568
1725
  hasGlobalWebhooks?: boolean | undefined;
1569
1726
  hasUdm?: boolean | undefined;
1570
1727
  appUuid?: string | undefined;
1571
- isDeactivated?: boolean | undefined;
1572
1728
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1573
1729
  }, {
1574
- key: string;
1575
1730
  id: string;
1576
1731
  name: string;
1577
- baseUri: string;
1578
1732
  logoUri: string;
1733
+ key?: string | undefined;
1734
+ uuid?: string | undefined;
1735
+ description?: string | undefined;
1579
1736
  state?: import("..").WorkspaceElementState | undefined;
1580
1737
  errors?: any[] | undefined;
1581
- parameters?: any;
1582
- parametersSchema?: DataSchema | undefined;
1738
+ revision?: string | undefined;
1739
+ isDeactivated?: boolean | undefined;
1740
+ createdAt?: string | undefined;
1741
+ updatedAt?: string | undefined;
1583
1742
  archivedAt?: string | undefined;
1743
+ parameters?: any;
1584
1744
  isTest?: boolean | undefined;
1585
1745
  connectorId?: string | undefined;
1586
1746
  connectorVersion?: string | undefined;
1587
- authOptions?: any[] | undefined;
1588
1747
  oAuthCallbackUri?: string | undefined;
1589
1748
  hasMissingParameters?: boolean | undefined;
1590
1749
  hasDocumentation?: boolean | undefined;
1591
1750
  hasOperations?: boolean | undefined;
1751
+ operationsCount?: number | undefined;
1592
1752
  hasData?: boolean | undefined;
1753
+ dataCollectionsCount?: number | undefined;
1593
1754
  hasEvents?: boolean | undefined;
1755
+ eventsCount?: number | undefined;
1594
1756
  hasGlobalWebhooks?: boolean | undefined;
1595
1757
  hasUdm?: boolean | undefined;
1596
1758
  appUuid?: string | undefined;
1597
- isDeactivated?: boolean | undefined;
1598
1759
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1599
1760
  }>;
1600
1761
  }, "strip", z.ZodTypeAny, {
1601
1762
  integration: {
1602
- key: string;
1603
1763
  id: string;
1604
1764
  name: string;
1605
- baseUri: string;
1606
1765
  logoUri: string;
1766
+ key?: string | undefined;
1767
+ uuid?: string | undefined;
1768
+ description?: string | undefined;
1607
1769
  state?: import("..").WorkspaceElementState | undefined;
1608
1770
  errors?: any[] | undefined;
1609
- parameters?: any;
1610
- parametersSchema?: DataSchema | undefined;
1771
+ revision?: string | undefined;
1772
+ isDeactivated?: boolean | undefined;
1773
+ createdAt?: string | undefined;
1774
+ updatedAt?: string | undefined;
1611
1775
  archivedAt?: string | undefined;
1776
+ parameters?: any;
1612
1777
  isTest?: boolean | undefined;
1613
1778
  connectorId?: string | undefined;
1614
1779
  connectorVersion?: string | undefined;
1615
- authOptions?: any[] | undefined;
1616
1780
  oAuthCallbackUri?: string | undefined;
1617
1781
  hasMissingParameters?: boolean | undefined;
1618
1782
  hasDocumentation?: boolean | undefined;
1619
1783
  hasOperations?: boolean | undefined;
1784
+ operationsCount?: number | undefined;
1620
1785
  hasData?: boolean | undefined;
1786
+ dataCollectionsCount?: number | undefined;
1621
1787
  hasEvents?: boolean | undefined;
1788
+ eventsCount?: number | undefined;
1622
1789
  hasGlobalWebhooks?: boolean | undefined;
1623
1790
  hasUdm?: boolean | undefined;
1624
1791
  appUuid?: string | undefined;
1625
- isDeactivated?: boolean | undefined;
1626
1792
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1627
1793
  };
1628
1794
  element: {
1629
- key: string;
1630
1795
  id: string;
1631
1796
  name: string;
1632
1797
  revision: string;
1798
+ key?: string | undefined;
1799
+ uuid?: string | undefined;
1800
+ description?: string | undefined;
1633
1801
  state?: import("..").WorkspaceElementState | undefined;
1634
1802
  errors?: any[] | undefined;
1803
+ isDeactivated?: boolean | undefined;
1804
+ createdAt?: string | undefined;
1805
+ updatedAt?: string | undefined;
1806
+ archivedAt?: string | undefined;
1635
1807
  integrationId?: string | undefined;
1636
1808
  parametersSchema?: DataSchema | undefined;
1637
- archivedAt?: string | undefined;
1638
1809
  customized?: boolean | undefined;
1639
1810
  universalFlowId?: string | undefined;
1640
1811
  universalFlowRevision?: string | undefined;
@@ -1661,42 +1832,52 @@ export declare const FlowInstance: z.ZodObject<{
1661
1832
  };
1662
1833
  }, {
1663
1834
  integration: {
1664
- key: string;
1665
1835
  id: string;
1666
1836
  name: string;
1667
- baseUri: string;
1668
1837
  logoUri: string;
1838
+ key?: string | undefined;
1839
+ uuid?: string | undefined;
1840
+ description?: string | undefined;
1669
1841
  state?: import("..").WorkspaceElementState | undefined;
1670
1842
  errors?: any[] | undefined;
1671
- parameters?: any;
1672
- parametersSchema?: DataSchema | undefined;
1843
+ revision?: string | undefined;
1844
+ isDeactivated?: boolean | undefined;
1845
+ createdAt?: string | undefined;
1846
+ updatedAt?: string | undefined;
1673
1847
  archivedAt?: string | undefined;
1848
+ parameters?: any;
1674
1849
  isTest?: boolean | undefined;
1675
1850
  connectorId?: string | undefined;
1676
1851
  connectorVersion?: string | undefined;
1677
- authOptions?: any[] | undefined;
1678
1852
  oAuthCallbackUri?: string | undefined;
1679
1853
  hasMissingParameters?: boolean | undefined;
1680
1854
  hasDocumentation?: boolean | undefined;
1681
1855
  hasOperations?: boolean | undefined;
1856
+ operationsCount?: number | undefined;
1682
1857
  hasData?: boolean | undefined;
1858
+ dataCollectionsCount?: number | undefined;
1683
1859
  hasEvents?: boolean | undefined;
1860
+ eventsCount?: number | undefined;
1684
1861
  hasGlobalWebhooks?: boolean | undefined;
1685
1862
  hasUdm?: boolean | undefined;
1686
1863
  appUuid?: string | undefined;
1687
- isDeactivated?: boolean | undefined;
1688
1864
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1689
1865
  };
1690
1866
  element: {
1691
- key: string;
1692
1867
  id: string;
1693
1868
  name: string;
1694
1869
  revision: string;
1870
+ key?: string | undefined;
1871
+ uuid?: string | undefined;
1872
+ description?: string | undefined;
1695
1873
  state?: import("..").WorkspaceElementState | undefined;
1696
1874
  errors?: any[] | undefined;
1875
+ isDeactivated?: boolean | undefined;
1876
+ createdAt?: string | undefined;
1877
+ updatedAt?: string | undefined;
1878
+ archivedAt?: string | undefined;
1697
1879
  integrationId?: string | undefined;
1698
1880
  parametersSchema?: DataSchema | undefined;
1699
- archivedAt?: string | undefined;
1700
1881
  customized?: boolean | undefined;
1701
1882
  universalFlowId?: string | undefined;
1702
1883
  universalFlowRevision?: string | undefined;
@@ -1723,81 +1904,101 @@ export declare const FlowInstance: z.ZodObject<{
1723
1904
  };
1724
1905
  }>, "many">>;
1725
1906
  }, "strip", z.ZodTypeAny, {
1726
- key: string;
1727
1907
  id: string;
1728
1908
  name: string;
1729
1909
  revision: string;
1910
+ key?: string | undefined;
1730
1911
  integration?: {
1731
- key: string;
1732
1912
  id: string;
1733
1913
  name: string;
1734
- baseUri: string;
1735
1914
  logoUri: string;
1915
+ key?: string | undefined;
1916
+ uuid?: string | undefined;
1917
+ description?: string | undefined;
1736
1918
  state?: import("..").WorkspaceElementState | undefined;
1737
1919
  errors?: any[] | undefined;
1738
- parameters?: any;
1739
- parametersSchema?: DataSchema | undefined;
1920
+ revision?: string | undefined;
1921
+ isDeactivated?: boolean | undefined;
1922
+ createdAt?: string | undefined;
1923
+ updatedAt?: string | undefined;
1740
1924
  archivedAt?: string | undefined;
1925
+ parameters?: any;
1741
1926
  isTest?: boolean | undefined;
1742
1927
  connectorId?: string | undefined;
1743
1928
  connectorVersion?: string | undefined;
1744
- authOptions?: any[] | undefined;
1745
1929
  oAuthCallbackUri?: string | undefined;
1746
1930
  hasMissingParameters?: boolean | undefined;
1747
1931
  hasDocumentation?: boolean | undefined;
1748
1932
  hasOperations?: boolean | undefined;
1933
+ operationsCount?: number | undefined;
1749
1934
  hasData?: boolean | undefined;
1935
+ dataCollectionsCount?: number | undefined;
1750
1936
  hasEvents?: boolean | undefined;
1937
+ eventsCount?: number | undefined;
1751
1938
  hasGlobalWebhooks?: boolean | undefined;
1752
1939
  hasUdm?: boolean | undefined;
1753
1940
  appUuid?: string | undefined;
1754
- isDeactivated?: boolean | undefined;
1755
1941
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1756
1942
  } | undefined;
1943
+ uuid?: string | undefined;
1944
+ description?: string | undefined;
1757
1945
  state?: import("..").WorkspaceElementState | undefined;
1758
1946
  errors?: any[] | undefined;
1947
+ isDeactivated?: boolean | undefined;
1948
+ createdAt?: string | undefined;
1949
+ updatedAt?: string | undefined;
1950
+ archivedAt?: string | undefined;
1759
1951
  integrationId?: string | undefined;
1760
1952
  parametersSchema?: DataSchema | undefined;
1761
- archivedAt?: string | undefined;
1762
1953
  customized?: boolean | undefined;
1763
1954
  appliedToIntegrations?: {
1764
1955
  integration: {
1765
- key: string;
1766
1956
  id: string;
1767
1957
  name: string;
1768
- baseUri: string;
1769
1958
  logoUri: string;
1959
+ key?: string | undefined;
1960
+ uuid?: string | undefined;
1961
+ description?: string | undefined;
1770
1962
  state?: import("..").WorkspaceElementState | undefined;
1771
1963
  errors?: any[] | undefined;
1772
- parameters?: any;
1773
- parametersSchema?: DataSchema | undefined;
1964
+ revision?: string | undefined;
1965
+ isDeactivated?: boolean | undefined;
1966
+ createdAt?: string | undefined;
1967
+ updatedAt?: string | undefined;
1774
1968
  archivedAt?: string | undefined;
1969
+ parameters?: any;
1775
1970
  isTest?: boolean | undefined;
1776
1971
  connectorId?: string | undefined;
1777
1972
  connectorVersion?: string | undefined;
1778
- authOptions?: any[] | undefined;
1779
1973
  oAuthCallbackUri?: string | undefined;
1780
1974
  hasMissingParameters?: boolean | undefined;
1781
1975
  hasDocumentation?: boolean | undefined;
1782
1976
  hasOperations?: boolean | undefined;
1977
+ operationsCount?: number | undefined;
1783
1978
  hasData?: boolean | undefined;
1979
+ dataCollectionsCount?: number | undefined;
1784
1980
  hasEvents?: boolean | undefined;
1981
+ eventsCount?: number | undefined;
1785
1982
  hasGlobalWebhooks?: boolean | undefined;
1786
1983
  hasUdm?: boolean | undefined;
1787
1984
  appUuid?: string | undefined;
1788
- isDeactivated?: boolean | undefined;
1789
1985
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1790
1986
  };
1791
1987
  element: {
1792
- key: string;
1793
1988
  id: string;
1794
1989
  name: string;
1795
1990
  revision: string;
1991
+ key?: string | undefined;
1992
+ uuid?: string | undefined;
1993
+ description?: string | undefined;
1796
1994
  state?: import("..").WorkspaceElementState | undefined;
1797
1995
  errors?: any[] | undefined;
1996
+ isDeactivated?: boolean | undefined;
1997
+ createdAt?: string | undefined;
1998
+ updatedAt?: string | undefined;
1999
+ archivedAt?: string | undefined;
1798
2000
  integrationId?: string | undefined;
1799
2001
  parametersSchema?: DataSchema | undefined;
1800
- archivedAt?: string | undefined;
1801
2002
  customized?: boolean | undefined;
1802
2003
  universalFlowId?: string | undefined;
1803
2004
  universalFlowRevision?: string | undefined;
@@ -1846,81 +2047,101 @@ export declare const FlowInstance: z.ZodObject<{
1846
2047
  }> | undefined;
1847
2048
  autoCreateInstances?: boolean | undefined;
1848
2049
  }, {
1849
- key: string;
1850
2050
  id: string;
1851
2051
  name: string;
1852
2052
  revision: string;
2053
+ key?: string | undefined;
1853
2054
  integration?: {
1854
- key: string;
1855
2055
  id: string;
1856
2056
  name: string;
1857
- baseUri: string;
1858
2057
  logoUri: string;
2058
+ key?: string | undefined;
2059
+ uuid?: string | undefined;
2060
+ description?: string | undefined;
1859
2061
  state?: import("..").WorkspaceElementState | undefined;
1860
2062
  errors?: any[] | undefined;
1861
- parameters?: any;
1862
- parametersSchema?: DataSchema | undefined;
2063
+ revision?: string | undefined;
2064
+ isDeactivated?: boolean | undefined;
2065
+ createdAt?: string | undefined;
2066
+ updatedAt?: string | undefined;
1863
2067
  archivedAt?: string | undefined;
2068
+ parameters?: any;
1864
2069
  isTest?: boolean | undefined;
1865
2070
  connectorId?: string | undefined;
1866
2071
  connectorVersion?: string | undefined;
1867
- authOptions?: any[] | undefined;
1868
2072
  oAuthCallbackUri?: string | undefined;
1869
2073
  hasMissingParameters?: boolean | undefined;
1870
2074
  hasDocumentation?: boolean | undefined;
1871
2075
  hasOperations?: boolean | undefined;
2076
+ operationsCount?: number | undefined;
1872
2077
  hasData?: boolean | undefined;
2078
+ dataCollectionsCount?: number | undefined;
1873
2079
  hasEvents?: boolean | undefined;
2080
+ eventsCount?: number | undefined;
1874
2081
  hasGlobalWebhooks?: boolean | undefined;
1875
2082
  hasUdm?: boolean | undefined;
1876
2083
  appUuid?: string | undefined;
1877
- isDeactivated?: boolean | undefined;
1878
2084
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1879
2085
  } | undefined;
2086
+ uuid?: string | undefined;
2087
+ description?: string | undefined;
1880
2088
  state?: import("..").WorkspaceElementState | undefined;
1881
2089
  errors?: any[] | undefined;
2090
+ isDeactivated?: boolean | undefined;
2091
+ createdAt?: string | undefined;
2092
+ updatedAt?: string | undefined;
2093
+ archivedAt?: string | undefined;
1882
2094
  integrationId?: string | undefined;
1883
2095
  parametersSchema?: DataSchema | undefined;
1884
- archivedAt?: string | undefined;
1885
2096
  customized?: boolean | undefined;
1886
2097
  appliedToIntegrations?: {
1887
2098
  integration: {
1888
- key: string;
1889
2099
  id: string;
1890
2100
  name: string;
1891
- baseUri: string;
1892
2101
  logoUri: string;
2102
+ key?: string | undefined;
2103
+ uuid?: string | undefined;
2104
+ description?: string | undefined;
1893
2105
  state?: import("..").WorkspaceElementState | undefined;
1894
2106
  errors?: any[] | undefined;
1895
- parameters?: any;
1896
- parametersSchema?: DataSchema | undefined;
2107
+ revision?: string | undefined;
2108
+ isDeactivated?: boolean | undefined;
2109
+ createdAt?: string | undefined;
2110
+ updatedAt?: string | undefined;
1897
2111
  archivedAt?: string | undefined;
2112
+ parameters?: any;
1898
2113
  isTest?: boolean | undefined;
1899
2114
  connectorId?: string | undefined;
1900
2115
  connectorVersion?: string | undefined;
1901
- authOptions?: any[] | undefined;
1902
2116
  oAuthCallbackUri?: string | undefined;
1903
2117
  hasMissingParameters?: boolean | undefined;
1904
2118
  hasDocumentation?: boolean | undefined;
1905
2119
  hasOperations?: boolean | undefined;
2120
+ operationsCount?: number | undefined;
1906
2121
  hasData?: boolean | undefined;
2122
+ dataCollectionsCount?: number | undefined;
1907
2123
  hasEvents?: boolean | undefined;
2124
+ eventsCount?: number | undefined;
1908
2125
  hasGlobalWebhooks?: boolean | undefined;
1909
2126
  hasUdm?: boolean | undefined;
1910
2127
  appUuid?: string | undefined;
1911
- isDeactivated?: boolean | undefined;
1912
2128
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1913
2129
  };
1914
2130
  element: {
1915
- key: string;
1916
2131
  id: string;
1917
2132
  name: string;
1918
2133
  revision: string;
2134
+ key?: string | undefined;
2135
+ uuid?: string | undefined;
2136
+ description?: string | undefined;
1919
2137
  state?: import("..").WorkspaceElementState | undefined;
1920
2138
  errors?: any[] | undefined;
2139
+ isDeactivated?: boolean | undefined;
2140
+ createdAt?: string | undefined;
2141
+ updatedAt?: string | undefined;
2142
+ archivedAt?: string | undefined;
1921
2143
  integrationId?: string | undefined;
1922
2144
  parametersSchema?: DataSchema | undefined;
1923
- archivedAt?: string | undefined;
1924
2145
  customized?: boolean | undefined;
1925
2146
  universalFlowId?: string | undefined;
1926
2147
  universalFlowRevision?: string | undefined;
@@ -1970,190 +2191,225 @@ export declare const FlowInstance: z.ZodObject<{
1970
2191
  autoCreateInstances?: boolean | undefined;
1971
2192
  }>>>;
1972
2193
  integration: z.ZodOptional<z.ZodLazy<z.ZodType<{
1973
- key: string;
1974
2194
  id: string;
1975
2195
  name: string;
1976
- baseUri: string;
1977
2196
  logoUri: string;
2197
+ key?: string | undefined;
2198
+ uuid?: string | undefined;
2199
+ description?: string | undefined;
1978
2200
  state?: import("..").WorkspaceElementState | undefined;
1979
2201
  errors?: any[] | undefined;
1980
- parameters?: any;
1981
- parametersSchema?: DataSchema | undefined;
2202
+ revision?: string | undefined;
2203
+ isDeactivated?: boolean | undefined;
2204
+ createdAt?: string | undefined;
2205
+ updatedAt?: string | undefined;
1982
2206
  archivedAt?: string | undefined;
2207
+ parameters?: any;
1983
2208
  isTest?: boolean | undefined;
1984
2209
  connectorId?: string | undefined;
1985
2210
  connectorVersion?: string | undefined;
1986
- authOptions?: any[] | undefined;
1987
2211
  oAuthCallbackUri?: string | undefined;
1988
2212
  hasMissingParameters?: boolean | undefined;
1989
2213
  hasDocumentation?: boolean | undefined;
1990
2214
  hasOperations?: boolean | undefined;
2215
+ operationsCount?: number | undefined;
1991
2216
  hasData?: boolean | undefined;
2217
+ dataCollectionsCount?: number | undefined;
1992
2218
  hasEvents?: boolean | undefined;
2219
+ eventsCount?: number | undefined;
1993
2220
  hasGlobalWebhooks?: boolean | undefined;
1994
2221
  hasUdm?: boolean | undefined;
1995
2222
  appUuid?: string | undefined;
1996
- isDeactivated?: boolean | undefined;
1997
2223
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1998
2224
  }, z.ZodTypeDef, {
1999
- key: string;
2000
2225
  id: string;
2001
2226
  name: string;
2002
- baseUri: string;
2003
2227
  logoUri: string;
2228
+ key?: string | undefined;
2229
+ uuid?: string | undefined;
2230
+ description?: string | undefined;
2004
2231
  state?: import("..").WorkspaceElementState | undefined;
2005
2232
  errors?: any[] | undefined;
2006
- parameters?: any;
2007
- parametersSchema?: DataSchema | undefined;
2233
+ revision?: string | undefined;
2234
+ isDeactivated?: boolean | undefined;
2235
+ createdAt?: string | undefined;
2236
+ updatedAt?: string | undefined;
2008
2237
  archivedAt?: string | undefined;
2238
+ parameters?: any;
2009
2239
  isTest?: boolean | undefined;
2010
2240
  connectorId?: string | undefined;
2011
2241
  connectorVersion?: string | undefined;
2012
- authOptions?: any[] | undefined;
2013
2242
  oAuthCallbackUri?: string | undefined;
2014
2243
  hasMissingParameters?: boolean | undefined;
2015
2244
  hasDocumentation?: boolean | undefined;
2016
2245
  hasOperations?: boolean | undefined;
2246
+ operationsCount?: number | undefined;
2017
2247
  hasData?: boolean | undefined;
2248
+ dataCollectionsCount?: number | undefined;
2018
2249
  hasEvents?: boolean | undefined;
2250
+ eventsCount?: number | undefined;
2019
2251
  hasGlobalWebhooks?: boolean | undefined;
2020
2252
  hasUdm?: boolean | undefined;
2021
2253
  appUuid?: string | undefined;
2022
- isDeactivated?: boolean | undefined;
2023
2254
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2024
2255
  }>>>;
2025
2256
  }, "strip", z.ZodTypeAny, {
2026
- key: string;
2027
2257
  id: string;
2028
2258
  name: string;
2029
- userId: string;
2030
- integrationId: string;
2031
2259
  createdAt: string;
2032
2260
  updatedAt: string;
2261
+ userId: string;
2262
+ integrationId: string;
2033
2263
  enabled: boolean;
2264
+ key?: string | undefined;
2034
2265
  connection?: {
2035
2266
  id: string;
2036
2267
  name: string;
2037
- userId: string;
2038
- integrationId: string;
2039
2268
  createdAt: string;
2040
2269
  updatedAt: string;
2270
+ userId: string;
2271
+ integrationId: string;
2041
2272
  error?: any;
2042
2273
  state?: import("..").WorkspaceElementState | undefined;
2043
2274
  errors?: any[] | undefined;
2044
- accessToken?: string | undefined;
2045
- credentials?: unknown;
2046
- parameters?: unknown;
2047
- connectorParameters?: unknown;
2275
+ isDeactivated?: boolean | undefined;
2276
+ archivedAt?: string | undefined;
2277
+ authOptionKey?: string | undefined;
2278
+ isTest?: boolean | undefined;
2048
2279
  disconnected?: boolean | undefined;
2049
- refreshToken?: string | undefined;
2280
+ isDefunct?: boolean | undefined;
2050
2281
  lastActiveAt?: string | undefined;
2051
2282
  nextCredentialsRefreshAt?: string | undefined;
2052
- archivedAt?: string | undefined;
2283
+ meta?: Record<string, any> | undefined;
2053
2284
  } | undefined;
2054
2285
  integration?: {
2055
- key: string;
2056
2286
  id: string;
2057
2287
  name: string;
2058
- baseUri: string;
2059
2288
  logoUri: string;
2289
+ key?: string | undefined;
2290
+ uuid?: string | undefined;
2291
+ description?: string | undefined;
2060
2292
  state?: import("..").WorkspaceElementState | undefined;
2061
2293
  errors?: any[] | undefined;
2062
- parameters?: any;
2063
- parametersSchema?: DataSchema | undefined;
2294
+ revision?: string | undefined;
2295
+ isDeactivated?: boolean | undefined;
2296
+ createdAt?: string | undefined;
2297
+ updatedAt?: string | undefined;
2064
2298
  archivedAt?: string | undefined;
2299
+ parameters?: any;
2065
2300
  isTest?: boolean | undefined;
2066
2301
  connectorId?: string | undefined;
2067
2302
  connectorVersion?: string | undefined;
2068
- authOptions?: any[] | undefined;
2069
2303
  oAuthCallbackUri?: string | undefined;
2070
2304
  hasMissingParameters?: boolean | undefined;
2071
2305
  hasDocumentation?: boolean | undefined;
2072
2306
  hasOperations?: boolean | undefined;
2307
+ operationsCount?: number | undefined;
2073
2308
  hasData?: boolean | undefined;
2309
+ dataCollectionsCount?: number | undefined;
2074
2310
  hasEvents?: boolean | undefined;
2311
+ eventsCount?: number | undefined;
2075
2312
  hasGlobalWebhooks?: boolean | undefined;
2076
2313
  hasUdm?: boolean | undefined;
2077
2314
  appUuid?: string | undefined;
2078
- isDeactivated?: boolean | undefined;
2079
2315
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2080
2316
  } | undefined;
2081
2317
  flow?: {
2082
- key: string;
2083
2318
  id: string;
2084
2319
  name: string;
2085
2320
  revision: string;
2321
+ key?: string | undefined;
2086
2322
  integration?: {
2087
- key: string;
2088
2323
  id: string;
2089
2324
  name: string;
2090
- baseUri: string;
2091
2325
  logoUri: string;
2326
+ key?: string | undefined;
2327
+ uuid?: string | undefined;
2328
+ description?: string | undefined;
2092
2329
  state?: import("..").WorkspaceElementState | undefined;
2093
2330
  errors?: any[] | undefined;
2094
- parameters?: any;
2095
- parametersSchema?: DataSchema | undefined;
2331
+ revision?: string | undefined;
2332
+ isDeactivated?: boolean | undefined;
2333
+ createdAt?: string | undefined;
2334
+ updatedAt?: string | undefined;
2096
2335
  archivedAt?: string | undefined;
2336
+ parameters?: any;
2097
2337
  isTest?: boolean | undefined;
2098
2338
  connectorId?: string | undefined;
2099
2339
  connectorVersion?: string | undefined;
2100
- authOptions?: any[] | undefined;
2101
2340
  oAuthCallbackUri?: string | undefined;
2102
2341
  hasMissingParameters?: boolean | undefined;
2103
2342
  hasDocumentation?: boolean | undefined;
2104
2343
  hasOperations?: boolean | undefined;
2344
+ operationsCount?: number | undefined;
2105
2345
  hasData?: boolean | undefined;
2346
+ dataCollectionsCount?: number | undefined;
2106
2347
  hasEvents?: boolean | undefined;
2348
+ eventsCount?: number | undefined;
2107
2349
  hasGlobalWebhooks?: boolean | undefined;
2108
2350
  hasUdm?: boolean | undefined;
2109
2351
  appUuid?: string | undefined;
2110
- isDeactivated?: boolean | undefined;
2111
2352
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2112
2353
  } | undefined;
2354
+ uuid?: string | undefined;
2355
+ description?: string | undefined;
2113
2356
  state?: import("..").WorkspaceElementState | undefined;
2114
2357
  errors?: any[] | undefined;
2358
+ isDeactivated?: boolean | undefined;
2359
+ createdAt?: string | undefined;
2360
+ updatedAt?: string | undefined;
2361
+ archivedAt?: string | undefined;
2115
2362
  integrationId?: string | undefined;
2116
2363
  parametersSchema?: DataSchema | undefined;
2117
- archivedAt?: string | undefined;
2118
2364
  customized?: boolean | undefined;
2119
2365
  appliedToIntegrations?: {
2120
2366
  integration: {
2121
- key: string;
2122
2367
  id: string;
2123
2368
  name: string;
2124
- baseUri: string;
2125
2369
  logoUri: string;
2370
+ key?: string | undefined;
2371
+ uuid?: string | undefined;
2372
+ description?: string | undefined;
2126
2373
  state?: import("..").WorkspaceElementState | undefined;
2127
2374
  errors?: any[] | undefined;
2128
- parameters?: any;
2129
- parametersSchema?: DataSchema | undefined;
2375
+ revision?: string | undefined;
2376
+ isDeactivated?: boolean | undefined;
2377
+ createdAt?: string | undefined;
2378
+ updatedAt?: string | undefined;
2130
2379
  archivedAt?: string | undefined;
2380
+ parameters?: any;
2131
2381
  isTest?: boolean | undefined;
2132
2382
  connectorId?: string | undefined;
2133
2383
  connectorVersion?: string | undefined;
2134
- authOptions?: any[] | undefined;
2135
2384
  oAuthCallbackUri?: string | undefined;
2136
2385
  hasMissingParameters?: boolean | undefined;
2137
2386
  hasDocumentation?: boolean | undefined;
2138
2387
  hasOperations?: boolean | undefined;
2388
+ operationsCount?: number | undefined;
2139
2389
  hasData?: boolean | undefined;
2390
+ dataCollectionsCount?: number | undefined;
2140
2391
  hasEvents?: boolean | undefined;
2392
+ eventsCount?: number | undefined;
2141
2393
  hasGlobalWebhooks?: boolean | undefined;
2142
2394
  hasUdm?: boolean | undefined;
2143
2395
  appUuid?: string | undefined;
2144
- isDeactivated?: boolean | undefined;
2145
2396
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2146
2397
  };
2147
2398
  element: {
2148
- key: string;
2149
2399
  id: string;
2150
2400
  name: string;
2151
2401
  revision: string;
2402
+ key?: string | undefined;
2403
+ uuid?: string | undefined;
2404
+ description?: string | undefined;
2152
2405
  state?: import("..").WorkspaceElementState | undefined;
2153
2406
  errors?: any[] | undefined;
2407
+ isDeactivated?: boolean | undefined;
2408
+ createdAt?: string | undefined;
2409
+ updatedAt?: string | undefined;
2410
+ archivedAt?: string | undefined;
2154
2411
  integrationId?: string | undefined;
2155
2412
  parametersSchema?: DataSchema | undefined;
2156
- archivedAt?: string | undefined;
2157
2413
  customized?: boolean | undefined;
2158
2414
  universalFlowId?: string | undefined;
2159
2415
  universalFlowRevision?: string | undefined;
@@ -2202,8 +2458,13 @@ export declare const FlowInstance: z.ZodObject<{
2202
2458
  }> | undefined;
2203
2459
  autoCreateInstances?: boolean | undefined;
2204
2460
  } | undefined;
2461
+ uuid?: string | undefined;
2462
+ description?: string | undefined;
2205
2463
  state?: import("..").WorkspaceElementState | undefined;
2206
2464
  errors?: any[] | undefined;
2465
+ revision?: string | undefined;
2466
+ isDeactivated?: boolean | undefined;
2467
+ archivedAt?: string | undefined;
2207
2468
  instanceKey?: string | undefined;
2208
2469
  connectionId?: string | undefined;
2209
2470
  parameters?: any;
@@ -2212,10 +2473,12 @@ export declare const FlowInstance: z.ZodObject<{
2212
2473
  id: string;
2213
2474
  name: string;
2214
2475
  internalId: string;
2476
+ createdAt?: string | undefined;
2477
+ archivedAt?: string | undefined;
2215
2478
  credentials?: any;
2216
2479
  fields?: Record<string, any> | undefined;
2217
- lastActiveAt?: string | undefined;
2218
2480
  isTest?: boolean | undefined;
2481
+ lastActiveAt?: string | undefined;
2219
2482
  isBillable?: boolean | undefined;
2220
2483
  } | undefined;
2221
2484
  customized?: {
@@ -2228,137 +2491,162 @@ export declare const FlowInstance: z.ZodObject<{
2228
2491
  flowId?: string | undefined;
2229
2492
  outdated?: boolean | undefined;
2230
2493
  }, {
2231
- key: string;
2232
2494
  id: string;
2233
2495
  name: string;
2234
- userId: string;
2235
- integrationId: string;
2236
2496
  createdAt: string;
2237
2497
  updatedAt: string;
2498
+ userId: string;
2499
+ integrationId: string;
2238
2500
  enabled: boolean;
2501
+ key?: string | undefined;
2239
2502
  connection?: {
2240
2503
  id: string;
2241
2504
  name: string;
2242
- userId: string;
2243
- integrationId: string;
2244
2505
  createdAt: string;
2245
2506
  updatedAt: string;
2507
+ userId: string;
2508
+ integrationId: string;
2246
2509
  error?: any;
2247
2510
  state?: import("..").WorkspaceElementState | undefined;
2248
2511
  errors?: any[] | undefined;
2249
- accessToken?: string | undefined;
2250
- credentials?: unknown;
2251
- parameters?: unknown;
2252
- connectorParameters?: unknown;
2512
+ isDeactivated?: boolean | undefined;
2513
+ archivedAt?: string | undefined;
2514
+ authOptionKey?: string | undefined;
2515
+ isTest?: boolean | undefined;
2253
2516
  disconnected?: boolean | undefined;
2254
- refreshToken?: string | undefined;
2517
+ isDefunct?: boolean | undefined;
2255
2518
  lastActiveAt?: string | undefined;
2256
2519
  nextCredentialsRefreshAt?: string | undefined;
2257
- archivedAt?: string | undefined;
2520
+ meta?: Record<string, any> | undefined;
2258
2521
  } | undefined;
2259
2522
  integration?: {
2260
- key: string;
2261
2523
  id: string;
2262
2524
  name: string;
2263
- baseUri: string;
2264
2525
  logoUri: string;
2526
+ key?: string | undefined;
2527
+ uuid?: string | undefined;
2528
+ description?: string | undefined;
2265
2529
  state?: import("..").WorkspaceElementState | undefined;
2266
2530
  errors?: any[] | undefined;
2267
- parameters?: any;
2268
- parametersSchema?: DataSchema | undefined;
2531
+ revision?: string | undefined;
2532
+ isDeactivated?: boolean | undefined;
2533
+ createdAt?: string | undefined;
2534
+ updatedAt?: string | undefined;
2269
2535
  archivedAt?: string | undefined;
2536
+ parameters?: any;
2270
2537
  isTest?: boolean | undefined;
2271
2538
  connectorId?: string | undefined;
2272
2539
  connectorVersion?: string | undefined;
2273
- authOptions?: any[] | undefined;
2274
2540
  oAuthCallbackUri?: string | undefined;
2275
2541
  hasMissingParameters?: boolean | undefined;
2276
2542
  hasDocumentation?: boolean | undefined;
2277
2543
  hasOperations?: boolean | undefined;
2544
+ operationsCount?: number | undefined;
2278
2545
  hasData?: boolean | undefined;
2546
+ dataCollectionsCount?: number | undefined;
2279
2547
  hasEvents?: boolean | undefined;
2548
+ eventsCount?: number | undefined;
2280
2549
  hasGlobalWebhooks?: boolean | undefined;
2281
2550
  hasUdm?: boolean | undefined;
2282
2551
  appUuid?: string | undefined;
2283
- isDeactivated?: boolean | undefined;
2284
2552
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2285
2553
  } | undefined;
2286
2554
  flow?: {
2287
- key: string;
2288
2555
  id: string;
2289
2556
  name: string;
2290
2557
  revision: string;
2558
+ key?: string | undefined;
2291
2559
  integration?: {
2292
- key: string;
2293
2560
  id: string;
2294
2561
  name: string;
2295
- baseUri: string;
2296
2562
  logoUri: string;
2563
+ key?: string | undefined;
2564
+ uuid?: string | undefined;
2565
+ description?: string | undefined;
2297
2566
  state?: import("..").WorkspaceElementState | undefined;
2298
2567
  errors?: any[] | undefined;
2299
- parameters?: any;
2300
- parametersSchema?: DataSchema | undefined;
2568
+ revision?: string | undefined;
2569
+ isDeactivated?: boolean | undefined;
2570
+ createdAt?: string | undefined;
2571
+ updatedAt?: string | undefined;
2301
2572
  archivedAt?: string | undefined;
2573
+ parameters?: any;
2302
2574
  isTest?: boolean | undefined;
2303
2575
  connectorId?: string | undefined;
2304
2576
  connectorVersion?: string | undefined;
2305
- authOptions?: any[] | undefined;
2306
2577
  oAuthCallbackUri?: string | undefined;
2307
2578
  hasMissingParameters?: boolean | undefined;
2308
2579
  hasDocumentation?: boolean | undefined;
2309
2580
  hasOperations?: boolean | undefined;
2581
+ operationsCount?: number | undefined;
2310
2582
  hasData?: boolean | undefined;
2583
+ dataCollectionsCount?: number | undefined;
2311
2584
  hasEvents?: boolean | undefined;
2585
+ eventsCount?: number | undefined;
2312
2586
  hasGlobalWebhooks?: boolean | undefined;
2313
2587
  hasUdm?: boolean | undefined;
2314
2588
  appUuid?: string | undefined;
2315
- isDeactivated?: boolean | undefined;
2316
2589
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2317
2590
  } | undefined;
2591
+ uuid?: string | undefined;
2592
+ description?: string | undefined;
2318
2593
  state?: import("..").WorkspaceElementState | undefined;
2319
2594
  errors?: any[] | undefined;
2595
+ isDeactivated?: boolean | undefined;
2596
+ createdAt?: string | undefined;
2597
+ updatedAt?: string | undefined;
2598
+ archivedAt?: string | undefined;
2320
2599
  integrationId?: string | undefined;
2321
2600
  parametersSchema?: DataSchema | undefined;
2322
- archivedAt?: string | undefined;
2323
2601
  customized?: boolean | undefined;
2324
2602
  appliedToIntegrations?: {
2325
2603
  integration: {
2326
- key: string;
2327
2604
  id: string;
2328
2605
  name: string;
2329
- baseUri: string;
2330
2606
  logoUri: string;
2607
+ key?: string | undefined;
2608
+ uuid?: string | undefined;
2609
+ description?: string | undefined;
2331
2610
  state?: import("..").WorkspaceElementState | undefined;
2332
2611
  errors?: any[] | undefined;
2333
- parameters?: any;
2334
- parametersSchema?: DataSchema | undefined;
2612
+ revision?: string | undefined;
2613
+ isDeactivated?: boolean | undefined;
2614
+ createdAt?: string | undefined;
2615
+ updatedAt?: string | undefined;
2335
2616
  archivedAt?: string | undefined;
2617
+ parameters?: any;
2336
2618
  isTest?: boolean | undefined;
2337
2619
  connectorId?: string | undefined;
2338
2620
  connectorVersion?: string | undefined;
2339
- authOptions?: any[] | undefined;
2340
2621
  oAuthCallbackUri?: string | undefined;
2341
2622
  hasMissingParameters?: boolean | undefined;
2342
2623
  hasDocumentation?: boolean | undefined;
2343
2624
  hasOperations?: boolean | undefined;
2625
+ operationsCount?: number | undefined;
2344
2626
  hasData?: boolean | undefined;
2627
+ dataCollectionsCount?: number | undefined;
2345
2628
  hasEvents?: boolean | undefined;
2629
+ eventsCount?: number | undefined;
2346
2630
  hasGlobalWebhooks?: boolean | undefined;
2347
2631
  hasUdm?: boolean | undefined;
2348
2632
  appUuid?: string | undefined;
2349
- isDeactivated?: boolean | undefined;
2350
2633
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2351
2634
  };
2352
2635
  element: {
2353
- key: string;
2354
2636
  id: string;
2355
2637
  name: string;
2356
2638
  revision: string;
2639
+ key?: string | undefined;
2640
+ uuid?: string | undefined;
2641
+ description?: string | undefined;
2357
2642
  state?: import("..").WorkspaceElementState | undefined;
2358
2643
  errors?: any[] | undefined;
2644
+ isDeactivated?: boolean | undefined;
2645
+ createdAt?: string | undefined;
2646
+ updatedAt?: string | undefined;
2647
+ archivedAt?: string | undefined;
2359
2648
  integrationId?: string | undefined;
2360
2649
  parametersSchema?: DataSchema | undefined;
2361
- archivedAt?: string | undefined;
2362
2650
  customized?: boolean | undefined;
2363
2651
  universalFlowId?: string | undefined;
2364
2652
  universalFlowRevision?: string | undefined;
@@ -2407,8 +2695,13 @@ export declare const FlowInstance: z.ZodObject<{
2407
2695
  }> | undefined;
2408
2696
  autoCreateInstances?: boolean | undefined;
2409
2697
  } | undefined;
2698
+ uuid?: string | undefined;
2699
+ description?: string | undefined;
2410
2700
  state?: import("..").WorkspaceElementState | undefined;
2411
2701
  errors?: any[] | undefined;
2702
+ revision?: string | undefined;
2703
+ isDeactivated?: boolean | undefined;
2704
+ archivedAt?: string | undefined;
2412
2705
  instanceKey?: string | undefined;
2413
2706
  connectionId?: string | undefined;
2414
2707
  parameters?: any;
@@ -2417,10 +2710,12 @@ export declare const FlowInstance: z.ZodObject<{
2417
2710
  id: string;
2418
2711
  name: string;
2419
2712
  internalId: string;
2713
+ createdAt?: string | undefined;
2714
+ archivedAt?: string | undefined;
2420
2715
  credentials?: any;
2421
2716
  fields?: Record<string, any> | undefined;
2422
- lastActiveAt?: string | undefined;
2423
2717
  isTest?: boolean | undefined;
2718
+ lastActiveAt?: string | undefined;
2424
2719
  isBillable?: boolean | undefined;
2425
2720
  } | undefined;
2426
2721
  customized?: {
@@ -2433,5 +2728,5 @@ export declare const FlowInstance: z.ZodObject<{
2433
2728
  flowId?: string | undefined;
2434
2729
  outdated?: boolean | undefined;
2435
2730
  }>;
2436
- export type FlowInstance = z.infer<typeof FlowInstance>;
2437
- export type FlowInstanceApiResponse = FlowInstance;
2731
+ export type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
2732
+ export type FlowInstance = FlowInstanceApiResponse;