@membranehq/sdk 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/bundle.d.ts +1661 -1666
  2. package/dist/bundle.js +9 -4
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
  5. package/dist/dts/accessors/actions-accessors.d.ts +2 -2
  6. package/dist/dts/accessors/connections-accessors.d.ts +7 -7
  7. package/dist/dts/accessors/integrations-accessors.d.ts +7 -7
  8. package/dist/dts/errors/index.d.ts +10 -1
  9. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +119 -65
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +69 -90
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -339
  12. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
  13. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
  14. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
  15. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
  16. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +90 -89
  18. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +50 -50
  19. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
  20. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +55 -55
  21. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -62
  22. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +40 -40
  23. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +40 -40
  24. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +35 -35
  25. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -20
  26. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +146 -146
  27. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -56
  28. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +128 -128
  29. package/dist/dts/workspace-elements/api/flows-api.d.ts +223 -223
  30. package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -26
  31. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -21
  32. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +10 -10
  33. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
  34. package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
  35. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
  36. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
  37. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
  38. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
  39. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -10
  40. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
  41. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
  42. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
  43. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
  44. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
  45. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
  46. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
  47. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
  48. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
  49. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +8 -8
  50. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -14
  51. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
  52. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
  53. package/dist/dts/workspace-elements/base/flows/types.d.ts +15 -15
  54. package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -48
  55. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
  56. package/dist/dts/workspace-elements/types.d.ts +53 -9
  57. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
  58. package/dist/dts/workspaces/types.d.ts +2 -0
  59. package/dist/index.d.ts +2269 -2236
  60. package/dist/index.js +48 -48
  61. package/dist/index.js.map +1 -1
  62. package/dist/index.module.d.mts +2269 -2236
  63. package/dist/index.module.mjs +46 -48
  64. package/dist/index.module.mjs.map +1 -1
  65. package/package.json +1 -3
  66. package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
@@ -42,7 +42,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
42
42
  payload: z.ZodOptional<z.ZodAny>;
43
43
  launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44
44
  status: z.ZodNativeEnum<typeof ExternalEventLogStatus>;
45
- error: any;
45
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
46
46
  } & {
47
47
  user: z.ZodOptional<z.ZodObject<{
48
48
  id: z.ZodString;
@@ -141,7 +141,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
141
141
  } | undefined;
142
142
  }>>;
143
143
  status: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus>>;
144
- error: any;
144
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
145
145
  isRealTime: z.ZodOptional<z.ZodBoolean>;
146
146
  requiresPull: z.ZodOptional<z.ZodBoolean>;
147
147
  requiresFullSync: z.ZodOptional<z.ZodBoolean>;
@@ -160,7 +160,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
160
160
  connectionId: string;
161
161
  integrationId: string;
162
162
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
163
- error?: any;
163
+ error?: import("../..").ErrorDataSchema | undefined;
164
164
  name?: string | undefined;
165
165
  createdAt?: string | undefined;
166
166
  archivedAt?: string | undefined;
@@ -194,7 +194,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
194
194
  connectionId: string;
195
195
  integrationId: string;
196
196
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
197
- error?: any;
197
+ error?: import("../..").ErrorDataSchema | undefined;
198
198
  name?: string | undefined;
199
199
  createdAt?: string | undefined;
200
200
  archivedAt?: string | undefined;
@@ -225,12 +225,12 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
225
225
  }>>;
