@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
@@ -6,12 +6,11 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
6
6
  description: z.ZodOptional<z.ZodString>;
7
7
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
8
  name: z.ZodString;
9
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
9
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
10
10
  createdAt: z.ZodOptional<z.ZodString>;
11
11
  updatedAt: z.ZodOptional<z.ZodString>;
12
12
  archivedAt: z.ZodOptional<z.ZodString>;
13
13
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
14
- } & {
15
14
  userId: z.ZodString;
16
15
  revision: z.ZodString;
17
16
  dataSourceRevision: z.ZodOptional<z.ZodString>;
@@ -29,699 +28,118 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
29
28
  type: z.ZodLiteral<"collection">;
30
29
  key: z.ZodOptional<z.ZodString>;
31
30
  name: z.ZodString;
32
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
33
- fieldsSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
31
+ parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
32
+ fieldsSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
34
33
  list: z.ZodOptional<z.ZodObject<{
35
34
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
35
  path: z.ZodUnknown;
37
36
  method: z.ZodUnknown;
38
- }, "strip", z.ZodTypeAny, {
39
- method?: unknown;
40
- path?: unknown;
41
- }, {
42
- method?: unknown;
43
- path?: unknown;
44
- }>, "many">>;
45
- } & {
46
- filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47
- }, "strip", z.ZodTypeAny, {
48
- apiRequests?: {
49
- method?: unknown;
50
- path?: unknown;
51
- }[] | undefined;
52
- filterFields?: string[] | undefined;
53
- }, {
54
- apiRequests?: {
55
- method?: unknown;
56
- path?: unknown;
57
- }[] | undefined;
58
- filterFields?: string[] | undefined;
59
- }>>;
37
+ }, z.core.$strip>>>;
38
+ filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ }, z.core.$strip>>;
60
40
  search: z.ZodOptional<z.ZodObject<{
61
41
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
42
  path: z.ZodUnknown;
63
43
  method: z.ZodUnknown;
64
- }, "strip", z.ZodTypeAny, {
65
- method?: unknown;
66
- path?: unknown;
67
- }, {
68
- method?: unknown;
69
- path?: unknown;
70
- }>, "many">>;
71
- }, "strip", z.ZodTypeAny, {
72
- apiRequests?: {
73
- method?: unknown;
74
- path?: unknown;
75
- }[] | undefined;
76
- }, {
77
- apiRequests?: {
78
- method?: unknown;
79
- path?: unknown;
80
- }[] | undefined;
81
- }>>;
44
+ }, z.core.$strip>>>;
45
+ }, z.core.$strip>>;
82
46
  match: z.ZodOptional<z.ZodObject<{
83
47
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
48
  path: z.ZodUnknown;
85
49
  method: z.ZodUnknown;
86
- }, "strip", z.ZodTypeAny, {
87
- method?: unknown;
88
- path?: unknown;
89
- }, {
90
- method?: unknown;
91
- path?: unknown;
92
- }>, "many">>;
93
- } & {
94
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95
- }, "strip", z.ZodTypeAny, {
96
- fields?: string[] | undefined;
97
- apiRequests?: {
98
- method?: unknown;
99
- path?: unknown;
100
- }[] | undefined;
101
- }, {
102
- fields?: string[] | undefined;
103
- apiRequests?: {
104
- method?: unknown;
105
- path?: unknown;
106
- }[] | undefined;
107
- }>>;
50
+ }, z.core.$strip>>>;
51
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
+ }, z.core.$strip>>;
108
53
  findById: z.ZodOptional<z.ZodObject<{
109
54
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
55
  path: z.ZodUnknown;
111
56
  method: z.ZodUnknown;
112
- }, "strip", z.ZodTypeAny, {
113
- method?: unknown;
114
- path?: unknown;
115
- }, {
116
- method?: unknown;
117
- path?: unknown;
118
- }>, "many">>;
119
- }, "strip", z.ZodTypeAny, {
120
- apiRequests?: {
121
- method?: unknown;
122
- path?: unknown;
123
- }[] | undefined;
124
- }, {
125
- apiRequests?: {
126
- method?: unknown;
127
- path?: unknown;
128
- }[] | undefined;
129
- }>>;
57
+ }, z.core.$strip>>>;
58
+ }, z.core.$strip>>;
130
59
  create: z.ZodOptional<z.ZodObject<{
131
60
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
61
  path: z.ZodUnknown;
133
62
  method: z.ZodUnknown;
134
- }, "strip", z.ZodTypeAny, {
135
- method?: unknown;
136
- path?: unknown;
137
- }, {
138
- method?: unknown;
139
- path?: unknown;
140
- }>, "many">>;
141
- } & {
142
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
143
- requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
144
- excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
145
- }, "strip", z.ZodTypeAny, {
146
- fields?: string[] | undefined;
147
- apiRequests?: {
148
- method?: unknown;
149
- path?: unknown;
150
- }[] | undefined;
151
- requiredFields?: string[] | undefined;
152
- excludedFields?: string[] | undefined;
153
- }, {
154
- fields?: string[] | undefined;
155
- apiRequests?: {
156
- method?: unknown;
157
- path?: unknown;
158
- }[] | undefined;
159
- requiredFields?: string[] | undefined;
160
- excludedFields?: string[] | undefined;
161
- }>>;
63
+ }, z.core.$strip>>>;
64
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
+ requiredFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ }, z.core.$strip>>;
162
68
  update: z.ZodOptional<z.ZodObject<{
163
69
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
164
70
  path: z.ZodUnknown;
165
71
  method: z.ZodUnknown;
166
- }, "strip", z.ZodTypeAny, {
167
- method?: unknown;
168
- path?: unknown;
169
- }, {
170
- method?: unknown;
171
- path?: unknown;
172
- }>, "many">>;
173
- } & {
174
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
175
- excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
176
- }, "strip", z.ZodTypeAny, {
177
- fields?: string[] | undefined;
178
- apiRequests?: {
179
- method?: unknown;
180
- path?: unknown;
181
- }[] | undefined;
182
- excludedFields?: string[] | undefined;
183
- }, {
184
- fields?: string[] | undefined;
185
- apiRequests?: {
186
- method?: unknown;
187
- path?: unknown;
188
- }[] | undefined;
189
- excludedFields?: string[] | undefined;
190
- }>>;
72
+ }, z.core.$strip>>>;
73
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
+ }, z.core.$strip>>;
191
76
  delete: z.ZodOptional<z.ZodObject<{
192
77
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
78
  path: z.ZodUnknown;
194
79
  method: z.ZodUnknown;
195
- }, "strip", z.ZodTypeAny, {
196
- method?: unknown;
197
- path?: unknown;
198
- }, {
199
- method?: unknown;
200
- path?: unknown;
201
- }>, "many">>;
202
- }, "strip", z.ZodTypeAny, {
203
- apiRequests?: {
204
- method?: unknown;
205
- path?: unknown;
206
- }[] | undefined;
207
- }, {
208
- apiRequests?: {
209
- method?: unknown;
210
- path?: unknown;
211
- }[] | undefined;
212
- }>>;
80
+ }, z.core.$strip>>>;
81
+ }, z.core.$strip>>;
213
82
  events: z.ZodOptional<z.ZodObject<{
214
83
  created: z.ZodOptional<z.ZodObject<{
215
- type: z.ZodEnum<["push", "pull"]>;
84
+ type: z.ZodEnum<{
85
+ push: "push";
86
+ pull: "pull";
87
+ }>;
216
88
  isFullScan: z.ZodOptional<z.ZodBoolean>;
217
89
  isIdOnly: z.ZodOptional<z.ZodBoolean>;
218
- }, "strip", z.ZodTypeAny, {
219
- type: "push" | "pull";
220
- isFullScan?: boolean | undefined;
221
- isIdOnly?: boolean | undefined;
222
- }, {
223
- type: "push" | "pull";
224
- isFullScan?: boolean | undefined;
225
- isIdOnly?: boolean | undefined;
226
- }>>;
90
+ }, z.core.$strip>>;
227
91
  updated: z.ZodOptional<z.ZodObject<{
228
- type: z.ZodEnum<["push", "pull"]>;
92
+ type: z.ZodEnum<{
93
+ push: "push";
94
+ pull: "pull";
95
+ }>;
229
96
  isFullScan: z.ZodOptional<z.ZodBoolean>;
230
97
  isIdOnly: z.ZodOptional<z.ZodBoolean>;
231
- }, "strip", z.ZodTypeAny, {
232
- type: "push" | "pull";
233
- isFullScan?: boolean | undefined;
234
- isIdOnly?: boolean | undefined;
235
- }, {
236
- type: "push" | "pull";
237
- isFullScan?: boolean | undefined;
238
- isIdOnly?: boolean | undefined;
239
- }>>;
98
+ }, z.core.$strip>>;
240
99
  deleted: z.ZodOptional<z.ZodObject<{
241
- type: z.ZodEnum<["push", "pull"]>;
100
+ type: z.ZodEnum<{
101
+ push: "push";
102
+ pull: "pull";
103
+ }>;
242
104
  isFullScan: z.ZodOptional<z.ZodBoolean>;
243
105
  isIdOnly: z.ZodOptional<z.ZodBoolean>;
244
- }, "strip", z.ZodTypeAny, {
245
- type: "push" | "pull";
246
- isFullScan?: boolean | undefined;
247
- isIdOnly?: boolean | undefined;
248
- }, {
249
- type: "push" | "pull";
250
- isFullScan?: boolean | undefined;
251
- isIdOnly?: boolean | undefined;
252
- }>>;
106
+ }, z.core.$strip>>;
253
107
  all: z.ZodOptional<z.ZodObject<{
254
- type: z.ZodEnum<["push", "pull"]>;
255
- isFullScan: z.ZodOptional<z.ZodBoolean>;
256
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
257
- }, "strip", z.ZodTypeAny, {
258
- type: "push" | "pull";
259
- isFullScan?: boolean | undefined;
260
- isIdOnly?: boolean | undefined;
261
- }, {
262
- type: "push" | "pull";
263
- isFullScan?: boolean | undefined;
264
- isIdOnly?: boolean | undefined;
265
- }>>;
266
- }, "strip", z.ZodObject<{
267
- type: z.ZodEnum<["push", "pull"]>;
108
+ type: z.ZodEnum<{
109
+ push: "push";
110
+ pull: "pull";
111
+ }>;
112
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
113
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
114
+ }, z.core.$strip>>;
115
+ }, z.core.$catchall<z.ZodObject<{
116
+ type: z.ZodEnum<{
117
+ push: "push";
118
+ pull: "pull";
119
+ }>;
268
120
  isFullScan: z.ZodOptional<z.ZodBoolean>;
269
121
  isIdOnly: z.ZodOptional<z.ZodBoolean>;
270
- }, "strip", z.ZodTypeAny, {
271
- type: "push" | "pull";
272
- isFullScan?: boolean | undefined;
273
- isIdOnly?: boolean | undefined;
274
- }, {
275
- type: "push" | "pull";
276
- isFullScan?: boolean | undefined;
277
- isIdOnly?: boolean | undefined;
278
- }>, z.objectOutputType<{
279
- created: z.ZodOptional<z.ZodObject<{
280
- type: z.ZodEnum<["push", "pull"]>;
281
- isFullScan: z.ZodOptional<z.ZodBoolean>;
282
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
283
- }, "strip", z.ZodTypeAny, {
284
- type: "push" | "pull";
285
- isFullScan?: boolean | undefined;
286
- isIdOnly?: boolean | undefined;
287
- }, {
288
- type: "push" | "pull";
289
- isFullScan?: boolean | undefined;
290
- isIdOnly?: boolean | undefined;
291
- }>>;
292
- updated: z.ZodOptional<z.ZodObject<{
293
- type: z.ZodEnum<["push", "pull"]>;
294
- isFullScan: z.ZodOptional<z.ZodBoolean>;
295
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
296
- }, "strip", z.ZodTypeAny, {
297
- type: "push" | "pull";
298
- isFullScan?: boolean | undefined;
299
- isIdOnly?: boolean | undefined;
300
- }, {
301
- type: "push" | "pull";
302
- isFullScan?: boolean | undefined;
303
- isIdOnly?: boolean | undefined;
304
- }>>;
305
- deleted: z.ZodOptional<z.ZodObject<{
306
- type: z.ZodEnum<["push", "pull"]>;
307
- isFullScan: z.ZodOptional<z.ZodBoolean>;
308
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
309
- }, "strip", z.ZodTypeAny, {
310
- type: "push" | "pull";
311
- isFullScan?: boolean | undefined;
312
- isIdOnly?: boolean | undefined;
313
- }, {
314
- type: "push" | "pull";
315
- isFullScan?: boolean | undefined;
316
- isIdOnly?: boolean | undefined;
317
- }>>;
318
- all: z.ZodOptional<z.ZodObject<{
319
- type: z.ZodEnum<["push", "pull"]>;
320
- isFullScan: z.ZodOptional<z.ZodBoolean>;
321
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
322
- }, "strip", z.ZodTypeAny, {
323
- type: "push" | "pull";
324
- isFullScan?: boolean | undefined;
325
- isIdOnly?: boolean | undefined;
326
- }, {
327
- type: "push" | "pull";
328
- isFullScan?: boolean | undefined;
329
- isIdOnly?: boolean | undefined;
330
- }>>;
331
- }, z.ZodObject<{
332
- type: z.ZodEnum<["push", "pull"]>;
333
- isFullScan: z.ZodOptional<z.ZodBoolean>;
334
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
335
- }, "strip", z.ZodTypeAny, {
336
- type: "push" | "pull";
337
- isFullScan?: boolean | undefined;
338
- isIdOnly?: boolean | undefined;
339
- }, {
340
- type: "push" | "pull";
341
- isFullScan?: boolean | undefined;
342
- isIdOnly?: boolean | undefined;
343
- }>, "strip">, z.objectInputType<{
344
- created: z.ZodOptional<z.ZodObject<{
345
- type: z.ZodEnum<["push", "pull"]>;
346
- isFullScan: z.ZodOptional<z.ZodBoolean>;
347
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
348
- }, "strip", z.ZodTypeAny, {
349
- type: "push" | "pull";
350
- isFullScan?: boolean | undefined;
351
- isIdOnly?: boolean | undefined;
352
- }, {
353
- type: "push" | "pull";
354
- isFullScan?: boolean | undefined;
355
- isIdOnly?: boolean | undefined;
356
- }>>;
357
- updated: z.ZodOptional<z.ZodObject<{
358
- type: z.ZodEnum<["push", "pull"]>;
359
- isFullScan: z.ZodOptional<z.ZodBoolean>;
360
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
361
- }, "strip", z.ZodTypeAny, {
362
- type: "push" | "pull";
363
- isFullScan?: boolean | undefined;
364
- isIdOnly?: boolean | undefined;
365
- }, {
366
- type: "push" | "pull";
367
- isFullScan?: boolean | undefined;
368
- isIdOnly?: boolean | undefined;
369
- }>>;
370
- deleted: z.ZodOptional<z.ZodObject<{
371
- type: z.ZodEnum<["push", "pull"]>;
372
- isFullScan: z.ZodOptional<z.ZodBoolean>;
373
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
374
- }, "strip", z.ZodTypeAny, {
375
- type: "push" | "pull";
376
- isFullScan?: boolean | undefined;
377
- isIdOnly?: boolean | undefined;
378
- }, {
379
- type: "push" | "pull";
380
- isFullScan?: boolean | undefined;
381
- isIdOnly?: boolean | undefined;
382
- }>>;
383
- all: z.ZodOptional<z.ZodObject<{
384
- type: z.ZodEnum<["push", "pull"]>;
385
- isFullScan: z.ZodOptional<z.ZodBoolean>;
386
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
387
- }, "strip", z.ZodTypeAny, {
388
- type: "push" | "pull";
389
- isFullScan?: boolean | undefined;
390
- isIdOnly?: boolean | undefined;
391
- }, {
392
- type: "push" | "pull";
393
- isFullScan?: boolean | undefined;
394
- isIdOnly?: boolean | undefined;
395
- }>>;
396
- }, z.ZodObject<{
397
- type: z.ZodEnum<["push", "pull"]>;
398
- isFullScan: z.ZodOptional<z.ZodBoolean>;
399
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
400
- }, "strip", z.ZodTypeAny, {
401
- type: "push" | "pull";
402
- isFullScan?: boolean | undefined;
403
- isIdOnly?: boolean | undefined;
404
- }, {
405
- type: "push" | "pull";
406
- isFullScan?: boolean | undefined;
407
- isIdOnly?: boolean | undefined;
408
- }>, "strip">>>;
122
+ }, z.core.$strip>>>>;
409
123
  customFields: z.ZodOptional<z.ZodBoolean>;
