@membranehq/sdk 0.5.2 → 0.7.0

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 (96) hide show
  1. package/dist/bundle.d.ts +1828 -1832
  2. package/dist/bundle.js +32 -23
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +13 -10
  5. package/dist/dts/accessors/actions-accessors.d.ts +9 -9
  6. package/dist/dts/accessors/app-data-schema-instances-accessors.d.ts +3 -3
  7. package/dist/dts/accessors/app-data-schemas-accessors.d.ts +3 -3
  8. package/dist/dts/accessors/app-event-subscriptions-accessors.d.ts +3 -3
  9. package/dist/dts/accessors/app-event-types-accessors.d.ts +3 -3
  10. package/dist/dts/accessors/base-accessors.d.ts +8 -8
  11. package/dist/dts/accessors/connections-accessors.d.ts +15 -15
  12. package/dist/dts/accessors/customers-accessors.d.ts +5 -5
  13. package/dist/dts/accessors/data-link-table-instances-accessors.d.ts +3 -3
  14. package/dist/dts/accessors/data-link-tables-accessors.d.ts +3 -3
  15. package/dist/dts/accessors/data-sources-accessors.d.ts +14 -14
  16. package/dist/dts/accessors/external-event-subscriptions-accessors.d.ts +3 -3
  17. package/dist/dts/accessors/field-mapping-instances-accessors.d.ts +7 -7
  18. package/dist/dts/accessors/field-mappings-accessors.d.ts +7 -7
  19. package/dist/dts/accessors/flow-instances-accessors.d.ts +8 -8
  20. package/dist/dts/accessors/flow-runs-accessors.d.ts +3 -3
  21. package/dist/dts/accessors/flows-accessors.d.ts +7 -7
  22. package/dist/dts/accessors/integrations-accessors.d.ts +10 -10
  23. package/dist/dts/accessors/scenarios-accessors.d.ts +3 -3
  24. package/dist/dts/accessors/screens-accessors.d.ts +3 -3
  25. package/dist/dts/api-client.d.ts +3 -3
  26. package/dist/dts/auth/accessors.d.ts +2 -2
  27. package/dist/dts/client.d.ts +5 -5
  28. package/dist/dts/data-builder/index.d.ts +1 -1
  29. package/dist/dts/data-schema/arbitrary-fields.test.d.ts +1 -0
  30. package/dist/dts/data-schema/types.d.ts +1 -0
  31. package/dist/dts/error-tools/index.d.ts +1 -1
  32. package/dist/dts/errors/index.d.ts +24 -15
  33. package/dist/dts/formulas/base.d.ts +3 -1
  34. package/dist/dts/index.d.ts +2 -1
  35. package/dist/dts/index.umd.d.ts +2 -2
  36. package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +5 -5
  37. package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +5 -5
  38. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +119 -65
  39. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +69 -90
  40. package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -339
  41. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
  42. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
  43. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
  44. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
  45. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
  46. package/dist/dts/workspace-elements/api/connections-api.d.ts +90 -89
  47. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +50 -50
  48. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
  49. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +55 -55
  50. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -62
  51. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +40 -40
  52. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +40 -40
  53. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +35 -35
  54. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -20
  55. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +166 -166
  56. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +96 -96
  57. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +128 -128
  58. package/dist/dts/workspace-elements/api/flows-api.d.ts +223 -223
  59. package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -26
  60. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -21
  61. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +10 -10
  62. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
  63. package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
  64. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
  65. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
  66. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
  67. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
  68. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -10
  69. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
  70. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
  71. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
  72. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
  73. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
  74. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
  75. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
  76. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
  77. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +21 -21
  78. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +8 -8
  79. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -14
  80. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
  81. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
  82. package/dist/dts/workspace-elements/base/flows/types.d.ts +15 -15
  83. package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -48
  84. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
  85. package/dist/dts/workspace-elements/errors.d.ts +2 -2
  86. package/dist/dts/workspace-elements/types.d.ts +53 -9
  87. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
  88. package/dist/dts/workspaces/types.d.ts +2 -0
  89. package/dist/index.d.ts +2416 -2380
  90. package/dist/index.js +125 -118
  91. package/dist/index.js.map +1 -1
  92. package/dist/index.module.d.mts +2416 -2380
  93. package/dist/index.module.mjs +117 -113
  94. package/dist/index.module.mjs.map +1 -1
  95. package/package.json +1 -3
  96. package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
@@ -28,15 +28,15 @@ export interface FieldMappingInstanceSelector extends ConnectionSelector, FlowIn
28
28
  }
29
29
  export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
30
30
  id: z.ZodString;
31
- name: z.ZodString;
32
31
  key: z.ZodOptional<z.ZodString>;
33
32
  uuid: z.ZodOptional<z.ZodString>;
34
33
  description: z.ZodOptional<z.ZodString>;
35
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
36
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
34
+ name: z.ZodString;
35
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
37
36
  createdAt: z.ZodOptional<z.ZodString>;
38
37
  updatedAt: z.ZodOptional<z.ZodString>;
39
38
  archivedAt: z.ZodOptional<z.ZodString>;
