@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
@@ -2,12 +2,12 @@ import { z } from 'zod';
2
2
  import { ConnectorAuthSpec } from '../connectors';
3
3
  export declare const BaseIntegration: z.ZodObject<{
4
4
  id: z.ZodString;
5
- name: z.ZodString;
6
5
  key: z.ZodOptional<z.ZodString>;
7
6
  uuid: z.ZodOptional<z.ZodString>;
8
7
  description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodString;
9
9
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
10
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
11
11
  revision: z.ZodOptional<z.ZodString>;
12
12
  createdAt: z.ZodOptional<z.ZodString>;
13
13
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -40,14 +40,13 @@ export declare const BaseIntegration: z.ZodObject<{
40
40
  uuid?: string | undefined;
41
41
  description?: string | undefined;
42
42
  state?: import("../../types").WorkspaceElementState | undefined;
43
- errors?: any[] | undefined;
43
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
44
44
  revision?: string | undefined;
45
- isDeactivated?: boolean | undefined;
46
45
  createdAt?: string | undefined;
47
46
  updatedAt?: string | undefined;
48
47
  archivedAt?: string | undefined;
48
+ isDeactivated?: boolean | undefined;
49
49
  parameters?: any;
50
- isTest?: boolean | undefined;
51
50
  connectorId?: string | undefined;
52
51
  connectorVersion?: string | undefined;
53
52
  oAuthCallbackUri?: string | undefined;
@@ -61,6 +60,7 @@ export declare const BaseIntegration: z.ZodObject<{
61
60
  eventsCount?: number | undefined;
62
61
  hasGlobalWebhooks?: boolean | undefined;
63
62
  hasUdm?: boolean | undefined;
63
+ isTest?: boolean | undefined;
64
64
  appUuid?: string | undefined;
65
65
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
66
66
  }, {
@@ -71,14 +71,13 @@ export declare const BaseIntegration: z.ZodObject<{
71
71
  uuid?: string | undefined;
72
72
  description?: string | undefined;
73
73
  state?: import("../../types").WorkspaceElementState | undefined;
74
- errors?: any[] | undefined;
74
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
75
75
  revision?: string | undefined;
76
- isDeactivated?: boolean | undefined;
77
76
  createdAt?: string | undefined;
78
77
  updatedAt?: string | undefined;
79
78
  archivedAt?: string | undefined;
79
+ isDeactivated?: boolean | undefined;
80
80
  parameters?: any;
81
- isTest?: boolean | undefined;
82
81
  connectorId?: string | undefined;
83
82
  connectorVersion?: string | undefined;
84
83
  oAuthCallbackUri?: string | undefined;
@@ -92,6 +91,7 @@ export declare const BaseIntegration: z.ZodObject<{
92
91
  eventsCount?: number | undefined;
93
92
  hasGlobalWebhooks?: boolean | undefined;
94
93
  hasUdm?: boolean | undefined;
94
+ isTest?: boolean | undefined;
95
95
  appUuid?: string | undefined;
96
96
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
97
97
  }>;
@@ -103,12 +103,12 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
103
103
  element: Element;
104
104
  integration: z.ZodObject<{
105
105
  id: z.ZodString;
106
- name: z.ZodString;
107
106
  key: z.ZodOptional<z.ZodString>;
108
107
  uuid: z.ZodOptional<z.ZodString>;
109
108
  description: z.ZodOptional<z.ZodString>;
109
+ name: z.ZodString;
110
110
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
111
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
111
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
112
112
  revision: z.ZodOptional<z.ZodString>;
113
113
  createdAt: z.ZodOptional<z.ZodString>;
114
114
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -141,14 +141,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
141
141
  uuid?: string | undefined;
142
142
  description?: string | undefined;
143
143
  state?: import("../../types").WorkspaceElementState | undefined;
144
- errors?: any[] | undefined;
144
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
145
145
  revision?: string | undefined;
146
- isDeactivated?: boolean | undefined;
147
146
  createdAt?: string | undefined;
148
147
  updatedAt?: string | undefined;
149
148
  archivedAt?: string | undefined;
149
+ isDeactivated?: boolean | undefined;
150
150
  parameters?: any;
151
- isTest?: boolean | undefined;
152
151
  connectorId?: string | undefined;
153
152
  connectorVersion?: string | undefined;
154
153
  oAuthCallbackUri?: string | undefined;
@@ -162,6 +161,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
162
161
  eventsCount?: number | undefined;
163
162
  hasGlobalWebhooks?: boolean | undefined;
164
163
  hasUdm?: boolean | undefined;
164
+ isTest?: boolean | undefined;
165
165
  appUuid?: string | undefined;
166
166
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
167
167
  }, {
@@ -172,14 +172,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
172
172
  uuid?: string | undefined;
173
173
  description?: string | undefined;
174
174
  state?: import("../../types").WorkspaceElementState | undefined;
175
- errors?: any[] | undefined;
175
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
176
176
  revision?: string | undefined;
177
- isDeactivated?: boolean | undefined;
178
177
  createdAt?: string | undefined;
179
178
  updatedAt?: string | undefined;
180
179
  archivedAt?: string | undefined;
180
+ isDeactivated?: boolean | undefined;
181
181
  parameters?: any;
182
- isTest?: boolean | undefined;
183
182
  connectorId?: string | undefined;
184
183
  connectorVersion?: string | undefined;
185
184
  oAuthCallbackUri?: string | undefined;
@@ -193,6 +192,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
193
192
  eventsCount?: number | undefined;
194
193
  hasGlobalWebhooks?: boolean | undefined;
195
194
  hasUdm?: boolean | undefined;
195
+ isTest?: boolean | undefined;
196
196
  appUuid?: string | undefined;
197
197
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
198
198
  }>;
@@ -200,12 +200,12 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
200
200
  element: Element;
201
201
  integration: z.ZodObject<{
202
202
  id: z.ZodString;
203
- name: z.ZodString;
204
203
  key: z.ZodOptional<z.ZodString>;
205
204
  uuid: z.ZodOptional<z.ZodString>;
206
205
  description: z.ZodOptional<z.ZodString>;
206
+ name: z.ZodString;
207
207
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
208
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
208
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
209
209
  revision: z.ZodOptional<z.ZodString>;
210
210
  createdAt: z.ZodOptional<z.ZodString>;
211
211
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -238,14 +238,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
238
238
  uuid?: string | undefined;
239
239
  description?: string | undefined;
240
240
  state?: import("../../types").WorkspaceElementState | undefined;
241
- errors?: any[] | undefined;
241
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
242
242
  revision?: string | undefined;
243
- isDeactivated?: boolean | undefined;
244
243
  createdAt?: string | undefined;
245
244
  updatedAt?: string | undefined;
246
245
  archivedAt?: string | undefined;
246
+ isDeactivated?: boolean | undefined;
247
247
  parameters?: any;
248
- isTest?: boolean | undefined;
249
248
  connectorId?: string | undefined;
250
249
  connectorVersion?: string | undefined;
251
250
  oAuthCallbackUri?: string | undefined;
@@ -259,6 +258,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
259
258
  eventsCount?: number | undefined;
260
259
  hasGlobalWebhooks?: boolean | undefined;
261
260
  hasUdm?: boolean | undefined;
261
+ isTest?: boolean | undefined;
262
262
  appUuid?: string | undefined;
263
263
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
264
264
  }, {
@@ -269,14 +269,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
269
269
  uuid?: string | undefined;
270
270
  description?: string | undefined;
271
271
  state?: import("../../types").WorkspaceElementState | undefined;
272
- errors?: any[] | undefined;
272
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
273
273
  revision?: string | undefined;
274
- isDeactivated?: boolean | undefined;
275
274
  createdAt?: string | undefined;
276
275
  updatedAt?: string | undefined;
277
276
  archivedAt?: string | undefined;
277
+ isDeactivated?: boolean | undefined;
278
278
  parameters?: any;
279
- isTest?: boolean | undefined;
280
279
  connectorId?: string | undefined;
281
280
  connectorVersion?: string | undefined;
282
281
  oAuthCallbackUri?: string | undefined;
@@ -290,6 +289,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
290
289
  eventsCount?: number | undefined;
291
290
  hasGlobalWebhooks?: boolean | undefined;
292
291
  hasUdm?: boolean | undefined;
292
+ isTest?: boolean | undefined;
293
293
  appUuid?: string | undefined;
294
294
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
295
295
  }>;
@@ -297,12 +297,12 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
297
297
  element: Element;
298
298
  integration: z.ZodObject<{
299
299
  id: z.ZodString;
300
- name: z.ZodString;
301
300
  key: z.ZodOptional<z.ZodString>;
302
301
  uuid: z.ZodOptional<z.ZodString>;
303
302
  description: z.ZodOptional<z.ZodString>;
303
+ name: z.ZodString;
304
304
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
305
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
305
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
306
306
  revision: z.ZodOptional<z.ZodString>;
307
307
  createdAt: z.ZodOptional<z.ZodString>;
308
308
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -335,14 +335,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
335
335
  uuid?: string | undefined;
336
336
  description?: string | undefined;
337
337
  state?: import("../../types").WorkspaceElementState | undefined;
338
- errors?: any[] | undefined;
338
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
339
339
  revision?: string | undefined;
340
- isDeactivated?: boolean | undefined;
341
340
  createdAt?: string | undefined;
342
341
  updatedAt?: string | undefined;
343
342
  archivedAt?: string | undefined;
343
+ isDeactivated?: boolean | undefined;
344
344
  parameters?: any;
345
- isTest?: boolean | undefined;
346
345
  connectorId?: string | undefined;
347
346
  connectorVersion?: string | undefined;
348
347
  oAuthCallbackUri?: string | undefined;
@@ -356,6 +355,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
356
355
  eventsCount?: number | undefined;
357
356
  hasGlobalWebhooks?: boolean | undefined;
358
357
  hasUdm?: boolean | undefined;
358
+ isTest?: boolean | undefined;
359
359
  appUuid?: string | undefined;
360
360
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
361
361
  }, {
@@ -366,14 +366,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
366
366
  uuid?: string | undefined;
367
367
  description?: string | undefined;
368
368
  state?: import("../../types").WorkspaceElementState | undefined;
369
- errors?: any[] | undefined;
369
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
370
370
  revision?: string | undefined;
371
- isDeactivated?: boolean | undefined;
372
371
  createdAt?: string | undefined;
373
372
  updatedAt?: string | undefined;
374
373
  archivedAt?: string | undefined;
374
+ isDeactivated?: boolean | undefined;
375
375
  parameters?: any;
376
- isTest?: boolean | undefined;
377
376
  connectorId?: string | undefined;
378
377
  connectorVersion?: string | undefined;
379
378
  oAuthCallbackUri?: string | undefined;
@@ -387,6 +386,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
387
386
  eventsCount?: number | undefined;
388
387
  hasGlobalWebhooks?: boolean | undefined;
389
388
  hasUdm?: boolean | undefined;
389
+ isTest?: boolean | undefined;
390
390
  appUuid?: string | undefined;
391
391
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
392
392
  }>;
@@ -394,12 +394,12 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
394
394
  element: Element;
395
395
  integration: z.ZodObject<{
396
396
  id: z.ZodString;
397
- name: z.ZodString;
398
397
  key: z.ZodOptional<z.ZodString>;
399
398
  uuid: z.ZodOptional<z.ZodString>;
400
399
  description: z.ZodOptional<z.ZodString>;
400
+ name: z.ZodString;
401
401
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
402
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
402
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
403
403
  revision: z.ZodOptional<z.ZodString>;
404
404
  createdAt: z.ZodOptional<z.ZodString>;
405
405
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -432,14 +432,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
432
432
  uuid?: string | undefined;
433
433
  description?: string | undefined;
434
434
  state?: import("../../types").WorkspaceElementState | undefined;
435
- errors?: any[] | undefined;
435
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
436
436
  revision?: string | undefined;
437
- isDeactivated?: boolean | undefined;
438
437
  createdAt?: string | undefined;
439
438
  updatedAt?: string | undefined;
440
439
  archivedAt?: string | undefined;
440
+ isDeactivated?: boolean | undefined;
441
441
  parameters?: any;
442
- isTest?: boolean | undefined;
443
442
  connectorId?: string | undefined;
444
443
  connectorVersion?: string | undefined;
445
444
  oAuthCallbackUri?: string | undefined;
@@ -453,6 +452,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
453
452
  eventsCount?: number | undefined;
454
453
  hasGlobalWebhooks?: boolean | undefined;
455
454
  hasUdm?: boolean | undefined;
455
+ isTest?: boolean | undefined;
456
456
  appUuid?: string | undefined;
457
457
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
458
458
  }, {
@@ -463,14 +463,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
463
463
  uuid?: string | undefined;
464
464
  description?: string | undefined;
465
465
  state?: import("../../types").WorkspaceElementState | undefined;
466
- errors?: any[] | undefined;
466
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
467
467
  revision?: string | undefined;
468
- isDeactivated?: boolean | undefined;
469
468
  createdAt?: string | undefined;
470
469
  updatedAt?: string | undefined;
471
470
  archivedAt?: string | undefined;
471
+ isDeactivated?: boolean | undefined;
472
472
  parameters?: any;
473
- isTest?: boolean | undefined;
474
473
  connectorId?: string | undefined;
475
474
  connectorVersion?: string | undefined;
476
475
  oAuthCallbackUri?: string | undefined;
@@ -484,6 +483,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
484
483
  eventsCount?: number | undefined;
485
484
  hasGlobalWebhooks?: boolean | undefined;
486
485
  hasUdm?: boolean | undefined;
486
+ isTest?: boolean | undefined;
487
487
  appUuid?: string | undefined;
488
488
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
489
489
  }>;
@@ -491,12 +491,12 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
491
491
  element: Element;
492
492
  integration: z.ZodObject<{
493
493
  id: z.ZodString;
494
- name: z.ZodString;
495
494
  key: z.ZodOptional<z.ZodString>;
496
495
  uuid: z.ZodOptional<z.ZodString>;
497
496
  description: z.ZodOptional<z.ZodString>;
497
+ name: z.ZodString;
498
498
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
499
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
499
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
500
500
  revision: z.ZodOptional<z.ZodString>;
501
501
  createdAt: z.ZodOptional<z.ZodString>;
502
502
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -529,14 +529,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
529
529
  uuid?: string | undefined;
530
530
  description?: string | undefined;
531
531
  state?: import("../../types").WorkspaceElementState | undefined;
532
- errors?: any[] | undefined;
532
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
533
533
  revision?: string | undefined;
534
- isDeactivated?: boolean | undefined;
535
534
  createdAt?: string | undefined;
536
535
  updatedAt?: string | undefined;
537
536
  archivedAt?: string | undefined;
537
+ isDeactivated?: boolean | undefined;
538
538
  parameters?: any;
539
- isTest?: boolean | undefined;
540
539
  connectorId?: string | undefined;
541
540
  connectorVersion?: string | undefined;
542
541
  oAuthCallbackUri?: string | undefined;
@@ -550,6 +549,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
550
549
  eventsCount?: number | undefined;
551
550
  hasGlobalWebhooks?: boolean | undefined;
552
551
  hasUdm?: boolean | undefined;
552
+ isTest?: boolean | undefined;
553
553
  appUuid?: string | undefined;
554
554
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
555
555
  }, {
@@ -560,14 +560,13 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
560
560
  uuid?: string | undefined;
561
561
  description?: string | undefined;
562
562
  state?: import("../../types").WorkspaceElementState | undefined;
563
- errors?: any[] | undefined;
563
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
564
564
  revision?: string | undefined;
565
- isDeactivated?: boolean | undefined;
566
565
  createdAt?: string | undefined;
567
566
  updatedAt?: string | undefined;
568
567
  archivedAt?: string | undefined;
568
+ isDeactivated?: boolean | undefined;
569
569
  parameters?: any;
570
- isTest?: boolean | undefined;
571
570
  connectorId?: string | undefined;
572
571
  connectorVersion?: string | undefined;
573
572
  oAuthCallbackUri?: string | undefined;
@@ -581,6 +580,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
581
580
  eventsCount?: number | undefined;
582
581
  hasGlobalWebhooks?: boolean | undefined;
583
582
  hasUdm?: boolean | undefined;
583
+ isTest?: boolean | undefined;
584
584
  appUuid?: string | undefined;
585
585
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
586
586
  }>;
@@ -36,16 +36,16 @@ export declare const ScenarioElement: z.ZodObject<{
36
36
  export type ScenarioElement = z.infer<typeof ScenarioElement>;
37
37
  export declare const BaseScenario: z.ZodObject<{
38
38
  id: z.ZodString;
39
- name: z.ZodString;
40
39
  key: z.ZodOptional<z.ZodString>;
41
40
  uuid: z.ZodOptional<z.ZodString>;
42
41
  description: z.ZodOptional<z.ZodString>;
42
+ name: z.ZodString;
43
43
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
44
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
44
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
45
45
  revision: z.ZodOptional<z.ZodString>;
46
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
47
46
  createdAt: z.ZodOptional<z.ZodString>;
48
47
  updatedAt: z.ZodOptional<z.ZodString>;
48
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
49
49
  } & {
50
50
  appId: z.ZodString;
51
51
  scenarioTemplateId: z.ZodOptional<z.ZodString>;
@@ -100,12 +100,12 @@ export declare const BaseScenario: z.ZodObject<{
100
100
  uuid?: string | undefined;
101
101
  description?: string | undefined;
102
102
  state?: import("../../types").WorkspaceElementState | undefined;
103
- errors?: any[] | undefined;
103
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
104
104
  revision?: string | undefined;
105
- isDeactivated?: boolean | undefined;
106
105
  createdAt?: string | undefined;
107
106
  updatedAt?: string | undefined;
108
107
  archivedAt?: string | undefined;
108
+ isDeactivated?: boolean | undefined;
109
109
  scenarioTemplateId?: string | undefined;
110
110
  elements?: {
111
111
  type: string;
@@ -131,12 +131,12 @@ export declare const BaseScenario: z.ZodObject<{
131
131
  uuid?: string | undefined;
132
132
  description?: string | undefined;
133
133
  state?: import("../../types").WorkspaceElementState | undefined;
134
- errors?: any[] | undefined;
134
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
135
135
  revision?: string | undefined;
136
- isDeactivated?: boolean | undefined;
137
136
  createdAt?: string | undefined;
138
137
  updatedAt?: string | undefined;
139
138
  archivedAt?: string | undefined;
139
+ isDeactivated?: boolean | undefined;
140
140
  scenarioTemplateId?: string | undefined;
141
141
  elements?: {
142
142
  type: string;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { ErrorData } from '../errors';
2
+ import { ErrorData, ErrorDataSchema } from '../errors';
3
3
  export interface ConfigurationStateResult {
4
4
  state: ConfigurationState;
5
5
  message?: string;
@@ -73,20 +73,64 @@ export declare const BaseWorkspaceElement: z.ZodObject<{
73
73
  name: string;
74
74
  }>;
75
75
  export type BaseWorkspaceElement = z.infer<typeof BaseWorkspaceElement>;
76
+ export declare const BaseMembraneInterfaceEditableProperties: z.ZodObject<{
77
+ key: z.ZodOptional<z.ZodString>;
78
+ name: z.ZodOptional<z.ZodString>;
79
+ uuid: z.ZodOptional<z.ZodString>;
80
+ description: z.ZodOptional<z.ZodString>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ key?: string | undefined;
83
+ name?: string | undefined;
84
+ uuid?: string | undefined;
85
+ description?: string | undefined;
86
+ }, {
87
+ key?: string | undefined;
88
+ name?: string | undefined;
89
+ uuid?: string | undefined;
90
+ description?: string | undefined;
91
+ }>;
92
+ export declare const BaseMembraneInterfaceReadOnlyProperties: z.ZodObject<{
93
+ name: z.ZodString;
94
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
95
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
96
+ revision: z.ZodOptional<z.ZodString>;
97
+ createdAt: z.ZodOptional<z.ZodString>;
98
+ updatedAt: z.ZodOptional<z.ZodString>;
99
+ archivedAt: z.ZodOptional<z.ZodString>;
100
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ name: string;
103
+ state?: WorkspaceElementState | undefined;
104
+ errors?: ErrorDataSchema[] | undefined;
105
+ revision?: string | undefined;
106
+ createdAt?: string | undefined;
107
+ updatedAt?: string | undefined;
108
+ archivedAt?: string | undefined;
109
+ isDeactivated?: boolean | undefined;
110
+ }, {
111
+ name: string;
112
+ state?: WorkspaceElementState | undefined;
113
+ errors?: ErrorDataSchema[] | undefined;
114
+ revision?: string | undefined;
115
+ createdAt?: string | undefined;
116
+ updatedAt?: string | undefined;
117
+ archivedAt?: string | undefined;
118
+ isDeactivated?: boolean | undefined;
119
+ }>;
76
120
  export declare const BaseMembraneInterface: z.ZodObject<{
77
121
  id: z.ZodString;
78
- name: z.ZodString;
79
- } & {
80
122
  key: z.ZodOptional<z.ZodString>;
81
123
  uuid: z.ZodOptional<z.ZodString>;
82
124
  description: z.ZodOptional<z.ZodString>;
125
+ } & {
126
+ name: z.ZodString;
83
127
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
84
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
128
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
85
129
  revision: z.ZodOptional<z.ZodString>;
86
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
87
130
  createdAt: z.ZodOptional<z.ZodString>;
88
131
  updatedAt: z.ZodOptional<z.ZodString>;
89
132
  archivedAt: z.ZodOptional<z.ZodString>;
133
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
90
134
  }, "strip", z.ZodTypeAny, {
91
135
  id: string;
92
136
  name: string;
@@ -94,12 +138,12 @@ export declare const BaseMembraneInterface: z.ZodObject<{
94
138
  uuid?: string | undefined;
95
139
  description?: string | undefined;
96
140
  state?: WorkspaceElementState | undefined;
97
- errors?: any[] | undefined;
141
+ errors?: ErrorDataSchema[] | undefined;
98
142
  revision?: string | undefined;
99
- isDeactivated?: boolean | undefined;
100
143
  createdAt?: string | undefined;
101
144
  updatedAt?: string | undefined;
102
145
  archivedAt?: string | undefined;
146
+ isDeactivated?: boolean | undefined;
103
147
  }, {
104
148
  id: string;
105
149
  name: string;
@@ -107,12 +151,12 @@ export declare const BaseMembraneInterface: z.ZodObject<{
107
151
  uuid?: string | undefined;
108
152
  description?: string | undefined;
109
153
  state?: WorkspaceElementState | undefined;
110
- errors?: any[] | undefined;
154
+ errors?: ErrorDataSchema[] | undefined;
111
155
  revision?: string | undefined;
112
- isDeactivated?: boolean | undefined;
113
156
  createdAt?: string | undefined;
114
157
  updatedAt?: string | undefined;
115
158
  archivedAt?: string | undefined;
159
+ isDeactivated?: boolean | undefined;
116
160
  }>;
117
161
  export type BaseMembraneInterface = z.infer<typeof BaseMembraneInterface>;
118
162
  export interface WorkspaceElementReference {
@@ -9,6 +9,9 @@ export interface WorkspaceElementSpec {
9
9
  namePlural: string;
10
10
  createSchema?: z.ZodObject<any>;
11
11
  updateSchema?: z.ZodObject<any>;
12
+ editablePropertiesSchema?: z.ZodObject<any>;
13
+ apiResponseSchema?: z.ZodObject<any>;
14
+ findQuerySchema?: z.ZodObject<any>;
12
15
  }
13
16
  export interface WorkspaceElements {
14
17
  flows?: Record<string, CreateFlowRequest>;
@@ -49,6 +49,7 @@ export interface EngineWorkspace {
49
49
  limits: WorkspaceLimits;
50
50
  settings?: EngineWorkspaceSettings;
51
51
  type?: WorkspaceType;
52
+ jwksUri?: string | null;
52
53
  }
53
54
  export interface WorkspaceUser {
54
55
  id: string;
@@ -84,6 +85,7 @@ export declare const enum ParallelExecutionLimits {
84
85
  ParallelFlowRuns = "parallelFlowRuns",
85
86
  ParallelFlowRunsPerConnection = "parallelFlowRunsPerConnection",
86
87
  ParallelApiRequests = "parallelApiRequests",
88
+ ParallelSseRequests = "parallelSseRequests",
87
89
  ParallelBackgroundJobs = "parallelBackgroundJobs",
88
90
  ParallelEventLogs = "parallelEventLogs",
89
91
  ParallelEventLogsPerConnection = "parallelEventLogsPerConnection",