@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
@@ -3,15 +3,10 @@ import { IntegrationSpecificElementSelector } from '../../accessors';
3
3
  import { DataSchema } from '../../data-schema';
4
4
  export declare const ActionApiResponse: z.ZodObject<{
5
5
  id: z.ZodString;
6
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
7
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
8
- revision: z.ZodOptional<z.ZodString>;
9
- createdAt: z.ZodOptional<z.ZodString>;
10
- updatedAt: z.ZodOptional<z.ZodString>;
11
- archivedAt: z.ZodOptional<z.ZodString>;
12
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
6
+ key: z.ZodOptional<z.ZodString>;
13
7
  uuid: z.ZodOptional<z.ZodString>;
14
8
  description: z.ZodOptional<z.ZodString>;
9
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15
10
  integrationId: z.ZodOptional<z.ZodString>;
16
11
  parentId: z.ZodOptional<z.ZodString>;
17
12
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -20,16 +15,22 @@ export declare const ActionApiResponse: z.ZodObject<{
20
15
  outputMapping: z.ZodOptional<z.ZodAny>;
21
16
  customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
22
17
  } & {
23
- key: z.ZodString;
24
18
  name: z.ZodString;
19
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
20
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
21
+ revision: z.ZodOptional<z.ZodString>;
22
+ createdAt: z.ZodOptional<z.ZodString>;
23
+ updatedAt: z.ZodOptional<z.ZodString>;
24
+ archivedAt: z.ZodOptional<z.ZodString>;
25
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
25
26
  isCustomized: z.ZodOptional<z.ZodBoolean>;
26
- parentRevision: z.ZodOptional<z.ZodString>;
27
27
  } & {
28
28
  integration: z.ZodOptional<z.ZodObject<{
29
29
  id: z.ZodString;
30
30
  key: z.ZodOptional<z.ZodString>;
31
31
  uuid: z.ZodOptional<z.ZodString>;
32
32
  description: z.ZodOptional<z.ZodString>;
33
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33
34
  name: z.ZodString;
34
35
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
35
36
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -64,6 +65,7 @@ export declare const ActionApiResponse: z.ZodObject<{
64
65
  key?: string | undefined;
65
66
  uuid?: string | undefined;
66
67
  description?: string | undefined;
68
+ meta?: Record<string, any> | undefined;
67
69
  state?: import("..").WorkspaceElementState | undefined;
68
70
  errors?: import("../..").ErrorDataSchema[] | undefined;
69
71
  revision?: string | undefined;
@@ -95,6 +97,7 @@ export declare const ActionApiResponse: z.ZodObject<{
95
97
  key?: string | undefined;
96
98
  uuid?: string | undefined;
97
99
  description?: string | undefined;
100
+ meta?: Record<string, any> | undefined;
98
101
  state?: import("..").WorkspaceElementState | undefined;
99
102
  errors?: import("../..").ErrorDataSchema[] | undefined;
100
103
  revision?: string | undefined;
@@ -123,15 +126,10 @@ export declare const ActionApiResponse: z.ZodObject<{
123
126
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
124
127
  element: z.ZodObject<{
125
128
  id: z.ZodString;
126
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
127
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
128
- revision: z.ZodOptional<z.ZodString>;
129
- createdAt: z.ZodOptional<z.ZodString>;
130
- updatedAt: z.ZodOptional<z.ZodString>;
131
- archivedAt: z.ZodOptional<z.ZodString>;
132
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
129
+ key: z.ZodOptional<z.ZodString>;
133
130
  uuid: z.ZodOptional<z.ZodString>;
134
131
  description: z.ZodOptional<z.ZodString>;
132
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
135
133
  integrationId: z.ZodOptional<z.ZodString>;
136
134
  parentId: z.ZodOptional<z.ZodString>;
137
135
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -140,17 +138,23 @@ export declare const ActionApiResponse: z.ZodObject<{
140
138
  outputMapping: z.ZodOptional<z.ZodAny>;
141
139
  customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
142
140
  } & {
143
- key: z.ZodString;
144
141
  name: z.ZodString;
142
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
143
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
144
+ revision: z.ZodOptional<z.ZodString>;
145
+ createdAt: z.ZodOptional<z.ZodString>;
146
+ updatedAt: z.ZodOptional<z.ZodString>;
147
+ archivedAt: z.ZodOptional<z.ZodString>;
148
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
145
149
  isCustomized: z.ZodOptional<z.ZodBoolean>;
146
- parentRevision: z.ZodOptional<z.ZodString>;
147
150
  }, "strip", z.ZodTypeAny, {
148
- key: string;
149
151
  id: string;
150
152
  name: string;
153
+ key?: string | undefined;
151
154
  type?: import("../base/actions").ActionType | undefined;
152
155
  uuid?: string | undefined;
153
156
  description?: string | undefined;
157
+ meta?: Record<string, any> | undefined;
154
158
  state?: import("..").WorkspaceElementState | undefined;
155
159
  errors?: import("../..").ErrorDataSchema[] | undefined;
156
160
  revision?: string | undefined;
@@ -160,19 +164,19 @@ export declare const ActionApiResponse: z.ZodObject<{
160
164
  isDeactivated?: boolean | undefined;
161
165
  integrationId?: string | undefined;
162
166
  parentId?: string | undefined;
167
+ isCustomized?: boolean | undefined;
163
168
  inputSchema?: DataSchema | undefined;
164
169
  config?: any;
165
170
  outputMapping?: any;
166
171
  customOutputSchema?: DataSchema | undefined;
167
- isCustomized?: boolean | undefined;
168
- parentRevision?: string | undefined;
169
172
  }, {
170
- key: string;
171
173
  id: string;
172
174
  name: string;
175
+ key?: string | undefined;
173
176
  type?: import("../base/actions").ActionType | undefined;
174
177
  uuid?: string | undefined;
175
178
  description?: string | undefined;
179
+ meta?: Record<string, any> | undefined;
176
180
  state?: import("..").WorkspaceElementState | undefined;
177
181
  errors?: import("../..").ErrorDataSchema[] | undefined;
178
182
  revision?: string | undefined;
@@ -182,18 +186,18 @@ export declare const ActionApiResponse: z.ZodObject<{
182
186
  isDeactivated?: boolean | undefined;
183
187
  integrationId?: string | undefined;
184
188
  parentId?: string | undefined;
189
+ isCustomized?: boolean | undefined;
185
190
  inputSchema?: DataSchema | undefined;
186
191
  config?: any;
187
192
  outputMapping?: any;
188
193
  customOutputSchema?: DataSchema | undefined;
189
- isCustomized?: boolean | undefined;
190
- parentRevision?: string | undefined;
191
194
  }>;
192
195
  integration: z.ZodObject<{
193
196
  id: z.ZodString;
194
197
  key: z.ZodOptional<z.ZodString>;
195
198
  uuid: z.ZodOptional<z.ZodString>;
196
199
  description: z.ZodOptional<z.ZodString>;
200
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
197
201
  name: z.ZodString;
198
202
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
199
203
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -228,6 +232,7 @@ export declare const ActionApiResponse: z.ZodObject<{
228
232
  key?: string | undefined;
229
233
  uuid?: string | undefined;
230
234
  description?: string | undefined;
235
+ meta?: Record<string, any> | undefined;
231
236
  state?: import("..").WorkspaceElementState | undefined;
232
237
  errors?: import("../..").ErrorDataSchema[] | undefined;
233
238
  revision?: string | undefined;
@@ -259,6 +264,7 @@ export declare const ActionApiResponse: z.ZodObject<{
259
264
  key?: string | undefined;
260
265
  uuid?: string | undefined;
261
266
  description?: string | undefined;
267
+ meta?: Record<string, any> | undefined;
262
268
  state?: import("..").WorkspaceElementState | undefined;
263
269
  errors?: import("../..").ErrorDataSchema[] | undefined;
264
270
  revision?: string | undefined;
@@ -292,6 +298,7 @@ export declare const ActionApiResponse: z.ZodObject<{
292
298
  key?: string | undefined;
293
299
  uuid?: string | undefined;
294
300
  description?: string | undefined;
301
+ meta?: Record<string, any> | undefined;
295
302
  state?: import("..").WorkspaceElementState | undefined;
296
303
  errors?: import("../..").ErrorDataSchema[] | undefined;
297
304
  revision?: string | undefined;
@@ -318,12 +325,13 @@ export declare const ActionApiResponse: z.ZodObject<{
318
325
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
319
326
  };
320
327
  element: {
321
- key: string;
322
328
  id: string;
323
329
  name: string;
330
+ key?: string | undefined;
324
331
  type?: import("../base/actions").ActionType | undefined;
325
332
  uuid?: string | undefined;
326
333
  description?: string | undefined;
334
+ meta?: Record<string, any> | undefined;
327
335
  state?: import("..").WorkspaceElementState | undefined;
328
336
  errors?: import("../..").ErrorDataSchema[] | undefined;
329
337
  revision?: string | undefined;
@@ -333,12 +341,11 @@ export declare const ActionApiResponse: z.ZodObject<{
333
341
  isDeactivated?: boolean | undefined;
334
342
  integrationId?: string | undefined;
335
343
  parentId?: string | undefined;
344
+ isCustomized?: boolean | undefined;
336
345
  inputSchema?: DataSchema | undefined;
337
346
  config?: any;
338
347
  outputMapping?: any;
339
348
  customOutputSchema?: DataSchema | undefined;
340
- isCustomized?: boolean | undefined;
341
- parentRevision?: string | undefined;
342
349
  };
343
350
  }, {
344
351
  integration: {
@@ -348,6 +355,7 @@ export declare const ActionApiResponse: z.ZodObject<{
348
355
  key?: string | undefined;
349
356
  uuid?: string | undefined;
350
357
  description?: string | undefined;
358
+ meta?: Record<string, any> | undefined;
351
359
  state?: import("..").WorkspaceElementState | undefined;
352
360
  errors?: import("../..").ErrorDataSchema[] | undefined;
353
361
  revision?: string | undefined;
@@ -374,12 +382,13 @@ export declare const ActionApiResponse: z.ZodObject<{
374
382
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
375
383
  };
376
384
  element: {
377
- key: string;
378
385
  id: string;
379
386
  name: string;
387
+ key?: string | undefined;
380
388
  type?: import("../base/actions").ActionType | undefined;
381
389
  uuid?: string | undefined;
382
390
  description?: string | undefined;
391
+ meta?: Record<string, any> | undefined;
383
392
  state?: import("..").WorkspaceElementState | undefined;
384
393
  errors?: import("../..").ErrorDataSchema[] | undefined;
385
394
  revision?: string | undefined;
@@ -389,12 +398,11 @@ export declare const ActionApiResponse: z.ZodObject<{
389
398
  isDeactivated?: boolean | undefined;
390
399
  integrationId?: string | undefined;
391
400
  parentId?: string | undefined;
401
+ isCustomized?: boolean | undefined;
392
402
  inputSchema?: DataSchema | undefined;
393
403
  config?: any;
394
404
  outputMapping?: any;
395
405
  customOutputSchema?: DataSchema | undefined;
396
- isCustomized?: boolean | undefined;
397
- parentRevision?: string | undefined;
398
406
  };
399
407
  }>, "many">>;
400
408
  defaultOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -402,9 +410,9 @@ export declare const ActionApiResponse: z.ZodObject<{
402
410
  outputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
403
411
  dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
404
412
  }, "strip", z.ZodTypeAny, {
405
- key: string;
406
413
  id: string;
407
414
  name: string;
415
+ key?: string | undefined;
408
416
  type?: import("../base/actions").ActionType | undefined;
409
417
  integration?: {
410
418
  id: string;
@@ -413,6 +421,7 @@ export declare const ActionApiResponse: z.ZodObject<{
413
421
  key?: string | undefined;
414
422
  uuid?: string | undefined;
415
423
  description?: string | undefined;
424
+ meta?: Record<string, any> | undefined;
416
425
  state?: import("..").WorkspaceElementState | undefined;
417
426
  errors?: import("../..").ErrorDataSchema[] | undefined;
418
427
  revision?: string | undefined;
@@ -440,6 +449,7 @@ export declare const ActionApiResponse: z.ZodObject<{
440
449
  } | undefined;
441
450
  uuid?: string | undefined;
442
451
  description?: string | undefined;
452
+ meta?: Record<string, any> | undefined;
443
453
  state?: import("..").WorkspaceElementState | undefined;
444
454
  errors?: import("../..").ErrorDataSchema[] | undefined;
445
455
  revision?: string | undefined;
@@ -449,12 +459,11 @@ export declare const ActionApiResponse: z.ZodObject<{
449
459
  isDeactivated?: boolean | undefined;
450
460
  integrationId?: string | undefined;
451
461
  parentId?: string | undefined;
462
+ isCustomized?: boolean | undefined;
452
463
  inputSchema?: DataSchema | undefined;
453
464
  config?: any;
454
465
  outputMapping?: any;
455
466
  customOutputSchema?: DataSchema | undefined;
456
- isCustomized?: boolean | undefined;
457
- parentRevision?: string | undefined;
458
467
  appliedToIntegrations?: {
459
468
  integration: {
460
469
  id: string;
@@ -463,6 +472,7 @@ export declare const ActionApiResponse: z.ZodObject<{
463
472
  key?: string | undefined;
464
473
  uuid?: string | undefined;
465
474
  description?: string | undefined;
475
+ meta?: Record<string, any> | undefined;
466
476
  state?: import("..").WorkspaceElementState | undefined;
467
477
  errors?: import("../..").ErrorDataSchema[] | undefined;
468
478
  revision?: string | undefined;
@@ -489,12 +499,13 @@ export declare const ActionApiResponse: z.ZodObject<{
489
499
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
490
500
  };
491
501
  element: {
492
- key: string;
493
502
  id: string;
494
503
  name: string;
504
+ key?: string | undefined;
495
505
  type?: import("../base/actions").ActionType | undefined;
496
506
  uuid?: string | undefined;
497
507
  description?: string | undefined;
508
+ meta?: Record<string, any> | undefined;
498
509
  state?: import("..").WorkspaceElementState | undefined;
499
510
  errors?: import("../..").ErrorDataSchema[] | undefined;
500
511
  revision?: string | undefined;
@@ -504,12 +515,11 @@ export declare const ActionApiResponse: z.ZodObject<{
504
515
  isDeactivated?: boolean | undefined;
505
516
  integrationId?: string | undefined;
506
517
  parentId?: string | undefined;
518
+ isCustomized?: boolean | undefined;
507
519
  inputSchema?: DataSchema | undefined;
508
520
  config?: any;
509
521
  outputMapping?: any;
510
522
  customOutputSchema?: DataSchema | undefined;
511
- isCustomized?: boolean | undefined;
512
- parentRevision?: string | undefined;
513
523
  };
514
524
  }[] | undefined;
515
525
  defaultOutputSchema?: DataSchema | undefined;
@@ -517,9 +527,9 @@ export declare const ActionApiResponse: z.ZodObject<{
517
527
  outputSchema?: DataSchema | undefined;
518
528
  dependencies?: any[] | undefined;
519
529
  }, {
520
- key: string;
521
530
  id: string;
522
531
  name: string;
532
+ key?: string | undefined;
523
533
  type?: import("../base/actions").ActionType | undefined;
524
534
  integration?: {
525
535
  id: string;
@@ -528,6 +538,7 @@ export declare const ActionApiResponse: z.ZodObject<{
528
538
  key?: string | undefined;
529
539
  uuid?: string | undefined;
530
540
  description?: string | undefined;
541
+ meta?: Record<string, any> | undefined;
531
542
  state?: import("..").WorkspaceElementState | undefined;
532
543
  errors?: import("../..").ErrorDataSchema[] | undefined;
533
544
  revision?: string | undefined;
@@ -555,6 +566,7 @@ export declare const ActionApiResponse: z.ZodObject<{
555
566
  } | undefined;
556
567
  uuid?: string | undefined;
557
568
  description?: string | undefined;
569
+ meta?: Record<string, any> | undefined;
558
570
  state?: import("..").WorkspaceElementState | undefined;
559
571
  errors?: import("../..").ErrorDataSchema[] | undefined;
560
572
  revision?: string | undefined;
@@ -564,12 +576,11 @@ export declare const ActionApiResponse: z.ZodObject<{
564
576
  isDeactivated?: boolean | undefined;
565
577
  integrationId?: string | undefined;
566
578
  parentId?: string | undefined;
579
+ isCustomized?: boolean | undefined;
567
580
  inputSchema?: DataSchema | undefined;
568
581
  config?: any;
569
582
  outputMapping?: any;
570
583
  customOutputSchema?: DataSchema | undefined;
571
- isCustomized?: boolean | undefined;
572
- parentRevision?: string | undefined;
573
584
  appliedToIntegrations?: {
574
585
  integration: {
575
586
  id: string;
@@ -578,6 +589,7 @@ export declare const ActionApiResponse: z.ZodObject<{
578
589
  key?: string | undefined;
579
590
  uuid?: string | undefined;
580
591
  description?: string | undefined;
592
+ meta?: Record<string, any> | undefined;
581
593
  state?: import("..").WorkspaceElementState | undefined;
582
594
  errors?: import("../..").ErrorDataSchema[] | undefined;
583
595
  revision?: string | undefined;
@@ -604,12 +616,13 @@ export declare const ActionApiResponse: z.ZodObject<{
604
616
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
605
617
  };
606
618
  element: {
607
- key: string;
608
619
  id: string;
609
620
  name: string;
621
+ key?: string | undefined;
610
622
  type?: import("../base/actions").ActionType | undefined;
611
623
  uuid?: string | undefined;
612
624
  description?: string | undefined;
625
+ meta?: Record<string, any> | undefined;
613
626
  state?: import("..").WorkspaceElementState | undefined;
614
627
  errors?: import("../..").ErrorDataSchema[] | undefined;
615
628
  revision?: string | undefined;
@@ -619,12 +632,11 @@ export declare const ActionApiResponse: z.ZodObject<{
619
632
  isDeactivated?: boolean | undefined;
620
633
  integrationId?: string | undefined;
621
634
  parentId?: string | undefined;
635
+ isCustomized?: boolean | undefined;
622
636
  inputSchema?: DataSchema | undefined;
623
637
  config?: any;
624
638
  outputMapping?: any;
625
639
  customOutputSchema?: DataSchema | undefined;
626
- isCustomized?: boolean | undefined;
627
- parentRevision?: string | undefined;
628
640
  };
629
641
  }[] | undefined;
630
642
  defaultOutputSchema?: DataSchema | undefined;
@@ -645,20 +657,20 @@ export declare const FindActionsQuery: z.ZodObject<{
645
657
  includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
646
658
  }, "strip", z.ZodTypeAny, {
647
659
  search?: string | undefined;
660
+ integrationId?: string | undefined;
661
+ parentId?: string | undefined;
648
662
  includeArchived?: boolean | undefined;
649
663
  limit?: number | undefined;
650
664
  cursor?: string | undefined;
651
- integrationId?: string | undefined;
652
665
  integrationKey?: string | undefined;
653
- parentId?: string | undefined;
654
666
  }, {
655
667
  search?: string | undefined;
668
+ integrationId?: string | undefined;
669
+ parentId?: string | undefined;
656
670
  includeArchived?: unknown;
657
671
  limit?: number | undefined;
658
672
  cursor?: string | undefined;
659
- integrationId?: string | undefined;
660
673
  integrationKey?: string | undefined;
661
- parentId?: string | undefined;
662
674
  }>;
663
675
  export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
664
676
  export declare const CreateActionRequest: z.ZodObject<{
@@ -666,6 +678,7 @@ export declare const CreateActionRequest: z.ZodObject<{
666
678
  name: z.ZodOptional<z.ZodString>;
667
679
  uuid: z.ZodOptional<z.ZodString>;
668
680
  description: z.ZodOptional<z.ZodString>;
681
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
669
682
  } & {
670
683
  integrationId: z.ZodOptional<z.ZodString>;
671
684
  parentId: z.ZodOptional<z.ZodString>;
@@ -680,6 +693,7 @@ export declare const CreateActionRequest: z.ZodObject<{
680
693
  name?: string | undefined;
681
694
  uuid?: string | undefined;
682
695
  description?: string | undefined;
696
+ meta?: Record<string, any> | undefined;
683
697
  integrationId?: string | undefined;
684
698
  parentId?: string | undefined;
685
699
  inputSchema?: DataSchema | undefined;
@@ -692,6 +706,7 @@ export declare const CreateActionRequest: z.ZodObject<{
692
706
  name?: string | undefined;
693
707
  uuid?: string | undefined;
694
708
  description?: string | undefined;
709
+ meta?: Record<string, any> | undefined;
695
710
  integrationId?: string | undefined;
696
711
  parentId?: string | undefined;
697
712
  inputSchema?: DataSchema | undefined;
@@ -705,6 +720,7 @@ export declare const UpdateActionRequest: z.ZodObject<{
705
720
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
706
721
  uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
707
722
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
723
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
708
724
  integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
709
725
  parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
710
726
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
@@ -718,6 +734,7 @@ export declare const UpdateActionRequest: z.ZodObject<{
718
734
  name?: string | undefined;
719
735
  uuid?: string | undefined;
720
736
  description?: string | undefined;
737
+ meta?: Record<string, any> | undefined;
721
738
  integrationId?: string | undefined;
722
739
  parentId?: string | undefined;
723
740
  inputSchema?: DataSchema | undefined;
@@ -730,6 +747,7 @@ export declare const UpdateActionRequest: z.ZodObject<{
730
747
  name?: string | undefined;
731
748
  uuid?: string | undefined;
732
749
  description?: string | undefined;
750
+ meta?: Record<string, any> | undefined;
733
751
  integrationId?: string | undefined;
734
752
  parentId?: string | undefined;
735
753
  inputSchema?: DataSchema | undefined;
@@ -22,6 +22,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
22
22
  key: z.ZodOptional<z.ZodString>;
23
23
  uuid: z.ZodOptional<z.ZodString>;
24
24
  description: z.ZodOptional<z.ZodString>;
25
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25
26
  name: z.ZodString;
26
27
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
27
28
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -42,6 +43,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
42
43
  user: z.ZodOptional<z.ZodObject<{
43
44
  id: z.ZodString;
44
45
  name: z.ZodString;
46
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
45
47
  internalId: z.ZodString;
46
48
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
47
49
  credentials: z.ZodOptional<z.ZodAny>;
@@ -54,6 +56,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
54
56
  id: string;
55
57
  name: string;
56
58
  internalId: string;
59
+ meta?: Record<string, any> | undefined;
57
60
  createdAt?: string | undefined;
58
61
  archivedAt?: string | undefined;
59
62
  credentials?: any;
@@ -65,6 +68,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
65
68
  id: string;
66
69
  name: string;
67
70
  internalId: string;
71
+ meta?: Record<string, any> | undefined;
68
72
  createdAt?: string | undefined;
69
73
  archivedAt?: string | undefined;
70
74
  credentials?: any;
@@ -78,6 +82,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
78
82
  key: z.ZodOptional<z.ZodString>;
79
83
  uuid: z.ZodOptional<z.ZodString>;
80
84
  description: z.ZodOptional<z.ZodString>;
85
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
81
86
  name: z.ZodString;
82
87
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
83
88
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -96,6 +101,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
96
101
  code?: string | undefined;
97
102
  uuid?: string | undefined;
98
103
  description?: string | undefined;
104
+ meta?: Record<string, any> | undefined;
99
105
  state?: import("..").WorkspaceElementState | undefined;
100
106
  errors?: import("../..").ErrorDataSchema[] | undefined;
101
107
  revision?: string | undefined;
@@ -111,6 +117,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
111
117
  code?: string | undefined;
112
118
  uuid?: string | undefined;
113
119
  description?: string | undefined;
120
+ meta?: Record<string, any> | undefined;
114
121
  state?: import("..").WorkspaceElementState | undefined;
115
122
  errors?: import("../..").ErrorDataSchema[] | undefined;
116
123
  revision?: string | undefined;
@@ -131,6 +138,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
131
138
  error?: import("../..").ErrorDataSchema | undefined;
132
139
  uuid?: string | undefined;
133
140
  description?: string | undefined;
141
+ meta?: Record<string, any> | undefined;
134
142
  state?: import("..").WorkspaceElementState | undefined;
135
143
  errors?: import("../..").ErrorDataSchema[] | undefined;
136
144
  revision?: string | undefined;
@@ -144,6 +152,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
144
152
  id: string;
145
153
  name: string;
146
154
  internalId: string;
155
+ meta?: Record<string, any> | undefined;
147
156
  createdAt?: string | undefined;
148
157
  archivedAt?: string | undefined;
149
158
  credentials?: any;
@@ -159,6 +168,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
159
168
  code?: string | undefined;
160
169
  uuid?: string | undefined;
161
170
  description?: string | undefined;
171
+ meta?: Record<string, any> | undefined;
162
172
  state?: import("..").WorkspaceElementState | undefined;
163
173
  errors?: import("../..").ErrorDataSchema[] | undefined;
164
174
  revision?: string | undefined;
@@ -179,6 +189,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
179
189
  error?: import("../..").ErrorDataSchema | undefined;
180
190
  uuid?: string | undefined;
181
191
  description?: string | undefined;
192
+ meta?: Record<string, any> | undefined;
182
193
  state?: import("..").WorkspaceElementState | undefined;
183
194
  errors?: import("../..").ErrorDataSchema[] | undefined;
184
195
  revision?: string | undefined;
@@ -192,6 +203,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
192
203
  id: string;
193
204
  name: string;
194
205
  internalId: string;
206
+ meta?: Record<string, any> | undefined;
195
207
  createdAt?: string | undefined;
196
208
  archivedAt?: string | undefined;
197
209
  credentials?: any;
@@ -207,6 +219,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
207
219
  code?: string | undefined;
208
220
  uuid?: string | undefined;
209
221
  description?: string | undefined;
222
+ meta?: Record<string, any> | undefined;
210
223
  state?: import("..").WorkspaceElementState | undefined;
211
224
  errors?: import("../..").ErrorDataSchema[] | undefined;
212
225
  revision?: string | undefined;
@@ -19,6 +19,7 @@ export declare const AppDataSchemaApiResponse: import("zod").ZodObject<{
19
19
  key: import("zod").ZodOptional<import("zod").ZodString>;
20
20
  uuid: import("zod").ZodOptional<import("zod").ZodString>;
21
21
  description: import("zod").ZodOptional<import("zod").ZodString>;
22
+ meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
22
23
  name: import("zod").ZodString;
23
24
  state: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
24
25
  errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("../..").ErrorDataSchema, import("zod").ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -37,6 +38,7 @@ export declare const AppDataSchemaApiResponse: import("zod").ZodObject<{
37
38
  code?: string | undefined;
38
39
  uuid?: string | undefined;
39
40
  description?: string | undefined;
41
+ meta?: Record<string, any> | undefined;
40
42
  state?: import("..").WorkspaceElementState | undefined;
41
43
  errors?: import("../..").ErrorDataSchema[] | undefined;
42
44
  revision?: string | undefined;
@@ -52,6 +54,7 @@ export declare const AppDataSchemaApiResponse: import("zod").ZodObject<{
52
54
  code?: string | undefined;
53
55
  uuid?: string | undefined;
54
56
  description?: string | undefined;
57
+ meta?: Record<string, any> | undefined;
55
58
  state?: import("..").WorkspaceElementState | undefined;
56
59
  errors?: import("../..").ErrorDataSchema[] | undefined;
57
60
  revision?: string | undefined;