@membranehq/sdk 0.7.3 → 0.7.5

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 (88) hide show
  1. package/dist/bundle.d.ts +2283 -14038
  2. package/dist/bundle.js +3949 -4253
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +28 -28
  5. package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
  6. package/dist/dts/config/index.d.ts +1 -11
  7. package/dist/dts/date-time/business-day.d.ts +2 -0
  8. package/dist/dts/date-time/business-day.test.d.ts +1 -0
  9. package/dist/dts/date-time/index.d.ts +1 -0
  10. package/dist/dts/entity-repository.d.ts +13 -64
  11. package/dist/dts/http-requests.d.ts +2 -14
  12. package/dist/dts/iframe.d.ts +4 -12
  13. package/dist/dts/scenario-templates/index.d.ts +60 -484
  14. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
  15. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
  16. package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
  17. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
  18. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
  19. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
  20. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
  21. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
  22. package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
  23. package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
  24. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
  25. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
  26. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +86 -1359
  27. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
  28. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
  29. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
  30. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
  31. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
  32. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +125 -2363
  33. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
  34. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
  35. package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
  36. package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
  37. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
  38. package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
  39. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
  40. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
  41. package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
  42. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
  43. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
  44. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
  45. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
  46. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
  47. package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
  49. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
  50. package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
  51. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
  52. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
  53. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
  54. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +57 -2
  55. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
  56. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
  57. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
  58. package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
  59. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +10 -77
  60. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
  61. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
  62. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
  63. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
  64. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
  65. package/dist/dts/workspace-elements/base/flows/index.d.ts +80 -1
  66. package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
  67. package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
  68. package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
  69. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
  70. package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
  71. package/dist/dts/workspace-elements/types.d.ts +15 -153
  72. package/dist/index.browser.d.mts +7609 -26109
  73. package/dist/index.browser.d.ts +7609 -26109
  74. package/dist/index.browser.js +420 -419
  75. package/dist/index.browser.js.map +1 -1
  76. package/dist/index.browser.mjs +412 -415
  77. package/dist/index.browser.mjs.map +1 -1
  78. package/dist/index.node.d.mts +7537 -26047
  79. package/dist/index.node.d.ts +7537 -26047
  80. package/dist/index.node.js +420 -419
  81. package/dist/index.node.js.map +1 -1
  82. package/dist/index.node.mjs +412 -415
  83. package/dist/index.node.mjs.map +1 -1
  84. package/package.json +2 -2
  85. package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
  86. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
  87. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
  88. package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@membranehq/sdk",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "JavaScript SDK for Membrane",
5
5
  "author": "Integration App, Inc",
6
6
  "source": "src/index.node.ts",
@@ -97,7 +97,7 @@
97
97
  "penpal": "^6.2.2",
98
98
  "qs": "^6.14.0",
99
99
  "url-join": "^4.0.1",
100
- "zod": "^3.25.63",
100
+ "zod": "^4.0.0",
101
101
  "zod-validation-error": "^4.0.1"
102
102
  },