39
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
40
40
  } & {
41
41
  userId: z.ZodString;
42
42
  revision: z.ZodString;
@@ -57,7 +57,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
57
57
  frozenImportFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58
58
  frozenExportFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
59
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
60
- error: any;
60
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
61
61
  externalSchema: z.ZodOptional<z.ZodAny>;
62
62
  } & {
63
63
  user: z.ZodOptional<z.ZodObject<{
@@ -102,7 +102,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
102
102
  isTest: z.ZodOptional<z.ZodBoolean>;
103
103
  disconnected: z.ZodOptional<z.ZodBoolean>;
104
104
  isDefunct: z.ZodOptional<z.ZodBoolean>;
105
- error: any;
105
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
106
106
  integrationId: z.ZodString;
107
107
  authOptionKey: z.ZodOptional<z.ZodString>;
108
108
  createdAt: z.ZodString;
@@ -112,7 +112,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
112
112
  archivedAt: z.ZodOptional<z.ZodString>;
113
113
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
114
114
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
115
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
115
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
116
116
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
117
117
  }, "strip", z.ZodTypeAny, {
118
118
  id: string;
@@ -121,18 +121,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
121
121
  updatedAt: string;
122
122
  userId: string;
123
123
  integrationId: string;
124
- error?: any;
124
+ error?: import("../..").ErrorDataSchema | undefined;
125
125
  state?: import("..").WorkspaceElementState | undefined;
126
- errors?: any[] | undefined;
127
- isDeactivated?: boolean | undefined;
126
+ errors?: import("../..").ErrorDataSchema[] | undefined;
128
127
  archivedAt?: string | undefined;
128
+ isDeactivated?: boolean | undefined;
129
129
  authOptionKey?: string | undefined;
130
130
  isTest?: boolean | undefined;
131
+ meta?: Record<string, any> | undefined;
131
132
  disconnected?: boolean | undefined;
132
133
  isDefunct?: boolean | undefined;
133
134
  lastActiveAt?: string | undefined;
134
135
  nextCredentialsRefreshAt?: string | undefined;
135
- meta?: Record<string, any> | undefined;
136
136
  }, {
137
137
  id: string;
138
138
  name: string;
@@ -140,27 +140,27 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
140
140
  updatedAt: string;
141
141
  userId: string;
142
142
  integrationId: string;
143
- error?: any;
143
+ error?: import("../..").ErrorDataSchema | undefined;
144
144
  state?: import("..").WorkspaceElementState | undefined;
145
- errors?: any[] | undefined;
146
- isDeactivated?: boolean | undefined;
145
+ errors?: import("../..").ErrorDataSchema[] | undefined;
147
146
  archivedAt?: string | undefined;
147
+ isDeactivated?: boolean | undefined;
148
148
  authOptionKey?: string | undefined;
149
149
  isTest?: boolean | undefined;
150
+ meta?: Record<string, any> | undefined;
150
151
  disconnected?: boolean | undefined;
151
152
  isDefunct?: boolean | undefined;
152
153
  lastActiveAt?: string | undefined;
153
154
  nextCredentialsRefreshAt?: string | undefined;
154
- meta?: Record<string, any> | undefined;
155
155
  }>>;
156
156
  integration: z.ZodOptional<z.ZodObject<{
157
157
  id: z.ZodString;
158
- name: z.ZodString;
159
158
  key: z.ZodOptional<z.ZodString>;
160
159
  uuid: z.ZodOptional<z.ZodString>;
161
160
  description: z.ZodOptional<z.ZodString>;
161
+ name: z.ZodString;
162
162
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
163
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
163
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
164
164
  revision: z.ZodOptional<z.ZodString>;
165
165
  createdAt: z.ZodOptional<z.ZodString>;
166
166
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -193,14 +193,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
193
193
  uuid?: string | undefined;
194
194
  description?: string | undefined;
195
195
  state?: import("..").WorkspaceElementState | undefined;
196
- errors?: any[] | undefined;
196
+ errors?: import("../..").ErrorDataSchema[] | undefined;
197
197
  revision?: string | undefined;
198
- isDeactivated?: boolean | undefined;
199
198
  createdAt?: string | undefined;
200
199
  updatedAt?: string | undefined;
201
200
  archivedAt?: string | undefined;
201
+ isDeactivated?: boolean | undefined;
202
202
  parameters?: any;
203
- isTest?: boolean | undefined;
204
203
  connectorId?: string | undefined;
205
204
  connectorVersion?: string | undefined;
206
205
  oAuthCallbackUri?: string | undefined;
@@ -214,6 +213,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
214
213
  eventsCount?: number | undefined;
215
214
  hasGlobalWebhooks?: boolean | undefined;
216
215
  hasUdm?: boolean | undefined;
216
+ isTest?: boolean | undefined;
217
217
  appUuid?: string | undefined;
218
218
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
219
219
  }, {
@@ -224,14 +224,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
224
224
  uuid?: string | undefined;
225
225
  description?: string | undefined;
226
226
  state?: import("..").WorkspaceElementState | undefined;
227
- errors?: any[] | undefined;
227
+ errors?: import("../..").ErrorDataSchema[] | undefined;
228
228
  revision?: string | undefined;
229
- isDeactivated?: boolean | undefined;
230
229
  createdAt?: string | undefined;
231
230
  updatedAt?: string | undefined;
232
231
  archivedAt?: string | undefined;
232
+ isDeactivated?: boolean | undefined;
233
233
  parameters?: any;
234
- isTest?: boolean | undefined;
235
234
  connectorId?: string | undefined;
236
235
  connectorVersion?: string | undefined;
237
236
  oAuthCallbackUri?: string | undefined;
@@ -245,30 +244,31 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
245
244
  eventsCount?: number | undefined;
246
245
  hasGlobalWebhooks?: boolean | undefined;
247
246
  hasUdm?: boolean | undefined;
247
+ isTest?: boolean | undefined;
248
248
  appUuid?: string | undefined;
249
249
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
250
250
  }>>;
251
251
  fieldMapping: z.ZodOptional<z.ZodObject<{
252
252
  id: z.ZodString;
253
- name: z.ZodString;
254
253
  key: z.ZodOptional<z.ZodString>;
255
254
  uuid: z.ZodOptional<z.ZodString>;
256
255
  description: z.ZodOptional<z.ZodString>;
256
+ name: z.ZodString;
257
257
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
258
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
259
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
258
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
260
259
  createdAt: z.ZodOptional<z.ZodString>;
261
260
  updatedAt: z.ZodOptional<z.ZodString>;
261
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
262
262
  } & {
263
263
  revision: z.ZodString;
264
264
  publishedRevision: z.ZodOptional<z.ZodString>;
265
265
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
266
266
  universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
267
267
  integrationId: z.ZodOptional<z.ZodString>;
268
- dataSourceId: z.ZodString;
269
- dataSourceKey: z.ZodString;
270
- appSchema: z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>;
271
- direction: z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>;
268
+ dataSourceId: z.ZodOptional<z.ZodString>;
269
+ dataSourceKey: z.ZodOptional<z.ZodString>;
270
+ appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
271
+ direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
272
272
  defaultImportValue: z.ZodOptional<z.ZodAny>;
273
273
  defaultExportValue: z.ZodOptional<z.ZodAny>;
274
274
  importValue: z.ZodOptional<z.ZodAny>;
@@ -282,23 +282,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
282
282
  id: string;
283
283
  name: string;
284
284
  revision: string;
285
- dataSourceId: string;
286
- dataSourceKey: string;
287
- appSchema: import("../..").DataSchema;
288
- direction: import("../base/field-mappings").FieldMappingDirection;
289
285
  key?: string | undefined;
290
286
  uuid?: string | undefined;
291
287
  description?: string | undefined;
292
288
  state?: import("..").WorkspaceElementState | undefined;
293
- errors?: any[] | undefined;
294
- isDeactivated?: boolean | undefined;
289
+ errors?: import("../..").ErrorDataSchema[] | undefined;
295
290
  createdAt?: string | undefined;
296
291
  updatedAt?: string | undefined;
297
292
  archivedAt?: string | undefined;
293
+ isDeactivated?: boolean | undefined;
298
294
  integrationId?: string | undefined;
299
295
  publishedRevision?: string | undefined;
300
296
  universalFieldMappingId?: string | undefined;
301
297
  universalFieldMappingRevision?: string | undefined;
298
+ dataSourceId?: string | undefined;
299
+ dataSourceKey?: string | undefined;
300
+ appSchema?: import("../..").DataSchema | undefined;
301
+ direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
302
302
  defaultImportValue?: any;
303
303
  defaultExportValue?: any;
304
304
  importValue?: any;
@@ -311,23 +311,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
311
311
  id: string;
312
312
  name: string;
313
313
  revision: string;
314
- dataSourceId: string;
315
- dataSourceKey: string;
316
- appSchema: import("../..").DataSchema;
317
- direction: import("../base/field-mappings").FieldMappingDirection;
318
314
  key?: string | undefined;
319
315
  uuid?: string | undefined;
320
316
  description?: string | undefined;
321
317
  state?: import("..").WorkspaceElementState | undefined;
322
- errors?: any[] | undefined;
323
- isDeactivated?: boolean | undefined;
318
+ errors?: import("../..").ErrorDataSchema[] | undefined;
324
319
  createdAt?: string | undefined;
325
320
  updatedAt?: string | undefined;
326
321
  archivedAt?: string | undefined;
322
+ isDeactivated?: boolean | undefined;
327
323
  integrationId?: string | undefined;
328
324
  publishedRevision?: string | undefined;
329
325
  universalFieldMappingId?: string | undefined;
330
326
  universalFieldMappingRevision?: string | undefined;
327
+ dataSourceId?: string | undefined;
328
+ dataSourceKey?: string | undefined;
329
+ appSchema?: import("../..").DataSchema | undefined;
330
+ direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
331
331
  defaultImportValue?: any;
332
332
  defaultExportValue?: any;
333
333
  importValue?: any;
@@ -339,15 +339,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
339
339
  }>>;
340
340
  dataSourceInstance: z.ZodOptional<z.ZodObject<{
341
341
  id: z.ZodString;
342
- name: z.ZodString;
343
342
  key: z.ZodOptional<z.ZodString>;
344
343
  uuid: z.ZodOptional<z.ZodString>;
345
344
  description: z.ZodOptional<z.ZodString>;
345
+ name: z.ZodString;
346
346
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
347
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
348
347
  createdAt: z.ZodOptional<z.ZodString>;
349
348
  updatedAt: z.ZodOptional<z.ZodString>;
350
349
  archivedAt: z.ZodOptional<z.ZodString>;
350
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
351
351
  } & {
352
352
  userId: z.ZodString;
353
353
  revision: z.ZodString;
@@ -1053,7 +1053,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1053
1053
  customFields?: boolean | undefined;
1054
1054
  }>>;
1055
1055
  isCustomized: z.ZodOptional<z.ZodBoolean>;
1056
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1056
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1057
1057
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1058
1058
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1059
1059
  path: z.ZodOptional<z.ZodString>;
@@ -1095,12 +1095,12 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1095
1095
  }>>;