226
226
  integration: z.ZodOptional<z.ZodObject<{
227
227
  id: z.ZodString;
228
- name: z.ZodString;
229
228
  key: z.ZodOptional<z.ZodString>;
230
229
  uuid: z.ZodOptional<z.ZodString>;
231
230
  description: z.ZodOptional<z.ZodString>;
231
+ name: z.ZodString;
232
232
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
233
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
233
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
234
234
  revision: z.ZodOptional<z.ZodString>;
235
235
  createdAt: z.ZodOptional<z.ZodString>;
236
236
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -263,14 +263,13 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
263
263
  uuid?: string | undefined;
264
264
  description?: string | undefined;
265
265
  state?: import("..").WorkspaceElementState | undefined;
266
- errors?: any[] | undefined;
266
+ errors?: import("../..").ErrorDataSchema[] | undefined;
267
267
  revision?: string | undefined;
268
- isDeactivated?: boolean | undefined;
269
268
  createdAt?: string | undefined;
270
269
  updatedAt?: string | undefined;
271
270
  archivedAt?: string | undefined;
271
+ isDeactivated?: boolean | undefined;
272
272
  parameters?: any;
273
- isTest?: boolean | undefined;
274
273
  connectorId?: string | undefined;
275
274
  connectorVersion?: string | undefined;
276
275
  oAuthCallbackUri?: string | undefined;
@@ -284,6 +283,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
284
283
  eventsCount?: number | undefined;
285
284
  hasGlobalWebhooks?: boolean | undefined;
286
285
  hasUdm?: boolean | undefined;
286
+ isTest?: boolean | undefined;
287
287
  appUuid?: string | undefined;
288
288
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
289
289
  }, {
@@ -294,14 +294,13 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
294
294
  uuid?: string | undefined;
295
295
  description?: string | undefined;
296
296
  state?: import("..").WorkspaceElementState | undefined;
297
- errors?: any[] | undefined;
297
+ errors?: import("../..").ErrorDataSchema[] | undefined;
298
298
  revision?: string | undefined;
299
- isDeactivated?: boolean | undefined;
300
299
  createdAt?: string | undefined;
301
300
  updatedAt?: string | undefined;
302
301
  archivedAt?: string | undefined;
302
+ isDeactivated?: boolean | undefined;
303
303
  parameters?: any;
304
- isTest?: boolean | undefined;
305
304
  connectorId?: string | undefined;
306
305
  connectorVersion?: string | undefined;
307
306
  oAuthCallbackUri?: string | undefined;
@@ -315,6 +314,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
315
314
  eventsCount?: number | undefined;
316
315
  hasGlobalWebhooks?: boolean | undefined;
317
316
  hasUdm?: boolean | undefined;
317
+ isTest?: boolean | undefined;
318
318
  appUuid?: string | undefined;
319
319
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
320
320
  }>>;
@@ -326,7 +326,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
326
326
  isTest: z.ZodOptional<z.ZodBoolean>;
327
327
  disconnected: z.ZodOptional<z.ZodBoolean>;
328
328
  isDefunct: z.ZodOptional<z.ZodBoolean>;
329
- error: any;
329
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
330
330
  integrationId: z.ZodString;
331
331
  authOptionKey: z.ZodOptional<z.ZodString>;
332
332
  createdAt: z.ZodString;
@@ -336,7 +336,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
336
336
  archivedAt: z.ZodOptional<z.ZodString>;
