@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.
Files changed (85) hide show
  1. package/dist/bundle.d.ts +5200 -4617
  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 -43
  28. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +474 -441
  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 +144 -124
  34. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +250 -118
  35. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +122 -98
  36. package/dist/dts/workspace-elements/api/flows-api.d.ts +965 -826
  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 +9 -6
  51. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
  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 +8 -5
  56. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
  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 +4 -4
  60. package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
  61. package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
  62. package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
  63. package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
  64. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
  65. package/dist/dts/workspace-elements/types.d.ts +118 -0
  66. package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
  67. package/dist/{index.d.ts → index.browser.d.mts} +17282 -16311
  68. package/dist/{index.module.d.mts → index.browser.d.ts} +17282 -16311
  69. package/dist/{index.js → index.browser.js} +228 -255
  70. package/dist/index.browser.js.map +1 -0
  71. package/dist/{index.module.mjs → index.browser.mjs} +218 -250
  72. package/dist/index.browser.mjs.map +1 -0
  73. package/dist/index.node.d.mts +28306 -0
  74. package/dist/index.node.d.ts +28306 -0
  75. package/dist/index.node.js +13329 -0
  76. package/dist/index.node.js.map +1 -0
  77. package/dist/index.node.mjs +12853 -0
  78. package/dist/index.node.mjs.map +1 -0
  79. package/package.json +38 -15
  80. package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
  81. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -102
  82. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -129
  83. package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -241
  84. package/dist/index.js.map +0 -1
  85. 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,20 +257,11 @@ 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>;
256
- name: z.ZodString;
257
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
258
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
259
- createdAt: z.ZodOptional<z.ZodString>;
260
- updatedAt: z.ZodOptional<z.ZodString>;
261
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
262
- } & {
263
- revision: z.ZodString;
264
- publishedRevision: z.ZodOptional<z.ZodString>;
265
- universalFieldMappingId: z.ZodOptional<z.ZodString>;
266
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
260
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
267
261
  integrationId: z.ZodOptional<z.ZodString>;
268
- dataSourceId: z.ZodOptional<z.ZodString>;
262
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
269
263
  dataSourceKey: z.ZodOptional<z.ZodString>;
264
+ dataSourceId: z.ZodOptional<z.ZodString>;
270
265
  appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
271
266
  direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
272
267
  defaultImportValue: z.ZodOptional<z.ZodAny>;
@@ -276,27 +271,36 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
276
271
  frozenImportFields: z.ZodOptional<z.ZodAny>;
277
272
  frozenExportFields: z.ZodOptional<z.ZodAny>;
278
273
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
274
+ } & {
275
+ name: z.ZodString;
276
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
277
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
278
+ revision: z.ZodOptional<z.ZodString>;
279
+ createdAt: z.ZodOptional<z.ZodString>;
280
+ updatedAt: z.ZodOptional<z.ZodString>;
279
281
  archivedAt: z.ZodOptional<z.ZodString>;
280
- customized: z.ZodOptional<z.ZodBoolean>;
282
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
283
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
284
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
281
285
  }, "strip", z.ZodTypeAny, {
282
286
  id: string;
283
287
  name: string;
284
- revision: string;
285
288
  key?: string | undefined;
286
289
  uuid?: string | undefined;
287
290
  description?: string | undefined;
291
+ meta?: Record<string, any> | undefined;
288
292
  state?: import("..").WorkspaceElementState | undefined;
289
293
  errors?: import("../..").ErrorDataSchema[] | undefined;
294
+ revision?: string | undefined;
290
295
  createdAt?: string | undefined;
291
296
  updatedAt?: string | undefined;
292
297
  archivedAt?: string | undefined;
293
298
  isDeactivated?: boolean | undefined;
294
299
  integrationId?: string | undefined;
295
- publishedRevision?: string | undefined;
300
+ isCustomized?: boolean | undefined;
296
301
  universalFieldMappingId?: string | undefined;
297
- universalFieldMappingRevision?: string | undefined;
298
- dataSourceId?: string | undefined;
299
302
  dataSourceKey?: string | undefined;
303
+ dataSourceId?: string | undefined;
300
304
  appSchema?: import("../..").DataSchema | undefined;
301
305
  direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
302
306
  defaultImportValue?: any;
@@ -306,26 +310,26 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
306
310
  frozenImportFields?: any;
307
311
  frozenExportFields?: any;
308
312
  frozenUnifiedExportFields?: any;
309
- customized?: boolean | undefined;
313
+ universalFieldMappingRevision?: string | undefined;
310
314
  }, {
311
315
  id: string;
312
316
  name: string;
313
- revision: string;
314
317
  key?: string | undefined;
315
318
  uuid?: string | undefined;
316
319
  description?: string | undefined;
320
+ meta?: Record<string, any> | undefined;
317
321
  state?: import("..").WorkspaceElementState | undefined;
318
322
  errors?: import("../..").ErrorDataSchema[] | undefined;
323
+ revision?: string | undefined;
319
324
  createdAt?: string | undefined;
320
325
  updatedAt?: string | undefined;
321
326
  archivedAt?: string | undefined;
322
327
  isDeactivated?: boolean | undefined;
323
328
  integrationId?: string | undefined;
324
- publishedRevision?: string | undefined;
329
+ isCustomized?: boolean | undefined;
325
330
  universalFieldMappingId?: string | undefined;
326
- universalFieldMappingRevision?: string | undefined;
327
- dataSourceId?: string | undefined;
328
331
  dataSourceKey?: string | undefined;
332
+ dataSourceId?: string | undefined;
329
333
  appSchema?: import("../..").DataSchema | undefined;
330
334
  direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
331
335
  defaultImportValue?: any;
@@ -335,13 +339,14 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
335
339
  frozenImportFields?: any;
336
340
  frozenExportFields?: any;
337
341
  frozenUnifiedExportFields?: any;
338
- customized?: boolean | undefined;
342
+ universalFieldMappingRevision?: string | undefined;
339
343
  }>>;