1096
1096
  dataSource: z.ZodOptional<z.ZodObject<{
1097
1097
  id: z.ZodString;
1098
- name: z.ZodString;
1099
1098
  key: z.ZodOptional<z.ZodString>;
1100
1099
  uuid: z.ZodOptional<z.ZodString>;
1101
1100
  description: z.ZodOptional<z.ZodString>;
1101
+ name: z.ZodString;
1102
1102
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1103
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1103
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1104
1104
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1105
1105
  } & {
1106
1106
  revision: z.ZodString;
@@ -1126,15 +1126,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1126
1126
  uuid?: string | undefined;
1127
1127
  description?: string | undefined;
1128
1128
  state?: import("..").WorkspaceElementState | undefined;
1129
- errors?: any[] | undefined;
1130
- isDeactivated?: boolean | undefined;
1129
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1131
1130
  createdAt?: string | undefined;
1132
1131
  updatedAt?: string | undefined;
1133
1132
  archivedAt?: string | undefined;
1133
+ isDeactivated?: boolean | undefined;
1134
1134
  integrationId?: string | undefined;
1135
- udm?: string | undefined;
1136
1135
  publishedRevision?: string | undefined;
1137
1136
  customized?: boolean | undefined;
1137
+ udm?: string | undefined;
1138
1138
  universalDataSourceId?: string | undefined;
1139
1139
  collectionKey?: string | undefined;
1140
1140
  collectionParameters?: any;
@@ -1150,15 +1150,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1150
1150
  uuid?: string | undefined;
1151
1151
  description?: string | undefined;
1152
1152
  state?: import("..").WorkspaceElementState | undefined;
1153
- errors?: any[] | undefined;
1154
- isDeactivated?: boolean | undefined;
1153
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1155
1154
  createdAt?: string | undefined;
1156
1155
  updatedAt?: string | undefined;
1157
1156
  archivedAt?: string | undefined;
1157
+ isDeactivated?: boolean | undefined;
1158
1158
  integrationId?: string | undefined;
1159
- udm?: string | undefined;
1160
1159
  publishedRevision?: string | undefined;
1161
1160
  customized?: boolean | undefined;
1161
+ udm?: string | undefined;
1162
1162
  universalDataSourceId?: string | undefined;
1163
1163
  collectionKey?: string | undefined;
1164
1164
  collectionParameters?: any;
@@ -1175,7 +1175,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1175
1175
  isTest: z.ZodOptional<z.ZodBoolean>;
1176
1176
  disconnected: z.ZodOptional<z.ZodBoolean>;
1177
1177
  isDefunct: z.ZodOptional<z.ZodBoolean>;
1178
- error: any;
1178
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
1179
1179
  integrationId: z.ZodString;
1180
1180
  authOptionKey: z.ZodOptional<z.ZodString>;
1181
1181
  createdAt: z.ZodString;
@@ -1185,7 +1185,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1185
1185
  archivedAt: z.ZodOptional<z.ZodString>;
1186
1186
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1187
1187
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1188
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1188
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1189
1189
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1190
1190
  }, "strip", z.ZodTypeAny, {
1191
1191
  id: string;
@@ -1194,18 +1194,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1194
1194
  updatedAt: string;
1195
1195
  userId: string;
1196
1196
  integrationId: string;
1197
- error?: any;
1197
+ error?: import("../..").ErrorDataSchema | undefined;
1198
1198
  state?: import("..").WorkspaceElementState | undefined;
1199
- errors?: any[] | undefined;
1200
- isDeactivated?: boolean | undefined;
1199
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1201
1200
  archivedAt?: string | undefined;
1201
+ isDeactivated?: boolean | undefined;
1202
1202
  authOptionKey?: string | undefined;
1203
1203
  isTest?: boolean | undefined;
1204
+ meta?: Record<string, any> | undefined;
1204
1205
  disconnected?: boolean | undefined;
1205
1206
  isDefunct?: boolean | undefined;
1206
1207
  lastActiveAt?: string | undefined;
1207
1208
  nextCredentialsRefreshAt?: string | undefined;
1208
- meta?: Record<string, any> | undefined;
1209
1209
  }, {
1210
1210
  id: string;
1211
1211
  name: string;
@@ -1213,27 +1213,27 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1213
1213
  updatedAt: string;
1214
1214
  userId: string;
1215
1215
  integrationId: string;
1216
- error?: any;
1216
+ error?: import("../..").ErrorDataSchema | undefined;
1217
1217
  state?: import("..").WorkspaceElementState | undefined;
1218
- errors?: any[] | undefined;
1219
- isDeactivated?: boolean | undefined;
1218
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1220
1219
  archivedAt?: string | undefined;
1220
+ isDeactivated?: boolean | undefined;
1221
1221
  authOptionKey?: string | undefined;
1222
1222
  isTest?: boolean | undefined;
1223
+ meta?: Record<string, any> | undefined;
1223
1224
  disconnected?: boolean | undefined;
1224
1225
  isDefunct?: boolean | undefined;
1225
1226
  lastActiveAt?: string | undefined;
1226
1227
  nextCredentialsRefreshAt?: string | undefined;
1227
- meta?: Record<string, any> | undefined;
1228
1228
  }>>;
