@membranehq/sdk 0.7.0 → 0.7.3

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 (80) hide show
  1. package/dist/bundle.d.ts +3445 -3621
  2. package/dist/bundle.js +10 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +4 -3
  5. package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
  6. package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
  7. package/dist/dts/config/config.test.d.ts +1 -0
  8. package/dist/dts/config/index.d.ts +42 -0
  9. package/dist/dts/entity-repository.d.ts +2 -2
  10. package/dist/dts/index.browser.d.ts +31 -0
  11. package/dist/dts/index.d.ts +2 -0
  12. package/dist/dts/index.node.d.ts +2 -0
  13. package/dist/dts/integration-elements/index.d.ts +0 -2
  14. package/dist/dts/orgs/types.d.ts +1 -0
  15. package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
  16. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -37
  17. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
  18. package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
  19. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
  20. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
  21. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
  22. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
  23. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
  24. package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
  25. package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
  26. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
  27. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
  28. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
  29. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
  30. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
  31. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
  32. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
  33. package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
  34. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
  35. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
  36. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -104
  37. package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -693
  38. package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
  39. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
  40. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -8
  41. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
  42. package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
  43. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
  44. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
  45. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
  46. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
  47. package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
  49. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
  50. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
  51. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
  52. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
  53. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
  54. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
  56. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
  57. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
  58. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
  59. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -15
  60. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
  61. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
  62. package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
  63. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
  64. package/dist/dts/workspace-elements/types.d.ts +118 -0
  65. package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
  66. package/dist/{index.module.d.mts → index.browser.d.mts} +17767 -17803
  67. package/dist/{index.d.ts → index.browser.d.ts} +17767 -17803
  68. package/dist/{index.js → index.browser.js} +114 -132
  69. package/dist/index.browser.js.map +1 -0
  70. package/dist/{index.module.mjs → index.browser.mjs} +110 -129
  71. package/dist/index.browser.mjs.map +1 -0
  72. package/dist/index.node.d.mts +27932 -0
  73. package/dist/index.node.d.ts +27932 -0
  74. package/dist/index.node.js +13334 -0
  75. package/dist/index.node.js.map +1 -0
  76. package/dist/index.node.mjs +12862 -0
  77. package/dist/index.node.mjs.map +1 -0
  78. package/package.json +38 -15
  79. package/dist/index.js.map +0 -1
  80. package/dist/index.module.mjs.map +0 -1
@@ -15,20 +15,20 @@ export declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  search?: string | undefined;
17
17
  status?: ExternalEventLogStatus | undefined;
18
+ integrationId?: string | undefined;
18
19
  includeArchived?: boolean | undefined;
19
20
  limit?: number | undefined;
20
21
  cursor?: string | undefined;
21
22
  connectionId?: string | undefined;
22
- integrationId?: string | undefined;
23
23
  externalEventSubscriptionId?: string | undefined;
24
24
  }, {
25
25
  search?: string | undefined;
26
26
  status?: ExternalEventLogStatus | undefined;
27
+ integrationId?: string | undefined;
27
28
  includeArchived?: unknown;
28
29
  limit?: number | undefined;
29
30
  cursor?: string | undefined;
30
31
  connectionId?: string | undefined;
31
- integrationId?: string | undefined;
32
32
  externalEventSubscriptionId?: string | undefined;
33
33
  }>;
34
34
  export type ListExternalEventLogRecordsQuery = z.infer<typeof ListExternalEventLogRecordsQuery>;
