@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
@@ -31,6 +31,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
31
31
  key: z.ZodOptional<z.ZodString>;
32
32
  uuid: z.ZodOptional<z.ZodString>;
33
33
  description: z.ZodOptional<z.ZodString>;
34
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34
35
  name: z.ZodString;
35
36
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
36
37
  createdAt: z.ZodOptional<z.ZodString>;
@@ -63,6 +64,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
63
64
  user: z.ZodOptional<z.ZodObject<{
64
65
  id: z.ZodString;
65
66
  name: z.ZodString;
67
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
66
68
  internalId: z.ZodString;
67
69
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
68
70
  credentials: z.ZodOptional<z.ZodAny>;
@@ -75,6 +77,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
75
77
  id: string;
76
78
  name: string;
77
79
  internalId: string;
80
+ meta?: Record<string, any> | undefined;
78
81
  createdAt?: string | undefined;
79
82
  archivedAt?: string | undefined;
80
83
  credentials?: any;
@@ -86,6 +89,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
86
89
  id: string;
87
90
  name: string;
88
91
  internalId: string;
92
+ meta?: Record<string, any> | undefined;
89
93
  createdAt?: string | undefined;
90
94
  archivedAt?: string | undefined;
91
95
  credentials?: any;
@@ -102,6 +106,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
102
106
  isTest: z.ZodOptional<z.ZodBoolean>;
103
107
  disconnected: z.ZodOptional<z.ZodBoolean>;
104
108
  isDefunct: z.ZodOptional<z.ZodBoolean>;
109
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
105
110
  error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
106
111
  integrationId: z.ZodString;
107
112
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -111,24 +116,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
111
116
  nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
112
117
  archivedAt: z.ZodOptional<z.ZodString>;
113
118
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
114
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
115
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
116
119
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
117
120
  }, "strip", z.ZodTypeAny, {
118
121
  id: string;
119
122
  name: string;
120
123
  createdAt: string;
121
124
  updatedAt: string;
122
- userId: string;
123
125
  integrationId: string;
126
+ userId: string;
124
127
  error?: import("../..").ErrorDataSchema | undefined;
128
+ meta?: Record<string, any> | undefined;
125
129
  state?: import("..").WorkspaceElementState | undefined;
126
- errors?: import("../..").ErrorDataSchema[] | undefined;
127
130
  archivedAt?: string | undefined;
128
131
  isDeactivated?: boolean | undefined;
129
132
  authOptionKey?: string | undefined;
130
133
  isTest?: boolean | undefined;
131
- meta?: Record<string, any> | undefined;
132
134
  disconnected?: boolean | undefined;
133
135
  isDefunct?: boolean | undefined;
134
136
  lastActiveAt?: string | undefined;
@@ -138,16 +140,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
138
140
  name: string;
139
141
  createdAt: string;
140
142
  updatedAt: string;
141
- userId: string;
142
143
  integrationId: string;
144
+ userId: string;
143
145
  error?: import("../..").ErrorDataSchema | undefined;
146
+ meta?: Record<string, any> | undefined;
144
147
  state?: import("..").WorkspaceElementState | undefined;
145
- errors?: import("../..").ErrorDataSchema[] | undefined;
146
148
  archivedAt?: string | undefined;
147
149
  isDeactivated?: boolean | undefined;
148
150
  authOptionKey?: string | undefined;
149
151
  isTest?: boolean | undefined;
150
- meta?: Record<string, any> | undefined;
151
152
  disconnected?: boolean | undefined;
152
153
  isDefunct?: boolean | undefined;
153
154
  lastActiveAt?: string | undefined;
@@ -158,6 +159,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
158
159
  key: z.ZodOptional<z.ZodString>;
159
160
  uuid: z.ZodOptional<z.ZodString>;
160
161
  description: z.ZodOptional<z.ZodString>;
162
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
161
163
  name: z.ZodString;
162
164
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
163
165
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -192,6 +194,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
192
194
  key?: string | undefined;
193
195
  uuid?: string | undefined;
194
196
  description?: string | undefined;
197
+ meta?: Record<string, any> | undefined;
195
198
  state?: import("..").WorkspaceElementState | undefined;
196
199
  errors?: import("../..").ErrorDataSchema[] | undefined;
197
200
  revision?: string | undefined;
@@ -223,6 +226,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
223
226
  key?: string | undefined;
224
227
  uuid?: string | undefined;
225
228
  description?: string | undefined;
229
+ meta?: Record<string, any> | undefined;
226
230
  state?: import("..").WorkspaceElementState | undefined;
227
231
  errors?: import("../..").ErrorDataSchema[] | undefined;
228
232
  revision?: string | undefined;
@@ -253,18 +257,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
253
257
  key: z.ZodOptional<z.ZodString>;
254
258
  uuid: z.ZodOptional<z.ZodString>;
255
259
  description: z.ZodOptional<z.ZodString>;
260
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
261
+ integrationId: z.ZodOptional<z.ZodString>;
262
+ parentId: z.ZodOptional<z.ZodString>;
263
+ } & {
256
264
  name: z.ZodString;
257
265
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
258
266
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
267
+ revision: z.ZodOptional<z.ZodString>;
259
268
  createdAt: z.ZodOptional<z.ZodString>;
260
269
  updatedAt: z.ZodOptional<z.ZodString>;
270
+ archivedAt: z.ZodOptional<z.ZodString>;
261
271
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
272
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
262
273
  } & {
263
- revision: z.ZodString;
264
274
  publishedRevision: z.ZodOptional<z.ZodString>;
265
275
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
266
276
  universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
267
- integrationId: z.ZodOptional<z.ZodString>;
268
277
  dataSourceId: z.ZodOptional<z.ZodString>;
269
278
  dataSourceKey: z.ZodOptional<z.ZodString>;
270
279
  appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
@@ -276,22 +285,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
276
285
  frozenImportFields: z.ZodOptional<z.ZodAny>;
277
286
  frozenExportFields: z.ZodOptional<z.ZodAny>;
278
287
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
279
- archivedAt: z.ZodOptional<z.ZodString>;
280
- customized: z.ZodOptional<z.ZodBoolean>;
281
288
  }, "strip", z.ZodTypeAny, {
282
289
  id: string;
283
290
  name: string;
284
- revision: string;
285
291
  key?: string | undefined;
286
292
  uuid?: string | undefined;
287
293
  description?: string | undefined;
294
+ meta?: Record<string, any> | undefined;
288
295
  state?: import("..").WorkspaceElementState | undefined;
289
296
  errors?: import("../..").ErrorDataSchema[] | undefined;
297
+ revision?: string | undefined;
290
298
  createdAt?: string | undefined;
291
299
  updatedAt?: string | undefined;
292
300
  archivedAt?: string | undefined;
293
301
  isDeactivated?: boolean | undefined;
294
302
  integrationId?: string | undefined;
303
+ parentId?: string | undefined;
304
+ isCustomized?: boolean | undefined;
295
305
  publishedRevision?: string | undefined;
296
306
  universalFieldMappingId?: string | undefined;
297
307
  universalFieldMappingRevision?: string | undefined;
@@ -306,21 +316,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
306
316
  frozenImportFields?: any;
307
317
  frozenExportFields?: any;
308
318
  frozenUnifiedExportFields?: any;
309
- customized?: boolean | undefined;
310
319
  }, {
311
320
  id: string;
312
321
  name: string;
313
- revision: string;
314
322
  key?: string | undefined;
315
323
  uuid?: string | undefined;
316
324
  description?: string | undefined;
325
+ meta?: Record<string, any> | undefined;
317
326
  state?: import("..").WorkspaceElementState | undefined;
318
327
  errors?: import("../..").ErrorDataSchema[] | undefined;
328
+ revision?: string | undefined;
319
329
  createdAt?: string | undefined;
320
330
  updatedAt?: string | undefined;
321
331
  archivedAt?: string | undefined;
322
332
  isDeactivated?: boolean | undefined;
323
333
  integrationId?: string | undefined;
334
+ parentId?: string | undefined;
335
+ isCustomized?: boolean | undefined;
324
336
  publishedRevision?: string | undefined;
325
337
  universalFieldMappingId?: string | undefined;
326
338
  universalFieldMappingRevision?: string | undefined;
@@ -335,13 +347,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
335
347
  frozenImportFields?: any;
336
348
  frozenExportFields?: any;
337
349
  frozenUnifiedExportFields?: any;
338
- customized?: boolean | undefined;
339
350
  }>>;
