@membranehq/sdk 0.7.3 → 0.7.5

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