103
103
  "jest": {
@@ -1,4 +0,0 @@
1
- export declare const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS: number;
2
- export declare const DEFAULT_FULL_SYNC_INTERVAL_SECONDS: number;
3
- export declare const MIN_FULL_SYNC_INTERVAL_SECONDS: number;
4
- export declare const MIN_PULL_UPDATES_INTERVAL_SECONDS: number;
@@ -1,109 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const DataSourceUnitConfig: z.ZodObject<{
3
- key: z.ZodOptional<z.ZodString>;
4
- collectionKey: z.ZodOptional<z.ZodAny>;
5
- collectionParameters: z.ZodOptional<z.ZodAny>;
6
- udm: z.ZodOptional<z.ZodAny>;
7
- path: z.ZodOptional<z.ZodString>;
8
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
9
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10
- }, "strip", z.ZodTypeAny, {
11
- key?: string | undefined;
12
- path?: string | undefined;
13
- udm?: any;
14
- collectionKey?: any;
15
- collectionParameters?: any;
16
- pullUpdatesIntervalSeconds?: number | undefined;
17
- fullSyncIntervalSeconds?: number | undefined;
18
- }, {
19
- key?: string | undefined;
20
- path?: string | undefined;
21
- udm?: any;
22
- collectionKey?: any;
23
- collectionParameters?: any;
24
- pullUpdatesIntervalSeconds?: number | undefined;
25
- fullSyncIntervalSeconds?: number | undefined;
26
- }>;
27
- export type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
28
- export declare const BaseDataSource: z.ZodObject<{
29
- id: z.ZodString;
30
- key: z.ZodOptional<z.ZodString>;
31
- uuid: z.ZodOptional<z.ZodString>;
32
- description: z.ZodOptional<z.ZodString>;
33
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34
- integrationId: z.ZodOptional<z.ZodString>;
35
- parentId: z.ZodOptional<z.ZodString>;
36
- } & {
37
- name: z.ZodString;
38
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
39
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
40
- revision: z.ZodOptional<z.ZodString>;
41
- createdAt: z.ZodOptional<z.ZodString>;
42
- updatedAt: z.ZodOptional<z.ZodString>;
43
- archivedAt: z.ZodOptional<z.ZodString>;
44
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
45
- isCustomized: z.ZodOptional<z.ZodBoolean>;
46
- } & {
47
- publishedRevision: z.ZodOptional<z.ZodString>;
48
- universalDataSourceId: z.ZodOptional<z.ZodString>;
49
- universalDataSourceRevision: z.ZodOptional<z.ZodString>;
50
- udm: z.ZodOptional<z.ZodString>;
51
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
52
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
53
- collectionKey: z.ZodOptional<z.ZodString>;
54
- collectionParameters: z.ZodOptional<z.ZodAny>;
55
- defaultPath: z.ZodOptional<z.ZodString>;
56
- }, "strip", z.ZodTypeAny, {
57
- id: string;
58
- name: string;
59
- key?: string | undefined;
60
- uuid?: string | undefined;
61
- description?: string | undefined;
62
- meta?: Record<string, any> | undefined;
63
- state?: import("../../types").WorkspaceElementState | undefined;
64
- errors?: import("../../..").ErrorDataSchema[] | undefined;
65
- revision?: string | undefined;
66
- createdAt?: string | undefined;
67
- updatedAt?: string | undefined;
68
- archivedAt?: string | undefined;
69
- isDeactivated?: boolean | undefined;
70
- integrationId?: string | undefined;
71
- parentId?: string | undefined;
72
- isCustomized?: boolean | undefined;
73
- publishedRevision?: string | undefined;
74
- udm?: string | undefined;
75
- universalDataSourceId?: string | undefined;
76
- collectionKey?: string | undefined;
77
- collectionParameters?: any;
78
- pullUpdatesIntervalSeconds?: number | undefined;
79
- fullSyncIntervalSeconds?: number | undefined;
80
- defaultPath?: string | undefined;
81
- universalDataSourceRevision?: string | undefined;
82
- }, {
83
- id: string;
84
- name: string;
85
- key?: string | undefined;
86
- uuid?: string | undefined;
87
- description?: string | undefined;
88
- meta?: Record<string, any> | undefined;
89
- state?: import("../../types").WorkspaceElementState | undefined;
90
- errors?: import("../../..").ErrorDataSchema[] | undefined;
91
- revision?: string | undefined;
92
- createdAt?: string | undefined;
93
- updatedAt?: string | undefined;
94
- archivedAt?: string | undefined;
95
- isDeactivated?: boolean | undefined;
96
- integrationId?: string | undefined;
97
- parentId?: string | undefined;
98
- isCustomized?: boolean | undefined;
99
- publishedRevision?: string | undefined;
100
- udm?: string | undefined;
101
- universalDataSourceId?: string | undefined;
102
- collectionKey?: string | undefined;
103
- collectionParameters?: any;
104
- pullUpdatesIntervalSeconds?: number | undefined;
105
- fullSyncIntervalSeconds?: number | undefined;
106
- defaultPath?: string | undefined;
107
- universalDataSourceRevision?: string | undefined;
108
- }>;
109
- export type BaseDataSource = z.infer<typeof BaseDataSource>;
@@ -1,136 +0,0 @@
1
- import { z } from 'zod';
2
- import { DataSchema } from '../../../data-schema';
3
- export declare enum FieldMappingDirection {
4
- IMPORT = "import",
5
- EXPORT = "export",
6
- BOTH = "both"
7
- }
8
- export declare const BaseFieldMapping: z.ZodObject<{
9
- id: z.ZodString;
10
- key: z.ZodOptional<z.ZodString>;
11
- uuid: z.ZodOptional<z.ZodString>;
12
- description: z.ZodOptional<z.ZodString>;
13
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14
- integrationId: z.ZodOptional<z.ZodString>;
15
- parentId: z.ZodOptional<z.ZodString>;
16
- } & {
17
- name: z.ZodString;
18
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
19
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
20
- revision: z.ZodOptional<z.ZodString>;
21
- createdAt: z.ZodOptional<z.ZodString>;
22
- updatedAt: z.ZodOptional<z.ZodString>;
23
- archivedAt: z.ZodOptional<z.ZodString>;
24
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
25
- isCustomized: z.ZodOptional<z.ZodBoolean>;
26
- } & {
27
- publishedRevision: z.ZodOptional<z.ZodString>;
28
- universalFieldMappingId: z.ZodOptional<z.ZodString>;
29
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
30
- dataSourceId: z.ZodOptional<z.ZodString>;
31
- dataSourceKey: z.ZodOptional<z.ZodString>;
32
- appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
33
- direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
34
- defaultImportValue: z.ZodOptional<z.ZodAny>;
35
- defaultExportValue: z.ZodOptional<z.ZodAny>;
36
- importValue: z.ZodOptional<z.ZodAny>;
37
- exportValue: z.ZodOptional<z.ZodAny>;
38
- frozenImportFields: z.ZodOptional<z.ZodAny>;
39
- frozenExportFields: z.ZodOptional<z.ZodAny>;
40
- frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
41
- }, "strip", z.ZodTypeAny, {
42
- id: string;
43
- name: string;
44
- key?: string | undefined;
45
- uuid?: string | undefined;
46
- description?: string | undefined;
47
- meta?: Record<string, any> | undefined;
48
- state?: import("../../types").WorkspaceElementState | undefined;
49
- errors?: import("../../..").ErrorDataSchema[] | undefined;
50
- revision?: string | undefined;
51
- createdAt?: string | undefined;
52
- updatedAt?: string | undefined;
53
- archivedAt?: string | undefined;
54
- isDeactivated?: boolean | undefined;
55
- integrationId?: string | undefined;
56
- parentId?: string | undefined;
57
- isCustomized?: boolean | undefined;
58
- publishedRevision?: string | undefined;
59
- universalFieldMappingId?: string | undefined;
60
- universalFieldMappingRevision?: string | undefined;
61
- dataSourceId?: string | undefined;
62
- dataSourceKey?: string | undefined;
63
- appSchema?: DataSchema | undefined;
64
- direction?: FieldMappingDirection | undefined;
65
- defaultImportValue?: any;
66
- defaultExportValue?: any;
67
- importValue?: any;
68
- exportValue?: any;
69
- frozenImportFields?: any;
70
- frozenExportFields?: any;
71
- frozenUnifiedExportFields?: any;
72
- }, {
73
- id: string;
74
- name: string;
75
- key?: string | undefined;
76
- uuid?: string | undefined;
77
- description?: string | undefined;
78
- meta?: Record<string, any> | undefined;
79
- state?: import("../../types").WorkspaceElementState | undefined;
80
- errors?: import("../../..").ErrorDataSchema[] | undefined;
81
- revision?: string | undefined;
82
- createdAt?: string | undefined;
83
- updatedAt?: string | undefined;
84
- archivedAt?: string | undefined;
85
- isDeactivated?: boolean | undefined;
86
- integrationId?: string | undefined;
87
- parentId?: string | undefined;
88
- isCustomized?: boolean | undefined;
89
- publishedRevision?: string | undefined;
90
- universalFieldMappingId?: string | undefined;
91
- universalFieldMappingRevision?: string | undefined;
92
- dataSourceId?: string | undefined;
93
- dataSourceKey?: string | undefined;
94
- appSchema?: DataSchema | undefined;
95
- direction?: FieldMappingDirection | undefined;
96
- defaultImportValue?: any;
97
- defaultExportValue?: any;
98
- importValue?: any;
99
- exportValue?: any;
100
- frozenImportFields?: any;
101
- frozenExportFields?: any;
102
- frozenUnifiedExportFields?: any;
103
- }>;
104
- export type BaseFieldMapping = z.infer<typeof BaseFieldMapping>;
105
- export declare const FieldMappingUnitConfig: z.ZodObject<{
106
- key: z.ZodOptional<z.ZodString>;
107
- input: z.ZodOptional<z.ZodAny>;
108
- includeRawFields: z.ZodOptional<z.ZodAny>;
109
- importValue: z.ZodOptional<z.ZodAny>;
110
- exportValue: z.ZodOptional<z.ZodAny>;
111
- default: z.ZodOptional<z.ZodAny>;
112
- defaultUnifiedValue: z.ZodOptional<z.ZodAny>;
113
- defaultValue: z.ZodOptional<z.ZodAny>;
114
- appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
115
- }, "strip", z.ZodTypeAny, {
116
- key?: string | undefined;
117
- default?: any;
118
- appSchema?: DataSchema | undefined;
119
- importValue?: any;
120
- exportValue?: any;
121
- input?: any;
122
- includeRawFields?: any;
123
- defaultUnifiedValue?: any;
124
- defaultValue?: any;
125
- }, {
126
- key?: string | undefined;
127
- default?: any;
128
- appSchema?: DataSchema | undefined;
129
- importValue?: any;
130
- exportValue?: any;
131
- input?: any;
132
- includeRawFields?: any;
133
- defaultUnifiedValue?: any;
134
- defaultValue?: any;
135
- }>;
136
- export type FieldMappingUnitConfig = z.infer<typeof FieldMappingUnitConfig>;
@@ -1,248 +0,0 @@
1
- import { z } from 'zod';
2
- import { DataSchema } from '../../../data-schema';
3
- export declare const FlowNodeLink: z.ZodObject<{
4
- key: z.ZodOptional<z.ZodString>;
5
- filter: z.ZodOptional<z.ZodAny>;
6
- name: z.ZodOptional<z.ZodString>;
7
- }, "strip", z.ZodTypeAny, {
8
- key?: string | undefined;
9
- filter?: any;
10
- name?: string | undefined;
11
- }, {
12
- key?: string | undefined;
13
- filter?: any;
14
- name?: string | undefined;
15
- }>;
16
- export type FlowNodeLink = z.infer<typeof FlowNodeLink>;
17
- export declare const FlowNode: z.ZodObject<{
18
- type: z.ZodOptional<z.ZodString>;
19
- version: z.ZodOptional<z.ZodNumber>;
20
- name: z.ZodOptional<z.ZodString>;
21
- description: z.ZodOptional<z.ZodString>;
22
- config: z.ZodOptional<z.ZodAny>;
23
- concurrency: z.ZodOptional<z.ZodNumber>;
24
- onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
25
- ui: z.ZodOptional<z.ZodAny>;
26
- inputSchema: z.ZodOptional<z.ZodAny>;
27
- outputSchema: z.ZodOptional<z.ZodAny>;
28
- outputExample: z.ZodOptional<z.ZodAny>;
29
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
- key: z.ZodOptional<z.ZodString>;
31
- filter: z.ZodOptional<z.ZodAny>;
32
- name: z.ZodOptional<z.ZodString>;
33
- }, "strip", z.ZodTypeAny, {
34
- key?: string | undefined;
35
- filter?: any;
36
- name?: string | undefined;
37
- }, {
38
- key?: string | undefined;
39
- filter?: any;
40
- name?: string | undefined;
41
- }>, "many">>;
42
- isCustomized: z.ZodOptional<z.ZodBoolean>;
43
- }, "strip", z.ZodTypeAny, {
44
- concurrency?: number | undefined;
45
- type?: string | undefined;
46
- name?: string | undefined;
47
- description?: string | undefined;
48
- isCustomized?: boolean | undefined;
49
- inputSchema?: any;
50
- config?: any;
51
- outputSchema?: any;
52
- version?: number | undefined;
53
- onError?: "stop" | "continue" | undefined;
54
- ui?: any;
55
- outputExample?: any;
56
- links?: {
57
- key?: string | undefined;
58
- filter?: any;
59
- name?: string | undefined;
60
- }[] | undefined;
61
- }, {
62
- concurrency?: number | undefined;
63
- type?: string | undefined;
64
- name?: string | undefined;
65
- description?: string | undefined;
66
- isCustomized?: boolean | undefined;
67
- inputSchema?: any;
68
- config?: any;
69
- outputSchema?: any;
70
- version?: number | undefined;
71
- onError?: "stop" | "continue" | undefined;
72
- ui?: any;
73
- outputExample?: any;
74
- links?: {
75
- key?: string | undefined;
76
- filter?: any;
77
- name?: string | undefined;
78
- }[] | undefined;
79
- }>;
80
- export type FlowNode = z.infer<typeof FlowNode>;
81
- export declare const BaseFlow: z.ZodObject<{
82
- id: z.ZodString;
83
- key: z.ZodOptional<z.ZodString>;
84
- uuid: z.ZodOptional<z.ZodString>;
85
- description: z.ZodOptional<z.ZodString>;
86
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
87
- integrationId: z.ZodOptional<z.ZodString>;
88
- parentId: z.ZodOptional<z.ZodString>;
89
- } & {
90
- name: z.ZodString;
91
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
92
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
93
- revision: z.ZodOptional<z.ZodString>;
94
- createdAt: z.ZodOptional<z.ZodString>;
95
- updatedAt: z.ZodOptional<z.ZodString>;
96
- archivedAt: z.ZodOptional<z.ZodString>;
97
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
98
- isCustomized: z.ZodOptional<z.ZodBoolean>;
99
- } & {
100
- universalFlowId: z.ZodOptional<z.ZodString>;
101
- universalFlowRevision: z.ZodOptional<z.ZodString>;
102
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
103
- nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
104
- type: z.ZodOptional<z.ZodString>;
105
- version: z.ZodOptional<z.ZodNumber>;
106
- name: z.ZodOptional<z.ZodString>;
107
- description: z.ZodOptional<z.ZodString>;
108
- config: z.ZodOptional<z.ZodAny>;
109
- concurrency: z.ZodOptional<z.ZodNumber>;
110
- onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
111
- ui: z.ZodOptional<z.ZodAny>;
112
- inputSchema: z.ZodOptional<z.ZodAny>;
113
- outputSchema: z.ZodOptional<z.ZodAny>;
114
- outputExample: z.ZodOptional<z.ZodAny>;
115
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
116
- key: z.ZodOptional<z.ZodString>;
117
- filter: z.ZodOptional<z.ZodAny>;
118
- name: z.ZodOptional<z.ZodString>;
119
- }, "strip", z.ZodTypeAny, {
120
- key?: string | undefined;
121
- filter?: any;
122
- name?: string | undefined;
123
- }, {
124
- key?: string | undefined;
125
- filter?: any;
126
- name?: string | undefined;
127
- }>, "many">>;
128
- isCustomized: z.ZodOptional<z.ZodBoolean>;
129
- }, "strip", z.ZodTypeAny, {
130
- concurrency?: number | undefined;
131
- type?: string | undefined;
132
- name?: string | undefined;
133
- description?: string | undefined;
134
- isCustomized?: boolean | undefined;
135
- inputSchema?: any;
136
- config?: any;
137
- outputSchema?: any;
138
- version?: number | undefined;
139
- onError?: "stop" | "continue" | undefined;
140
- ui?: any;
141
- outputExample?: any;
142
- links?: {
143
- key?: string | undefined;
144
- filter?: any;
145
- name?: string | undefined;
146
- }[] | undefined;
147
- }, {
148
- concurrency?: number | undefined;
149
- type?: string | undefined;
150
- name?: string | undefined;
151
- description?: string | undefined;
152
- isCustomized?: boolean | undefined;
153
- inputSchema?: any;
154
- config?: any;
155
- outputSchema?: any;
156
- version?: number | undefined;
157
- onError?: "stop" | "continue" | undefined;
158
- ui?: any;
159
- outputExample?: any;
160
- links?: {
161
- key?: string | undefined;
162
- filter?: any;
163
- name?: string | undefined;
164
- }[] | undefined;
165
- }>>>;
166
- autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
167
- }, "strip", z.ZodTypeAny, {
168
- id: string;
169
- name: string;
170
- key?: string | undefined;
171
- uuid?: string | undefined;
172
- description?: string | undefined;
173
- meta?: Record<string, any> | undefined;
174
- state?: import("../../types").WorkspaceElementState | undefined;
175
- errors?: import("../../..").ErrorDataSchema[] | undefined;
176
- revision?: string | undefined;
177
- createdAt?: string | undefined;
178
- updatedAt?: string | undefined;
179
- archivedAt?: string | undefined;
180
- isDeactivated?: boolean | undefined;
181
- integrationId?: string | undefined;
182
- parentId?: string | undefined;
183
- isCustomized?: boolean | undefined;
184
- parametersSchema?: DataSchema | undefined;
185
- universalFlowId?: string | undefined;
186
- universalFlowRevision?: string | undefined;
187
- nodes?: Record<string, {
188
- concurrency?: number | undefined;
189
- type?: string | undefined;
190
- name?: string | undefined;
191
- description?: string | undefined;
192
- isCustomized?: boolean | undefined;
193
- inputSchema?: any;
194
- config?: any;
195
- outputSchema?: any;
196
- version?: number | undefined;
197
- onError?: "stop" | "continue" | undefined;
198
- ui?: any;
199
- outputExample?: any;
200
- links?: {
201
- key?: string | undefined;
202
- filter?: any;
203
- name?: string | undefined;
204
- }[] | undefined;
205
- }> | undefined;
206
- autoCreateInstances?: boolean | undefined;
207
- }, {
208
- id: string;
209
- name: string;
210
- key?: string | undefined;
211
- uuid?: string | undefined;
212
- description?: string | undefined;
213
- meta?: Record<string, any> | undefined;
214
- state?: import("../../types").WorkspaceElementState | undefined;
215
- errors?: import("../../..").ErrorDataSchema[] | undefined;
216
- revision?: string | undefined;
217
- createdAt?: string | undefined;
218
- updatedAt?: string | undefined;
219
- archivedAt?: string | undefined;
220
- isDeactivated?: boolean | undefined;
221
- integrationId?: string | undefined;
222
- parentId?: string | undefined;
223
- isCustomized?: boolean | undefined;
224
- parametersSchema?: DataSchema | undefined;
225
- universalFlowId?: string | undefined;
226
- universalFlowRevision?: string | undefined;
227
- nodes?: Record<string, {
228
- concurrency?: number | undefined;
229
- type?: string | undefined;
230
- name?: string | undefined;
231
- description?: string | undefined;
232
- isCustomized?: boolean | undefined;
233
- inputSchema?: any;
234
- config?: any;
235
- outputSchema?: any;
236
- version?: number | undefined;
237
- onError?: "stop" | "continue" | undefined;
238
- ui?: any;
239
- outputExample?: any;
240
- links?: {
241
- key?: string | undefined;
242
- filter?: any;
243
- name?: string | undefined;
244
- }[] | undefined;
245
- }> | undefined;
246
- autoCreateInstances?: boolean | undefined;
247
- }>;
248
- export type BaseFlow = z.infer<typeof BaseFlow>;