1229
1229
  integration: z.ZodOptional<z.ZodObject<{
1230
1230
  id: z.ZodString;
1231
- name: z.ZodString;
1232
1231
  key: z.ZodOptional<z.ZodString>;
1233
1232
  uuid: z.ZodOptional<z.ZodString>;
1234
1233
  description: z.ZodOptional<z.ZodString>;
1234
+ name: z.ZodString;
1235
1235
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1236
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1236
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1237
1237
  revision: z.ZodOptional<z.ZodString>;
1238
1238
  createdAt: z.ZodOptional<z.ZodString>;
1239
1239
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -1266,14 +1266,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1266
1266
  uuid?: string | undefined;
1267
1267
  description?: string | undefined;
1268
1268
  state?: import("..").WorkspaceElementState | undefined;
1269
- errors?: any[] | undefined;
1269
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1270
1270
  revision?: string | undefined;
1271
- isDeactivated?: boolean | undefined;
1272
1271
  createdAt?: string | undefined;
1273
1272
  updatedAt?: string | undefined;
1274
1273
  archivedAt?: string | undefined;
1274
+ isDeactivated?: boolean | undefined;
1275
1275
  parameters?: any;
1276
- isTest?: boolean | undefined;
1277
1276
  connectorId?: string | undefined;
1278
1277
  connectorVersion?: string | undefined;
1279
1278
  oAuthCallbackUri?: string | undefined;
@@ -1287,6 +1286,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1287
1286
  eventsCount?: number | undefined;
1288
1287
  hasGlobalWebhooks?: boolean | undefined;
1289
1288
  hasUdm?: boolean | undefined;
1289
+ isTest?: boolean | undefined;
1290
1290
  appUuid?: string | undefined;
1291
1291
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1292
1292
  }, {
@@ -1297,14 +1297,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1297
1297
  uuid?: string | undefined;
1298
1298
  description?: string | undefined;
1299
1299
  state?: import("..").WorkspaceElementState | undefined;
1300
- errors?: any[] | undefined;
1300
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1301
1301
  revision?: string | undefined;
1302
- isDeactivated?: boolean | undefined;
1303
1302
  createdAt?: string | undefined;
1304
1303
  updatedAt?: string | undefined;
1305
1304
  archivedAt?: string | undefined;
1305
+ isDeactivated?: boolean | undefined;
1306
1306
  parameters?: any;
1307
- isTest?: boolean | undefined;
1308
1307
  connectorId?: string | undefined;
1309
1308
  connectorVersion?: string | undefined;
1310
1309
  oAuthCallbackUri?: string | undefined;
@@ -1318,6 +1317,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1318
1317
  eventsCount?: number | undefined;
1319
1318
  hasGlobalWebhooks?: boolean | undefined;
1320
1319
  hasUdm?: boolean | undefined;
1320
+ isTest?: boolean | undefined;
1321
1321
  appUuid?: string | undefined;
1322
1322
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1323
1323
  }>>;
@@ -1336,18 +1336,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1336
1336
  updatedAt: string;
1337
1337
  userId: string;
1338
1338
  integrationId: string;
1339
- error?: any;
1339
+ error?: import("../..").ErrorDataSchema | undefined;
1340
1340
  state?: import("..").WorkspaceElementState | undefined;
1341
- errors?: any[] | undefined;
1342
- isDeactivated?: boolean | undefined;
1341
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1343
1342
  archivedAt?: string | undefined;
1343
+ isDeactivated?: boolean | undefined;
1344
1344
  authOptionKey?: string | undefined;
1345
1345
  isTest?: boolean | undefined;
1346
+ meta?: Record<string, any> | undefined;
1346
1347
  disconnected?: boolean | undefined;
1347
1348
  isDefunct?: boolean | undefined;
1348
1349
  lastActiveAt?: string | undefined;
1349
1350
  nextCredentialsRefreshAt?: string | undefined;
1350
- meta?: Record<string, any> | undefined;
1351
1351
  } | undefined;
1352
1352
  path?: string | undefined;
