@membranehq/sdk 0.5.1 → 0.6.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 (66) hide show
  1. package/dist/bundle.d.ts +1949 -3947
  2. package/dist/bundle.js +9 -4
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
  5. package/dist/dts/accessors/actions-accessors.d.ts +2 -2
  6. package/dist/dts/accessors/connections-accessors.d.ts +8 -22
  7. package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
  8. package/dist/dts/errors/index.d.ts +10 -1
  9. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
  12. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
  13. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
  14. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
  15. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
  16. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
  18. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
  19. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
  20. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
  21. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
  22. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
  23. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
  24. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
  25. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
  26. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
  27. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
  28. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
  29. package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
  30. package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
  31. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
  32. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
  33. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
  34. package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
  35. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
  36. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
  37. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
  38. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
  39. package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
  40. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
  41. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
  42. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
  43. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
  44. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
  45. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
  46. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
  47. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
  48. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
  49. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
  50. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
  51. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
  52. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
  53. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
  54. package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
  55. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
  56. package/dist/dts/workspace-elements/types.d.ts +53 -9
  57. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
  58. package/dist/dts/workspaces/types.d.ts +3 -1
  59. package/dist/index.d.ts +2791 -5337
  60. package/dist/index.js +70 -66
  61. package/dist/index.js.map +1 -1
  62. package/dist/index.module.d.mts +2791 -5337
  63. package/dist/index.module.mjs +67 -66
  64. package/dist/index.module.mjs.map +1 -1
  65. package/package.json +1 -3
  66. 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,11 +102,9 @@ 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
- credentials: z.ZodOptional<z.ZodUnknown>;
108
- parameters: z.ZodOptional<z.ZodUnknown>;
109
- connectorParameters: z.ZodOptional<z.ZodUnknown>;
107
+ authOptionKey: z.ZodOptional<z.ZodString>;
110
108
  createdAt: z.ZodString;
111
109
  updatedAt: z.ZodString;
112
110
  lastActiveAt: z.ZodOptional<z.ZodString>;
@@ -114,7 +112,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
114
112
  archivedAt: z.ZodOptional<z.ZodString>;
115
113
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
116
114
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
117
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
115
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
118
116
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
119
117
  }, "strip", z.ZodTypeAny, {
120
118
  id: string;
@@ -123,20 +121,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
123
121
  updatedAt: string;
124
122
  userId: string;
125
123
  integrationId: string;
126
- error?: any;
124
+ error?: import("../..").ErrorDataSchema | undefined;
127
125
  state?: import("..").WorkspaceElementState | undefined;
128
- errors?: any[] | undefined;
129
- isDeactivated?: boolean | undefined;
126
+ errors?: import("../..").ErrorDataSchema[] | undefined;
130
127
  archivedAt?: string | undefined;
131
- credentials?: unknown;
132
- parameters?: unknown;
133
- connectorParameters?: unknown;
128
+ isDeactivated?: boolean | undefined;
129
+ authOptionKey?: string | undefined;
134
130
  isTest?: boolean | undefined;
131
+ meta?: Record<string, any> | undefined;
135
132
  disconnected?: boolean | undefined;
136
133
  isDefunct?: boolean | undefined;
137
134
  lastActiveAt?: string | undefined;
138
135
  nextCredentialsRefreshAt?: string | undefined;
139
- meta?: Record<string, any> | undefined;
140
136
  }, {
141
137
  id: string;
142
138
  name: string;
@@ -144,29 +140,27 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
144
140
  updatedAt: string;
145
141
  userId: string;
146
142
  integrationId: string;
147
- error?: any;
143
+ error?: import("../..").ErrorDataSchema | undefined;
148
144
  state?: import("..").WorkspaceElementState | undefined;
149
- errors?: any[] | undefined;
150
- isDeactivated?: boolean | undefined;
145
+ errors?: import("../..").ErrorDataSchema[] | undefined;
151
146
  archivedAt?: string | undefined;
152
- credentials?: unknown;
153
- parameters?: unknown;
154
- connectorParameters?: unknown;
147
+ isDeactivated?: boolean | undefined;
148
+ authOptionKey?: string | undefined;
155
149
  isTest?: boolean | undefined;
150
+ meta?: Record<string, any> | undefined;
156
151
  disconnected?: boolean | undefined;
157
152
  isDefunct?: boolean | undefined;
158
153
  lastActiveAt?: string | undefined;
159
154
  nextCredentialsRefreshAt?: string | undefined;
160
- meta?: Record<string, any> | undefined;
161
155
  }>>;
162
156
  integration: z.ZodOptional<z.ZodObject<{
163
157
  id: z.ZodString;
164
- name: z.ZodString;
165
158
  key: z.ZodOptional<z.ZodString>;
166
159
  uuid: z.ZodOptional<z.ZodString>;
167
160
  description: z.ZodOptional<z.ZodString>;
161
+ name: z.ZodString;
168
162
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
169
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
163
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
170
164
  revision: z.ZodOptional<z.ZodString>;
171
165
  createdAt: z.ZodOptional<z.ZodString>;
172
166
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -174,44 +168,8 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
174
168
  logoUri: z.ZodString;
175
169
  connectorId: z.ZodOptional<z.ZodString>;
176
170
  connectorVersion: z.ZodOptional<z.ZodString>;
177
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
178
- key: z.ZodString;
179
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
180
- title: z.ZodOptional<z.ZodString>;
181
- description: z.ZodOptional<z.ZodString>;
182
- ui: z.ZodOptional<z.ZodObject<{
183
- schema: z.ZodOptional<z.ZodAny>;
184
- helpUri: z.ZodOptional<z.ZodString>;
185
- }, "strip", z.ZodTypeAny, {
186
- schema?: any;
187
- helpUri?: string | undefined;
188
- }, {
189
- schema?: any;
190
- helpUri?: string | undefined;
191
- }>>;
192
- }, "strip", z.ZodTypeAny, {
193
- key: string;
194
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
195
- description?: string | undefined;
196
- title?: string | undefined;
197
- ui?: {
198
- schema?: any;
199
- helpUri?: string | undefined;
200
- } | undefined;
201
- }, {
202
- key: string;
203
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
204
- description?: string | undefined;
205
- title?: string | undefined;
206
- ui?: {
207
- schema?: any;
208
- helpUri?: string | undefined;
209
- } | undefined;
210
- }>, "many">>;
211
171
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
212
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
213
172
  parameters: z.ZodOptional<z.ZodAny>;
214
- baseUri: z.ZodString;
215
173
  archivedAt: z.ZodOptional<z.ZodString>;
