@membranehq/sdk 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/bundle.d.ts +13011 -5117
  2. package/dist/bundle.js +149 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +31 -10
  5. package/dist/dts/accessors/integrations-accessors.d.ts +31 -10
  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 +529 -10
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +393 -90
  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 +387 -97
  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 +541 -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 +1590 -12
  22. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +357 -79
  23. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
  24. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
  25. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
  26. package/dist/dts/workspace-elements/api/external-events-api.d.ts +169 -27
  27. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
  28. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +367 -69
  29. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
  30. package/dist/dts/workspace-elements/api/flows-api.d.ts +1040 -257
  31. package/dist/dts/workspace-elements/api/index.d.ts +1 -1
  32. package/dist/dts/workspace-elements/api/integrations-api.d.ts +121 -37
  33. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +151 -26
  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 +28 -12
  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 +18 -12
  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 +6 -6
  53. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +26 -11
  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 +26 -12
  56. package/dist/dts/workspace-elements/base/integrations/types.d.ts +557 -67
  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 +4 -3
  61. package/dist/index.d.ts +21959 -8561
  62. package/dist/index.js +258 -109
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.module.d.mts +21959 -8561
  65. package/dist/index.module.mjs +225 -101
  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;
@@ -67,8 +67,8 @@ export declare const CreateFlowNodeRequest: z.ZodObject<{
67
67
  }>>, "many">>;