337
337
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
338
338
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
339
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
339
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
340
340
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
341
341
  }, "strip", z.ZodTypeAny, {
342
342
  id: string;
@@ -345,18 +345,18 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
345
345
  updatedAt: string;
346
346
  userId: string;
347
347
  integrationId: string;
348
- error?: any;
348
+ error?: import("../..").ErrorDataSchema | undefined;
349
349
  state?: import("..").WorkspaceElementState | undefined;
350
- errors?: any[] | undefined;
351
- isDeactivated?: boolean | undefined;
350
+ errors?: import("../..").ErrorDataSchema[] | undefined;
352
351
  archivedAt?: string | undefined;
352
+ isDeactivated?: boolean | undefined;
353
353
  authOptionKey?: string | undefined;
354
354
  isTest?: boolean | undefined;
355
+ meta?: Record<string, any> | undefined;
355
356
  disconnected?: boolean | undefined;
356
357
  isDefunct?: boolean | undefined;
357
358
  lastActiveAt?: string | undefined;
358
359
  nextCredentialsRefreshAt?: string | undefined;
359
- meta?: Record<string, any> | undefined;
360
360
  }, {
361
361
  id: string;
362
362
  name: string;
@@ -364,18 +364,18 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
364
364
  updatedAt: string;
365
365
  userId: string;
366
366
  integrationId: string;
367
- error?: any;
367
+ error?: import("../..").ErrorDataSchema | undefined;
368
368
  state?: import("..").WorkspaceElementState | undefined;
369
- errors?: any[] | undefined;
370
- isDeactivated?: boolean | undefined;
369
+ errors?: import("../..").ErrorDataSchema[] | undefined;
371
370
  archivedAt?: string | undefined;
371
+ isDeactivated?: boolean | undefined;
372
372
  authOptionKey?: string | undefined;
373
373
  isTest?: boolean | undefined;
374
+ meta?: Record<string, any> | undefined;
374
375
  disconnected?: boolean | undefined;
375
376
  isDefunct?: boolean | undefined;
376
377
  lastActiveAt?: string | undefined;
377
378
  nextCredentialsRefreshAt?: string | undefined;
378
- meta?: Record<string, any> | undefined;
379
379
  }>>;
380
380
  }, "strip", z.ZodTypeAny, {
381
381
  status: ExternalEventLogStatus;
@@ -391,20 +391,20 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
391
391
  updatedAt: string;
392
392
  userId: string;
393
393
  integrationId: string;
394
- error?: any;
394
+ error?: import("../..").ErrorDataSchema | undefined;
395
395
  state?: import("..").WorkspaceElementState | undefined;
396
- errors?: any[] | undefined;
397
- isDeactivated?: boolean | undefined;
396
+ errors?: import("../..").ErrorDataSchema[] | undefined;
398
397
  archivedAt?: string | undefined;
398
+ isDeactivated?: boolean | undefined;
399
399
  authOptionKey?: string | undefined;
400
400
  isTest?: boolean | undefined;
401
+ meta?: Record<string, any> | undefined;
401
402
  disconnected?: boolean | undefined;
402
403
  isDefunct?: boolean | undefined;
403
404
  lastActiveAt?: string | undefined;
404
405
  nextCredentialsRefreshAt?: string | undefined;
405
- meta?: Record<string, any> | undefined;
406
406
  } | undefined;
407
- error?: any;
407
+ error?: import("../..").ErrorDataSchema | undefined;
408
408
  integration?: {
409
409
  id: string;
410
410
  name: string;
@@ -413,14 +413,13 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
413
413
  uuid?: string | undefined;
414
414
  description?: string | undefined;
415
415
  state?: import("..").WorkspaceElementState | undefined;
416
- errors?: any[] | undefined;
416
+ errors?: import("../..").ErrorDataSchema[] | undefined;
417
417
  revision?: string | undefined;
418
- isDeactivated?: boolean | undefined;
419
418
  createdAt?: string | undefined;
420
419
  updatedAt?: string | undefined;
421
420
  archivedAt?: string | undefined;
421
+ isDeactivated?: boolean | undefined;
422
422
  parameters?: any;
423
- isTest?: boolean | undefined;
424
423
  connectorId?: string | undefined;
425
424
  connectorVersion?: string | undefined;
426
425
  oAuthCallbackUri?: string | undefined;
@@ -434,6 +433,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
434
433
  eventsCount?: number | undefined;
435
434
  hasGlobalWebhooks?: boolean | undefined;
436
435
  hasUdm?: boolean | undefined;
436
+ isTest?: boolean | undefined;
437
437
  appUuid?: string | undefined;
438
438
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
439
439
  } | undefined;
@@ -458,7 +458,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
458
458
  connectionId: string;
459
459
  integrationId: string;
460
460
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
461
- error?: any;
461
+ error?: import("../..").ErrorDataSchema | undefined;
462
462
  name?: string | undefined;