216
174
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
217
175
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -230,33 +188,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
230
188
  }, "strip", z.ZodTypeAny, {
231
189
  id: string;
232
190
  name: string;
233
- baseUri: string;
234
191
  logoUri: string;
235
192
  key?: string | undefined;
236
193
  uuid?: string | undefined;
237
194
  description?: string | undefined;
238
195
  state?: import("..").WorkspaceElementState | undefined;
239
- errors?: any[] | undefined;
196
+ errors?: import("../..").ErrorDataSchema[] | undefined;
240
197
  revision?: string | undefined;
241
- isDeactivated?: boolean | undefined;
242
198
  createdAt?: string | undefined;
243
199
  updatedAt?: string | undefined;
244
200
  archivedAt?: string | undefined;
201
+ isDeactivated?: boolean | undefined;
245
202
  parameters?: any;
246
- parametersSchema?: import("../..").DataSchema | undefined;
247
- isTest?: boolean | undefined;
248
203
  connectorId?: string | undefined;
249
204
  connectorVersion?: string | undefined;
250
- authOptions?: {
251
- key: string;
252
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
253
- description?: string | undefined;
254
- title?: string | undefined;
255
- ui?: {
256
- schema?: any;
257
- helpUri?: string | undefined;
258
- } | undefined;
259
- }[] | undefined;
260
205
  oAuthCallbackUri?: string | undefined;
261
206
  hasMissingParameters?: boolean | undefined;
262
207
  hasDocumentation?: boolean | undefined;
@@ -268,38 +213,26 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
268
213
  eventsCount?: number | undefined;
269
214
  hasGlobalWebhooks?: boolean | undefined;
270
215
  hasUdm?: boolean | undefined;
216
+ isTest?: boolean | undefined;
271
217
  appUuid?: string | undefined;
272
218
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
273
219
  }, {
274
220
  id: string;
275
221
  name: string;
276
- baseUri: string;
277
222
  logoUri: string;
278
223
  key?: string | undefined;
279
224
  uuid?: string | undefined;
280
225
  description?: string | undefined;
281
226
  state?: import("..").WorkspaceElementState | undefined;
282
- errors?: any[] | undefined;
227
+ errors?: import("../..").ErrorDataSchema[] | undefined;
283
228
  revision?: string | undefined;
284
- isDeactivated?: boolean | undefined;
285
229
  createdAt?: string | undefined;
286
230
  updatedAt?: string | undefined;
287
231
  archivedAt?: string | undefined;
232
+ isDeactivated?: boolean | undefined;
288
233
  parameters?: any;
289
- parametersSchema?: import("../..").DataSchema | undefined;
290
- isTest?: boolean | undefined;
291
234
  connectorId?: string | undefined;
292
235
  connectorVersion?: string | undefined;
293
- authOptions?: {
294
- key: string;
295
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
296
- description?: string | undefined;
297
- title?: string | undefined;
298
- ui?: {
299
- schema?: any;
300
- helpUri?: string | undefined;
301
- } | undefined;
302
- }[] | undefined;
303
236
  oAuthCallbackUri?: string | undefined;
304
237
  hasMissingParameters?: boolean | undefined;
305
238
  hasDocumentation?: boolean | undefined;
@@ -311,20 +244,21 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
311
244
  eventsCount?: number | undefined;
312
245
  hasGlobalWebhooks?: boolean | undefined;
313
246
  hasUdm?: boolean | undefined;
247
+ isTest?: boolean | undefined;
314
248
  appUuid?: string | undefined;
315
249
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
316
250
  }>>;
317
251
  fieldMapping: z.ZodOptional<z.ZodObject<{
318
252
  id: z.ZodString;
319
- name: z.ZodString;
320
253
  key: z.ZodOptional<z.ZodString>;
321
254
  uuid: z.ZodOptional<z.ZodString>;
322
255
  description: z.ZodOptional<z.ZodString>;
256
+ name: z.ZodString;
323
257
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
324
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
325
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
258
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
326
259
  createdAt: z.ZodOptional<z.ZodString>;
327
260
  updatedAt: z.ZodOptional<z.ZodString>;
261
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
328
262
  } & {
329
263
  revision: z.ZodString;
330
264
  publishedRevision: z.ZodOptional<z.ZodString>;
@@ -356,11 +290,11 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
356
290
  uuid?: string | undefined;
357
291
  description?: string | undefined;
358
292
  state?: import("..").WorkspaceElementState | undefined;
359
- errors?: any[] | undefined;
360
- isDeactivated?: boolean | undefined;
293
+ errors?: import("../..").ErrorDataSchema[] | undefined;
361
294
  createdAt?: string | undefined;
362
295
  updatedAt?: string | undefined;
363
296
  archivedAt?: string | undefined;
297
+ isDeactivated?: boolean | undefined;
364
298
  integrationId?: string | undefined;
365
299
  publishedRevision?: string | undefined;
366
300
  universalFieldMappingId?: string | undefined;
@@ -385,11 +319,11 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
385
319
  uuid?: string | undefined;
386
320
  description?: string | undefined;
387
321
  state?: import("..").WorkspaceElementState | undefined;
388
- errors?: any[] | undefined;
389
- isDeactivated?: boolean | undefined;
322
+ errors?: import("../..").ErrorDataSchema[] | undefined;
390
323
  createdAt?: string | undefined;
391
324
  updatedAt?: string | undefined;
392
325
  archivedAt?: string | undefined;
326
+ isDeactivated?: boolean | undefined;
393
327
  integrationId?: string | undefined;
394
328
  publishedRevision?: string | undefined;
395
329
  universalFieldMappingId?: string | undefined;
@@ -405,15 +339,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
405
339
  }>>;
406
340
  dataSourceInstance: z.ZodOptional<z.ZodObject<{
407
341
  id: z.ZodString;
408
- name: z.ZodString;
409
342
  key: z.ZodOptional<z.ZodString>;
410
343
  uuid: z.ZodOptional<z.ZodString>;
411
344
  description: z.ZodOptional<z.ZodString>;
345
+ name: z.ZodString;
412
346
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
413
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
414
347
  createdAt: z.ZodOptional<z.ZodString>;
415
348
  updatedAt: z.ZodOptional<z.ZodString>;
416
349
  archivedAt: z.ZodOptional<z.ZodString>;
350
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
417
351
  } & {
418
352
  userId: z.ZodString;
419
353
  revision: z.ZodString;
@@ -1119,7 +1053,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1119
1053
  customFields?: boolean | undefined;
1120
1054
  }>>;
1121
1055
  isCustomized: z.ZodOptional<z.ZodBoolean>;
1122
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1056
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1123
1057
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1124
1058
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1125
1059
  path: z.ZodOptional<z.ZodString>;
@@ -1161,12 +1095,12 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1161
1095
  }>>;