@@ -47,6 +47,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
47
47
  user: z.ZodOptional<z.ZodObject<{
48
48
  id: z.ZodString;
49
49
  name: z.ZodString;
50
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
50
51
  internalId: z.ZodString;
51
52
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52
53
  credentials: z.ZodOptional<z.ZodAny>;
@@ -59,6 +60,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
59
60
  id: string;
60
61
  name: string;
61
62
  internalId: string;
63
+ meta?: Record<string, any> | undefined;
62
64
  createdAt?: string | undefined;
63
65
  archivedAt?: string | undefined;
64
66
  credentials?: any;
@@ -70,6 +72,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
70
72
  id: string;
71
73
  name: string;
72
74
  internalId: string;
75
+ meta?: Record<string, any> | undefined;
73
76
  createdAt?: string | undefined;
74
77
  archivedAt?: string | undefined;
75
78
  credentials?: any;
@@ -156,9 +159,9 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
156
159
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
157
160
  }, "strip", z.ZodTypeAny, {
158
161
  id: string;
162
+ integrationId: string;
159
163
  userId: string;
160
164
  connectionId: string;
161
- integrationId: string;
162
165
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
163
166
  error?: import("../..").ErrorDataSchema | undefined;
164
167
  name?: string | undefined;
@@ -190,9 +193,9 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
190
193
  globalWebhookEventSelector?: string | undefined;
191
194
  }, {
192
195
  id: string;
196
+ integrationId: string;
193
197
  userId: string;
194
198
  connectionId: string;
195
- integrationId: string;
196
199
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
197
200
  error?: import("../..").ErrorDataSchema | undefined;
198
201
  name?: string | undefined;
@@ -228,6 +231,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
228
231
  key: z.ZodOptional<z.ZodString>;
229
232
  uuid: z.ZodOptional<z.ZodString>;
230
233
  description: z.ZodOptional<z.ZodString>;
234
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
231
235
  name: z.ZodString;
232
236
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
233
237
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -262,6 +266,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
262
266
  key?: string | undefined;
263
267
  uuid?: string | undefined;
264
268
  description?: string | undefined;
269
+ meta?: Record<string, any> | undefined;
265
270
  state?: import("..").WorkspaceElementState | undefined;
266
271
  errors?: import("../..").ErrorDataSchema[] | undefined;
267
272
  revision?: string | undefined;
@@ -293,6 +298,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
293
298
  key?: string | undefined;
294
299
  uuid?: string | undefined;
295
300
  description?: string | undefined;
301
+ meta?: Record<string, any> | undefined;
296
302
  state?: import("..").WorkspaceElementState | undefined;
297
303
  errors?: import("../..").ErrorDataSchema[] | undefined;
298
304
  revision?: string | undefined;
@@ -326,6 +332,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
326
332
  isTest: z.ZodOptional<z.ZodBoolean>;
327
333
  disconnected: z.ZodOptional<z.ZodBoolean>;
328
334
  isDefunct: z.ZodOptional<z.ZodBoolean>;
335
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
329
336
  error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
330
337
  integrationId: z.ZodString;
331
338
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -335,24 +342,21 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
335
342
  nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
336
343
  archivedAt: z.ZodOptional<z.ZodString>;
337
344
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
338
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
339
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
340
345
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
341
346
  }, "strip", z.ZodTypeAny, {
342
347
  id: string;
343
348
  name: string;
344
349
  createdAt: string;
345
350
  updatedAt: string;
346
- userId: string;
347
351
  integrationId: string;
352
+ userId: string;
348
353
  error?: import("../..").ErrorDataSchema | undefined;
354
+ meta?: Record<string, any> | undefined;
349
355
  state?: import("..").WorkspaceElementState | undefined;
350
- errors?: import("../..").ErrorDataSchema[] | undefined;
351
356
  archivedAt?: string | undefined;
352
357
  isDeactivated?: boolean | undefined;
353
358
  authOptionKey?: string | undefined;
354
359
  isTest?: boolean | undefined;
355
- meta?: Record<string, any> | undefined;
356
360
  disconnected?: boolean | undefined;
357
361
  isDefunct?: boolean | undefined;
358
362
  lastActiveAt?: string | undefined;
@@ -362,16 +366,15 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
362
366
  name: string;
363
367
  createdAt: string;
364
368
  updatedAt: string;
365
- userId: string;
366
369
  integrationId: string;
370
+ userId: string;
367
371
  error?: import("../..").ErrorDataSchema | undefined;
372
+ meta?: Record<string, any> | undefined;
368
373
  state?: import("..").WorkspaceElementState | undefined;
369
- errors?: import("../..").ErrorDataSchema[] | undefined;
370
374
  archivedAt?: string | undefined;
371
375
  isDeactivated?: boolean | undefined;
372
376
  authOptionKey?: string | undefined;
373
377
  isTest?: boolean | undefined;
374
- meta?: Record<string, any> | undefined;
375
378
  disconnected?: boolean | undefined;
376
379
  isDefunct?: boolean | undefined;
377
380
  lastActiveAt?: string | undefined;
@@ -380,25 +383,24 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
380
383
  }, "strip", z.ZodTypeAny, {
381
384
  status: ExternalEventLogStatus;
382
385
  id: string;
386
+ integrationId: string;
383
387
  userId: string;
384
388
  connectionId: string;
385
- integrationId: string;
386
389
  externalEventSubscriptionId: string;
387
390
  connection?: {
388
391
  id: string;
389
392
  name: string;
390
393
  createdAt: string;
391
394
  updatedAt: string;
392
- userId: string;
393
395
  integrationId: string;
396
+ userId: string;
394
397
  error?: import("../..").ErrorDataSchema | undefined;
398
+ meta?: Record<string, any> | undefined;
395
399
  state?: import("..").WorkspaceElementState | undefined;
396
- errors?: import("../..").ErrorDataSchema[] | undefined;
397
400
  archivedAt?: string | undefined;
398
401
  isDeactivated?: boolean | undefined;
399
402
  authOptionKey?: string | undefined;
400
403
  isTest?: boolean | undefined;
401
- meta?: Record<string, any> | undefined;
402
404
  disconnected?: boolean | undefined;
403
405
  isDefunct?: boolean | undefined;
404
406
  lastActiveAt?: string | undefined;
@@ -412,6 +414,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
412
414
  key?: string | undefined;
413
415
  uuid?: string | undefined;
414
416
  description?: string | undefined;
417
+ meta?: Record<string, any> | undefined;
415
418
  state?: import("..").WorkspaceElementState | undefined;
416
419
  errors?: import("../..").ErrorDataSchema[] | undefined;
417
420
  revision?: string | undefined;
@@ -442,6 +445,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
442
445
  id: string;
443
446
  name: string;
444
447
  internalId: string;
448
+ meta?: Record<string, any> | undefined;
445
449
  createdAt?: string | undefined;
446
450
  archivedAt?: string | undefined;
447
451
  credentials?: any;
@@ -454,9 +458,9 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
454
458
  launchedFlowRunIds?: string[] | undefined;
455
459
  externalEventSubscription?: {
456
460
  id: string;
461
+ integrationId: string;
457
462
  userId: string;
458
463
  connectionId: string;
459
- integrationId: string;
460
464
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
461
465
  error?: import("../..").ErrorDataSchema | undefined;
462
466
  name?: string | undefined;
@@ -490,25 +494,24 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
490
494
  }, {
491
495
  status: ExternalEventLogStatus;
492
496
  id: string;
497
+ integrationId: string;
493
498
  userId: string;
494
499
  connectionId: string;
495
- integrationId: string;
496
500
  externalEventSubscriptionId: string;
497
501
  connection?: {
498
502
  id: string;
499
503
  name: string;
500
504
  createdAt: string;
501
505
  updatedAt: string;
502
- userId: string;
503
506
  integrationId: string;
507
+ userId: string;
504
508
  error?: import("../..").ErrorDataSchema | undefined;
509
+ meta?: Record<string, any> | undefined;
505
510
  state?: import("..").WorkspaceElementState | undefined;
506
- errors?: import("../..").ErrorDataSchema[] | undefined;
507
511
  archivedAt?: string | undefined;
508
512
  isDeactivated?: boolean | undefined;
509
513
  authOptionKey?: string | undefined;
510
514
  isTest?: boolean | undefined;
511
- meta?: Record<string, any> | undefined;
512
515
  disconnected?: boolean | undefined;
513
516
  isDefunct?: boolean | undefined;
514
517
  lastActiveAt?: string | undefined;
@@ -522,6 +525,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
522
525
  key?: string | undefined;
523
526
  uuid?: string | undefined;
524
527
  description?: string | undefined;
528
+ meta?: Record<string, any> | undefined;
525
529
  state?: import("..").WorkspaceElementState | undefined;
526
530
  errors?: import("../..").ErrorDataSchema[] | undefined;
527
531
  revision?: string | undefined;
@@ -552,6 +556,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
552
556
  id: string;
553
557
  name: string;
554
558
  internalId: string;
559
+ meta?: Record<string, any> | undefined;
555
560
  createdAt?: string | undefined;
556
561
  archivedAt?: string | undefined;
557
562
  credentials?: any;
@@ -564,9 +569,9 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
564
569
  launchedFlowRunIds?: string[] | undefined;
565
570
  externalEventSubscription?: {
566
571
  id: string;
572
+ integrationId: string;
567
573
  userId: string;
568
574
  connectionId: string;
569
- integrationId: string;
570
575
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
571
576
  error?: import("../..").ErrorDataSchema | undefined;
572
577
  name?: string | undefined;
@@ -15,20 +15,20 @@ export declare const ListExternalEventPullsQuery: z.ZodObject<{
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  search?: string | undefined;
17
17
  status?: ExternalEventPullStatus | undefined;
18
+ integrationId?: string | undefined;
18
19
  includeArchived?: boolean | undefined;
19
20
  limit?: number | undefined;
20
21
  cursor?: string | undefined;
21
22
  connectionId?: string | undefined;
22
- integrationId?: string | undefined;
23
23
  externalEventSubscriptionId?: string | undefined;
24
24
  }, {
25
25
  search?: string | undefined;
26
26
  status?: ExternalEventPullStatus | undefined;
27
+ integrationId?: string | undefined;
27
28
  includeArchived?: unknown;
28
29
  limit?: number | undefined;
29
30
  cursor?: string | undefined;
30
31
  connectionId?: string | undefined;
31
- integrationId?: string | undefined;
32
32
  externalEventSubscriptionId?: string | undefined;
33
33
  }>;
34
34
  export type ListExternalEventPullsQuery = z.infer<typeof ListExternalEventPullsQuery>;
@@ -49,6 +49,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
49
49
  user: z.ZodOptional<z.ZodObject<{
50
50
  id: z.ZodString;
51
51
  name: z.ZodString;
52
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52
53
  internalId: z.ZodString;
53
54
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
54
55
  credentials: z.ZodOptional<z.ZodAny>;
@@ -61,6 +62,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
61
62
  id: string;
62
63
  name: string;
63
64
  internalId: string;
65
+ meta?: Record<string, any> | undefined;
64
66
  createdAt?: string | undefined;
65
67
  archivedAt?: string | undefined;
66
68
  credentials?: any;
@@ -72,6 +74,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
72
74
  id: string;
73
75
  name: string;
74
76
  internalId: string;
77
+ meta?: Record<string, any> | undefined;
75
78
  createdAt?: string | undefined;
76
79
  archivedAt?: string | undefined;
77
80
  credentials?: any;
@@ -158,9 +161,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
158
161
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
159
162
  }, "strip", z.ZodTypeAny, {
160
163
  id: string;
164
+ integrationId: string;
161
165
  userId: string;
162
166
  connectionId: string;
163
- integrationId: string;
164
167
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
165
168
  error?: import("../..").ErrorDataSchema | undefined;
166
169
  name?: string | undefined;
@@ -192,9 +195,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
192
195
  globalWebhookEventSelector?: string | undefined;
193
196
  }, {
194
197
  id: string;
198
+ integrationId: string;
195
199
  userId: string;
196
200
  connectionId: string;
197
- integrationId: string;
198
201
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
199
202
  error?: import("../..").ErrorDataSchema | undefined;
200
203
  name?: string | undefined;
@@ -230,6 +233,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
230
233
  key: z.ZodOptional<z.ZodString>;
231
234
  uuid: z.ZodOptional<z.ZodString>;
232
235
  description: z.ZodOptional<z.ZodString>;
236
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
233
237
  name: z.ZodString;
234
238
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
235
239
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -264,6 +268,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
264
268
  key?: string | undefined;
265
269
  uuid?: string | undefined;
266
270
  description?: string | undefined;
271
+ meta?: Record<string, any> | undefined;
267
272
  state?: import("..").WorkspaceElementState | undefined;
268
273
  errors?: import("../..").ErrorDataSchema[] | undefined;
269
274
  revision?: string | undefined;
@@ -295,6 +300,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
295
300
  key?: string | undefined;
296
301
  uuid?: string | undefined;
297
302
  description?: string | undefined;
303
+ meta?: Record<string, any> | undefined;
298
304
  state?: import("..").WorkspaceElementState | undefined;
299
305
  errors?: import("../..").ErrorDataSchema[] | undefined;
300
306
  revision?: string | undefined;
@@ -328,6 +334,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
328
334
  isTest: z.ZodOptional<z.ZodBoolean>;
329
335
  disconnected: z.ZodOptional<z.ZodBoolean>;
330
336
  isDefunct: z.ZodOptional<z.ZodBoolean>;
337
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
331
338
  error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
332
339
  integrationId: z.ZodString;
333
340
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -337,24 +344,21 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
337
344
  nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
338
345
  archivedAt: z.ZodOptional<z.ZodString>;
339
346
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
340
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
341
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
342
347
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
343
348
  }, "strip", z.ZodTypeAny, {
344
349
  id: string;
345
350
  name: string;
346
351
  createdAt: string;
347
352
  updatedAt: string;
348
- userId: string;
349
353
  integrationId: string;
354
+ userId: string;
350
355
  error?: import("../..").ErrorDataSchema | undefined;
356
+ meta?: Record<string, any> | undefined;
351
357
  state?: import("..").WorkspaceElementState | undefined;
352
- errors?: import("../..").ErrorDataSchema[] | undefined;
353
358
  archivedAt?: string | undefined;
354
359
  isDeactivated?: boolean | undefined;
355
360
  authOptionKey?: string | undefined;
356
361
  isTest?: boolean | undefined;
357
- meta?: Record<string, any> | undefined;
358
362
  disconnected?: boolean | undefined;
359
363
  isDefunct?: boolean | undefined;
360
364
  lastActiveAt?: string | undefined;
@@ -364,16 +368,15 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
364
368
  name: string;
365
369
  createdAt: string;
366
370
  updatedAt: string;
367
- userId: string;
368
371
  integrationId: string;
372
+ userId: string;
369
373
  error?: import("../..").ErrorDataSchema | undefined;
374
+ meta?: Record<string, any> | undefined;
370
375
  state?: import("..").WorkspaceElementState | undefined;
371
- errors?: import("../..").ErrorDataSchema[] | undefined;
372
376
  archivedAt?: string | undefined;
373
377
  isDeactivated?: boolean | undefined;
374
378
  authOptionKey?: string | undefined;
375
379
  isTest?: boolean | undefined;
376
- meta?: Record<string, any> | undefined;
377
380
  disconnected?: boolean | undefined;
378
381
  isDefunct?: boolean | undefined;
379
382
  lastActiveAt?: string | undefined;
@@ -382,9 +385,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
382
385
  }, "strip", z.ZodTypeAny, {
383
386
  status: ExternalEventPullStatus;
384
387
  id: string;
388
+ integrationId: string;
385
389
  userId: string;
386
390
  connectionId: string;
387
- integrationId: string;
388
391
  startDatetime: string;
389
392
  endDatetime: string;
390
393
  externalEventSubscriptionId: string;
@@ -394,16 +397,15 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
394
397
  name: string;
395
398
  createdAt: string;
396
399
  updatedAt: string;
397
- userId: string;
398
400
  integrationId: string;
401
+ userId: string;
399
402
  error?: import("../..").ErrorDataSchema | undefined;
403
+ meta?: Record<string, any> | undefined;
400
404
  state?: import("..").WorkspaceElementState | undefined;
401
- errors?: import("../..").ErrorDataSchema[] | undefined;
402
405
  archivedAt?: string | undefined;
403
406
  isDeactivated?: boolean | undefined;
404
407
  authOptionKey?: string | undefined;
405
408
  isTest?: boolean | undefined;
406
- meta?: Record<string, any> | undefined;
407
409
  disconnected?: boolean | undefined;
408
410
  isDefunct?: boolean | undefined;
409
411
  lastActiveAt?: string | undefined;
@@ -417,6 +419,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
417
419
  key?: string | undefined;
418
420
  uuid?: string | undefined;
419
421
  description?: string | undefined;
422
+ meta?: Record<string, any> | undefined;
420
423
  state?: import("..").WorkspaceElementState | undefined;
421
424
  errors?: import("../..").ErrorDataSchema[] | undefined;
422
425
  revision?: string | undefined;
@@ -448,6 +451,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
448
451
  id: string;
449
452
  name: string;
450
453
  internalId: string;
454
+ meta?: Record<string, any> | undefined;
451
455
  createdAt?: string | undefined;
452
456
  archivedAt?: string | undefined;
453
457
  credentials?: any;
@@ -458,9 +462,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
458
462
  } | undefined;
459
463
  externalEventSubscription?: {
460
464
  id: string;
465
+ integrationId: string;
461
466
  userId: string;
462
467
  connectionId: string;
463
- integrationId: string;
464
468
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
465
469
  error?: import("../..").ErrorDataSchema | undefined;
466
470
  name?: string | undefined;
@@ -494,9 +498,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
494
498
  }, {
495
499
  status: ExternalEventPullStatus;
496
500
  id: string;
501
+ integrationId: string;
497
502
  userId: string;
498
503
  connectionId: string;
499
- integrationId: string;
500
504
  startDatetime: string;
501
505
  endDatetime: string;
502
506
  externalEventSubscriptionId: string;
@@ -506,16 +510,15 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
506
510
  name: string;
507
511
  createdAt: string;
508
512
  updatedAt: string;
509
- userId: string;
510
513
  integrationId: string;
514
+ userId: string;
511
515
  error?: import("../..").ErrorDataSchema | undefined;
516
+ meta?: Record<string, any> | undefined;
512
517
  state?: import("..").WorkspaceElementState | undefined;
513
- errors?: import("../..").ErrorDataSchema[] | undefined;
514
518
  archivedAt?: string | undefined;
515
519
  isDeactivated?: boolean | undefined;
516
520
  authOptionKey?: string | undefined;
517
521
  isTest?: boolean | undefined;
518
- meta?: Record<string, any> | undefined;
519
522
  disconnected?: boolean | undefined;
520
523
  isDefunct?: boolean | undefined;
521
524
  lastActiveAt?: string | undefined;
@@ -529,6 +532,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
529
532
  key?: string | undefined;
530
533
  uuid?: string | undefined;
531
534
  description?: string | undefined;
535
+ meta?: Record<string, any> | undefined;
532
536
  state?: import("..").WorkspaceElementState | undefined;
533
537
  errors?: import("../..").ErrorDataSchema[] | undefined;
534
538
  revision?: string | undefined;
@@ -560,6 +564,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
560
564
  id: string;
561
565
  name: string;
562
566
  internalId: string;
567
+ meta?: Record<string, any> | undefined;
563
568
  createdAt?: string | undefined;
564
569
  archivedAt?: string | undefined;
565
570
  credentials?: any;
@@ -570,9 +575,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
570
575
  } | undefined;
571
576
  externalEventSubscription?: {
572
577
  id: string;
578
+ integrationId: string;
573
579
  userId: string;
574
580
  connectionId: string;
575
- integrationId: string;
576
581
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
577
582
  error?: import("../..").ErrorDataSchema | undefined;
578
583
  name?: string | undefined;