1353
1353
  integration?: {
@@ -1358,14 +1358,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1358
1358
  uuid?: string | undefined;
1359
1359
  description?: string | undefined;
1360
1360
  state?: import("..").WorkspaceElementState | undefined;
1361
- errors?: any[] | undefined;
1361
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1362
1362
  revision?: string | undefined;
1363
- isDeactivated?: boolean | undefined;
1364
1363
  createdAt?: string | undefined;
1365
1364
  updatedAt?: string | undefined;
1366
1365
  archivedAt?: string | undefined;
1366
+ isDeactivated?: boolean | undefined;
1367
1367
  parameters?: any;
1368
- isTest?: boolean | undefined;
1369
1368
  connectorId?: string | undefined;
1370
1369
  connectorVersion?: string | undefined;
1371
1370
  oAuthCallbackUri?: string | undefined;
@@ -1379,18 +1378,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1379
1378
  eventsCount?: number | undefined;
1380
1379
  hasGlobalWebhooks?: boolean | undefined;
1381
1380
  hasUdm?: boolean | undefined;
1381
+ isTest?: boolean | undefined;
1382
1382
  appUuid?: string | undefined;
1383
1383
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1384
1384
  } | undefined;
1385
1385
  uuid?: string | undefined;
1386
1386
  description?: string | undefined;
1387
1387
  state?: import("..").WorkspaceElementState | undefined;
1388
- errors?: any[] | undefined;
1389
- isDeactivated?: boolean | undefined;
1388
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1390
1389
  createdAt?: string | undefined;
1391
1390
  updatedAt?: string | undefined;
1392
1391
  archivedAt?: string | undefined;
1392
+ isDeactivated?: boolean | undefined;
1393
1393
  instanceKey?: string | undefined;
1394
+ dataSourceId?: string | undefined;
1394
1395
  udm?: string | undefined;
1395
1396
  collectionSpec?: {
1396
1397
  type: "collection";
@@ -1539,7 +1540,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1539
1540
  lastActiveAt?: string | undefined;
1540
1541
  isBillable?: boolean | undefined;
1541
1542
  } | undefined;
1542
- dataSourceId?: string | undefined;
1543
1543
  isCustomized?: boolean | undefined;
1544
1544
  dataSourceRevision?: string | undefined;
1545
1545
  universalDataSourceId?: string | undefined;
@@ -1558,15 +1558,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1558
1558
  uuid?: string | undefined;
1559
1559
  description?: string | undefined;
1560
1560
  state?: import("..").WorkspaceElementState | undefined;
1561
- errors?: any[] | undefined;
1562
- isDeactivated?: boolean | undefined;
1561
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1563
1562
  createdAt?: string | undefined;
1564
1563
  updatedAt?: string | undefined;
1565
1564
  archivedAt?: string | undefined;
1565
+ isDeactivated?: boolean | undefined;
1566
1566
  integrationId?: string | undefined;
1567
- udm?: string | undefined;
1568
1567
  publishedRevision?: string | undefined;
1569
1568
  customized?: boolean | undefined;
1569
+ udm?: string | undefined;
1570
1570
  universalDataSourceId?: string | undefined;
1571
1571
  collectionKey?: string | undefined;
1572
1572
  collectionParameters?: any;
@@ -1590,18 +1590,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1590
1590
  updatedAt: string;
1591
1591
  userId: string;
1592
1592
  integrationId: string;
1593
- error?: any;
1593
+ error?: import("../..").ErrorDataSchema | undefined;
1594
1594
  state?: import("..").WorkspaceElementState | undefined;
1595
- errors?: any[] | undefined;
1596
- isDeactivated?: boolean | undefined;
1595
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1597
1596
  archivedAt?: string | undefined;
1597
+ isDeactivated?: boolean | undefined;
1598
1598
  authOptionKey?: string | undefined;
1599
1599
  isTest?: boolean | undefined;
1600
+ meta?: Record<string, any> | undefined;
1600
1601
  disconnected?: boolean | undefined;
1601
1602
  isDefunct?: boolean | undefined;
1602
1603
  lastActiveAt?: string | undefined;
1603
1604
  nextCredentialsRefreshAt?: string | undefined;
1604
- meta?: Record<string, any> | undefined;
1605
1605
  } | undefined;
1606
1606
  path?: string | undefined;
1607
1607
  integration?: {
@@ -1612,14 +1612,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1612
1612
  uuid?: string | undefined;
1613
1613
  description?: string | undefined;
1614
1614
  state?: import("..").WorkspaceElementState | undefined;
1615
- errors?: any[] | undefined;
1615
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1616
1616
  revision?: string | undefined;
1617
- isDeactivated?: boolean | undefined;
1618
1617
  createdAt?: string | undefined;
1619
1618
  updatedAt?: string | undefined;
1620
1619
  archivedAt?: string | undefined;
1620
+ isDeactivated?: boolean | undefined;
1621
1621
  parameters?: any;
1622
- isTest?: boolean | undefined;
1623
1622
  connectorId?: string | undefined;
1624
1623
  connectorVersion?: string | undefined;
1625
1624
  oAuthCallbackUri?: string | undefined;
@@ -1633,18 +1632,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1633
1632
  eventsCount?: number | undefined;
1634
1633
  hasGlobalWebhooks?: boolean | undefined;
1635
1634
  hasUdm?: boolean | undefined;
1635
+ isTest?: boolean | undefined;
1636
1636
  appUuid?: string | undefined;
1637
1637
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1638
1638
  } | undefined;
1639
1639
  uuid?: string | undefined;
1640
1640
  description?: string | undefined;
1641
1641
  state?: import("..").WorkspaceElementState | undefined;
1642
- errors?: any[] | undefined;
1643
- isDeactivated?: boolean | undefined;
1642
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1644
1643
  createdAt?: string | undefined;
1645
1644
  updatedAt?: string | undefined;
1646
1645
  archivedAt?: string | undefined;
1646
+ isDeactivated?: boolean | undefined;
1647
1647
  instanceKey?: string | undefined;
1648
+ dataSourceId?: string | undefined;
1648
1649
  udm?: string | undefined;
1649
1650
  collectionSpec?: {
1650
1651
  type: "collection";
@@ -1793,7 +1794,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1793
1794
  lastActiveAt?: string | undefined;
1794
1795
  isBillable?: boolean | undefined;
1795
1796
  } | undefined;
1796
- dataSourceId?: string | undefined;
1797
1797
  isCustomized?: boolean | undefined;
1798
1798
  dataSourceRevision?: string | undefined;
1799
1799
  universalDataSourceId?: string | undefined;
@@ -1812,15 +1812,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1812
1812
  uuid?: string | undefined;
1813
1813
  description?: string | undefined;