1162
1096
  dataSource: z.ZodOptional<z.ZodObject<{
1163
1097
  id: z.ZodString;
1164
- name: z.ZodString;
1165
1098
  key: z.ZodOptional<z.ZodString>;
1166
1099
  uuid: z.ZodOptional<z.ZodString>;
1167
1100
  description: z.ZodOptional<z.ZodString>;
1101
+ name: z.ZodString;
1168
1102
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1169
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1103
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1170
1104
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1171
1105
  } & {
1172
1106
  revision: z.ZodString;
@@ -1192,15 +1126,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1192
1126
  uuid?: string | undefined;
1193
1127
  description?: string | undefined;
1194
1128
  state?: import("..").WorkspaceElementState | undefined;
1195
- errors?: any[] | undefined;
1196
- isDeactivated?: boolean | undefined;
1129
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1197
1130
  createdAt?: string | undefined;
1198
1131
  updatedAt?: string | undefined;
1199
1132
  archivedAt?: string | undefined;
1133
+ isDeactivated?: boolean | undefined;
1200
1134
  integrationId?: string | undefined;
1201
- udm?: string | undefined;
1202
1135
  publishedRevision?: string | undefined;
1203
1136
  customized?: boolean | undefined;
1137
+ udm?: string | undefined;
1204
1138
  universalDataSourceId?: string | undefined;
1205
1139
  collectionKey?: string | undefined;
1206
1140
  collectionParameters?: any;
@@ -1216,15 +1150,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1216
1150
  uuid?: string | undefined;
1217
1151
  description?: string | undefined;
1218
1152
  state?: import("..").WorkspaceElementState | undefined;
1219
- errors?: any[] | undefined;
1220
- isDeactivated?: boolean | undefined;
1153
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1221
1154
  createdAt?: string | undefined;
1222
1155
  updatedAt?: string | undefined;
1223
1156
  archivedAt?: string | undefined;
1157
+ isDeactivated?: boolean | undefined;
1224
1158
  integrationId?: string | undefined;
1225
- udm?: string | undefined;
1226
1159
  publishedRevision?: string | undefined;
1227
1160
  customized?: boolean | undefined;
1161
+ udm?: string | undefined;
1228
1162
  universalDataSourceId?: string | undefined;
1229
1163
  collectionKey?: string | undefined;
1230
1164
  collectionParameters?: any;
@@ -1241,11 +1175,9 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1241
1175
  isTest: z.ZodOptional<z.ZodBoolean>;
1242
1176
  disconnected: z.ZodOptional<z.ZodBoolean>;
1243
1177
  isDefunct: z.ZodOptional<z.ZodBoolean>;
1244
- error: any;
1178
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
1245
1179
  integrationId: z.ZodString;
1246
- credentials: z.ZodOptional<z.ZodUnknown>;
1247
- parameters: z.ZodOptional<z.ZodUnknown>;
1248
- connectorParameters: z.ZodOptional<z.ZodUnknown>;
1180
+ authOptionKey: z.ZodOptional<z.ZodString>;
1249
1181
  createdAt: z.ZodString;
1250
1182
  updatedAt: z.ZodString;
1251
1183
  lastActiveAt: z.ZodOptional<z.ZodString>;
@@ -1253,7 +1185,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1253
1185
  archivedAt: z.ZodOptional<z.ZodString>;
1254
1186
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1255
1187
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1256
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1188
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1257
1189
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1258
1190
  }, "strip", z.ZodTypeAny, {
1259
1191
  id: string;
@@ -1262,20 +1194,18 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1262
1194
  updatedAt: string;
1263
1195
  userId: string;
1264
1196
  integrationId: string;
1265
- error?: any;
1197
+ error?: import("../..").ErrorDataSchema | undefined;
1266
1198
  state?: import("..").WorkspaceElementState | undefined;
1267
- errors?: any[] | undefined;
1268
- isDeactivated?: boolean | undefined;
1199
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1269
1200
  archivedAt?: string | undefined;
1270
- credentials?: unknown;
1271
- parameters?: unknown;
1272
- connectorParameters?: unknown;
1201
+ isDeactivated?: boolean | undefined;
1202
+ authOptionKey?: string | undefined;
1273
1203
  isTest?: boolean | undefined;
1204
+ meta?: Record<string, any> | undefined;
1274
1205
  disconnected?: boolean | undefined;
1275
1206
  isDefunct?: boolean | undefined;
1276
1207
  lastActiveAt?: string | undefined;
1277
1208
  nextCredentialsRefreshAt?: string | undefined;
1278
- meta?: Record<string, any> | undefined;
1279
1209
  }, {
1280
1210
  id: string;
1281
1211
  name: string;
@@ -1283,29 +1213,27 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1283
1213
  updatedAt: string;
1284
1214
  userId: string;
1285
1215
  integrationId: string;
1286
- error?: any;
1216
+ error?: import("../..").ErrorDataSchema | undefined;
1287
1217
  state?: import("..").WorkspaceElementState | undefined;
1288
- errors?: any[] | undefined;
1289
- isDeactivated?: boolean | undefined;
1218
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1290
1219
  archivedAt?: string | undefined;
1291
- credentials?: unknown;
1292
- parameters?: unknown;
1293
- connectorParameters?: unknown;
1220
+ isDeactivated?: boolean | undefined;
1221
+ authOptionKey?: string | undefined;
1294
1222
  isTest?: boolean | undefined;
1223
+ meta?: Record<string, any> | undefined;
1295
1224
  disconnected?: boolean | undefined;
1296
1225
  isDefunct?: boolean | undefined;
1297
1226
  lastActiveAt?: string | undefined;
1298
1227
  nextCredentialsRefreshAt?: string | undefined;
1299
- meta?: Record<string, any> | undefined;
1300
1228
  }>>;
1301
1229
  integration: z.ZodOptional<z.ZodObject<{
1302
1230
  id: z.ZodString;
1303
- name: z.ZodString;
1304
1231
  key: z.ZodOptional<z.ZodString>;
1305
1232
  uuid: z.ZodOptional<z.ZodString>;
1306
1233
  description: z.ZodOptional<z.ZodString>;
1234
+ name: z.ZodString;
1307
1235
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1308
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
1236
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1309
1237
  revision: z.ZodOptional<z.ZodString>;
1310
1238
  createdAt: z.ZodOptional<z.ZodString>;
1311
1239
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -1313,44 +1241,8 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1313
1241
  logoUri: z.ZodString;
1314
1242
  connectorId: z.ZodOptional<z.ZodString>;
1315
1243
  connectorVersion: z.ZodOptional<z.ZodString>;
1316
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1317
- key: z.ZodString;
1318
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
1319
- title: z.ZodOptional<z.ZodString>;
1320
- description: z.ZodOptional<z.ZodString>;
1321
- ui: z.ZodOptional<z.ZodObject<{
1322
- schema: z.ZodOptional<z.ZodAny>;
1323
- helpUri: z.ZodOptional<z.ZodString>;
1324
- }, "strip", z.ZodTypeAny, {
1325
- schema?: any;
1326
- helpUri?: string | undefined;
1327
- }, {
1328
- schema?: any;
1329
- helpUri?: string | undefined;
1330
- }>>;
1331
- }, "strip", z.ZodTypeAny, {
1332
- key: string;
1333
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1334
- description?: string | undefined;
1335
- title?: string | undefined;
1336
- ui?: {
1337
- schema?: any;
1338
- helpUri?: string | undefined;
1339
- } | undefined;
1340
- }, {
1341
- key: string;
1342
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1343
- description?: string | undefined;
1344
- title?: string | undefined;
1345
- ui?: {
1346
- schema?: any;
1347
- helpUri?: string | undefined;
1348
- } | undefined;
1349
- }>, "many">>;
1350
1244
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1351
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
1352
1245
  parameters: z.ZodOptional<z.ZodAny>;
