@membranehq/sdk 0.7.4 → 0.8.0

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