463
463
  createdAt?: string | undefined;
464
464
  archivedAt?: string | undefined;
@@ -501,20 +501,20 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
501
501
  updatedAt: string;
502
502
  userId: string;
503
503
  integrationId: string;
504
- error?: any;
504
+ error?: import("../..").ErrorDataSchema | undefined;
505
505
  state?: import("..").WorkspaceElementState | undefined;
506
- errors?: any[] | undefined;
507
- isDeactivated?: boolean | undefined;
506
+ errors?: import("../..").ErrorDataSchema[] | undefined;
508
507
  archivedAt?: string | undefined;
508
+ isDeactivated?: boolean | undefined;
509
509
  authOptionKey?: string | undefined;
510
510
  isTest?: boolean | undefined;
511
+ meta?: Record<string, any> | undefined;
511
512
  disconnected?: boolean | undefined;
512
513
  isDefunct?: boolean | undefined;
513
514
  lastActiveAt?: string | undefined;
514
515
  nextCredentialsRefreshAt?: string | undefined;
515
- meta?: Record<string, any> | undefined;
516
516
  } | undefined;
517
- error?: any;
517
+ error?: import("../..").ErrorDataSchema | undefined;
518
518
  integration?: {
519
519
  id: string;
520
520
  name: string;
@@ -523,14 +523,13 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
523
523
  uuid?: string | undefined;
524
524
  description?: string | undefined;
525
525
  state?: import("..").WorkspaceElementState | undefined;
526
- errors?: any[] | undefined;
526
+ errors?: import("../..").ErrorDataSchema[] | undefined;
527
527
  revision?: string | undefined;
528
- isDeactivated?: boolean | undefined;
529
528
  createdAt?: string | undefined;
530
529
  updatedAt?: string | undefined;
531
530
  archivedAt?: string | undefined;
531
+ isDeactivated?: boolean | undefined;
532
532
  parameters?: any;
533
- isTest?: boolean | undefined;
534
533
  connectorId?: string | undefined;
535
534
  connectorVersion?: string | undefined;
536
535
  oAuthCallbackUri?: string | undefined;
@@ -544,6 +543,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
544
543
  eventsCount?: number | undefined;
545
544
  hasGlobalWebhooks?: boolean | undefined;
546
545
  hasUdm?: boolean | undefined;
546
+ isTest?: boolean | undefined;
547
547
  appUuid?: string | undefined;
548
548
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
549
549
  } | undefined;
@@ -568,7 +568,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
568
568
  connectionId: string;
569
569
  integrationId: string;
570
570
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
571
- error?: any;
571
+ error?: import("../..").ErrorDataSchema | undefined;
572
572
  name?: string | undefined;
573
573
  createdAt?: string | undefined;
574
574
  archivedAt?: string | undefined;
@@ -44,7 +44,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
44
44
  isFullScan: z.ZodOptional<z.ZodBoolean>;
45
45
  status: z.ZodNativeEnum<typeof ExternalEventPullStatus>;
46
46
  collectedEventIds: z.ZodArray<z.ZodString, "many">;
47
- error: any;
47
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
48
48
  } & {
49
49
  user: z.ZodOptional<z.ZodObject<{
50
50
  id: z.ZodString;
@@ -143,7 +143,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
143
143
  } | undefined;
144
144
  }>>;
145
145
  status: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus>>;
146
- error: any;
146
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
147
147
  isRealTime: z.ZodOptional<z.ZodBoolean>;
148
148
  requiresPull: z.ZodOptional<z.ZodBoolean>;
149
149
  requiresFullSync: z.ZodOptional<z.ZodBoolean>;
@@ -162,7 +162,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
162
162
  connectionId: string;
163
163
  integrationId: string;
164
164
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
165
- error?: any;
165
+ error?: import("../..").ErrorDataSchema | undefined;
166
166
  name?: string | undefined;