340
344
  dataSourceInstance: z.ZodOptional<z.ZodObject<{
341
345
  id: z.ZodString;
342
346
  key: z.ZodOptional<z.ZodString>;
343
347
  uuid: z.ZodOptional<z.ZodString>;
344
348
  description: z.ZodOptional<z.ZodString>;
349
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
345
350
  name: z.ZodString;
346
351
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
347
352
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1062,6 +1067,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1062
1067
  user: z.ZodOptional<z.ZodObject<{
1063
1068
  id: z.ZodString;
1064
1069
  name: z.ZodString;
1070
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1065
1071
  internalId: z.ZodString;
1066
1072
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1067
1073
  credentials: z.ZodOptional<z.ZodAny>;
@@ -1074,6 +1080,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1074
1080
  id: string;
1075
1081
  name: string;
1076
1082
  internalId: string;
1083
+ meta?: Record<string, any> | undefined;
1077
1084
  createdAt?: string | undefined;
1078
1085
  archivedAt?: string | undefined;
1079
1086
  credentials?: any;
@@ -1085,6 +1092,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1085
1092
  id: string;
1086
1093
  name: string;
1087
1094
  internalId: string;
1095
+ meta?: Record<string, any> | undefined;
1088
1096
  createdAt?: string | undefined;
1089
1097
  archivedAt?: string | undefined;
1090
1098
  credentials?: any;
@@ -1098,42 +1106,42 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1098
1106
  key: z.ZodOptional<z.ZodString>;
1099
1107
  uuid: z.ZodOptional<z.ZodString>;
1100
1108
  description: z.ZodOptional<z.ZodString>;
1101
- name: z.ZodString;
1102
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1103
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1104
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
1105
- } & {
1106
- revision: z.ZodString;
1107
- publishedRevision: z.ZodOptional<z.ZodString>;
1109
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1108
1110
  integrationId: z.ZodOptional<z.ZodString>;
1109
1111
  universalDataSourceId: z.ZodOptional<z.ZodString>;
1110
- universalDataSourceRevision: z.ZodOptional<z.ZodString>;
1111
1112
  udm: z.ZodOptional<z.ZodString>;
1112
1113
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1113
1114
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1114
1115
  collectionKey: z.ZodOptional<z.ZodString>;
1115
1116
  collectionParameters: z.ZodOptional<z.ZodAny>;
1116
- archivedAt: z.ZodOptional<z.ZodString>;
1117
+ defaultPath: z.ZodOptional<z.ZodString>;
1118
+ } & {
1119
+ name: z.ZodString;
1120
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1121
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1122
+ revision: z.ZodOptional<z.ZodString>;
1117
1123
  createdAt: z.ZodOptional<z.ZodString>;
1118
1124
  updatedAt: z.ZodOptional<z.ZodString>;
1119
- customized: z.ZodOptional<z.ZodBoolean>;
1120
- defaultPath: z.ZodOptional<z.ZodString>;
1125
+ archivedAt: z.ZodOptional<z.ZodString>;
1126
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1127
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1128
+ universalDataSourceRevision: z.ZodOptional<z.ZodString>;
1121
1129
  }, "strip", z.ZodTypeAny, {
1122
1130
  id: string;
1123
1131
  name: string;
1124
- revision: string;
1125
1132
  key?: string | undefined;
1126
1133
  uuid?: string | undefined;
1127
1134
  description?: string | undefined;
1135
+ meta?: Record<string, any> | undefined;
1128
1136
  state?: import("..").WorkspaceElementState | undefined;
1129
1137
  errors?: import("../..").ErrorDataSchema[] | undefined;
1138
+ revision?: string | undefined;
1130
1139
  createdAt?: string | undefined;
1131
1140
  updatedAt?: string | undefined;
1132
1141
  archivedAt?: string | undefined;
1133
1142
  isDeactivated?: boolean | undefined;
1134
1143
  integrationId?: string | undefined;
1135
- publishedRevision?: string | undefined;
1136
- customized?: boolean | undefined;
1144
+ isCustomized?: boolean | undefined;
1137
1145
  udm?: string | undefined;
1138
1146
  universalDataSourceId?: string | undefined;
1139
1147
  collectionKey?: string | undefined;
@@ -1145,19 +1153,19 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1145
1153
  }, {
1146
1154
  id: string;
1147
1155
  name: string;
1148
- revision: string;
1149
1156
  key?: string | undefined;
1150
1157
  uuid?: string | undefined;
1151
1158
  description?: string | undefined;
1159
+ meta?: Record<string, any> | undefined;
1152
1160
  state?: import("..").WorkspaceElementState | undefined;
1153
1161
  errors?: import("../..").ErrorDataSchema[] | undefined;
1162
+ revision?: string | undefined;
1154
1163
  createdAt?: string | undefined;
1155
1164
  updatedAt?: string | undefined;
1156
1165
  archivedAt?: string | undefined;
1157
1166
  isDeactivated?: boolean | undefined;
1158
1167
  integrationId?: string | undefined;
1159
- publishedRevision?: string | undefined;
1160
- customized?: boolean | undefined;
1168
+ isCustomized?: boolean | undefined;
1161
1169
  udm?: string | undefined;
1162
1170
  universalDataSourceId?: string | undefined;
1163
1171
  collectionKey?: string | undefined;
@@ -1175,6 +1183,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1175
1183
  isTest: z.ZodOptional<z.ZodBoolean>;
1176
1184
  disconnected: z.ZodOptional<z.ZodBoolean>;
1177
1185
  isDefunct: z.ZodOptional<z.ZodBoolean>;
1186
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1178
1187
  error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
1179
1188
  integrationId: z.ZodString;
1180
1189
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -1184,24 +1193,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1184
1193
  nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
1185
1194
  archivedAt: z.ZodOptional<z.ZodString>;
1186
1195
  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
1196
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1190
1197
  }, "strip", z.ZodTypeAny, {
1191
1198
  id: string;
1192
1199
  name: string;
1193
1200
  createdAt: string;
1194
1201
  updatedAt: string;
1195
- userId: string;
1196
1202
  integrationId: string;
1203
+ userId: string;
1197
1204
  error?: import("../..").ErrorDataSchema | undefined;
1205
+ meta?: Record<string, any> | undefined;
1198
1206
  state?: import("..").WorkspaceElementState | undefined;
1199
- errors?: import("../..").ErrorDataSchema[] | undefined;
1200
1207
  archivedAt?: string | undefined;
1201
1208
  isDeactivated?: boolean | undefined;
1202
1209
  authOptionKey?: string | undefined;
1203
1210
  isTest?: boolean | undefined;
1204
- meta?: Record<string, any> | undefined;
1205
1211
  disconnected?: boolean | undefined;
1206
1212
  isDefunct?: boolean | undefined;
1207
1213
  lastActiveAt?: string | undefined;
@@ -1211,16 +1217,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1211
1217
  name: string;
1212
1218
  createdAt: string;
1213
1219
  updatedAt: string;
1214
- userId: string;
1215
1220
  integrationId: string;
1221
+ userId: string;
1216
1222
  error?: import("../..").ErrorDataSchema | undefined;
1223
+ meta?: Record<string, any> | undefined;
1217
1224
  state?: import("..").WorkspaceElementState | undefined;
1218
- errors?: import("../..").ErrorDataSchema[] | undefined;
1219
1225
  archivedAt?: string | undefined;
1220
1226
  isDeactivated?: boolean | undefined;
1221
1227
  authOptionKey?: string | undefined;
1222
1228
  isTest?: boolean | undefined;
1223
- meta?: Record<string, any> | undefined;
1224
1229
  disconnected?: boolean | undefined;
1225
1230
  isDefunct?: boolean | undefined;
1226
1231
  lastActiveAt?: string | undefined;
@@ -1231,6 +1236,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1231
1236
  key: z.ZodOptional<z.ZodString>;
1232
1237
  uuid: z.ZodOptional<z.ZodString>;
1233
1238
  description: z.ZodOptional<z.ZodString>;
1239
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1234
1240
  name: z.ZodString;
1235
1241
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1236
1242
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -1265,6 +1271,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1265
1271
  key?: string | undefined;
1266
1272
  uuid?: string | undefined;
1267
1273
  description?: string | undefined;
1274
+ meta?: Record<string, any> | undefined;
1268
1275
  state?: import("..").WorkspaceElementState | undefined;
1269
1276
  errors?: import("../..").ErrorDataSchema[] | undefined;
1270
1277
  revision?: string | undefined;
@@ -1296,6 +1303,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1296
1303
  key?: string | undefined;
1297
1304
  uuid?: string | undefined;
1298
1305
  description?: string | undefined;
1306
+ meta?: Record<string, any> | undefined;
1299
1307
  state?: import("..").WorkspaceElementState | undefined;
1300
1308
  errors?: import("../..").ErrorDataSchema[] | undefined;
1301
1309
  revision?: string | undefined;
@@ -1325,25 +1333,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1325
1333
  id: string;
1326
1334
  name: string;
1327
1335
  revision: string;
1336
+ integrationId: string;
1328
1337
  userId: string;
1329
1338
  connectionId: string;
1330
- integrationId: string;
1331
1339
  key?: string | undefined;
1332
1340
  connection?: {
1333
1341
  id: string;
1334
1342
  name: string;
1335
1343
  createdAt: string;
1336
1344
  updatedAt: string;
1337
- userId: string;
1338
1345
  integrationId: string;
1346
+ userId: string;
1339
1347
  error?: import("../..").ErrorDataSchema | undefined;
1348
+ meta?: Record<string, any> | undefined;
1340
1349
  state?: import("..").WorkspaceElementState | undefined;
1341
- errors?: import("../..").ErrorDataSchema[] | undefined;
1342
1350
  archivedAt?: string | undefined;
1343
1351
  isDeactivated?: boolean | undefined;
1344
1352
  authOptionKey?: string | undefined;
1345
1353
  isTest?: boolean | undefined;
1346
- meta?: Record<string, any> | undefined;
1347
1354
  disconnected?: boolean | undefined;
1348
1355
  isDefunct?: boolean | undefined;
1349
1356
  lastActiveAt?: string | undefined;
@@ -1357,6 +1364,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1357
1364
  key?: string | undefined;
1358
1365
  uuid?: string | undefined;
1359
1366
  description?: string | undefined;
1367
+ meta?: Record<string, any> | undefined;
1360
1368
  state?: import("..").WorkspaceElementState | undefined;
1361
1369
  errors?: import("../..").ErrorDataSchema[] | undefined;
1362
1370
  revision?: string | undefined;
@@ -1384,14 +1392,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1384
1392
  } | undefined;
1385
1393
  uuid?: string | undefined;
1386
1394
  description?: string | undefined;
1395
+ meta?: Record<string, any> | undefined;
1387
1396
  state?: import("..").WorkspaceElementState | undefined;
1388
1397
  errors?: import("../..").ErrorDataSchema[] | undefined;
1389
1398
  createdAt?: string | undefined;
1390
1399
  updatedAt?: string | undefined;
1391
1400
  archivedAt?: string | undefined;
1392
1401
  isDeactivated?: boolean | undefined;
1402
+ isCustomized?: boolean | undefined;
1393
1403
  instanceKey?: string | undefined;
1394
- dataSourceId?: string | undefined;
1395
1404
  udm?: string | undefined;
1396
1405
  collectionSpec?: {
1397
1406
  type: "collection";
@@ -1532,6 +1541,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1532
1541
  id: string;
1533
1542
  name: string;
1534
1543
  internalId: string;
1544
+ meta?: Record<string, any> | undefined;
1535
1545
  createdAt?: string | undefined;
1536
1546
  archivedAt?: string | undefined;
1537
1547
  credentials?: any;
@@ -1540,7 +1550,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1540
1550
  lastActiveAt?: string | undefined;
1541
1551
  isBillable?: boolean | undefined;
1542
1552
  } | undefined;
1543
- isCustomized?: boolean | undefined;
1553
+ dataSourceId?: string | undefined;
1544
1554
  dataSourceRevision?: string | undefined;
1545
1555
  universalDataSourceId?: string | undefined;
1546
1556
  collectionKey?: string | undefined;
@@ -1553,19 +1563,19 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1553
1563
  dataSource?: {
1554
1564
  id: string;
1555
1565
  name: string;
1556
- revision: string;
1557
1566
  key?: string | undefined;
1558
1567
  uuid?: string | undefined;
1559
1568
  description?: string | undefined;
1569
+ meta?: Record<string, any> | undefined;
1560
1570
  state?: import("..").WorkspaceElementState | undefined;
1561
1571
  errors?: import("../..").ErrorDataSchema[] | undefined;
1572
+ revision?: string | undefined;
1562
1573
  createdAt?: string | undefined;
1563
1574
  updatedAt?: string | undefined;
1564
1575
  archivedAt?: string | undefined;
1565
1576
  isDeactivated?: boolean | undefined;
1566
1577
  integrationId?: string | undefined;
1567
- publishedRevision?: string | undefined;
1568
- customized?: boolean | undefined;
1578
+ isCustomized?: boolean | undefined;
1569
1579
  udm?: string | undefined;
1570
1580
  universalDataSourceId?: string | undefined;
1571
1581
  collectionKey?: string | undefined;
@@ -1579,25 +1589,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1579
1589
  id: string;
1580
1590
  name: string;
1581
1591
  revision: string;
1592
+ integrationId: string;
1582
1593
  userId: string;
1583
1594
  connectionId: string;
1584
- integrationId: string;
1585
1595
  key?: string | undefined;
1586
1596
  connection?: {
1587
1597
  id: string;
1588
1598
  name: string;
1589
1599
  createdAt: string;
1590
1600
  updatedAt: string;
1591
- userId: string;
1592
1601
  integrationId: string;
1602
+ userId: string;
1593
1603
  error?: import("../..").ErrorDataSchema | undefined;
1604
+ meta?: Record<string, any> | undefined;
1594
1605
  state?: import("..").WorkspaceElementState | undefined;
1595
- errors?: import("../..").ErrorDataSchema[] | undefined;
1596
1606
  archivedAt?: string | undefined;
1597
1607
  isDeactivated?: boolean | undefined;
1598
1608
  authOptionKey?: string | undefined;
1599
1609
  isTest?: boolean | undefined;
1600
- meta?: Record<string, any> | undefined;
1601
1610
  disconnected?: boolean | undefined;
1602
1611
  isDefunct?: boolean | undefined;
1603
1612
  lastActiveAt?: string | undefined;
@@ -1611,6 +1620,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1611
1620
  key?: string | undefined;
1612
1621
  uuid?: string | undefined;
1613
1622
  description?: string | undefined;
1623
+ meta?: Record<string, any> | undefined;
1614
1624
  state?: import("..").WorkspaceElementState | undefined;
1615
1625
  errors?: import("../..").ErrorDataSchema[] | undefined;
1616
1626
  revision?: string | undefined;
@@ -1638,14 +1648,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1638
1648
  } | undefined;
1639
1649
  uuid?: string | undefined;
1640
1650
  description?: string | undefined;
1651
+ meta?: Record<string, any> | undefined;
1641
1652
  state?: import("..").WorkspaceElementState | undefined;
1642
1653
  errors?: import("../..").ErrorDataSchema[] | undefined;
1643
1654
  createdAt?: string | undefined;
1644
1655
  updatedAt?: string | undefined;
1645
1656
  archivedAt?: string | undefined;
1646
1657
  isDeactivated?: boolean | undefined;
1658
+ isCustomized?: boolean | undefined;
1647
1659
  instanceKey?: string | undefined;
1648
- dataSourceId?: string | undefined;
1649
1660
  udm?: string | undefined;
1650
1661
  collectionSpec?: {
1651
1662
  type: "collection";
@@ -1786,6 +1797,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1786
1797
  id: string;
1787
1798
  name: string;
1788
1799
  internalId: string;
1800
+ meta?: Record<string, any> | undefined;
1789
1801
  createdAt?: string | undefined;
1790
1802
  archivedAt?: string | undefined;
1791
1803
  credentials?: any;
@@ -1794,7 +1806,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1794
1806
  lastActiveAt?: string | undefined;
1795
1807
  isBillable?: boolean | undefined;
1796
1808
  } | undefined;
1797
- isCustomized?: boolean | undefined;
1809
+ dataSourceId?: string | undefined;
1798
1810
  dataSourceRevision?: string | undefined;
1799
1811
  universalDataSourceId?: string | undefined;
1800
1812
  collectionKey?: string | undefined;
@@ -1807,19 +1819,19 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1807
1819
  dataSource?: {
1808
1820
  id: string;
1809
1821
  name: string;
1810
- revision: string;
1811
1822
  key?: string | undefined;
1812
1823
  uuid?: string | undefined;
1813
1824
  description?: string | undefined;
1825
+ meta?: Record<string, any> | undefined;
1814
1826
  state?: import("..").WorkspaceElementState | undefined;
1815
1827
  errors?: import("../..").ErrorDataSchema[] | undefined;
1828
+ revision?: string | undefined;
1816
1829
  createdAt?: string | undefined;
1817
1830
  updatedAt?: string | undefined;
1818
1831
  archivedAt?: string | undefined;
1819
1832
  isDeactivated?: boolean | undefined;
1820
1833
  integrationId?: string | undefined;
1821
- publishedRevision?: string | undefined;
1822
- customized?: boolean | undefined;
1834
+ isCustomized?: boolean | undefined;
1823
1835
  udm?: string | undefined;
1824
1836
  universalDataSourceId?: string | undefined;
1825
1837
  collectionKey?: string | undefined;
@@ -1834,25 +1846,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1834
1846
  id: string;
1835
1847
  name: string;
1836
1848
  revision: string;
1849
+ integrationId: string;
1837
1850
  userId: string;
1838
1851
  connectionId: string;
1839
- integrationId: string;
1840
1852
  key?: string | undefined;
1841
1853
  connection?: {
1842
1854
  id: string;
1843
1855
  name: string;
1844
1856
  createdAt: string;
1845
1857
  updatedAt: string;
1846
- userId: string;
1847
1858
  integrationId: string;
1859
+ userId: string;
1848
1860
  error?: import("../..").ErrorDataSchema | undefined;
1861
+ meta?: Record<string, any> | undefined;
1849
1862
  state?: import("..").WorkspaceElementState | undefined;
1850
- errors?: import("../..").ErrorDataSchema[] | undefined;
1851
1863
  archivedAt?: string | undefined;
1852
1864
  isDeactivated?: boolean | undefined;
1853
1865
  authOptionKey?: string | undefined;
1854
1866
  isTest?: boolean | undefined;
1855
- meta?: Record<string, any> | undefined;
1856
1867
  disconnected?: boolean | undefined;
1857
1868
  isDefunct?: boolean | undefined;
1858
1869
  lastActiveAt?: string | undefined;
@@ -1866,6 +1877,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1866
1877
  key?: string | undefined;
1867
1878
  uuid?: string | undefined;
1868
1879
  description?: string | undefined;
1880
+ meta?: Record<string, any> | undefined;
1869
1881
  state?: import("..").WorkspaceElementState | undefined;
1870
1882
  errors?: import("../..").ErrorDataSchema[] | undefined;
1871
1883
  revision?: string | undefined;
@@ -1893,23 +1905,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1893
1905
  } | undefined;
1894
1906
  uuid?: string | undefined;
1895
1907
  description?: string | undefined;
1908
+ meta?: Record<string, any> | undefined;
1896
1909
  state?: import("..").WorkspaceElementState | undefined;
1897
1910
  errors?: import("../..").ErrorDataSchema[] | undefined;
1898
1911
  createdAt?: string | undefined;
1899
1912
  updatedAt?: string | undefined;
1900
1913
  archivedAt?: string | undefined;
1901
1914
  isDeactivated?: boolean | undefined;
1915
+ isCustomized?: boolean | undefined;
1902
1916
  instanceKey?: string | undefined;
1903
- appSchema?: import("../..").DataSchema | undefined;
1904
- direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
1905
- importValue?: any;
1906
- exportValue?: any;
1907
- frozenImportFields?: string[] | undefined;
1908
- frozenExportFields?: string[] | undefined;
1909
1917
  user?: {
1910
1918
  id: string;
1911
1919
  name: string;
1912
1920
  internalId: string;
1921
+ meta?: Record<string, any> | undefined;
1913
1922
  createdAt?: string | undefined;
1914
1923
  archivedAt?: string | undefined;
1915
1924
  credentials?: any;
@@ -1918,7 +1927,12 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1918
1927
  lastActiveAt?: string | undefined;
1919
1928
  isBillable?: boolean | undefined;
1920
1929
  } | undefined;
1921
- isCustomized?: boolean | undefined;
1930
+ appSchema?: import("../..").DataSchema | undefined;
1931
+ direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
1932
+ importValue?: any;
1933
+ exportValue?: any;
1934
+ frozenImportFields?: string[] | undefined;
1935
+ frozenExportFields?: string[] | undefined;
1922
1936
  dataSourceInstanceId?: string | undefined;
1923
1937
  fieldMappingRevision?: string | undefined;
1924
1938
  fieldMappingId?: string | undefined;
@@ -1929,22 +1943,22 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1929
1943
  fieldMapping?: {
1930
1944
  id: string;
1931
1945
  name: string;
1932
- revision: string;
1933
1946
  key?: string | undefined;
1934
1947
  uuid?: string | undefined;
1935
1948
  description?: string | undefined;
1949
+ meta?: Record<string, any> | undefined;
1936
1950
  state?: import("..").WorkspaceElementState | undefined;
1937
1951
  errors?: import("../..").ErrorDataSchema[] | undefined;
1952
+ revision?: string | undefined;
1938
1953
  createdAt?: string | undefined;
1939
1954
  updatedAt?: string | undefined;
1940
1955
  archivedAt?: string | undefined;
1941
1956
  isDeactivated?: boolean | undefined;
1942
1957
  integrationId?: string | undefined;
1943
- publishedRevision?: string | undefined;
1958
+ isCustomized?: boolean | undefined;
1944
1959
  universalFieldMappingId?: string | undefined;
1945
- universalFieldMappingRevision?: string | undefined;
1946
- dataSourceId?: string | undefined;
1947
1960
  dataSourceKey?: string | undefined;
1961
+ dataSourceId?: string | undefined;
1948
1962
  appSchema?: import("../..").DataSchema | undefined;
1949
1963
  direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
1950
1964
  defaultImportValue?: any;
@@ -1954,31 +1968,30 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1954
1968
  frozenImportFields?: any;
1955
1969
  frozenExportFields?: any;
1956
1970
  frozenUnifiedExportFields?: any;
1957
- customized?: boolean | undefined;
1971
+ universalFieldMappingRevision?: string | undefined;
1958
1972
  } | undefined;
1959
1973
  dataSourceInstance?: {
1960
1974
  id: string;
1961
1975
  name: string;
1962
1976
  revision: string;
1977
+ integrationId: string;
1963
1978
  userId: string;
1964
1979
  connectionId: string;
1965
- integrationId: string;
1966
1980
  key?: string | undefined;
1967
1981
  connection?: {
1968
1982
  id: string;
1969
1983
  name: string;
1970
1984
  createdAt: string;
1971
1985
  updatedAt: string;
1972
- userId: string;
1973
1986
  integrationId: string;
1987
+ userId: string;
1974
1988
  error?: import("../..").ErrorDataSchema | undefined;
1989
+ meta?: Record<string, any> | undefined;
1975
1990
  state?: import("..").WorkspaceElementState | undefined;
1976
- errors?: import("../..").ErrorDataSchema[] | undefined;
1977
1991
  archivedAt?: string | undefined;
1978
1992
  isDeactivated?: boolean | undefined;
1979
1993
  authOptionKey?: string | undefined;
1980
1994
  isTest?: boolean | undefined;
1981
- meta?: Record<string, any> | undefined;
1982
1995
  disconnected?: boolean | undefined;
1983
1996
  isDefunct?: boolean | undefined;
1984
1997
  lastActiveAt?: string | undefined;
@@ -1992,6 +2005,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1992
2005
  key?: string | undefined;
1993
2006
  uuid?: string | undefined;
1994
2007
  description?: string | undefined;
2008
+ meta?: Record<string, any> | undefined;
1995
2009
  state?: import("..").WorkspaceElementState | undefined;
1996
2010
  errors?: import("../..").ErrorDataSchema[] | undefined;
1997
2011
  revision?: string | undefined;
@@ -2019,14 +2033,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2019
2033
  } | undefined;
2020
2034
  uuid?: string | undefined;
2021
2035
  description?: string | undefined;
2036
+ meta?: Record<string, any> | undefined;
2022
2037
  state?: import("..").WorkspaceElementState | undefined;
2023
2038
  errors?: import("../..").ErrorDataSchema[] | undefined;
2024
2039
  createdAt?: string | undefined;
2025
2040
  updatedAt?: string | undefined;
2026
2041
  archivedAt?: string | undefined;
2027
2042
  isDeactivated?: boolean | undefined;
2043
+ isCustomized?: boolean | undefined;
2028
2044
  instanceKey?: string | undefined;
2029
- dataSourceId?: string | undefined;
2030
2045
  udm?: string | undefined;
2031
2046
  collectionSpec?: {
2032
2047
  type: "collection";
@@ -2167,6 +2182,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2167
2182
  id: string;
2168
2183
  name: string;
2169
2184
  internalId: string;
2185
+ meta?: Record<string, any> | undefined;
2170
2186
  createdAt?: string | undefined;
2171
2187
  archivedAt?: string | undefined;
2172
2188
  credentials?: any;
@@ -2175,7 +2191,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2175
2191
  lastActiveAt?: string | undefined;
2176
2192
  isBillable?: boolean | undefined;
2177
2193
  } | undefined;
2178
- isCustomized?: boolean | undefined;
2194
+ dataSourceId?: string | undefined;
2179
2195
  dataSourceRevision?: string | undefined;
2180
2196
  universalDataSourceId?: string | undefined;
2181
2197
  collectionKey?: string | undefined;
@@ -2188,19 +2204,19 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2188
2204
  dataSource?: {
2189
2205
  id: string;
2190
2206
  name: string;
2191
- revision: string;
2192
2207
  key?: string | undefined;
2193
2208
  uuid?: string | undefined;
2194
2209
  description?: string | undefined;
2210
+ meta?: Record<string, any> | undefined;
2195
2211
  state?: import("..").WorkspaceElementState | undefined;
2196
2212
  errors?: import("../..").ErrorDataSchema[] | undefined;
2213
+ revision?: string | undefined;
2197
2214
  createdAt?: string | undefined;
2198
2215
  updatedAt?: string | undefined;
2199
2216
  archivedAt?: string | undefined;
2200
2217
  isDeactivated?: boolean | undefined;
2201
2218
  integrationId?: string | undefined;
2202
- publishedRevision?: string | undefined;
2203
- customized?: boolean | undefined;
2219
+ isCustomized?: boolean | undefined;
2204
2220
  udm?: string | undefined;
2205
2221
  universalDataSourceId?: string | undefined;
2206
2222
  collectionKey?: string | undefined;
@@ -2215,25 +2231,24 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2215
2231
  id: string;
2216
2232
  name: string;
2217
2233
  revision: string;
2234
+ integrationId: string;
2218
2235
  userId: string;
2219
2236
  connectionId: string;
2220
- integrationId: string;
2221
2237
  key?: string | undefined;
2222
2238
  connection?: {
2223
2239
  id: string;
2224
2240
  name: string;
2225
2241
  createdAt: string;
2226
2242
  updatedAt: string;
2227
- userId: string;
2228
2243
  integrationId: string;
2244
+ userId: string;
2229
2245
  error?: import("../..").ErrorDataSchema | undefined;
2246
+ meta?: Record<string, any> | undefined;
2230
2247
  state?: import("..").WorkspaceElementState | undefined;
2231
- errors?: import("../..").ErrorDataSchema[] | undefined;
2232
2248
  archivedAt?: string | undefined;
2233
2249
  isDeactivated?: boolean | undefined;
2234
2250
  authOptionKey?: string | undefined;
2235
2251
  isTest?: boolean | undefined;
2236
- meta?: Record<string, any> | undefined;
2237
2252
  disconnected?: boolean | undefined;
2238
2253
  isDefunct?: boolean | undefined;
2239
2254
  lastActiveAt?: string | undefined;
@@ -2247,6 +2262,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2247
2262
  key?: string | undefined;
2248
2263
  uuid?: string | undefined;
2249
2264
  description?: string | undefined;
2265
+ meta?: Record<string, any> | undefined;
2250
2266
  state?: import("..").WorkspaceElementState | undefined;
2251
2267
  errors?: import("../..").ErrorDataSchema[] | undefined;
2252
2268
  revision?: string | undefined;
@@ -2274,23 +2290,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2274
2290
  } | undefined;
2275
2291
  uuid?: string | undefined;
2276
2292
  description?: string | undefined;
2293
+ meta?: Record<string, any> | undefined;
2277
2294
  state?: import("..").WorkspaceElementState | undefined;
2278
2295
  errors?: import("../..").ErrorDataSchema[] | undefined;
2279
2296
  createdAt?: string | undefined;
2280
2297
  updatedAt?: string | undefined;
2281
2298
  archivedAt?: string | undefined;
2282
2299
  isDeactivated?: boolean | undefined;
2300
+ isCustomized?: boolean | undefined;
2283
2301
  instanceKey?: string | undefined;
2284
- appSchema?: import("../..").DataSchema | undefined;
2285
- direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2286
- importValue?: any;
2287
- exportValue?: any;
2288
- frozenImportFields?: string[] | undefined;
2289
- frozenExportFields?: string[] | undefined;
2290
2302
  user?: {
2291
2303
  id: string;
2292
2304
  name: string;
2293
2305
  internalId: string;
2306
+ meta?: Record<string, any> | undefined;
2294
2307
  createdAt?: string | undefined;
2295
2308
  archivedAt?: string | undefined;
2296
2309
  credentials?: any;
@@ -2299,7 +2312,12 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2299
2312
  lastActiveAt?: string | undefined;
2300
2313
  isBillable?: boolean | undefined;
2301
2314
  } | undefined;
2302
- isCustomized?: boolean | undefined;
2315
+ appSchema?: import("../..").DataSchema | undefined;
2316
+ direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2317
+ importValue?: any;
2318
+ exportValue?: any;
2319
+ frozenImportFields?: string[] | undefined;
2320
+ frozenExportFields?: string[] | undefined;
2303
2321
  dataSourceInstanceId?: string | undefined;
2304
2322
  fieldMappingRevision?: string | undefined;
2305
2323
  fieldMappingId?: string | undefined;
@@ -2310,22 +2328,22 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2310
2328
  fieldMapping?: {
2311
2329
  id: string;
2312
2330
  name: string;
2313
- revision: string;
2314
2331
  key?: string | undefined;
2315
2332
  uuid?: string | undefined;
2316
2333
  description?: string | undefined;
2334
+ meta?: Record<string, any> | undefined;
2317
2335
  state?: import("..").WorkspaceElementState | undefined;
2318
2336
  errors?: import("../..").ErrorDataSchema[] | undefined;
2337
+ revision?: string | undefined;
2319
2338
  createdAt?: string | undefined;
2320
2339
  updatedAt?: string | undefined;
2321
2340
  archivedAt?: string | undefined;
2322
2341
  isDeactivated?: boolean | undefined;
2323
2342
  integrationId?: string | undefined;
2324
- publishedRevision?: string | undefined;
2343
+ isCustomized?: boolean | undefined;
2325
2344
  universalFieldMappingId?: string | undefined;
2326
- universalFieldMappingRevision?: string | undefined;
2327
- dataSourceId?: string | undefined;
2328
2345
  dataSourceKey?: string | undefined;
2346
+ dataSourceId?: string | undefined;
2329
2347
  appSchema?: import("../..").DataSchema | undefined;
2330
2348
  direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2331
2349
  defaultImportValue?: any;
@@ -2335,31 +2353,30 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2335
2353
  frozenImportFields?: any;
2336
2354
  frozenExportFields?: any;
2337
2355
  frozenUnifiedExportFields?: any;
2338
- customized?: boolean | undefined;
2356
+ universalFieldMappingRevision?: string | undefined;
2339
2357
  } | undefined;
2340
2358
  dataSourceInstance?: {
2341
2359
  id: string;
2342
2360
  name: string;
2343
2361
  revision: string;
2362
+ integrationId: string;
2344
2363
  userId: string;
2345
2364
  connectionId: string;
2346
- integrationId: string;
2347
2365
  key?: string | undefined;
2348
2366
  connection?: {
2349
2367
  id: string;
2350
2368
  name: string;
2351
2369
  createdAt: string;
2352
2370
  updatedAt: string;
2353
- userId: string;
2354
2371
  integrationId: string;
2372
+ userId: string;
2355
2373
  error?: import("../..").ErrorDataSchema | undefined;
2374
+ meta?: Record<string, any> | undefined;
2356
2375
  state?: import("..").WorkspaceElementState | undefined;
2357
- errors?: import("../..").ErrorDataSchema[] | undefined;
2358
2376
  archivedAt?: string | undefined;
2359
2377
  isDeactivated?: boolean | undefined;
2360
2378
  authOptionKey?: string | undefined;
2361
2379
  isTest?: boolean | undefined;
2362
- meta?: Record<string, any> | undefined;
2363
2380
  disconnected?: boolean | undefined;
2364
2381
  isDefunct?: boolean | undefined;
2365
2382
  lastActiveAt?: string | undefined;
@@ -2373,6 +2390,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2373
2390
  key?: string | undefined;
2374
2391
  uuid?: string | undefined;
2375
2392
  description?: string | undefined;
2393
+ meta?: Record<string, any> | undefined;
2376
2394
  state?: import("..").WorkspaceElementState | undefined;
2377
2395
  errors?: import("../..").ErrorDataSchema[] | undefined;
2378
2396
  revision?: string | undefined;
@@ -2400,14 +2418,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2400
2418
  } | undefined;
2401
2419
  uuid?: string | undefined;
2402
2420
  description?: string | undefined;
2421
+ meta?: Record<string, any> | undefined;
2403
2422
  state?: import("..").WorkspaceElementState | undefined;
2404
2423
  errors?: import("../..").ErrorDataSchema[] | undefined;
2405
2424
  createdAt?: string | undefined;
2406
2425
  updatedAt?: string | undefined;
2407
2426
  archivedAt?: string | undefined;
2408
2427
  isDeactivated?: boolean | undefined;
2428
+ isCustomized?: boolean | undefined;
2409
2429
  instanceKey?: string | undefined;
2410
- dataSourceId?: string | undefined;
2411
2430
  udm?: string | undefined;
2412
2431
  collectionSpec?: {
2413
2432
  type: "collection";
@@ -2548,6 +2567,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2548
2567
  id: string;
2549
2568
  name: string;
2550
2569
  internalId: string;
2570
+ meta?: Record<string, any> | undefined;
2551
2571
  createdAt?: string | undefined;
2552
2572
  archivedAt?: string | undefined;
2553
2573
  credentials?: any;
@@ -2556,7 +2576,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2556
2576
  lastActiveAt?: string | undefined;
2557
2577
  isBillable?: boolean | undefined;
2558
2578
  } | undefined;
2559
- isCustomized?: boolean | undefined;
2579
+ dataSourceId?: string | undefined;
2560
2580
  dataSourceRevision?: string | undefined;
2561
2581
  universalDataSourceId?: string | undefined;
2562
2582
  collectionKey?: string | undefined;
@@ -2569,19 +2589,19 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2569
2589
  dataSource?: {
2570
2590
  id: string;
2571
2591
  name: string;
2572
- revision: string;
2573
2592
  key?: string | undefined;
2574
2593
  uuid?: string | undefined;
2575
2594
  description?: string | undefined;
2595
+ meta?: Record<string, any> | undefined;
2576
2596
  state?: import("..").WorkspaceElementState | undefined;
2577
2597
  errors?: import("../..").ErrorDataSchema[] | undefined;
2598
+ revision?: string | undefined;
2578
2599
  createdAt?: string | undefined;
2579
2600
  updatedAt?: string | undefined;
2580
2601
  archivedAt?: string | undefined;
2581
2602
  isDeactivated?: boolean | undefined;
2582
2603
  integrationId?: string | undefined;
2583
- publishedRevision?: string | undefined;
2584
- customized?: boolean | undefined;
2604
+ isCustomized?: boolean | undefined;
2585
2605
  udm?: string | undefined;
2586
2606
  universalDataSourceId?: string | undefined;
2587
2607
  collectionKey?: string | undefined;