340
351
  dataSourceInstance: z.ZodOptional<z.ZodObject<{
341
352
  id: z.ZodString;
342
353
  key: z.ZodOptional<z.ZodString>;
343
354
  uuid: z.ZodOptional<z.ZodString>;
344
355
  description: z.ZodOptional<z.ZodString>;
356
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
345
357
  name: z.ZodString;
346
358
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
347
359
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1062,6 +1074,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1062
1074
  user: z.ZodOptional<z.ZodObject<{
1063
1075
  id: z.ZodString;
1064
1076
  name: z.ZodString;
1077
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1065
1078
  internalId: z.ZodString;
1066
1079
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1067
1080
  credentials: z.ZodOptional<z.ZodAny>;
@@ -1074,6 +1087,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1074
1087
  id: string;
1075
1088
  name: string;
1076
1089
  internalId: string;
1090
+ meta?: Record<string, any> | undefined;
1077
1091
  createdAt?: string | undefined;
1078
1092
  archivedAt?: string | undefined;
1079
1093
  credentials?: any;
@@ -1085,6 +1099,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1085
1099
  id: string;
1086
1100
  name: string;
1087
1101
  internalId: string;
1102
+ meta?: Record<string, any> | undefined;
1088
1103
  createdAt?: string | undefined;
1089
1104
  archivedAt?: string | undefined;
1090
1105
  credentials?: any;
@@ -1098,14 +1113,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1098
1113
  key: z.ZodOptional<z.ZodString>;
1099
1114
  uuid: z.ZodOptional<z.ZodString>;
1100
1115
  description: z.ZodOptional<z.ZodString>;
1116
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1117
+ integrationId: z.ZodOptional<z.ZodString>;
1118
+ parentId: z.ZodOptional<z.ZodString>;
1119
+ } & {
1101
1120
  name: z.ZodString;
1102
1121
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1103
1122
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1123
+ revision: z.ZodOptional<z.ZodString>;
1124
+ createdAt: z.ZodOptional<z.ZodString>;
1125
+ updatedAt: z.ZodOptional<z.ZodString>;
1126
+ archivedAt: z.ZodOptional<z.ZodString>;
1104
1127
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1128
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1105
1129
  } & {
1106
- revision: z.ZodString;
1107
1130
  publishedRevision: z.ZodOptional<z.ZodString>;
1108
- integrationId: z.ZodOptional<z.ZodString>;
1109
1131
  universalDataSourceId: z.ZodOptional<z.ZodString>;
1110
1132
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
1111
1133
  udm: z.ZodOptional<z.ZodString>;
@@ -1113,27 +1135,25 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1113
1135
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1114
1136
  collectionKey: z.ZodOptional<z.ZodString>;
1115
1137
  collectionParameters: z.ZodOptional<z.ZodAny>;
1116
- archivedAt: z.ZodOptional<z.ZodString>;
1117
- createdAt: z.ZodOptional<z.ZodString>;
1118
- updatedAt: z.ZodOptional<z.ZodString>;
1119
- customized: z.ZodOptional<z.ZodBoolean>;
1120
1138
  defaultPath: z.ZodOptional<z.ZodString>;
1121
1139
  }, "strip", z.ZodTypeAny, {
1122
1140
  id: string;
1123
1141
  name: string;
1124
- revision: string;
1125
1142
  key?: string | undefined;
1126
1143
  uuid?: string | undefined;
1127
1144
  description?: string | undefined;
1145
+ meta?: Record<string, any> | undefined;
1128
1146
  state?: import("..").WorkspaceElementState | undefined;
1129
1147
  errors?: import("../..").ErrorDataSchema[] | undefined;
1148
+ revision?: string | undefined;
1130
1149
  createdAt?: string | undefined;
1131
1150
  updatedAt?: string | undefined;
1132
1151
  archivedAt?: string | undefined;
1133
1152
  isDeactivated?: boolean | undefined;
1134
1153
  integrationId?: string | undefined;
1154
+ parentId?: string | undefined;
1155
+ isCustomized?: boolean | undefined;
1135
1156
  publishedRevision?: string | undefined;
1136
- customized?: boolean | undefined;
1137
1157
  udm?: string | undefined;
1138
1158
  universalDataSourceId?: string | undefined;
1139
1159
  collectionKey?: string | undefined;
@@ -1145,19 +1165,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1145
1165
  }, {
1146
1166
  id: string;
1147
1167
  name: string;
1148
- revision: string;
1149
1168
  key?: string | undefined;
1150
1169
  uuid?: string | undefined;
1151
1170
  description?: string | undefined;
1171
+ meta?: Record<string, any> | undefined;
1152
1172
  state?: import("..").WorkspaceElementState | undefined;
1153
1173
  errors?: import("../..").ErrorDataSchema[] | undefined;
1174
+ revision?: string | undefined;
1154
1175
  createdAt?: string | undefined;
1155
1176
  updatedAt?: string | undefined;
1156
1177
  archivedAt?: string | undefined;
1157
1178
  isDeactivated?: boolean | undefined;
1158
1179
  integrationId?: string | undefined;
1180
+ parentId?: string | undefined;
1181
+ isCustomized?: boolean | undefined;
1159
1182
  publishedRevision?: string | undefined;
1160
- customized?: boolean | undefined;
1161
1183
  udm?: string | undefined;
1162
1184
  universalDataSourceId?: string | undefined;
1163
1185
  collectionKey?: string | undefined;
@@ -1175,6 +1197,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1175
1197
  isTest: z.ZodOptional<z.ZodBoolean>;
1176
1198
  disconnected: z.ZodOptional<z.ZodBoolean>;
1177
1199
  isDefunct: z.ZodOptional<z.ZodBoolean>;
1200
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1178
1201
  error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
1179
1202
  integrationId: z.ZodString;
1180
1203
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -1184,24 +1207,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1184
1207
  nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
1185
1208
  archivedAt: z.ZodOptional<z.ZodString>;
1186
1209
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1187
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1188
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1189
1210
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1190
1211
  }, "strip", z.ZodTypeAny, {
1191
1212
  id: string;
1192
1213
  name: string;
1193
1214
  createdAt: string;
1194
1215
  updatedAt: string;
1195
- userId: string;
1196
1216
  integrationId: string;
1217
+ userId: string;
1197
1218
  error?: import("../..").ErrorDataSchema | undefined;
1219
+ meta?: Record<string, any> | undefined;
1198
1220
  state?: import("..").WorkspaceElementState | undefined;
1199
- errors?: import("../..").ErrorDataSchema[] | undefined;
1200
1221
  archivedAt?: string | undefined;
1201
1222
  isDeactivated?: boolean | undefined;
1202
1223
  authOptionKey?: string | undefined;
1203
1224
  isTest?: boolean | undefined;
1204
- meta?: Record<string, any> | undefined;
1205
1225
  disconnected?: boolean | undefined;
1206
1226
  isDefunct?: boolean | undefined;
1207
1227
  lastActiveAt?: string | undefined;
@@ -1211,16 +1231,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1211
1231
  name: string;
1212
1232
  createdAt: string;
1213
1233
  updatedAt: string;
1214
- userId: string;
1215
1234
  integrationId: string;
1235
+ userId: string;
1216
1236
  error?: import("../..").ErrorDataSchema | undefined;
1237
+ meta?: Record<string, any> | undefined;
1217
1238
  state?: import("..").WorkspaceElementState | undefined;
1218
- errors?: import("../..").ErrorDataSchema[] | undefined;
1219
1239
  archivedAt?: string | undefined;
1220
1240
  isDeactivated?: boolean | undefined;
1221
1241
  authOptionKey?: string | undefined;
1222
1242
  isTest?: boolean | undefined;
1223
- meta?: Record<string, any> | undefined;
1224
1243
  disconnected?: boolean | undefined;
1225
1244
  isDefunct?: boolean | undefined;
1226
1245
  lastActiveAt?: string | undefined;
@@ -1231,6 +1250,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1231
1250
  key: z.ZodOptional<z.ZodString>;
1232
1251
  uuid: z.ZodOptional<z.ZodString>;
1233
1252
  description: z.ZodOptional<z.ZodString>;
1253
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1234
1254
  name: z.ZodString;
1235
1255
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1236
1256
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -1265,6 +1285,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1265
1285
  key?: string | undefined;
1266
1286
  uuid?: string | undefined;
1267
1287
  description?: string | undefined;
1288
+ meta?: Record<string, any> | undefined;
1268
1289
  state?: import("..").WorkspaceElementState | undefined;
1269
1290
  errors?: import("../..").ErrorDataSchema[] | undefined;
1270
1291
  revision?: string | undefined;
@@ -1296,6 +1317,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1296
1317
  key?: string | undefined;
1297
1318
  uuid?: string | undefined;
1298
1319
  description?: string | undefined;
1320
+ meta?: Record<string, any> | undefined;
1299
1321
  state?: import("..").WorkspaceElementState | undefined;
1300
1322
  errors?: import("../..").ErrorDataSchema[] | undefined;
1301
1323
  revision?: string | undefined;
@@ -1325,25 +1347,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1325
1347
  id: string;
1326
1348
  name: string;
1327
1349
  revision: string;
1350
+ integrationId: string;
1328
1351
  userId: string;
1329
1352
  connectionId: string;
1330
- integrationId: string;
1331
1353
  key?: string | undefined;
1332
1354
  connection?: {
1333
1355
  id: string;
1334
1356
  name: string;
1335
1357
  createdAt: string;
1336
1358
  updatedAt: string;
1337
- userId: string;
1338
1359
  integrationId: string;
1360
+ userId: string;
1339
1361
  error?: import("../..").ErrorDataSchema | undefined;
1362
+ meta?: Record<string, any> | undefined;
1340
1363
  state?: import("..").WorkspaceElementState | undefined;
1341
- errors?: import("../..").ErrorDataSchema[] | undefined;
1342
1364
  archivedAt?: string | undefined;
1343
1365
  isDeactivated?: boolean | undefined;
1344
1366
  authOptionKey?: string | undefined;
1345
1367
  isTest?: boolean | undefined;
1346
- meta?: Record<string, any> | undefined;
1347
1368
  disconnected?: boolean | undefined;
1348
1369
  isDefunct?: boolean | undefined;
1349
1370
  lastActiveAt?: string | undefined;
@@ -1357,6 +1378,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1357
1378
  key?: string | undefined;
1358
1379
  uuid?: string | undefined;
1359
1380
  description?: string | undefined;
1381
+ meta?: Record<string, any> | undefined;
1360
1382
  state?: import("..").WorkspaceElementState | undefined;
1361
1383
  errors?: import("../..").ErrorDataSchema[] | undefined;
1362
1384
  revision?: string | undefined;
@@ -1384,12 +1406,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1384
1406
  } | undefined;
1385
1407
  uuid?: string | undefined;
1386
1408
  description?: string | undefined;
1409
+ meta?: Record<string, any> | undefined;
1387
1410
  state?: import("..").WorkspaceElementState | undefined;
1388
1411
  errors?: import("../..").ErrorDataSchema[] | undefined;
1389
1412
  createdAt?: string | undefined;
1390
1413
  updatedAt?: string | undefined;
1391
1414
  archivedAt?: string | undefined;
1392
1415
  isDeactivated?: boolean | undefined;
1416
+ isCustomized?: boolean | undefined;
1393
1417
  instanceKey?: string | undefined;
1394
1418
  dataSourceId?: string | undefined;
1395
1419
  udm?: string | undefined;
@@ -1532,6 +1556,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1532
1556
  id: string;
1533
1557
  name: string;
1534
1558
  internalId: string;
1559
+ meta?: Record<string, any> | undefined;
1535
1560
  createdAt?: string | undefined;
1536
1561
  archivedAt?: string | undefined;
1537
1562
  credentials?: any;
@@ -1540,7 +1565,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1540
1565
  lastActiveAt?: string | undefined;
1541
1566
  isBillable?: boolean | undefined;
1542
1567
  } | undefined;
1543
- isCustomized?: boolean | undefined;
1544
1568
  dataSourceRevision?: string | undefined;
1545
1569
  universalDataSourceId?: string | undefined;
1546
1570
  collectionKey?: string | undefined;
@@ -1553,19 +1577,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1553
1577
  dataSource?: {
1554
1578
  id: string;
1555
1579
  name: string;
1556
- revision: string;
1557
1580
  key?: string | undefined;
1558
1581
  uuid?: string | undefined;
1559
1582
  description?: string | undefined;
1583
+ meta?: Record<string, any> | undefined;
1560
1584
  state?: import("..").WorkspaceElementState | undefined;
1561
1585
  errors?: import("../..").ErrorDataSchema[] | undefined;
1586
+ revision?: string | undefined;
1562
1587
  createdAt?: string | undefined;
1563
1588
  updatedAt?: string | undefined;
1564
1589
  archivedAt?: string | undefined;
1565
1590
  isDeactivated?: boolean | undefined;
1566
1591
  integrationId?: string | undefined;
1592
+ parentId?: string | undefined;
1593
+ isCustomized?: boolean | undefined;
1567
1594
  publishedRevision?: string | undefined;
1568
- customized?: boolean | undefined;
1569
1595
  udm?: string | undefined;
1570
1596
  universalDataSourceId?: string | undefined;
1571
1597
  collectionKey?: string | undefined;
@@ -1579,25 +1605,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1579
1605
  id: string;
1580
1606
  name: string;
1581
1607
  revision: string;
1608
+ integrationId: string;
1582
1609
  userId: string;
1583
1610
  connectionId: string;
1584
- integrationId: string;
1585
1611
  key?: string | undefined;
1586
1612
  connection?: {
1587
1613
  id: string;
1588
1614
  name: string;
1589
1615
  createdAt: string;
1590
1616
  updatedAt: string;
1591
- userId: string;
1592
1617
  integrationId: string;
1618
+ userId: string;
1593
1619
  error?: import("../..").ErrorDataSchema | undefined;
1620
+ meta?: Record<string, any> | undefined;
1594
1621
  state?: import("..").WorkspaceElementState | undefined;
1595
- errors?: import("../..").ErrorDataSchema[] | undefined;
1596
1622
  archivedAt?: string | undefined;
1597
1623
  isDeactivated?: boolean | undefined;
1598
1624
  authOptionKey?: string | undefined;
1599
1625
  isTest?: boolean | undefined;
1600
- meta?: Record<string, any> | undefined;
1601
1626
  disconnected?: boolean | undefined;
1602
1627
  isDefunct?: boolean | undefined;
1603
1628
  lastActiveAt?: string | undefined;
@@ -1611,6 +1636,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1611
1636
  key?: string | undefined;
1612
1637
  uuid?: string | undefined;
1613
1638
  description?: string | undefined;
1639
+ meta?: Record<string, any> | undefined;
1614
1640
  state?: import("..").WorkspaceElementState | undefined;
1615
1641
  errors?: import("../..").ErrorDataSchema[] | undefined;
1616
1642
  revision?: string | undefined;
@@ -1638,12 +1664,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1638
1664
  } | undefined;
1639
1665
  uuid?: string | undefined;
1640
1666
  description?: string | undefined;
1667
+ meta?: Record<string, any> | undefined;
1641
1668
  state?: import("..").WorkspaceElementState | undefined;
1642
1669
  errors?: import("../..").ErrorDataSchema[] | undefined;
1643
1670
  createdAt?: string | undefined;
1644
1671
  updatedAt?: string | undefined;
1645
1672
  archivedAt?: string | undefined;
1646
1673
  isDeactivated?: boolean | undefined;
1674
+ isCustomized?: boolean | undefined;
1647
1675
  instanceKey?: string | undefined;
1648
1676
  dataSourceId?: string | undefined;
1649
1677
  udm?: string | undefined;
@@ -1786,6 +1814,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1786
1814
  id: string;
1787
1815
  name: string;
1788
1816
  internalId: string;
1817
+ meta?: Record<string, any> | undefined;
1789
1818
  createdAt?: string | undefined;
1790
1819
  archivedAt?: string | undefined;
1791
1820
  credentials?: any;
@@ -1794,7 +1823,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1794
1823
  lastActiveAt?: string | undefined;
1795
1824
  isBillable?: boolean | undefined;
1796
1825
  } | undefined;
1797
- isCustomized?: boolean | undefined;
1798
1826
  dataSourceRevision?: string | undefined;
1799
1827
  universalDataSourceId?: string | undefined;
1800
1828
  collectionKey?: string | undefined;
@@ -1807,19 +1835,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1807
1835
  dataSource?: {
1808
1836
  id: string;
1809
1837
  name: string;
1810
- revision: string;
1811
1838
  key?: string | undefined;
1812
1839
  uuid?: string | undefined;
1813
1840
  description?: string | undefined;
1841
+ meta?: Record<string, any> | undefined;
1814
1842
  state?: import("..").WorkspaceElementState | undefined;
1815
1843
  errors?: import("../..").ErrorDataSchema[] | undefined;
1844
+ revision?: string | undefined;
1816
1845
  createdAt?: string | undefined;
1817
1846
  updatedAt?: string | undefined;
1818
1847
  archivedAt?: string | undefined;
1819
1848
  isDeactivated?: boolean | undefined;
1820
1849
  integrationId?: string | undefined;
1850
+ parentId?: string | undefined;
1851
+ isCustomized?: boolean | undefined;
1821
1852
  publishedRevision?: string | undefined;
1822
- customized?: boolean | undefined;
1823
1853
  udm?: string | undefined;
1824
1854
  universalDataSourceId?: string | undefined;
1825
1855
  collectionKey?: string | undefined;
@@ -1834,25 +1864,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1834
1864
  id: string;
1835
1865
  name: string;
1836
1866
  revision: string;
1867
+ integrationId: string;
1837
1868
  userId: string;
1838
1869
  connectionId: string;
1839
- integrationId: string;
1840
1870
  key?: string | undefined;
1841
1871
  connection?: {
1842
1872
  id: string;
1843
1873
  name: string;
1844
1874
  createdAt: string;
1845
1875
  updatedAt: string;
1846
- userId: string;
1847
1876
  integrationId: string;
1877
+ userId: string;
1848
1878
  error?: import("../..").ErrorDataSchema | undefined;
1879
+ meta?: Record<string, any> | undefined;
1849
1880
  state?: import("..").WorkspaceElementState | undefined;
1850
- errors?: import("../..").ErrorDataSchema[] | undefined;
1851
1881
  archivedAt?: string | undefined;
1852
1882
  isDeactivated?: boolean | undefined;
1853
1883
  authOptionKey?: string | undefined;
1854
1884
  isTest?: boolean | undefined;
1855
- meta?: Record<string, any> | undefined;
1856
1885
  disconnected?: boolean | undefined;
1857
1886
  isDefunct?: boolean | undefined;
1858
1887
  lastActiveAt?: string | undefined;
@@ -1866,6 +1895,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1866
1895
  key?: string | undefined;
1867
1896
  uuid?: string | undefined;
1868
1897
  description?: string | undefined;
1898
+ meta?: Record<string, any> | undefined;
1869
1899
  state?: import("..").WorkspaceElementState | undefined;
1870
1900
  errors?: import("../..").ErrorDataSchema[] | undefined;
1871
1901
  revision?: string | undefined;
@@ -1893,12 +1923,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1893
1923
  } | undefined;
1894
1924
  uuid?: string | undefined;
1895
1925
  description?: string | undefined;
1926
+ meta?: Record<string, any> | undefined;
1896
1927
  state?: import("..").WorkspaceElementState | undefined;
1897
1928
  errors?: import("../..").ErrorDataSchema[] | undefined;
1898
1929
  createdAt?: string | undefined;
1899
1930
  updatedAt?: string | undefined;
1900
1931
  archivedAt?: string | undefined;
1901
1932
  isDeactivated?: boolean | undefined;
1933
+ isCustomized?: boolean | undefined;
1902
1934
  instanceKey?: string | undefined;
1903
1935
  appSchema?: import("../..").DataSchema | undefined;
1904
1936
  direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
@@ -1910,6 +1942,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1910
1942
  id: string;
1911
1943
  name: string;
1912
1944
  internalId: string;
1945
+ meta?: Record<string, any> | undefined;
1913
1946
  createdAt?: string | undefined;
1914
1947
  archivedAt?: string | undefined;
1915
1948
  credentials?: any;
@@ -1918,7 +1951,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1918
1951
  lastActiveAt?: string | undefined;
1919
1952
  isBillable?: boolean | undefined;
1920
1953
  } | undefined;
1921
- isCustomized?: boolean | undefined;
1922
1954
  dataSourceInstanceId?: string | undefined;
1923
1955
  fieldMappingRevision?: string | undefined;
1924
1956
  fieldMappingId?: string | undefined;
@@ -1929,17 +1961,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1929
1961
  fieldMapping?: {
1930
1962
  id: string;
1931
1963
  name: string;
1932
- revision: string;
1933
1964
  key?: string | undefined;
1934
1965
  uuid?: string | undefined;
1935
1966
  description?: string | undefined;
1967
+ meta?: Record<string, any> | undefined;
1936
1968
  state?: import("..").WorkspaceElementState | undefined;
1937
1969
  errors?: import("../..").ErrorDataSchema[] | undefined;
1970
+ revision?: string | undefined;
1938
1971
  createdAt?: string | undefined;
1939
1972
  updatedAt?: string | undefined;
1940
1973
  archivedAt?: string | undefined;
1941
1974
  isDeactivated?: boolean | undefined;
1942
1975
  integrationId?: string | undefined;
1976
+ parentId?: string | undefined;
1977
+ isCustomized?: boolean | undefined;
1943
1978
  publishedRevision?: string | undefined;
1944
1979
  universalFieldMappingId?: string | undefined;
1945
1980
  universalFieldMappingRevision?: string | undefined;
@@ -1954,31 +1989,29 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1954
1989
  frozenImportFields?: any;
1955
1990
  frozenExportFields?: any;
1956
1991
  frozenUnifiedExportFields?: any;
1957
- customized?: boolean | undefined;
1958
1992
  } | undefined;
1959
1993
  dataSourceInstance?: {
1960
1994
  id: string;
1961
1995
  name: string;
1962
1996
  revision: string;
1997
+ integrationId: string;
1963
1998
  userId: string;
1964
1999
  connectionId: string;
1965
- integrationId: string;
1966
2000
  key?: string | undefined;
1967
2001
  connection?: {
1968
2002
  id: string;
1969
2003
  name: string;
1970
2004
  createdAt: string;
1971
2005
  updatedAt: string;
1972
- userId: string;
1973
2006
  integrationId: string;
2007
+ userId: string;
1974
2008
  error?: import("../..").ErrorDataSchema | undefined;
2009
+ meta?: Record<string, any> | undefined;
1975
2010
  state?: import("..").WorkspaceElementState | undefined;
1976
- errors?: import("../..").ErrorDataSchema[] | undefined;
1977
2011
  archivedAt?: string | undefined;
1978
2012
  isDeactivated?: boolean | undefined;
1979
2013
  authOptionKey?: string | undefined;
1980
2014
  isTest?: boolean | undefined;
1981
- meta?: Record<string, any> | undefined;
1982
2015
  disconnected?: boolean | undefined;
1983
2016
  isDefunct?: boolean | undefined;
1984
2017
  lastActiveAt?: string | undefined;
@@ -1992,6 +2025,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1992
2025
  key?: string | undefined;
1993
2026
  uuid?: string | undefined;
1994
2027
  description?: string | undefined;
2028
+ meta?: Record<string, any> | undefined;
1995
2029
  state?: import("..").WorkspaceElementState | undefined;
1996
2030
  errors?: import("../..").ErrorDataSchema[] | undefined;
1997
2031
  revision?: string | undefined;
@@ -2019,12 +2053,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2019
2053
  } | undefined;
2020
2054
  uuid?: string | undefined;
2021
2055
  description?: string | undefined;
2056
+ meta?: Record<string, any> | undefined;
2022
2057
  state?: import("..").WorkspaceElementState | undefined;
2023
2058
  errors?: import("../..").ErrorDataSchema[] | undefined;
2024
2059
  createdAt?: string | undefined;
2025
2060
  updatedAt?: string | undefined;
2026
2061
  archivedAt?: string | undefined;
2027
2062
  isDeactivated?: boolean | undefined;
2063
+ isCustomized?: boolean | undefined;
2028
2064
  instanceKey?: string | undefined;
2029
2065
  dataSourceId?: string | undefined;
2030
2066
  udm?: string | undefined;
@@ -2167,6 +2203,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2167
2203
  id: string;
2168
2204
  name: string;
2169
2205
  internalId: string;
2206
+ meta?: Record<string, any> | undefined;
2170
2207
  createdAt?: string | undefined;
2171
2208
  archivedAt?: string | undefined;
2172
2209
  credentials?: any;
@@ -2175,7 +2212,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2175
2212
  lastActiveAt?: string | undefined;
2176
2213
  isBillable?: boolean | undefined;
2177
2214
  } | undefined;
2178
- isCustomized?: boolean | undefined;
2179
2215
  dataSourceRevision?: string | undefined;
2180
2216
  universalDataSourceId?: string | undefined;
2181
2217
  collectionKey?: string | undefined;
@@ -2188,19 +2224,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2188
2224
  dataSource?: {
2189
2225
  id: string;
2190
2226
  name: string;
2191
- revision: string;
2192
2227
  key?: string | undefined;
2193
2228
  uuid?: string | undefined;
2194
2229
  description?: string | undefined;
2230
+ meta?: Record<string, any> | undefined;
2195
2231
  state?: import("..").WorkspaceElementState | undefined;
2196
2232
  errors?: import("../..").ErrorDataSchema[] | undefined;
2233
+ revision?: string | undefined;
2197
2234
  createdAt?: string | undefined;
2198
2235
  updatedAt?: string | undefined;
2199
2236
  archivedAt?: string | undefined;
2200
2237
  isDeactivated?: boolean | undefined;
2201
2238
  integrationId?: string | undefined;
2239
+ parentId?: string | undefined;
2240
+ isCustomized?: boolean | undefined;
2202
2241
  publishedRevision?: string | undefined;
2203
- customized?: boolean | undefined;
2204
2242
  udm?: string | undefined;
2205
2243
  universalDataSourceId?: string | undefined;
2206
2244
  collectionKey?: string | undefined;
@@ -2215,25 +2253,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2215
2253
  id: string;
2216
2254
  name: string;
2217
2255
  revision: string;
2256
+ integrationId: string;
2218
2257
  userId: string;
2219
2258
  connectionId: string;
2220
- integrationId: string;
2221
2259
  key?: string | undefined;
2222
2260
  connection?: {
2223
2261
  id: string;
2224
2262
  name: string;
2225
2263
  createdAt: string;
2226
2264
  updatedAt: string;
2227
- userId: string;
2228
2265
  integrationId: string;
2266
+ userId: string;
2229
2267
  error?: import("../..").ErrorDataSchema | undefined;
2268
+ meta?: Record<string, any> | undefined;
2230
2269
  state?: import("..").WorkspaceElementState | undefined;
2231
- errors?: import("../..").ErrorDataSchema[] | undefined;
2232
2270
  archivedAt?: string | undefined;
2233
2271
  isDeactivated?: boolean | undefined;
2234
2272
  authOptionKey?: string | undefined;
2235
2273
  isTest?: boolean | undefined;
2236
- meta?: Record<string, any> | undefined;
2237
2274
  disconnected?: boolean | undefined;
2238
2275
  isDefunct?: boolean | undefined;
2239
2276
  lastActiveAt?: string | undefined;
@@ -2247,6 +2284,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2247
2284
  key?: string | undefined;
2248
2285
  uuid?: string | undefined;
2249
2286
  description?: string | undefined;
2287
+ meta?: Record<string, any> | undefined;
2250
2288
  state?: import("..").WorkspaceElementState | undefined;
2251
2289
  errors?: import("../..").ErrorDataSchema[] | undefined;
2252
2290
  revision?: string | undefined;
@@ -2274,12 +2312,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2274
2312
  } | undefined;
2275
2313
  uuid?: string | undefined;
2276
2314
  description?: string | undefined;
2315
+ meta?: Record<string, any> | undefined;
2277
2316
  state?: import("..").WorkspaceElementState | undefined;
2278
2317
  errors?: import("../..").ErrorDataSchema[] | undefined;
2279
2318
  createdAt?: string | undefined;
2280
2319
  updatedAt?: string | undefined;
2281
2320
  archivedAt?: string | undefined;
2282
2321
  isDeactivated?: boolean | undefined;
2322
+ isCustomized?: boolean | undefined;
2283
2323
  instanceKey?: string | undefined;
2284
2324
  appSchema?: import("../..").DataSchema | undefined;
2285
2325
  direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
@@ -2291,6 +2331,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2291
2331
  id: string;
2292
2332
  name: string;
2293
2333
  internalId: string;
2334
+ meta?: Record<string, any> | undefined;
2294
2335
  createdAt?: string | undefined;
2295
2336
  archivedAt?: string | undefined;
2296
2337
  credentials?: any;
@@ -2299,7 +2340,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2299
2340
  lastActiveAt?: string | undefined;
2300
2341
  isBillable?: boolean | undefined;
2301
2342
  } | undefined;
2302
- isCustomized?: boolean | undefined;
2303
2343
  dataSourceInstanceId?: string | undefined;
2304
2344
  fieldMappingRevision?: string | undefined;
2305
2345
  fieldMappingId?: string | undefined;
@@ -2310,17 +2350,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2310
2350
  fieldMapping?: {
2311
2351
  id: string;
2312
2352
  name: string;
2313
- revision: string;
2314
2353
  key?: string | undefined;
2315
2354
  uuid?: string | undefined;
2316
2355
  description?: string | undefined;
2356
+ meta?: Record<string, any> | undefined;
2317
2357
  state?: import("..").WorkspaceElementState | undefined;
2318
2358
  errors?: import("../..").ErrorDataSchema[] | undefined;
2359
+ revision?: string | undefined;
2319
2360
  createdAt?: string | undefined;
2320
2361
  updatedAt?: string | undefined;
2321
2362
  archivedAt?: string | undefined;
2322
2363
  isDeactivated?: boolean | undefined;
2323
2364
  integrationId?: string | undefined;
2365
+ parentId?: string | undefined;
2366
+ isCustomized?: boolean | undefined;
2324
2367
  publishedRevision?: string | undefined;
2325
2368
  universalFieldMappingId?: string | undefined;
2326
2369
  universalFieldMappingRevision?: string | undefined;
@@ -2335,31 +2378,29 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2335
2378
  frozenImportFields?: any;
2336
2379
  frozenExportFields?: any;
2337
2380
  frozenUnifiedExportFields?: any;
2338
- customized?: boolean | undefined;
2339
2381
  } | undefined;
2340
2382
  dataSourceInstance?: {
2341
2383
  id: string;
2342
2384
  name: string;
2343
2385
  revision: string;
2386
+ integrationId: string;
2344
2387
  userId: string;
2345
2388
  connectionId: string;
2346
- integrationId: string;
2347
2389
  key?: string | undefined;
2348
2390
  connection?: {
2349
2391
  id: string;
2350
2392
  name: string;
2351
2393
  createdAt: string;
2352
2394
  updatedAt: string;
2353
- userId: string;
2354
2395
  integrationId: string;
2396
+ userId: string;
2355
2397
  error?: import("../..").ErrorDataSchema | undefined;
2398
+ meta?: Record<string, any> | undefined;
2356
2399
  state?: import("..").WorkspaceElementState | undefined;
2357
- errors?: import("../..").ErrorDataSchema[] | undefined;
2358
2400
  archivedAt?: string | undefined;
2359
2401
  isDeactivated?: boolean | undefined;
2360
2402
  authOptionKey?: string | undefined;
2361
2403
  isTest?: boolean | undefined;
2362
- meta?: Record<string, any> | undefined;
2363
2404
  disconnected?: boolean | undefined;
2364
2405
  isDefunct?: boolean | undefined;
2365
2406
  lastActiveAt?: string | undefined;
@@ -2373,6 +2414,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2373
2414
  key?: string | undefined;
2374
2415
  uuid?: string | undefined;
2375
2416
  description?: string | undefined;
2417
+ meta?: Record<string, any> | undefined;
2376
2418
  state?: import("..").WorkspaceElementState | undefined;
2377
2419
  errors?: import("../..").ErrorDataSchema[] | undefined;
2378
2420
  revision?: string | undefined;
@@ -2400,12 +2442,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2400
2442
  } | undefined;
2401
2443
  uuid?: string | undefined;
2402
2444
  description?: string | undefined;
2445
+ meta?: Record<string, any> | undefined;
2403
2446
  state?: import("..").WorkspaceElementState | undefined;
2404
2447
  errors?: import("../..").ErrorDataSchema[] | undefined;
2405
2448
  createdAt?: string | undefined;
2406
2449
  updatedAt?: string | undefined;
2407
2450
  archivedAt?: string | undefined;
2408
2451
  isDeactivated?: boolean | undefined;
2452
+ isCustomized?: boolean | undefined;
2409
2453
  instanceKey?: string | undefined;
2410
2454
  dataSourceId?: string | undefined;
2411
2455
  udm?: string | undefined;
@@ -2548,6 +2592,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2548
2592
  id: string;
2549
2593
  name: string;
2550
2594
  internalId: string;
2595
+ meta?: Record<string, any> | undefined;
2551
2596
  createdAt?: string | undefined;
2552
2597
  archivedAt?: string | undefined;
2553
2598
  credentials?: any;
@@ -2556,7 +2601,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2556
2601
  lastActiveAt?: string | undefined;
2557
2602
  isBillable?: boolean | undefined;
2558
2603
  } | undefined;
2559
- isCustomized?: boolean | undefined;
2560
2604
  dataSourceRevision?: string | undefined;
2561
2605
  universalDataSourceId?: string | undefined;
2562
2606
  collectionKey?: string | undefined;
@@ -2569,19 +2613,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2569
2613
  dataSource?: {
2570
2614
  id: string;
2571
2615
  name: string;
2572
- revision: string;
2573
2616
  key?: string | undefined;
2574
2617
  uuid?: string | undefined;
2575
2618
  description?: string | undefined;
2619
+ meta?: Record<string, any> | undefined;
2576
2620
  state?: import("..").WorkspaceElementState | undefined;
2577
2621
  errors?: import("../..").ErrorDataSchema[] | undefined;
2622
+ revision?: string | undefined;
2578
2623
  createdAt?: string | undefined;
2579
2624
  updatedAt?: string | undefined;
2580
2625
  archivedAt?: string | undefined;
2581
2626
  isDeactivated?: boolean | undefined;
2582
2627
  integrationId?: string | undefined;
2628
+ parentId?: string | undefined;
2629
+ isCustomized?: boolean | undefined;
2583
2630
  publishedRevision?: string | undefined;
2584
- customized?: boolean | undefined;
2585
2631
  udm?: string | undefined;
2586
2632
  universalDataSourceId?: string | undefined;
2587
2633
  collectionKey?: string | undefined;