167
167
  createdAt?: string | undefined;
168
168
  archivedAt?: string | undefined;
@@ -196,7 +196,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
196
196
  connectionId: string;
197
197
  integrationId: string;
198
198
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
199
- error?: any;
199
+ error?: import("../..").ErrorDataSchema | undefined;
200
200
  name?: string | undefined;
201
201
  createdAt?: string | undefined;
202
202
  archivedAt?: string | undefined;
@@ -227,12 +227,12 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
227
227
  }>>;
228
228
  integration: z.ZodOptional<z.ZodObject<{
229
229
  id: z.ZodString;
230
- name: z.ZodString;
231
230
  key: z.ZodOptional<z.ZodString>;
232
231
  uuid: z.ZodOptional<z.ZodString>;
233
232
  description: z.ZodOptional<z.ZodString>;
233
+ name: z.ZodString;
234
234
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
235
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
235
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
236
236
  revision: z.ZodOptional<z.ZodString>;
237
237
  createdAt: z.ZodOptional<z.ZodString>;
238
238
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -265,14 +265,13 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
265
265
  uuid?: string | undefined;
266
266
  description?: string | undefined;
267
267
  state?: import("..").WorkspaceElementState | undefined;
268
- errors?: any[] | undefined;
268
+ errors?: import("../..").ErrorDataSchema[] | undefined;
269
269
  revision?: string | undefined;
270
- isDeactivated?: boolean | undefined;
271
270
  createdAt?: string | undefined;
272
271
  updatedAt?: string | undefined;
273
272
  archivedAt?: string | undefined;
273
+ isDeactivated?: boolean | undefined;
274
274
  parameters?: any;
275
- isTest?: boolean | undefined;
276
275
  connectorId?: string | undefined;
277
276
  connectorVersion?: string | undefined;
278
277
  oAuthCallbackUri?: string | undefined;
@@ -286,6 +285,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
286
285
  eventsCount?: number | undefined;
287
286
  hasGlobalWebhooks?: boolean | undefined;
288
287
  hasUdm?: boolean | undefined;
288
+ isTest?: boolean | undefined;
289
289
  appUuid?: string | undefined;
290
290
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
291
291
  }, {
@@ -296,14 +296,13 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
296
296
  uuid?: string | undefined;
297
297
  description?: string | undefined;
298
298
  state?: import("..").WorkspaceElementState | undefined;
299
- errors?: any[] | undefined;
299
+ errors?: import("../..").ErrorDataSchema[] | undefined;
300
300
  revision?: string | undefined;
301
- isDeactivated?: boolean | undefined;
302
301
  createdAt?: string | undefined;
303
302
  updatedAt?: string | undefined;
304
303
  archivedAt?: string | undefined;
304
+ isDeactivated?: boolean | undefined;
305
305
  parameters?: any;
306
- isTest?: boolean | undefined;
307
306
  connectorId?: string | undefined;
308
307
  connectorVersion?: string | undefined;
309
308
  oAuthCallbackUri?: string | undefined;
@@ -317,6 +316,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
317
316
  eventsCount?: number | undefined;
318
317
  hasGlobalWebhooks?: boolean | undefined;
319
318
  hasUdm?: boolean | undefined;
319
+ isTest?: boolean | undefined;
320
320
  appUuid?: string | undefined;
321
321
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
322
322
  }>>;
@@ -328,7 +328,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
328
328
  isTest: z.ZodOptional<z.ZodBoolean>;
329
329
  disconnected: z.ZodOptional<z.ZodBoolean>;
330
330
  isDefunct: z.ZodOptional<z.ZodBoolean>;
331
- error: any;
331
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
332
332
  integrationId: z.ZodString;
333
333
  authOptionKey: z.ZodOptional<z.ZodString>;
334
334
  createdAt: z.ZodString;