1353
- baseUri: z.ZodString;
1354
1246
  archivedAt: z.ZodOptional<z.ZodString>;
1355
1247
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1356
1248
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -1369,33 +1261,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1369
1261
  }, "strip", z.ZodTypeAny, {
1370
1262
  id: string;
1371
1263
  name: string;
1372
- baseUri: string;
1373
1264
  logoUri: string;
1374
1265
  key?: string | undefined;
1375
1266
  uuid?: string | undefined;
1376
1267
  description?: string | undefined;
1377
1268
  state?: import("..").WorkspaceElementState | undefined;
1378
- errors?: any[] | undefined;
1269
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1379
1270
  revision?: string | undefined;
1380
- isDeactivated?: boolean | undefined;
1381
1271
  createdAt?: string | undefined;
1382
1272
  updatedAt?: string | undefined;
1383
1273
  archivedAt?: string | undefined;
1274
+ isDeactivated?: boolean | undefined;
1384
1275
  parameters?: any;
1385
- parametersSchema?: import("../..").DataSchema | undefined;
1386
- isTest?: boolean | undefined;
1387
1276
  connectorId?: string | undefined;
1388
1277
  connectorVersion?: string | undefined;
1389
- authOptions?: {
1390
- key: string;
1391
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1392
- description?: string | undefined;
1393
- title?: string | undefined;
1394
- ui?: {
1395
- schema?: any;
1396
- helpUri?: string | undefined;
1397
- } | undefined;
1398
- }[] | undefined;
1399
1278
  oAuthCallbackUri?: string | undefined;
1400
1279
  hasMissingParameters?: boolean | undefined;
1401
1280
  hasDocumentation?: boolean | undefined;
@@ -1407,38 +1286,26 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1407
1286
  eventsCount?: number | undefined;
1408
1287
  hasGlobalWebhooks?: boolean | undefined;
1409
1288
  hasUdm?: boolean | undefined;
1289
+ isTest?: boolean | undefined;
1410
1290
  appUuid?: string | undefined;
1411
1291
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1412
1292
  }, {
1413
1293
  id: string;
1414
1294
  name: string;
1415
- baseUri: string;
1416
1295
  logoUri: string;
1417
1296
  key?: string | undefined;
1418
1297
  uuid?: string | undefined;
1419
1298
  description?: string | undefined;
1420
1299
  state?: import("..").WorkspaceElementState | undefined;
1421
- errors?: any[] | undefined;
1300
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1422
1301
  revision?: string | undefined;
1423
- isDeactivated?: boolean | undefined;
1424
1302
  createdAt?: string | undefined;
1425
1303
  updatedAt?: string | undefined;
1426
1304
  archivedAt?: string | undefined;
1305
+ isDeactivated?: boolean | undefined;
1427
1306
  parameters?: any;
1428
- parametersSchema?: import("../..").DataSchema | undefined;
1429
- isTest?: boolean | undefined;
1430
1307
  connectorId?: string | undefined;
1431
1308
  connectorVersion?: string | undefined;
1432
- authOptions?: {
1433
- key: string;
1434
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1435
- description?: string | undefined;
1436
- title?: string | undefined;
1437
- ui?: {
1438
- schema?: any;
1439
- helpUri?: string | undefined;
1440
- } | undefined;
1441
- }[] | undefined;
1442
1309
  oAuthCallbackUri?: string | undefined;
1443
1310
  hasMissingParameters?: boolean | undefined;
1444
1311
  hasDocumentation?: boolean | undefined;
@@ -1450,6 +1317,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1450
1317
  eventsCount?: number | undefined;
1451
1318
  hasGlobalWebhooks?: boolean | undefined;
1452
1319
  hasUdm?: boolean | undefined;
1320
+ isTest?: boolean | undefined;
1453
1321
  appUuid?: string | undefined;
1454
1322
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1455
1323
  }>>;
@@ -1468,52 +1336,37 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1468
1336
  updatedAt: string;
1469
1337
  userId: string;
1470
1338
  integrationId: string;
1471
- error?: any;
1339
+ error?: import("../..").ErrorDataSchema | undefined;
1472
1340
  state?: import("..").WorkspaceElementState | undefined;
1473
- errors?: any[] | undefined;
1474
- isDeactivated?: boolean | undefined;
1341
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1475
1342
  archivedAt?: string | undefined;
1476
- credentials?: unknown;
1477
- parameters?: unknown;
1478
- connectorParameters?: unknown;
1343
+ isDeactivated?: boolean | undefined;
1344
+ authOptionKey?: string | undefined;
1479
1345
  isTest?: boolean | undefined;
1346
+ meta?: Record<string, any> | undefined;
1480
1347
  disconnected?: boolean | undefined;
1481
1348
  isDefunct?: boolean | undefined;
1482
1349
  lastActiveAt?: string | undefined;
1483
1350
  nextCredentialsRefreshAt?: string | undefined;
1484
- meta?: Record<string, any> | undefined;
1485
1351
  } | undefined;
1486
1352
  path?: string | undefined;
1487
1353
  integration?: {
1488
1354
  id: string;
1489
1355
  name: string;
1490
- baseUri: string;
1491
1356
  logoUri: string;
1492
1357
  key?: string | undefined;
1493
1358
  uuid?: string | undefined;
1494
1359
  description?: string | undefined;
1495
1360
  state?: import("..").WorkspaceElementState | undefined;
1496
- errors?: any[] | undefined;
1361
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1497
1362
  revision?: string | undefined;
1498
- isDeactivated?: boolean | undefined;
1499
1363
  createdAt?: string | undefined;
1500
1364
  updatedAt?: string | undefined;
1501
1365
  archivedAt?: string | undefined;
1366
+ isDeactivated?: boolean | undefined;
1502
1367
  parameters?: any;
1503
- parametersSchema?: import("../..").DataSchema | undefined;
1504
- isTest?: boolean | undefined;
1505
1368
  connectorId?: string | undefined;
1506
1369
  connectorVersion?: string | undefined;
1507
- authOptions?: {
1508
- key: string;
1509
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1510
- description?: string | undefined;
1511
- title?: string | undefined;
1512
- ui?: {
1513
- schema?: any;
1514
- helpUri?: string | undefined;
1515
- } | undefined;
1516
- }[] | undefined;
1517
1370
  oAuthCallbackUri?: string | undefined;
1518
1371
  hasMissingParameters?: boolean | undefined;
1519
1372
  hasDocumentation?: boolean | undefined;
@@ -1525,18 +1378,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1525
1378
  eventsCount?: number | undefined;
1526
1379
  hasGlobalWebhooks?: boolean | undefined;
1527
1380
  hasUdm?: boolean | undefined;
1381
+ isTest?: boolean | undefined;
1528
1382
  appUuid?: string | undefined;
1529
1383
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1530
1384
  } | undefined;