68
68
  }, "strip", z.ZodTypeAny, {
69
69
  type: string;
70
- config?: any;
71
70
  ui?: any;
71
+ config?: any;
72
72
  links?: {
73
73
  key?: string | undefined;
74
74
  filter?: any;
@@ -76,8 +76,8 @@ export declare const CreateFlowNodeRequest: z.ZodObject<{
76
76
  }[] | undefined;
77
77
  }, {
78
78
  type: string;
79
- config?: any;
80
79
  ui?: any;
80
+ config?: any;
81
81
  links?: {
82
82
  key?: string | undefined;
83
83
  filter?: any;
@@ -104,8 +104,8 @@ export declare const CreateFlowRequest: z.ZodObject<{
104
104
  }>>, "many">>;
105
105
  }, "strip", z.ZodTypeAny, {
106
106
  type: string;
107
- config?: any;
108
107
  ui?: any;
108
+ config?: any;
109
109
  links?: {
110
110
  key?: string | undefined;
111
111
  filter?: any;
@@ -113,8 +113,8 @@ export declare const CreateFlowRequest: z.ZodObject<{
113
113
  }[] | undefined;
114
114
  }, {
115
115
  type: string;
116
- config?: any;
117
116
  ui?: any;
117
+ config?: any;
118
118
  links?: {
119
119
  key?: string | undefined;
120
120
  filter?: any;
@@ -130,8 +130,8 @@ export declare const CreateFlowRequest: z.ZodObject<{
130
130
  parametersSchema?: DataSchema | undefined;
131
131
  nodes?: Record<string, {
132
132
  type: string;
133
- config?: any;
134
133
  ui?: any;
134
+ config?: any;
135
135
  links?: {
136
136
  key?: string | undefined;
137
137
  filter?: any;
@@ -146,8 +146,8 @@ export declare const CreateFlowRequest: z.ZodObject<{
146
146
  parametersSchema?: DataSchema | undefined;
147
147
  nodes?: Record<string, {
148
148
  type: string;
149
- config?: any;
150
149
  ui?: any;
150
+ config?: any;
151
151
  links?: {
152
152
  key?: string | undefined;
153
153
  filter?: any;
@@ -176,8 +176,8 @@ export declare const UpdateFlowRequest: z.ZodObject<{
176
176
  }>>, "many">>;
177
177
  }, "strip", z.ZodTypeAny, {
178
178
  type: string;
179
- config?: any;
180
179
  ui?: any;
180
+ config?: any;
181
181
  links?: {
182
182
  key?: string | undefined;
183
183
  filter?: any;
@@ -185,8 +185,8 @@ export declare const UpdateFlowRequest: z.ZodObject<{
185
185
  }[] | undefined;
186
186
  }, {
187
187
  type: string;
188
- config?: any;
189
188
  ui?: any;
189
+ config?: any;
190
190
  links?: {
191
191
  key?: string | undefined;
192
192
  filter?: any;
@@ -200,13 +200,13 @@ 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
- config?: any;
209
208
  ui?: any;
209
+ config?: any;
210
210
  links?: {
211
211
  key?: string | undefined;
212
212
  filter?: any;
@@ -217,13 +217,13 @@ 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
- config?: any;
226
225
  ui?: any;
226
+ config?: any;
227
227
  links?: {
228
228
  key?: string | undefined;
229
229
  filter?: 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>;
@@ -398,13 +402,13 @@ export declare const Flow: z.ZodObject<{
398
402
  type?: string | undefined;
399
403
  name?: string | undefined;
400
404
  description?: string | undefined;
405
+ ui?: any;
401
406
  isCustomized?: boolean | undefined;
402
407
  inputSchema?: any;
403
408
  config?: any;
404
409
  outputSchema?: any;
405
410
  version?: number | undefined;
406
411
  onError?: "stop" | "continue" | undefined;
407
- ui?: any;
408
412
  outputExample?: any;
409
413
  links?: {
410
414
  key?: string | undefined;
@@ -416,13 +420,13 @@ export declare const Flow: z.ZodObject<{
416
420
  type?: string | undefined;
417
421
  name?: string | undefined;
418
422
  description?: string | undefined;
423
+ ui?: any;
419
424
  isCustomized?: boolean | undefined;
420
425
  inputSchema?: any;
421
426
  config?: any;
422
427
  outputSchema?: any;
423
428
  version?: number | undefined;
424
429
  onError?: "stop" | "continue" | undefined;
425
- ui?: any;
426
430
  outputExample?: any;
427
431
  links?: {
428
432
  key?: string | undefined;
@@ -438,15 +442,52 @@ 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">>;
457
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
+ key: z.ZodString;
459
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
460
+ title: z.ZodOptional<z.ZodString>;
461
+ description: z.ZodOptional<z.ZodString>;
462
+ ui: z.ZodOptional<z.ZodObject<{
463
+ schema: z.ZodOptional<z.ZodAny>;
464
+ helpUri: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ schema?: any;
467
+ helpUri?: string | undefined;
468
+ }, {
469
+ schema?: any;
470
+ helpUri?: string | undefined;
471
+ }>>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ key: string;
474
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
475
+ description?: string | undefined;
476
+ title?: string | undefined;
477
+ ui?: {
478
+ schema?: any;
479
+ helpUri?: string | undefined;
480
+ } | undefined;
481
+ }, {
482
+ key: string;
483
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
484
+ description?: string | undefined;
485
+ title?: string | undefined;
486
+ ui?: {
487
+ schema?: any;
488
+ helpUri?: string | undefined;
489
+ } | undefined;
490
+ }>, "many">>;
450
491
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
451
492
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
452
493
  parameters: z.ZodOptional<z.ZodAny>;
@@ -455,8 +496,11 @@ export declare const Flow: z.ZodObject<{
455
496
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
456
497
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
457
498
  hasOperations: z.ZodOptional<z.ZodBoolean>;
499
+ operationsCount: z.ZodOptional<z.ZodNumber>;
458
500
  hasData: z.ZodOptional<z.ZodBoolean>;
501
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
459
502
  hasEvents: z.ZodOptional<z.ZodBoolean>;
503
+ eventsCount: z.ZodOptional<z.ZodNumber>;
460
504
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
461
505
  hasUdm: z.ZodOptional<z.ZodBoolean>;
462
506
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -464,66 +508,104 @@ export declare const Flow: z.ZodObject<{
464
508
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
465
509
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
466
510
  }, "strip", z.ZodTypeAny, {
467
- key: string;
468
511
  id: string;
469
512
  name: string;
470
513
  baseUri: string;
471
514
  logoUri: string;
515
+ key?: string | undefined;
516
+ uuid?: string | undefined;
517
+ description?: string | undefined;
472
518
  state?: import("..").WorkspaceElementState | undefined;
473
519
  errors?: any[] | undefined;
520
+ revision?: string | undefined;
521
+ isDeactivated?: boolean | undefined;
522
+ createdAt?: string | undefined;
523
+ updatedAt?: string | undefined;
524
+ archivedAt?: string | undefined;
474
525
  parameters?: any;
475
526
  parametersSchema?: DataSchema | undefined;
476
- archivedAt?: string | undefined;
477
527
  isTest?: boolean | undefined;
478
528
  connectorId?: string | undefined;
479
529
  connectorVersion?: string | undefined;
480
- authOptions?: any[] | undefined;
530
+ authOptions?: {
531
+ key: string;
532
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
533
+ description?: string | undefined;
534
+ title?: string | undefined;
535
+ ui?: {
536
+ schema?: any;
537
+ helpUri?: string | undefined;
538
+ } | undefined;
539
+ }[] | undefined;
481
540
  oAuthCallbackUri?: string | undefined;
482
541
  hasMissingParameters?: boolean | undefined;
483
542
  hasDocumentation?: boolean | undefined;
484
543
  hasOperations?: boolean | undefined;
544
+ operationsCount?: number | undefined;
485
545
  hasData?: boolean | undefined;
546
+ dataCollectionsCount?: number | undefined;
486
547
  hasEvents?: boolean | undefined;
548
+ eventsCount?: number | undefined;
487
549
  hasGlobalWebhooks?: boolean | undefined;
488
550
  hasUdm?: boolean | undefined;
489
551
  appUuid?: string | undefined;
490
- isDeactivated?: boolean | undefined;
491
552
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
492
553
  }, {
493
- key: string;
494
554
  id: string;
495
555
  name: string;
496
556
  baseUri: string;
497
557
  logoUri: string;
558
+ key?: string | undefined;
559
+ uuid?: string | undefined;
560
+ description?: string | undefined;
498
561
  state?: import("..").WorkspaceElementState | undefined;
499
562
  errors?: any[] | undefined;
563
+ revision?: string | undefined;
564
+ isDeactivated?: boolean | undefined;
565
+ createdAt?: string | undefined;
566
+ updatedAt?: string | undefined;
567
+ archivedAt?: string | undefined;
500
568
  parameters?: any;
501
569
  parametersSchema?: DataSchema | undefined;
502
- archivedAt?: string | undefined;
503
570
  isTest?: boolean | undefined;
504
571
  connectorId?: string | undefined;
505
572
  connectorVersion?: string | undefined;
506
- authOptions?: any[] | undefined;
573
+ authOptions?: {
574
+ key: string;
575
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
576
+ description?: string | undefined;
577
+ title?: string | undefined;
578
+ ui?: {
579
+ schema?: any;
580
+ helpUri?: string | undefined;
581
+ } | undefined;
582
+ }[] | undefined;
507
583
  oAuthCallbackUri?: string | undefined;
508
584
  hasMissingParameters?: boolean | undefined;
509
585
  hasDocumentation?: boolean | undefined;
510
586
  hasOperations?: boolean | undefined;
587
+ operationsCount?: number | undefined;
511
588
  hasData?: boolean | undefined;
589
+ dataCollectionsCount?: number | undefined;
512
590
  hasEvents?: boolean | undefined;
591
+ eventsCount?: number | undefined;
513
592
  hasGlobalWebhooks?: boolean | undefined;
514
593
  hasUdm?: boolean | undefined;
515
594
  appUuid?: string | undefined;
516
- isDeactivated?: boolean | undefined;
517
595
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
518
596
  }>>;
519
597
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
520
598
  element: z.ZodObject<{
521
599
  id: z.ZodString;
522
600
  name: z.ZodString;
523
- } & {
524
- key: z.ZodString;
601
+ key: z.ZodOptional<z.ZodString>;
602
+ uuid: z.ZodOptional<z.ZodString>;
603
+ description: z.ZodOptional<z.ZodString>;
525
604
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
526
605
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
606
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
607
+ createdAt: z.ZodOptional<z.ZodString>;
608
+ updatedAt: z.ZodOptional<z.ZodString>;
527
609
  } & {
528
610
  integrationId: z.ZodOptional<z.ZodString>;
529
611
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -560,13 +642,13 @@ export declare const Flow: z.ZodObject<{
560
642
  type?: string | undefined;
561
643
  name?: string | undefined;
562
644
  description?: string | undefined;
645
+ ui?: any;
563
646
  isCustomized?: boolean | undefined;
564
647
  inputSchema?: any;
565
648
  config?: any;
566
649
  outputSchema?: any;
567
650
  version?: number | undefined;
568
651
  onError?: "stop" | "continue" | undefined;
569
- ui?: any;
570
652
  outputExample?: any;
571
653
  links?: {
572
654
  key?: string | undefined;
@@ -578,13 +660,13 @@ export declare const Flow: z.ZodObject<{
578
660
  type?: string | undefined;
579
661
  name?: string | undefined;
580
662
  description?: string | undefined;
663
+ ui?: any;
581
664
  isCustomized?: boolean | undefined;
582
665
  inputSchema?: any;
583
666
  config?: any;
584
667
  outputSchema?: any;
585
668
  version?: number | undefined;
586
669
  onError?: "stop" | "continue" | undefined;
587
- ui?: any;
588
670
  outputExample?: any;
589
671
  links?: {
590
672
  key?: string | undefined;
@@ -597,15 +679,20 @@ export declare const Flow: z.ZodObject<{
597
679
  revision: z.ZodString;
598
680
  customized: z.ZodOptional<z.ZodBoolean>;
599
681
  }, "strip", z.ZodTypeAny, {
600
- key: string;
601
682
  id: string;
602
683
  name: string;
603
684
  revision: string;
685
+ key?: string | undefined;
686
+ uuid?: string | undefined;
687
+ description?: string | undefined;
604
688
  state?: import("..").WorkspaceElementState | undefined;
605
689
  errors?: any[] | undefined;
690
+ isDeactivated?: boolean | undefined;
691
+ createdAt?: string | undefined;
692
+ updatedAt?: string | undefined;
693
+ archivedAt?: string | undefined;
606
694
  integrationId?: string | undefined;
607
695
  parametersSchema?: DataSchema | undefined;
608
- archivedAt?: string | undefined;
609
696
  customized?: boolean | undefined;
610
697
  universalFlowId?: string | undefined;
611
698
  universalFlowRevision?: string | undefined;
@@ -614,13 +701,13 @@ export declare const Flow: z.ZodObject<{
614
701
  type?: string | undefined;
615
702
  name?: string | undefined;
616
703
  description?: string | undefined;
704
+ ui?: any;
617
705
  isCustomized?: boolean | undefined;
618
706
  inputSchema?: any;
619
707
  config?: any;
620
708
  outputSchema?: any;
621
709
  version?: number | undefined;
622
710
  onError?: "stop" | "continue" | undefined;
623
- ui?: any;
624
711
  outputExample?: any;
625
712
  links?: {
626
713
  key?: string | undefined;
@@ -630,15 +717,20 @@ export declare const Flow: z.ZodObject<{
630
717
  }> | undefined;
631
718
  autoCreateInstances?: boolean | undefined;
632
719
  }, {
633
- key: string;
634
720
  id: string;
635
721
  name: string;
636
722
  revision: string;
723
+ key?: string | undefined;
724
+ uuid?: string | undefined;
725
+ description?: string | undefined;
637
726
  state?: import("..").WorkspaceElementState | undefined;
638
727
  errors?: any[] | undefined;
728
+ isDeactivated?: boolean | undefined;
729
+ createdAt?: string | undefined;
730
+ updatedAt?: string | undefined;
731
+ archivedAt?: string | undefined;
639
732
  integrationId?: string | undefined;
640
733
  parametersSchema?: DataSchema | undefined;
641
- archivedAt?: string | undefined;
642
734
  customized?: boolean | undefined;
643
735
  universalFlowId?: string | undefined;
644
736
  universalFlowRevision?: string | undefined;
@@ -647,13 +739,13 @@ export declare const Flow: z.ZodObject<{
647
739
  type?: string | undefined;
648
740
  name?: string | undefined;
649
741
  description?: string | undefined;
742
+ ui?: any;
650
743
  isCustomized?: boolean | undefined;
651
744
  inputSchema?: any;
652
745
  config?: any;
653
746
  outputSchema?: any;
654
747
  version?: number | undefined;
655
748
  onError?: "stop" | "continue" | undefined;
656
- ui?: any;
657
749
  outputExample?: any;
658
750
  links?: {
659
751
  key?: string | undefined;
@@ -666,15 +758,52 @@ export declare const Flow: z.ZodObject<{
666
758
  integration: z.ZodObject<{
667
759
  id: z.ZodString;
668
760
  name: z.ZodString;
669
- } & {
670
- key: z.ZodString;
761
+ key: z.ZodOptional<z.ZodString>;
762
+ uuid: z.ZodOptional<z.ZodString>;
763
+ description: z.ZodOptional<z.ZodString>;
671
764
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
672
765
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
766
+ revision: z.ZodOptional<z.ZodString>;
767
+ createdAt: z.ZodOptional<z.ZodString>;
768
+ updatedAt: z.ZodOptional<z.ZodString>;
673
769
  } & {
674
770
  logoUri: z.ZodString;
675
771
  connectorId: z.ZodOptional<z.ZodString>;
676
772
  connectorVersion: z.ZodOptional<z.ZodString>;
677
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
773
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
774
+ key: z.ZodString;
775
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
776
+ title: z.ZodOptional<z.ZodString>;
777
+ description: z.ZodOptional<z.ZodString>;
778
+ ui: z.ZodOptional<z.ZodObject<{
779
+ schema: z.ZodOptional<z.ZodAny>;
780
+ helpUri: z.ZodOptional<z.ZodString>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ schema?: any;
783
+ helpUri?: string | undefined;
784
+ }, {
785
+ schema?: any;
786
+ helpUri?: string | undefined;
787
+ }>>;
788
+ }, "strip", z.ZodTypeAny, {
789
+ key: string;
790
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
791
+ description?: string | undefined;
792
+ title?: string | undefined;
793
+ ui?: {
794
+ schema?: any;
795
+ helpUri?: string | undefined;
796
+ } | undefined;
797
+ }, {
798
+ key: string;
799
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
800
+ description?: string | undefined;
801
+ title?: string | undefined;
802
+ ui?: {
803
+ schema?: any;
804
+ helpUri?: string | undefined;
805
+ } | undefined;
806
+ }>, "many">>;
678
807
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
679
808
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
680
809
  parameters: z.ZodOptional<z.ZodAny>;
@@ -683,8 +812,11 @@ export declare const Flow: z.ZodObject<{
683
812
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
684
813
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
685
814
  hasOperations: z.ZodOptional<z.ZodBoolean>;
815
+ operationsCount: z.ZodOptional<z.ZodNumber>;
686
816
  hasData: z.ZodOptional<z.ZodBoolean>;
817
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
687
818
  hasEvents: z.ZodOptional<z.ZodBoolean>;
819
+ eventsCount: z.ZodOptional<z.ZodNumber>;
688
820
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
689
821
  hasUdm: z.ZodOptional<z.ZodBoolean>;
690
822
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -692,96 +824,152 @@ export declare const Flow: z.ZodObject<{
692
824
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
693
825
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
694
826
  }, "strip", z.ZodTypeAny, {
695
- key: string;
696
827
  id: string;
697
828
  name: string;
698
829
  baseUri: string;
699
830
  logoUri: string;
831
+ key?: string | undefined;
832
+ uuid?: string | undefined;
833
+ description?: string | undefined;
700
834
  state?: import("..").WorkspaceElementState | undefined;
701
835
  errors?: any[] | undefined;
836
+ revision?: string | undefined;
837
+ isDeactivated?: boolean | undefined;
838
+ createdAt?: string | undefined;
839
+ updatedAt?: string | undefined;
840
+ archivedAt?: string | undefined;
702
841
  parameters?: any;
703
842
  parametersSchema?: DataSchema | undefined;
704
- archivedAt?: string | undefined;
705
843
  isTest?: boolean | undefined;
706
844
  connectorId?: string | undefined;
707
845
  connectorVersion?: string | undefined;
708
- authOptions?: any[] | undefined;
846
+ authOptions?: {
847
+ key: string;
848
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
849
+ description?: string | undefined;
850
+ title?: string | undefined;
851
+ ui?: {
852
+ schema?: any;
853
+ helpUri?: string | undefined;
854
+ } | undefined;
855
+ }[] | undefined;
709
856
  oAuthCallbackUri?: string | undefined;
710
857
  hasMissingParameters?: boolean | undefined;
711
858
  hasDocumentation?: boolean | undefined;
712
859
  hasOperations?: boolean | undefined;
860
+ operationsCount?: number | undefined;
713
861
  hasData?: boolean | undefined;
862
+ dataCollectionsCount?: number | undefined;
714
863
  hasEvents?: boolean | undefined;
864
+ eventsCount?: number | undefined;
715
865
  hasGlobalWebhooks?: boolean | undefined;
716
866
  hasUdm?: boolean | undefined;
717
867
  appUuid?: string | undefined;
718
- isDeactivated?: boolean | undefined;
719
868
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
720
869
  }, {
721
- key: string;
722
870
  id: string;
723
871
  name: string;
724
872
  baseUri: string;
725
873
  logoUri: string;
874
+ key?: string | undefined;
875
+ uuid?: string | undefined;
876
+ description?: string | undefined;
726
877
  state?: import("..").WorkspaceElementState | undefined;
727
878
  errors?: any[] | undefined;
879
+ revision?: string | undefined;
880
+ isDeactivated?: boolean | undefined;
881
+ createdAt?: string | undefined;
882
+ updatedAt?: string | undefined;
883
+ archivedAt?: string | undefined;
728
884
  parameters?: any;
729
885
  parametersSchema?: DataSchema | undefined;
730
- archivedAt?: string | undefined;
731
886
  isTest?: boolean | undefined;
732
887
  connectorId?: string | undefined;
733
888
  connectorVersion?: string | undefined;
734
- authOptions?: any[] | undefined;
889
+ authOptions?: {
890
+ key: string;
891
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
892
+ description?: string | undefined;
893
+ title?: string | undefined;
894
+ ui?: {
895
+ schema?: any;
896
+ helpUri?: string | undefined;
897
+ } | undefined;
898
+ }[] | undefined;
735
899
  oAuthCallbackUri?: string | undefined;
736
900
  hasMissingParameters?: boolean | undefined;
737
901
  hasDocumentation?: boolean | undefined;
738
902
  hasOperations?: boolean | undefined;
903
+ operationsCount?: number | undefined;
739
904
  hasData?: boolean | undefined;
905
+ dataCollectionsCount?: number | undefined;
740
906
  hasEvents?: boolean | undefined;
907
+ eventsCount?: number | undefined;
741
908
  hasGlobalWebhooks?: boolean | undefined;
742
909
  hasUdm?: boolean | undefined;
743
910
  appUuid?: string | undefined;
744
- isDeactivated?: boolean | undefined;
745
911
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
746
912
  }>;
747
913
  }, "strip", z.ZodTypeAny, {
748
914
  integration: {
749
- key: string;
750
915
  id: string;
751
916
  name: string;
752
917
  baseUri: string;
753
918
  logoUri: string;
919
+ key?: string | undefined;
920
+ uuid?: string | undefined;
921
+ description?: string | undefined;
754
922
  state?: import("..").WorkspaceElementState | undefined;
755
923
  errors?: any[] | undefined;
924
+ revision?: string | undefined;
925
+ isDeactivated?: boolean | undefined;
926
+ createdAt?: string | undefined;
927
+ updatedAt?: string | undefined;
928
+ archivedAt?: string | undefined;
756
929
  parameters?: any;
757
930
  parametersSchema?: DataSchema | undefined;
758
- archivedAt?: string | undefined;
759
931
  isTest?: boolean | undefined;
760
932
  connectorId?: string | undefined;
761
933
  connectorVersion?: string | undefined;
762
- authOptions?: any[] | undefined;
934
+ authOptions?: {
935
+ key: string;
936
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
937
+ description?: string | undefined;
938
+ title?: string | undefined;
939
+ ui?: {
940
+ schema?: any;
941
+ helpUri?: string | undefined;
942
+ } | undefined;
943
+ }[] | undefined;
763
944
  oAuthCallbackUri?: string | undefined;
764
945
  hasMissingParameters?: boolean | undefined;
765
946
  hasDocumentation?: boolean | undefined;
766
947
  hasOperations?: boolean | undefined;
948
+ operationsCount?: number | undefined;
767
949
  hasData?: boolean | undefined;
950
+ dataCollectionsCount?: number | undefined;
768
951
  hasEvents?: boolean | undefined;
952
+ eventsCount?: number | undefined;
769
953
  hasGlobalWebhooks?: boolean | undefined;
770
954
  hasUdm?: boolean | undefined;
771
955
  appUuid?: string | undefined;
772
- isDeactivated?: boolean | undefined;
773
956
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
774
957
  };
775
958
  element: {
776
- key: string;
777
959
  id: string;
778
960
  name: string;
779
961
  revision: string;
962
+ key?: string | undefined;
963
+ uuid?: string | undefined;
964
+ description?: string | undefined;
780
965
  state?: import("..").WorkspaceElementState | undefined;
781
966
  errors?: any[] | undefined;
967
+ isDeactivated?: boolean | undefined;
968
+ createdAt?: string | undefined;
969
+ updatedAt?: string | undefined;
970
+ archivedAt?: string | undefined;
782
971
  integrationId?: string | undefined;
783
972
  parametersSchema?: DataSchema | undefined;
784
- archivedAt?: string | undefined;
785
973
  customized?: boolean | undefined;
786
974
  universalFlowId?: string | undefined;
787
975
  universalFlowRevision?: string | undefined;
@@ -790,13 +978,13 @@ export declare const Flow: z.ZodObject<{
790
978
  type?: string | undefined;
791
979
  name?: string | undefined;
792
980
  description?: string | undefined;
981
+ ui?: any;
793
982
  isCustomized?: boolean | undefined;
794
983
  inputSchema?: any;
795
984
  config?: any;
796
985
  outputSchema?: any;
797
986
  version?: number | undefined;
798
987
  onError?: "stop" | "continue" | undefined;
799
- ui?: any;
800
988
  outputExample?: any;
801
989
  links?: {
802
990
  key?: string | undefined;
@@ -808,42 +996,64 @@ export declare const Flow: z.ZodObject<{
808
996
  };
809
997
  }, {
810
998
  integration: {
811
- key: string;
812
999
  id: string;
813
1000
  name: string;
814
1001
  baseUri: string;
815
1002
  logoUri: string;
1003
+ key?: string | undefined;
1004
+ uuid?: string | undefined;
1005
+ description?: string | undefined;
816
1006
  state?: import("..").WorkspaceElementState | undefined;
817
1007
  errors?: any[] | undefined;
1008
+ revision?: string | undefined;
1009
+ isDeactivated?: boolean | undefined;
1010
+ createdAt?: string | undefined;
1011
+ updatedAt?: string | undefined;
1012
+ archivedAt?: string | undefined;
818
1013
  parameters?: any;
819
1014
  parametersSchema?: DataSchema | undefined;
820
- archivedAt?: string | undefined;
821
1015
  isTest?: boolean | undefined;
822
1016
  connectorId?: string | undefined;
823
1017
  connectorVersion?: string | undefined;
824
- authOptions?: any[] | 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;
825
1028
  oAuthCallbackUri?: string | undefined;
826
1029
  hasMissingParameters?: boolean | undefined;
827
1030
  hasDocumentation?: boolean | undefined;
828
1031
  hasOperations?: boolean | undefined;
1032
+ operationsCount?: number | undefined;
829
1033
  hasData?: boolean | undefined;
1034
+ dataCollectionsCount?: number | undefined;
830
1035
  hasEvents?: boolean | undefined;
1036
+ eventsCount?: number | undefined;
831
1037
  hasGlobalWebhooks?: boolean | undefined;
832
1038
  hasUdm?: boolean | undefined;
833
1039
  appUuid?: string | undefined;
834
- isDeactivated?: boolean | undefined;
835
1040
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
836
1041
  };
837
1042
  element: {
838
- key: string;
839
1043
  id: string;
840
1044
  name: string;
841
1045
  revision: string;
1046
+ key?: string | undefined;
1047
+ uuid?: string | undefined;
1048
+ description?: string | undefined;
842
1049
  state?: import("..").WorkspaceElementState | undefined;
843
1050
  errors?: any[] | undefined;
1051
+ isDeactivated?: boolean | undefined;
1052
+ createdAt?: string | undefined;
1053
+ updatedAt?: string | undefined;
1054
+ archivedAt?: string | undefined;
844
1055
  integrationId?: string | undefined;
845
1056
  parametersSchema?: DataSchema | undefined;
846
- archivedAt?: string | undefined;
847
1057
  customized?: boolean | undefined;
848
1058
  universalFlowId?: string | undefined;
849
1059
  universalFlowRevision?: string | undefined;
@@ -852,13 +1062,13 @@ export declare const Flow: z.ZodObject<{
852
1062
  type?: string | undefined;
853
1063
  name?: string | undefined;
854
1064
  description?: string | undefined;
1065
+ ui?: any;
855
1066
  isCustomized?: boolean | undefined;
856
1067
  inputSchema?: any;
857
1068
  config?: any;
858
1069
  outputSchema?: any;
859
1070
  version?: number | undefined;
860
1071
  onError?: "stop" | "continue" | undefined;
861
- ui?: any;
862
1072
  outputExample?: any;
863
1073
  links?: {
864
1074
  key?: string | undefined;
@@ -870,81 +1080,125 @@ export declare const Flow: z.ZodObject<{
870
1080
  };
871
1081
  }>, "many">>;
872
1082
  }, "strip", z.ZodTypeAny, {
873
- key: string;
874
1083
  id: string;
875
1084
  name: string;
876
1085
  revision: string;
1086
+ key?: string | undefined;
877
1087
  integration?: {
878
- key: string;
879
1088
  id: string;
880
1089
  name: string;
881
1090
  baseUri: string;
882
1091
  logoUri: string;
1092
+ key?: string | undefined;
1093
+ uuid?: string | undefined;
1094
+ description?: string | undefined;
883
1095
  state?: import("..").WorkspaceElementState | undefined;
884
1096
  errors?: any[] | undefined;
1097
+ revision?: string | undefined;
1098
+ isDeactivated?: boolean | undefined;
1099
+ createdAt?: string | undefined;
1100
+ updatedAt?: string | undefined;
1101
+ archivedAt?: string | undefined;
885
1102
  parameters?: any;
886
1103
  parametersSchema?: DataSchema | undefined;
887
- archivedAt?: string | undefined;
888
1104
  isTest?: boolean | undefined;
889
1105
  connectorId?: string | undefined;
890
1106
  connectorVersion?: string | undefined;
891
- authOptions?: any[] | undefined;
1107
+ authOptions?: {
1108
+ key: string;
1109
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1110
+ description?: string | undefined;
1111
+ title?: string | undefined;
1112
+ ui?: {
1113
+ schema?: any;
1114
+ helpUri?: string | undefined;
1115
+ } | undefined;
1116
+ }[] | undefined;
892
1117
  oAuthCallbackUri?: string | undefined;
893
1118
  hasMissingParameters?: boolean | undefined;
894
1119
  hasDocumentation?: boolean | undefined;
895
1120
  hasOperations?: boolean | undefined;
1121
+ operationsCount?: number | undefined;
896
1122
  hasData?: boolean | undefined;
1123
+ dataCollectionsCount?: number | undefined;
897
1124
  hasEvents?: boolean | undefined;
1125
+ eventsCount?: number | undefined;
898
1126
  hasGlobalWebhooks?: boolean | undefined;
899
1127
  hasUdm?: boolean | undefined;
900
1128
  appUuid?: string | undefined;
901
- isDeactivated?: boolean | undefined;
902
1129
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
903
1130
  } | undefined;
1131
+ uuid?: string | undefined;
1132
+ description?: string | undefined;
904
1133
  state?: import("..").WorkspaceElementState | undefined;
905
1134
  errors?: any[] | undefined;
1135
+ isDeactivated?: boolean | undefined;
1136
+ createdAt?: string | undefined;
1137
+ updatedAt?: string | undefined;
1138
+ archivedAt?: string | undefined;
906
1139
  integrationId?: string | undefined;
907
1140
  parametersSchema?: DataSchema | undefined;
908
- archivedAt?: string | undefined;
909
1141
  customized?: boolean | undefined;
910
1142
  appliedToIntegrations?: {
911
1143
  integration: {
912
- key: string;
913
1144
  id: string;
914
1145
  name: string;
915
1146
  baseUri: string;
916
1147
  logoUri: string;
1148
+ key?: string | undefined;
1149
+ uuid?: string | undefined;
1150
+ description?: string | undefined;
917
1151
  state?: import("..").WorkspaceElementState | undefined;
918
1152
  errors?: any[] | undefined;
1153
+ revision?: string | undefined;
1154
+ isDeactivated?: boolean | undefined;
1155
+ createdAt?: string | undefined;
1156
+ updatedAt?: string | undefined;
1157
+ archivedAt?: string | undefined;
919
1158
  parameters?: any;
920
1159
  parametersSchema?: DataSchema | undefined;
921
- archivedAt?: string | undefined;
922
1160
  isTest?: boolean | undefined;
923
1161
  connectorId?: string | undefined;
924
1162
  connectorVersion?: string | undefined;
925
- authOptions?: any[] | undefined;
1163
+ authOptions?: {
1164
+ key: string;
1165
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1166
+ description?: string | undefined;
1167
+ title?: string | undefined;
1168
+ ui?: {
1169
+ schema?: any;
1170
+ helpUri?: string | undefined;
1171
+ } | undefined;
1172
+ }[] | undefined;
926
1173
  oAuthCallbackUri?: string | undefined;
927
1174
  hasMissingParameters?: boolean | undefined;
928
1175
  hasDocumentation?: boolean | undefined;
929
1176
  hasOperations?: boolean | undefined;
1177
+ operationsCount?: number | undefined;
930
1178
  hasData?: boolean | undefined;
1179
+ dataCollectionsCount?: number | undefined;
931
1180
  hasEvents?: boolean | undefined;
1181
+ eventsCount?: number | undefined;
932
1182
  hasGlobalWebhooks?: boolean | undefined;
933
1183
  hasUdm?: boolean | undefined;
934
1184
  appUuid?: string | undefined;
935
- isDeactivated?: boolean | undefined;
936
1185
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
937
1186
  };
938
1187
  element: {
939
- key: string;
940
1188
  id: string;
941
1189
  name: string;
942
1190
  revision: string;
1191
+ key?: string | undefined;
1192
+ uuid?: string | undefined;
1193
+ description?: string | undefined;
943
1194
  state?: import("..").WorkspaceElementState | undefined;
944
1195
  errors?: any[] | undefined;
1196
+ isDeactivated?: boolean | undefined;
1197
+ createdAt?: string | undefined;
1198
+ updatedAt?: string | undefined;
1199
+ archivedAt?: string | undefined;
945
1200
  integrationId?: string | undefined;
946
1201
  parametersSchema?: DataSchema | undefined;
947
- archivedAt?: string | undefined;
948
1202
  customized?: boolean | undefined;
949
1203
  universalFlowId?: string | undefined;
950
1204
  universalFlowRevision?: string | undefined;
@@ -953,13 +1207,13 @@ export declare const Flow: z.ZodObject<{
953
1207
  type?: string | undefined;
954
1208
  name?: string | undefined;
955
1209
  description?: string | undefined;
1210
+ ui?: any;
956
1211
  isCustomized?: boolean | undefined;
957
1212
  inputSchema?: any;
958
1213
  config?: any;
959
1214
  outputSchema?: any;
960
1215
  version?: number | undefined;
961
1216
  onError?: "stop" | "continue" | undefined;
962
- ui?: any;
963
1217
  outputExample?: any;
964
1218
  links?: {
965
1219
  key?: string | undefined;
@@ -977,13 +1231,13 @@ export declare const Flow: z.ZodObject<{
977
1231
  type?: string | undefined;
978
1232
  name?: string | undefined;
979
1233
  description?: string | undefined;
1234
+ ui?: any;
980
1235
  isCustomized?: boolean | undefined;
981
1236
  inputSchema?: any;
982
1237
  config?: any;
983
1238
  outputSchema?: any;
984
1239
  version?: number | undefined;
985
1240
  onError?: "stop" | "continue" | undefined;
986
- ui?: any;
987
1241
  outputExample?: any;
988
1242
  links?: {
989
1243
  key?: string | undefined;
@@ -993,81 +1247,125 @@ export declare const Flow: z.ZodObject<{
993
1247
  }> | undefined;
994
1248
  autoCreateInstances?: boolean | undefined;
995
1249
  }, {
996
- key: string;
997
1250
  id: string;
998
1251
  name: string;
999
1252
  revision: string;
1253
+ key?: string | undefined;
1000
1254
  integration?: {
1001
- key: string;
1002
1255
  id: string;
1003
1256
  name: string;
1004
1257
  baseUri: string;
1005
1258
  logoUri: string;
1259
+ key?: string | undefined;
1260
+ uuid?: string | undefined;
1261
+ description?: string | undefined;
1006
1262
  state?: import("..").WorkspaceElementState | undefined;
1007
1263
  errors?: any[] | undefined;
1264
+ revision?: string | undefined;
1265
+ isDeactivated?: boolean | undefined;
1266
+ createdAt?: string | undefined;
1267
+ updatedAt?: string | undefined;
1268
+ archivedAt?: string | undefined;
1008
1269
  parameters?: any;
1009
1270
  parametersSchema?: DataSchema | undefined;
1010
- archivedAt?: string | undefined;
1011
1271
  isTest?: boolean | undefined;
1012
1272
  connectorId?: string | undefined;
1013
1273
  connectorVersion?: string | undefined;
1014
- authOptions?: any[] | undefined;
1274
+ authOptions?: {
1275
+ key: string;
1276
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1277
+ description?: string | undefined;
1278
+ title?: string | undefined;
1279
+ ui?: {
1280
+ schema?: any;
1281
+ helpUri?: string | undefined;
1282
+ } | undefined;
1283
+ }[] | undefined;
1015
1284
  oAuthCallbackUri?: string | undefined;
1016
1285
  hasMissingParameters?: boolean | undefined;
1017
1286
  hasDocumentation?: boolean | undefined;
1018
1287
  hasOperations?: boolean | undefined;
1288
+ operationsCount?: number | undefined;
1019
1289
  hasData?: boolean | undefined;
1290
+ dataCollectionsCount?: number | undefined;
1020
1291
  hasEvents?: boolean | undefined;
1292
+ eventsCount?: number | undefined;
1021
1293
  hasGlobalWebhooks?: boolean | undefined;
1022
1294
  hasUdm?: boolean | undefined;
1023
1295
  appUuid?: string | undefined;
1024
- isDeactivated?: boolean | undefined;
1025
1296
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1026
1297
  } | undefined;
1298
+ uuid?: string | undefined;
1299
+ description?: string | undefined;
1027
1300
  state?: import("..").WorkspaceElementState | undefined;
1028
1301
  errors?: any[] | undefined;
1302
+ isDeactivated?: boolean | undefined;
1303
+ createdAt?: string | undefined;
1304
+ updatedAt?: string | undefined;
1305
+ archivedAt?: string | undefined;
1029
1306
  integrationId?: string | undefined;
1030
1307
  parametersSchema?: DataSchema | undefined;
1031
- archivedAt?: string | undefined;
1032
1308
  customized?: boolean | undefined;
1033
1309
  appliedToIntegrations?: {
1034
1310
  integration: {
1035
- key: string;
1036
1311
  id: string;
1037
1312
  name: string;
1038
1313
  baseUri: string;
1039
1314
  logoUri: string;
1315
+ key?: string | undefined;
1316
+ uuid?: string | undefined;
1317
+ description?: string | undefined;
1040
1318
  state?: import("..").WorkspaceElementState | undefined;
1041
1319
  errors?: any[] | undefined;
1320
+ revision?: string | undefined;
1321
+ isDeactivated?: boolean | undefined;
1322
+ createdAt?: string | undefined;
1323
+ updatedAt?: string | undefined;
1324
+ archivedAt?: string | undefined;
1042
1325
  parameters?: any;
1043
1326
  parametersSchema?: DataSchema | undefined;
1044
- archivedAt?: string | undefined;
1045
1327
  isTest?: boolean | undefined;
1046
1328
  connectorId?: string | undefined;
1047
1329
  connectorVersion?: string | undefined;
1048
- authOptions?: any[] | undefined;
1330
+ authOptions?: {
1331
+ key: string;
1332
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1333
+ description?: string | undefined;
1334
+ title?: string | undefined;
1335
+ ui?: {
1336
+ schema?: any;
1337
+ helpUri?: string | undefined;
1338
+ } | undefined;
1339
+ }[] | undefined;
1049
1340
  oAuthCallbackUri?: string | undefined;
1050
1341
  hasMissingParameters?: boolean | undefined;
1051
1342
  hasDocumentation?: boolean | undefined;
1052
1343
  hasOperations?: boolean | undefined;
1344
+ operationsCount?: number | undefined;
1053
1345
  hasData?: boolean | undefined;
1346
+ dataCollectionsCount?: number | undefined;
1054
1347
  hasEvents?: boolean | undefined;
1348
+ eventsCount?: number | undefined;
1055
1349
  hasGlobalWebhooks?: boolean | undefined;
1056
1350
  hasUdm?: boolean | undefined;
1057
1351
  appUuid?: string | undefined;
1058
- isDeactivated?: boolean | undefined;
1059
1352
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1060
1353
  };
1061
1354
  element: {
1062
- key: string;
1063
1355
  id: string;
1064
1356
  name: string;
1065
1357
  revision: string;
1358
+ key?: string | undefined;
1359
+ uuid?: string | undefined;
1360
+ description?: string | undefined;
1066
1361
  state?: import("..").WorkspaceElementState | undefined;
1067
1362
  errors?: any[] | undefined;
1363
+ isDeactivated?: boolean | undefined;
1364
+ createdAt?: string | undefined;
1365
+ updatedAt?: string | undefined;
1366
+ archivedAt?: string | undefined;
1068
1367
  integrationId?: string | undefined;
1069
1368
  parametersSchema?: DataSchema | undefined;
1070
- archivedAt?: string | undefined;
1071
1369
  customized?: boolean | undefined;
1072
1370
  universalFlowId?: string | undefined;
1073
1371
  universalFlowRevision?: string | undefined;
@@ -1076,13 +1374,13 @@ export declare const Flow: z.ZodObject<{
1076
1374
  type?: string | undefined;
1077
1375
  name?: string | undefined;
1078
1376
  description?: string | undefined;
1377
+ ui?: any;
1079
1378
  isCustomized?: boolean | undefined;
1080
1379
  inputSchema?: any;
1081
1380
  config?: any;
1082
1381
  outputSchema?: any;
1083
1382
  version?: number | undefined;
1084
1383
  onError?: "stop" | "continue" | undefined;
1085
- ui?: any;
1086
1384
  outputExample?: any;
1087
1385
  links?: {
1088
1386
  key?: string | undefined;
@@ -1100,13 +1398,13 @@ export declare const Flow: z.ZodObject<{
1100
1398
  type?: string | undefined;
1101
1399
  name?: string | undefined;
1102
1400
  description?: string | undefined;
1401
+ ui?: any;
1103
1402
  isCustomized?: boolean | undefined;
1104
1403
  inputSchema?: any;
1105
1404
  config?: any;
1106
1405
  outputSchema?: any;
1107
1406
  version?: number | undefined;
1108
1407
  onError?: "stop" | "continue" | undefined;
1109
- ui?: any;
1110
1408
  outputExample?: any;
1111
1409
  links?: {
1112
1410
  key?: string | undefined;
@@ -1116,13 +1414,18 @@ export declare const Flow: z.ZodObject<{
1116
1414
  }> | undefined;
1117
1415
  autoCreateInstances?: boolean | undefined;
1118
1416
  }>;
1119
- export type Flow = z.infer<typeof Flow>;
1120
- export type FlowApiResponse = Flow;
1121
- export declare const FlowInstance: z.ZodObject<{
1417
+ export type FlowApiResponse = z.infer<typeof FlowApiResponse>;
1418
+ export type Flow = FlowApiResponse;
1419
+ export declare const FlowInstanceApiResponse: z.ZodObject<{
1122
1420
  id: z.ZodString;
1123
1421
  name: z.ZodString;
1124
- key: z.ZodString;
1422
+ key: z.ZodOptional<z.ZodString>;
1423
+ uuid: z.ZodOptional<z.ZodString>;
1424
+ description: z.ZodOptional<z.ZodString>;
1125
1425
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1426
+ revision: z.ZodOptional<z.ZodString>;
1427
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1428
+ archivedAt: z.ZodOptional<z.ZodString>;
1126
1429
  } & {
1127
1430
  userId: z.ZodString;
1128
1431
  connectionId: z.ZodOptional<z.ZodString>;
@@ -1154,67 +1457,79 @@ export declare const FlowInstance: z.ZodObject<{
1154
1457
  id: string;
1155
1458
  name: string;
1156
1459
  internalId: string;
1460
+ createdAt?: string | undefined;
1461
+ archivedAt?: string | undefined;
1157
1462
  credentials?: any;
1158
1463
  fields?: Record<string, any> | undefined;
1159
- lastActiveAt?: string | undefined;
1160
1464
  isTest?: boolean | undefined;
1465
+ lastActiveAt?: string | undefined;
1161
1466
  isBillable?: boolean | undefined;
1162
1467
  }, z.ZodTypeDef, {
1163
1468
  id: string;
1164
1469
  name: string;
1165
1470
  internalId: string;
1471
+ createdAt?: string | undefined;
1472
+ archivedAt?: string | undefined;
1166
1473
  credentials?: any;
1167
1474
  fields?: Record<string, any> | undefined;
1168
- lastActiveAt?: string | undefined;
1169
1475
  isTest?: boolean | undefined;
1476
+ lastActiveAt?: string | undefined;
1170
1477
  isBillable?: boolean | undefined;
1171
1478
  }>>>;
1172
1479
  connection: z.ZodOptional<z.ZodLazy<z.ZodType<{
1173
1480
  id: string;
1174
1481
  name: string;
1175
- userId: string;
1176
- integrationId: string;
1177
1482
  createdAt: string;
1178
1483
  updatedAt: string;
1484
+ userId: string;
1485
+ integrationId: string;
1179
1486
  error?: any;
1180
1487
  state?: import("..").WorkspaceElementState | undefined;
1181
1488
  errors?: any[] | undefined;
1182
- accessToken?: string | undefined;
1489
+ isDeactivated?: boolean | undefined;
1490
+ archivedAt?: string | undefined;
1183
1491
  credentials?: unknown;
1184
1492
  parameters?: unknown;
1185
1493
  connectorParameters?: unknown;
1494
+ isTest?: boolean | undefined;
1186
1495
  disconnected?: boolean | undefined;
1187
- refreshToken?: string | undefined;
1496
+ isDefunct?: boolean | undefined;
1188
1497
  lastActiveAt?: string | undefined;
1189
1498
  nextCredentialsRefreshAt?: string | undefined;
1190
- archivedAt?: string | undefined;
1499
+ meta?: Record<string, any> | undefined;
1191
1500
  }, z.ZodTypeDef, {
1192
1501
  id: string;
1193
1502
  name: string;
1194
- userId: string;
1195
- integrationId: string;
1196
1503
  createdAt: string;
1197
1504
  updatedAt: string;
1505
+ userId: string;
1506
+ integrationId: string;
1198
1507
  error?: any;
1199
1508
  state?: import("..").WorkspaceElementState | undefined;
1200
1509
  errors?: any[] | undefined;
1201
- accessToken?: string | undefined;
1510
+ isDeactivated?: boolean | undefined;
1511
+ archivedAt?: string | undefined;
1202
1512
  credentials?: unknown;
1203
1513
  parameters?: unknown;
1204
1514
  connectorParameters?: unknown;
1515
+ isTest?: boolean | undefined;
1205
1516
  disconnected?: boolean | undefined;
1206
- refreshToken?: string | undefined;
1517
+ isDefunct?: boolean | undefined;
1207
1518
  lastActiveAt?: string | undefined;
1208
1519
  nextCredentialsRefreshAt?: string | undefined;
1209
- archivedAt?: string | undefined;
1520
+ meta?: Record<string, any> | undefined;
1210
1521
  }>>>;
1211
1522
  flow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1212
1523
  id: z.ZodString;
1213
1524
  name: z.ZodString;
1214
- } & {
1215
- key: z.ZodString;
1525
+ key: z.ZodOptional<z.ZodString>;
1526
+ uuid: z.ZodOptional<z.ZodString>;
1527
+ description: z.ZodOptional<z.ZodString>;
1216
1528
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1217
1529
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1530
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1531
+ createdAt: z.ZodOptional<z.ZodString>;
1532
+ updatedAt: z.ZodOptional<z.ZodString>;
1218
1533
  } & {
1219
1534
  integrationId: z.ZodOptional<z.ZodString>;
1220
1535
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -1251,13 +1566,13 @@ export declare const FlowInstance: z.ZodObject<{
1251
1566
  type?: string | undefined;
1252
1567
  name?: string | undefined;
1253
1568
  description?: string | undefined;
1569
+ ui?: any;
1254
1570
  isCustomized?: boolean | undefined;
1255
1571
  inputSchema?: any;
1256
1572
  config?: any;
1257
1573
  outputSchema?: any;
1258
1574
  version?: number | undefined;
1259
1575
  onError?: "stop" | "continue" | undefined;
1260
- ui?: any;
1261
1576
  outputExample?: any;
1262
1577
  links?: {
1263
1578
  key?: string | undefined;
@@ -1269,13 +1584,13 @@ export declare const FlowInstance: z.ZodObject<{
1269
1584
  type?: string | undefined;
1270
1585
  name?: string | undefined;
1271
1586
  description?: string | undefined;
1587
+ ui?: any;
1272
1588
  isCustomized?: boolean | undefined;
1273
1589
  inputSchema?: any;
1274
1590
  config?: any;
1275
1591
  outputSchema?: any;
1276
1592
  version?: number | undefined;
1277
1593
  onError?: "stop" | "continue" | undefined;
1278
- ui?: any;
1279
1594
  outputExample?: any;
1280
1595
  links?: {
1281
1596
  key?: string | undefined;
@@ -1291,15 +1606,52 @@ export declare const FlowInstance: z.ZodObject<{
1291
1606
  integration: z.ZodOptional<z.ZodObject<{
1292
1607
  id: z.ZodString;
1293
1608
  name: z.ZodString;
1294
- } & {
1295
- key: z.ZodString;
1609
+ key: z.ZodOptional<z.ZodString>;
1610
+ uuid: z.ZodOptional<z.ZodString>;
1611
+ description: z.ZodOptional<z.ZodString>;
1296
1612
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1297
1613
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1614
+ revision: z.ZodOptional<z.ZodString>;
1615
+ createdAt: z.ZodOptional<z.ZodString>;
1616
+ updatedAt: z.ZodOptional<z.ZodString>;
1298
1617
  } & {
1299
1618
  logoUri: z.ZodString;
1300
1619
  connectorId: z.ZodOptional<z.ZodString>;
1301
1620
  connectorVersion: z.ZodOptional<z.ZodString>;
1302
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1621
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
+ key: z.ZodString;
1623
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
1624
+ title: z.ZodOptional<z.ZodString>;
1625
+ description: z.ZodOptional<z.ZodString>;
1626
+ ui: z.ZodOptional<z.ZodObject<{
1627
+ schema: z.ZodOptional<z.ZodAny>;
1628
+ helpUri: z.ZodOptional<z.ZodString>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ schema?: any;
1631
+ helpUri?: string | undefined;
1632
+ }, {
1633
+ schema?: any;
1634
+ helpUri?: string | undefined;
1635
+ }>>;
1636
+ }, "strip", z.ZodTypeAny, {
1637
+ key: string;
1638
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1639
+ description?: string | undefined;
1640
+ title?: string | undefined;
1641
+ ui?: {
1642
+ schema?: any;
1643
+ helpUri?: string | undefined;
1644
+ } | undefined;
1645
+ }, {
1646
+ key: string;
1647
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1648
+ description?: string | undefined;
1649
+ title?: string | undefined;
1650
+ ui?: {
1651
+ schema?: any;
1652
+ helpUri?: string | undefined;
1653
+ } | undefined;
1654
+ }>, "many">>;
1303
1655
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1304
1656
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1305
1657
  parameters: z.ZodOptional<z.ZodAny>;
@@ -1308,8 +1660,11 @@ export declare const FlowInstance: z.ZodObject<{
1308
1660
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1309
1661
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1310
1662
  hasOperations: z.ZodOptional<z.ZodBoolean>;
1663
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1311
1664
  hasData: z.ZodOptional<z.ZodBoolean>;
1665
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1312
1666
  hasEvents: z.ZodOptional<z.ZodBoolean>;
1667
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1313
1668
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1314
1669
  hasUdm: z.ZodOptional<z.ZodBoolean>;
1315
1670
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -1317,66 +1672,104 @@ export declare const FlowInstance: z.ZodObject<{
1317
1672
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1318
1673
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1319
1674
  }, "strip", z.ZodTypeAny, {
1320
- key: string;
1321
1675
  id: string;
1322
1676
  name: string;
1323
1677
  baseUri: string;
1324
1678
  logoUri: string;
1679
+ key?: string | undefined;
1680
+ uuid?: string | undefined;
1681
+ description?: string | undefined;
1325
1682
  state?: import("..").WorkspaceElementState | undefined;
1326
1683
  errors?: any[] | undefined;
1684
+ revision?: string | undefined;
1685
+ isDeactivated?: boolean | undefined;
1686
+ createdAt?: string | undefined;
1687
+ updatedAt?: string | undefined;
1688
+ archivedAt?: string | undefined;
1327
1689
  parameters?: any;
1328
1690
  parametersSchema?: DataSchema | undefined;
1329
- archivedAt?: string | undefined;
1330
1691
  isTest?: boolean | undefined;
1331
1692
  connectorId?: string | undefined;
1332
1693
  connectorVersion?: string | undefined;
1333
- authOptions?: any[] | undefined;
1694
+ authOptions?: {
1695
+ key: string;
1696
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1697
+ description?: string | undefined;
1698
+ title?: string | undefined;
1699
+ ui?: {
1700
+ schema?: any;
1701
+ helpUri?: string | undefined;
1702
+ } | undefined;
1703
+ }[] | undefined;
1334
1704
  oAuthCallbackUri?: string | undefined;
1335
1705
  hasMissingParameters?: boolean | undefined;
1336
1706
  hasDocumentation?: boolean | undefined;
1337
1707
  hasOperations?: boolean | undefined;
1708
+ operationsCount?: number | undefined;
1338
1709
  hasData?: boolean | undefined;
1710
+ dataCollectionsCount?: number | undefined;
1339
1711
  hasEvents?: boolean | undefined;
1712
+ eventsCount?: number | undefined;
1340
1713
  hasGlobalWebhooks?: boolean | undefined;
1341
1714
  hasUdm?: boolean | undefined;
1342
1715
  appUuid?: string | undefined;
1343
- isDeactivated?: boolean | undefined;
1344
1716
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1345
1717
  }, {
1346
- key: string;
1347
1718
  id: string;
1348
1719
  name: string;
1349
1720
  baseUri: string;
1350
1721
  logoUri: string;
1722
+ key?: string | undefined;
1723
+ uuid?: string | undefined;
1724
+ description?: string | undefined;
1351
1725
  state?: import("..").WorkspaceElementState | undefined;
1352
1726
  errors?: any[] | undefined;
1727
+ revision?: string | undefined;
1728
+ isDeactivated?: boolean | undefined;
1729
+ createdAt?: string | undefined;
1730
+ updatedAt?: string | undefined;
1731
+ archivedAt?: string | undefined;
1353
1732
  parameters?: any;
1354
1733
  parametersSchema?: DataSchema | undefined;
1355
- archivedAt?: string | undefined;
1356
1734
  isTest?: boolean | undefined;
1357
1735
  connectorId?: string | undefined;
1358
1736
  connectorVersion?: string | undefined;
1359
- authOptions?: any[] | undefined;
1737
+ authOptions?: {
1738
+ key: string;
1739
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1740
+ description?: string | undefined;
1741
+ title?: string | undefined;
1742
+ ui?: {
1743
+ schema?: any;
1744
+ helpUri?: string | undefined;
1745
+ } | undefined;
1746
+ }[] | undefined;
1360
1747
  oAuthCallbackUri?: string | undefined;
1361
1748
  hasMissingParameters?: boolean | undefined;
1362
1749
  hasDocumentation?: boolean | undefined;
1363
1750
  hasOperations?: boolean | undefined;
1751
+ operationsCount?: number | undefined;
1364
1752
  hasData?: boolean | undefined;
1753
+ dataCollectionsCount?: number | undefined;
1365
1754
  hasEvents?: boolean | undefined;
1755
+ eventsCount?: number | undefined;
1366
1756
  hasGlobalWebhooks?: boolean | undefined;
1367
1757
  hasUdm?: boolean | undefined;
1368
1758
  appUuid?: string | undefined;
1369
- isDeactivated?: boolean | undefined;
1370
1759
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1371
1760
  }>>;
1372
1761
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1373
1762
  element: z.ZodObject<{
1374
1763
  id: z.ZodString;
1375
1764
  name: z.ZodString;
1376
- } & {
1377
- key: z.ZodString;
1765
+ key: z.ZodOptional<z.ZodString>;
1766
+ uuid: z.ZodOptional<z.ZodString>;
1767
+ description: z.ZodOptional<z.ZodString>;
1378
1768
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1379
1769
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1770
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1771
+ createdAt: z.ZodOptional<z.ZodString>;
1772
+ updatedAt: z.ZodOptional<z.ZodString>;
1380
1773
  } & {
1381
1774
  integrationId: z.ZodOptional<z.ZodString>;
1382
1775
  universalFlowId: z.ZodOptional<z.ZodString>;
@@ -1413,13 +1806,13 @@ export declare const FlowInstance: z.ZodObject<{
1413
1806
  type?: string | undefined;
1414
1807
  name?: string | undefined;
1415
1808
  description?: string | undefined;
1809
+ ui?: any;
1416
1810
  isCustomized?: boolean | undefined;
1417
1811
  inputSchema?: any;
1418
1812
  config?: any;
1419
1813
  outputSchema?: any;
1420
1814
  version?: number | undefined;
1421
1815
  onError?: "stop" | "continue" | undefined;
1422
- ui?: any;
1423
1816
  outputExample?: any;
1424
1817
  links?: {
1425
1818
  key?: string | undefined;
@@ -1431,13 +1824,13 @@ export declare const FlowInstance: z.ZodObject<{
1431
1824
  type?: string | undefined;
1432
1825
  name?: string | undefined;
1433
1826
  description?: string | undefined;
1827
+ ui?: any;
1434
1828
  isCustomized?: boolean | undefined;
1435
1829
  inputSchema?: any;
1436
1830
  config?: any;
1437
1831
  outputSchema?: any;
1438
1832
  version?: number | undefined;
1439
1833
  onError?: "stop" | "continue" | undefined;
1440
- ui?: any;
1441
1834
  outputExample?: any;
1442
1835
  links?: {
1443
1836
  key?: string | undefined;
@@ -1450,15 +1843,20 @@ export declare const FlowInstance: z.ZodObject<{
1450
1843
  revision: z.ZodString;
1451
1844
  customized: z.ZodOptional<z.ZodBoolean>;
1452
1845
  }, "strip", z.ZodTypeAny, {
1453
- key: string;
1454
1846
  id: string;
1455
1847
  name: string;
1456
1848
  revision: string;
1849
+ key?: string | undefined;
1850
+ uuid?: string | undefined;
1851
+ description?: string | undefined;
1457
1852
  state?: import("..").WorkspaceElementState | undefined;
1458
1853
  errors?: any[] | undefined;
1854
+ isDeactivated?: boolean | undefined;
1855
+ createdAt?: string | undefined;
1856
+ updatedAt?: string | undefined;
1857
+ archivedAt?: string | undefined;
1459
1858
  integrationId?: string | undefined;
1460
1859
  parametersSchema?: DataSchema | undefined;
1461
- archivedAt?: string | undefined;
1462
1860
  customized?: boolean | undefined;
1463
1861
  universalFlowId?: string | undefined;
1464
1862
  universalFlowRevision?: string | undefined;
@@ -1467,13 +1865,13 @@ export declare const FlowInstance: z.ZodObject<{
1467
1865
  type?: string | undefined;
1468
1866
  name?: string | undefined;
1469
1867
  description?: string | undefined;
1868
+ ui?: any;
1470
1869
  isCustomized?: boolean | undefined;
1471
1870
  inputSchema?: any;
1472
1871
  config?: any;
1473
1872
  outputSchema?: any;
1474
1873
  version?: number | undefined;
1475
1874
  onError?: "stop" | "continue" | undefined;
1476
- ui?: any;
1477
1875
  outputExample?: any;
1478
1876
  links?: {
1479
1877
  key?: string | undefined;
@@ -1483,15 +1881,20 @@ export declare const FlowInstance: z.ZodObject<{
1483
1881
  }> | undefined;
1484
1882
  autoCreateInstances?: boolean | undefined;
1485
1883
  }, {
1486
- key: string;
1487
1884
  id: string;
1488
1885
  name: string;
1489
1886
  revision: string;
1887
+ key?: string | undefined;
1888
+ uuid?: string | undefined;
1889
+ description?: string | undefined;
1490
1890
  state?: import("..").WorkspaceElementState | undefined;
1491
1891
  errors?: any[] | undefined;
1892
+ isDeactivated?: boolean | undefined;
1893
+ createdAt?: string | undefined;
1894
+ updatedAt?: string | undefined;
1895
+ archivedAt?: string | undefined;
1492
1896
  integrationId?: string | undefined;
1493
1897
  parametersSchema?: DataSchema | undefined;
1494
- archivedAt?: string | undefined;
1495
1898
  customized?: boolean | undefined;
1496
1899
  universalFlowId?: string | undefined;
1497
1900
  universalFlowRevision?: string | undefined;
@@ -1500,13 +1903,13 @@ export declare const FlowInstance: z.ZodObject<{
1500
1903
  type?: string | undefined;
1501
1904
  name?: string | undefined;
1502
1905
  description?: string | undefined;
1906
+ ui?: any;
1503
1907
  isCustomized?: boolean | undefined;
1504
1908
  inputSchema?: any;
1505
1909
  config?: any;
1506
1910
  outputSchema?: any;
1507
1911
  version?: number | undefined;
1508
1912
  onError?: "stop" | "continue" | undefined;
1509
- ui?: any;
1510
1913
  outputExample?: any;
1511
1914
  links?: {
1512
1915
  key?: string | undefined;
@@ -1519,15 +1922,52 @@ export declare const FlowInstance: z.ZodObject<{
1519
1922
  integration: z.ZodObject<{
1520
1923
  id: z.ZodString;
1521
1924
  name: z.ZodString;
1522
- } & {
1523
- key: z.ZodString;
1925
+ key: z.ZodOptional<z.ZodString>;
1926
+ uuid: z.ZodOptional<z.ZodString>;
1927
+ description: z.ZodOptional<z.ZodString>;
1524
1928
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1525
1929
  errors: z.ZodOptional<z.ZodArray<any, "many">>;
1930
+ revision: z.ZodOptional<z.ZodString>;
1931
+ createdAt: z.ZodOptional<z.ZodString>;
1932
+ updatedAt: z.ZodOptional<z.ZodString>;
1526
1933
  } & {
1527
1934
  logoUri: z.ZodString;
1528
1935
  connectorId: z.ZodOptional<z.ZodString>;
1529
1936
  connectorVersion: z.ZodOptional<z.ZodString>;
1530
- authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1937
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1938
+ key: z.ZodString;
1939
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
1940
+ title: z.ZodOptional<z.ZodString>;
1941
+ description: z.ZodOptional<z.ZodString>;
1942
+ ui: z.ZodOptional<z.ZodObject<{
1943
+ schema: z.ZodOptional<z.ZodAny>;
1944
+ helpUri: z.ZodOptional<z.ZodString>;
1945
+ }, "strip", z.ZodTypeAny, {
1946
+ schema?: any;
1947
+ helpUri?: string | undefined;
1948
+ }, {
1949
+ schema?: any;
1950
+ helpUri?: string | undefined;
1951
+ }>>;
1952
+ }, "strip", z.ZodTypeAny, {
1953
+ key: string;
1954
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1955
+ description?: string | undefined;
1956
+ title?: string | undefined;
1957
+ ui?: {
1958
+ schema?: any;
1959
+ helpUri?: string | undefined;
1960
+ } | undefined;
1961
+ }, {
1962
+ key: string;
1963
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1964
+ description?: string | undefined;
1965
+ title?: string | undefined;
1966
+ ui?: {
1967
+ schema?: any;
1968
+ helpUri?: string | undefined;
1969
+ } | undefined;
1970
+ }>, "many">>;
1531
1971
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1532
1972
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1533
1973
  parameters: z.ZodOptional<z.ZodAny>;
@@ -1536,8 +1976,11 @@ export declare const FlowInstance: z.ZodObject<{
1536
1976
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1537
1977
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1538
1978
  hasOperations: z.ZodOptional<z.ZodBoolean>;
1979
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1539
1980
  hasData: z.ZodOptional<z.ZodBoolean>;
1981
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1540
1982
  hasEvents: z.ZodOptional<z.ZodBoolean>;
1983
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1541
1984
  hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1542
1985
  hasUdm: z.ZodOptional<z.ZodBoolean>;
1543
1986
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -1545,96 +1988,152 @@ export declare const FlowInstance: z.ZodObject<{
1545
1988
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1546
1989
  authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1547
1990
  }, "strip", z.ZodTypeAny, {
1548
- key: string;
1549
1991
  id: string;
1550
1992
  name: string;
1551
1993
  baseUri: string;
1552
1994
  logoUri: string;
1995
+ key?: string | undefined;
1996
+ uuid?: string | undefined;
1997
+ description?: string | undefined;
1553
1998
  state?: import("..").WorkspaceElementState | undefined;
1554
1999
  errors?: any[] | undefined;
2000
+ revision?: string | undefined;
2001
+ isDeactivated?: boolean | undefined;
2002
+ createdAt?: string | undefined;
2003
+ updatedAt?: string | undefined;
2004
+ archivedAt?: string | undefined;
1555
2005
  parameters?: any;
1556
2006
  parametersSchema?: DataSchema | undefined;
1557
- archivedAt?: string | undefined;
1558
2007
  isTest?: boolean | undefined;
1559
2008
  connectorId?: string | undefined;
1560
2009
  connectorVersion?: string | undefined;
1561
- authOptions?: any[] | undefined;
2010
+ authOptions?: {
2011
+ key: string;
2012
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2013
+ description?: string | undefined;
2014
+ title?: string | undefined;
2015
+ ui?: {
2016
+ schema?: any;
2017
+ helpUri?: string | undefined;
2018
+ } | undefined;
2019
+ }[] | undefined;
1562
2020
  oAuthCallbackUri?: string | undefined;
1563
2021
  hasMissingParameters?: boolean | undefined;
1564
2022
  hasDocumentation?: boolean | undefined;
1565
2023
  hasOperations?: boolean | undefined;
2024
+ operationsCount?: number | undefined;
1566
2025
  hasData?: boolean | undefined;
2026
+ dataCollectionsCount?: number | undefined;
1567
2027
  hasEvents?: boolean | undefined;
2028
+ eventsCount?: number | undefined;
1568
2029
  hasGlobalWebhooks?: boolean | undefined;
1569
2030
  hasUdm?: boolean | undefined;
1570
2031
  appUuid?: string | undefined;
1571
- isDeactivated?: boolean | undefined;
1572
2032
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1573
2033
  }, {
1574
- key: string;
1575
2034
  id: string;
1576
2035
  name: string;
1577
2036
  baseUri: string;
1578
2037
  logoUri: string;
2038
+ key?: string | undefined;
2039
+ uuid?: string | undefined;
2040
+ description?: string | undefined;
1579
2041
  state?: import("..").WorkspaceElementState | undefined;
1580
2042
  errors?: any[] | undefined;
2043
+ revision?: string | undefined;
2044
+ isDeactivated?: boolean | undefined;
2045
+ createdAt?: string | undefined;
2046
+ updatedAt?: string | undefined;
2047
+ archivedAt?: string | undefined;
1581
2048
  parameters?: any;
1582
2049
  parametersSchema?: DataSchema | undefined;
1583
- archivedAt?: string | undefined;
1584
2050
  isTest?: boolean | undefined;
1585
2051
  connectorId?: string | undefined;
1586
2052
  connectorVersion?: string | undefined;
1587
- authOptions?: any[] | undefined;
2053
+ authOptions?: {
2054
+ key: string;
2055
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2056
+ description?: string | undefined;
2057
+ title?: string | undefined;
2058
+ ui?: {
2059
+ schema?: any;
2060
+ helpUri?: string | undefined;
2061
+ } | undefined;
2062
+ }[] | undefined;
1588
2063
  oAuthCallbackUri?: string | undefined;
1589
2064
  hasMissingParameters?: boolean | undefined;
1590
2065
  hasDocumentation?: boolean | undefined;
1591
2066
  hasOperations?: boolean | undefined;
2067
+ operationsCount?: number | undefined;
1592
2068
  hasData?: boolean | undefined;
2069
+ dataCollectionsCount?: number | undefined;
1593
2070
  hasEvents?: boolean | undefined;
2071
+ eventsCount?: number | undefined;
1594
2072
  hasGlobalWebhooks?: boolean | undefined;
1595
2073
  hasUdm?: boolean | undefined;
1596
2074
  appUuid?: string | undefined;
1597
- isDeactivated?: boolean | undefined;
1598
2075
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1599
2076
  }>;
1600
2077
  }, "strip", z.ZodTypeAny, {
1601
2078
  integration: {
1602
- key: string;
1603
2079
  id: string;
1604
2080
  name: string;
1605
2081
  baseUri: string;
1606
2082
  logoUri: string;
2083
+ key?: string | undefined;
2084
+ uuid?: string | undefined;
2085
+ description?: string | undefined;
1607
2086
  state?: import("..").WorkspaceElementState | undefined;
1608
2087
  errors?: any[] | undefined;
2088
+ revision?: string | undefined;
2089
+ isDeactivated?: boolean | undefined;
2090
+ createdAt?: string | undefined;
2091
+ updatedAt?: string | undefined;
2092
+ archivedAt?: string | undefined;
1609
2093
  parameters?: any;
1610
2094
  parametersSchema?: DataSchema | undefined;
1611
- archivedAt?: string | undefined;
1612
2095
  isTest?: boolean | undefined;
1613
2096
  connectorId?: string | undefined;
1614
2097
  connectorVersion?: string | undefined;
1615
- authOptions?: any[] | undefined;
2098
+ authOptions?: {
2099
+ key: string;
2100
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2101
+ description?: string | undefined;
2102
+ title?: string | undefined;
2103
+ ui?: {
2104
+ schema?: any;
2105
+ helpUri?: string | undefined;
2106
+ } | undefined;
2107
+ }[] | undefined;
1616
2108
  oAuthCallbackUri?: string | undefined;
1617
2109
  hasMissingParameters?: boolean | undefined;
1618
2110
  hasDocumentation?: boolean | undefined;
1619
2111
  hasOperations?: boolean | undefined;
2112
+ operationsCount?: number | undefined;
1620
2113
  hasData?: boolean | undefined;
2114
+ dataCollectionsCount?: number | undefined;
1621
2115
  hasEvents?: boolean | undefined;
2116
+ eventsCount?: number | undefined;
1622
2117
  hasGlobalWebhooks?: boolean | undefined;
1623
2118
  hasUdm?: boolean | undefined;
1624
2119
  appUuid?: string | undefined;
1625
- isDeactivated?: boolean | undefined;
1626
2120
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1627
2121
  };
1628
2122
  element: {
1629
- key: string;
1630
2123
  id: string;
1631
2124
  name: string;
1632
2125
  revision: string;
2126
+ key?: string | undefined;
2127
+ uuid?: string | undefined;
2128
+ description?: string | undefined;
1633
2129
  state?: import("..").WorkspaceElementState | undefined;
1634
2130
  errors?: any[] | undefined;
2131
+ isDeactivated?: boolean | undefined;
2132
+ createdAt?: string | undefined;
2133
+ updatedAt?: string | undefined;
2134
+ archivedAt?: string | undefined;
1635
2135
  integrationId?: string | undefined;
1636
2136
  parametersSchema?: DataSchema | undefined;
1637
- archivedAt?: string | undefined;
1638
2137
  customized?: boolean | undefined;
1639
2138
  universalFlowId?: string | undefined;
1640
2139
  universalFlowRevision?: string | undefined;
@@ -1643,13 +2142,13 @@ export declare const FlowInstance: z.ZodObject<{
1643
2142
  type?: string | undefined;
1644
2143
  name?: string | undefined;
1645
2144
  description?: string | undefined;
2145
+ ui?: any;
1646
2146
  isCustomized?: boolean | undefined;
1647
2147
  inputSchema?: any;
1648
2148
  config?: any;
1649
2149
  outputSchema?: any;
1650
2150
  version?: number | undefined;
1651
2151
  onError?: "stop" | "continue" | undefined;
1652
- ui?: any;
1653
2152
  outputExample?: any;
1654
2153
  links?: {
1655
2154
  key?: string | undefined;
@@ -1661,42 +2160,64 @@ export declare const FlowInstance: z.ZodObject<{
1661
2160
  };
1662
2161
  }, {
1663
2162
  integration: {
1664
- key: string;
1665
2163
  id: string;
1666
2164
  name: string;
1667
2165
  baseUri: string;
1668
2166
  logoUri: string;
2167
+ key?: string | undefined;
2168
+ uuid?: string | undefined;
2169
+ description?: string | undefined;
1669
2170
  state?: import("..").WorkspaceElementState | undefined;
1670
2171
  errors?: any[] | undefined;
2172
+ revision?: string | undefined;
2173
+ isDeactivated?: boolean | undefined;
2174
+ createdAt?: string | undefined;
2175
+ updatedAt?: string | undefined;
2176
+ archivedAt?: string | undefined;
1671
2177
  parameters?: any;
1672
2178
  parametersSchema?: DataSchema | undefined;
1673
- archivedAt?: string | undefined;
1674
2179
  isTest?: boolean | undefined;
1675
2180
  connectorId?: string | undefined;
1676
2181
  connectorVersion?: string | undefined;
1677
- authOptions?: any[] | undefined;
2182
+ authOptions?: {
2183
+ key: string;
2184
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2185
+ description?: string | undefined;
2186
+ title?: string | undefined;
2187
+ ui?: {
2188
+ schema?: any;
2189
+ helpUri?: string | undefined;
2190
+ } | undefined;
2191
+ }[] | undefined;
1678
2192
  oAuthCallbackUri?: string | undefined;
1679
2193
  hasMissingParameters?: boolean | undefined;
1680
2194
  hasDocumentation?: boolean | undefined;
1681
2195
  hasOperations?: boolean | undefined;
2196
+ operationsCount?: number | undefined;
1682
2197
  hasData?: boolean | undefined;
2198
+ dataCollectionsCount?: number | undefined;
1683
2199
  hasEvents?: boolean | undefined;
2200
+ eventsCount?: number | undefined;
1684
2201
  hasGlobalWebhooks?: boolean | undefined;
1685
2202
  hasUdm?: boolean | undefined;
1686
2203
  appUuid?: string | undefined;
1687
- isDeactivated?: boolean | undefined;
1688
2204
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1689
2205
  };
1690
2206
  element: {
1691
- key: string;
1692
2207
  id: string;
1693
2208
  name: string;
1694
2209
  revision: string;
2210
+ key?: string | undefined;
2211
+ uuid?: string | undefined;
2212
+ description?: string | undefined;
1695
2213
  state?: import("..").WorkspaceElementState | undefined;
1696
2214
  errors?: any[] | undefined;
2215
+ isDeactivated?: boolean | undefined;
2216
+ createdAt?: string | undefined;
2217
+ updatedAt?: string | undefined;
2218
+ archivedAt?: string | undefined;
1697
2219
  integrationId?: string | undefined;
1698
2220
  parametersSchema?: DataSchema | undefined;
1699
- archivedAt?: string | undefined;
1700
2221
  customized?: boolean | undefined;
1701
2222
  universalFlowId?: string | undefined;
1702
2223
  universalFlowRevision?: string | undefined;
@@ -1705,13 +2226,13 @@ export declare const FlowInstance: z.ZodObject<{
1705
2226
  type?: string | undefined;
1706
2227
  name?: string | undefined;
1707
2228
  description?: string | undefined;
2229
+ ui?: any;
1708
2230
  isCustomized?: boolean | undefined;
1709
2231
  inputSchema?: any;
1710
2232
  config?: any;
1711
2233
  outputSchema?: any;
1712
2234
  version?: number | undefined;
1713
2235
  onError?: "stop" | "continue" | undefined;
1714
- ui?: any;
1715
2236
  outputExample?: any;
1716
2237
  links?: {
1717
2238
  key?: string | undefined;
@@ -1723,81 +2244,125 @@ export declare const FlowInstance: z.ZodObject<{
1723
2244
  };
1724
2245
  }>, "many">>;
1725
2246
  }, "strip", z.ZodTypeAny, {
1726
- key: string;
1727
2247
  id: string;
1728
2248
  name: string;
1729
2249
  revision: string;
2250
+ key?: string | undefined;
1730
2251
  integration?: {
1731
- key: string;
1732
2252
  id: string;
1733
2253
  name: string;
1734
2254
  baseUri: string;
1735
2255
  logoUri: string;
2256
+ key?: string | undefined;
2257
+ uuid?: string | undefined;
2258
+ description?: string | undefined;
1736
2259
  state?: import("..").WorkspaceElementState | undefined;
1737
2260
  errors?: any[] | undefined;
2261
+ revision?: string | undefined;
2262
+ isDeactivated?: boolean | undefined;
2263
+ createdAt?: string | undefined;
2264
+ updatedAt?: string | undefined;
2265
+ archivedAt?: string | undefined;
1738
2266
  parameters?: any;
1739
2267
  parametersSchema?: DataSchema | undefined;
1740
- archivedAt?: string | undefined;
1741
2268
  isTest?: boolean | undefined;
1742
2269
  connectorId?: string | undefined;
1743
2270
  connectorVersion?: string | undefined;
1744
- authOptions?: any[] | undefined;
2271
+ authOptions?: {
2272
+ key: string;
2273
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2274
+ description?: string | undefined;
2275
+ title?: string | undefined;
2276
+ ui?: {
2277
+ schema?: any;
2278
+ helpUri?: string | undefined;
2279
+ } | undefined;
2280
+ }[] | undefined;
1745
2281
  oAuthCallbackUri?: string | undefined;
1746
2282
  hasMissingParameters?: boolean | undefined;
1747
2283
  hasDocumentation?: boolean | undefined;
1748
2284
  hasOperations?: boolean | undefined;
2285
+ operationsCount?: number | undefined;
1749
2286
  hasData?: boolean | undefined;
2287
+ dataCollectionsCount?: number | undefined;
1750
2288
  hasEvents?: boolean | undefined;
2289
+ eventsCount?: number | undefined;
1751
2290
  hasGlobalWebhooks?: boolean | undefined;
1752
2291
  hasUdm?: boolean | undefined;
1753
2292
  appUuid?: string | undefined;
1754
- isDeactivated?: boolean | undefined;
1755
2293
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1756
2294
  } | undefined;
2295
+ uuid?: string | undefined;
2296
+ description?: string | undefined;
1757
2297
  state?: import("..").WorkspaceElementState | undefined;
1758
2298
  errors?: any[] | undefined;
2299
+ isDeactivated?: boolean | undefined;
2300
+ createdAt?: string | undefined;
2301
+ updatedAt?: string | undefined;
2302
+ archivedAt?: string | undefined;
1759
2303
  integrationId?: string | undefined;
1760
2304
  parametersSchema?: DataSchema | undefined;
1761
- archivedAt?: string | undefined;
1762
2305
  customized?: boolean | undefined;
1763
2306
  appliedToIntegrations?: {
1764
2307
  integration: {
1765
- key: string;
1766
2308
  id: string;
1767
2309
  name: string;
1768
2310
  baseUri: string;
1769
2311
  logoUri: string;
2312
+ key?: string | undefined;
2313
+ uuid?: string | undefined;
2314
+ description?: string | undefined;
1770
2315
  state?: import("..").WorkspaceElementState | undefined;
1771
2316
  errors?: any[] | undefined;
2317
+ revision?: string | undefined;
2318
+ isDeactivated?: boolean | undefined;
2319
+ createdAt?: string | undefined;
2320
+ updatedAt?: string | undefined;
2321
+ archivedAt?: string | undefined;
1772
2322
  parameters?: any;
1773
2323
  parametersSchema?: DataSchema | undefined;
1774
- archivedAt?: string | undefined;
1775
2324
  isTest?: boolean | undefined;
1776
2325
  connectorId?: string | undefined;
1777
2326
  connectorVersion?: string | undefined;
1778
- authOptions?: any[] | undefined;
2327
+ authOptions?: {
2328
+ key: string;
2329
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2330
+ description?: string | undefined;
2331
+ title?: string | undefined;
2332
+ ui?: {
2333
+ schema?: any;
2334
+ helpUri?: string | undefined;
2335
+ } | undefined;
2336
+ }[] | undefined;
1779
2337
  oAuthCallbackUri?: string | undefined;
1780
2338
  hasMissingParameters?: boolean | undefined;
1781
2339
  hasDocumentation?: boolean | undefined;
1782
2340
  hasOperations?: boolean | undefined;
2341
+ operationsCount?: number | undefined;
1783
2342
  hasData?: boolean | undefined;
2343
+ dataCollectionsCount?: number | undefined;
1784
2344
  hasEvents?: boolean | undefined;
2345
+ eventsCount?: number | undefined;
1785
2346
  hasGlobalWebhooks?: boolean | undefined;
1786
2347
  hasUdm?: boolean | undefined;
1787
2348
  appUuid?: string | undefined;
1788
- isDeactivated?: boolean | undefined;
1789
2349
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1790
2350
  };
1791
2351
  element: {
1792
- key: string;
1793
2352
  id: string;
1794
2353
  name: string;
1795
2354
  revision: string;
2355
+ key?: string | undefined;
2356
+ uuid?: string | undefined;
2357
+ description?: string | undefined;
1796
2358
  state?: import("..").WorkspaceElementState | undefined;
1797
2359
  errors?: any[] | undefined;
2360
+ isDeactivated?: boolean | undefined;
2361
+ createdAt?: string | undefined;
2362
+ updatedAt?: string | undefined;
2363
+ archivedAt?: string | undefined;
1798
2364
  integrationId?: string | undefined;
1799
2365
  parametersSchema?: DataSchema | undefined;
1800
- archivedAt?: string | undefined;
1801
2366
  customized?: boolean | undefined;
1802
2367
  universalFlowId?: string | undefined;
1803
2368
  universalFlowRevision?: string | undefined;
@@ -1806,13 +2371,13 @@ export declare const FlowInstance: z.ZodObject<{
1806
2371
  type?: string | undefined;
1807
2372
  name?: string | undefined;
1808
2373
  description?: string | undefined;
2374
+ ui?: any;
1809
2375
  isCustomized?: boolean | undefined;
1810
2376
  inputSchema?: any;
1811
2377
  config?: any;
1812
2378
  outputSchema?: any;
1813
2379
  version?: number | undefined;
1814
2380
  onError?: "stop" | "continue" | undefined;
1815
- ui?: any;
1816
2381
  outputExample?: any;
1817
2382
  links?: {
1818
2383
  key?: string | undefined;
@@ -1830,13 +2395,13 @@ export declare const FlowInstance: z.ZodObject<{
1830
2395
  type?: string | undefined;
1831
2396
  name?: string | undefined;
1832
2397
  description?: string | undefined;
2398
+ ui?: any;
1833
2399
  isCustomized?: boolean | undefined;
1834
2400
  inputSchema?: any;
1835
2401
  config?: any;
1836
2402
  outputSchema?: any;
1837
2403
  version?: number | undefined;
1838
2404
  onError?: "stop" | "continue" | undefined;
1839
- ui?: any;
1840
2405
  outputExample?: any;
1841
2406
  links?: {
1842
2407
  key?: string | undefined;
@@ -1846,81 +2411,125 @@ export declare const FlowInstance: z.ZodObject<{
1846
2411
  }> | undefined;
1847
2412
  autoCreateInstances?: boolean | undefined;
1848
2413
  }, {
1849
- key: string;
1850
2414
  id: string;
1851
2415
  name: string;
1852
2416
  revision: string;
2417
+ key?: string | undefined;
1853
2418
  integration?: {
1854
- key: string;
1855
2419
  id: string;
1856
2420
  name: string;
1857
2421
  baseUri: string;
1858
2422
  logoUri: string;
2423
+ key?: string | undefined;
2424
+ uuid?: string | undefined;
2425
+ description?: string | undefined;
1859
2426
  state?: import("..").WorkspaceElementState | undefined;
1860
2427
  errors?: any[] | undefined;
2428
+ revision?: string | undefined;
2429
+ isDeactivated?: boolean | undefined;
2430
+ createdAt?: string | undefined;
2431
+ updatedAt?: string | undefined;
2432
+ archivedAt?: string | undefined;
1861
2433
  parameters?: any;
1862
2434
  parametersSchema?: DataSchema | undefined;
1863
- archivedAt?: string | undefined;
1864
2435
  isTest?: boolean | undefined;
1865
2436
  connectorId?: string | undefined;
1866
2437
  connectorVersion?: string | undefined;
1867
- authOptions?: any[] | undefined;
2438
+ authOptions?: {
2439
+ key: string;
2440
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2441
+ description?: string | undefined;
2442
+ title?: string | undefined;
2443
+ ui?: {
2444
+ schema?: any;
2445
+ helpUri?: string | undefined;
2446
+ } | undefined;
2447
+ }[] | undefined;
1868
2448
  oAuthCallbackUri?: string | undefined;
1869
2449
  hasMissingParameters?: boolean | undefined;
1870
2450
  hasDocumentation?: boolean | undefined;
1871
2451
  hasOperations?: boolean | undefined;
2452
+ operationsCount?: number | undefined;
1872
2453
  hasData?: boolean | undefined;
2454
+ dataCollectionsCount?: number | undefined;
1873
2455
  hasEvents?: boolean | undefined;
2456
+ eventsCount?: number | undefined;
1874
2457
  hasGlobalWebhooks?: boolean | undefined;
1875
2458
  hasUdm?: boolean | undefined;
1876
2459
  appUuid?: string | undefined;
1877
- isDeactivated?: boolean | undefined;
1878
2460
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1879
2461
  } | undefined;
2462
+ uuid?: string | undefined;
2463
+ description?: string | undefined;
1880
2464
  state?: import("..").WorkspaceElementState | undefined;
1881
2465
  errors?: any[] | undefined;
2466
+ isDeactivated?: boolean | undefined;
2467
+ createdAt?: string | undefined;
2468
+ updatedAt?: string | undefined;
2469
+ archivedAt?: string | undefined;
1882
2470
  integrationId?: string | undefined;
1883
2471
  parametersSchema?: DataSchema | undefined;
1884
- archivedAt?: string | undefined;
1885
2472
  customized?: boolean | undefined;
1886
2473
  appliedToIntegrations?: {
1887
2474
  integration: {
1888
- key: string;
1889
2475
  id: string;
1890
2476
  name: string;
1891
2477
  baseUri: string;
1892
2478
  logoUri: string;
2479
+ key?: string | undefined;
2480
+ uuid?: string | undefined;
2481
+ description?: string | undefined;
1893
2482
  state?: import("..").WorkspaceElementState | undefined;
1894
2483
  errors?: any[] | undefined;
2484
+ revision?: string | undefined;
2485
+ isDeactivated?: boolean | undefined;
2486
+ createdAt?: string | undefined;
2487
+ updatedAt?: string | undefined;
2488
+ archivedAt?: string | undefined;
1895
2489
  parameters?: any;
1896
2490
  parametersSchema?: DataSchema | undefined;
1897
- archivedAt?: string | undefined;
1898
2491
  isTest?: boolean | undefined;
1899
2492
  connectorId?: string | undefined;
1900
2493
  connectorVersion?: string | undefined;
1901
- authOptions?: any[] | undefined;
2494
+ authOptions?: {
2495
+ key: string;
2496
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2497
+ description?: string | undefined;
2498
+ title?: string | undefined;
2499
+ ui?: {
2500
+ schema?: any;
2501
+ helpUri?: string | undefined;
2502
+ } | undefined;
2503
+ }[] | undefined;
1902
2504
  oAuthCallbackUri?: string | undefined;
1903
2505
  hasMissingParameters?: boolean | undefined;
1904
2506
  hasDocumentation?: boolean | undefined;
1905
2507
  hasOperations?: boolean | undefined;
2508
+ operationsCount?: number | undefined;
1906
2509
  hasData?: boolean | undefined;
2510
+ dataCollectionsCount?: number | undefined;
1907
2511
  hasEvents?: boolean | undefined;
2512
+ eventsCount?: number | undefined;
1908
2513
  hasGlobalWebhooks?: boolean | undefined;
1909
2514
  hasUdm?: boolean | undefined;
1910
2515
  appUuid?: string | undefined;
1911
- isDeactivated?: boolean | undefined;
1912
2516
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1913
2517
  };
1914
2518
  element: {
1915
- key: string;
1916
2519
  id: string;
1917
2520
  name: string;
1918
2521
  revision: string;
2522
+ key?: string | undefined;
2523
+ uuid?: string | undefined;
2524
+ description?: string | undefined;
1919
2525
  state?: import("..").WorkspaceElementState | undefined;
1920
2526
  errors?: any[] | undefined;
2527
+ isDeactivated?: boolean | undefined;
2528
+ createdAt?: string | undefined;
2529
+ updatedAt?: string | undefined;
2530
+ archivedAt?: string | undefined;
1921
2531
  integrationId?: string | undefined;
1922
2532
  parametersSchema?: DataSchema | undefined;
1923
- archivedAt?: string | undefined;
1924
2533
  customized?: boolean | undefined;
1925
2534
  universalFlowId?: string | undefined;
1926
2535
  universalFlowRevision?: string | undefined;
@@ -1929,13 +2538,13 @@ export declare const FlowInstance: z.ZodObject<{
1929
2538
  type?: string | undefined;
1930
2539
  name?: string | undefined;
1931
2540
  description?: string | undefined;
2541
+ ui?: any;
1932
2542
  isCustomized?: boolean | undefined;
1933
2543
  inputSchema?: any;
1934
2544
  config?: any;
1935
2545
  outputSchema?: any;
1936
2546
  version?: number | undefined;
1937
2547
  onError?: "stop" | "continue" | undefined;
1938
- ui?: any;
1939
2548
  outputExample?: any;
1940
2549
  links?: {
1941
2550
  key?: string | undefined;
@@ -1953,13 +2562,13 @@ export declare const FlowInstance: z.ZodObject<{
1953
2562
  type?: string | undefined;
1954
2563
  name?: string | undefined;
1955
2564
  description?: string | undefined;
2565
+ ui?: any;
1956
2566
  isCustomized?: boolean | undefined;
1957
2567
  inputSchema?: any;
1958
2568
  config?: any;
1959
2569
  outputSchema?: any;
1960
2570
  version?: number | undefined;
1961
2571
  onError?: "stop" | "continue" | undefined;
1962
- ui?: any;
1963
2572
  outputExample?: any;
1964
2573
  links?: {
1965
2574
  key?: string | undefined;
@@ -1970,190 +2579,287 @@ export declare const FlowInstance: z.ZodObject<{
1970
2579
  autoCreateInstances?: boolean | undefined;
1971
2580
  }>>>;
1972
2581
  integration: z.ZodOptional<z.ZodLazy<z.ZodType<{
1973
- key: string;
1974
2582
  id: string;
1975
2583
  name: string;
1976
2584
  baseUri: string;
1977
2585
  logoUri: string;
2586
+ key?: string | undefined;
2587
+ uuid?: string | undefined;
2588
+ description?: string | undefined;
1978
2589
  state?: import("..").WorkspaceElementState | undefined;
1979
2590
  errors?: any[] | undefined;
2591
+ revision?: string | undefined;
2592
+ isDeactivated?: boolean | undefined;
2593
+ createdAt?: string | undefined;
2594
+ updatedAt?: string | undefined;
2595
+ archivedAt?: string | undefined;
1980
2596
  parameters?: any;
1981
2597
  parametersSchema?: DataSchema | undefined;
1982
- archivedAt?: string | undefined;
1983
2598
  isTest?: boolean | undefined;
1984
2599
  connectorId?: string | undefined;
1985
2600
  connectorVersion?: string | undefined;
1986
- authOptions?: any[] | undefined;
2601
+ authOptions?: {
2602
+ key: string;
2603
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2604
+ description?: string | undefined;
2605
+ title?: string | undefined;
2606
+ ui?: {
2607
+ schema?: any;
2608
+ helpUri?: string | undefined;
2609
+ } | undefined;
2610
+ }[] | undefined;
1987
2611
  oAuthCallbackUri?: string | undefined;
1988
2612
  hasMissingParameters?: boolean | undefined;
1989
2613
  hasDocumentation?: boolean | undefined;
1990
2614
  hasOperations?: boolean | undefined;
2615
+ operationsCount?: number | undefined;
1991
2616
  hasData?: boolean | undefined;
2617
+ dataCollectionsCount?: number | undefined;
1992
2618
  hasEvents?: boolean | undefined;
2619
+ eventsCount?: number | undefined;
1993
2620
  hasGlobalWebhooks?: boolean | undefined;
1994
2621
  hasUdm?: boolean | undefined;
1995
2622
  appUuid?: string | undefined;
1996
- isDeactivated?: boolean | undefined;
1997
2623
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1998
2624
  }, z.ZodTypeDef, {
1999
- key: string;
2000
2625
  id: string;
2001
2626
  name: string;
2002
2627
  baseUri: string;
2003
2628
  logoUri: string;
2629
+ key?: string | undefined;
2630
+ uuid?: string | undefined;
2631
+ description?: string | undefined;
2004
2632
  state?: import("..").WorkspaceElementState | undefined;
2005
2633
  errors?: any[] | undefined;
2634
+ revision?: string | undefined;
2635
+ isDeactivated?: boolean | undefined;
2636
+ createdAt?: string | undefined;
2637
+ updatedAt?: string | undefined;
2638
+ archivedAt?: string | undefined;
2006
2639
  parameters?: any;
2007
2640
  parametersSchema?: DataSchema | undefined;
2008
- archivedAt?: string | undefined;
2009
2641
  isTest?: boolean | undefined;
2010
2642
  connectorId?: string | undefined;
2011
2643
  connectorVersion?: string | undefined;
2012
- authOptions?: any[] | undefined;
2644
+ authOptions?: {
2645
+ key: string;
2646
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2647
+ description?: string | undefined;
2648
+ title?: string | undefined;
2649
+ ui?: {
2650
+ schema?: any;
2651
+ helpUri?: string | undefined;
2652
+ } | undefined;
2653
+ }[] | undefined;
2013
2654
  oAuthCallbackUri?: string | undefined;
2014
2655
  hasMissingParameters?: boolean | undefined;
2015
2656
  hasDocumentation?: boolean | undefined;
2016
2657
  hasOperations?: boolean | undefined;
2658
+ operationsCount?: number | undefined;
2017
2659
  hasData?: boolean | undefined;
2660
+ dataCollectionsCount?: number | undefined;
2018
2661
  hasEvents?: boolean | undefined;
2662
+ eventsCount?: number | undefined;
2019
2663
  hasGlobalWebhooks?: boolean | undefined;
2020
2664
  hasUdm?: boolean | undefined;
2021
2665
  appUuid?: string | undefined;
2022
- isDeactivated?: boolean | undefined;
2023
2666
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2024
2667
  }>>>;
2025
2668
  }, "strip", z.ZodTypeAny, {
2026
- key: string;
2027
2669
  id: string;
2028
2670
  name: string;
2029
- userId: string;
2030
- integrationId: string;
2031
2671
  createdAt: string;
2032
2672
  updatedAt: string;
2673
+ userId: string;
2674
+ integrationId: string;
2033
2675
  enabled: boolean;
2676
+ key?: string | undefined;
2034
2677
  connection?: {
2035
2678
  id: string;
2036
2679
  name: string;
2037
- userId: string;
2038
- integrationId: string;
2039
2680
  createdAt: string;
2040
2681
  updatedAt: string;
2682
+ userId: string;
2683
+ integrationId: string;
2041
2684
  error?: any;
2042
2685
  state?: import("..").WorkspaceElementState | undefined;
2043
2686
  errors?: any[] | undefined;
2044
- accessToken?: string | undefined;
2687
+ isDeactivated?: boolean | undefined;
2688
+ archivedAt?: string | undefined;
2045
2689
  credentials?: unknown;
2046
2690
  parameters?: unknown;
2047
2691
  connectorParameters?: unknown;
2692
+ isTest?: boolean | undefined;
2048
2693
  disconnected?: boolean | undefined;
2049
- refreshToken?: string | undefined;
2694
+ isDefunct?: boolean | undefined;
2050
2695
  lastActiveAt?: string | undefined;
2051
2696
  nextCredentialsRefreshAt?: string | undefined;
2052
- archivedAt?: string | undefined;
2697
+ meta?: Record<string, any> | undefined;
2053
2698
  } | undefined;
2054
2699
  integration?: {
2055
- key: string;
2056
2700
  id: string;
2057
2701
  name: string;
2058
2702
  baseUri: string;
2059
2703
  logoUri: string;
2704
+ key?: string | undefined;
2705
+ uuid?: string | undefined;
2706
+ description?: string | undefined;
2060
2707
  state?: import("..").WorkspaceElementState | undefined;
2061
2708
  errors?: any[] | undefined;
2709
+ revision?: string | undefined;
2710
+ isDeactivated?: boolean | undefined;
2711
+ createdAt?: string | undefined;
2712
+ updatedAt?: string | undefined;
2713
+ archivedAt?: string | undefined;
2062
2714
  parameters?: any;
2063
2715
  parametersSchema?: DataSchema | undefined;
2064
- archivedAt?: string | undefined;
2065
2716
  isTest?: boolean | undefined;
2066
2717
  connectorId?: string | undefined;
2067
2718
  connectorVersion?: string | undefined;
2068
- authOptions?: any[] | undefined;
2719
+ authOptions?: {
2720
+ key: string;
2721
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2722
+ description?: string | undefined;
2723
+ title?: string | undefined;
2724
+ ui?: {
2725
+ schema?: any;
2726
+ helpUri?: string | undefined;
2727
+ } | undefined;
2728
+ }[] | undefined;
2069
2729
  oAuthCallbackUri?: string | undefined;
2070
2730
  hasMissingParameters?: boolean | undefined;
2071
2731
  hasDocumentation?: boolean | undefined;
2072
2732
  hasOperations?: boolean | undefined;
2733
+ operationsCount?: number | undefined;
2073
2734
  hasData?: boolean | undefined;
2735
+ dataCollectionsCount?: number | undefined;
2074
2736
  hasEvents?: boolean | undefined;
2737
+ eventsCount?: number | undefined;
2075
2738
  hasGlobalWebhooks?: boolean | undefined;
2076
2739
  hasUdm?: boolean | undefined;
2077
2740
  appUuid?: string | undefined;
2078
- isDeactivated?: boolean | undefined;
2079
2741
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2080
2742
  } | undefined;
2081
2743
  flow?: {
2082
- key: string;
2083
2744
  id: string;
2084
2745
  name: string;
2085
2746
  revision: string;
2747
+ key?: string | undefined;
2086
2748
  integration?: {
2087
- key: string;
2088
2749
  id: string;
2089
2750
  name: string;
2090
2751
  baseUri: string;
2091
2752
  logoUri: string;
2753
+ key?: string | undefined;
2754
+ uuid?: string | undefined;
2755
+ description?: string | undefined;
2092
2756
  state?: import("..").WorkspaceElementState | undefined;
2093
2757
  errors?: any[] | undefined;
2758
+ revision?: string | undefined;
2759
+ isDeactivated?: boolean | undefined;
2760
+ createdAt?: string | undefined;
2761
+ updatedAt?: string | undefined;
2762
+ archivedAt?: string | undefined;
2094
2763
  parameters?: any;
2095
2764
  parametersSchema?: DataSchema | undefined;
2096
- archivedAt?: string | undefined;
2097
2765
  isTest?: boolean | undefined;
2098
2766
  connectorId?: string | undefined;
2099
2767
  connectorVersion?: string | undefined;
2100
- authOptions?: any[] | undefined;
2768
+ authOptions?: {
2769
+ key: string;
2770
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2771
+ description?: string | undefined;
2772
+ title?: string | undefined;
2773
+ ui?: {
2774
+ schema?: any;
2775
+ helpUri?: string | undefined;
2776
+ } | undefined;
2777
+ }[] | undefined;
2101
2778
  oAuthCallbackUri?: string | undefined;
2102
2779
  hasMissingParameters?: boolean | undefined;
2103
2780
  hasDocumentation?: boolean | undefined;
2104
2781
  hasOperations?: boolean | undefined;
2782
+ operationsCount?: number | undefined;
2105
2783
  hasData?: boolean | undefined;
2784
+ dataCollectionsCount?: number | undefined;
2106
2785
  hasEvents?: boolean | undefined;
2786
+ eventsCount?: number | undefined;
2107
2787
  hasGlobalWebhooks?: boolean | undefined;
2108
2788
  hasUdm?: boolean | undefined;
2109
2789
  appUuid?: string | undefined;
2110
- isDeactivated?: boolean | undefined;
2111
2790
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2112
2791
  } | undefined;
2792
+ uuid?: string | undefined;
2793
+ description?: string | undefined;
2113
2794
  state?: import("..").WorkspaceElementState | undefined;
2114
2795
  errors?: any[] | undefined;
2796
+ isDeactivated?: boolean | undefined;
2797
+ createdAt?: string | undefined;
2798
+ updatedAt?: string | undefined;
2799
+ archivedAt?: string | undefined;
2115
2800
  integrationId?: string | undefined;
2116
2801
  parametersSchema?: DataSchema | undefined;
2117
- archivedAt?: string | undefined;
2118
2802
  customized?: boolean | undefined;
2119
2803
  appliedToIntegrations?: {
2120
2804
  integration: {
2121
- key: string;
2122
2805
  id: string;
2123
2806
  name: string;
2124
2807
  baseUri: string;
2125
2808
  logoUri: string;
2809
+ key?: string | undefined;
2810
+ uuid?: string | undefined;
2811
+ description?: string | undefined;
2126
2812
  state?: import("..").WorkspaceElementState | undefined;
2127
2813
  errors?: any[] | undefined;
2814
+ revision?: string | undefined;
2815
+ isDeactivated?: boolean | undefined;
2816
+ createdAt?: string | undefined;
2817
+ updatedAt?: string | undefined;
2818
+ archivedAt?: string | undefined;
2128
2819
  parameters?: any;
2129
2820
  parametersSchema?: DataSchema | undefined;
2130
- archivedAt?: string | undefined;
2131
2821
  isTest?: boolean | undefined;
2132
2822
  connectorId?: string | undefined;
2133
2823
  connectorVersion?: string | undefined;
2134
- authOptions?: any[] | undefined;
2824
+ authOptions?: {
2825
+ key: string;
2826
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2827
+ description?: string | undefined;
2828
+ title?: string | undefined;
2829
+ ui?: {
2830
+ schema?: any;
2831
+ helpUri?: string | undefined;
2832
+ } | undefined;
2833
+ }[] | undefined;
2135
2834
  oAuthCallbackUri?: string | undefined;
2136
2835
  hasMissingParameters?: boolean | undefined;
2137
2836
  hasDocumentation?: boolean | undefined;
2138
2837
  hasOperations?: boolean | undefined;
2838
+ operationsCount?: number | undefined;
2139
2839
  hasData?: boolean | undefined;
2840
+ dataCollectionsCount?: number | undefined;
2140
2841
  hasEvents?: boolean | undefined;
2842
+ eventsCount?: number | undefined;
2141
2843
  hasGlobalWebhooks?: boolean | undefined;
2142
2844
  hasUdm?: boolean | undefined;
2143
2845
  appUuid?: string | undefined;
2144
- isDeactivated?: boolean | undefined;
2145
2846
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2146
2847
  };
2147
2848
  element: {
2148
- key: string;
2149
2849
  id: string;
2150
2850
  name: string;
2151
2851
  revision: string;
2852
+ key?: string | undefined;
2853
+ uuid?: string | undefined;
2854
+ description?: string | undefined;
2152
2855
  state?: import("..").WorkspaceElementState | undefined;
2153
2856
  errors?: any[] | undefined;
2857
+ isDeactivated?: boolean | undefined;
2858
+ createdAt?: string | undefined;
2859
+ updatedAt?: string | undefined;
2860
+ archivedAt?: string | undefined;
2154
2861
  integrationId?: string | undefined;
2155
2862
  parametersSchema?: DataSchema | undefined;
2156
- archivedAt?: string | undefined;
2157
2863
  customized?: boolean | undefined;
2158
2864
  universalFlowId?: string | undefined;
2159
2865
  universalFlowRevision?: string | undefined;
@@ -2162,13 +2868,13 @@ export declare const FlowInstance: z.ZodObject<{
2162
2868
  type?: string | undefined;
2163
2869
  name?: string | undefined;
2164
2870
  description?: string | undefined;
2871
+ ui?: any;
2165
2872
  isCustomized?: boolean | undefined;
2166
2873
  inputSchema?: any;
2167
2874
  config?: any;
2168
2875
  outputSchema?: any;
2169
2876
  version?: number | undefined;
2170
2877
  onError?: "stop" | "continue" | undefined;
2171
- ui?: any;
2172
2878
  outputExample?: any;
2173
2879
  links?: {
2174
2880
  key?: string | undefined;
@@ -2186,13 +2892,13 @@ export declare const FlowInstance: z.ZodObject<{
2186
2892
  type?: string | undefined;
2187
2893
  name?: string | undefined;
2188
2894
  description?: string | undefined;
2895
+ ui?: any;
2189
2896
  isCustomized?: boolean | undefined;
2190
2897
  inputSchema?: any;
2191
2898
  config?: any;
2192
2899
  outputSchema?: any;
2193
2900
  version?: number | undefined;
2194
2901
  onError?: "stop" | "continue" | undefined;
2195
- ui?: any;
2196
2902
  outputExample?: any;
2197
2903
  links?: {
2198
2904
  key?: string | undefined;
@@ -2202,8 +2908,13 @@ export declare const FlowInstance: z.ZodObject<{
2202
2908
  }> | undefined;
2203
2909
  autoCreateInstances?: boolean | undefined;
2204
2910
  } | undefined;
2911
+ uuid?: string | undefined;
2912
+ description?: string | undefined;
2205
2913
  state?: import("..").WorkspaceElementState | undefined;
2206
2914
  errors?: any[] | undefined;
2915
+ revision?: string | undefined;
2916
+ isDeactivated?: boolean | undefined;
2917
+ archivedAt?: string | undefined;
2207
2918
  instanceKey?: string | undefined;
2208
2919
  connectionId?: string | undefined;
2209
2920
  parameters?: any;
@@ -2212,10 +2923,12 @@ export declare const FlowInstance: z.ZodObject<{
2212
2923
  id: string;
2213
2924
  name: string;
2214
2925
  internalId: string;
2926
+ createdAt?: string | undefined;
2927
+ archivedAt?: string | undefined;
2215
2928
  credentials?: any;
2216
2929
  fields?: Record<string, any> | undefined;
2217
- lastActiveAt?: string | undefined;
2218
2930
  isTest?: boolean | undefined;
2931
+ lastActiveAt?: string | undefined;
2219
2932
  isBillable?: boolean | undefined;
2220
2933
  } | undefined;
2221
2934
  customized?: {
@@ -2228,137 +2941,200 @@ export declare const FlowInstance: z.ZodObject<{
2228
2941
  flowId?: string | undefined;
2229
2942
  outdated?: boolean | undefined;
2230
2943
  }, {
2231
- key: string;
2232
2944
  id: string;
2233
2945
  name: string;
2234
- userId: string;
2235
- integrationId: string;
2236
2946
  createdAt: string;
2237
2947
  updatedAt: string;
2948
+ userId: string;
2949
+ integrationId: string;
2238
2950
  enabled: boolean;
2951
+ key?: string | undefined;
2239
2952
  connection?: {
2240
2953
  id: string;
2241
2954
  name: string;
2242
- userId: string;
2243
- integrationId: string;
2244
2955
  createdAt: string;
2245
2956
  updatedAt: string;
2957
+ userId: string;
2958
+ integrationId: string;
2246
2959
  error?: any;
2247
2960
  state?: import("..").WorkspaceElementState | undefined;
2248
2961
  errors?: any[] | undefined;
2249
- accessToken?: string | undefined;
2962
+ isDeactivated?: boolean | undefined;
2963
+ archivedAt?: string | undefined;
2250
2964
  credentials?: unknown;
2251
2965
  parameters?: unknown;
2252
2966
  connectorParameters?: unknown;
2967
+ isTest?: boolean | undefined;
2253
2968
  disconnected?: boolean | undefined;
2254
- refreshToken?: string | undefined;
2969
+ isDefunct?: boolean | undefined;
2255
2970
  lastActiveAt?: string | undefined;
2256
2971
  nextCredentialsRefreshAt?: string | undefined;
2257
- archivedAt?: string | undefined;
2972
+ meta?: Record<string, any> | undefined;
2258
2973
  } | undefined;
2259
2974
  integration?: {
2260
- key: string;
2261
2975
  id: string;
2262
2976
  name: string;
2263
2977
  baseUri: string;
2264
2978
  logoUri: string;
2979
+ key?: string | undefined;
2980
+ uuid?: string | undefined;
2981
+ description?: string | undefined;
2265
2982
  state?: import("..").WorkspaceElementState | undefined;
2266
2983
  errors?: any[] | undefined;
2984
+ revision?: string | undefined;
2985
+ isDeactivated?: boolean | undefined;
2986
+ createdAt?: string | undefined;
2987
+ updatedAt?: string | undefined;
2988
+ archivedAt?: string | undefined;
2267
2989
  parameters?: any;
2268
2990
  parametersSchema?: DataSchema | undefined;
2269
- archivedAt?: string | undefined;
2270
2991
  isTest?: boolean | undefined;
2271
2992
  connectorId?: string | undefined;
2272
2993
  connectorVersion?: string | undefined;
2273
- authOptions?: any[] | undefined;
2994
+ authOptions?: {
2995
+ key: string;
2996
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2997
+ description?: string | undefined;
2998
+ title?: string | undefined;
2999
+ ui?: {
3000
+ schema?: any;
3001
+ helpUri?: string | undefined;
3002
+ } | undefined;
3003
+ }[] | undefined;
2274
3004
  oAuthCallbackUri?: string | undefined;
2275
3005
  hasMissingParameters?: boolean | undefined;
2276
3006
  hasDocumentation?: boolean | undefined;
2277
3007
  hasOperations?: boolean | undefined;
3008
+ operationsCount?: number | undefined;
2278
3009
  hasData?: boolean | undefined;
3010
+ dataCollectionsCount?: number | undefined;
2279
3011
  hasEvents?: boolean | undefined;
3012
+ eventsCount?: number | undefined;
2280
3013
  hasGlobalWebhooks?: boolean | undefined;
2281
3014
  hasUdm?: boolean | undefined;
2282
3015
  appUuid?: string | undefined;
2283
- isDeactivated?: boolean | undefined;
2284
3016
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2285
3017
  } | undefined;
2286
3018
  flow?: {
2287
- key: string;
2288
3019
  id: string;
2289
3020
  name: string;
2290
3021
  revision: string;
3022
+ key?: string | undefined;
2291
3023
  integration?: {
2292
- key: string;
2293
3024
  id: string;
2294
3025
  name: string;
2295
3026
  baseUri: string;
2296
3027
  logoUri: string;
3028
+ key?: string | undefined;
3029
+ uuid?: string | undefined;
3030
+ description?: string | undefined;
2297
3031
  state?: import("..").WorkspaceElementState | undefined;
2298
3032
  errors?: any[] | undefined;
3033
+ revision?: string | undefined;
3034
+ isDeactivated?: boolean | undefined;
3035
+ createdAt?: string | undefined;
3036
+ updatedAt?: string | undefined;
3037
+ archivedAt?: string | undefined;
2299
3038
  parameters?: any;
2300
3039
  parametersSchema?: DataSchema | undefined;
2301
- archivedAt?: string | undefined;
2302
3040
  isTest?: boolean | undefined;
2303
3041
  connectorId?: string | undefined;
2304
3042
  connectorVersion?: string | undefined;
2305
- authOptions?: any[] | undefined;
3043
+ authOptions?: {
3044
+ key: string;
3045
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
3046
+ description?: string | undefined;
3047
+ title?: string | undefined;
3048
+ ui?: {
3049
+ schema?: any;
3050
+ helpUri?: string | undefined;
3051
+ } | undefined;
3052
+ }[] | undefined;
2306
3053
  oAuthCallbackUri?: string | undefined;
2307
3054
  hasMissingParameters?: boolean | undefined;
2308
3055
  hasDocumentation?: boolean | undefined;
2309
3056
  hasOperations?: boolean | undefined;
3057
+ operationsCount?: number | undefined;
2310
3058
  hasData?: boolean | undefined;
3059
+ dataCollectionsCount?: number | undefined;
2311
3060
  hasEvents?: boolean | undefined;
3061
+ eventsCount?: number | undefined;
2312
3062
  hasGlobalWebhooks?: boolean | undefined;
2313
3063
  hasUdm?: boolean | undefined;
2314
3064
  appUuid?: string | undefined;
2315
- isDeactivated?: boolean | undefined;
2316
3065
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2317
3066
  } | undefined;
3067
+ uuid?: string | undefined;
3068
+ description?: string | undefined;
2318
3069
  state?: import("..").WorkspaceElementState | undefined;
2319
3070
  errors?: any[] | undefined;
3071
+ isDeactivated?: boolean | undefined;
3072
+ createdAt?: string | undefined;
3073
+ updatedAt?: string | undefined;
3074
+ archivedAt?: string | undefined;
2320
3075
  integrationId?: string | undefined;
2321
3076
  parametersSchema?: DataSchema | undefined;
2322
- archivedAt?: string | undefined;
2323
3077
  customized?: boolean | undefined;
2324
3078
  appliedToIntegrations?: {
2325
3079
  integration: {
2326
- key: string;
2327
3080
  id: string;
2328
3081
  name: string;
2329
3082
  baseUri: string;
2330
3083
  logoUri: string;
3084
+ key?: string | undefined;
3085
+ uuid?: string | undefined;
3086
+ description?: string | undefined;
2331
3087
  state?: import("..").WorkspaceElementState | undefined;
2332
3088
  errors?: any[] | undefined;
3089
+ revision?: string | undefined;
3090
+ isDeactivated?: boolean | undefined;
3091
+ createdAt?: string | undefined;
3092
+ updatedAt?: string | undefined;
3093
+ archivedAt?: string | undefined;
2333
3094
  parameters?: any;
2334
3095
  parametersSchema?: DataSchema | undefined;
2335
- archivedAt?: string | undefined;
2336
3096
  isTest?: boolean | undefined;
2337
3097
  connectorId?: string | undefined;
2338
3098
  connectorVersion?: string | undefined;
2339
- authOptions?: any[] | undefined;
3099
+ authOptions?: {
3100
+ key: string;
3101
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
3102
+ description?: string | undefined;
3103
+ title?: string | undefined;
3104
+ ui?: {
3105
+ schema?: any;
3106
+ helpUri?: string | undefined;
3107
+ } | undefined;
3108
+ }[] | undefined;
2340
3109
  oAuthCallbackUri?: string | undefined;
2341
3110
  hasMissingParameters?: boolean | undefined;
2342
3111
  hasDocumentation?: boolean | undefined;
2343
3112
  hasOperations?: boolean | undefined;
3113
+ operationsCount?: number | undefined;
2344
3114
  hasData?: boolean | undefined;
3115
+ dataCollectionsCount?: number | undefined;
2345
3116
  hasEvents?: boolean | undefined;
3117
+ eventsCount?: number | undefined;
2346
3118
  hasGlobalWebhooks?: boolean | undefined;
2347
3119
  hasUdm?: boolean | undefined;
2348
3120
  appUuid?: string | undefined;
2349
- isDeactivated?: boolean | undefined;
2350
3121
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2351
3122
  };
2352
3123
  element: {
2353
- key: string;
2354
3124
  id: string;
2355
3125
  name: string;
2356
3126
  revision: string;
3127
+ key?: string | undefined;
3128
+ uuid?: string | undefined;
3129
+ description?: string | undefined;
2357
3130
  state?: import("..").WorkspaceElementState | undefined;
2358
3131
  errors?: any[] | undefined;
3132
+ isDeactivated?: boolean | undefined;
3133
+ createdAt?: string | undefined;
3134
+ updatedAt?: string | undefined;
3135
+ archivedAt?: string | undefined;
2359
3136
  integrationId?: string | undefined;
2360
3137
  parametersSchema?: DataSchema | undefined;
2361
- archivedAt?: string | undefined;
2362
3138
  customized?: boolean | undefined;
2363
3139
  universalFlowId?: string | undefined;
2364
3140
  universalFlowRevision?: string | undefined;
@@ -2367,13 +3143,13 @@ export declare const FlowInstance: z.ZodObject<{
2367
3143
  type?: string | undefined;
2368
3144
  name?: string | undefined;
2369
3145
  description?: string | undefined;
3146
+ ui?: any;
2370
3147
  isCustomized?: boolean | undefined;
2371
3148
  inputSchema?: any;
2372
3149
  config?: any;
2373
3150
  outputSchema?: any;
2374
3151
  version?: number | undefined;
2375
3152
  onError?: "stop" | "continue" | undefined;
2376
- ui?: any;
2377
3153
  outputExample?: any;
2378
3154
  links?: {
2379
3155
  key?: string | undefined;
@@ -2391,13 +3167,13 @@ export declare const FlowInstance: z.ZodObject<{
2391
3167
  type?: string | undefined;
2392
3168
  name?: string | undefined;
2393
3169
  description?: string | undefined;
3170
+ ui?: any;
2394
3171
  isCustomized?: boolean | undefined;
2395
3172
  inputSchema?: any;
2396
3173
  config?: any;
2397
3174
  outputSchema?: any;
2398
3175
  version?: number | undefined;
2399
3176
  onError?: "stop" | "continue" | undefined;
2400
- ui?: any;
2401
3177
  outputExample?: any;
2402
3178
  links?: {
2403
3179
  key?: string | undefined;
@@ -2407,8 +3183,13 @@ export declare const FlowInstance: z.ZodObject<{
2407
3183
  }> | undefined;
2408
3184
  autoCreateInstances?: boolean | undefined;
2409
3185
  } | undefined;
3186
+ uuid?: string | undefined;
3187
+ description?: string | undefined;
2410
3188
  state?: import("..").WorkspaceElementState | undefined;
2411
3189
  errors?: any[] | undefined;
3190
+ revision?: string | undefined;
3191
+ isDeactivated?: boolean | undefined;
3192
+ archivedAt?: string | undefined;
2412
3193
  instanceKey?: string | undefined;
2413
3194
  connectionId?: string | undefined;
2414
3195
  parameters?: any;
@@ -2417,10 +3198,12 @@ export declare const FlowInstance: z.ZodObject<{
2417
3198
  id: string;
2418
3199
  name: string;
2419
3200
  internalId: string;
3201
+ createdAt?: string | undefined;
3202
+ archivedAt?: string | undefined;
2420
3203
  credentials?: any;
2421
3204
  fields?: Record<string, any> | undefined;
2422
- lastActiveAt?: string | undefined;
2423
3205
  isTest?: boolean | undefined;
3206
+ lastActiveAt?: string | undefined;
2424
3207
  isBillable?: boolean | undefined;
2425
3208
  } | undefined;
2426
3209
  customized?: {
@@ -2433,5 +3216,5 @@ export declare const FlowInstance: z.ZodObject<{
2433
3216
  flowId?: string | undefined;
2434
3217
  outdated?: boolean | undefined;
2435
3218
  }>;
2436
- export type FlowInstance = z.infer<typeof FlowInstance>;
2437
- export type FlowInstanceApiResponse = FlowInstance;
3219
+ export type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
3220
+ export type FlowInstance = FlowInstanceApiResponse;