@membranehq/sdk 0.7.1 → 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 (79) hide show
  1. package/dist/bundle.d.ts +3437 -2985
  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/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
  15. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
  16. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
  17. package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
  18. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
  19. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
  20. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
  21. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
  22. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
  23. package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
  24. package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
  25. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
  26. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
  27. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
  28. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
  29. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
  30. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
  31. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
  32. package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
  33. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
  34. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
  35. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -92
  36. package/dist/dts/workspace-elements/api/flows-api.d.ts +125 -72
  37. package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
  38. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
  39. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
  40. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
  41. package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
  42. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
  43. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
  44. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
  45. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
  46. package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
  47. package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
  48. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
  49. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
  50. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
  51. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
  52. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
  53. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
  54. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
  56. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
  57. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
  58. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
  59. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
  60. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
  61. package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
  62. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
  63. package/dist/dts/workspace-elements/types.d.ts +118 -0
  64. package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
  65. package/dist/{index.module.d.mts → index.browser.d.mts} +18140 -17543
  66. package/dist/{index.d.ts → index.browser.d.ts} +18140 -17543
  67. package/dist/{index.js → index.browser.js} +108 -130
  68. package/dist/index.browser.js.map +1 -0
  69. package/dist/{index.module.mjs → index.browser.mjs} +104 -127
  70. package/dist/index.browser.mjs.map +1 -0
  71. package/dist/index.node.d.mts +27932 -0
  72. package/dist/index.node.d.ts +27932 -0
  73. package/dist/index.node.js +13334 -0
  74. package/dist/index.node.js.map +1 -0
  75. package/dist/index.node.mjs +12862 -0
  76. package/dist/index.node.mjs.map +1 -0
  77. package/package.json +38 -15
  78. package/dist/index.js.map +0 -1
  79. package/dist/index.module.mjs.map +0 -1
