@membranehq/sdk 0.7.1 → 0.7.4
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.
- package/dist/bundle.d.ts +5200 -4617
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -43
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +474 -441
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +144 -124
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +250 -118
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +122 -98
- package/dist/dts/workspace-elements/api/flows-api.d.ts +965 -826
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +9 -6
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +8 -5
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.d.ts → index.browser.d.mts} +17282 -16311
- package/dist/{index.module.d.mts → index.browser.d.ts} +17282 -16311
- package/dist/{index.js → index.browser.js} +228 -255
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +218 -250
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +28306 -0
- package/dist/index.node.d.ts +28306 -0
- package/dist/index.node.js +13329 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12853 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -102
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -129
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -241
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -1,58 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { IntegrationSpecificElementSelector } from '../../accessors';
|
|
3
|
-
import { DataSchema } from '../../data-schema';
|
|
4
|
-
import { CommonListElementsQuery } from '../../entity-repository';
|
|
5
|
-
import { FieldMappingDirection } from '../base/field-mappings';
|
|
6
|
-
export interface ListFieldMappingsForIntegrationQuery extends CommonListElementsQuery {
|
|
7
|
-
universalFieldMappingId?: string | 'null';
|
|
8
|
-
}
|
|
9
|
-
export interface FindFieldMappingsQuery extends ListFieldMappingsForIntegrationQuery {
|
|
10
|
-
integrationId?: string | 'null';
|
|
11
|
-
}
|
|
12
|
-
export interface UpdateFieldMappingRequest {
|
|
13
|
-
key?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
dataSourceKey?: string;
|
|
16
|
-
dataSourceId?: string;
|
|
17
|
-
appSchema?: DataSchema;
|
|
18
|
-
direction?: FieldMappingDirection;
|
|
19
|
-
defaultImportValue?: any;
|
|
20
|
-
exportValue?: any;
|
|
21
|
-
importValue?: any;
|
|
22
|
-
defaultExportValue?: any;
|
|
23
|
-
frozenImportFields?: any;
|
|
24
|
-
frozenExportFields?: any;
|
|
25
|
-
frozenUnifiedExportFields?: any;
|
|
26
|
-
archivedAt?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface CreateFieldMappingRequest extends UpdateFieldMappingRequest {
|
|
29
|
-
key: string;
|
|
30
|
-
name: string;
|
|
31
|
-
integrationId?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
|
|
34
|
-
}
|
|
35
3
|
export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
36
4
|
id: z.ZodString;
|
|
37
5
|
key: z.ZodOptional<z.ZodString>;
|
|
38
6
|
uuid: z.ZodOptional<z.ZodString>;
|
|
39
7
|
description: z.ZodOptional<z.ZodString>;
|
|
40
|
-
|
|
41
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
42
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
43
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
44
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
45
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
} & {
|
|
47
|
-
revision: z.ZodString;
|
|
48
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
49
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
50
|
-
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
8
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
51
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
52
|
-
|
|
10
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
53
11
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
54
|
-
|
|
55
|
-
|
|
12
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
14
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
56
15
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
57
16
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
58
17
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -60,14 +19,24 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
60
19
|
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
61
20
|
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
62
21
|
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
} & {
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
25
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
26
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
27
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
28
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
63
29
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
64
|
-
|
|
30
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
65
33
|
} & {
|
|
66
34
|
integration: z.ZodOptional<z.ZodObject<{
|
|
67
35
|
id: z.ZodString;
|
|
68
36
|
key: z.ZodOptional<z.ZodString>;
|
|
69
37
|
uuid: z.ZodOptional<z.ZodString>;
|
|
70
38
|
description: z.ZodOptional<z.ZodString>;
|
|
39
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
71
40
|
name: z.ZodString;
|
|
72
41
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
73
42
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
@@ -102,6 +71,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
102
71
|
key?: string | undefined;
|
|
103
72
|
uuid?: string | undefined;
|
|
104
73
|
description?: string | undefined;
|
|
74
|
+
meta?: Record<string, any> | undefined;
|
|
105
75
|
state?: import("..").WorkspaceElementState | undefined;
|
|
106
76
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
107
77
|
revision?: string | undefined;
|
|
@@ -133,6 +103,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
133
103
|
key?: string | undefined;
|
|
134
104
|
uuid?: string | undefined;
|
|
135
105
|
description?: string | undefined;
|
|
106
|
+
meta?: Record<string, any> | undefined;
|
|
136
107
|
state?: import("..").WorkspaceElementState | undefined;
|
|
137
108
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
138
109
|
revision?: string | undefined;
|
|
@@ -164,22 +135,13 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
164
135
|
key: z.ZodOptional<z.ZodString>;
|
|
165
136
|
uuid: z.ZodOptional<z.ZodString>;
|
|
166
137
|
description: z.ZodOptional<z.ZodString>;
|
|
167
|
-
|
|
168
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
169
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
170
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
171
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
172
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
-
} & {
|
|
174
|
-
revision: z.ZodString;
|
|
175
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
176
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
177
|
-
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
138
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
178
139
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
179
|
-
|
|
140
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
180
141
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
181
|
-
|
|
182
|
-
|
|
142
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
144
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
183
145
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
184
146
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
185
147
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -187,29 +149,38 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
187
149
|
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
188
150
|
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
189
151
|
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
152
|
+
} & {
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
155
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
156
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
157
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
158
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
190
159
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
191
|
-
|
|
160
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
192
163
|
}, "strip", z.ZodTypeAny, {
|
|
193
164
|
id: string;
|
|
194
165
|
name: string;
|
|
195
|
-
revision: string;
|
|
196
166
|
key?: string | undefined;
|
|
197
167
|
uuid?: string | undefined;
|
|
198
168
|
description?: string | undefined;
|
|
169
|
+
meta?: Record<string, any> | undefined;
|
|
199
170
|
state?: import("..").WorkspaceElementState | undefined;
|
|
200
171
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
172
|
+
revision?: string | undefined;
|
|
201
173
|
createdAt?: string | undefined;
|
|
202
174
|
updatedAt?: string | undefined;
|
|
203
175
|
archivedAt?: string | undefined;
|
|
204
176
|
isDeactivated?: boolean | undefined;
|
|
205
177
|
integrationId?: string | undefined;
|
|
206
|
-
|
|
178
|
+
isCustomized?: boolean | undefined;
|
|
207
179
|
universalFieldMappingId?: string | undefined;
|
|
208
|
-
universalFieldMappingRevision?: string | undefined;
|
|
209
|
-
dataSourceId?: string | undefined;
|
|
210
180
|
dataSourceKey?: string | undefined;
|
|
211
|
-
|
|
212
|
-
|
|
181
|
+
dataSourceId?: string | undefined;
|
|
182
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
183
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
213
184
|
defaultImportValue?: any;
|
|
214
185
|
defaultExportValue?: any;
|
|
215
186
|
importValue?: any;
|
|
@@ -217,28 +188,28 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
217
188
|
frozenImportFields?: any;
|
|
218
189
|
frozenExportFields?: any;
|
|
219
190
|
frozenUnifiedExportFields?: any;
|
|
220
|
-
|
|
191
|
+
universalFieldMappingRevision?: string | undefined;
|
|
221
192
|
}, {
|
|
222
193
|
id: string;
|
|
223
194
|
name: string;
|
|
224
|
-
revision: string;
|
|
225
195
|
key?: string | undefined;
|
|
226
196
|
uuid?: string | undefined;
|
|
227
197
|
description?: string | undefined;
|
|
198
|
+
meta?: Record<string, any> | undefined;
|
|
228
199
|
state?: import("..").WorkspaceElementState | undefined;
|
|
229
200
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
201
|
+
revision?: string | undefined;
|
|
230
202
|
createdAt?: string | undefined;
|
|
231
203
|
updatedAt?: string | undefined;
|
|
232
204
|
archivedAt?: string | undefined;
|
|
233
205
|
isDeactivated?: boolean | undefined;
|
|
234
206
|
integrationId?: string | undefined;
|
|
235
|
-
|
|
207
|
+
isCustomized?: boolean | undefined;
|
|
236
208
|
universalFieldMappingId?: string | undefined;
|
|
237
|
-
universalFieldMappingRevision?: string | undefined;
|
|
238
|
-
dataSourceId?: string | undefined;
|
|
239
209
|
dataSourceKey?: string | undefined;
|
|
240
|
-
|
|
241
|
-
|
|
210
|
+
dataSourceId?: string | undefined;
|
|
211
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
212
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
242
213
|
defaultImportValue?: any;
|
|
243
214
|
defaultExportValue?: any;
|
|
244
215
|
importValue?: any;
|
|
@@ -246,13 +217,14 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
246
217
|
frozenImportFields?: any;
|
|
247
218
|
frozenExportFields?: any;
|
|
248
219
|
frozenUnifiedExportFields?: any;
|
|
249
|
-
|
|
220
|
+
universalFieldMappingRevision?: string | undefined;
|
|
250
221
|
}>;
|
|
251
222
|
integration: z.ZodObject<{
|
|
252
223
|
id: z.ZodString;
|
|
253
224
|
key: z.ZodOptional<z.ZodString>;
|
|
254
225
|
uuid: z.ZodOptional<z.ZodString>;
|
|
255
226
|
description: z.ZodOptional<z.ZodString>;
|
|
227
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
256
228
|
name: z.ZodString;
|
|
257
229
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
258
230
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
@@ -287,6 +259,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
287
259
|
key?: string | undefined;
|
|
288
260
|
uuid?: string | undefined;
|
|
289
261
|
description?: string | undefined;
|
|
262
|
+
meta?: Record<string, any> | undefined;
|
|
290
263
|
state?: import("..").WorkspaceElementState | undefined;
|
|
291
264
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
292
265
|
revision?: string | undefined;
|
|
@@ -318,6 +291,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
318
291
|
key?: string | undefined;
|
|
319
292
|
uuid?: string | undefined;
|
|
320
293
|
description?: string | undefined;
|
|
294
|
+
meta?: Record<string, any> | undefined;
|
|
321
295
|
state?: import("..").WorkspaceElementState | undefined;
|
|
322
296
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
323
297
|
revision?: string | undefined;
|
|
@@ -351,6 +325,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
351
325
|
key?: string | undefined;
|
|
352
326
|
uuid?: string | undefined;
|
|
353
327
|
description?: string | undefined;
|
|
328
|
+
meta?: Record<string, any> | undefined;
|
|
354
329
|
state?: import("..").WorkspaceElementState | undefined;
|
|
355
330
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
356
331
|
revision?: string | undefined;
|
|
@@ -379,24 +354,24 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
379
354
|
element: {
|
|
380
355
|
id: string;
|
|
381
356
|
name: string;
|
|
382
|
-
revision: string;
|
|
383
357
|
key?: string | undefined;
|
|
384
358
|
uuid?: string | undefined;
|
|
385
359
|
description?: string | undefined;
|
|
360
|
+
meta?: Record<string, any> | undefined;
|
|
386
361
|
state?: import("..").WorkspaceElementState | undefined;
|
|
387
362
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
363
|
+
revision?: string | undefined;
|
|
388
364
|
createdAt?: string | undefined;
|
|
389
365
|
updatedAt?: string | undefined;
|
|
390
366
|
archivedAt?: string | undefined;
|
|
391
367
|
isDeactivated?: boolean | undefined;
|
|
392
368
|
integrationId?: string | undefined;
|
|
393
|
-
|
|
369
|
+
isCustomized?: boolean | undefined;
|
|
394
370
|
universalFieldMappingId?: string | undefined;
|
|
395
|
-
universalFieldMappingRevision?: string | undefined;
|
|
396
|
-
dataSourceId?: string | undefined;
|
|
397
371
|
dataSourceKey?: string | undefined;
|
|
398
|
-
|
|
399
|
-
|
|
372
|
+
dataSourceId?: string | undefined;
|
|
373
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
374
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
400
375
|
defaultImportValue?: any;
|
|
401
376
|
defaultExportValue?: any;
|
|
402
377
|
importValue?: any;
|
|
@@ -404,7 +379,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
404
379
|
frozenImportFields?: any;
|
|
405
380
|
frozenExportFields?: any;
|
|
406
381
|
frozenUnifiedExportFields?: any;
|
|
407
|
-
|
|
382
|
+
universalFieldMappingRevision?: string | undefined;
|
|
408
383
|
};
|
|
409
384
|
}, {
|
|
410
385
|
integration: {
|
|
@@ -414,6 +389,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
414
389
|
key?: string | undefined;
|
|
415
390
|
uuid?: string | undefined;
|
|
416
391
|
description?: string | undefined;
|
|
392
|
+
meta?: Record<string, any> | undefined;
|
|
417
393
|
state?: import("..").WorkspaceElementState | undefined;
|
|
418
394
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
419
395
|
revision?: string | undefined;
|
|
@@ -442,24 +418,24 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
442
418
|
element: {
|
|
443
419
|
id: string;
|
|
444
420
|
name: string;
|
|
445
|
-
revision: string;
|
|
446
421
|
key?: string | undefined;
|
|
447
422
|
uuid?: string | undefined;
|
|
448
423
|
description?: string | undefined;
|
|
424
|
+
meta?: Record<string, any> | undefined;
|
|
449
425
|
state?: import("..").WorkspaceElementState | undefined;
|
|
450
426
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
427
|
+
revision?: string | undefined;
|
|
451
428
|
createdAt?: string | undefined;
|
|
452
429
|
updatedAt?: string | undefined;
|
|
453
430
|
archivedAt?: string | undefined;
|
|
454
431
|
isDeactivated?: boolean | undefined;
|
|
455
432
|
integrationId?: string | undefined;
|
|
456
|
-
|
|
433
|
+
isCustomized?: boolean | undefined;
|
|
457
434
|
universalFieldMappingId?: string | undefined;
|
|
458
|
-
universalFieldMappingRevision?: string | undefined;
|
|
459
|
-
dataSourceId?: string | undefined;
|
|
460
435
|
dataSourceKey?: string | undefined;
|
|
461
|
-
|
|
462
|
-
|
|
436
|
+
dataSourceId?: string | undefined;
|
|
437
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
438
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
463
439
|
defaultImportValue?: any;
|
|
464
440
|
defaultExportValue?: any;
|
|
465
441
|
importValue?: any;
|
|
@@ -467,13 +443,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
467
443
|
frozenImportFields?: any;
|
|
468
444
|
frozenExportFields?: any;
|
|
469
445
|
frozenUnifiedExportFields?: any;
|
|
470
|
-
|
|
446
|
+
universalFieldMappingRevision?: string | undefined;
|
|
471
447
|
};
|
|
472
448
|
}>, "many">>;
|
|
473
449
|
}, "strip", z.ZodTypeAny, {
|
|
474
450
|
id: string;
|
|
475
451
|
name: string;
|
|
476
|
-
revision: string;
|
|
477
452
|
key?: string | undefined;
|
|
478
453
|
integration?: {
|
|
479
454
|
id: string;
|
|
@@ -482,6 +457,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
482
457
|
key?: string | undefined;
|
|
483
458
|
uuid?: string | undefined;
|
|
484
459
|
description?: string | undefined;
|
|
460
|
+
meta?: Record<string, any> | undefined;
|
|
485
461
|
state?: import("..").WorkspaceElementState | undefined;
|
|
486
462
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
487
463
|
revision?: string | undefined;
|
|
@@ -509,20 +485,21 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
509
485
|
} | undefined;
|
|
510
486
|
uuid?: string | undefined;
|
|
511
487
|
description?: string | undefined;
|
|
488
|
+
meta?: Record<string, any> | undefined;
|
|
512
489
|
state?: import("..").WorkspaceElementState | undefined;
|
|
513
490
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
491
|
+
revision?: string | undefined;
|
|
514
492
|
createdAt?: string | undefined;
|
|
515
493
|
updatedAt?: string | undefined;
|
|
516
494
|
archivedAt?: string | undefined;
|
|
517
495
|
isDeactivated?: boolean | undefined;
|
|
518
496
|
integrationId?: string | undefined;
|
|
519
|
-
|
|
497
|
+
isCustomized?: boolean | undefined;
|
|
520
498
|
universalFieldMappingId?: string | undefined;
|
|
521
|
-
universalFieldMappingRevision?: string | undefined;
|
|
522
|
-
dataSourceId?: string | undefined;
|
|
523
499
|
dataSourceKey?: string | undefined;
|
|
524
|
-
|
|
525
|
-
|
|
500
|
+
dataSourceId?: string | undefined;
|
|
501
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
502
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
526
503
|
defaultImportValue?: any;
|
|
527
504
|
defaultExportValue?: any;
|
|
528
505
|
importValue?: any;
|
|
@@ -530,7 +507,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
530
507
|
frozenImportFields?: any;
|
|
531
508
|
frozenExportFields?: any;
|
|
532
509
|
frozenUnifiedExportFields?: any;
|
|
533
|
-
|
|
510
|
+
universalFieldMappingRevision?: string | undefined;
|
|
534
511
|
appliedToIntegrations?: {
|
|
535
512
|
integration: {
|
|
536
513
|
id: string;
|
|
@@ -539,6 +516,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
539
516
|
key?: string | undefined;
|
|
540
517
|
uuid?: string | undefined;
|
|
541
518
|
description?: string | undefined;
|
|
519
|
+
meta?: Record<string, any> | undefined;
|
|
542
520
|
state?: import("..").WorkspaceElementState | undefined;
|
|
543
521
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
544
522
|
revision?: string | undefined;
|
|
@@ -567,24 +545,24 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
567
545
|
element: {
|
|
568
546
|
id: string;
|
|
569
547
|
name: string;
|
|
570
|
-
revision: string;
|
|
571
548
|
key?: string | undefined;
|
|
572
549
|
uuid?: string | undefined;
|
|
573
550
|
description?: string | undefined;
|
|
551
|
+
meta?: Record<string, any> | undefined;
|
|
574
552
|
state?: import("..").WorkspaceElementState | undefined;
|
|
575
553
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
554
|
+
revision?: string | undefined;
|
|
576
555
|
createdAt?: string | undefined;
|
|
577
556
|
updatedAt?: string | undefined;
|
|
578
557
|
archivedAt?: string | undefined;
|
|
579
558
|
isDeactivated?: boolean | undefined;
|
|
580
559
|
integrationId?: string | undefined;
|
|
581
|
-
|
|
560
|
+
isCustomized?: boolean | undefined;
|
|
582
561
|
universalFieldMappingId?: string | undefined;
|
|
583
|
-
universalFieldMappingRevision?: string | undefined;
|
|
584
|
-
dataSourceId?: string | undefined;
|
|
585
562
|
dataSourceKey?: string | undefined;
|
|
586
|
-
|
|
587
|
-
|
|
563
|
+
dataSourceId?: string | undefined;
|
|
564
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
565
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
588
566
|
defaultImportValue?: any;
|
|
589
567
|
defaultExportValue?: any;
|
|
590
568
|
importValue?: any;
|
|
@@ -592,13 +570,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
592
570
|
frozenImportFields?: any;
|
|
593
571
|
frozenExportFields?: any;
|
|
594
572
|
frozenUnifiedExportFields?: any;
|
|
595
|
-
|
|
573
|
+
universalFieldMappingRevision?: string | undefined;
|
|
596
574
|
};
|
|
597
575
|
}[] | undefined;
|
|
598
576
|
}, {
|
|
599
577
|
id: string;
|
|
600
578
|
name: string;
|
|
601
|
-
revision: string;
|
|
602
579
|
key?: string | undefined;
|
|
603
580
|
integration?: {
|
|
604
581
|
id: string;
|
|
@@ -607,6 +584,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
607
584
|
key?: string | undefined;
|
|
608
585
|
uuid?: string | undefined;
|
|
609
586
|
description?: string | undefined;
|
|
587
|
+
meta?: Record<string, any> | undefined;
|
|
610
588
|
state?: import("..").WorkspaceElementState | undefined;
|
|
611
589
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
612
590
|
revision?: string | undefined;
|
|
@@ -634,20 +612,21 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
634
612
|
} | undefined;
|
|
635
613
|
uuid?: string | undefined;
|
|
636
614
|
description?: string | undefined;
|
|
615
|
+
meta?: Record<string, any> | undefined;
|
|
637
616
|
state?: import("..").WorkspaceElementState | undefined;
|
|
638
617
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
618
|
+
revision?: string | undefined;
|
|
639
619
|
createdAt?: string | undefined;
|
|
640
620
|
updatedAt?: string | undefined;
|
|
641
621
|
archivedAt?: string | undefined;
|
|
642
622
|
isDeactivated?: boolean | undefined;
|
|
643
623
|
integrationId?: string | undefined;
|
|
644
|
-
|
|
624
|
+
isCustomized?: boolean | undefined;
|
|
645
625
|
universalFieldMappingId?: string | undefined;
|
|
646
|
-
universalFieldMappingRevision?: string | undefined;
|
|
647
|
-
dataSourceId?: string | undefined;
|
|
648
626
|
dataSourceKey?: string | undefined;
|
|
649
|
-
|
|
650
|
-
|
|
627
|
+
dataSourceId?: string | undefined;
|
|
628
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
629
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
651
630
|
defaultImportValue?: any;
|
|
652
631
|
defaultExportValue?: any;
|
|
653
632
|
importValue?: any;
|
|
@@ -655,7 +634,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
655
634
|
frozenImportFields?: any;
|
|
656
635
|
frozenExportFields?: any;
|
|
657
636
|
frozenUnifiedExportFields?: any;
|
|
658
|
-
|
|
637
|
+
universalFieldMappingRevision?: string | undefined;
|
|
659
638
|
appliedToIntegrations?: {
|
|
660
639
|
integration: {
|
|
661
640
|
id: string;
|
|
@@ -664,6 +643,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
664
643
|
key?: string | undefined;
|
|
665
644
|
uuid?: string | undefined;
|
|
666
645
|
description?: string | undefined;
|
|
646
|
+
meta?: Record<string, any> | undefined;
|
|
667
647
|
state?: import("..").WorkspaceElementState | undefined;
|
|
668
648
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
669
649
|
revision?: string | undefined;
|
|
@@ -692,24 +672,24 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
692
672
|
element: {
|
|
693
673
|
id: string;
|
|
694
674
|
name: string;
|
|
695
|
-
revision: string;
|
|
696
675
|
key?: string | undefined;
|
|
697
676
|
uuid?: string | undefined;
|
|
698
677
|
description?: string | undefined;
|
|
678
|
+
meta?: Record<string, any> | undefined;
|
|
699
679
|
state?: import("..").WorkspaceElementState | undefined;
|
|
700
680
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
681
|
+
revision?: string | undefined;
|
|
701
682
|
createdAt?: string | undefined;
|
|
702
683
|
updatedAt?: string | undefined;
|
|
703
684
|
archivedAt?: string | undefined;
|
|
704
685
|
isDeactivated?: boolean | undefined;
|
|
705
686
|
integrationId?: string | undefined;
|
|
706
|
-
|
|
687
|
+
isCustomized?: boolean | undefined;
|
|
707
688
|
universalFieldMappingId?: string | undefined;
|
|
708
|
-
universalFieldMappingRevision?: string | undefined;
|
|
709
|
-
dataSourceId?: string | undefined;
|
|
710
689
|
dataSourceKey?: string | undefined;
|
|
711
|
-
|
|
712
|
-
|
|
690
|
+
dataSourceId?: string | undefined;
|
|
691
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
692
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
713
693
|
defaultImportValue?: any;
|
|
714
694
|
defaultExportValue?: any;
|
|
715
695
|
importValue?: any;
|
|
@@ -717,9 +697,161 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
717
697
|
frozenImportFields?: any;
|
|
718
698
|
frozenExportFields?: any;
|
|
719
699
|
frozenUnifiedExportFields?: any;
|
|
720
|
-
|
|
700
|
+
universalFieldMappingRevision?: string | undefined;
|
|
721
701
|
};
|
|
722
702
|
}[] | undefined;
|
|
723
703
|
}>;
|
|
724
704
|
export type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
725
705
|
export type FieldMapping = FieldMappingApiResponse;
|
|
706
|
+
export declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
707
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
708
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
709
|
+
} & {
|
|
710
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
711
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
712
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
713
|
+
search: z.ZodOptional<z.ZodString>;
|
|
714
|
+
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
search?: string | undefined;
|
|
717
|
+
integrationId?: string | undefined;
|
|
718
|
+
includeArchived?: boolean | undefined;
|
|
719
|
+
limit?: number | undefined;
|
|
720
|
+
cursor?: string | undefined;
|
|
721
|
+
integrationKey?: string | undefined;
|
|
722
|
+
universalFieldMappingId?: string | undefined;
|
|
723
|
+
}, {
|
|
724
|
+
search?: string | undefined;
|
|
725
|
+
integrationId?: string | undefined;
|
|
726
|
+
includeArchived?: unknown;
|
|
727
|
+
limit?: number | undefined;
|
|
728
|
+
cursor?: string | undefined;
|
|
729
|
+
integrationKey?: string | undefined;
|
|
730
|
+
universalFieldMappingId?: string | undefined;
|
|
731
|
+
}>;
|
|
732
|
+
export type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
|
|
733
|
+
export declare const CreateFieldMappingRequest: z.ZodObject<Omit<{
|
|
734
|
+
key: z.ZodOptional<z.ZodString>;
|
|
735
|
+
name: z.ZodOptional<z.ZodString>;
|
|
736
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
737
|
+
description: z.ZodOptional<z.ZodString>;
|
|
738
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
739
|
+
} & {
|
|
740
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
741
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
742
|
+
}, "parentId"> & {
|
|
743
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
744
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
745
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
746
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
747
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
748
|
+
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
749
|
+
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
750
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
751
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
752
|
+
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
753
|
+
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
754
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
key?: string | undefined;
|
|
757
|
+
name?: string | undefined;
|
|
758
|
+
uuid?: string | undefined;
|
|
759
|
+
description?: string | undefined;
|
|
760
|
+
meta?: Record<string, any> | undefined;
|
|
761
|
+
integrationId?: string | undefined;
|
|
762
|
+
universalFieldMappingId?: string | undefined;
|
|
763
|
+
dataSourceKey?: string | undefined;
|
|
764
|
+
dataSourceId?: string | undefined;
|
|
765
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
766
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
767
|
+
defaultImportValue?: any;
|
|
768
|
+
defaultExportValue?: any;
|
|
769
|
+
importValue?: any;
|
|
770
|
+
exportValue?: any;
|
|
771
|
+
frozenImportFields?: any;
|
|
772
|
+
frozenExportFields?: any;
|
|
773
|
+
frozenUnifiedExportFields?: any;
|
|
774
|
+
}, {
|
|
775
|
+
key?: string | undefined;
|
|
776
|
+
name?: string | undefined;
|
|
777
|
+
uuid?: string | undefined;
|
|
778
|
+
description?: string | undefined;
|
|
779
|
+
meta?: Record<string, any> | undefined;
|
|
780
|
+
integrationId?: string | undefined;
|
|
781
|
+
universalFieldMappingId?: string | undefined;
|
|
782
|
+
dataSourceKey?: string | undefined;
|
|
783
|
+
dataSourceId?: string | undefined;
|
|
784
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
785
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
786
|
+
defaultImportValue?: any;
|
|
787
|
+
defaultExportValue?: any;
|
|
788
|
+
importValue?: any;
|
|
789
|
+
exportValue?: any;
|
|
790
|
+
frozenImportFields?: any;
|
|
791
|
+
frozenExportFields?: any;
|
|
792
|
+
frozenUnifiedExportFields?: any;
|
|
793
|
+
}>;
|
|
794
|
+
export type CreateFieldMappingRequest = z.infer<typeof CreateFieldMappingRequest>;
|
|
795
|
+
export declare const UpdateFieldMappingRequest: z.ZodObject<{
|
|
796
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
797
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
798
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
799
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
800
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
801
|
+
integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
802
|
+
universalFieldMappingId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
803
|
+
dataSourceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
804
|
+
dataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
805
|
+
appSchema: z.ZodOptional<z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>>;
|
|
806
|
+
direction: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>>;
|
|
807
|
+
defaultImportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
808
|
+
defaultExportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
809
|
+
importValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
810
|
+
exportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
811
|
+
frozenImportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
812
|
+
frozenExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
813
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
814
|
+
}, "strip", z.ZodTypeAny, {
|
|
815
|
+
key?: string | undefined;
|
|
816
|
+
name?: string | undefined;
|
|
817
|
+
uuid?: string | undefined;
|
|
818
|
+
description?: string | undefined;
|
|
819
|
+
meta?: Record<string, any> | undefined;
|
|
820
|
+
integrationId?: string | undefined;
|
|
821
|
+
universalFieldMappingId?: string | undefined;
|
|
822
|
+
dataSourceKey?: string | undefined;
|
|
823
|
+
dataSourceId?: string | undefined;
|
|
824
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
825
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
826
|
+
defaultImportValue?: any;
|
|
827
|
+
defaultExportValue?: any;
|
|
828
|
+
importValue?: any;
|
|
829
|
+
exportValue?: any;
|
|
830
|
+
frozenImportFields?: any;
|
|
831
|
+
frozenExportFields?: any;
|
|
832
|
+
frozenUnifiedExportFields?: any;
|
|
833
|
+
}, {
|
|
834
|
+
key?: string | undefined;
|
|
835
|
+
name?: string | undefined;
|
|
836
|
+
uuid?: string | undefined;
|
|
837
|
+
description?: string | undefined;
|
|
838
|
+
meta?: Record<string, any> | undefined;
|
|
839
|
+
integrationId?: string | undefined;
|
|
840
|
+
universalFieldMappingId?: string | undefined;
|
|
841
|
+
dataSourceKey?: string | undefined;
|
|
842
|
+
dataSourceId?: string | undefined;
|
|
843
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
844
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
845
|
+
defaultImportValue?: any;
|
|
846
|
+
defaultExportValue?: any;
|
|
847
|
+
importValue?: any;
|
|
848
|
+
exportValue?: any;
|
|
849
|
+
frozenImportFields?: any;
|
|
850
|
+
frozenExportFields?: any;
|
|
851
|
+
frozenUnifiedExportFields?: any;
|
|
852
|
+
}>;
|
|
853
|
+
export type UpdateFieldMappingRequest = z.infer<typeof UpdateFieldMappingRequest>;
|
|
854
|
+
export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
|
|
855
|
+
}
|
|
856
|
+
export interface ListFieldMappingsForIntegrationQuery extends Omit<FindFieldMappingsQuery, 'integrationId' | 'integrationKey'> {
|
|
857
|
+
}
|