@membranehq/sdk 0.5.0 → 0.5.2

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 (69) hide show
  1. package/dist/bundle.d.ts +10513 -4612
  2. package/dist/bundle.js +149 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +22 -15
  5. package/dist/dts/accessors/integrations-accessors.d.ts +22 -15
  6. package/dist/dts/data-schema/index.d.ts +0 -1
  7. package/dist/dts/entity-repository.d.ts +7 -6
  8. package/dist/dts/http-requests.d.ts +2 -2
  9. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +435 -10
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +225 -114
  12. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
  13. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
  14. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
  15. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
  16. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +505 -135
  18. package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
  19. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +447 -12
  20. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
  21. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1496 -12
  22. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +189 -103
  23. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +602 -19
  24. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +608 -19
  25. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +465 -10
  26. package/dist/dts/workspace-elements/api/external-events-api.d.ts +75 -41
  27. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2570 -14
  28. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +199 -93
  29. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1436 -47
  30. package/dist/dts/workspace-elements/api/flows-api.d.ts +590 -295
  31. package/dist/dts/workspace-elements/api/index.d.ts +1 -1
  32. package/dist/dts/workspace-elements/api/integrations-api.d.ts +176 -58
  33. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +77 -36
  34. package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
  35. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +31 -15
  36. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
  37. package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
  38. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
  39. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
  40. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
  41. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
  42. package/dist/dts/workspace-elements/base/connections/types.d.ts +21 -21
  43. package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
  44. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
  45. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
  46. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
  47. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
  48. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
  49. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
  50. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
  51. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
  52. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +2 -2
  53. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +24 -9
  54. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
  55. package/dist/dts/workspace-elements/base/flows/types.d.ts +20 -6
  56. package/dist/dts/workspace-elements/base/integrations/types.d.ts +187 -104
  57. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
  58. package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
  59. package/dist/dts/workspace-elements/types.d.ts +25 -3
  60. package/dist/dts/workspaces/types.d.ts +5 -4
  61. package/dist/index.d.ts +20345 -9526
  62. package/dist/index.js +268 -115
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.module.d.mts +20345 -9526
  65. package/dist/index.module.mjs +234 -107
  66. package/dist/index.module.mjs.map +1 -1
  67. package/package.json +3 -2
  68. package/dist/dts/data-schema/schemas.d.ts +0 -4
  69. package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
@@ -1,13 +1,8 @@
1
+ import { z } from 'zod';
1
2
  import { ConnectionSelector } from './connections-api';
2
- import { DataSourceInstance } from './data-source-instances-api';
3
3
  import { FlowInstanceSelector } from './flows-api';
4
4
  import { ElementInstanceSelector } from '../../accessors';
5
5
  import { CommonInstancesListQuery, CommonIntegrationOrConnectionQuery } from '../../entity-repository';
6
- import { BaseConnection } from '../base/connections';
7
- import { BaseCustomer } from '../base/customers';
8
- import { BaseFieldMappingInstance } from '../base/field-mapping-instances';
9
- import { BaseFieldMapping } from '../base/field-mappings';
10
- import { BaseIntegration } from '../base/integrations';
11
6
  export type ListFieldMappingInstancesForConnectionQuery = CommonInstancesListQuery & {
12
7
  fieldMappingId?: string;
13
8
  universalFieldMappingId?: string;
@@ -31,11 +26,2572 @@ export interface FieldMappingInstanceSelector extends ConnectionSelector, FlowIn
31
26
  instanceKey?: string;
32
27
  nodeKey?: string;
33
28
  }