@@ -338,7 +338,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
338
338
  archivedAt: z.ZodOptional<z.ZodString>;
339
339
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
340
340
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
341
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
341
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
342
342
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
343
343
  }, "strip", z.ZodTypeAny, {
344
344
  id: string;
@@ -347,18 +347,18 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
347
347
  updatedAt: string;
348
348
  userId: string;
349
349
  integrationId: string;
350
- error?: any;
350
+ error?: import("../..").ErrorDataSchema | undefined;
351
351
  state?: import("..").WorkspaceElementState | undefined;
352
- errors?: any[] | undefined;
353
- isDeactivated?: boolean | undefined;
352
+ errors?: import("../..").ErrorDataSchema[] | undefined;
354
353
  archivedAt?: string | undefined;
354
+ isDeactivated?: boolean | undefined;
355
355
  authOptionKey?: string | undefined;
356
356
  isTest?: boolean | undefined;
357
+ meta?: Record<string, any> | undefined;
357
358
  disconnected?: boolean | undefined;
358
359
  isDefunct?: boolean | undefined;
359
360
  lastActiveAt?: string | undefined;
360
361
  nextCredentialsRefreshAt?: string | undefined;
361
- meta?: Record<string, any> | undefined;
362
362
  }, {
363
363
  id: string;
364
364
  name: string;
@@ -366,18 +366,18 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
366
366
  updatedAt: string;
367
367
  userId: string;
368
368
  integrationId: string;
369
- error?: any;
369
+ error?: import("../..").ErrorDataSchema | undefined;
370
370
  state?: import("..").WorkspaceElementState | undefined;
371
- errors?: any[] | undefined;
372
- isDeactivated?: boolean | undefined;
371
+ errors?: import("../..").ErrorDataSchema[] | undefined;
373
372
  archivedAt?: string | undefined;
373
+ isDeactivated?: boolean | undefined;
374
374
  authOptionKey?: string | undefined;
375
375
  isTest?: boolean | undefined;
376
+ meta?: Record<string, any> | undefined;
376
377
  disconnected?: boolean | undefined;
377
378
  isDefunct?: boolean | undefined;
378
379
  lastActiveAt?: string | undefined;
379
380
  nextCredentialsRefreshAt?: string | undefined;
380
- meta?: Record<string, any> | undefined;
381
381
  }>>;
382
382
  }, "strip", z.ZodTypeAny, {
383
383
  status: ExternalEventPullStatus;
@@ -396,20 +396,20 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
396
396
  updatedAt: string;
397
397
  userId: string;
398
398
  integrationId: string;
399
- error?: any;
399
+ error?: import("../..").ErrorDataSchema | undefined;
400
400
  state?: import("..").WorkspaceElementState | undefined;
401
- errors?: any[] | undefined;
402
- isDeactivated?: boolean | undefined;
401
+ errors?: import("../..").ErrorDataSchema[] | undefined;
403
402
  archivedAt?: string | undefined;
403
+ isDeactivated?: boolean | undefined;
404
404
  authOptionKey?: string | undefined;
405
405
  isTest?: boolean | undefined;
406
+ meta?: Record<string, any> | undefined;
406
407
  disconnected?: boolean | undefined;
407
408
  isDefunct?: boolean | undefined;
408
409
  lastActiveAt?: string | undefined;
409
410
  nextCredentialsRefreshAt?: string | undefined;
410
- meta?: Record<string, any> | undefined;
411
411
  } | undefined;