1531
1385
  uuid?: string | undefined;
1532
1386
  description?: string | undefined;
1533
1387
  state?: import("..").WorkspaceElementState | undefined;
1534
- errors?: any[] | undefined;
1535
- isDeactivated?: boolean | undefined;
1388
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1536
1389
  createdAt?: string | undefined;
1537
1390
  updatedAt?: string | undefined;
1538
1391
  archivedAt?: string | undefined;
1392
+ isDeactivated?: boolean | undefined;
1539
1393
  instanceKey?: string | undefined;
1394
+ dataSourceId?: string | undefined;
1540
1395
  udm?: string | undefined;
1541
1396
  collectionSpec?: {
1542
1397
  type: "collection";
@@ -1685,7 +1540,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1685
1540
  lastActiveAt?: string | undefined;
1686
1541
  isBillable?: boolean | undefined;
1687
1542
  } | undefined;
1688
- dataSourceId?: string | undefined;
1689
1543
  isCustomized?: boolean | undefined;
1690
1544
  dataSourceRevision?: string | undefined;
1691
1545
  universalDataSourceId?: string | undefined;
@@ -1704,15 +1558,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1704
1558
  uuid?: string | undefined;
1705
1559
  description?: string | undefined;
1706
1560
  state?: import("..").WorkspaceElementState | undefined;
1707
- errors?: any[] | undefined;
1708
- isDeactivated?: boolean | undefined;
1561
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1709
1562
  createdAt?: string | undefined;
1710
1563
  updatedAt?: string | undefined;
1711
1564
  archivedAt?: string | undefined;
1565
+ isDeactivated?: boolean | undefined;
1712
1566
  integrationId?: string | undefined;
1713
- udm?: string | undefined;
1714
1567
  publishedRevision?: string | undefined;
1715
1568
  customized?: boolean | undefined;
1569
+ udm?: string | undefined;
1716
1570
  universalDataSourceId?: string | undefined;
1717
1571
  collectionKey?: string | undefined;
1718
1572
  collectionParameters?: any;
@@ -1736,52 +1590,37 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1736
1590
  updatedAt: string;
1737
1591
  userId: string;
1738
1592
  integrationId: string;
1739
- error?: any;
1593
+ error?: import("../..").ErrorDataSchema | undefined;
1740
1594
  state?: import("..").WorkspaceElementState | undefined;
1741
- errors?: any[] | undefined;
1742
- isDeactivated?: boolean | undefined;
1595
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1743
1596
  archivedAt?: string | undefined;
1744
- credentials?: unknown;
1745
- parameters?: unknown;
1746
- connectorParameters?: unknown;
1597
+ isDeactivated?: boolean | undefined;
1598
+ authOptionKey?: string | undefined;
1747
1599
  isTest?: boolean | undefined;
1600
+ meta?: Record<string, any> | undefined;
1748
1601
  disconnected?: boolean | undefined;
1749
1602
  isDefunct?: boolean | undefined;
1750
1603
  lastActiveAt?: string | undefined;
1751
1604
  nextCredentialsRefreshAt?: string | undefined;
1752
- meta?: Record<string, any> | undefined;
1753
1605
  } | undefined;
1754
1606
  path?: string | undefined;
1755
1607
  integration?: {
1756
1608
  id: string;
1757
1609
  name: string;
1758
- baseUri: string;
1759
1610
  logoUri: string;
1760
1611
  key?: string | undefined;
1761
1612
  uuid?: string | undefined;
1762
1613
  description?: string | undefined;
1763
1614
  state?: import("..").WorkspaceElementState | undefined;
1764
- errors?: any[] | undefined;
1615
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1765
1616
  revision?: string | undefined;
1766
- isDeactivated?: boolean | undefined;
1767
1617
  createdAt?: string | undefined;
1768
1618
  updatedAt?: string | undefined;
1769
1619
  archivedAt?: string | undefined;
1620
+ isDeactivated?: boolean | undefined;
1770
1621
  parameters?: any;
1771
- parametersSchema?: import("../..").DataSchema | undefined;
1772
- isTest?: boolean | undefined;
1773
1622
  connectorId?: string | undefined;
1774
1623
  connectorVersion?: string | undefined;
1775
- authOptions?: {
1776
- key: string;
1777
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1778
- description?: string | undefined;
1779
- title?: string | undefined;
1780
- ui?: {
1781
- schema?: any;
1782
- helpUri?: string | undefined;
1783
- } | undefined;
1784
- }[] | undefined;
1785
1624
  oAuthCallbackUri?: string | undefined;
1786
1625
  hasMissingParameters?: boolean | undefined;
1787
1626
  hasDocumentation?: boolean | undefined;
@@ -1793,18 +1632,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1793
1632
  eventsCount?: number | undefined;
1794
1633
  hasGlobalWebhooks?: boolean | undefined;
1795
1634
  hasUdm?: boolean | undefined;
1635
+ isTest?: boolean | undefined;
1796
1636
  appUuid?: string | undefined;
1797
1637
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1798
1638
  } | undefined;
1799
1639
  uuid?: string | undefined;
1800
1640
  description?: string | undefined;
1801
1641
  state?: import("..").WorkspaceElementState | undefined;
1802
- errors?: any[] | undefined;
1803
- isDeactivated?: boolean | undefined;
1642
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1804
1643
  createdAt?: string | undefined;
1805
1644
  updatedAt?: string | undefined;
1806
1645
  archivedAt?: string | undefined;
1646
+ isDeactivated?: boolean | undefined;
1807
1647
  instanceKey?: string | undefined;
1648
+ dataSourceId?: string | undefined;
1808
1649
  udm?: string | undefined;
1809
1650
  collectionSpec?: {
1810
1651
  type: "collection";
@@ -1953,7 +1794,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1953
1794
  lastActiveAt?: string | undefined;
1954
1795
  isBillable?: boolean | undefined;
1955
1796
  } | undefined;
1956
- dataSourceId?: string | undefined;
1957
1797
  isCustomized?: boolean | undefined;
1958
1798
  dataSourceRevision?: string | undefined;
1959
1799
  universalDataSourceId?: string | undefined;
@@ -1972,15 +1812,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
1972
1812
  uuid?: string | undefined;
1973
1813
  description?: string | undefined;
1974
1814
  state?: import("..").WorkspaceElementState | undefined;