1814
1814
  state?: import("..").WorkspaceElementState | undefined;
1815
- errors?: any[] | undefined;
1816
- isDeactivated?: boolean | undefined;
1815
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1817
1816
  createdAt?: string | undefined;
1818
1817
  updatedAt?: string | undefined;
1819
1818
  archivedAt?: string | undefined;
1819
+ isDeactivated?: boolean | undefined;
1820
1820
  integrationId?: string | undefined;
1821
- udm?: string | undefined;
1822
1821
  publishedRevision?: string | undefined;
1823
1822
  customized?: boolean | undefined;
1823
+ udm?: string | undefined;
1824
1824
  universalDataSourceId?: string | undefined;
1825
1825
  collectionKey?: string | undefined;
1826
1826
  collectionParameters?: any;
@@ -1845,20 +1845,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1845
1845
  updatedAt: string;
1846
1846
  userId: string;
1847
1847
  integrationId: string;
1848
- error?: any;
1848
+ error?: import("../..").ErrorDataSchema | undefined;
1849
1849
  state?: import("..").WorkspaceElementState | undefined;
1850
- errors?: any[] | undefined;
1851
- isDeactivated?: boolean | undefined;
1850
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1852
1851
  archivedAt?: string | undefined;
1852
+ isDeactivated?: boolean | undefined;
1853
1853
  authOptionKey?: string | undefined;
1854
1854
  isTest?: boolean | undefined;
1855
+ meta?: Record<string, any> | undefined;
1855
1856
  disconnected?: boolean | undefined;
1856
1857
  isDefunct?: boolean | undefined;
1857
1858
  lastActiveAt?: string | undefined;
1858
1859
  nextCredentialsRefreshAt?: string | undefined;
1859
- meta?: Record<string, any> | undefined;
1860
1860
  } | undefined;
1861
- error?: any;
1861
+ error?: import("../..").ErrorDataSchema | undefined;
1862
1862
  integration?: {
1863
1863
  id: string;
1864
1864
  name: string;
@@ -1867,14 +1867,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1867
1867
  uuid?: string | undefined;
1868
1868
  description?: string | undefined;
1869
1869
  state?: import("..").WorkspaceElementState | undefined;
1870
- errors?: any[] | undefined;
1870
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1871
1871
  revision?: string | undefined;
1872
- isDeactivated?: boolean | undefined;
1873
1872
  createdAt?: string | undefined;
1874
1873
  updatedAt?: string | undefined;
1875
1874
  archivedAt?: string | undefined;
1875
+ isDeactivated?: boolean | undefined;
1876
1876
  parameters?: any;
1877
- isTest?: boolean | undefined;
1878
1877
  connectorId?: string | undefined;
1879
1878
  connectorVersion?: string | undefined;
1880
1879
  oAuthCallbackUri?: string | undefined;
@@ -1888,18 +1887,25 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1888
1887
  eventsCount?: number | undefined;
1889
1888
  hasGlobalWebhooks?: boolean | undefined;
1890
1889
  hasUdm?: boolean | undefined;
1890
+ isTest?: boolean | undefined;
1891
1891
  appUuid?: string | undefined;
1892
1892
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1893
1893
  } | undefined;
1894
1894
  uuid?: string | undefined;
1895
1895
  description?: string | undefined;
1896
1896
  state?: import("..").WorkspaceElementState | undefined;
1897
- errors?: any[] | undefined;
1898
- isDeactivated?: boolean | undefined;
1897
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1899
1898
  createdAt?: string | undefined;
1900
1899
  updatedAt?: string | undefined;
1901
1900
  archivedAt?: string | undefined;
1901
+ isDeactivated?: boolean | undefined;
1902
1902
  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;
1903
1909
  user?: {
1904
1910
  id: string;
1905
1911
  name: string;
@@ -1912,12 +1918,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1912
1918
  lastActiveAt?: string | undefined;
1913
1919
  isBillable?: boolean | undefined;
1914
1920
  } | undefined;
1915
- appSchema?: import("../..").DataSchema | undefined;
1916
- direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
1917
- importValue?: any;
1918
- exportValue?: any;
1919
- frozenImportFields?: string[] | undefined;
1920
- frozenExportFields?: string[] | undefined;
1921
1921
  isCustomized?: boolean | undefined;
1922
1922
  dataSourceInstanceId?: string | undefined;
1923
1923
  fieldMappingRevision?: string | undefined;
@@ -1930,23 +1930,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1930
1930
  id: string;
1931
1931
  name: string;
1932
1932
  revision: string;
1933
- dataSourceId: string;
1934
- dataSourceKey: string;
1935
- appSchema: import("../..").DataSchema;
1936
- direction: import("../base/field-mappings").FieldMappingDirection;
1937
1933
  key?: string | undefined;
1938
1934
  uuid?: string | undefined;
1939
1935
  description?: string | undefined;
1940
1936
  state?: import("..").WorkspaceElementState | undefined;
1941
- errors?: any[] | undefined;
1942
- isDeactivated?: boolean | undefined;
1937
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1943
1938
  createdAt?: string | undefined;
1944
1939
  updatedAt?: string | undefined;
1945
1940
  archivedAt?: string | undefined;
1941
+ isDeactivated?: boolean | undefined;
1946
1942
  integrationId?: string | undefined;
1947
1943
  publishedRevision?: string | undefined;
1948
1944
  universalFieldMappingId?: string | undefined;
1949
1945
  universalFieldMappingRevision?: string | undefined;
1946
+ dataSourceId?: string | undefined;
1947
+ dataSourceKey?: string | undefined;
1948
+ appSchema?: import("../..").DataSchema | undefined;
1949
+ direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
1950
1950
  defaultImportValue?: any;
1951
1951
  defaultExportValue?: any;
1952
1952
  importValue?: any;
@@ -1971,18 +1971,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1971
1971
  updatedAt: string;
1972
1972
  userId: string;
1973
1973
  integrationId: string;
1974
- error?: any;
1974
+ error?: import("../..").ErrorDataSchema | undefined;
1975
1975
  state?: import("..").WorkspaceElementState | undefined;
1976
- errors?: any[] | undefined;
1977
- isDeactivated?: boolean | undefined;
1976
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1978
1977
  archivedAt?: string | undefined;
1978
+ isDeactivated?: boolean | undefined;
1979
1979
  authOptionKey?: string | undefined;
1980
1980
  isTest?: boolean | undefined;
