@membranehq/sdk 0.4.0 → 0.5.1

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