410
124
  udm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
411
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
412
126
  extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
413
127
  parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
414
- }, "strip", z.ZodTypeAny, {
415
- fields?: string[] | undefined;
416
- extract?: Record<string, any> | undefined;
417
- parse?: Record<string, any> | undefined;
418
- }, {
419
- fields?: string[] | undefined;
420
- extract?: Record<string, any> | undefined;
421
- parse?: Record<string, any> | undefined;
422
- }>>>;
128
+ }, z.core.$strip>>>;
423
129
  find: z.ZodOptional<z.ZodObject<{
424
130
  apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
425
131
  path: z.ZodUnknown;
426
132
  method: z.ZodUnknown;
427
- }, "strip", z.ZodTypeAny, {
428
- method?: unknown;
429
- path?: unknown;
430
- }, {
431
- method?: unknown;
432
- path?: unknown;
433
- }>, "many">>;
434
- } & {
435
- queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
436
- }, "strip", z.ZodTypeAny, {
437
- apiRequests?: {
438
- method?: unknown;
439
- path?: unknown;
440
- }[] | undefined;
441
- queryFields?: string[] | undefined;
442
- }, {
443
- apiRequests?: {
444
- method?: unknown;
445
- path?: unknown;
446
- }[] | undefined;
447
- queryFields?: string[] | undefined;
448
- }>>;
449
- }, "strip", z.ZodTypeAny, {
450
- type: "collection";
451
- name: string;
452
- key?: string | undefined;
453
- match?: {
454
- fields?: string[] | undefined;
455
- apiRequests?: {
456
- method?: unknown;
457
- path?: unknown;
458
- }[] | undefined;
459
- } | undefined;
460
- search?: {
461
- apiRequests?: {
462
- method?: unknown;
463
- path?: unknown;
464
- }[] | undefined;
465
- } | undefined;
466
- find?: {
467
- apiRequests?: {
468
- method?: unknown;
469
- path?: unknown;
470
- }[] | undefined;
471
- queryFields?: string[] | undefined;
472
- } | undefined;
473
- delete?: {
474
- apiRequests?: {
475
- method?: unknown;
476
- path?: unknown;
477
- }[] | undefined;
478
- } | undefined;
479
- list?: {
480
- apiRequests?: {
481
- method?: unknown;
482
- path?: unknown;
483
- }[] | undefined;
484
- filterFields?: string[] | undefined;
485
- } | undefined;
486
- create?: {
487
- fields?: string[] | undefined;
488
- apiRequests?: {
489
- method?: unknown;
490
- path?: unknown;
491
- }[] | undefined;
492
- requiredFields?: string[] | undefined;
493
- excludedFields?: string[] | undefined;
494
- } | undefined;
495
- udm?: Record<string, {
496
- fields?: string[] | undefined;
497
- extract?: Record<string, any> | undefined;
498
- parse?: Record<string, any> | undefined;
499
- }> | undefined;
500
- events?: z.objectOutputType<{
501
- created: z.ZodOptional<z.ZodObject<{
502
- type: z.ZodEnum<["push", "pull"]>;
503
- isFullScan: z.ZodOptional<z.ZodBoolean>;
504
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
505
- }, "strip", z.ZodTypeAny, {
506
- type: "push" | "pull";
507
- isFullScan?: boolean | undefined;
508
- isIdOnly?: boolean | undefined;
509
- }, {
510
- type: "push" | "pull";
511
- isFullScan?: boolean | undefined;
512
- isIdOnly?: boolean | undefined;
513
- }>>;
514
- updated: z.ZodOptional<z.ZodObject<{
515
- type: z.ZodEnum<["push", "pull"]>;
516
- isFullScan: z.ZodOptional<z.ZodBoolean>;
517
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
518
- }, "strip", z.ZodTypeAny, {
519
- type: "push" | "pull";
520
- isFullScan?: boolean | undefined;
521
- isIdOnly?: boolean | undefined;
522
- }, {
523
- type: "push" | "pull";
524
- isFullScan?: boolean | undefined;
525
- isIdOnly?: boolean | undefined;
526
- }>>;
527
- deleted: z.ZodOptional<z.ZodObject<{
528
- type: z.ZodEnum<["push", "pull"]>;
529
- isFullScan: z.ZodOptional<z.ZodBoolean>;
530
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
531
- }, "strip", z.ZodTypeAny, {
532
- type: "push" | "pull";
533
- isFullScan?: boolean | undefined;
534
- isIdOnly?: boolean | undefined;
535
- }, {
536
- type: "push" | "pull";
537
- isFullScan?: boolean | undefined;
538
- isIdOnly?: boolean | undefined;
539
- }>>;
540
- all: z.ZodOptional<z.ZodObject<{
541
- type: z.ZodEnum<["push", "pull"]>;
542
- isFullScan: z.ZodOptional<z.ZodBoolean>;
543
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
544
- }, "strip", z.ZodTypeAny, {
545
- type: "push" | "pull";
546
- isFullScan?: boolean | undefined;
547
- isIdOnly?: boolean | undefined;
548
- }, {
549
- type: "push" | "pull";
550
- isFullScan?: boolean | undefined;
551
- isIdOnly?: boolean | undefined;
552
- }>>;
553
- }, z.ZodObject<{
554
- type: z.ZodEnum<["push", "pull"]>;
555
- isFullScan: z.ZodOptional<z.ZodBoolean>;
556
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
557
- }, "strip", z.ZodTypeAny, {
558
- type: "push" | "pull";
559
- isFullScan?: boolean | undefined;
560
- isIdOnly?: boolean | undefined;
561
- }, {
562
- type: "push" | "pull";
563
- isFullScan?: boolean | undefined;
564
- isIdOnly?: boolean | undefined;
565
- }>, "strip"> | undefined;
566
- parametersSchema?: import("../..").DataSchema | undefined;
567
- fieldsSchema?: import("../..").DataSchema | undefined;
568
- findById?: {
569
- apiRequests?: {
570
- method?: unknown;
571
- path?: unknown;
572
- }[] | undefined;
573
- } | undefined;
574
- update?: {
575
- fields?: string[] | undefined;
576
- apiRequests?: {
577
- method?: unknown;
578
- path?: unknown;
579
- }[] | undefined;
580
- excludedFields?: string[] | undefined;
581
- } | undefined;
582
- customFields?: boolean | undefined;
583
- }, {
584
- type: "collection";
585
- name: string;
586
- key?: string | undefined;
587
- match?: {
588
- fields?: string[] | undefined;
589
- apiRequests?: {
590
- method?: unknown;
591
- path?: unknown;
592
- }[] | undefined;
593
- } | undefined;
594
- search?: {
595
- apiRequests?: {
596
- method?: unknown;
597
- path?: unknown;
598
- }[] | undefined;
599
- } | undefined;
600
- find?: {
601
- apiRequests?: {
602
- method?: unknown;
603
- path?: unknown;
604
- }[] | undefined;
605
- queryFields?: string[] | undefined;
606
- } | undefined;
607
- delete?: {
608
- apiRequests?: {
609
- method?: unknown;
610
- path?: unknown;
611
- }[] | undefined;
612
- } | undefined;
613
- list?: {
614
- apiRequests?: {
615
- method?: unknown;
616
- path?: unknown;
617
- }[] | undefined;
618
- filterFields?: string[] | undefined;
619
- } | undefined;
620
- create?: {
621
- fields?: string[] | undefined;
622
- apiRequests?: {
623
- method?: unknown;
624
- path?: unknown;
625
- }[] | undefined;
626
- requiredFields?: string[] | undefined;
627
- excludedFields?: string[] | undefined;
628
- } | undefined;
629
- udm?: Record<string, {
630
- fields?: string[] | undefined;
631
- extract?: Record<string, any> | undefined;
632
- parse?: Record<string, any> | undefined;
633
- }> | undefined;
634
- events?: z.objectInputType<{
635
- created: z.ZodOptional<z.ZodObject<{
636
- type: z.ZodEnum<["push", "pull"]>;
637
- isFullScan: z.ZodOptional<z.ZodBoolean>;
638
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
639
- }, "strip", z.ZodTypeAny, {
640
- type: "push" | "pull";
641
- isFullScan?: boolean | undefined;
642
- isIdOnly?: boolean | undefined;
643
- }, {
644
- type: "push" | "pull";
645
- isFullScan?: boolean | undefined;
646
- isIdOnly?: boolean | undefined;
647
- }>>;
648
- updated: z.ZodOptional<z.ZodObject<{
649
- type: z.ZodEnum<["push", "pull"]>;
650
- isFullScan: z.ZodOptional<z.ZodBoolean>;
651
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
652
- }, "strip", z.ZodTypeAny, {
653
- type: "push" | "pull";
654
- isFullScan?: boolean | undefined;
655
- isIdOnly?: boolean | undefined;
656
- }, {
657
- type: "push" | "pull";
658
- isFullScan?: boolean | undefined;
659
- isIdOnly?: boolean | undefined;
660
- }>>;
661
- deleted: z.ZodOptional<z.ZodObject<{
662
- type: z.ZodEnum<["push", "pull"]>;
663
- isFullScan: z.ZodOptional<z.ZodBoolean>;
664
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
665
- }, "strip", z.ZodTypeAny, {
666
- type: "push" | "pull";
667
- isFullScan?: boolean | undefined;
668
- isIdOnly?: boolean | undefined;
669
- }, {
670
- type: "push" | "pull";
671
- isFullScan?: boolean | undefined;
672
- isIdOnly?: boolean | undefined;
673
- }>>;
674
- all: z.ZodOptional<z.ZodObject<{
675
- type: z.ZodEnum<["push", "pull"]>;
676
- isFullScan: z.ZodOptional<z.ZodBoolean>;
677
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
678
- }, "strip", z.ZodTypeAny, {
679
- type: "push" | "pull";
680
- isFullScan?: boolean | undefined;
681
- isIdOnly?: boolean | undefined;
682
- }, {
683
- type: "push" | "pull";
684
- isFullScan?: boolean | undefined;
685
- isIdOnly?: boolean | undefined;
686
- }>>;
687
- }, z.ZodObject<{
688
- type: z.ZodEnum<["push", "pull"]>;
689
- isFullScan: z.ZodOptional<z.ZodBoolean>;
690
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
691
- }, "strip", z.ZodTypeAny, {
692
- type: "push" | "pull";
693
- isFullScan?: boolean | undefined;
694
- isIdOnly?: boolean | undefined;
695
- }, {
696
- type: "push" | "pull";
697
- isFullScan?: boolean | undefined;
698
- isIdOnly?: boolean | undefined;
699
- }>, "strip"> | undefined;
700
- parametersSchema?: import("../..").DataSchema | undefined;
701
- fieldsSchema?: import("../..").DataSchema | undefined;
702
- findById?: {
703
- apiRequests?: {
704
- method?: unknown;
705
- path?: unknown;
706
- }[] | undefined;
707
- } | undefined;
708
- update?: {
709
- fields?: string[] | undefined;
710
- apiRequests?: {
711
- method?: unknown;
712
- path?: unknown;
713
- }[] | undefined;
714
- excludedFields?: string[] | undefined;
715
- } | undefined;
716
- customFields?: boolean | undefined;
717
- }>>;
133
+ }, z.core.$strip>>>;
134
+ queryFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
135
+ }, z.core.$strip>>;
136
+ }, z.core.$strip>>;
718
137
  isCustomized: z.ZodOptional<z.ZodBoolean>;