@@ -5,6 +5,7 @@ export declare const BaseIntegration: z.ZodObject<{
5
5
  key: z.ZodOptional<z.ZodString>;
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  description: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
9
  name: z.ZodString;
9
10
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
11
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -39,6 +40,7 @@ export declare const BaseIntegration: z.ZodObject<{
39
40
  key?: string | undefined;
40
41
  uuid?: string | undefined;
41
42
  description?: string | undefined;
43
+ meta?: Record<string, any> | undefined;
42
44
  state?: import("../../types").WorkspaceElementState | undefined;
43
45
  errors?: import("../../..").ErrorDataSchema[] | undefined;
44
46
  revision?: string | undefined;
@@ -70,6 +72,7 @@ export declare const BaseIntegration: z.ZodObject<{
70
72
  key?: string | undefined;
71
73
  uuid?: string | undefined;
72
74
  description?: string | undefined;
75
+ meta?: Record<string, any> | undefined;
73
76
  state?: import("../../types").WorkspaceElementState | undefined;
74
77
  errors?: import("../../..").ErrorDataSchema[] | undefined;
75
78
  revision?: string | undefined;
@@ -106,6 +109,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
106
109
  key: z.ZodOptional<z.ZodString>;
107
110
  uuid: z.ZodOptional<z.ZodString>;
108
111
  description: z.ZodOptional<z.ZodString>;
112
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
109
113
  name: z.ZodString;
110
114
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
111
115
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -140,6 +144,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
140
144
  key?: string | undefined;
141
145
  uuid?: string | undefined;
142
146
  description?: string | undefined;
147
+ meta?: Record<string, any> | undefined;
143
148
  state?: import("../../types").WorkspaceElementState | undefined;
144
149
  errors?: import("../../..").ErrorDataSchema[] | undefined;
145
150
  revision?: string | undefined;
@@ -171,6 +176,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
171
176
  key?: string | undefined;
172
177
  uuid?: string | undefined;
173
178
  description?: string | undefined;
179
+ meta?: Record<string, any> | undefined;
174
180
  state?: import("../../types").WorkspaceElementState | undefined;
175
181
  errors?: import("../../..").ErrorDataSchema[] | undefined;
176
182
  revision?: string | undefined;
@@ -203,6 +209,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
203
209
  key: z.ZodOptional<z.ZodString>;
204
210
  uuid: z.ZodOptional<z.ZodString>;
205
211
  description: z.ZodOptional<z.ZodString>;
212
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
206
213
  name: z.ZodString;
207
214
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
208
215
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -237,6 +244,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
237
244
  key?: string | undefined;
238
245
  uuid?: string | undefined;
239
246
  description?: string | undefined;
247
+ meta?: Record<string, any> | undefined;
240
248
  state?: import("../../types").WorkspaceElementState | undefined;
241
249
  errors?: import("../../..").ErrorDataSchema[] | undefined;
242
250
  revision?: string | undefined;
@@ -268,6 +276,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
268
276
  key?: string | undefined;
269
277
  uuid?: string | undefined;
270
278
  description?: string | undefined;
279
+ meta?: Record<string, any> | undefined;
271
280
  state?: import("../../types").WorkspaceElementState | undefined;
272
281
  errors?: import("../../..").ErrorDataSchema[] | undefined;
273
282
  revision?: string | undefined;
@@ -300,6 +309,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
300
309
  key: z.ZodOptional<z.ZodString>;
301
310
  uuid: z.ZodOptional<z.ZodString>;
302
311
  description: z.ZodOptional<z.ZodString>;
312
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
303
313
  name: z.ZodString;
304
314
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
305
315
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -334,6 +344,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
334
344
  key?: string | undefined;
335
345
  uuid?: string | undefined;
336
346
  description?: string | undefined;
347
+ meta?: Record<string, any> | undefined;
337
348
  state?: import("../../types").WorkspaceElementState | undefined;
338
349
  errors?: import("../../..").ErrorDataSchema[] | undefined;
339
350
  revision?: string | undefined;
@@ -365,6 +376,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
365
376
  key?: string | undefined;
366
377
  uuid?: string | undefined;
367
378
  description?: string | undefined;
379
+ meta?: Record<string, any> | undefined;
368
380
  state?: import("../../types").WorkspaceElementState | undefined;
369
381
  errors?: import("../../..").ErrorDataSchema[] | undefined;
370
382
  revision?: string | undefined;
@@ -397,6 +409,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
397
409
  key: z.ZodOptional<z.ZodString>;
398
410
  uuid: z.ZodOptional<z.ZodString>;
399
411
  description: z.ZodOptional<z.ZodString>;
412
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
400
413
  name: z.ZodString;
401
414
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
402
415
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -431,6 +444,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
431
444
  key?: string | undefined;
432
445
  uuid?: string | undefined;
433
446
  description?: string | undefined;
447
+ meta?: Record<string, any> | undefined;
434
448
  state?: import("../../types").WorkspaceElementState | undefined;
435
449
  errors?: import("../../..").ErrorDataSchema[] | undefined;
436
450
  revision?: string | undefined;
@@ -462,6 +476,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
462
476
  key?: string | undefined;
463
477
  uuid?: string | undefined;
464
478
  description?: string | undefined;
479
+ meta?: Record<string, any> | undefined;
465
480
  state?: import("../../types").WorkspaceElementState | undefined;
466
481
  errors?: import("../../..").ErrorDataSchema[] | undefined;
467
482
  revision?: string | undefined;
@@ -494,6 +509,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
494
509
  key: z.ZodOptional<z.ZodString>;
495
510
  uuid: z.ZodOptional<z.ZodString>;
496
511
  description: z.ZodOptional<z.ZodString>;
512
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
497
513
  name: z.ZodString;
498
514
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
499
515
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -528,6 +544,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
528
544
  key?: string | undefined;
529
545
  uuid?: string | undefined;
530
546
  description?: string | undefined;
547
+ meta?: Record<string, any> | undefined;
531
548
  state?: import("../../types").WorkspaceElementState | undefined;
532
549
  errors?: import("../../..").ErrorDataSchema[] | undefined;
533
550
  revision?: string | undefined;
@@ -559,6 +576,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
559
576
  key?: string | undefined;
560
577
  uuid?: string | undefined;
561
578
  description?: string | undefined;
579
+ meta?: Record<string, any> | undefined;
562
580
  state?: import("../../types").WorkspaceElementState | undefined;
563
581
  errors?: import("../../..").ErrorDataSchema[] | undefined;
564
582
  revision?: string | undefined;
@@ -1 +1,163 @@
1
- export * from './types';
1
+ import { z } from 'zod';
2
+ import { IntegrationElementType } from '../../../integration-elements';
3
+ export declare const ScenarioElement: z.ZodObject<{
4
+ id: z.ZodString;
5
+ type: z.ZodNativeEnum<typeof IntegrationElementType>;
6
+ element: z.ZodOptional<z.ZodAny>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: IntegrationElementType;
9
+ id: string;
10
+ element?: any;
11
+ }, {
12
+ type: IntegrationElementType;
13
+ id: string;
14
+ element?: any;
15
+ }>;
16
+ export type ScenarioElement = z.infer<typeof ScenarioElement>;
17
+ export declare const ScenarioEditableProperties: z.ZodObject<{
18
+ key: z.ZodOptional<z.ZodString>;
19
+ name: z.ZodOptional<z.ZodString>;
20
+ uuid: z.ZodOptional<z.ZodString>;
21
+ description: z.ZodOptional<z.ZodString>;
22
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23
+ } & {
24
+ scenarioTemplateId: z.ZodOptional<z.ZodString>;
25
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
+ id: z.ZodString;
27
+ type: z.ZodNativeEnum<typeof IntegrationElementType>;
28
+ element: z.ZodOptional<z.ZodAny>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: IntegrationElementType;
31
+ id: string;
32
+ element?: any;
33
+ }, {
34
+ type: IntegrationElementType;
35
+ id: string;
36
+ element?: any;
37
+ }>, "many">>;
38
+ integrationId: z.ZodOptional<z.ZodString>;
39
+ parentId: z.ZodOptional<z.ZodString>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ key?: string | undefined;
42
+ name?: string | undefined;
43
+ uuid?: string | undefined;
44
+ description?: string | undefined;
45
+ meta?: Record<string, any> | undefined;
46
+ integrationId?: string | undefined;
47
+ parentId?: string | undefined;
48
+ scenarioTemplateId?: string | undefined;
49
+ elements?: {
50
+ type: IntegrationElementType;
51
+ id: string;
52
+ element?: any;
53
+ }[] | undefined;
54
+ }, {
55
+ key?: string | undefined;
56
+ name?: string | undefined;
57
+ uuid?: string | undefined;
58
+ description?: string | undefined;
59
+ meta?: Record<string, any> | undefined;
60
+ integrationId?: string | undefined;
61
+ parentId?: string | undefined;
62
+ scenarioTemplateId?: string | undefined;
63
+ elements?: {
64
+ type: IntegrationElementType;
65
+ id: string;
66
+ element?: any;
67
+ }[] | undefined;
68
+ }>;
69
+ export type ScenarioEditableProperties = z.infer<typeof ScenarioEditableProperties>;
70
+ export declare const ScenarioCalculatedProperties: z.ZodObject<{
71
+ key: z.ZodString;
72
+ name: z.ZodString;
73
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ key: string;
76
+ name: string;
77
+ isCustomized?: boolean | undefined;
78
+ }, {
79
+ key: string;
80
+ name: string;
81
+ isCustomized?: boolean | undefined;
82
+ }>;
83
+ export type ScenarioCalculatedProperties = z.infer<typeof ScenarioCalculatedProperties>;
84
+ export declare const BaseScenario: z.ZodObject<{
85
+ id: z.ZodString;
86
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
87
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
88
+ revision: z.ZodOptional<z.ZodString>;
89
+ createdAt: z.ZodOptional<z.ZodString>;
90
+ updatedAt: z.ZodOptional<z.ZodString>;
91
+ archivedAt: z.ZodOptional<z.ZodString>;
92
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
93
+ uuid: z.ZodOptional<z.ZodString>;
94
+ description: z.ZodOptional<z.ZodString>;
95
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
96
+ scenarioTemplateId: z.ZodOptional<z.ZodString>;
97
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ type: z.ZodNativeEnum<typeof IntegrationElementType>;
100
+ element: z.ZodOptional<z.ZodAny>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ type: IntegrationElementType;
103
+ id: string;
104
+ element?: any;
105
+ }, {
106
+ type: IntegrationElementType;
107
+ id: string;
108
+ element?: any;
109
+ }>, "many">>;
110
+ integrationId: z.ZodOptional<z.ZodString>;
111
+ parentId: z.ZodOptional<z.ZodString>;
112
+ } & {
113
+ key: z.ZodString;
114
+ name: z.ZodString;
115
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ key: string;
118
+ id: string;
119
+ name: string;
120
+ uuid?: string | undefined;
121
+ description?: string | undefined;
122
+ meta?: Record<string, any> | undefined;
123
+ state?: import("../../types").WorkspaceElementState | undefined;
124
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
125
+ revision?: string | undefined;
126
+ createdAt?: string | undefined;
127
+ updatedAt?: string | undefined;
128
+ archivedAt?: string | undefined;
129
+ isDeactivated?: boolean | undefined;
130
+ integrationId?: string | undefined;
131
+ parentId?: string | undefined;
132
+ isCustomized?: boolean | undefined;
133
+ scenarioTemplateId?: string | undefined;
134
+ elements?: {
135
+ type: IntegrationElementType;
136
+ id: string;
137
+ element?: any;
138
+ }[] | undefined;
139
+ }, {
140
+ key: string;
141
+ id: string;
142
+ name: string;
143
+ uuid?: string | undefined;
144
+ description?: string | undefined;
145
+ meta?: Record<string, any> | undefined;
146
+ state?: import("../../types").WorkspaceElementState | undefined;
147
+ errors?: import("../../..").ErrorDataSchema[] | undefined;
148
+ revision?: string | undefined;
149
+ createdAt?: string | undefined;
150
+ updatedAt?: string | undefined;
151
+ archivedAt?: string | undefined;
152
+ isDeactivated?: boolean | undefined;
153
+ integrationId?: string | undefined;
154
+ parentId?: string | undefined;
155
+ isCustomized?: boolean | undefined;
156
+ scenarioTemplateId?: string | undefined;
157
+ elements?: {
158
+ type: IntegrationElementType;
159
+ id: string;
160
+ element?: any;
161
+ }[] | undefined;
162
+ }>;
163
+ export type BaseScenario = z.infer<typeof BaseScenario>;
@@ -78,16 +78,19 @@ export declare const BaseMembraneInterfaceEditableProperties: z.ZodObject<{
78
78
  name: z.ZodOptional<z.ZodString>;
79
79
  uuid: z.ZodOptional<z.ZodString>;
80
80
  description: z.ZodOptional<z.ZodString>;
81
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
81
82
  }, "strip", z.ZodTypeAny, {
82
83
  key?: string | undefined;
83
84
  name?: string | undefined;
84
85
  uuid?: string | undefined;
85
86
  description?: string | undefined;
87
+ meta?: Record<string, any> | undefined;
86
88
  }, {
87
89
  key?: string | undefined;
88
90
  name?: string | undefined;
89
91
  uuid?: string | undefined;
90
92
  description?: string | undefined;
93
+ meta?: Record<string, any> | undefined;
91
94
  }>;
92
95
  export declare const BaseMembraneInterfaceReadOnlyProperties: z.ZodObject<{
93
96
  name: z.ZodString;
@@ -122,6 +125,7 @@ export declare const BaseMembraneInterface: z.ZodObject<{
122
125
  key: z.ZodOptional<z.ZodString>;
123
126
  uuid: z.ZodOptional<z.ZodString>;
124
127
  description: z.ZodOptional<z.ZodString>;
128
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
125
129
  } & {
126
130
  name: z.ZodString;
127
131
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
@@ -137,6 +141,7 @@ export declare const BaseMembraneInterface: z.ZodObject<{
137
141
  key?: string | undefined;
138
142
  uuid?: string | undefined;
139
143
  description?: string | undefined;
144
+ meta?: Record<string, any> | undefined;
140
145
  state?: WorkspaceElementState | undefined;
141
146
  errors?: ErrorDataSchema[] | undefined;
142
147
  revision?: string | undefined;
@@ -150,6 +155,7 @@ export declare const BaseMembraneInterface: z.ZodObject<{
150
155
  key?: string | undefined;
151
156
  uuid?: string | undefined;
152
157
  description?: string | undefined;
158
+ meta?: Record<string, any> | undefined;
153
159
  state?: WorkspaceElementState | undefined;
154
160
  errors?: ErrorDataSchema[] | undefined;
155
161
  revision?: string | undefined;
@@ -159,6 +165,118 @@ export declare const BaseMembraneInterface: z.ZodObject<{
159
165
  isDeactivated?: boolean | undefined;
160
166
  }>;
161
167
  export type BaseMembraneInterface = z.infer<typeof BaseMembraneInterface>;
168
+ export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.ZodObject<{
169
+ key: z.ZodOptional<z.ZodString>;
170
+ name: z.ZodOptional<z.ZodString>;
171
+ uuid: z.ZodOptional<z.ZodString>;
172
+ description: z.ZodOptional<z.ZodString>;
173
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
174
+ } & {
175
+ integrationId: z.ZodOptional<z.ZodString>;
176
+ parentId: z.ZodOptional<z.ZodString>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ key?: string | undefined;
179
+ name?: string | undefined;
180
+ uuid?: string | undefined;
181
+ description?: string | undefined;
182
+ meta?: Record<string, any> | undefined;
183
+ integrationId?: string | undefined;
184
+ parentId?: string | undefined;
185
+ }, {
186
+ key?: string | undefined;
187
+ name?: string | undefined;
188
+ uuid?: string | undefined;
189
+ description?: string | undefined;
190
+ meta?: Record<string, any> | undefined;
191
+ integrationId?: string | undefined;
192
+ parentId?: string | undefined;
193
+ }>;
194
+ export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObject<{
195
+ name: z.ZodString;
196
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
197
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
198
+ revision: z.ZodOptional<z.ZodString>;
199
+ createdAt: z.ZodOptional<z.ZodString>;
200
+ updatedAt: z.ZodOptional<z.ZodString>;
201
+ archivedAt: z.ZodOptional<z.ZodString>;
202
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
203
+ } & {
204
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ name: string;
207
+ state?: WorkspaceElementState | undefined;
208
+ errors?: ErrorDataSchema[] | undefined;
209
+ revision?: string | undefined;
210
+ createdAt?: string | undefined;
211
+ updatedAt?: string | undefined;
212
+ archivedAt?: string | undefined;
213
+ isDeactivated?: boolean | undefined;
214
+ isCustomized?: boolean | undefined;
215
+ }, {
216
+ name: string;
217
+ state?: WorkspaceElementState | undefined;
218
+ errors?: ErrorDataSchema[] | undefined;
219
+ revision?: string | undefined;
220
+ createdAt?: string | undefined;
221
+ updatedAt?: string | undefined;
222
+ archivedAt?: string | undefined;
223
+ isDeactivated?: boolean | undefined;
224
+ isCustomized?: boolean | undefined;
225
+ }>;
226
+ export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
227
+ id: z.ZodString;
228
+ key: z.ZodOptional<z.ZodString>;
229
+ uuid: z.ZodOptional<z.ZodString>;
230
+ description: z.ZodOptional<z.ZodString>;
231
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
232
+ integrationId: z.ZodOptional<z.ZodString>;
233
+ parentId: z.ZodOptional<z.ZodString>;
234
+ } & {
235
+ name: z.ZodString;
236
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
237
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
238
+ revision: z.ZodOptional<z.ZodString>;
239
+ createdAt: z.ZodOptional<z.ZodString>;
240
+ updatedAt: z.ZodOptional<z.ZodString>;
241
+ archivedAt: z.ZodOptional<z.ZodString>;
242
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
243
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ id: string;
246
+ name: string;
247
+ key?: string | undefined;
248
+ uuid?: string | undefined;
249
+ description?: string | undefined;
250
+ meta?: Record<string, any> | undefined;
251
+ state?: WorkspaceElementState | undefined;
252
+ errors?: ErrorDataSchema[] | undefined;
253
+ revision?: string | undefined;
254
+ createdAt?: string | undefined;
255
+ updatedAt?: string | undefined;
256
+ archivedAt?: string | undefined;
257
+ isDeactivated?: boolean | undefined;
258
+ integrationId?: string | undefined;
259
+ parentId?: string | undefined;
260
+ isCustomized?: boolean | undefined;
261
+ }, {
262
+ id: string;
263
+ name: string;
264
+ key?: string | undefined;
265
+ uuid?: string | undefined;
266
+ description?: string | undefined;
267
+ meta?: Record<string, any> | undefined;
268
+ state?: WorkspaceElementState | undefined;
269
+ errors?: ErrorDataSchema[] | undefined;
270
+ revision?: string | undefined;
271
+ createdAt?: string | undefined;
272
+ updatedAt?: string | undefined;
273
+ archivedAt?: string | undefined;
274
+ isDeactivated?: boolean | undefined;
275
+ integrationId?: string | undefined;
276
+ parentId?: string | undefined;
277
+ isCustomized?: boolean | undefined;
278
+ }>;
279
+ export type BaseIntegrationLevelMembraneInterface = z.infer<typeof BaseIntegrationLevelMembraneInterface>;
162
280
  export interface WorkspaceElementReference {
163
281
  type: WorkspaceElementType;
164
282
  id: string;
@@ -12,6 +12,7 @@ export interface WorkspaceElementSpec {
12
12
  editablePropertiesSchema?: z.ZodObject<any>;
13
13
  apiResponseSchema?: z.ZodObject<any>;
14
14
  findQuerySchema?: z.ZodObject<any>;
15
+ parentFieldKey?: string;
15
16
  }
16
17
  export interface WorkspaceElements {
17
18
  flows?: Record<string, CreateFlowRequest>;