34
- export interface FieldMappingInstance extends BaseFieldMappingInstance {
35
- user?: BaseCustomer;
36
- connection?: BaseConnection;
37
- integration?: BaseIntegration;
38
- fieldMapping?: BaseFieldMapping;
39
- dataSourceInstance?: DataSourceInstance;
40
- }
41
- export type FieldMappingInstanceApiResponse = FieldMappingInstance;
29
+ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
30
+ id: z.ZodString;
31
+ name: z.ZodString;
32
+ key: z.ZodOptional<z.ZodString>;
33
+ uuid: z.ZodOptional<z.ZodString>;
34
+ description: z.ZodOptional<z.ZodString>;
35
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
36
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
37
+ createdAt: z.ZodOptional<z.ZodString>;
38
+ updatedAt: z.ZodOptional<z.ZodString>;
39
+ archivedAt: z.ZodOptional<z.ZodString>;
40
+ } & {
41
+ userId: z.ZodString;
42
+ revision: z.ZodString;
43
+ connectionId: z.ZodString;
44
+ integrationId: z.ZodString;
45
+ fieldMappingRevision: z.ZodOptional<z.ZodString>;
46
+ fieldMappingId: z.ZodOptional<z.ZodString>;
47
+ instanceKey: z.ZodOptional<z.ZodString>;
48
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
49
+ dataSourceSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
50
+ direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
51
+ appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
52
+ importValue: z.ZodOptional<z.ZodAny>;
53
+ exportValue: z.ZodOptional<z.ZodAny>;
54
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
55
+ unifiedExportValue: z.ZodOptional<z.ZodAny>;
56
+ unifiedImportValue: z.ZodOptional<z.ZodAny>;
57
+ frozenImportFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58
+ frozenExportFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
60
+ error: any;
61
+ externalSchema: z.ZodOptional<z.ZodAny>;
62
+ } & {
63
+ user: z.ZodOptional<z.ZodObject<{
64
+ id: z.ZodString;
65
+ name: z.ZodString;
66
+ internalId: z.ZodString;
67
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
68
+ credentials: z.ZodOptional<z.ZodAny>;
69
+ lastActiveAt: z.ZodOptional<z.ZodString>;
70
+ isTest: z.ZodOptional<z.ZodBoolean>;
71
+ isBillable: z.ZodOptional<z.ZodBoolean>;
72
+ createdAt: z.ZodOptional<z.ZodString>;
73
+ archivedAt: z.ZodOptional<z.ZodString>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ id: string;
76
+ name: string;
77
+ internalId: string;
78
+ createdAt?: string | undefined;
79
+ archivedAt?: string | undefined;
80
+ credentials?: any;
81
+ fields?: Record<string, any> | undefined;
82
+ isTest?: boolean | undefined;
83
+ lastActiveAt?: string | undefined;
84
+ isBillable?: boolean | undefined;
85
+ }, {
86
+ id: string;
87
+ name: string;
88
+ internalId: string;
89
+ createdAt?: string | undefined;
90
+ archivedAt?: string | undefined;
91
+ credentials?: any;
92
+ fields?: Record<string, any> | undefined;
93
+ isTest?: boolean | undefined;
94
+ lastActiveAt?: string | undefined;
95
+ isBillable?: boolean | undefined;
96
+ }>>;
97
+ connection: z.ZodOptional<z.ZodObject<{
98
+ id: z.ZodString;
99
+ } & {
100
+ name: z.ZodString;
101
+ userId: z.ZodString;
102
+ isTest: z.ZodOptional<z.ZodBoolean>;
103
+ disconnected: z.ZodOptional<z.ZodBoolean>;
104
+ isDefunct: z.ZodOptional<z.ZodBoolean>;
105
+ error: any;
106
+ integrationId: z.ZodString;
107
+ authOptionKey: z.ZodOptional<z.ZodString>;
108
+ createdAt: z.ZodString;
109
+ updatedAt: z.ZodString;
110
+ lastActiveAt: z.ZodOptional<z.ZodString>;
111
+ nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
112
+ archivedAt: z.ZodOptional<z.ZodString>;
113
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
114
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
115
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
116
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ id: string;
119
+ name: string;
120
+ createdAt: string;
121
+ updatedAt: string;
122
+ userId: string;
123
+ integrationId: string;
124
+ error?: any;
125
+ state?: import("..").WorkspaceElementState | undefined;
126
+ errors?: any[] | undefined;
127
+ isDeactivated?: boolean | undefined;
128
+ archivedAt?: string | undefined;
129
+ authOptionKey?: string | undefined;
130
+ isTest?: boolean | undefined;
131
+ disconnected?: boolean | undefined;
132
+ isDefunct?: boolean | undefined;
133
+ lastActiveAt?: string | undefined;
134
+ nextCredentialsRefreshAt?: string | undefined;
135
+ meta?: Record<string, any> | undefined;
136
+ }, {
137
+ id: string;
138
+ name: string;
139
+ createdAt: string;
140
+ updatedAt: string;
141
+ userId: string;
142
+ integrationId: string;
143
+ error?: any;
144
+ state?: import("..").WorkspaceElementState | undefined;
145
+ errors?: any[] | undefined;
146
+ isDeactivated?: boolean | undefined;
147
+ archivedAt?: string | undefined;
148
+ authOptionKey?: string | undefined;
149
+ isTest?: boolean | undefined;
150
+ disconnected?: boolean | undefined;
151
+ isDefunct?: boolean | undefined;
152
+ lastActiveAt?: string | undefined;
153
+ nextCredentialsRefreshAt?: string | undefined;
154
+ meta?: Record<string, any> | undefined;
155
+ }>>;
156
+ integration: z.ZodOptional<z.ZodObject<{
157
+ id: z.ZodString;
158
+ name: z.ZodString;
159
+ key: z.ZodOptional<z.ZodString>;
160
+ uuid: z.ZodOptional<z.ZodString>;
161
+ description: z.ZodOptional<z.ZodString>;
162
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
163
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
164
+ revision: z.ZodOptional<z.ZodString>;
165
+ createdAt: z.ZodOptional<z.ZodString>;
166
+ updatedAt: z.ZodOptional<z.ZodString>;
167
+ } & {
168
+ logoUri: z.ZodString;
169
+ connectorId: z.ZodOptional<z.ZodString>;
170
+ connectorVersion: z.ZodOptional<z.ZodString>;
171
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
172
+ parameters: z.ZodOptional<z.ZodAny>;
173
+ archivedAt: z.ZodOptional<z.ZodString>;
174
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
175
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
176
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
177
+ operationsCount: z.ZodOptional<z.ZodNumber>;
178
+ hasData: z.ZodOptional<z.ZodBoolean>;
179
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
180
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
181
+ eventsCount: z.ZodOptional<z.ZodNumber>;
182
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
183
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
184
+ isTest: z.ZodOptional<z.ZodBoolean>;
185
+ appUuid: z.ZodOptional<z.ZodString>;
186
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
187
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ id: string;
190
+ name: string;
191
+ logoUri: string;
192
+ key?: string | undefined;
193
+ uuid?: string | undefined;
194
+ description?: string | undefined;
195
+ state?: import("..").WorkspaceElementState | undefined;
196
+ errors?: any[] | undefined;
197
+ revision?: string | undefined;
198
+ isDeactivated?: boolean | undefined;
199
+ createdAt?: string | undefined;
200
+ updatedAt?: string | undefined;
201
+ archivedAt?: string | undefined;
202
+ parameters?: any;
203
+ isTest?: boolean | undefined;
204
+ connectorId?: string | undefined;
205
+ connectorVersion?: string | undefined;
206
+ oAuthCallbackUri?: string | undefined;
207
+ hasMissingParameters?: boolean | undefined;
208
+ hasDocumentation?: boolean | undefined;
209
+ hasOperations?: boolean | undefined;
210
+ operationsCount?: number | undefined;
211
+ hasData?: boolean | undefined;
212
+ dataCollectionsCount?: number | undefined;
213
+ hasEvents?: boolean | undefined;
214
+ eventsCount?: number | undefined;
215
+ hasGlobalWebhooks?: boolean | undefined;
216
+ hasUdm?: boolean | undefined;
217
+ appUuid?: string | undefined;
218
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
219
+ }, {
220
+ id: string;
221
+ name: string;
222
+ logoUri: string;
223
+ key?: string | undefined;
224
+ uuid?: string | undefined;
225
+ description?: string | undefined;
226
+ state?: import("..").WorkspaceElementState | undefined;
227
+ errors?: any[] | undefined;
228
+ revision?: string | undefined;
229
+ isDeactivated?: boolean | undefined;
230
+ createdAt?: string | undefined;
231
+ updatedAt?: string | undefined;
232
+ archivedAt?: string | undefined;
233
+ parameters?: any;
234
+ isTest?: boolean | undefined;
235
+ connectorId?: string | undefined;
236
+ connectorVersion?: string | undefined;
237
+ oAuthCallbackUri?: string | undefined;
238
+ hasMissingParameters?: boolean | undefined;
239
+ hasDocumentation?: boolean | undefined;
240
+ hasOperations?: boolean | undefined;
241
+ operationsCount?: number | undefined;
242
+ hasData?: boolean | undefined;
243
+ dataCollectionsCount?: number | undefined;
244
+ hasEvents?: boolean | undefined;
245
+ eventsCount?: number | undefined;
246
+ hasGlobalWebhooks?: boolean | undefined;
247
+ hasUdm?: boolean | undefined;
248
+ appUuid?: string | undefined;
249
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
250
+ }>>;
251
+ fieldMapping: z.ZodOptional<z.ZodObject<{
252
+ id: z.ZodString;
253
+ name: z.ZodString;
254
+ key: z.ZodOptional<z.ZodString>;
255
+ uuid: z.ZodOptional<z.ZodString>;
256
+ description: z.ZodOptional<z.ZodString>;
257
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
258
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
259
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
260
+ createdAt: z.ZodOptional<z.ZodString>;
261
+ updatedAt: z.ZodOptional<z.ZodString>;
262
+ } & {
263
+ revision: z.ZodString;
264
+ publishedRevision: z.ZodOptional<z.ZodString>;
265
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
266
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
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>;
272
+ defaultImportValue: z.ZodOptional<z.ZodAny>;
273
+ defaultExportValue: z.ZodOptional<z.ZodAny>;
274
+ importValue: z.ZodOptional<z.ZodAny>;
275
+ exportValue: z.ZodOptional<z.ZodAny>;
276
+ frozenImportFields: z.ZodOptional<z.ZodAny>;
277
+ frozenExportFields: z.ZodOptional<z.ZodAny>;
278
+ frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
279
+ archivedAt: z.ZodOptional<z.ZodString>;
280
+ customized: z.ZodOptional<z.ZodBoolean>;
281
+ }, "strip", z.ZodTypeAny, {
282
+ id: string;
283
+ name: string;
284
+ revision: string;
285
+ dataSourceId: string;
286
+ dataSourceKey: string;
287
+ appSchema: import("../..").DataSchema;
288
+ direction: import("../base/field-mappings").FieldMappingDirection;
289
+ key?: string | undefined;
290
+ uuid?: string | undefined;
291
+ description?: string | undefined;
292
+ state?: import("..").WorkspaceElementState | undefined;
293
+ errors?: any[] | undefined;
294
+ isDeactivated?: boolean | undefined;
295
+ createdAt?: string | undefined;
296
+ updatedAt?: string | undefined;
297
+ archivedAt?: string | undefined;
298
+ integrationId?: string | undefined;
299
+ publishedRevision?: string | undefined;
300
+ universalFieldMappingId?: string | undefined;
301
+ universalFieldMappingRevision?: string | undefined;
302
+ defaultImportValue?: any;
303
+ defaultExportValue?: any;
304
+ importValue?: any;
305
+ exportValue?: any;
306
+ frozenImportFields?: any;
307
+ frozenExportFields?: any;
308
+ frozenUnifiedExportFields?: any;
309
+ customized?: boolean | undefined;
310
+ }, {
311
+ id: string;
312
+ name: string;
313
+ revision: string;
314
+ dataSourceId: string;
315
+ dataSourceKey: string;
316
+ appSchema: import("../..").DataSchema;
317
+ direction: import("../base/field-mappings").FieldMappingDirection;
318
+ key?: string | undefined;
319
+ uuid?: string | undefined;
320
+ description?: string | undefined;
321
+ state?: import("..").WorkspaceElementState | undefined;
322
+ errors?: any[] | undefined;
323
+ isDeactivated?: boolean | undefined;
324
+ createdAt?: string | undefined;
325
+ updatedAt?: string | undefined;
326
+ archivedAt?: string | undefined;
327
+ integrationId?: string | undefined;
328
+ publishedRevision?: string | undefined;
329
+ universalFieldMappingId?: string | undefined;
330
+ universalFieldMappingRevision?: string | undefined;
331
+ defaultImportValue?: any;
332
+ defaultExportValue?: any;
333
+ importValue?: any;
334
+ exportValue?: any;
335
+ frozenImportFields?: any;
336
+ frozenExportFields?: any;
337
+ frozenUnifiedExportFields?: any;
338
+ customized?: boolean | undefined;
339
+ }>>;
340
+ dataSourceInstance: z.ZodOptional<z.ZodObject<{
341
+ id: z.ZodString;
342
+ name: z.ZodString;
343
+ key: z.ZodOptional<z.ZodString>;
344
+ uuid: z.ZodOptional<z.ZodString>;
345
+ description: z.ZodOptional<z.ZodString>;
346
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
347
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
348
+ createdAt: z.ZodOptional<z.ZodString>;
349
+ updatedAt: z.ZodOptional<z.ZodString>;
350
+ archivedAt: z.ZodOptional<z.ZodString>;
351
+ } & {
352
+ userId: z.ZodString;
353
+ revision: z.ZodString;
354
+ dataSourceRevision: z.ZodOptional<z.ZodString>;
355
+ dataSourceId: z.ZodOptional<z.ZodString>;
356
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
357
+ udm: z.ZodOptional<z.ZodString>;
358
+ connectionId: z.ZodString;
359
+ integrationId: z.ZodString;
360
+ instanceKey: z.ZodOptional<z.ZodString>;
361
+ collectionKey: z.ZodOptional<z.ZodString>;
362
+ collectionParameters: z.ZodOptional<z.ZodAny>;
363
+ defaultCollectionKey: z.ZodOptional<z.ZodString>;
364
+ defaultCollectionParameters: z.ZodOptional<z.ZodAny>;
365
+ collectionSpec: z.ZodOptional<z.ZodObject<{
366
+ type: z.ZodLiteral<"collection">;
367
+ key: z.ZodOptional<z.ZodString>;
368
+ name: z.ZodString;
369
+ parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
370
+ fieldsSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
371
+ list: z.ZodOptional<z.ZodObject<{
372
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
373
+ path: z.ZodUnknown;
374
+ method: z.ZodUnknown;
375
+ }, "strip", z.ZodTypeAny, {
376
+ method?: unknown;
377
+ path?: unknown;
378
+ }, {
379
+ method?: unknown;
380
+ path?: unknown;
381
+ }>, "many">>;
382
+ } & {
383
+ filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ apiRequests?: {
386
+ method?: unknown;
387
+ path?: unknown;
388
+ }[] | undefined;
389
+ filterFields?: string[] | undefined;
390
+ }, {
391
+ apiRequests?: {
392
+ method?: unknown;
393
+ path?: unknown;
394
+ }[] | undefined;
395
+ filterFields?: string[] | undefined;
396
+ }>>;
397
+ search: z.ZodOptional<z.ZodObject<{
398
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
399
+ path: z.ZodUnknown;
400
+ method: z.ZodUnknown;
401
+ }, "strip", z.ZodTypeAny, {
402
+ method?: unknown;
403
+ path?: unknown;
404
+ }, {
405
+ method?: unknown;
406
+ path?: unknown;
407
+ }>, "many">>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ apiRequests?: {
410
+ method?: unknown;
411
+ path?: unknown;
412
+ }[] | undefined;
413
+ }, {
414
+ apiRequests?: {
415
+ method?: unknown;
416
+ path?: unknown;
417
+ }[] | undefined;
418
+ }>>;
419
+ match: z.ZodOptional<z.ZodObject<{
420
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
421
+ path: z.ZodUnknown;
422
+ method: z.ZodUnknown;
423
+ }, "strip", z.ZodTypeAny, {
424
+ method?: unknown;
425
+ path?: unknown;
426
+ }, {
427
+ method?: unknown;
428
+ path?: unknown;
429
+ }>, "many">>;
430
+ } & {
431
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ fields?: string[] | undefined;
434
+ apiRequests?: {
435
+ method?: unknown;
436
+ path?: unknown;
437
+ }[] | undefined;
438
+ }, {
439
+ fields?: string[] | undefined;
440
+ apiRequests?: {
441
+ method?: unknown;
442
+ path?: unknown;
443
+ }[] | undefined;
444
+ }>>;
445
+ findById: z.ZodOptional<z.ZodObject<{
446
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
447
+ path: z.ZodUnknown;
448
+ method: z.ZodUnknown;
449
+ }, "strip", z.ZodTypeAny, {
450
+ method?: unknown;
451
+ path?: unknown;
452
+ }, {
453
+ method?: unknown;
454
+ path?: unknown;
455
+ }>, "many">>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ apiRequests?: {
458
+ method?: unknown;
459
+ path?: unknown;
460
+ }[] | undefined;
461
+ }, {
462
+ apiRequests?: {
463
+ method?: unknown;
464
+ path?: unknown;
465
+ }[] | undefined;
466
+ }>>;
467
+ create: z.ZodOptional<z.ZodObject<{
468
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
+ path: z.ZodUnknown;
470
+ method: z.ZodUnknown;
471
+ }, "strip", z.ZodTypeAny, {
472
+ method?: unknown;
473
+ path?: unknown;
474
+ }, {
475
+ method?: unknown;
476
+ path?: unknown;
477
+ }>, "many">>;
478
+ } & {
479
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
480
+ requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
481
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ fields?: string[] | undefined;
484
+ apiRequests?: {
485
+ method?: unknown;
486
+ path?: unknown;
487
+ }[] | undefined;
488
+ requiredFields?: string[] | undefined;
489
+ excludedFields?: string[] | undefined;
490
+ }, {
491
+ fields?: string[] | undefined;
492
+ apiRequests?: {
493
+ method?: unknown;
494
+ path?: unknown;
495
+ }[] | undefined;
496
+ requiredFields?: string[] | undefined;
497
+ excludedFields?: string[] | undefined;
498
+ }>>;
499
+ update: z.ZodOptional<z.ZodObject<{
500
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
501
+ path: z.ZodUnknown;
502
+ method: z.ZodUnknown;
503
+ }, "strip", z.ZodTypeAny, {
504
+ method?: unknown;
505
+ path?: unknown;
506
+ }, {
507
+ method?: unknown;
508
+ path?: unknown;
509
+ }>, "many">>;
510
+ } & {
511
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
512
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ fields?: string[] | undefined;
515
+ apiRequests?: {
516
+ method?: unknown;
517
+ path?: unknown;
518
+ }[] | undefined;
519
+ excludedFields?: string[] | undefined;
520
+ }, {
521
+ fields?: string[] | undefined;
522
+ apiRequests?: {
523
+ method?: unknown;
524
+ path?: unknown;
525
+ }[] | undefined;
526
+ excludedFields?: string[] | undefined;
527
+ }>>;
528
+ delete: z.ZodOptional<z.ZodObject<{
529
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
530
+ path: z.ZodUnknown;
531
+ method: z.ZodUnknown;
532
+ }, "strip", z.ZodTypeAny, {
533
+ method?: unknown;
534
+ path?: unknown;
535
+ }, {
536
+ method?: unknown;
537
+ path?: unknown;
538
+ }>, "many">>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ apiRequests?: {
541
+ method?: unknown;
542
+ path?: unknown;
543
+ }[] | undefined;
544
+ }, {
545
+ apiRequests?: {
546
+ method?: unknown;
547
+ path?: unknown;
548
+ }[] | undefined;
549
+ }>>;
550
+ events: z.ZodOptional<z.ZodObject<{
551
+ created: z.ZodOptional<z.ZodObject<{
552
+ type: z.ZodEnum<["push", "pull"]>;
553
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
554
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ type: "push" | "pull";
557
+ isFullScan?: boolean | undefined;
558
+ isIdOnly?: boolean | undefined;
559
+ }, {
560
+ type: "push" | "pull";
561
+ isFullScan?: boolean | undefined;
562
+ isIdOnly?: boolean | undefined;
563
+ }>>;
564
+ updated: z.ZodOptional<z.ZodObject<{
565
+ type: z.ZodEnum<["push", "pull"]>;
566
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
567
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ type: "push" | "pull";
570
+ isFullScan?: boolean | undefined;
571
+ isIdOnly?: boolean | undefined;
572
+ }, {
573
+ type: "push" | "pull";
574
+ isFullScan?: boolean | undefined;
575
+ isIdOnly?: boolean | undefined;
576
+ }>>;
577
+ deleted: z.ZodOptional<z.ZodObject<{
578
+ type: z.ZodEnum<["push", "pull"]>;
579
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
580
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ type: "push" | "pull";
583
+ isFullScan?: boolean | undefined;
584
+ isIdOnly?: boolean | undefined;
585
+ }, {
586
+ type: "push" | "pull";
587
+ isFullScan?: boolean | undefined;
588
+ isIdOnly?: boolean | undefined;
589
+ }>>;
590
+ all: z.ZodOptional<z.ZodObject<{
591
+ type: z.ZodEnum<["push", "pull"]>;
592
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
593
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ type: "push" | "pull";
596
+ isFullScan?: boolean | undefined;
597
+ isIdOnly?: boolean | undefined;
598
+ }, {
599
+ type: "push" | "pull";
600
+ isFullScan?: boolean | undefined;
601
+ isIdOnly?: boolean | undefined;
602
+ }>>;
603
+ }, "strip", z.ZodObject<{
604
+ type: z.ZodEnum<["push", "pull"]>;
605
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
606
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ type: "push" | "pull";
609
+ isFullScan?: boolean | undefined;
610
+ isIdOnly?: boolean | undefined;
611
+ }, {
612
+ type: "push" | "pull";
613
+ isFullScan?: boolean | undefined;
614
+ isIdOnly?: boolean | undefined;
615
+ }>, z.objectOutputType<{
616
+ created: z.ZodOptional<z.ZodObject<{
617
+ type: z.ZodEnum<["push", "pull"]>;
618
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
619
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
620
+ }, "strip", z.ZodTypeAny, {
621
+ type: "push" | "pull";
622
+ isFullScan?: boolean | undefined;
623
+ isIdOnly?: boolean | undefined;
624
+ }, {
625
+ type: "push" | "pull";
626
+ isFullScan?: boolean | undefined;
627
+ isIdOnly?: boolean | undefined;
628
+ }>>;
629
+ updated: z.ZodOptional<z.ZodObject<{
630
+ type: z.ZodEnum<["push", "pull"]>;
631
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
632
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ type: "push" | "pull";
635
+ isFullScan?: boolean | undefined;
636
+ isIdOnly?: boolean | undefined;
637
+ }, {
638
+ type: "push" | "pull";
639
+ isFullScan?: boolean | undefined;
640
+ isIdOnly?: boolean | undefined;
641
+ }>>;
642
+ deleted: z.ZodOptional<z.ZodObject<{
643
+ type: z.ZodEnum<["push", "pull"]>;
644
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
645
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ type: "push" | "pull";
648
+ isFullScan?: boolean | undefined;
649
+ isIdOnly?: boolean | undefined;
650
+ }, {
651
+ type: "push" | "pull";
652
+ isFullScan?: boolean | undefined;
653
+ isIdOnly?: boolean | undefined;
654
+ }>>;
655
+ all: z.ZodOptional<z.ZodObject<{
656
+ type: z.ZodEnum<["push", "pull"]>;
657
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
658
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ type: "push" | "pull";
661
+ isFullScan?: boolean | undefined;
662
+ isIdOnly?: boolean | undefined;
663
+ }, {
664
+ type: "push" | "pull";
665
+ isFullScan?: boolean | undefined;
666
+ isIdOnly?: boolean | undefined;
667
+ }>>;
668
+ }, z.ZodObject<{
669
+ type: z.ZodEnum<["push", "pull"]>;
670
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
671
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
672
+ }, "strip", z.ZodTypeAny, {
673
+ type: "push" | "pull";
674
+ isFullScan?: boolean | undefined;
675
+ isIdOnly?: boolean | undefined;
676
+ }, {
677
+ type: "push" | "pull";
678
+ isFullScan?: boolean | undefined;
679
+ isIdOnly?: boolean | undefined;
680
+ }>, "strip">, z.objectInputType<{
681
+ created: z.ZodOptional<z.ZodObject<{
682
+ type: z.ZodEnum<["push", "pull"]>;
683
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
684
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ type: "push" | "pull";
687
+ isFullScan?: boolean | undefined;
688
+ isIdOnly?: boolean | undefined;
689
+ }, {
690
+ type: "push" | "pull";
691
+ isFullScan?: boolean | undefined;
692
+ isIdOnly?: boolean | undefined;
693
+ }>>;
694
+ updated: z.ZodOptional<z.ZodObject<{
695
+ type: z.ZodEnum<["push", "pull"]>;
696
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
697
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ type: "push" | "pull";
700
+ isFullScan?: boolean | undefined;
701
+ isIdOnly?: boolean | undefined;
702
+ }, {
703
+ type: "push" | "pull";
704
+ isFullScan?: boolean | undefined;
705
+ isIdOnly?: boolean | undefined;
706
+ }>>;
707
+ deleted: z.ZodOptional<z.ZodObject<{
708
+ type: z.ZodEnum<["push", "pull"]>;
709
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
710
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ type: "push" | "pull";
713
+ isFullScan?: boolean | undefined;
714
+ isIdOnly?: boolean | undefined;
715
+ }, {
716
+ type: "push" | "pull";
717
+ isFullScan?: boolean | undefined;
718
+ isIdOnly?: boolean | undefined;
719
+ }>>;
720
+ all: z.ZodOptional<z.ZodObject<{
721
+ type: z.ZodEnum<["push", "pull"]>;
722
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
723
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
724
+ }, "strip", z.ZodTypeAny, {
725
+ type: "push" | "pull";
726
+ isFullScan?: boolean | undefined;
727
+ isIdOnly?: boolean | undefined;
728
+ }, {
729
+ type: "push" | "pull";
730
+ isFullScan?: boolean | undefined;
731
+ isIdOnly?: boolean | undefined;
732
+ }>>;
733
+ }, z.ZodObject<{
734
+ type: z.ZodEnum<["push", "pull"]>;
735
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
736
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ type: "push" | "pull";
739
+ isFullScan?: boolean | undefined;
740
+ isIdOnly?: boolean | undefined;
741
+ }, {
742
+ type: "push" | "pull";
743
+ isFullScan?: boolean | undefined;
744
+ isIdOnly?: boolean | undefined;
745
+ }>, "strip">>>;
746
+ customFields: z.ZodOptional<z.ZodBoolean>;
747
+ udm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
748
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
749
+ extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
750
+ parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ fields?: string[] | undefined;
753
+ extract?: Record<string, any> | undefined;
754
+ parse?: Record<string, any> | undefined;
755
+ }, {
756
+ fields?: string[] | undefined;
757
+ extract?: Record<string, any> | undefined;
758
+ parse?: Record<string, any> | undefined;
759
+ }>>>;
760
+ find: z.ZodOptional<z.ZodObject<{
761
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
762
+ path: z.ZodUnknown;
763
+ method: z.ZodUnknown;
764
+ }, "strip", z.ZodTypeAny, {
765
+ method?: unknown;
766
+ path?: unknown;
767
+ }, {
768
+ method?: unknown;
769
+ path?: unknown;
770
+ }>, "many">>;
771
+ } & {
772
+ queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ apiRequests?: {
775
+ method?: unknown;
776
+ path?: unknown;
777
+ }[] | undefined;
778
+ queryFields?: string[] | undefined;
779
+ }, {
780
+ apiRequests?: {
781
+ method?: unknown;
782
+ path?: unknown;
783
+ }[] | undefined;
784
+ queryFields?: string[] | undefined;
785
+ }>>;
786
+ }, "strip", z.ZodTypeAny, {
787
+ type: "collection";
788
+ name: string;
789
+ key?: string | undefined;
790
+ match?: {
791
+ fields?: string[] | undefined;
792
+ apiRequests?: {
793
+ method?: unknown;
794
+ path?: unknown;
795
+ }[] | undefined;
796
+ } | undefined;
797
+ search?: {
798
+ apiRequests?: {
799
+ method?: unknown;
800
+ path?: unknown;
801
+ }[] | undefined;
802
+ } | undefined;
803
+ find?: {
804
+ apiRequests?: {
805
+ method?: unknown;
806
+ path?: unknown;
807
+ }[] | undefined;
808
+ queryFields?: string[] | undefined;
809
+ } | undefined;
810
+ delete?: {
811
+ apiRequests?: {
812
+ method?: unknown;
813
+ path?: unknown;
814
+ }[] | undefined;
815
+ } | undefined;
816
+ list?: {
817
+ apiRequests?: {
818
+ method?: unknown;
819
+ path?: unknown;
820
+ }[] | undefined;
821
+ filterFields?: string[] | undefined;
822
+ } | undefined;
823
+ create?: {
824
+ fields?: string[] | undefined;
825
+ apiRequests?: {
826
+ method?: unknown;
827
+ path?: unknown;
828
+ }[] | undefined;
829
+ requiredFields?: string[] | undefined;
830
+ excludedFields?: string[] | undefined;
831
+ } | undefined;
832
+ udm?: Record<string, {
833
+ fields?: string[] | undefined;
834
+ extract?: Record<string, any> | undefined;
835
+ parse?: Record<string, any> | undefined;
836
+ }> | undefined;
837
+ events?: z.objectOutputType<{
838
+ created: z.ZodOptional<z.ZodObject<{
839
+ type: z.ZodEnum<["push", "pull"]>;
840
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
841
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ type: "push" | "pull";
844
+ isFullScan?: boolean | undefined;
845
+ isIdOnly?: boolean | undefined;
846
+ }, {
847
+ type: "push" | "pull";
848
+ isFullScan?: boolean | undefined;
849
+ isIdOnly?: boolean | undefined;
850
+ }>>;
851
+ updated: z.ZodOptional<z.ZodObject<{
852
+ type: z.ZodEnum<["push", "pull"]>;
853
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
854
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
855
+ }, "strip", z.ZodTypeAny, {
856
+ type: "push" | "pull";
857
+ isFullScan?: boolean | undefined;
858
+ isIdOnly?: boolean | undefined;
859
+ }, {
860
+ type: "push" | "pull";
861
+ isFullScan?: boolean | undefined;
862
+ isIdOnly?: boolean | undefined;
863
+ }>>;
864
+ deleted: z.ZodOptional<z.ZodObject<{
865
+ type: z.ZodEnum<["push", "pull"]>;
866
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
867
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
868
+ }, "strip", z.ZodTypeAny, {
869
+ type: "push" | "pull";
870
+ isFullScan?: boolean | undefined;
871
+ isIdOnly?: boolean | undefined;
872
+ }, {
873
+ type: "push" | "pull";
874
+ isFullScan?: boolean | undefined;
875
+ isIdOnly?: boolean | undefined;
876
+ }>>;
877
+ all: z.ZodOptional<z.ZodObject<{
878
+ type: z.ZodEnum<["push", "pull"]>;
879
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
880
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
881
+ }, "strip", z.ZodTypeAny, {
882
+ type: "push" | "pull";
883
+ isFullScan?: boolean | undefined;
884
+ isIdOnly?: boolean | undefined;
885
+ }, {
886
+ type: "push" | "pull";
887
+ isFullScan?: boolean | undefined;
888
+ isIdOnly?: boolean | undefined;
889
+ }>>;
890
+ }, z.ZodObject<{
891
+ type: z.ZodEnum<["push", "pull"]>;
892
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
893
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
894
+ }, "strip", z.ZodTypeAny, {
895
+ type: "push" | "pull";
896
+ isFullScan?: boolean | undefined;
897
+ isIdOnly?: boolean | undefined;
898
+ }, {
899
+ type: "push" | "pull";
900
+ isFullScan?: boolean | undefined;
901
+ isIdOnly?: boolean | undefined;
902
+ }>, "strip"> | undefined;
903
+ parametersSchema?: import("../..").DataSchema | undefined;
904
+ fieldsSchema?: import("../..").DataSchema | undefined;
905
+ findById?: {
906
+ apiRequests?: {
907
+ method?: unknown;
908
+ path?: unknown;
909
+ }[] | undefined;
910
+ } | undefined;
911
+ update?: {
912
+ fields?: string[] | undefined;
913
+ apiRequests?: {
914
+ method?: unknown;
915
+ path?: unknown;
916
+ }[] | undefined;
917
+ excludedFields?: string[] | undefined;
918
+ } | undefined;
919
+ customFields?: boolean | undefined;
920
+ }, {
921
+ type: "collection";
922
+ name: string;
923
+ key?: string | undefined;
924
+ match?: {
925
+ fields?: string[] | undefined;
926
+ apiRequests?: {
927
+ method?: unknown;
928
+ path?: unknown;
929
+ }[] | undefined;
930
+ } | undefined;
931
+ search?: {
932
+ apiRequests?: {
933
+ method?: unknown;
934
+ path?: unknown;
935
+ }[] | undefined;
936
+ } | undefined;
937
+ find?: {
938
+ apiRequests?: {
939
+ method?: unknown;
940
+ path?: unknown;
941
+ }[] | undefined;
942
+ queryFields?: string[] | undefined;
943
+ } | undefined;
944
+ delete?: {
945
+ apiRequests?: {
946
+ method?: unknown;
947
+ path?: unknown;
948
+ }[] | undefined;
949
+ } | undefined;
950
+ list?: {
951
+ apiRequests?: {
952
+ method?: unknown;
953
+ path?: unknown;
954
+ }[] | undefined;
955
+ filterFields?: string[] | undefined;
956
+ } | undefined;
957
+ create?: {
958
+ fields?: string[] | undefined;
959
+ apiRequests?: {
960
+ method?: unknown;
961
+ path?: unknown;
962
+ }[] | undefined;
963
+ requiredFields?: string[] | undefined;
964
+ excludedFields?: string[] | undefined;
965
+ } | undefined;
966
+ udm?: Record<string, {
967
+ fields?: string[] | undefined;
968
+ extract?: Record<string, any> | undefined;
969
+ parse?: Record<string, any> | undefined;
970
+ }> | undefined;
971
+ events?: z.objectInputType<{
972
+ created: z.ZodOptional<z.ZodObject<{
973
+ type: z.ZodEnum<["push", "pull"]>;
974
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
975
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
976
+ }, "strip", z.ZodTypeAny, {
977
+ type: "push" | "pull";
978
+ isFullScan?: boolean | undefined;
979
+ isIdOnly?: boolean | undefined;
980
+ }, {
981
+ type: "push" | "pull";
982
+ isFullScan?: boolean | undefined;
983
+ isIdOnly?: boolean | undefined;
984
+ }>>;
985
+ updated: z.ZodOptional<z.ZodObject<{
986
+ type: z.ZodEnum<["push", "pull"]>;
987
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
988
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
989
+ }, "strip", z.ZodTypeAny, {
990
+ type: "push" | "pull";
991
+ isFullScan?: boolean | undefined;
992
+ isIdOnly?: boolean | undefined;
993
+ }, {
994
+ type: "push" | "pull";
995
+ isFullScan?: boolean | undefined;
996
+ isIdOnly?: boolean | undefined;
997
+ }>>;
998
+ deleted: z.ZodOptional<z.ZodObject<{
999
+ type: z.ZodEnum<["push", "pull"]>;
1000
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1001
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ type: "push" | "pull";
1004
+ isFullScan?: boolean | undefined;
1005
+ isIdOnly?: boolean | undefined;
1006
+ }, {
1007
+ type: "push" | "pull";
1008
+ isFullScan?: boolean | undefined;
1009
+ isIdOnly?: boolean | undefined;
1010
+ }>>;
1011
+ all: z.ZodOptional<z.ZodObject<{
1012
+ type: z.ZodEnum<["push", "pull"]>;
1013
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1014
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ type: "push" | "pull";
1017
+ isFullScan?: boolean | undefined;
1018
+ isIdOnly?: boolean | undefined;
1019
+ }, {
1020
+ type: "push" | "pull";
1021
+ isFullScan?: boolean | undefined;
1022
+ isIdOnly?: boolean | undefined;
1023
+ }>>;
1024
+ }, z.ZodObject<{
1025
+ type: z.ZodEnum<["push", "pull"]>;
1026
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1027
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ type: "push" | "pull";
1030
+ isFullScan?: boolean | undefined;
1031
+ isIdOnly?: boolean | undefined;
1032
+ }, {
1033
+ type: "push" | "pull";
1034
+ isFullScan?: boolean | undefined;
1035
+ isIdOnly?: boolean | undefined;
1036
+ }>, "strip"> | undefined;
1037
+ parametersSchema?: import("../..").DataSchema | undefined;
1038
+ fieldsSchema?: import("../..").DataSchema | undefined;
1039
+ findById?: {
1040
+ apiRequests?: {
1041
+ method?: unknown;
1042
+ path?: unknown;
1043
+ }[] | undefined;
1044
+ } | undefined;
1045
+ update?: {
1046
+ fields?: string[] | undefined;
1047
+ apiRequests?: {
1048
+ method?: unknown;
1049
+ path?: unknown;
1050
+ }[] | undefined;
1051
+ excludedFields?: string[] | undefined;
1052
+ } | undefined;
1053
+ customFields?: boolean | undefined;
1054
+ }>>;
1055
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1056
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1057
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1058
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1059
+ path: z.ZodOptional<z.ZodString>;
1060
+ defaultPath: z.ZodOptional<z.ZodString>;
1061
+ } & {
1062
+ user: z.ZodOptional<z.ZodObject<{
1063
+ id: z.ZodString;
1064
+ name: z.ZodString;
1065
+ internalId: z.ZodString;
1066
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1067
+ credentials: z.ZodOptional<z.ZodAny>;
1068
+ lastActiveAt: z.ZodOptional<z.ZodString>;
1069
+ isTest: z.ZodOptional<z.ZodBoolean>;
1070
+ isBillable: z.ZodOptional<z.ZodBoolean>;
1071
+ createdAt: z.ZodOptional<z.ZodString>;
1072
+ archivedAt: z.ZodOptional<z.ZodString>;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ id: string;
1075
+ name: string;
1076
+ internalId: string;
1077
+ createdAt?: string | undefined;
1078
+ archivedAt?: string | undefined;
1079
+ credentials?: any;
1080
+ fields?: Record<string, any> | undefined;
1081
+ isTest?: boolean | undefined;
1082
+ lastActiveAt?: string | undefined;
1083
+ isBillable?: boolean | undefined;
1084
+ }, {
1085
+ id: string;
1086
+ name: string;
1087
+ internalId: string;
1088
+ createdAt?: string | undefined;
1089
+ archivedAt?: string | undefined;
1090
+ credentials?: any;
1091
+ fields?: Record<string, any> | undefined;
1092
+ isTest?: boolean | undefined;
1093
+ lastActiveAt?: string | undefined;
1094
+ isBillable?: boolean | undefined;
1095
+ }>>;
1096
+ dataSource: z.ZodOptional<z.ZodObject<{
1097
+ id: z.ZodString;
1098
+ name: z.ZodString;
1099
+ key: z.ZodOptional<z.ZodString>;
1100
+ uuid: z.ZodOptional<z.ZodString>;
1101
+ description: z.ZodOptional<z.ZodString>;
1102
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1103
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1104
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1105
+ } & {
1106
+ revision: z.ZodString;
1107
+ publishedRevision: z.ZodOptional<z.ZodString>;
1108
+ integrationId: z.ZodOptional<z.ZodString>;
1109
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
1110
+ universalDataSourceRevision: z.ZodOptional<z.ZodString>;
1111
+ udm: z.ZodOptional<z.ZodString>;
1112
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1113
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1114
+ collectionKey: z.ZodOptional<z.ZodString>;
1115
+ collectionParameters: z.ZodOptional<z.ZodAny>;
1116
+ archivedAt: z.ZodOptional<z.ZodString>;
1117
+ createdAt: z.ZodOptional<z.ZodString>;
1118
+ updatedAt: z.ZodOptional<z.ZodString>;
1119
+ customized: z.ZodOptional<z.ZodBoolean>;
1120
+ defaultPath: z.ZodOptional<z.ZodString>;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ id: string;
1123
+ name: string;
1124
+ revision: string;
1125
+ key?: string | undefined;
1126
+ uuid?: string | undefined;
1127
+ description?: string | undefined;
1128
+ state?: import("..").WorkspaceElementState | undefined;
1129
+ errors?: any[] | undefined;
1130
+ isDeactivated?: boolean | undefined;
1131
+ createdAt?: string | undefined;
1132
+ updatedAt?: string | undefined;
1133
+ archivedAt?: string | undefined;
1134
+ integrationId?: string | undefined;
1135
+ udm?: string | undefined;
1136
+ publishedRevision?: string | undefined;
1137
+ customized?: boolean | undefined;
1138
+ universalDataSourceId?: string | undefined;
1139
+ collectionKey?: string | undefined;
1140
+ collectionParameters?: any;
1141
+ pullUpdatesIntervalSeconds?: number | undefined;
1142
+ fullSyncIntervalSeconds?: number | undefined;
1143
+ defaultPath?: string | undefined;
1144
+ universalDataSourceRevision?: string | undefined;
1145
+ }, {
1146
+ id: string;
1147
+ name: string;
1148
+ revision: string;
1149
+ key?: string | undefined;
1150
+ uuid?: string | undefined;
1151
+ description?: string | undefined;
1152
+ state?: import("..").WorkspaceElementState | undefined;
1153
+ errors?: any[] | undefined;
1154
+ isDeactivated?: boolean | undefined;
1155
+ createdAt?: string | undefined;
1156
+ updatedAt?: string | undefined;
1157
+ archivedAt?: string | undefined;
1158
+ integrationId?: string | undefined;
1159
+ udm?: string | undefined;
1160
+ publishedRevision?: string | undefined;
1161
+ customized?: boolean | undefined;
1162
+ universalDataSourceId?: string | undefined;
1163
+ collectionKey?: string | undefined;
1164
+ collectionParameters?: any;
1165
+ pullUpdatesIntervalSeconds?: number | undefined;
1166
+ fullSyncIntervalSeconds?: number | undefined;
1167
+ defaultPath?: string | undefined;
1168
+ universalDataSourceRevision?: string | undefined;
1169
+ }>>;
1170
+ connection: z.ZodOptional<z.ZodObject<{
1171
+ id: z.ZodString;
1172
+ } & {
1173
+ name: z.ZodString;
1174
+ userId: z.ZodString;
1175
+ isTest: z.ZodOptional<z.ZodBoolean>;
1176
+ disconnected: z.ZodOptional<z.ZodBoolean>;
1177
+ isDefunct: z.ZodOptional<z.ZodBoolean>;
1178
+ error: any;
1179
+ integrationId: z.ZodString;
1180
+ authOptionKey: z.ZodOptional<z.ZodString>;
1181
+ createdAt: z.ZodString;
1182
+ updatedAt: z.ZodString;
1183
+ lastActiveAt: z.ZodOptional<z.ZodString>;
1184
+ nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
1185
+ archivedAt: z.ZodOptional<z.ZodString>;
1186
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1187
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1188
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1189
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ id: string;
1192
+ name: string;
1193
+ createdAt: string;
1194
+ updatedAt: string;
1195
+ userId: string;
1196
+ integrationId: string;
1197
+ error?: any;
1198
+ state?: import("..").WorkspaceElementState | undefined;
1199
+ errors?: any[] | undefined;
1200
+ isDeactivated?: boolean | undefined;
1201
+ archivedAt?: string | undefined;
1202
+ authOptionKey?: string | undefined;
1203
+ isTest?: boolean | undefined;
1204
+ disconnected?: boolean | undefined;
1205
+ isDefunct?: boolean | undefined;
1206
+ lastActiveAt?: string | undefined;
1207
+ nextCredentialsRefreshAt?: string | undefined;
1208
+ meta?: Record<string, any> | undefined;
1209
+ }, {
1210
+ id: string;
1211
+ name: string;
1212
+ createdAt: string;
1213
+ updatedAt: string;
1214
+ userId: string;
1215
+ integrationId: string;
1216
+ error?: any;
1217
+ state?: import("..").WorkspaceElementState | undefined;
1218
+ errors?: any[] | undefined;
1219
+ isDeactivated?: boolean | undefined;
1220
+ archivedAt?: string | undefined;
1221
+ authOptionKey?: string | undefined;
1222
+ isTest?: boolean | undefined;
1223
+ disconnected?: boolean | undefined;
1224
+ isDefunct?: boolean | undefined;
1225
+ lastActiveAt?: string | undefined;
1226
+ nextCredentialsRefreshAt?: string | undefined;
1227
+ meta?: Record<string, any> | undefined;
1228
+ }>>;
1229
+ integration: z.ZodOptional<z.ZodObject<{
1230
+ id: z.ZodString;
1231
+ name: z.ZodString;
1232
+ key: z.ZodOptional<z.ZodString>;
1233
+ uuid: z.ZodOptional<z.ZodString>;
1234
+ description: z.ZodOptional<z.ZodString>;
1235
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1236
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1237
+ revision: z.ZodOptional<z.ZodString>;
1238
+ createdAt: z.ZodOptional<z.ZodString>;
1239
+ updatedAt: z.ZodOptional<z.ZodString>;
1240
+ } & {
1241
+ logoUri: z.ZodString;
1242
+ connectorId: z.ZodOptional<z.ZodString>;
1243
+ connectorVersion: z.ZodOptional<z.ZodString>;
1244
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1245
+ parameters: z.ZodOptional<z.ZodAny>;
1246
+ archivedAt: z.ZodOptional<z.ZodString>;
1247
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1248
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1249
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
1250
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1251
+ hasData: z.ZodOptional<z.ZodBoolean>;
1252
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1253
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
1254
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1255
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1256
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
1257
+ isTest: z.ZodOptional<z.ZodBoolean>;
1258
+ appUuid: z.ZodOptional<z.ZodString>;
1259
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1260
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ id: string;
1263
+ name: string;
1264
+ logoUri: string;
1265
+ key?: string | undefined;
1266
+ uuid?: string | undefined;
1267
+ description?: string | undefined;
1268
+ state?: import("..").WorkspaceElementState | undefined;
1269
+ errors?: any[] | undefined;
1270
+ revision?: string | undefined;
1271
+ isDeactivated?: boolean | undefined;
1272
+ createdAt?: string | undefined;
1273
+ updatedAt?: string | undefined;
1274
+ archivedAt?: string | undefined;
1275
+ parameters?: any;
1276
+ isTest?: boolean | undefined;
1277
+ connectorId?: string | undefined;
1278
+ connectorVersion?: string | undefined;
1279
+ oAuthCallbackUri?: string | undefined;
1280
+ hasMissingParameters?: boolean | undefined;
1281
+ hasDocumentation?: boolean | undefined;
1282
+ hasOperations?: boolean | undefined;
1283
+ operationsCount?: number | undefined;
1284
+ hasData?: boolean | undefined;
1285
+ dataCollectionsCount?: number | undefined;
1286
+ hasEvents?: boolean | undefined;
1287
+ eventsCount?: number | undefined;
1288
+ hasGlobalWebhooks?: boolean | undefined;
1289
+ hasUdm?: boolean | undefined;
1290
+ appUuid?: string | undefined;
1291
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1292
+ }, {
1293
+ id: string;
1294
+ name: string;
1295
+ logoUri: string;
1296
+ key?: string | undefined;
1297
+ uuid?: string | undefined;
1298
+ description?: string | undefined;
1299
+ state?: import("..").WorkspaceElementState | undefined;
1300
+ errors?: any[] | undefined;
1301
+ revision?: string | undefined;
1302
+ isDeactivated?: boolean | undefined;
1303
+ createdAt?: string | undefined;
1304
+ updatedAt?: string | undefined;
1305
+ archivedAt?: string | undefined;
1306
+ parameters?: any;
1307
+ isTest?: boolean | undefined;
1308
+ connectorId?: string | undefined;
1309
+ connectorVersion?: string | undefined;
1310
+ oAuthCallbackUri?: string | undefined;
1311
+ hasMissingParameters?: boolean | undefined;
1312
+ hasDocumentation?: boolean | undefined;
1313
+ hasOperations?: boolean | undefined;
1314
+ operationsCount?: number | undefined;
1315
+ hasData?: boolean | undefined;
1316
+ dataCollectionsCount?: number | undefined;
1317
+ hasEvents?: boolean | undefined;
1318
+ eventsCount?: number | undefined;
1319
+ hasGlobalWebhooks?: boolean | undefined;
1320
+ hasUdm?: boolean | undefined;
1321
+ appUuid?: string | undefined;
1322
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1323
+ }>>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ id: string;
1326
+ name: string;
1327
+ revision: string;
1328
+ userId: string;
1329
+ connectionId: string;
1330
+ integrationId: string;
1331
+ key?: string | undefined;
1332
+ connection?: {
1333
+ id: string;
1334
+ name: string;
1335
+ createdAt: string;
1336
+ updatedAt: string;
1337
+ userId: string;
1338
+ integrationId: string;
1339
+ error?: any;
1340
+ state?: import("..").WorkspaceElementState | undefined;
1341
+ errors?: any[] | undefined;
1342
+ isDeactivated?: boolean | undefined;
1343
+ archivedAt?: string | undefined;
1344
+ authOptionKey?: string | undefined;
1345
+ isTest?: boolean | undefined;
1346
+ disconnected?: boolean | undefined;
1347
+ isDefunct?: boolean | undefined;
1348
+ lastActiveAt?: string | undefined;
1349
+ nextCredentialsRefreshAt?: string | undefined;
1350
+ meta?: Record<string, any> | undefined;
1351
+ } | undefined;
1352
+ path?: string | undefined;
1353
+ integration?: {
1354
+ id: string;
1355
+ name: string;
1356
+ logoUri: string;
1357
+ key?: string | undefined;
1358
+ uuid?: string | undefined;
1359
+ description?: string | undefined;
1360
+ state?: import("..").WorkspaceElementState | undefined;
1361
+ errors?: any[] | undefined;
1362
+ revision?: string | undefined;
1363
+ isDeactivated?: boolean | undefined;
1364
+ createdAt?: string | undefined;
1365
+ updatedAt?: string | undefined;
1366
+ archivedAt?: string | undefined;
1367
+ parameters?: any;
1368
+ isTest?: boolean | undefined;
1369
+ connectorId?: string | undefined;
1370
+ connectorVersion?: string | undefined;
1371
+ oAuthCallbackUri?: string | undefined;
1372
+ hasMissingParameters?: boolean | undefined;
1373
+ hasDocumentation?: boolean | undefined;
1374
+ hasOperations?: boolean | undefined;
1375
+ operationsCount?: number | undefined;
1376
+ hasData?: boolean | undefined;
1377
+ dataCollectionsCount?: number | undefined;
1378
+ hasEvents?: boolean | undefined;
1379
+ eventsCount?: number | undefined;
1380
+ hasGlobalWebhooks?: boolean | undefined;
1381
+ hasUdm?: boolean | undefined;
1382
+ appUuid?: string | undefined;
1383
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1384
+ } | undefined;
1385
+ uuid?: string | undefined;
1386
+ description?: string | undefined;
1387
+ state?: import("..").WorkspaceElementState | undefined;
1388
+ errors?: any[] | undefined;
1389
+ isDeactivated?: boolean | undefined;
1390
+ createdAt?: string | undefined;
1391
+ updatedAt?: string | undefined;
1392
+ archivedAt?: string | undefined;
1393
+ instanceKey?: string | undefined;
1394
+ udm?: string | undefined;
1395
+ collectionSpec?: {
1396
+ type: "collection";
1397
+ name: string;
1398
+ key?: string | undefined;
1399
+ match?: {
1400
+ fields?: string[] | undefined;
1401
+ apiRequests?: {
1402
+ method?: unknown;
1403
+ path?: unknown;
1404
+ }[] | undefined;
1405
+ } | undefined;
1406
+ search?: {
1407
+ apiRequests?: {
1408
+ method?: unknown;
1409
+ path?: unknown;
1410
+ }[] | undefined;
1411
+ } | undefined;
1412
+ find?: {
1413
+ apiRequests?: {
1414
+ method?: unknown;
1415
+ path?: unknown;
1416
+ }[] | undefined;
1417
+ queryFields?: string[] | undefined;
1418
+ } | undefined;
1419
+ delete?: {
1420
+ apiRequests?: {
1421
+ method?: unknown;
1422
+ path?: unknown;
1423
+ }[] | undefined;
1424
+ } | undefined;
1425
+ list?: {
1426
+ apiRequests?: {
1427
+ method?: unknown;
1428
+ path?: unknown;
1429
+ }[] | undefined;
1430
+ filterFields?: string[] | undefined;
1431
+ } | undefined;
1432
+ create?: {
1433
+ fields?: string[] | undefined;
1434
+ apiRequests?: {
1435
+ method?: unknown;
1436
+ path?: unknown;
1437
+ }[] | undefined;
1438
+ requiredFields?: string[] | undefined;
1439
+ excludedFields?: string[] | undefined;
1440
+ } | undefined;
1441
+ udm?: Record<string, {
1442
+ fields?: string[] | undefined;
1443
+ extract?: Record<string, any> | undefined;
1444
+ parse?: Record<string, any> | undefined;
1445
+ }> | undefined;
1446
+ events?: z.objectOutputType<{
1447
+ created: z.ZodOptional<z.ZodObject<{
1448
+ type: z.ZodEnum<["push", "pull"]>;
1449
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1450
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ type: "push" | "pull";
1453
+ isFullScan?: boolean | undefined;
1454
+ isIdOnly?: boolean | undefined;
1455
+ }, {
1456
+ type: "push" | "pull";
1457
+ isFullScan?: boolean | undefined;
1458
+ isIdOnly?: boolean | undefined;
1459
+ }>>;
1460
+ updated: z.ZodOptional<z.ZodObject<{
1461
+ type: z.ZodEnum<["push", "pull"]>;
1462
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1463
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1464
+ }, "strip", z.ZodTypeAny, {
1465
+ type: "push" | "pull";
1466
+ isFullScan?: boolean | undefined;
1467
+ isIdOnly?: boolean | undefined;
1468
+ }, {
1469
+ type: "push" | "pull";
1470
+ isFullScan?: boolean | undefined;
1471
+ isIdOnly?: boolean | undefined;
1472
+ }>>;
1473
+ deleted: z.ZodOptional<z.ZodObject<{
1474
+ type: z.ZodEnum<["push", "pull"]>;
1475
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1476
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ type: "push" | "pull";
1479
+ isFullScan?: boolean | undefined;
1480
+ isIdOnly?: boolean | undefined;
1481
+ }, {
1482
+ type: "push" | "pull";
1483
+ isFullScan?: boolean | undefined;
1484
+ isIdOnly?: boolean | undefined;
1485
+ }>>;
1486
+ all: z.ZodOptional<z.ZodObject<{
1487
+ type: z.ZodEnum<["push", "pull"]>;
1488
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1489
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ type: "push" | "pull";
1492
+ isFullScan?: boolean | undefined;
1493
+ isIdOnly?: boolean | undefined;
1494
+ }, {
1495
+ type: "push" | "pull";
1496
+ isFullScan?: boolean | undefined;
1497
+ isIdOnly?: boolean | undefined;
1498
+ }>>;
1499
+ }, z.ZodObject<{
1500
+ type: z.ZodEnum<["push", "pull"]>;
1501
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1502
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1503
+ }, "strip", z.ZodTypeAny, {
1504
+ type: "push" | "pull";
1505
+ isFullScan?: boolean | undefined;
1506
+ isIdOnly?: boolean | undefined;
1507
+ }, {
1508
+ type: "push" | "pull";
1509
+ isFullScan?: boolean | undefined;
1510
+ isIdOnly?: boolean | undefined;
1511
+ }>, "strip"> | undefined;
1512
+ parametersSchema?: import("../..").DataSchema | undefined;
1513
+ fieldsSchema?: import("../..").DataSchema | undefined;
1514
+ findById?: {
1515
+ apiRequests?: {
1516
+ method?: unknown;
1517
+ path?: unknown;
1518
+ }[] | undefined;
1519
+ } | undefined;
1520
+ update?: {
1521
+ fields?: string[] | undefined;
1522
+ apiRequests?: {
1523
+ method?: unknown;
1524
+ path?: unknown;
1525
+ }[] | undefined;
1526
+ excludedFields?: string[] | undefined;
1527
+ } | undefined;
1528
+ customFields?: boolean | undefined;
1529
+ } | undefined;
1530
+ user?: {
1531
+ id: string;
1532
+ name: string;
1533
+ internalId: string;
1534
+ createdAt?: string | undefined;
1535
+ archivedAt?: string | undefined;
1536
+ credentials?: any;
1537
+ fields?: Record<string, any> | undefined;
1538
+ isTest?: boolean | undefined;
1539
+ lastActiveAt?: string | undefined;
1540
+ isBillable?: boolean | undefined;
1541
+ } | undefined;
1542
+ dataSourceId?: string | undefined;
1543
+ isCustomized?: boolean | undefined;
1544
+ dataSourceRevision?: string | undefined;
1545
+ universalDataSourceId?: string | undefined;
1546
+ collectionKey?: string | undefined;
1547
+ collectionParameters?: any;
1548
+ defaultCollectionKey?: string | undefined;
1549
+ defaultCollectionParameters?: any;
1550
+ pullUpdatesIntervalSeconds?: number | undefined;
1551
+ fullSyncIntervalSeconds?: number | undefined;
1552
+ defaultPath?: string | undefined;
1553
+ dataSource?: {
1554
+ id: string;
1555
+ name: string;
1556
+ revision: string;
1557
+ key?: string | undefined;
1558
+ uuid?: string | undefined;
1559
+ description?: string | undefined;
1560
+ state?: import("..").WorkspaceElementState | undefined;
1561
+ errors?: any[] | undefined;
1562
+ isDeactivated?: boolean | undefined;
1563
+ createdAt?: string | undefined;
1564
+ updatedAt?: string | undefined;
1565
+ archivedAt?: string | undefined;
1566
+ integrationId?: string | undefined;
1567
+ udm?: string | undefined;
1568
+ publishedRevision?: string | undefined;
1569
+ customized?: boolean | undefined;
1570
+ universalDataSourceId?: string | undefined;
1571
+ collectionKey?: string | undefined;
1572
+ collectionParameters?: any;
1573
+ pullUpdatesIntervalSeconds?: number | undefined;
1574
+ fullSyncIntervalSeconds?: number | undefined;
1575
+ defaultPath?: string | undefined;
1576
+ universalDataSourceRevision?: string | undefined;
1577
+ } | undefined;
1578
+ }, {
1579
+ id: string;
1580
+ name: string;
1581
+ revision: string;
1582
+ userId: string;
1583
+ connectionId: string;
1584
+ integrationId: string;
1585
+ key?: string | undefined;
1586
+ connection?: {
1587
+ id: string;
1588
+ name: string;
1589
+ createdAt: string;
1590
+ updatedAt: string;
1591
+ userId: string;
1592
+ integrationId: string;
1593
+ error?: any;
1594
+ state?: import("..").WorkspaceElementState | undefined;
1595
+ errors?: any[] | undefined;
1596
+ isDeactivated?: boolean | undefined;
1597
+ archivedAt?: string | undefined;
1598
+ authOptionKey?: string | undefined;
1599
+ isTest?: boolean | undefined;
1600
+ disconnected?: boolean | undefined;
1601
+ isDefunct?: boolean | undefined;
1602
+ lastActiveAt?: string | undefined;
1603
+ nextCredentialsRefreshAt?: string | undefined;
1604
+ meta?: Record<string, any> | undefined;
1605
+ } | undefined;
1606
+ path?: string | undefined;
1607
+ integration?: {
1608
+ id: string;
1609
+ name: string;
1610
+ logoUri: string;
1611
+ key?: string | undefined;
1612
+ uuid?: string | undefined;
1613
+ description?: string | undefined;
1614
+ state?: import("..").WorkspaceElementState | undefined;
1615
+ errors?: any[] | undefined;
1616
+ revision?: string | undefined;
1617
+ isDeactivated?: boolean | undefined;
1618
+ createdAt?: string | undefined;
1619
+ updatedAt?: string | undefined;
1620
+ archivedAt?: string | undefined;
1621
+ parameters?: any;
1622
+ isTest?: boolean | undefined;
1623
+ connectorId?: string | undefined;
1624
+ connectorVersion?: string | undefined;
1625
+ oAuthCallbackUri?: string | undefined;
1626
+ hasMissingParameters?: boolean | undefined;
1627
+ hasDocumentation?: boolean | undefined;
1628
+ hasOperations?: boolean | undefined;
1629
+ operationsCount?: number | undefined;
1630
+ hasData?: boolean | undefined;
1631
+ dataCollectionsCount?: number | undefined;
1632
+ hasEvents?: boolean | undefined;
1633
+ eventsCount?: number | undefined;
1634
+ hasGlobalWebhooks?: boolean | undefined;
1635
+ hasUdm?: boolean | undefined;
1636
+ appUuid?: string | undefined;
1637
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1638
+ } | undefined;
1639
+ uuid?: string | undefined;
1640
+ description?: string | undefined;
1641
+ state?: import("..").WorkspaceElementState | undefined;
1642
+ errors?: any[] | undefined;
1643
+ isDeactivated?: boolean | undefined;
1644
+ createdAt?: string | undefined;
1645
+ updatedAt?: string | undefined;
1646
+ archivedAt?: string | undefined;
1647
+ instanceKey?: string | undefined;
1648
+ udm?: string | undefined;
1649
+ collectionSpec?: {
1650
+ type: "collection";
1651
+ name: string;
1652
+ key?: string | undefined;
1653
+ match?: {
1654
+ fields?: string[] | undefined;
1655
+ apiRequests?: {
1656
+ method?: unknown;
1657
+ path?: unknown;
1658
+ }[] | undefined;
1659
+ } | undefined;
1660
+ search?: {
1661
+ apiRequests?: {
1662
+ method?: unknown;
1663
+ path?: unknown;
1664
+ }[] | undefined;
1665
+ } | undefined;
1666
+ find?: {
1667
+ apiRequests?: {
1668
+ method?: unknown;
1669
+ path?: unknown;
1670
+ }[] | undefined;
1671
+ queryFields?: string[] | undefined;
1672
+ } | undefined;
1673
+ delete?: {
1674
+ apiRequests?: {
1675
+ method?: unknown;
1676
+ path?: unknown;
1677
+ }[] | undefined;
1678
+ } | undefined;
1679
+ list?: {
1680
+ apiRequests?: {
1681
+ method?: unknown;
1682
+ path?: unknown;
1683
+ }[] | undefined;
1684
+ filterFields?: string[] | undefined;
1685
+ } | undefined;
1686
+ create?: {
1687
+ fields?: string[] | undefined;
1688
+ apiRequests?: {
1689
+ method?: unknown;
1690
+ path?: unknown;
1691
+ }[] | undefined;
1692
+ requiredFields?: string[] | undefined;
1693
+ excludedFields?: string[] | undefined;
1694
+ } | undefined;
1695
+ udm?: Record<string, {
1696
+ fields?: string[] | undefined;
1697
+ extract?: Record<string, any> | undefined;
1698
+ parse?: Record<string, any> | undefined;
1699
+ }> | undefined;
1700
+ events?: z.objectInputType<{
1701
+ created: z.ZodOptional<z.ZodObject<{
1702
+ type: z.ZodEnum<["push", "pull"]>;
1703
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1704
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1705
+ }, "strip", z.ZodTypeAny, {
1706
+ type: "push" | "pull";
1707
+ isFullScan?: boolean | undefined;
1708
+ isIdOnly?: boolean | undefined;
1709
+ }, {
1710
+ type: "push" | "pull";
1711
+ isFullScan?: boolean | undefined;
1712
+ isIdOnly?: boolean | undefined;
1713
+ }>>;
1714
+ updated: z.ZodOptional<z.ZodObject<{
1715
+ type: z.ZodEnum<["push", "pull"]>;
1716
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1717
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ type: "push" | "pull";
1720
+ isFullScan?: boolean | undefined;
1721
+ isIdOnly?: boolean | undefined;
1722
+ }, {
1723
+ type: "push" | "pull";
1724
+ isFullScan?: boolean | undefined;
1725
+ isIdOnly?: boolean | undefined;
1726
+ }>>;
1727
+ deleted: z.ZodOptional<z.ZodObject<{
1728
+ type: z.ZodEnum<["push", "pull"]>;
1729
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1730
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1731
+ }, "strip", z.ZodTypeAny, {
1732
+ type: "push" | "pull";
1733
+ isFullScan?: boolean | undefined;
1734
+ isIdOnly?: boolean | undefined;
1735
+ }, {
1736
+ type: "push" | "pull";
1737
+ isFullScan?: boolean | undefined;
1738
+ isIdOnly?: boolean | undefined;
1739
+ }>>;
1740
+ all: z.ZodOptional<z.ZodObject<{
1741
+ type: z.ZodEnum<["push", "pull"]>;
1742
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1743
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ type: "push" | "pull";
1746
+ isFullScan?: boolean | undefined;
1747
+ isIdOnly?: boolean | undefined;
1748
+ }, {
1749
+ type: "push" | "pull";
1750
+ isFullScan?: boolean | undefined;
1751
+ isIdOnly?: boolean | undefined;
1752
+ }>>;
1753
+ }, z.ZodObject<{
1754
+ type: z.ZodEnum<["push", "pull"]>;
1755
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1756
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ type: "push" | "pull";
1759
+ isFullScan?: boolean | undefined;
1760
+ isIdOnly?: boolean | undefined;
1761
+ }, {
1762
+ type: "push" | "pull";
1763
+ isFullScan?: boolean | undefined;
1764
+ isIdOnly?: boolean | undefined;
1765
+ }>, "strip"> | undefined;
1766
+ parametersSchema?: import("../..").DataSchema | undefined;
1767
+ fieldsSchema?: import("../..").DataSchema | undefined;
1768
+ findById?: {
1769
+ apiRequests?: {
1770
+ method?: unknown;
1771
+ path?: unknown;
1772
+ }[] | undefined;
1773
+ } | undefined;
1774
+ update?: {
1775
+ fields?: string[] | undefined;
1776
+ apiRequests?: {
1777
+ method?: unknown;
1778
+ path?: unknown;
1779
+ }[] | undefined;
1780
+ excludedFields?: string[] | undefined;
1781
+ } | undefined;
1782
+ customFields?: boolean | undefined;
1783
+ } | undefined;
1784
+ user?: {
1785
+ id: string;
1786
+ name: string;
1787
+ internalId: string;
1788
+ createdAt?: string | undefined;
1789
+ archivedAt?: string | undefined;
1790
+ credentials?: any;
1791
+ fields?: Record<string, any> | undefined;
1792
+ isTest?: boolean | undefined;
1793
+ lastActiveAt?: string | undefined;
1794
+ isBillable?: boolean | undefined;
1795
+ } | undefined;
1796
+ dataSourceId?: string | undefined;
1797
+ isCustomized?: boolean | undefined;
1798
+ dataSourceRevision?: string | undefined;
1799
+ universalDataSourceId?: string | undefined;
1800
+ collectionKey?: string | undefined;
1801
+ collectionParameters?: any;
1802
+ defaultCollectionKey?: string | undefined;
1803
+ defaultCollectionParameters?: any;
1804
+ pullUpdatesIntervalSeconds?: number | undefined;
1805
+ fullSyncIntervalSeconds?: number | undefined;
1806
+ defaultPath?: string | undefined;
1807
+ dataSource?: {
1808
+ id: string;
1809
+ name: string;
1810
+ revision: string;
1811
+ key?: string | undefined;
1812
+ uuid?: string | undefined;
1813
+ description?: string | undefined;
1814
+ state?: import("..").WorkspaceElementState | undefined;
1815
+ errors?: any[] | undefined;
1816
+ isDeactivated?: boolean | undefined;
1817
+ createdAt?: string | undefined;
1818
+ updatedAt?: string | undefined;
1819
+ archivedAt?: string | undefined;
1820
+ integrationId?: string | undefined;
1821
+ udm?: string | undefined;
1822
+ publishedRevision?: string | undefined;
1823
+ customized?: boolean | undefined;
1824
+ universalDataSourceId?: string | undefined;
1825
+ collectionKey?: string | undefined;
1826
+ collectionParameters?: any;
1827
+ pullUpdatesIntervalSeconds?: number | undefined;
1828
+ fullSyncIntervalSeconds?: number | undefined;
1829
+ defaultPath?: string | undefined;
1830
+ universalDataSourceRevision?: string | undefined;
1831
+ } | undefined;
1832
+ }>>;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ id: string;
1835
+ name: string;
1836
+ revision: string;
1837
+ userId: string;
1838
+ connectionId: string;
1839
+ integrationId: string;
1840
+ key?: string | undefined;
1841
+ connection?: {
1842
+ id: string;
1843
+ name: string;
1844
+ createdAt: string;
1845
+ updatedAt: string;
1846
+ userId: string;
1847
+ integrationId: string;
1848
+ error?: any;
1849
+ state?: import("..").WorkspaceElementState | undefined;
1850
+ errors?: any[] | undefined;
1851
+ isDeactivated?: boolean | undefined;
1852
+ archivedAt?: string | undefined;
1853
+ authOptionKey?: string | undefined;
1854
+ isTest?: boolean | undefined;
1855
+ disconnected?: boolean | undefined;
1856
+ isDefunct?: boolean | undefined;
1857
+ lastActiveAt?: string | undefined;
1858
+ nextCredentialsRefreshAt?: string | undefined;
1859
+ meta?: Record<string, any> | undefined;
1860
+ } | undefined;
1861
+ error?: any;
1862
+ integration?: {
1863
+ id: string;
1864
+ name: string;
1865
+ logoUri: string;
1866
+ key?: string | undefined;
1867
+ uuid?: string | undefined;
1868
+ description?: string | undefined;
1869
+ state?: import("..").WorkspaceElementState | undefined;
1870
+ errors?: any[] | undefined;
1871
+ revision?: string | undefined;
1872
+ isDeactivated?: boolean | undefined;
1873
+ createdAt?: string | undefined;
1874
+ updatedAt?: string | undefined;
1875
+ archivedAt?: string | undefined;
1876
+ parameters?: any;
1877
+ isTest?: boolean | undefined;
1878
+ connectorId?: string | undefined;
1879
+ connectorVersion?: string | undefined;
1880
+ oAuthCallbackUri?: string | undefined;
1881
+ hasMissingParameters?: boolean | undefined;
1882
+ hasDocumentation?: boolean | undefined;
1883
+ hasOperations?: boolean | undefined;
1884
+ operationsCount?: number | undefined;
1885
+ hasData?: boolean | undefined;
1886
+ dataCollectionsCount?: number | undefined;
1887
+ hasEvents?: boolean | undefined;
1888
+ eventsCount?: number | undefined;
1889
+ hasGlobalWebhooks?: boolean | undefined;
1890
+ hasUdm?: boolean | undefined;
1891
+ appUuid?: string | undefined;
1892
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1893
+ } | undefined;
1894
+ uuid?: string | undefined;
1895
+ description?: string | undefined;
1896
+ state?: import("..").WorkspaceElementState | undefined;
1897
+ errors?: any[] | undefined;
1898
+ isDeactivated?: boolean | undefined;
1899
+ createdAt?: string | undefined;
1900
+ updatedAt?: string | undefined;
1901
+ archivedAt?: string | undefined;
1902
+ instanceKey?: string | undefined;
1903
+ user?: {
1904
+ id: string;
1905
+ name: string;
1906
+ internalId: string;
1907
+ createdAt?: string | undefined;
1908
+ archivedAt?: string | undefined;
1909
+ credentials?: any;
1910
+ fields?: Record<string, any> | undefined;
1911
+ isTest?: boolean | undefined;
1912
+ lastActiveAt?: string | undefined;
1913
+ isBillable?: boolean | undefined;
1914
+ } | 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
+ isCustomized?: boolean | undefined;
1922
+ dataSourceInstanceId?: string | undefined;
1923
+ fieldMappingRevision?: string | undefined;
1924
+ fieldMappingId?: string | undefined;
1925
+ dataSourceSchema?: import("../..").DataSchema | undefined;
1926
+ unifiedExportValue?: any;
1927
+ unifiedImportValue?: any;
1928
+ externalSchema?: any;
1929
+ fieldMapping?: {
1930
+ id: string;
1931
+ name: string;
1932
+ revision: string;
1933
+ dataSourceId: string;
1934
+ dataSourceKey: string;
1935
+ appSchema: import("../..").DataSchema;
1936
+ direction: import("../base/field-mappings").FieldMappingDirection;
1937
+ key?: string | undefined;
1938
+ uuid?: string | undefined;
1939
+ description?: string | undefined;
1940
+ state?: import("..").WorkspaceElementState | undefined;
1941
+ errors?: any[] | undefined;
1942
+ isDeactivated?: boolean | undefined;
1943
+ createdAt?: string | undefined;
1944
+ updatedAt?: string | undefined;
1945
+ archivedAt?: string | undefined;
1946
+ integrationId?: string | undefined;
1947
+ publishedRevision?: string | undefined;
1948
+ universalFieldMappingId?: string | undefined;
1949
+ universalFieldMappingRevision?: string | undefined;
1950
+ defaultImportValue?: any;
1951
+ defaultExportValue?: any;
1952
+ importValue?: any;
1953
+ exportValue?: any;
1954
+ frozenImportFields?: any;
1955
+ frozenExportFields?: any;
1956
+ frozenUnifiedExportFields?: any;
1957
+ customized?: boolean | undefined;
1958
+ } | undefined;
1959
+ dataSourceInstance?: {
1960
+ id: string;
1961
+ name: string;
1962
+ revision: string;
1963
+ userId: string;
1964
+ connectionId: string;
1965
+ integrationId: string;
1966
+ key?: string | undefined;
1967
+ connection?: {
1968
+ id: string;
1969
+ name: string;
1970
+ createdAt: string;
1971
+ updatedAt: string;
1972
+ userId: string;
1973
+ integrationId: string;
1974
+ error?: any;
1975
+ state?: import("..").WorkspaceElementState | undefined;
1976
+ errors?: any[] | undefined;
1977
+ isDeactivated?: boolean | undefined;
1978
+ archivedAt?: string | undefined;
1979
+ authOptionKey?: string | undefined;
1980
+ isTest?: boolean | undefined;
1981
+ disconnected?: boolean | undefined;
1982
+ isDefunct?: boolean | undefined;
1983
+ lastActiveAt?: string | undefined;
1984
+ nextCredentialsRefreshAt?: string | undefined;
1985
+ meta?: Record<string, any> | undefined;
1986
+ } | undefined;
1987
+ path?: string | undefined;
1988
+ integration?: {
1989
+ id: string;
1990
+ name: string;
1991
+ logoUri: string;
1992
+ key?: string | undefined;
1993
+ uuid?: string | undefined;
1994
+ description?: string | undefined;
1995
+ state?: import("..").WorkspaceElementState | undefined;
1996
+ errors?: any[] | undefined;
1997
+ revision?: string | undefined;
1998
+ isDeactivated?: boolean | undefined;
1999
+ createdAt?: string | undefined;
2000
+ updatedAt?: string | undefined;
2001
+ archivedAt?: string | undefined;
2002
+ parameters?: any;
2003
+ isTest?: boolean | undefined;
2004
+ connectorId?: string | undefined;
2005
+ connectorVersion?: string | undefined;
2006
+ oAuthCallbackUri?: string | undefined;
2007
+ hasMissingParameters?: boolean | undefined;
2008
+ hasDocumentation?: boolean | undefined;
2009
+ hasOperations?: boolean | undefined;
2010
+ operationsCount?: number | undefined;
2011
+ hasData?: boolean | undefined;
2012
+ dataCollectionsCount?: number | undefined;
2013
+ hasEvents?: boolean | undefined;
2014
+ eventsCount?: number | undefined;
2015
+ hasGlobalWebhooks?: boolean | undefined;
2016
+ hasUdm?: boolean | undefined;
2017
+ appUuid?: string | undefined;
2018
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2019
+ } | undefined;
2020
+ uuid?: string | undefined;
2021
+ description?: string | undefined;
2022
+ state?: import("..").WorkspaceElementState | undefined;
2023
+ errors?: any[] | undefined;
2024
+ isDeactivated?: boolean | undefined;
2025
+ createdAt?: string | undefined;
2026
+ updatedAt?: string | undefined;
2027
+ archivedAt?: string | undefined;
2028
+ instanceKey?: string | undefined;
2029
+ udm?: string | undefined;
2030
+ collectionSpec?: {
2031
+ type: "collection";
2032
+ name: string;
2033
+ key?: string | undefined;
2034
+ match?: {
2035
+ fields?: string[] | undefined;
2036
+ apiRequests?: {
2037
+ method?: unknown;
2038
+ path?: unknown;
2039
+ }[] | undefined;
2040
+ } | undefined;
2041
+ search?: {
2042
+ apiRequests?: {
2043
+ method?: unknown;
2044
+ path?: unknown;
2045
+ }[] | undefined;
2046
+ } | undefined;
2047
+ find?: {
2048
+ apiRequests?: {
2049
+ method?: unknown;
2050
+ path?: unknown;
2051
+ }[] | undefined;
2052
+ queryFields?: string[] | undefined;
2053
+ } | undefined;
2054
+ delete?: {
2055
+ apiRequests?: {
2056
+ method?: unknown;
2057
+ path?: unknown;
2058
+ }[] | undefined;
2059
+ } | undefined;
2060
+ list?: {
2061
+ apiRequests?: {
2062
+ method?: unknown;
2063
+ path?: unknown;
2064
+ }[] | undefined;
2065
+ filterFields?: string[] | undefined;
2066
+ } | undefined;
2067
+ create?: {
2068
+ fields?: string[] | undefined;
2069
+ apiRequests?: {
2070
+ method?: unknown;
2071
+ path?: unknown;
2072
+ }[] | undefined;
2073
+ requiredFields?: string[] | undefined;
2074
+ excludedFields?: string[] | undefined;
2075
+ } | undefined;
2076
+ udm?: Record<string, {
2077
+ fields?: string[] | undefined;
2078
+ extract?: Record<string, any> | undefined;
2079
+ parse?: Record<string, any> | undefined;
2080
+ }> | undefined;
2081
+ events?: z.objectOutputType<{
2082
+ created: z.ZodOptional<z.ZodObject<{
2083
+ type: z.ZodEnum<["push", "pull"]>;
2084
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2085
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2086
+ }, "strip", z.ZodTypeAny, {
2087
+ type: "push" | "pull";
2088
+ isFullScan?: boolean | undefined;
2089
+ isIdOnly?: boolean | undefined;
2090
+ }, {
2091
+ type: "push" | "pull";
2092
+ isFullScan?: boolean | undefined;
2093
+ isIdOnly?: boolean | undefined;
2094
+ }>>;
2095
+ updated: z.ZodOptional<z.ZodObject<{
2096
+ type: z.ZodEnum<["push", "pull"]>;
2097
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2098
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ type: "push" | "pull";
2101
+ isFullScan?: boolean | undefined;
2102
+ isIdOnly?: boolean | undefined;
2103
+ }, {
2104
+ type: "push" | "pull";
2105
+ isFullScan?: boolean | undefined;
2106
+ isIdOnly?: boolean | undefined;
2107
+ }>>;
2108
+ deleted: z.ZodOptional<z.ZodObject<{
2109
+ type: z.ZodEnum<["push", "pull"]>;
2110
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2111
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2112
+ }, "strip", z.ZodTypeAny, {
2113
+ type: "push" | "pull";
2114
+ isFullScan?: boolean | undefined;
2115
+ isIdOnly?: boolean | undefined;
2116
+ }, {
2117
+ type: "push" | "pull";
2118
+ isFullScan?: boolean | undefined;
2119
+ isIdOnly?: boolean | undefined;
2120
+ }>>;
2121
+ all: z.ZodOptional<z.ZodObject<{
2122
+ type: z.ZodEnum<["push", "pull"]>;
2123
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2124
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2125
+ }, "strip", z.ZodTypeAny, {
2126
+ type: "push" | "pull";
2127
+ isFullScan?: boolean | undefined;
2128
+ isIdOnly?: boolean | undefined;
2129
+ }, {
2130
+ type: "push" | "pull";
2131
+ isFullScan?: boolean | undefined;
2132
+ isIdOnly?: boolean | undefined;
2133
+ }>>;
2134
+ }, z.ZodObject<{
2135
+ type: z.ZodEnum<["push", "pull"]>;
2136
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2137
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2138
+ }, "strip", z.ZodTypeAny, {
2139
+ type: "push" | "pull";
2140
+ isFullScan?: boolean | undefined;
2141
+ isIdOnly?: boolean | undefined;
2142
+ }, {
2143
+ type: "push" | "pull";
2144
+ isFullScan?: boolean | undefined;
2145
+ isIdOnly?: boolean | undefined;
2146
+ }>, "strip"> | undefined;
2147
+ parametersSchema?: import("../..").DataSchema | undefined;
2148
+ fieldsSchema?: import("../..").DataSchema | undefined;
2149
+ findById?: {
2150
+ apiRequests?: {
2151
+ method?: unknown;
2152
+ path?: unknown;
2153
+ }[] | undefined;
2154
+ } | undefined;
2155
+ update?: {
2156
+ fields?: string[] | undefined;
2157
+ apiRequests?: {
2158
+ method?: unknown;
2159
+ path?: unknown;
2160
+ }[] | undefined;
2161
+ excludedFields?: string[] | undefined;
2162
+ } | undefined;
2163
+ customFields?: boolean | undefined;
2164
+ } | undefined;
2165
+ user?: {
2166
+ id: string;
2167
+ name: string;
2168
+ internalId: string;
2169
+ createdAt?: string | undefined;
2170
+ archivedAt?: string | undefined;
2171
+ credentials?: any;
2172
+ fields?: Record<string, any> | undefined;
2173
+ isTest?: boolean | undefined;
2174
+ lastActiveAt?: string | undefined;
2175
+ isBillable?: boolean | undefined;
2176
+ } | undefined;
2177
+ dataSourceId?: string | undefined;
2178
+ isCustomized?: boolean | undefined;
2179
+ dataSourceRevision?: string | undefined;
2180
+ universalDataSourceId?: string | undefined;
2181
+ collectionKey?: string | undefined;
2182
+ collectionParameters?: any;
2183
+ defaultCollectionKey?: string | undefined;
2184
+ defaultCollectionParameters?: any;
2185
+ pullUpdatesIntervalSeconds?: number | undefined;
2186
+ fullSyncIntervalSeconds?: number | undefined;
2187
+ defaultPath?: string | undefined;
2188
+ dataSource?: {
2189
+ id: string;
2190
+ name: string;
2191
+ revision: string;
2192
+ key?: string | undefined;
2193
+ uuid?: string | undefined;
2194
+ description?: string | undefined;
2195
+ state?: import("..").WorkspaceElementState | undefined;
2196
+ errors?: any[] | undefined;
2197
+ isDeactivated?: boolean | undefined;
2198
+ createdAt?: string | undefined;
2199
+ updatedAt?: string | undefined;
2200
+ archivedAt?: string | undefined;
2201
+ integrationId?: string | undefined;
2202
+ udm?: string | undefined;
2203
+ publishedRevision?: string | undefined;
2204
+ customized?: boolean | undefined;
2205
+ universalDataSourceId?: string | undefined;
2206
+ collectionKey?: string | undefined;
2207
+ collectionParameters?: any;
2208
+ pullUpdatesIntervalSeconds?: number | undefined;
2209
+ fullSyncIntervalSeconds?: number | undefined;
2210
+ defaultPath?: string | undefined;
2211
+ universalDataSourceRevision?: string | undefined;
2212
+ } | undefined;
2213
+ } | undefined;
2214
+ }, {
2215
+ id: string;
2216
+ name: string;
2217
+ revision: string;
2218
+ userId: string;
2219
+ connectionId: string;
2220
+ integrationId: string;
2221
+ key?: string | undefined;
2222
+ connection?: {
2223
+ id: string;
2224
+ name: string;
2225
+ createdAt: string;
2226
+ updatedAt: string;
2227
+ userId: string;
2228
+ integrationId: string;
2229
+ error?: any;
2230
+ state?: import("..").WorkspaceElementState | undefined;
2231
+ errors?: any[] | undefined;
2232
+ isDeactivated?: boolean | undefined;
2233
+ archivedAt?: string | undefined;
2234
+ authOptionKey?: string | undefined;
2235
+ isTest?: boolean | undefined;
2236
+ disconnected?: boolean | undefined;
2237
+ isDefunct?: boolean | undefined;
2238
+ lastActiveAt?: string | undefined;
2239
+ nextCredentialsRefreshAt?: string | undefined;
2240
+ meta?: Record<string, any> | undefined;
2241
+ } | undefined;
2242
+ error?: any;
2243
+ integration?: {
2244
+ id: string;
2245
+ name: string;
2246
+ logoUri: string;
2247
+ key?: string | undefined;
2248
+ uuid?: string | undefined;
2249
+ description?: string | undefined;
2250
+ state?: import("..").WorkspaceElementState | undefined;
2251
+ errors?: any[] | undefined;
2252
+ revision?: string | undefined;
2253
+ isDeactivated?: boolean | undefined;
2254
+ createdAt?: string | undefined;
2255
+ updatedAt?: string | undefined;
2256
+ archivedAt?: string | undefined;
2257
+ parameters?: any;
2258
+ isTest?: boolean | undefined;
2259
+ connectorId?: string | undefined;
2260
+ connectorVersion?: string | undefined;
2261
+ oAuthCallbackUri?: string | undefined;
2262
+ hasMissingParameters?: boolean | undefined;
2263
+ hasDocumentation?: boolean | undefined;
2264
+ hasOperations?: boolean | undefined;
2265
+ operationsCount?: number | undefined;
2266
+ hasData?: boolean | undefined;
2267
+ dataCollectionsCount?: number | undefined;
2268
+ hasEvents?: boolean | undefined;
2269
+ eventsCount?: number | undefined;
2270
+ hasGlobalWebhooks?: boolean | undefined;
2271
+ hasUdm?: boolean | undefined;
2272
+ appUuid?: string | undefined;
2273
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2274
+ } | undefined;
2275
+ uuid?: string | undefined;
2276
+ description?: string | undefined;
2277
+ state?: import("..").WorkspaceElementState | undefined;
2278
+ errors?: any[] | undefined;
2279
+ isDeactivated?: boolean | undefined;
2280
+ createdAt?: string | undefined;
2281
+ updatedAt?: string | undefined;
2282
+ archivedAt?: string | undefined;
2283
+ instanceKey?: string | undefined;
2284
+ user?: {
2285
+ id: string;
2286
+ name: string;
2287
+ internalId: string;
2288
+ createdAt?: string | undefined;
2289
+ archivedAt?: string | undefined;
2290
+ credentials?: any;
2291
+ fields?: Record<string, any> | undefined;
2292
+ isTest?: boolean | undefined;
2293
+ lastActiveAt?: string | undefined;
2294
+ isBillable?: boolean | undefined;
2295
+ } | 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
+ isCustomized?: boolean | undefined;
2303
+ dataSourceInstanceId?: string | undefined;
2304
+ fieldMappingRevision?: string | undefined;
2305
+ fieldMappingId?: string | undefined;
2306
+ dataSourceSchema?: import("../..").DataSchema | undefined;
2307
+ unifiedExportValue?: any;
2308
+ unifiedImportValue?: any;
2309
+ externalSchema?: any;
2310
+ fieldMapping?: {
2311
+ id: string;
2312
+ name: string;
2313
+ revision: string;
2314
+ dataSourceId: string;
2315
+ dataSourceKey: string;
2316
+ appSchema: import("../..").DataSchema;
2317
+ direction: import("../base/field-mappings").FieldMappingDirection;
2318
+ key?: string | undefined;
2319
+ uuid?: string | undefined;
2320
+ description?: string | undefined;
2321
+ state?: import("..").WorkspaceElementState | undefined;
2322
+ errors?: any[] | undefined;
2323
+ isDeactivated?: boolean | undefined;
2324
+ createdAt?: string | undefined;
2325
+ updatedAt?: string | undefined;
2326
+ archivedAt?: string | undefined;
2327
+ integrationId?: string | undefined;
2328
+ publishedRevision?: string | undefined;
2329
+ universalFieldMappingId?: string | undefined;
2330
+ universalFieldMappingRevision?: string | undefined;
2331
+ defaultImportValue?: any;
2332
+ defaultExportValue?: any;
2333
+ importValue?: any;
2334
+ exportValue?: any;
2335
+ frozenImportFields?: any;
2336
+ frozenExportFields?: any;
2337
+ frozenUnifiedExportFields?: any;
2338
+ customized?: boolean | undefined;
2339
+ } | undefined;
2340
+ dataSourceInstance?: {
2341
+ id: string;
2342
+ name: string;
2343
+ revision: string;
2344
+ userId: string;
2345
+ connectionId: string;
2346
+ integrationId: string;
2347
+ key?: string | undefined;
2348
+ connection?: {
2349
+ id: string;
2350
+ name: string;
2351
+ createdAt: string;
2352
+ updatedAt: string;
2353
+ userId: string;
2354
+ integrationId: string;
2355
+ error?: any;
2356
+ state?: import("..").WorkspaceElementState | undefined;
2357
+ errors?: any[] | undefined;
2358
+ isDeactivated?: boolean | undefined;
2359
+ archivedAt?: string | undefined;
2360
+ authOptionKey?: string | undefined;
2361
+ isTest?: boolean | undefined;
2362
+ disconnected?: boolean | undefined;
2363
+ isDefunct?: boolean | undefined;
2364
+ lastActiveAt?: string | undefined;
2365
+ nextCredentialsRefreshAt?: string | undefined;
2366
+ meta?: Record<string, any> | undefined;
2367
+ } | undefined;
2368
+ path?: string | undefined;
2369
+ integration?: {
2370
+ id: string;
2371
+ name: string;
2372
+ logoUri: string;
2373
+ key?: string | undefined;
2374
+ uuid?: string | undefined;
2375
+ description?: string | undefined;
2376
+ state?: import("..").WorkspaceElementState | undefined;
2377
+ errors?: any[] | undefined;
2378
+ revision?: string | undefined;
2379
+ isDeactivated?: boolean | undefined;
2380
+ createdAt?: string | undefined;
2381
+ updatedAt?: string | undefined;
2382
+ archivedAt?: string | undefined;
2383
+ parameters?: any;
2384
+ isTest?: boolean | undefined;
2385
+ connectorId?: string | undefined;
2386
+ connectorVersion?: string | undefined;
2387
+ oAuthCallbackUri?: string | undefined;
2388
+ hasMissingParameters?: boolean | undefined;
2389
+ hasDocumentation?: boolean | undefined;
2390
+ hasOperations?: boolean | undefined;
2391
+ operationsCount?: number | undefined;
2392
+ hasData?: boolean | undefined;
2393
+ dataCollectionsCount?: number | undefined;
2394
+ hasEvents?: boolean | undefined;
2395
+ eventsCount?: number | undefined;
2396
+ hasGlobalWebhooks?: boolean | undefined;
2397
+ hasUdm?: boolean | undefined;
2398
+ appUuid?: string | undefined;
2399
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2400
+ } | undefined;
2401
+ uuid?: string | undefined;
2402
+ description?: string | undefined;
2403
+ state?: import("..").WorkspaceElementState | undefined;
2404
+ errors?: any[] | undefined;
2405
+ isDeactivated?: boolean | undefined;
2406
+ createdAt?: string | undefined;
2407
+ updatedAt?: string | undefined;
2408
+ archivedAt?: string | undefined;
2409
+ instanceKey?: string | undefined;
2410
+ udm?: string | undefined;
2411
+ collectionSpec?: {
2412
+ type: "collection";
2413
+ name: string;
2414
+ key?: string | undefined;
2415
+ match?: {
2416
+ fields?: string[] | undefined;
2417
+ apiRequests?: {
2418
+ method?: unknown;
2419
+ path?: unknown;
2420
+ }[] | undefined;
2421
+ } | undefined;
2422
+ search?: {
2423
+ apiRequests?: {
2424
+ method?: unknown;
2425
+ path?: unknown;
2426
+ }[] | undefined;
2427
+ } | undefined;
2428
+ find?: {
2429
+ apiRequests?: {
2430
+ method?: unknown;
2431
+ path?: unknown;
2432
+ }[] | undefined;
2433
+ queryFields?: string[] | undefined;
2434
+ } | undefined;
2435
+ delete?: {
2436
+ apiRequests?: {
2437
+ method?: unknown;
2438
+ path?: unknown;
2439
+ }[] | undefined;
2440
+ } | undefined;
2441
+ list?: {
2442
+ apiRequests?: {
2443
+ method?: unknown;
2444
+ path?: unknown;
2445
+ }[] | undefined;
2446
+ filterFields?: string[] | undefined;
2447
+ } | undefined;
2448
+ create?: {
2449
+ fields?: string[] | undefined;
2450
+ apiRequests?: {
2451
+ method?: unknown;
2452
+ path?: unknown;
2453
+ }[] | undefined;
2454
+ requiredFields?: string[] | undefined;
2455
+ excludedFields?: string[] | undefined;
2456
+ } | undefined;
2457
+ udm?: Record<string, {
2458
+ fields?: string[] | undefined;
2459
+ extract?: Record<string, any> | undefined;
2460
+ parse?: Record<string, any> | undefined;
2461
+ }> | undefined;
2462
+ events?: z.objectInputType<{
2463
+ created: z.ZodOptional<z.ZodObject<{
2464
+ type: z.ZodEnum<["push", "pull"]>;
2465
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2466
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2467
+ }, "strip", z.ZodTypeAny, {
2468
+ type: "push" | "pull";
2469
+ isFullScan?: boolean | undefined;
2470
+ isIdOnly?: boolean | undefined;
2471
+ }, {
2472
+ type: "push" | "pull";
2473
+ isFullScan?: boolean | undefined;
2474
+ isIdOnly?: boolean | undefined;
2475
+ }>>;
2476
+ updated: z.ZodOptional<z.ZodObject<{
2477
+ type: z.ZodEnum<["push", "pull"]>;
2478
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2479
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2480
+ }, "strip", z.ZodTypeAny, {
2481
+ type: "push" | "pull";
2482
+ isFullScan?: boolean | undefined;
2483
+ isIdOnly?: boolean | undefined;
2484
+ }, {
2485
+ type: "push" | "pull";
2486
+ isFullScan?: boolean | undefined;
2487
+ isIdOnly?: boolean | undefined;
2488
+ }>>;
2489
+ deleted: z.ZodOptional<z.ZodObject<{
2490
+ type: z.ZodEnum<["push", "pull"]>;
2491
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2492
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2493
+ }, "strip", z.ZodTypeAny, {
2494
+ type: "push" | "pull";
2495
+ isFullScan?: boolean | undefined;
2496
+ isIdOnly?: boolean | undefined;
2497
+ }, {
2498
+ type: "push" | "pull";
2499
+ isFullScan?: boolean | undefined;
2500
+ isIdOnly?: boolean | undefined;
2501
+ }>>;
2502
+ all: z.ZodOptional<z.ZodObject<{
2503
+ type: z.ZodEnum<["push", "pull"]>;
2504
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2505
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2506
+ }, "strip", z.ZodTypeAny, {
2507
+ type: "push" | "pull";
2508
+ isFullScan?: boolean | undefined;
2509
+ isIdOnly?: boolean | undefined;
2510
+ }, {
2511
+ type: "push" | "pull";
2512
+ isFullScan?: boolean | undefined;
2513
+ isIdOnly?: boolean | undefined;
2514
+ }>>;
2515
+ }, z.ZodObject<{
2516
+ type: z.ZodEnum<["push", "pull"]>;
2517
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2518
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2519
+ }, "strip", z.ZodTypeAny, {
2520
+ type: "push" | "pull";
2521
+ isFullScan?: boolean | undefined;
2522
+ isIdOnly?: boolean | undefined;
2523
+ }, {
2524
+ type: "push" | "pull";
2525
+ isFullScan?: boolean | undefined;
2526
+ isIdOnly?: boolean | undefined;
2527
+ }>, "strip"> | undefined;
2528
+ parametersSchema?: import("../..").DataSchema | undefined;
2529
+ fieldsSchema?: import("../..").DataSchema | undefined;
2530
+ findById?: {
2531
+ apiRequests?: {
2532
+ method?: unknown;
2533
+ path?: unknown;
2534
+ }[] | undefined;
2535
+ } | undefined;
2536
+ update?: {
2537
+ fields?: string[] | undefined;
2538
+ apiRequests?: {
2539
+ method?: unknown;
2540
+ path?: unknown;
2541
+ }[] | undefined;
2542
+ excludedFields?: string[] | undefined;
2543
+ } | undefined;
2544
+ customFields?: boolean | undefined;
2545
+ } | undefined;
2546
+ user?: {
2547
+ id: string;
2548
+ name: string;
2549
+ internalId: string;
2550
+ createdAt?: string | undefined;
2551
+ archivedAt?: string | undefined;
2552
+ credentials?: any;
2553
+ fields?: Record<string, any> | undefined;
2554
+ isTest?: boolean | undefined;
2555
+ lastActiveAt?: string | undefined;
2556
+ isBillable?: boolean | undefined;
2557
+ } | undefined;
2558
+ dataSourceId?: string | undefined;
2559
+ isCustomized?: boolean | undefined;
2560
+ dataSourceRevision?: string | undefined;
2561
+ universalDataSourceId?: string | undefined;
2562
+ collectionKey?: string | undefined;
2563
+ collectionParameters?: any;
2564
+ defaultCollectionKey?: string | undefined;
2565
+ defaultCollectionParameters?: any;
2566
+ pullUpdatesIntervalSeconds?: number | undefined;
2567
+ fullSyncIntervalSeconds?: number | undefined;
2568
+ defaultPath?: string | undefined;
2569
+ dataSource?: {
2570
+ id: string;
2571
+ name: string;
2572
+ revision: string;
2573
+ key?: string | undefined;
2574
+ uuid?: string | undefined;
2575
+ description?: string | undefined;
2576
+ state?: import("..").WorkspaceElementState | undefined;
2577
+ errors?: any[] | undefined;
2578
+ isDeactivated?: boolean | undefined;
2579
+ createdAt?: string | undefined;
2580
+ updatedAt?: string | undefined;
2581
+ archivedAt?: string | undefined;
2582
+ integrationId?: string | undefined;
2583
+ udm?: string | undefined;
2584
+ publishedRevision?: string | undefined;
2585
+ customized?: boolean | undefined;
2586
+ universalDataSourceId?: string | undefined;
2587
+ collectionKey?: string | undefined;
2588
+ collectionParameters?: any;
2589
+ pullUpdatesIntervalSeconds?: number | undefined;
2590
+ fullSyncIntervalSeconds?: number | undefined;
2591
+ defaultPath?: string | undefined;
2592
+ universalDataSourceRevision?: string | undefined;
2593
+ } | undefined;
2594
+ } | undefined;
2595
+ }>;
2596
+ export type FieldMappingInstanceApiResponse = z.infer<typeof FieldMappingInstanceApiResponse>;
2597
+ export type FieldMappingInstance = FieldMappingInstanceApiResponse;