1981
+ meta?: Record<string, any> | undefined;
1981
1982
  disconnected?: boolean | undefined;
1982
1983
  isDefunct?: boolean | undefined;
1983
1984
  lastActiveAt?: string | undefined;
1984
1985
  nextCredentialsRefreshAt?: string | undefined;
1985
- meta?: Record<string, any> | undefined;
1986
1986
  } | undefined;
1987
1987
  path?: string | undefined;
1988
1988
  integration?: {
@@ -1993,14 +1993,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1993
1993
  uuid?: string | undefined;
1994
1994
  description?: string | undefined;
1995
1995
  state?: import("..").WorkspaceElementState | undefined;
1996
- errors?: any[] | undefined;
1996
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1997
1997
  revision?: string | undefined;
1998
- isDeactivated?: boolean | undefined;
1999
1998
  createdAt?: string | undefined;
2000
1999
  updatedAt?: string | undefined;
2001
2000
  archivedAt?: string | undefined;
2001
+ isDeactivated?: boolean | undefined;
2002
2002
  parameters?: any;
2003
- isTest?: boolean | undefined;
2004
2003
  connectorId?: string | undefined;
2005
2004
  connectorVersion?: string | undefined;
2006
2005
  oAuthCallbackUri?: string | undefined;
@@ -2014,18 +2013,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2014
2013
  eventsCount?: number | undefined;
2015
2014
  hasGlobalWebhooks?: boolean | undefined;
2016
2015
  hasUdm?: boolean | undefined;
2016
+ isTest?: boolean | undefined;
2017
2017
  appUuid?: string | undefined;
2018
2018
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2019
2019
  } | undefined;
2020
2020
  uuid?: string | undefined;
2021
2021
  description?: string | undefined;
2022
2022
  state?: import("..").WorkspaceElementState | undefined;
2023
- errors?: any[] | undefined;
2024
- isDeactivated?: boolean | undefined;
2023
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2025
2024
  createdAt?: string | undefined;
2026
2025
  updatedAt?: string | undefined;
2027
2026
  archivedAt?: string | undefined;
2027
+ isDeactivated?: boolean | undefined;
2028
2028
  instanceKey?: string | undefined;
2029
+ dataSourceId?: string | undefined;
2029
2030
  udm?: string | undefined;
2030
2031
  collectionSpec?: {
2031
2032
  type: "collection";
@@ -2174,7 +2175,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2174
2175
  lastActiveAt?: string | undefined;
2175
2176
  isBillable?: boolean | undefined;
2176
2177
  } | undefined;
2177
- dataSourceId?: string | undefined;
2178
2178
  isCustomized?: boolean | undefined;
2179
2179
  dataSourceRevision?: string | undefined;
2180
2180
  universalDataSourceId?: string | undefined;
@@ -2193,15 +2193,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2193
2193
  uuid?: string | undefined;
2194
2194
  description?: string | undefined;
2195
2195
  state?: import("..").WorkspaceElementState | undefined;
2196
- errors?: any[] | undefined;
2197
- isDeactivated?: boolean | undefined;
2196
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2198
2197
  createdAt?: string | undefined;
2199
2198
  updatedAt?: string | undefined;
2200
2199
  archivedAt?: string | undefined;
2200
+ isDeactivated?: boolean | undefined;
2201
2201
  integrationId?: string | undefined;
2202
- udm?: string | undefined;
2203
2202
  publishedRevision?: string | undefined;
2204
2203
  customized?: boolean | undefined;
2204
+ udm?: string | undefined;
2205
2205
  universalDataSourceId?: string | undefined;
2206
2206
  collectionKey?: string | undefined;
2207
2207
  collectionParameters?: any;
@@ -2226,20 +2226,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2226
2226
  updatedAt: string;
2227
2227
  userId: string;
2228
2228
  integrationId: string;
2229
- error?: any;
2229
+ error?: import("../..").ErrorDataSchema | undefined;
2230
2230
  state?: import("..").WorkspaceElementState | undefined;
2231
- errors?: any[] | undefined;
2232
- isDeactivated?: boolean | undefined;
2231
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2233
2232
  archivedAt?: string | undefined;
2233
+ isDeactivated?: boolean | undefined;
2234
2234
  authOptionKey?: string | undefined;
2235
2235
  isTest?: boolean | undefined;
2236
+ meta?: Record<string, any> | undefined;
2236
2237
  disconnected?: boolean | undefined;
2237
2238
  isDefunct?: boolean | undefined;
2238
2239
  lastActiveAt?: string | undefined;
2239
2240
  nextCredentialsRefreshAt?: string | undefined;
2240
- meta?: Record<string, any> | undefined;
2241
2241
  } | undefined;
2242
- error?: any;
2242
+ error?: import("../..").ErrorDataSchema | undefined;
2243
2243
  integration?: {
2244
2244
  id: string;
2245
2245
  name: string;
@@ -2248,14 +2248,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2248
2248
  uuid?: string | undefined;
2249
2249
  description?: string | undefined;
2250
2250
  state?: import("..").WorkspaceElementState | undefined;
2251
- errors?: any[] | undefined;
2251
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2252
2252
  revision?: string | undefined;
2253
- isDeactivated?: boolean | undefined;
2254
2253
  createdAt?: string | undefined;
2255
2254
  updatedAt?: string | undefined;
2256
2255
  archivedAt?: string | undefined;
2256
+ isDeactivated?: boolean | undefined;
2257
2257
  parameters?: any;
2258
- isTest?: boolean | undefined;
2259
2258
  connectorId?: string | undefined;
2260
2259
  connectorVersion?: string | undefined;
2261
2260
  oAuthCallbackUri?: string | undefined;
@@ -2269,18 +2268,25 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2269
2268
  eventsCount?: number | undefined;
2270
2269
  hasGlobalWebhooks?: boolean | undefined;
2271
2270
  hasUdm?: boolean | undefined;
2271
+ isTest?: boolean | undefined;
2272
2272
  appUuid?: string | undefined;
2273
2273
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2274
2274
  } | undefined;
2275
2275
  uuid?: string | undefined;
2276
2276
  description?: string | undefined;
2277
2277
  state?: import("..").WorkspaceElementState | undefined;
2278
- errors?: any[] | undefined;
2279
- isDeactivated?: boolean | undefined;
2278
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2280
2279
  createdAt?: string | undefined;
2281
2280
  updatedAt?: string | undefined;
2282
2281
  archivedAt?: string | undefined;