412
- error?: any;
412
+ error?: import("../..").ErrorDataSchema | undefined;
413
413
  integration?: {
414
414
  id: string;
415
415
  name: string;
@@ -418,14 +418,13 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
418
418
  uuid?: string | undefined;
419
419
  description?: string | undefined;
420
420
  state?: import("..").WorkspaceElementState | undefined;
421
- errors?: any[] | undefined;
421
+ errors?: import("../..").ErrorDataSchema[] | undefined;
422
422
  revision?: string | undefined;
423
- isDeactivated?: boolean | undefined;
424
423
  createdAt?: string | undefined;
425
424
  updatedAt?: string | undefined;
426
425
  archivedAt?: string | undefined;
426
+ isDeactivated?: boolean | undefined;
427
427
  parameters?: any;
428
- isTest?: boolean | undefined;
429
428
  connectorId?: string | undefined;
430
429
  connectorVersion?: string | undefined;
431
430
  oAuthCallbackUri?: string | undefined;
@@ -439,6 +438,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
439
438
  eventsCount?: number | undefined;
440
439
  hasGlobalWebhooks?: boolean | undefined;
441
440
  hasUdm?: boolean | undefined;
441
+ isTest?: boolean | undefined;
442
442
  appUuid?: string | undefined;
443
443
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
444
444
  } | undefined;
@@ -462,7 +462,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
462
462
  connectionId: string;
463
463
  integrationId: string;
464
464
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
465
- error?: any;
465
+ error?: import("../..").ErrorDataSchema | undefined;
466
466
  name?: string | undefined;
467
467
  createdAt?: string | undefined;
468
468
  archivedAt?: string | undefined;
@@ -508,20 +508,20 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
508
508
  updatedAt: string;
509
509
  userId: string;
510
510
  integrationId: string;
511
- error?: any;
511
+ error?: import("../..").ErrorDataSchema | undefined;
512
512
  state?: import("..").WorkspaceElementState | undefined;
513
- errors?: any[] | undefined;
514
- isDeactivated?: boolean | undefined;
513
+ errors?: import("../..").ErrorDataSchema[] | undefined;
515
514
  archivedAt?: string | undefined;
515
+ isDeactivated?: boolean | undefined;
516
516
  authOptionKey?: string | undefined;
517
517
  isTest?: boolean | undefined;
518
+ meta?: Record<string, any> | undefined;
518
519
  disconnected?: boolean | undefined;
519
520
  isDefunct?: boolean | undefined;
520
521
  lastActiveAt?: string | undefined;
521
522
  nextCredentialsRefreshAt?: string | undefined;
522
- meta?: Record<string, any> | undefined;
523
523
  } | undefined;
524
- error?: any;
524
+ error?: import("../..").ErrorDataSchema | undefined;
525
525
  integration?: {
526
526
  id: string;
527
527
  name: string;
@@ -530,14 +530,13 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
530
530
  uuid?: string | undefined;
531
531
  description?: string | undefined;
532
532
  state?: import("..").WorkspaceElementState | undefined;
533
- errors?: any[] | undefined;
533
+ errors?: import("../..").ErrorDataSchema[] | undefined;
534
534
  revision?: string | undefined;
535
- isDeactivated?: boolean | undefined;
536
535
  createdAt?: string | undefined;
537
536
  updatedAt?: string | undefined;
538
537
  archivedAt?: string | undefined;
538
+ isDeactivated?: boolean | undefined;
539
539
  parameters?: any;
540
- isTest?: boolean | undefined;
541
540
  connectorId?: string | undefined;
542
541
  connectorVersion?: string | undefined;
543
542
  oAuthCallbackUri?: string | undefined;
@@ -551,6 +550,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
551
550
  eventsCount?: number | undefined;
552
551
  hasGlobalWebhooks?: boolean | undefined;
553
552
  hasUdm?: boolean | undefined;
553
+ isTest?: boolean | undefined;
554
554
  appUuid?: string | undefined;
555
555
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
556
556
  } | undefined;
@@ -574,7 +574,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
574
574
  connectionId: string;
575
575
  integrationId: string;
576
576
  status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
577
- error?: any;
577
+ error?: import("../..").ErrorDataSchema | undefined;
578
578
  name?: string | undefined;
579
579
  createdAt?: string | undefined;
580
580
  archivedAt?: string | undefined;