1975
- errors?: any[] | undefined;
1976
- isDeactivated?: boolean | undefined;
1815
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1977
1816
  createdAt?: string | undefined;
1978
1817
  updatedAt?: string | undefined;
1979
1818
  archivedAt?: string | undefined;
1819
+ isDeactivated?: boolean | undefined;
1980
1820
  integrationId?: string | undefined;
1981
- udm?: string | undefined;
1982
1821
  publishedRevision?: string | undefined;
1983
1822
  customized?: boolean | undefined;
1823
+ udm?: string | undefined;
1984
1824
  universalDataSourceId?: string | undefined;
1985
1825
  collectionKey?: string | undefined;
1986
1826
  collectionParameters?: any;
@@ -2005,52 +1845,37 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2005
1845
  updatedAt: string;
2006
1846
  userId: string;
2007
1847
  integrationId: string;
2008
- error?: any;
1848
+ error?: import("../..").ErrorDataSchema | undefined;
2009
1849
  state?: import("..").WorkspaceElementState | undefined;
2010
- errors?: any[] | undefined;
2011
- isDeactivated?: boolean | undefined;
1850
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2012
1851
  archivedAt?: string | undefined;
2013
- credentials?: unknown;
2014
- parameters?: unknown;
2015
- connectorParameters?: unknown;
1852
+ isDeactivated?: boolean | undefined;
1853
+ authOptionKey?: string | undefined;
2016
1854
  isTest?: boolean | undefined;
1855
+ meta?: Record<string, any> | undefined;
2017
1856
  disconnected?: boolean | undefined;
2018
1857
  isDefunct?: boolean | undefined;
2019
1858
  lastActiveAt?: string | undefined;
2020
1859
  nextCredentialsRefreshAt?: string | undefined;
2021
- meta?: Record<string, any> | undefined;
2022
1860
  } | undefined;
2023
- error?: any;
1861
+ error?: import("../..").ErrorDataSchema | undefined;
2024
1862
  integration?: {
2025
1863
  id: string;
2026
1864
  name: string;
2027
- baseUri: string;
2028
1865
  logoUri: string;
2029
1866
  key?: string | undefined;
2030
1867
  uuid?: string | undefined;
2031
1868
  description?: string | undefined;
2032
1869
  state?: import("..").WorkspaceElementState | undefined;
2033
- errors?: any[] | undefined;
1870
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2034
1871
  revision?: string | undefined;
2035
- isDeactivated?: boolean | undefined;
2036
1872
  createdAt?: string | undefined;
2037
1873
  updatedAt?: string | undefined;
2038
1874
  archivedAt?: string | undefined;
1875
+ isDeactivated?: boolean | undefined;
2039
1876
  parameters?: any;
2040
- parametersSchema?: import("../..").DataSchema | undefined;
2041
- isTest?: boolean | undefined;
2042
1877
  connectorId?: string | undefined;
2043
1878
  connectorVersion?: string | undefined;
2044
- authOptions?: {
2045
- key: string;
2046
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2047
- description?: string | undefined;
2048
- title?: string | undefined;
2049
- ui?: {
2050
- schema?: any;
2051
- helpUri?: string | undefined;
2052
- } | undefined;
2053
- }[] | undefined;
2054
1879
  oAuthCallbackUri?: string | undefined;
2055
1880
  hasMissingParameters?: boolean | undefined;
2056
1881
  hasDocumentation?: boolean | undefined;
@@ -2062,18 +1887,25 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2062
1887
  eventsCount?: number | undefined;
2063
1888
  hasGlobalWebhooks?: boolean | undefined;
2064
1889
  hasUdm?: boolean | undefined;
1890
+ isTest?: boolean | undefined;
2065
1891
  appUuid?: string | undefined;
2066
1892
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2067
1893
  } | undefined;
2068
1894
  uuid?: string | undefined;
2069
1895
  description?: string | undefined;
2070
1896
  state?: import("..").WorkspaceElementState | undefined;
2071
- errors?: any[] | undefined;
2072
- isDeactivated?: boolean | undefined;
1897
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2073
1898
  createdAt?: string | undefined;
2074
1899
  updatedAt?: string | undefined;
2075
1900
  archivedAt?: string | undefined;
1901
+ isDeactivated?: boolean | undefined;
2076
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;
2077
1909
  user?: {
2078
1910
  id: string;
2079
1911
  name: string;
@@ -2086,12 +1918,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2086
1918
  lastActiveAt?: string | undefined;
2087
1919
  isBillable?: boolean | undefined;
2088
1920
  } | undefined;
2089
- appSchema?: import("../..").DataSchema | undefined;
2090
- direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2091
- importValue?: any;
2092
- exportValue?: any;
2093
- frozenImportFields?: string[] | undefined;
2094
- frozenExportFields?: string[] | undefined;
2095
1921
  isCustomized?: boolean | undefined;
2096
1922
  dataSourceInstanceId?: string | undefined;
2097
1923
  fieldMappingRevision?: string | undefined;
@@ -2112,11 +1938,11 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2112
1938
  uuid?: string | undefined;
2113
1939
  description?: string | undefined;
2114
1940
  state?: import("..").WorkspaceElementState | undefined;
2115
- errors?: any[] | undefined;
2116
- isDeactivated?: boolean | undefined;
1941
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2117
1942
  createdAt?: string | undefined;
2118
1943
  updatedAt?: string | undefined;
2119
1944
  archivedAt?: string | undefined;
1945
+ isDeactivated?: boolean | undefined;
2120
1946
  integrationId?: string | undefined;
2121
1947
  publishedRevision?: string | undefined;
2122
1948
  universalFieldMappingId?: string | undefined;
@@ -2145,52 +1971,37 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2145
1971
  updatedAt: string;
2146
1972
  userId: string;
2147
1973
  integrationId: string;
2148
- error?: any;
1974
+ error?: import("../..").ErrorDataSchema | undefined;
2149
1975
  state?: import("..").WorkspaceElementState | undefined;
2150
- errors?: any[] | undefined;
2151
- isDeactivated?: boolean | undefined;
1976
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2152
1977
  archivedAt?: string | undefined;
2153
- credentials?: unknown;
2154
- parameters?: unknown;
2155
- connectorParameters?: unknown;
1978
+ isDeactivated?: boolean | undefined;
1979
+ authOptionKey?: string | undefined;
2156
1980
  isTest?: boolean | undefined;
1981
+ meta?: Record<string, any> | undefined;
2157
1982
  disconnected?: boolean | undefined;
2158
1983
  isDefunct?: boolean | undefined;
2159
1984
  lastActiveAt?: string | undefined;
2160
1985
  nextCredentialsRefreshAt?: string | undefined;
2161
- meta?: Record<string, any> | undefined;
2162
1986
  } | undefined;
2163
1987
  path?: string | undefined;