2282
+ isDeactivated?: boolean | undefined;
2283
2283
  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;
2284
2290
  user?: {
2285
2291
  id: string;
2286
2292
  name: string;
@@ -2293,12 +2299,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2293
2299
  lastActiveAt?: string | undefined;
2294
2300
  isBillable?: boolean | undefined;
2295
2301
  } | undefined;
2296
- appSchema?: import("../..").DataSchema | undefined;
2297
- direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2298
- importValue?: any;
2299
- exportValue?: any;
2300
- frozenImportFields?: string[] | undefined;
2301
- frozenExportFields?: string[] | undefined;
2302
2302
  isCustomized?: boolean | undefined;
2303
2303
  dataSourceInstanceId?: string | undefined;
2304
2304
  fieldMappingRevision?: string | undefined;
@@ -2311,23 +2311,23 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2311
2311
  id: string;
2312
2312
  name: string;
2313
2313
  revision: string;
2314
- dataSourceId: string;
2315
- dataSourceKey: string;
2316
- appSchema: import("../..").DataSchema;
2317
- direction: import("../base/field-mappings").FieldMappingDirection;
2318
2314
  key?: string | undefined;
2319
2315
  uuid?: string | undefined;
2320
2316
  description?: string | undefined;
2321
2317
  state?: import("..").WorkspaceElementState | undefined;
2322
- errors?: any[] | undefined;
2323
- isDeactivated?: boolean | undefined;
2318
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2324
2319
  createdAt?: string | undefined;
2325
2320
  updatedAt?: string | undefined;
2326
2321
  archivedAt?: string | undefined;
2322
+ isDeactivated?: boolean | undefined;
2327
2323
  integrationId?: string | undefined;
2328
2324
  publishedRevision?: string | undefined;
2329
2325
  universalFieldMappingId?: string | undefined;
2330
2326
  universalFieldMappingRevision?: string | undefined;
2327
+ dataSourceId?: string | undefined;
2328
+ dataSourceKey?: string | undefined;
2329
+ appSchema?: import("../..").DataSchema | undefined;
2330
+ direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2331
2331
  defaultImportValue?: any;
2332
2332
  defaultExportValue?: any;
2333
2333
  importValue?: any;
@@ -2352,18 +2352,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2352
2352
  updatedAt: string;
2353
2353
  userId: string;
2354
2354
  integrationId: string;
2355
- error?: any;
2355
+ error?: import("../..").ErrorDataSchema | undefined;
2356
2356
  state?: import("..").WorkspaceElementState | undefined;
2357
- errors?: any[] | undefined;
2358
- isDeactivated?: boolean | undefined;
2357
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2359
2358
  archivedAt?: string | undefined;
2359
+ isDeactivated?: boolean | undefined;
2360
2360
  authOptionKey?: string | undefined;
2361
2361
  isTest?: boolean | undefined;
2362
+ meta?: Record<string, any> | undefined;
2362
2363
  disconnected?: boolean | undefined;
2363
2364
  isDefunct?: boolean | undefined;
2364
2365
  lastActiveAt?: string | undefined;
2365
2366
  nextCredentialsRefreshAt?: string | undefined;
2366
- meta?: Record<string, any> | undefined;
2367
2367
  } | undefined;
2368
2368
  path?: string | undefined;
2369
2369
  integration?: {
@@ -2374,14 +2374,13 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2374
2374
  uuid?: string | undefined;
2375
2375
  description?: string | undefined;
2376
2376
  state?: import("..").WorkspaceElementState | undefined;
2377
- errors?: any[] | undefined;
2377
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2378
2378
  revision?: string | undefined;
2379
- isDeactivated?: boolean | undefined;
2380
2379
  createdAt?: string | undefined;
2381
2380
  updatedAt?: string | undefined;
2382
2381
  archivedAt?: string | undefined;
2382
+ isDeactivated?: boolean | undefined;
2383
2383
  parameters?: any;
2384
- isTest?: boolean | undefined;
2385
2384
  connectorId?: string | undefined;
2386
2385
  connectorVersion?: string | undefined;
2387
2386
  oAuthCallbackUri?: string | undefined;
@@ -2395,18 +2394,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2395
2394
  eventsCount?: number | undefined;
2396
2395
  hasGlobalWebhooks?: boolean | undefined;
2397
2396
  hasUdm?: boolean | undefined;
2397
+ isTest?: boolean | undefined;
2398
2398
  appUuid?: string | undefined;
2399
2399
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2400
2400
  } | undefined;
2401
2401
  uuid?: string | undefined;
2402
2402
  description?: string | undefined;
2403
2403
  state?: import("..").WorkspaceElementState | undefined;
2404
- errors?: any[] | undefined;
2405
- isDeactivated?: boolean | undefined;
2404
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2406
2405
  createdAt?: string | undefined;
2407
2406
  updatedAt?: string | undefined;
2408
2407
  archivedAt?: string | undefined;
2408
+ isDeactivated?: boolean | undefined;
2409
2409
  instanceKey?: string | undefined;
2410
+ dataSourceId?: string | undefined;
2410
2411
  udm?: string | undefined;
2411
2412
  collectionSpec?: {
2412
2413
  type: "collection";
@@ -2555,7 +2556,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2555
2556
  lastActiveAt?: string | undefined;
2556
2557
  isBillable?: boolean | undefined;
2557
2558
  } | undefined;
2558
- dataSourceId?: string | undefined;
2559
2559
  isCustomized?: boolean | undefined;
2560
2560
  dataSourceRevision?: string | undefined;
2561
2561
  universalDataSourceId?: string | undefined;
@@ -2574,15 +2574,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2574
2574
  uuid?: string | undefined;
2575
2575
  description?: string | undefined;
2576
2576
  state?: import("..").WorkspaceElementState | undefined;
2577
- errors?: any[] | undefined;
2578
- isDeactivated?: boolean | undefined;
2577
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2579
2578
  createdAt?: string | undefined;
2580
2579
  updatedAt?: string | undefined;
2581
2580
  archivedAt?: string | undefined;
2581
+ isDeactivated?: boolean | undefined;
2582
2582
  integrationId?: string | undefined;
2583
- udm?: string | undefined;
2584
2583
  publishedRevision?: string | undefined;
2585
2584
  customized?: boolean | undefined;
2585
+ udm?: string | undefined;
2586
2586
  universalDataSourceId?: string | undefined;
2587
2587
  collectionKey?: string | undefined;
2588
2588
  collectionParameters?: any;