719
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
138
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
720
139
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
721
140
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
722
141
  path: z.ZodOptional<z.ZodString>;
723
142
  defaultPath: z.ZodOptional<z.ZodString>;
724
- } & {
725
143
  user: z.ZodOptional<z.ZodObject<{
726
144
  id: z.ZodString;
727
145
  name: z.ZodString;
@@ -734,36 +152,12 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
734
152
  isBillable: z.ZodOptional<z.ZodBoolean>;
735
153
  createdAt: z.ZodOptional<z.ZodString>;
736
154
  archivedAt: z.ZodOptional<z.ZodString>;
737
- }, "strip", z.ZodTypeAny, {
738
- id: string;
739
- name: string;
740
- internalId: string;
741
- meta?: Record<string, any> | undefined;
742
- createdAt?: string | undefined;
743
- archivedAt?: string | undefined;
744
- credentials?: any;
745
- fields?: Record<string, any> | undefined;
746
- isTest?: boolean | undefined;
747
- lastActiveAt?: string | undefined;
748
- isBillable?: boolean | undefined;
749
- }, {
750
- id: string;
751
- name: string;
752
- internalId: string;
753
- meta?: Record<string, any> | undefined;
754
- createdAt?: string | undefined;
755
- archivedAt?: string | undefined;
756
- credentials?: any;
757
- fields?: Record<string, any> | undefined;
758
- isTest?: boolean | undefined;
759
- lastActiveAt?: string | undefined;
760
- isBillable?: boolean | undefined;
761
- }>>;
155
+ }, z.core.$strip>>;
762
156
  dataSource: z.ZodOptional<z.ZodObject<{
763
157
  id: z.ZodString;
764
158
  key: z.ZodOptional<z.ZodString>;
765
- uuid: z.ZodOptional<z.ZodString>;
766
159
  description: z.ZodOptional<z.ZodString>;
160
+ uuid: z.ZodOptional<z.ZodString>;
767
161
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
768
162
  integrationId: z.ZodOptional<z.ZodString>;
769
163
  universalDataSourceId: z.ZodOptional<z.ZodString>;
@@ -773,10 +167,9 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
773
167
  collectionKey: z.ZodOptional<z.ZodString>;
774
168
  collectionParameters: z.ZodOptional<z.ZodAny>;
775
169
  defaultPath: z.ZodOptional<z.ZodString>;
776
- } & {
777
170
  name: z.ZodString;
778
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
779
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
171
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
172
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
780
173
  revision: z.ZodOptional<z.ZodString>;
781
174
  createdAt: z.ZodOptional<z.ZodString>;
782
175
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -784,65 +177,16 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
784
177
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
785
178
  isCustomized: z.ZodOptional<z.ZodBoolean>;
786
179
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
787
- }, "strip", z.ZodTypeAny, {
788
- id: string;
789
- name: string;
790
- key?: string | undefined;
791
- uuid?: string | undefined;
792
- description?: string | undefined;
793
- meta?: Record<string, any> | undefined;
794
- state?: import("..").WorkspaceElementState | undefined;
795
- errors?: import("../..").ErrorDataSchema[] | undefined;
796
- revision?: string | undefined;
797
- createdAt?: string | undefined;
798
- updatedAt?: string | undefined;
799
- archivedAt?: string | undefined;
800
- isDeactivated?: boolean | undefined;
801
- integrationId?: string | undefined;
802
- isCustomized?: boolean | undefined;
803
- udm?: string | undefined;
804
- universalDataSourceId?: string | undefined;
805
- collectionKey?: string | undefined;
806
- collectionParameters?: any;
807
- pullUpdatesIntervalSeconds?: number | undefined;
808
- fullSyncIntervalSeconds?: number | undefined;
809
- defaultPath?: string | undefined;
810
- universalDataSourceRevision?: string | undefined;
811
- }, {
812
- id: string;
813
- name: string;
814
- key?: string | undefined;
815
- uuid?: string | undefined;
816
- description?: string | undefined;
817
- meta?: Record<string, any> | undefined;
818
- state?: import("..").WorkspaceElementState | undefined;
819
- errors?: import("../..").ErrorDataSchema[] | undefined;
820
- revision?: string | undefined;
821
- createdAt?: string | undefined;
822
- updatedAt?: string | undefined;
823
- archivedAt?: string | undefined;
824
- isDeactivated?: boolean | undefined;
825
- integrationId?: string | undefined;
826
- isCustomized?: boolean | undefined;
827
- udm?: string | undefined;
828
- universalDataSourceId?: string | undefined;
829
- collectionKey?: string | undefined;
830
- collectionParameters?: any;
831
- pullUpdatesIntervalSeconds?: number | undefined;
832
- fullSyncIntervalSeconds?: number | undefined;
833
- defaultPath?: string | undefined;
834
- universalDataSourceRevision?: string | undefined;
835
- }>>;
180
+ }, z.core.$strip>>;
836
181
  connection: z.ZodOptional<z.ZodObject<{
837
182
  id: z.ZodString;
838
- } & {
839
183
  name: z.ZodString;
840
184
  userId: z.ZodString;
841
185
  isTest: z.ZodOptional<z.ZodBoolean>;
842
186
  disconnected: z.ZodOptional<z.ZodBoolean>;
843
187
  isDefunct: z.ZodOptional<z.ZodBoolean>;
844
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
845
- error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
188
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
189
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>;
846
190
  integrationId: z.ZodString;
847
191
  authOptionKey: z.ZodOptional<z.ZodString>;
848
192
  createdAt: z.ZodString;
@@ -852,43 +196,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
852
196
  archivedAt: z.ZodOptional<z.ZodString>;
853
197
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
854
198
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
855
- }, "strip", z.ZodTypeAny, {
856
- id: string;
857
- name: string;
858
- createdAt: string;
859
- updatedAt: string;
860
- integrationId: string;
861
- userId: string;
862
- error?: import("../..").ErrorDataSchema | undefined;
863
- meta?: Record<string, any> | undefined;
864
- state?: import("..").WorkspaceElementState | undefined;
865
- archivedAt?: string | undefined;
866
- isDeactivated?: boolean | undefined;
867
- authOptionKey?: string | undefined;
868
- isTest?: boolean | undefined;
869
- disconnected?: boolean | undefined;
870
- isDefunct?: boolean | undefined;
871
- lastActiveAt?: string | undefined;
872
- nextCredentialsRefreshAt?: string | undefined;
873
- }, {
874
- id: string;
875
- name: string;
876
- createdAt: string;
877
- updatedAt: string;
878
- integrationId: string;
879
- userId: string;
880
- error?: import("../..").ErrorDataSchema | undefined;
881
- meta?: Record<string, any> | undefined;
882
- state?: import("..").WorkspaceElementState | undefined;
883
- archivedAt?: string | undefined;
884
- isDeactivated?: boolean | undefined;
885
- authOptionKey?: string | undefined;
886
- isTest?: boolean | undefined;
887
- disconnected?: boolean | undefined;
888
- isDefunct?: boolean | undefined;
889
- lastActiveAt?: string | undefined;
890
- nextCredentialsRefreshAt?: string | undefined;
891
- }>>;
199
+ }, z.core.$strip>>;
892
200
  integration: z.ZodOptional<z.ZodObject<{
893
201
  id: z.ZodString;
894
202
  key: z.ZodOptional<z.ZodString>;
@@ -896,12 +204,11 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
896
204
  description: z.ZodOptional<z.ZodString>;
897
205
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
898
206
  name: z.ZodString;
899
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
900
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
207
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
208
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
901
209
  revision: z.ZodOptional<z.ZodString>;
902
210
  createdAt: z.ZodOptional<z.ZodString>;
903
211
  updatedAt: z.ZodOptional<z.ZodString>;
904
- } & {
905
212
  logoUri: z.ZodString;
906
213
  connectorId: z.ZodOptional<z.ZodString>;
907
214
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -921,584 +228,15 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
921
228
  isTest: z.ZodOptional<z.ZodBoolean>;
922
229
  appUuid: z.ZodOptional<z.ZodString>;
923
230
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
924
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
925
- }, "strip", z.ZodTypeAny, {
926
- id: string;
927
- name: string;
928
- logoUri: string;
929
- key?: string | undefined;
930
- uuid?: string | undefined;
931
- description?: string | undefined;
932
- meta?: Record<string, any> | undefined;
933
- state?: import("..").WorkspaceElementState | undefined;
934
- errors?: import("../..").ErrorDataSchema[] | undefined;
935
- revision?: string | undefined;
936
- createdAt?: string | undefined;
937
- updatedAt?: string | undefined;
938
- archivedAt?: string | undefined;
939
- isDeactivated?: boolean | undefined;
940
- parameters?: any;
941
- connectorId?: string | undefined;
942
- connectorVersion?: string | undefined;
943
- oAuthCallbackUri?: string | undefined;
944
- hasMissingParameters?: boolean | undefined;
945
- hasDocumentation?: boolean | undefined;
946
- hasOperations?: boolean | undefined;
947
- operationsCount?: number | undefined;
948
- hasData?: boolean | undefined;
949
- dataCollectionsCount?: number | undefined;
950
- hasEvents?: boolean | undefined;
951
- eventsCount?: number | undefined;
952
- hasGlobalWebhooks?: boolean | undefined;
953
- hasUdm?: boolean | undefined;
954
- isTest?: boolean | undefined;
955
- appUuid?: string | undefined;
956
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
957
- }, {
958
- id: string;
959
- name: string;
960
- logoUri: string;
961
- key?: string | undefined;
962
- uuid?: string | undefined;
963
- description?: string | undefined;
964
- meta?: Record<string, any> | undefined;
965
- state?: import("..").WorkspaceElementState | undefined;
966
- errors?: import("../..").ErrorDataSchema[] | undefined;
967
- revision?: string | undefined;
968
- createdAt?: string | undefined;
969
- updatedAt?: string | undefined;
970
- archivedAt?: string | undefined;
971
- isDeactivated?: boolean | undefined;
972
- parameters?: any;
973
- connectorId?: string | undefined;
974
- connectorVersion?: string | undefined;
975
- oAuthCallbackUri?: string | undefined;
976
- hasMissingParameters?: boolean | undefined;
977
- hasDocumentation?: boolean | undefined;
978
- hasOperations?: boolean | undefined;
979
- operationsCount?: number | undefined;
980
- hasData?: boolean | undefined;
981
- dataCollectionsCount?: number | undefined;
982
- hasEvents?: boolean | undefined;
983
- eventsCount?: number | undefined;
984
- hasGlobalWebhooks?: boolean | undefined;
985
- hasUdm?: boolean | undefined;
986
- isTest?: boolean | undefined;
987
- appUuid?: string | undefined;
988
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
989
- }>>;
990
- }, "strip", z.ZodTypeAny, {
991
- id: string;
992
- name: string;
993
- revision: string;
994
- integrationId: string;
995
- userId: string;
996
- connectionId: string;
997
- key?: string | undefined;
998
- connection?: {
999
- id: string;
1000
- name: string;
1001
- createdAt: string;
1002
- updatedAt: string;
1003
- integrationId: string;
1004
- userId: string;
1005
- error?: import("../..").ErrorDataSchema | undefined;
1006
- meta?: Record<string, any> | undefined;
1007
- state?: import("..").WorkspaceElementState | undefined;
1008
- archivedAt?: string | undefined;
1009
- isDeactivated?: boolean | undefined;
1010
- authOptionKey?: string | undefined;
1011
- isTest?: boolean | undefined;
1012
- disconnected?: boolean | undefined;
1013
- isDefunct?: boolean | undefined;
1014
- lastActiveAt?: string | undefined;
1015
- nextCredentialsRefreshAt?: string | undefined;
1016
- } | undefined;
1017
- path?: string | undefined;
1018
- integration?: {
1019
- id: string;
1020
- name: string;
1021
- logoUri: string;
1022
- key?: string | undefined;
1023
- uuid?: string | undefined;
1024
- description?: string | undefined;
1025
- meta?: Record<string, any> | undefined;
1026
- state?: import("..").WorkspaceElementState | undefined;
1027
- errors?: import("../..").ErrorDataSchema[] | undefined;
1028
- revision?: string | undefined;
1029
- createdAt?: string | undefined;
1030
- updatedAt?: string | undefined;
1031
- archivedAt?: string | undefined;
1032
- isDeactivated?: boolean | undefined;
1033
- parameters?: any;
1034
- connectorId?: string | undefined;
1035
- connectorVersion?: string | undefined;
1036
- oAuthCallbackUri?: string | undefined;
1037
- hasMissingParameters?: boolean | undefined;
1038
- hasDocumentation?: boolean | undefined;
1039
- hasOperations?: boolean | undefined;
1040
- operationsCount?: number | undefined;
1041
- hasData?: boolean | undefined;
1042
- dataCollectionsCount?: number | undefined;
1043
- hasEvents?: boolean | undefined;
1044
- eventsCount?: number | undefined;
1045
- hasGlobalWebhooks?: boolean | undefined;
1046
- hasUdm?: boolean | undefined;
1047
- isTest?: boolean | undefined;
1048
- appUuid?: string | undefined;
1049
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1050
- } | undefined;
1051
- uuid?: string | undefined;
1052
- description?: string | undefined;
1053
- meta?: Record<string, any> | undefined;
1054
- state?: import("..").WorkspaceElementState | undefined;
1055
- errors?: import("../..").ErrorDataSchema[] | undefined;
1056
- createdAt?: string | undefined;
1057
- updatedAt?: string | undefined;
1058
- archivedAt?: string | undefined;
1059
- isDeactivated?: boolean | undefined;
1060
- isCustomized?: boolean | undefined;
1061
- instanceKey?: string | undefined;
1062
- udm?: string | undefined;
1063
- collectionSpec?: {
1064
- type: "collection";
1065
- name: string;
1066
- key?: string | undefined;
1067
- match?: {
1068
- fields?: string[] | undefined;
1069
- apiRequests?: {
1070
- method?: unknown;
1071
- path?: unknown;
1072
- }[] | undefined;
1073
- } | undefined;
1074
- search?: {
1075
- apiRequests?: {
1076
- method?: unknown;
1077
- path?: unknown;
1078
- }[] | undefined;
1079
- } | undefined;
1080
- find?: {
1081
- apiRequests?: {
1082
- method?: unknown;
1083
- path?: unknown;
1084
- }[] | undefined;
1085
- queryFields?: string[] | undefined;
1086
- } | undefined;
1087
- delete?: {
1088
- apiRequests?: {
1089
- method?: unknown;
1090
- path?: unknown;
1091
- }[] | undefined;
1092
- } | undefined;
1093
- list?: {
1094
- apiRequests?: {
1095
- method?: unknown;
1096
- path?: unknown;
1097
- }[] | undefined;
1098
- filterFields?: string[] | undefined;
1099
- } | undefined;
1100
- create?: {
1101
- fields?: string[] | undefined;
1102
- apiRequests?: {
1103
- method?: unknown;
1104
- path?: unknown;
1105
- }[] | undefined;
1106
- requiredFields?: string[] | undefined;
1107
- excludedFields?: string[] | undefined;
1108
- } | undefined;
1109
- udm?: Record<string, {
1110
- fields?: string[] | undefined;
1111
- extract?: Record<string, any> | undefined;
1112
- parse?: Record<string, any> | undefined;
1113
- }> | undefined;
1114
- events?: z.objectOutputType<{
1115
- created: z.ZodOptional<z.ZodObject<{
1116
- type: z.ZodEnum<["push", "pull"]>;
1117
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1118
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1119
- }, "strip", z.ZodTypeAny, {
1120
- type: "push" | "pull";
1121
- isFullScan?: boolean | undefined;
1122
- isIdOnly?: boolean | undefined;
1123
- }, {
1124
- type: "push" | "pull";
1125
- isFullScan?: boolean | undefined;
1126
- isIdOnly?: boolean | undefined;
1127
- }>>;
1128
- updated: z.ZodOptional<z.ZodObject<{
1129
- type: z.ZodEnum<["push", "pull"]>;
1130
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1131
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1132
- }, "strip", z.ZodTypeAny, {
1133
- type: "push" | "pull";
1134
- isFullScan?: boolean | undefined;
1135
- isIdOnly?: boolean | undefined;
1136
- }, {
1137
- type: "push" | "pull";
1138
- isFullScan?: boolean | undefined;
1139
- isIdOnly?: boolean | undefined;
1140
- }>>;
1141
- deleted: z.ZodOptional<z.ZodObject<{
1142
- type: z.ZodEnum<["push", "pull"]>;
1143
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1144
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1145
- }, "strip", z.ZodTypeAny, {
1146
- type: "push" | "pull";
1147
- isFullScan?: boolean | undefined;
1148
- isIdOnly?: boolean | undefined;
1149
- }, {
1150
- type: "push" | "pull";
1151
- isFullScan?: boolean | undefined;
1152
- isIdOnly?: boolean | undefined;
1153
- }>>;
1154
- all: z.ZodOptional<z.ZodObject<{
1155
- type: z.ZodEnum<["push", "pull"]>;
1156
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1157
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1158
- }, "strip", z.ZodTypeAny, {
1159
- type: "push" | "pull";
1160
- isFullScan?: boolean | undefined;
1161
- isIdOnly?: boolean | undefined;
1162
- }, {
1163
- type: "push" | "pull";
1164
- isFullScan?: boolean | undefined;
1165
- isIdOnly?: boolean | undefined;
1166
- }>>;
1167
- }, z.ZodObject<{
1168
- type: z.ZodEnum<["push", "pull"]>;
1169
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1170
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1171
- }, "strip", z.ZodTypeAny, {
1172
- type: "push" | "pull";
1173
- isFullScan?: boolean | undefined;
1174
- isIdOnly?: boolean | undefined;
1175
- }, {
1176
- type: "push" | "pull";
1177
- isFullScan?: boolean | undefined;
1178
- isIdOnly?: boolean | undefined;
1179
- }>, "strip"> | undefined;
1180
- parametersSchema?: import("../..").DataSchema | undefined;
1181
- fieldsSchema?: import("../..").DataSchema | undefined;
1182
- findById?: {
1183
- apiRequests?: {
1184
- method?: unknown;
1185
- path?: unknown;
1186
- }[] | undefined;
1187
- } | undefined;
1188
- update?: {
1189
- fields?: string[] | undefined;
1190
- apiRequests?: {
1191
- method?: unknown;
1192
- path?: unknown;
1193
- }[] | undefined;
1194
- excludedFields?: string[] | undefined;
1195
- } | undefined;
1196
- customFields?: boolean | undefined;
1197
- } | undefined;
1198
- user?: {
1199
- id: string;
1200
- name: string;
1201
- internalId: string;
1202
- meta?: Record<string, any> | undefined;
1203
- createdAt?: string | undefined;
1204
- archivedAt?: string | undefined;
1205
- credentials?: any;
1206
- fields?: Record<string, any> | undefined;
1207
- isTest?: boolean | undefined;
1208
- lastActiveAt?: string | undefined;
1209
- isBillable?: boolean | undefined;
1210
- } | undefined;
1211
- dataSourceId?: string | undefined;
1212
- dataSourceRevision?: string | undefined;
1213
- universalDataSourceId?: string | undefined;
1214
- collectionKey?: string | undefined;
1215
- collectionParameters?: any;
1216
- defaultCollectionKey?: string | undefined;
1217
- defaultCollectionParameters?: any;
1218
- pullUpdatesIntervalSeconds?: number | undefined;
1219
- fullSyncIntervalSeconds?: number | undefined;
1220
- defaultPath?: string | undefined;
1221
- dataSource?: {
1222
- id: string;
1223
- name: string;
1224
- key?: string | undefined;
1225
- uuid?: string | undefined;
1226
- description?: string | undefined;
1227
- meta?: Record<string, any> | undefined;
1228
- state?: import("..").WorkspaceElementState | undefined;
1229
- errors?: import("../..").ErrorDataSchema[] | undefined;
1230
- revision?: string | undefined;
1231
- createdAt?: string | undefined;
1232
- updatedAt?: string | undefined;
1233
- archivedAt?: string | undefined;
1234
- isDeactivated?: boolean | undefined;
1235
- integrationId?: string | undefined;
1236
- isCustomized?: boolean | undefined;
1237
- udm?: string | undefined;
1238
- universalDataSourceId?: string | undefined;
1239
- collectionKey?: string | undefined;
1240
- collectionParameters?: any;
1241
- pullUpdatesIntervalSeconds?: number | undefined;
1242
- fullSyncIntervalSeconds?: number | undefined;
1243
- defaultPath?: string | undefined;
1244
- universalDataSourceRevision?: string | undefined;
1245
- } | undefined;
1246
- }, {
1247
- id: string;
1248
- name: string;
1249
- revision: string;
1250
- integrationId: string;
1251
- userId: string;
1252
- connectionId: string;
1253
- key?: string | undefined;
1254
- connection?: {
1255
- id: string;
1256
- name: string;
1257
- createdAt: string;
1258
- updatedAt: string;
1259
- integrationId: string;
1260
- userId: string;
1261
- error?: import("../..").ErrorDataSchema | undefined;
1262
- meta?: Record<string, any> | undefined;
1263
- state?: import("..").WorkspaceElementState | undefined;
1264
- archivedAt?: string | undefined;
1265
- isDeactivated?: boolean | undefined;
1266
- authOptionKey?: string | undefined;
1267
- isTest?: boolean | undefined;
1268
- disconnected?: boolean | undefined;
1269
- isDefunct?: boolean | undefined;
1270
- lastActiveAt?: string | undefined;
1271
- nextCredentialsRefreshAt?: string | undefined;
1272
- } | undefined;
1273
- path?: string | undefined;
1274
- integration?: {
1275
- id: string;
1276
- name: string;
1277
- logoUri: string;
1278
- key?: string | undefined;
1279
- uuid?: string | undefined;
1280
- description?: string | undefined;
1281
- meta?: Record<string, any> | undefined;
1282
- state?: import("..").WorkspaceElementState | undefined;
1283
- errors?: import("../..").ErrorDataSchema[] | undefined;
1284
- revision?: string | undefined;
1285
- createdAt?: string | undefined;
1286
- updatedAt?: string | undefined;
1287
- archivedAt?: string | undefined;
1288
- isDeactivated?: boolean | undefined;
1289
- parameters?: any;
1290
- connectorId?: string | undefined;
1291
- connectorVersion?: string | undefined;
1292
- oAuthCallbackUri?: string | undefined;
1293
- hasMissingParameters?: boolean | undefined;
1294
- hasDocumentation?: boolean | undefined;
1295
- hasOperations?: boolean | undefined;
1296
- operationsCount?: number | undefined;
1297
- hasData?: boolean | undefined;
1298
- dataCollectionsCount?: number | undefined;
1299
- hasEvents?: boolean | undefined;
1300
- eventsCount?: number | undefined;
1301
- hasGlobalWebhooks?: boolean | undefined;
1302
- hasUdm?: boolean | undefined;
1303
- isTest?: boolean | undefined;
1304
- appUuid?: string | undefined;
1305
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1306
- } | undefined;
1307
- uuid?: string | undefined;
1308
- description?: string | undefined;
1309
- meta?: Record<string, any> | undefined;
1310
- state?: import("..").WorkspaceElementState | undefined;
1311
- errors?: import("../..").ErrorDataSchema[] | undefined;
1312
- createdAt?: string | undefined;
1313
- updatedAt?: string | undefined;
1314
- archivedAt?: string | undefined;
1315
- isDeactivated?: boolean | undefined;
1316
- isCustomized?: boolean | undefined;
1317
- instanceKey?: string | undefined;
1318
- udm?: string | undefined;
1319
- collectionSpec?: {
1320
- type: "collection";
1321
- name: string;
1322
- key?: string | undefined;
1323
- match?: {
1324
- fields?: string[] | undefined;
1325
- apiRequests?: {
1326
- method?: unknown;
1327
- path?: unknown;
1328
- }[] | undefined;
1329
- } | undefined;
1330
- search?: {
1331
- apiRequests?: {
1332
- method?: unknown;
1333
- path?: unknown;
1334
- }[] | undefined;
1335
- } | undefined;
1336
- find?: {
1337
- apiRequests?: {
1338
- method?: unknown;
1339
- path?: unknown;
1340
- }[] | undefined;
1341
- queryFields?: string[] | undefined;
1342
- } | undefined;
1343
- delete?: {
1344
- apiRequests?: {
1345
- method?: unknown;
1346
- path?: unknown;
1347
- }[] | undefined;
1348
- } | undefined;
1349
- list?: {
1350
- apiRequests?: {
1351
- method?: unknown;
1352
- path?: unknown;
1353
- }[] | undefined;
1354
- filterFields?: string[] | undefined;
1355
- } | undefined;
1356
- create?: {
1357
- fields?: string[] | undefined;
1358
- apiRequests?: {
1359
- method?: unknown;
1360
- path?: unknown;
1361
- }[] | undefined;
1362
- requiredFields?: string[] | undefined;
1363
- excludedFields?: string[] | undefined;
1364
- } | undefined;
1365
- udm?: Record<string, {
1366
- fields?: string[] | undefined;
1367
- extract?: Record<string, any> | undefined;
1368
- parse?: Record<string, any> | undefined;
1369
- }> | undefined;
1370
- events?: z.objectInputType<{
1371
- created: z.ZodOptional<z.ZodObject<{
1372
- type: z.ZodEnum<["push", "pull"]>;
1373
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1374
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1375
- }, "strip", z.ZodTypeAny, {
1376
- type: "push" | "pull";
1377
- isFullScan?: boolean | undefined;
1378
- isIdOnly?: boolean | undefined;
1379
- }, {
1380
- type: "push" | "pull";
1381
- isFullScan?: boolean | undefined;
1382
- isIdOnly?: boolean | undefined;
1383
- }>>;
1384
- updated: z.ZodOptional<z.ZodObject<{
1385
- type: z.ZodEnum<["push", "pull"]>;
1386
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1387
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1388
- }, "strip", z.ZodTypeAny, {
1389
- type: "push" | "pull";
1390
- isFullScan?: boolean | undefined;
1391
- isIdOnly?: boolean | undefined;
1392
- }, {
1393
- type: "push" | "pull";
1394
- isFullScan?: boolean | undefined;
1395
- isIdOnly?: boolean | undefined;
1396
- }>>;
1397
- deleted: z.ZodOptional<z.ZodObject<{
1398
- type: z.ZodEnum<["push", "pull"]>;
1399
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1400
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1401
- }, "strip", z.ZodTypeAny, {
1402
- type: "push" | "pull";
1403
- isFullScan?: boolean | undefined;
1404
- isIdOnly?: boolean | undefined;
1405
- }, {
1406
- type: "push" | "pull";
1407
- isFullScan?: boolean | undefined;
1408
- isIdOnly?: boolean | undefined;
1409
- }>>;
1410
- all: z.ZodOptional<z.ZodObject<{
1411
- type: z.ZodEnum<["push", "pull"]>;
1412
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1413
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1414
- }, "strip", z.ZodTypeAny, {
1415
- type: "push" | "pull";
1416
- isFullScan?: boolean | undefined;
1417
- isIdOnly?: boolean | undefined;
1418
- }, {
1419
- type: "push" | "pull";
1420
- isFullScan?: boolean | undefined;
1421
- isIdOnly?: boolean | undefined;
1422
- }>>;
1423
- }, z.ZodObject<{
1424
- type: z.ZodEnum<["push", "pull"]>;
1425
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1426
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1427
- }, "strip", z.ZodTypeAny, {
1428
- type: "push" | "pull";
1429
- isFullScan?: boolean | undefined;
1430
- isIdOnly?: boolean | undefined;
1431
- }, {
1432
- type: "push" | "pull";
1433
- isFullScan?: boolean | undefined;
1434
- isIdOnly?: boolean | undefined;
1435
- }>, "strip"> | undefined;
1436
- parametersSchema?: import("../..").DataSchema | undefined;
1437
- fieldsSchema?: import("../..").DataSchema | undefined;
1438
- findById?: {
1439
- apiRequests?: {
1440
- method?: unknown;
1441
- path?: unknown;
1442
- }[] | undefined;
1443
- } | undefined;
1444
- update?: {
1445
- fields?: string[] | undefined;
1446
- apiRequests?: {
1447
- method?: unknown;
1448
- path?: unknown;
1449
- }[] | undefined;
1450
- excludedFields?: string[] | undefined;
1451
- } | undefined;
1452
- customFields?: boolean | undefined;
1453
- } | undefined;
1454
- user?: {
1455
- id: string;
1456
- name: string;
1457
- internalId: string;
1458
- meta?: Record<string, any> | undefined;
1459
- createdAt?: string | undefined;
1460
- archivedAt?: string | undefined;
1461
- credentials?: any;
1462
- fields?: Record<string, any> | undefined;
1463
- isTest?: boolean | undefined;
1464
- lastActiveAt?: string | undefined;
1465
- isBillable?: boolean | undefined;
1466
- } | undefined;
1467
- dataSourceId?: string | undefined;
1468
- dataSourceRevision?: string | undefined;
1469
- universalDataSourceId?: string | undefined;
1470
- collectionKey?: string | undefined;
1471
- collectionParameters?: any;
1472
- defaultCollectionKey?: string | undefined;
1473
- defaultCollectionParameters?: any;
1474
- pullUpdatesIntervalSeconds?: number | undefined;
1475
- fullSyncIntervalSeconds?: number | undefined;
1476
- defaultPath?: string | undefined;
1477
- dataSource?: {
1478
- id: string;
1479
- name: string;
1480
- key?: string | undefined;
1481
- uuid?: string | undefined;
1482
- description?: string | undefined;
1483
- meta?: Record<string, any> | undefined;
1484
- state?: import("..").WorkspaceElementState | undefined;
1485
- errors?: import("../..").ErrorDataSchema[] | undefined;
1486
- revision?: string | undefined;
1487
- createdAt?: string | undefined;
1488
- updatedAt?: string | undefined;
1489
- archivedAt?: string | undefined;
1490
- isDeactivated?: boolean | undefined;
1491
- integrationId?: string | undefined;
1492
- isCustomized?: boolean | undefined;
1493
- udm?: string | undefined;
1494
- universalDataSourceId?: string | undefined;
1495
- collectionKey?: string | undefined;
1496
- collectionParameters?: any;
1497
- pullUpdatesIntervalSeconds?: number | undefined;
1498
- fullSyncIntervalSeconds?: number | undefined;
1499
- defaultPath?: string | undefined;
1500
- universalDataSourceRevision?: string | undefined;
1501
- } | undefined;
1502
- }>;
231
+ authType: z.ZodOptional<z.ZodEnum<{
232
+ proxy: "proxy";
233
+ "integration-app-token": "integration-app-token";
234
+ "membrane-token": "membrane-token";
235
+ oauth2: "oauth2";
236
+ oauth1: "oauth1";
237
+ "client-credentials": "client-credentials";
238
+ }>>;
239
+ }, z.core.$strip>>;
240
+ }, z.core.$strip>;
1503
241
  export type DataSourceInstanceApiResponse = z.infer<typeof DataSourceInstanceApiResponse>;
1504
242
  export type DataSourceInstance = DataSourceInstanceApiResponse;