2164
1988
  integration?: {
2165
1989
  id: string;
2166
1990
  name: string;
2167
- baseUri: string;
2168
1991
  logoUri: string;
2169
1992
  key?: string | undefined;
2170
1993
  uuid?: string | undefined;
2171
1994
  description?: string | undefined;
2172
1995
  state?: import("..").WorkspaceElementState | undefined;
2173
- errors?: any[] | undefined;
1996
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2174
1997
  revision?: string | undefined;
2175
- isDeactivated?: boolean | undefined;
2176
1998
  createdAt?: string | undefined;
2177
1999
  updatedAt?: string | undefined;
2178
2000
  archivedAt?: string | undefined;
2001
+ isDeactivated?: boolean | undefined;
2179
2002
  parameters?: any;
2180
- parametersSchema?: import("../..").DataSchema | undefined;
2181
- isTest?: boolean | undefined;
2182
2003
  connectorId?: string | undefined;
2183
2004
  connectorVersion?: string | undefined;
2184
- authOptions?: {
2185
- key: string;
2186
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2187
- description?: string | undefined;
2188
- title?: string | undefined;
2189
- ui?: {
2190
- schema?: any;
2191
- helpUri?: string | undefined;
2192
- } | undefined;
2193
- }[] | undefined;
2194
2005
  oAuthCallbackUri?: string | undefined;
2195
2006
  hasMissingParameters?: boolean | undefined;
2196
2007
  hasDocumentation?: boolean | undefined;
@@ -2202,18 +2013,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2202
2013
  eventsCount?: number | undefined;
2203
2014
  hasGlobalWebhooks?: boolean | undefined;
2204
2015
  hasUdm?: boolean | undefined;
2016
+ isTest?: boolean | undefined;
2205
2017
  appUuid?: string | undefined;
2206
2018
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2207
2019
  } | undefined;
2208
2020
  uuid?: string | undefined;
2209
2021
  description?: string | undefined;
2210
2022
  state?: import("..").WorkspaceElementState | undefined;
2211
- errors?: any[] | undefined;
2212
- isDeactivated?: boolean | undefined;
2023
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2213
2024
  createdAt?: string | undefined;
2214
2025
  updatedAt?: string | undefined;
2215
2026
  archivedAt?: string | undefined;
2027
+ isDeactivated?: boolean | undefined;
2216
2028
  instanceKey?: string | undefined;
2029
+ dataSourceId?: string | undefined;
2217
2030
  udm?: string | undefined;
2218
2031
  collectionSpec?: {
2219
2032
  type: "collection";
@@ -2362,7 +2175,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2362
2175
  lastActiveAt?: string | undefined;
2363
2176
  isBillable?: boolean | undefined;
2364
2177
  } | undefined;
2365
- dataSourceId?: string | undefined;
2366
2178
  isCustomized?: boolean | undefined;
2367
2179
  dataSourceRevision?: string | undefined;
2368
2180
  universalDataSourceId?: string | undefined;
@@ -2381,15 +2193,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2381
2193
  uuid?: string | undefined;
2382
2194
  description?: string | undefined;
2383
2195
  state?: import("..").WorkspaceElementState | undefined;
2384
- errors?: any[] | undefined;
2385
- isDeactivated?: boolean | undefined;
2196
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2386
2197
  createdAt?: string | undefined;
2387
2198
  updatedAt?: string | undefined;
2388
2199
  archivedAt?: string | undefined;
2200
+ isDeactivated?: boolean | undefined;
2389
2201
  integrationId?: string | undefined;
2390
- udm?: string | undefined;
2391
2202
  publishedRevision?: string | undefined;
2392
2203
  customized?: boolean | undefined;
2204
+ udm?: string | undefined;
2393
2205
  universalDataSourceId?: string | undefined;
2394
2206
  collectionKey?: string | undefined;
2395
2207
  collectionParameters?: any;
@@ -2414,52 +2226,37 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2414
2226
  updatedAt: string;
2415
2227
  userId: string;
2416
2228
  integrationId: string;
2417
- error?: any;
2229
+ error?: import("../..").ErrorDataSchema | undefined;
2418
2230
  state?: import("..").WorkspaceElementState | undefined;
2419
- errors?: any[] | undefined;
2420
- isDeactivated?: boolean | undefined;
2231
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2421
2232
  archivedAt?: string | undefined;
2422
- credentials?: unknown;
2423
- parameters?: unknown;
2424
- connectorParameters?: unknown;
2233
+ isDeactivated?: boolean | undefined;
2234
+ authOptionKey?: string | undefined;
2425
2235
  isTest?: boolean | undefined;
2236
+ meta?: Record<string, any> | undefined;
2426
2237
  disconnected?: boolean | undefined;
2427
2238
  isDefunct?: boolean | undefined;
2428
2239
  lastActiveAt?: string | undefined;
2429
2240
  nextCredentialsRefreshAt?: string | undefined;
2430
- meta?: Record<string, any> | undefined;
2431
2241
  } | undefined;
2432
- error?: any;
2242
+ error?: import("../..").ErrorDataSchema | undefined;
2433
2243
  integration?: {
2434
2244
  id: string;
2435
2245
  name: string;
2436
- baseUri: string;
2437
2246
  logoUri: string;
2438
2247
  key?: string | undefined;
2439
2248
  uuid?: string | undefined;
2440
2249
  description?: string | undefined;
2441
2250
  state?: import("..").WorkspaceElementState | undefined;
2442
- errors?: any[] | undefined;
2251
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2443
2252
  revision?: string | undefined;
2444
- isDeactivated?: boolean | undefined;
2445
2253
  createdAt?: string | undefined;
2446
2254
  updatedAt?: string | undefined;
2447
2255
  archivedAt?: string | undefined;
2256
+ isDeactivated?: boolean | undefined;
2448
2257
  parameters?: any;
2449
- parametersSchema?: import("../..").DataSchema | undefined;
2450
- isTest?: boolean | undefined;
2451
2258
  connectorId?: string | undefined;
2452
2259
  connectorVersion?: string | undefined;
2453
- authOptions?: {
2454
- key: string;
2455
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2456
- description?: string | undefined;
2457
- title?: string | undefined;
2458
- ui?: {
2459
- schema?: any;
2460
- helpUri?: string | undefined;
2461
- } | undefined;
2462
- }[] | undefined;
2463
2260
  oAuthCallbackUri?: string | undefined;
2464
2261
  hasMissingParameters?: boolean | undefined;
2465
2262
  hasDocumentation?: boolean | undefined;
@@ -2471,18 +2268,25 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2471
2268
  eventsCount?: number | undefined;
2472
2269
  hasGlobalWebhooks?: boolean | undefined;
2473
2270
  hasUdm?: boolean | undefined;
2271
+ isTest?: boolean | undefined;
2474
2272
  appUuid?: string | undefined;
2475
2273
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2476
2274
  } | undefined;
2477
2275
  uuid?: string | undefined;
2478
2276
  description?: string | undefined;
2479
2277
  state?: import("..").WorkspaceElementState | undefined;
2480
- errors?: any[] | undefined;
2481
- isDeactivated?: boolean | undefined;
2278
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2482
2279
  createdAt?: string | undefined;
2483
2280
  updatedAt?: string | undefined;
2484
2281
  archivedAt?: string | undefined;
2282
+ isDeactivated?: boolean | undefined;
2485
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;
2486
2290
  user?: {
2487
2291
  id: string;
2488
2292
  name: string;
@@ -2495,12 +2299,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2495
2299
  lastActiveAt?: string | undefined;
2496
2300
  isBillable?: boolean | undefined;
2497
2301
  } | undefined;
2498
- appSchema?: import("../..").DataSchema | undefined;
2499
- direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
2500
- importValue?: any;
2501
- exportValue?: any;
2502
- frozenImportFields?: string[] | undefined;
2503
- frozenExportFields?: string[] | undefined;
2504
2302
  isCustomized?: boolean | undefined;
2505
2303
  dataSourceInstanceId?: string | undefined;
2506
2304
  fieldMappingRevision?: string | undefined;
@@ -2521,11 +2319,11 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2521
2319
  uuid?: string | undefined;
2522
2320
  description?: string | undefined;
2523
2321
  state?: import("..").WorkspaceElementState | undefined;
2524
- errors?: any[] | undefined;
2525
- isDeactivated?: boolean | undefined;
2322
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2526
2323
  createdAt?: string | undefined;
2527
2324
  updatedAt?: string | undefined;
2528
2325
  archivedAt?: string | undefined;
2326
+ isDeactivated?: boolean | undefined;
2529
2327
  integrationId?: string | undefined;
2530
2328
  publishedRevision?: string | undefined;
2531
2329
  universalFieldMappingId?: string | undefined;
@@ -2554,52 +2352,37 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2554
2352
  updatedAt: string;
2555
2353
  userId: string;
2556
2354
  integrationId: string;
2557
- error?: any;
2355
+ error?: import("../..").ErrorDataSchema | undefined;
2558
2356
  state?: import("..").WorkspaceElementState | undefined;
2559
- errors?: any[] | undefined;
2560
- isDeactivated?: boolean | undefined;
2357
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2561
2358
  archivedAt?: string | undefined;
2562
- credentials?: unknown;
2563
- parameters?: unknown;
2564
- connectorParameters?: unknown;
2359
+ isDeactivated?: boolean | undefined;
2360
+ authOptionKey?: string | undefined;
2565
2361
  isTest?: boolean | undefined;
2362
+ meta?: Record<string, any> | undefined;
2566
2363
  disconnected?: boolean | undefined;
2567
2364
  isDefunct?: boolean | undefined;
2568
2365
  lastActiveAt?: string | undefined;
2569
2366
  nextCredentialsRefreshAt?: string | undefined;
2570
- meta?: Record<string, any> | undefined;
2571
2367
  } | undefined;
2572
2368
  path?: string | undefined;
2573
2369
  integration?: {
2574
2370
  id: string;
2575
2371
  name: string;
2576
- baseUri: string;
2577
2372
  logoUri: string;
2578
2373
  key?: string | undefined;
2579
2374
  uuid?: string | undefined;
2580
2375
  description?: string | undefined;
2581
2376
  state?: import("..").WorkspaceElementState | undefined;
2582
- errors?: any[] | undefined;
2377
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2583
2378
  revision?: string | undefined;
2584
- isDeactivated?: boolean | undefined;
2585
2379
  createdAt?: string | undefined;
2586
2380
  updatedAt?: string | undefined;
2587
2381
  archivedAt?: string | undefined;
2382
+ isDeactivated?: boolean | undefined;
2588
2383
  parameters?: any;
2589
- parametersSchema?: import("../..").DataSchema | undefined;
2590
- isTest?: boolean | undefined;
2591
2384
  connectorId?: string | undefined;
2592
2385
  connectorVersion?: string | undefined;
2593
- authOptions?: {
2594
- key: string;
2595
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2596
- description?: string | undefined;
2597
- title?: string | undefined;
2598
- ui?: {
2599
- schema?: any;
2600
- helpUri?: string | undefined;
2601
- } | undefined;
2602
- }[] | undefined;
2603
2386
  oAuthCallbackUri?: string | undefined;
2604
2387
  hasMissingParameters?: boolean | undefined;
2605
2388
  hasDocumentation?: boolean | undefined;
@@ -2611,18 +2394,20 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2611
2394
  eventsCount?: number | undefined;
2612
2395
  hasGlobalWebhooks?: boolean | undefined;
2613
2396
  hasUdm?: boolean | undefined;
2397
+ isTest?: boolean | undefined;
2614
2398
  appUuid?: string | undefined;
2615
2399
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2616
2400
  } | undefined;
2617
2401
  uuid?: string | undefined;
2618
2402
  description?: string | undefined;
2619
2403
  state?: import("..").WorkspaceElementState | undefined;
2620
- errors?: any[] | undefined;
2621
- isDeactivated?: boolean | undefined;
2404
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2622
2405
  createdAt?: string | undefined;
2623
2406
  updatedAt?: string | undefined;
2624
2407
  archivedAt?: string | undefined;
2408
+ isDeactivated?: boolean | undefined;
2625
2409
  instanceKey?: string | undefined;
2410
+ dataSourceId?: string | undefined;
2626
2411
  udm?: string | undefined;
2627
2412
  collectionSpec?: {
2628
2413
  type: "collection";
@@ -2771,7 +2556,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2771
2556
  lastActiveAt?: string | undefined;
2772
2557
  isBillable?: boolean | undefined;
2773
2558
  } | undefined;
2774
- dataSourceId?: string | undefined;
2775
2559
  isCustomized?: boolean | undefined;
2776
2560
  dataSourceRevision?: string | undefined;
2777
2561
  universalDataSourceId?: string | undefined;
@@ -2790,15 +2574,15 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
2790
2574
  uuid?: string | undefined;
2791
2575
  description?: string | undefined;
2792
2576
  state?: import("..").WorkspaceElementState | undefined;
2793
- errors?: any[] | undefined;
2794
- isDeactivated?: boolean | undefined;
2577
+ errors?: import("../..").ErrorDataSchema[] | undefined;
2795
2578
  createdAt?: string | undefined;
2796
2579
  updatedAt?: string | undefined;
2797
2580
  archivedAt?: string | undefined;
2581
+ isDeactivated?: boolean | undefined;
2798
2582
  integrationId?: string | undefined;
2799
- udm?: string | undefined;
2800
2583
  publishedRevision?: string | undefined;
2801
2584
  customized?: boolean | undefined;
2585
+ udm?: string | undefined;
2802
2586
  universalDataSourceId?: string | undefined;
2803
2587
  collectionKey?: string | undefined;
2804
2588
  collectionParameters?: any;