@membranehq/sdk 0.7.3 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/bundle.d.ts +2283 -14038
  2. package/dist/bundle.js +3949 -4253
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +28 -28
  5. package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
  6. package/dist/dts/config/index.d.ts +1 -11
  7. package/dist/dts/date-time/business-day.d.ts +2 -0
  8. package/dist/dts/date-time/business-day.test.d.ts +1 -0
  9. package/dist/dts/date-time/index.d.ts +1 -0
  10. package/dist/dts/entity-repository.d.ts +13 -64
  11. package/dist/dts/http-requests.d.ts +2 -14
  12. package/dist/dts/iframe.d.ts +4 -12
  13. package/dist/dts/scenario-templates/index.d.ts +60 -484
  14. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
  15. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
  16. package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
  17. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
  18. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
  19. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
  20. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
  21. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
  22. package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
  23. package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
  24. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
  25. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
  26. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +86 -1359
  27. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
  28. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
  29. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
  30. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
  31. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
  32. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +125 -2363
  33. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
  34. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
  35. package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
  36. package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
  37. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
  38. package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
  39. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
  40. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
  41. package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
  42. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
  43. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
  44. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
  45. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
  46. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
  47. package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
  49. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
  50. package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
  51. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
  52. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
  53. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
  54. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +57 -2
  55. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
  56. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
  57. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
  58. package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
  59. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +10 -77
  60. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
  61. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
  62. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
  63. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
  64. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
  65. package/dist/dts/workspace-elements/base/flows/index.d.ts +80 -1
  66. package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
  67. package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
  68. package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
  69. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
  70. package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
  71. package/dist/dts/workspace-elements/types.d.ts +15 -153
  72. package/dist/index.browser.d.mts +7609 -26109
  73. package/dist/index.browser.d.ts +7609 -26109
  74. package/dist/index.browser.js +420 -419
  75. package/dist/index.browser.js.map +1 -1
  76. package/dist/index.browser.mjs +412 -415
  77. package/dist/index.browser.mjs.map +1 -1
  78. package/dist/index.node.d.mts +7537 -26047
  79. package/dist/index.node.d.ts +7537 -26047
  80. package/dist/index.node.js +420 -419
  81. package/dist/index.node.js.map +1 -1
  82. package/dist/index.node.mjs +412 -415
  83. package/dist/index.node.mjs.map +1 -1
  84. package/package.json +2 -2
  85. package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
  86. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
  87. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
  88. package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
@@ -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"]>;
216
- isFullScan: z.ZodOptional<z.ZodBoolean>;
217
- 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
- }>>;
227
- updated: z.ZodOptional<z.ZodObject<{
228
- type: z.ZodEnum<["push", "pull"]>;
229
- isFullScan: z.ZodOptional<z.ZodBoolean>;
230
- 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
- }>>;
240
- deleted: z.ZodOptional<z.ZodObject<{
241
- type: z.ZodEnum<["push", "pull"]>;
242
- isFullScan: z.ZodOptional<z.ZodBoolean>;
243
- 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
- }>>;
253
- 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"]>;
268
- isFullScan: z.ZodOptional<z.ZodBoolean>;
269
- 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"]>;
84
+ type: z.ZodEnum<{
85
+ push: "push";
86
+ pull: "pull";
87
+ }>;
346
88
  isFullScan: z.ZodOptional<z.ZodBoolean>;
347
89
  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
- }>>;
90
+ }, z.core.$strip>>;
357
91
  updated: z.ZodOptional<z.ZodObject<{
358
- type: z.ZodEnum<["push", "pull"]>;
92
+ type: z.ZodEnum<{
93
+ push: "push";
94
+ pull: "pull";
95
+ }>;
359
96
  isFullScan: z.ZodOptional<z.ZodBoolean>;
360
97
  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
- }>>;
98
+ }, z.core.$strip>>;
370
99
  deleted: z.ZodOptional<z.ZodObject<{
371
- type: z.ZodEnum<["push", "pull"]>;
100
+ type: z.ZodEnum<{
101
+ push: "push";
102
+ pull: "pull";
103
+ }>;
372
104
  isFullScan: z.ZodOptional<z.ZodBoolean>;
373
105
  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
- }>>;
106
+ }, z.core.$strip>>;
383
107
  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"]>;
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
+ }>;
398
120
  isFullScan: z.ZodOptional<z.ZodBoolean>;
399
121
  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,122 +152,41 @@ 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
- parentId: z.ZodOptional<z.ZodString>;
770
- } & {
163
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
164
+ udm: z.ZodOptional<z.ZodString>;
165
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
166
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
167
+ collectionKey: z.ZodOptional<z.ZodString>;
168
+ collectionParameters: z.ZodOptional<z.ZodAny>;
169
+ defaultPath: z.ZodOptional<z.ZodString>;
771
170
  name: z.ZodString;
772
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
773
- 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>>>>;
774
173
  revision: z.ZodOptional<z.ZodString>;
775
174
  createdAt: z.ZodOptional<z.ZodString>;
776
175
  updatedAt: z.ZodOptional<z.ZodString>;
777
176
  archivedAt: z.ZodOptional<z.ZodString>;
778
177
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
779
178
  isCustomized: z.ZodOptional<z.ZodBoolean>;
780
- } & {
781
- publishedRevision: z.ZodOptional<z.ZodString>;
782
- universalDataSourceId: z.ZodOptional<z.ZodString>;
783
179
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
784
- udm: z.ZodOptional<z.ZodString>;
785
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
786
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
787
- collectionKey: z.ZodOptional<z.ZodString>;
788
- collectionParameters: z.ZodOptional<z.ZodAny>;
789
- defaultPath: z.ZodOptional<z.ZodString>;
790
- }, "strip", z.ZodTypeAny, {
791
- id: string;
792
- name: string;
793
- key?: string | undefined;
794
- uuid?: string | undefined;
795
- description?: string | undefined;
796
- meta?: Record<string, any> | undefined;
797
- state?: import("..").WorkspaceElementState | undefined;
798
- errors?: import("../..").ErrorDataSchema[] | undefined;
799
- revision?: string | undefined;
800
- createdAt?: string | undefined;
801
- updatedAt?: string | undefined;
802
- archivedAt?: string | undefined;
803
- isDeactivated?: boolean | undefined;
804
- integrationId?: string | undefined;
805
- parentId?: string | undefined;
806
- isCustomized?: boolean | undefined;
807
- publishedRevision?: string | undefined;
808
- udm?: string | undefined;
809
- universalDataSourceId?: string | undefined;
810
- collectionKey?: string | undefined;
811
- collectionParameters?: any;
812
- pullUpdatesIntervalSeconds?: number | undefined;
813
- fullSyncIntervalSeconds?: number | undefined;
814
- defaultPath?: string | undefined;
815
- universalDataSourceRevision?: string | undefined;
816
- }, {
817
- id: string;
818
- name: string;
819
- key?: string | undefined;
820
- uuid?: string | undefined;
821
- description?: string | undefined;
822
- meta?: Record<string, any> | undefined;
823
- state?: import("..").WorkspaceElementState | undefined;
824
- errors?: import("../..").ErrorDataSchema[] | undefined;
825
- revision?: string | undefined;
826
- createdAt?: string | undefined;
827
- updatedAt?: string | undefined;
828
- archivedAt?: string | undefined;
829
- isDeactivated?: boolean | undefined;
830
- integrationId?: string | undefined;
831
- parentId?: string | undefined;
832
- isCustomized?: boolean | undefined;
833
- publishedRevision?: string | undefined;
834
- udm?: string | undefined;
835
- universalDataSourceId?: string | undefined;
836
- collectionKey?: string | undefined;
837
- collectionParameters?: any;
838
- pullUpdatesIntervalSeconds?: number | undefined;
839
- fullSyncIntervalSeconds?: number | undefined;
840
- defaultPath?: string | undefined;
841
- universalDataSourceRevision?: string | undefined;
842
- }>>;
180
+ }, z.core.$strip>>;
843
181
  connection: z.ZodOptional<z.ZodObject<{
844
182
  id: z.ZodString;
845
- } & {
846
183
  name: z.ZodString;
847
184
  userId: z.ZodString;
848
185
  isTest: z.ZodOptional<z.ZodBoolean>;
849
186
  disconnected: z.ZodOptional<z.ZodBoolean>;
850
187
  isDefunct: z.ZodOptional<z.ZodBoolean>;
851
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
852
- 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>>>;
853
190
  integrationId: z.ZodString;
854
191
  authOptionKey: z.ZodOptional<z.ZodString>;
855
192
  createdAt: z.ZodString;
@@ -859,43 +196,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
859
196
  archivedAt: z.ZodOptional<z.ZodString>;
860
197
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
861
198
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
862
- }, "strip", z.ZodTypeAny, {
863
- id: string;
864
- name: string;
865
- createdAt: string;
866
- updatedAt: string;
867
- integrationId: string;
868
- userId: string;
869
- error?: import("../..").ErrorDataSchema | undefined;
870
- meta?: Record<string, any> | undefined;
871
- state?: import("..").WorkspaceElementState | undefined;
872
- archivedAt?: string | undefined;
873
- isDeactivated?: boolean | undefined;
874
- authOptionKey?: string | undefined;
875
- isTest?: boolean | undefined;
876
- disconnected?: boolean | undefined;
877
- isDefunct?: boolean | undefined;
878
- lastActiveAt?: string | undefined;
879
- nextCredentialsRefreshAt?: string | undefined;
880
- }, {
881
- id: string;
882
- name: string;
883
- createdAt: string;
884
- updatedAt: string;
885
- integrationId: string;
886
- userId: string;
887
- error?: import("../..").ErrorDataSchema | undefined;
888
- meta?: Record<string, any> | undefined;
889
- state?: import("..").WorkspaceElementState | undefined;
890
- archivedAt?: string | undefined;
891
- isDeactivated?: boolean | undefined;
892
- authOptionKey?: string | undefined;
893
- isTest?: boolean | undefined;
894
- disconnected?: boolean | undefined;
895
- isDefunct?: boolean | undefined;
896
- lastActiveAt?: string | undefined;
897
- nextCredentialsRefreshAt?: string | undefined;
898
- }>>;
199
+ }, z.core.$strip>>;
899
200
  integration: z.ZodOptional<z.ZodObject<{
900
201
  id: z.ZodString;
901
202
  key: z.ZodOptional<z.ZodString>;
@@ -903,12 +204,11 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
903
204
  description: z.ZodOptional<z.ZodString>;
904
205
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
905
206
  name: z.ZodString;
906
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
907
- 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>>>>;
908
209
  revision: z.ZodOptional<z.ZodString>;
909
210
  createdAt: z.ZodOptional<z.ZodString>;
910
211
  updatedAt: z.ZodOptional<z.ZodString>;
911
- } & {
912
212
  logoUri: z.ZodString;
913
213
  connectorId: z.ZodOptional<z.ZodString>;
914
214
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -928,588 +228,15 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
928
228
  isTest: z.ZodOptional<z.ZodBoolean>;
929
229
  appUuid: z.ZodOptional<z.ZodString>;
930
230
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
931
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
932
- }, "strip", z.ZodTypeAny, {
933
- id: string;
934
- name: string;
935
- logoUri: string;
936
- key?: string | undefined;
937
- uuid?: string | undefined;
938
- description?: string | undefined;
939
- meta?: Record<string, any> | undefined;
940
- state?: import("..").WorkspaceElementState | undefined;
941
- errors?: import("../..").ErrorDataSchema[] | undefined;
942
- revision?: string | undefined;
943
- createdAt?: string | undefined;
944
- updatedAt?: string | undefined;
945
- archivedAt?: string | undefined;
946
- isDeactivated?: boolean | undefined;
947
- parameters?: any;
948
- connectorId?: string | undefined;
949
- connectorVersion?: string | undefined;
950
- oAuthCallbackUri?: string | undefined;
951
- hasMissingParameters?: boolean | undefined;
952
- hasDocumentation?: boolean | undefined;
953
- hasOperations?: boolean | undefined;
954
- operationsCount?: number | undefined;
955
- hasData?: boolean | undefined;
956
- dataCollectionsCount?: number | undefined;
957
- hasEvents?: boolean | undefined;
958
- eventsCount?: number | undefined;
959
- hasGlobalWebhooks?: boolean | undefined;
960
- hasUdm?: boolean | undefined;
961
- isTest?: boolean | undefined;
962
- appUuid?: string | undefined;
963
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
964
- }, {
965
- id: string;
966
- name: string;
967
- logoUri: string;
968
- key?: string | undefined;
969
- uuid?: string | undefined;
970
- description?: string | undefined;
971
- meta?: Record<string, any> | undefined;
972
- state?: import("..").WorkspaceElementState | undefined;
973
- errors?: import("../..").ErrorDataSchema[] | undefined;
974
- revision?: string | undefined;
975
- createdAt?: string | undefined;
976
- updatedAt?: string | undefined;
977
- archivedAt?: string | undefined;
978
- isDeactivated?: boolean | undefined;
979
- parameters?: any;
980
- connectorId?: string | undefined;
981
- connectorVersion?: string | undefined;
982
- oAuthCallbackUri?: string | undefined;
983
- hasMissingParameters?: boolean | undefined;
984
- hasDocumentation?: boolean | undefined;
985
- hasOperations?: boolean | undefined;
986
- operationsCount?: number | undefined;
987
- hasData?: boolean | undefined;
988
- dataCollectionsCount?: number | undefined;
989
- hasEvents?: boolean | undefined;
990
- eventsCount?: number | undefined;
991
- hasGlobalWebhooks?: boolean | undefined;
992
- hasUdm?: boolean | undefined;
993
- isTest?: boolean | undefined;
994
- appUuid?: string | undefined;
995
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
996
- }>>;
997
- }, "strip", z.ZodTypeAny, {
998
- id: string;
999
- name: string;
1000
- revision: string;
1001
- integrationId: string;
1002
- userId: string;
1003
- connectionId: string;
1004
- key?: string | undefined;
1005
- connection?: {
1006
- id: string;
1007
- name: string;
1008
- createdAt: string;
1009
- updatedAt: string;
1010
- integrationId: string;
1011
- userId: string;
1012
- error?: import("../..").ErrorDataSchema | undefined;
1013
- meta?: Record<string, any> | undefined;
1014
- state?: import("..").WorkspaceElementState | undefined;
1015
- archivedAt?: string | undefined;
1016
- isDeactivated?: boolean | undefined;
1017
- authOptionKey?: string | undefined;
1018
- isTest?: boolean | undefined;
1019
- disconnected?: boolean | undefined;
1020
- isDefunct?: boolean | undefined;
1021
- lastActiveAt?: string | undefined;
1022
- nextCredentialsRefreshAt?: string | undefined;
1023
- } | undefined;
1024
- path?: string | undefined;
1025
- integration?: {
1026
- id: string;
1027
- name: string;
1028
- logoUri: string;
1029
- key?: string | undefined;
1030
- uuid?: string | undefined;
1031
- description?: string | undefined;
1032
- meta?: Record<string, any> | undefined;
1033
- state?: import("..").WorkspaceElementState | undefined;
1034
- errors?: import("../..").ErrorDataSchema[] | undefined;
1035
- revision?: string | undefined;
1036
- createdAt?: string | undefined;
1037
- updatedAt?: string | undefined;
1038
- archivedAt?: string | undefined;
1039
- isDeactivated?: boolean | undefined;
1040
- parameters?: any;
1041
- connectorId?: string | undefined;
1042
- connectorVersion?: string | undefined;
1043
- oAuthCallbackUri?: string | undefined;
1044
- hasMissingParameters?: boolean | undefined;
1045
- hasDocumentation?: boolean | undefined;
1046
- hasOperations?: boolean | undefined;
1047
- operationsCount?: number | undefined;
1048
- hasData?: boolean | undefined;
1049
- dataCollectionsCount?: number | undefined;
1050
- hasEvents?: boolean | undefined;
1051
- eventsCount?: number | undefined;
1052
- hasGlobalWebhooks?: boolean | undefined;
1053
- hasUdm?: boolean | undefined;
1054
- isTest?: boolean | undefined;
1055
- appUuid?: string | undefined;
1056
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1057
- } | undefined;
1058
- uuid?: string | undefined;
1059
- description?: string | undefined;
1060
- meta?: Record<string, any> | undefined;
1061
- state?: import("..").WorkspaceElementState | undefined;
1062
- errors?: import("../..").ErrorDataSchema[] | undefined;
1063
- createdAt?: string | undefined;
1064
- updatedAt?: string | undefined;
1065
- archivedAt?: string | undefined;
1066
- isDeactivated?: boolean | undefined;
1067
- isCustomized?: boolean | undefined;
1068
- instanceKey?: string | undefined;
1069
- dataSourceId?: string | undefined;
1070
- udm?: string | undefined;
1071
- collectionSpec?: {
1072
- type: "collection";
1073
- name: string;
1074
- key?: string | undefined;
1075
- match?: {
1076
- fields?: string[] | undefined;
1077
- apiRequests?: {
1078
- method?: unknown;
1079
- path?: unknown;
1080
- }[] | undefined;
1081
- } | undefined;
1082
- search?: {
1083
- apiRequests?: {
1084
- method?: unknown;
1085
- path?: unknown;
1086
- }[] | undefined;
1087
- } | undefined;
1088
- find?: {
1089
- apiRequests?: {
1090
- method?: unknown;
1091
- path?: unknown;
1092
- }[] | undefined;
1093
- queryFields?: string[] | undefined;
1094
- } | undefined;
1095
- delete?: {
1096
- apiRequests?: {
1097
- method?: unknown;
1098
- path?: unknown;
1099
- }[] | undefined;
1100
- } | undefined;
1101
- list?: {
1102
- apiRequests?: {
1103
- method?: unknown;
1104
- path?: unknown;
1105
- }[] | undefined;
1106
- filterFields?: string[] | undefined;
1107
- } | undefined;
1108
- create?: {
1109
- fields?: string[] | undefined;
1110
- apiRequests?: {
1111
- method?: unknown;
1112
- path?: unknown;
1113
- }[] | undefined;
1114
- requiredFields?: string[] | undefined;
1115
- excludedFields?: string[] | undefined;
1116
- } | undefined;
1117
- udm?: Record<string, {
1118
- fields?: string[] | undefined;
1119
- extract?: Record<string, any> | undefined;
1120
- parse?: Record<string, any> | undefined;
1121
- }> | undefined;
1122
- events?: z.objectOutputType<{
1123
- created: z.ZodOptional<z.ZodObject<{
1124
- type: z.ZodEnum<["push", "pull"]>;
1125
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1126
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1127
- }, "strip", z.ZodTypeAny, {
1128
- type: "push" | "pull";
1129
- isFullScan?: boolean | undefined;
1130
- isIdOnly?: boolean | undefined;
1131
- }, {
1132
- type: "push" | "pull";
1133
- isFullScan?: boolean | undefined;
1134
- isIdOnly?: boolean | undefined;
1135
- }>>;
1136
- updated: z.ZodOptional<z.ZodObject<{
1137
- type: z.ZodEnum<["push", "pull"]>;
1138
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1139
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1140
- }, "strip", z.ZodTypeAny, {
1141
- type: "push" | "pull";
1142
- isFullScan?: boolean | undefined;
1143
- isIdOnly?: boolean | undefined;
1144
- }, {
1145
- type: "push" | "pull";
1146
- isFullScan?: boolean | undefined;
1147
- isIdOnly?: boolean | undefined;
1148
- }>>;
1149
- deleted: z.ZodOptional<z.ZodObject<{
1150
- type: z.ZodEnum<["push", "pull"]>;
1151
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1152
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1153
- }, "strip", z.ZodTypeAny, {
1154
- type: "push" | "pull";
1155
- isFullScan?: boolean | undefined;
1156
- isIdOnly?: boolean | undefined;
1157
- }, {
1158
- type: "push" | "pull";
1159
- isFullScan?: boolean | undefined;
1160
- isIdOnly?: boolean | undefined;
1161
- }>>;
1162
- all: z.ZodOptional<z.ZodObject<{
1163
- type: z.ZodEnum<["push", "pull"]>;
1164
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1165
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1166
- }, "strip", z.ZodTypeAny, {
1167
- type: "push" | "pull";
1168
- isFullScan?: boolean | undefined;
1169
- isIdOnly?: boolean | undefined;
1170
- }, {
1171
- type: "push" | "pull";
1172
- isFullScan?: boolean | undefined;
1173
- isIdOnly?: boolean | undefined;
1174
- }>>;
1175
- }, z.ZodObject<{
1176
- type: z.ZodEnum<["push", "pull"]>;
1177
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1178
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1179
- }, "strip", z.ZodTypeAny, {
1180
- type: "push" | "pull";
1181
- isFullScan?: boolean | undefined;
1182
- isIdOnly?: boolean | undefined;
1183
- }, {
1184
- type: "push" | "pull";
1185
- isFullScan?: boolean | undefined;
1186
- isIdOnly?: boolean | undefined;
1187
- }>, "strip"> | undefined;
1188
- parametersSchema?: import("../..").DataSchema | undefined;
1189
- fieldsSchema?: import("../..").DataSchema | undefined;
1190
- findById?: {
1191
- apiRequests?: {
1192
- method?: unknown;
1193
- path?: unknown;
1194
- }[] | undefined;
1195
- } | undefined;
1196
- update?: {
1197
- fields?: string[] | undefined;
1198
- apiRequests?: {
1199
- method?: unknown;
1200
- path?: unknown;
1201
- }[] | undefined;
1202
- excludedFields?: string[] | undefined;
1203
- } | undefined;
1204
- customFields?: boolean | undefined;
1205
- } | undefined;
1206
- user?: {
1207
- id: string;
1208
- name: string;
1209
- internalId: string;
1210
- meta?: Record<string, any> | undefined;
1211
- createdAt?: string | undefined;
1212
- archivedAt?: string | undefined;
1213
- credentials?: any;
1214
- fields?: Record<string, any> | undefined;
1215
- isTest?: boolean | undefined;
1216
- lastActiveAt?: string | undefined;
1217
- isBillable?: boolean | undefined;
1218
- } | undefined;
1219
- dataSourceRevision?: string | undefined;
1220
- universalDataSourceId?: string | undefined;
1221
- collectionKey?: string | undefined;
1222
- collectionParameters?: any;
1223
- defaultCollectionKey?: string | undefined;
1224
- defaultCollectionParameters?: any;
1225
- pullUpdatesIntervalSeconds?: number | undefined;
1226
- fullSyncIntervalSeconds?: number | undefined;
1227
- defaultPath?: string | undefined;
1228
- dataSource?: {
1229
- id: string;
1230
- name: string;
1231
- key?: string | undefined;
1232
- uuid?: string | undefined;
1233
- description?: string | undefined;
1234
- meta?: Record<string, any> | undefined;
1235
- state?: import("..").WorkspaceElementState | undefined;
1236
- errors?: import("../..").ErrorDataSchema[] | undefined;
1237
- revision?: string | undefined;
1238
- createdAt?: string | undefined;
1239
- updatedAt?: string | undefined;
1240
- archivedAt?: string | undefined;
1241
- isDeactivated?: boolean | undefined;
1242
- integrationId?: string | undefined;
1243
- parentId?: string | undefined;
1244
- isCustomized?: boolean | undefined;
1245
- publishedRevision?: string | undefined;
1246
- udm?: string | undefined;
1247
- universalDataSourceId?: string | undefined;
1248
- collectionKey?: string | undefined;
1249
- collectionParameters?: any;
1250
- pullUpdatesIntervalSeconds?: number | undefined;
1251
- fullSyncIntervalSeconds?: number | undefined;
1252
- defaultPath?: string | undefined;
1253
- universalDataSourceRevision?: string | undefined;
1254
- } | undefined;
1255
- }, {
1256
- id: string;
1257
- name: string;
1258
- revision: string;
1259
- integrationId: string;
1260
- userId: string;
1261
- connectionId: string;
1262
- key?: string | undefined;
1263
- connection?: {
1264
- id: string;
1265
- name: string;
1266
- createdAt: string;
1267
- updatedAt: string;
1268
- integrationId: string;
1269
- userId: string;
1270
- error?: import("../..").ErrorDataSchema | undefined;
1271
- meta?: Record<string, any> | undefined;
1272
- state?: import("..").WorkspaceElementState | undefined;
1273
- archivedAt?: string | undefined;
1274
- isDeactivated?: boolean | undefined;
1275
- authOptionKey?: string | undefined;
1276
- isTest?: boolean | undefined;
1277
- disconnected?: boolean | undefined;
1278
- isDefunct?: boolean | undefined;
1279
- lastActiveAt?: string | undefined;
1280
- nextCredentialsRefreshAt?: string | undefined;
1281
- } | undefined;
1282
- path?: string | undefined;
1283
- integration?: {
1284
- id: string;
1285
- name: string;
1286
- logoUri: string;
1287
- key?: string | undefined;
1288
- uuid?: string | undefined;
1289
- description?: string | undefined;
1290
- meta?: Record<string, any> | undefined;
1291
- state?: import("..").WorkspaceElementState | undefined;
1292
- errors?: import("../..").ErrorDataSchema[] | undefined;
1293
- revision?: string | undefined;
1294
- createdAt?: string | undefined;
1295
- updatedAt?: string | undefined;
1296
- archivedAt?: string | undefined;
1297
- isDeactivated?: boolean | undefined;
1298
- parameters?: any;
1299
- connectorId?: string | undefined;
1300
- connectorVersion?: string | undefined;
1301
- oAuthCallbackUri?: string | undefined;
1302
- hasMissingParameters?: boolean | undefined;
1303
- hasDocumentation?: boolean | undefined;
1304
- hasOperations?: boolean | undefined;
1305
- operationsCount?: number | undefined;
1306
- hasData?: boolean | undefined;
1307
- dataCollectionsCount?: number | undefined;
1308
- hasEvents?: boolean | undefined;
1309
- eventsCount?: number | undefined;
1310
- hasGlobalWebhooks?: boolean | undefined;
1311
- hasUdm?: boolean | undefined;
1312
- isTest?: boolean | undefined;
1313
- appUuid?: string | undefined;
1314
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1315
- } | undefined;
1316
- uuid?: string | undefined;
1317
- description?: string | undefined;
1318
- meta?: Record<string, any> | undefined;
1319
- state?: import("..").WorkspaceElementState | undefined;
1320
- errors?: import("../..").ErrorDataSchema[] | undefined;
1321
- createdAt?: string | undefined;
1322
- updatedAt?: string | undefined;
1323
- archivedAt?: string | undefined;
1324
- isDeactivated?: boolean | undefined;
1325
- isCustomized?: boolean | undefined;
1326
- instanceKey?: string | undefined;
1327
- dataSourceId?: string | undefined;
1328
- udm?: string | undefined;
1329
- collectionSpec?: {
1330
- type: "collection";
1331
- name: string;
1332
- key?: string | undefined;
1333
- match?: {
1334
- fields?: string[] | undefined;
1335
- apiRequests?: {
1336
- method?: unknown;
1337
- path?: unknown;
1338
- }[] | undefined;
1339
- } | undefined;
1340
- search?: {
1341
- apiRequests?: {
1342
- method?: unknown;
1343
- path?: unknown;
1344
- }[] | undefined;
1345
- } | undefined;
1346
- find?: {
1347
- apiRequests?: {
1348
- method?: unknown;
1349
- path?: unknown;
1350
- }[] | undefined;
1351
- queryFields?: string[] | undefined;
1352
- } | undefined;
1353
- delete?: {
1354
- apiRequests?: {
1355
- method?: unknown;
1356
- path?: unknown;
1357
- }[] | undefined;
1358
- } | undefined;
1359
- list?: {
1360
- apiRequests?: {
1361
- method?: unknown;
1362
- path?: unknown;
1363
- }[] | undefined;
1364
- filterFields?: string[] | undefined;
1365
- } | undefined;
1366
- create?: {
1367
- fields?: string[] | undefined;
1368
- apiRequests?: {
1369
- method?: unknown;
1370
- path?: unknown;
1371
- }[] | undefined;
1372
- requiredFields?: string[] | undefined;
1373
- excludedFields?: string[] | undefined;
1374
- } | undefined;
1375
- udm?: Record<string, {
1376
- fields?: string[] | undefined;
1377
- extract?: Record<string, any> | undefined;
1378
- parse?: Record<string, any> | undefined;
1379
- }> | undefined;
1380
- events?: z.objectInputType<{
1381
- created: z.ZodOptional<z.ZodObject<{
1382
- type: z.ZodEnum<["push", "pull"]>;
1383
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1384
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1385
- }, "strip", z.ZodTypeAny, {
1386
- type: "push" | "pull";
1387
- isFullScan?: boolean | undefined;
1388
- isIdOnly?: boolean | undefined;
1389
- }, {
1390
- type: "push" | "pull";
1391
- isFullScan?: boolean | undefined;
1392
- isIdOnly?: boolean | undefined;
1393
- }>>;
1394
- updated: z.ZodOptional<z.ZodObject<{
1395
- type: z.ZodEnum<["push", "pull"]>;
1396
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1397
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1398
- }, "strip", z.ZodTypeAny, {
1399
- type: "push" | "pull";
1400
- isFullScan?: boolean | undefined;
1401
- isIdOnly?: boolean | undefined;
1402
- }, {
1403
- type: "push" | "pull";
1404
- isFullScan?: boolean | undefined;
1405
- isIdOnly?: boolean | undefined;
1406
- }>>;
1407
- deleted: z.ZodOptional<z.ZodObject<{
1408
- type: z.ZodEnum<["push", "pull"]>;
1409
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1410
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1411
- }, "strip", z.ZodTypeAny, {
1412
- type: "push" | "pull";
1413
- isFullScan?: boolean | undefined;
1414
- isIdOnly?: boolean | undefined;
1415
- }, {
1416
- type: "push" | "pull";
1417
- isFullScan?: boolean | undefined;
1418
- isIdOnly?: boolean | undefined;
1419
- }>>;
1420
- all: z.ZodOptional<z.ZodObject<{
1421
- type: z.ZodEnum<["push", "pull"]>;
1422
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1423
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1424
- }, "strip", z.ZodTypeAny, {
1425
- type: "push" | "pull";
1426
- isFullScan?: boolean | undefined;
1427
- isIdOnly?: boolean | undefined;
1428
- }, {
1429
- type: "push" | "pull";
1430
- isFullScan?: boolean | undefined;
1431
- isIdOnly?: boolean | undefined;
1432
- }>>;
1433
- }, z.ZodObject<{
1434
- type: z.ZodEnum<["push", "pull"]>;
1435
- isFullScan: z.ZodOptional<z.ZodBoolean>;
1436
- isIdOnly: z.ZodOptional<z.ZodBoolean>;
1437
- }, "strip", z.ZodTypeAny, {
1438
- type: "push" | "pull";
1439
- isFullScan?: boolean | undefined;
1440
- isIdOnly?: boolean | undefined;
1441
- }, {
1442
- type: "push" | "pull";
1443
- isFullScan?: boolean | undefined;
1444
- isIdOnly?: boolean | undefined;
1445
- }>, "strip"> | undefined;
1446
- parametersSchema?: import("../..").DataSchema | undefined;
1447
- fieldsSchema?: import("../..").DataSchema | undefined;
1448
- findById?: {
1449
- apiRequests?: {
1450
- method?: unknown;
1451
- path?: unknown;
1452
- }[] | undefined;
1453
- } | undefined;
1454
- update?: {
1455
- fields?: string[] | undefined;
1456
- apiRequests?: {
1457
- method?: unknown;
1458
- path?: unknown;
1459
- }[] | undefined;
1460
- excludedFields?: string[] | undefined;
1461
- } | undefined;
1462
- customFields?: boolean | undefined;
1463
- } | undefined;
1464
- user?: {
1465
- id: string;
1466
- name: string;
1467
- internalId: string;
1468
- meta?: Record<string, any> | undefined;
1469
- createdAt?: string | undefined;
1470
- archivedAt?: string | undefined;
1471
- credentials?: any;
1472
- fields?: Record<string, any> | undefined;
1473
- isTest?: boolean | undefined;
1474
- lastActiveAt?: string | undefined;
1475
- isBillable?: boolean | undefined;
1476
- } | undefined;
1477
- dataSourceRevision?: string | undefined;
1478
- universalDataSourceId?: string | undefined;
1479
- collectionKey?: string | undefined;
1480
- collectionParameters?: any;
1481
- defaultCollectionKey?: string | undefined;
1482
- defaultCollectionParameters?: any;
1483
- pullUpdatesIntervalSeconds?: number | undefined;
1484
- fullSyncIntervalSeconds?: number | undefined;
1485
- defaultPath?: string | undefined;
1486
- dataSource?: {
1487
- id: string;
1488
- name: string;
1489
- key?: string | undefined;
1490
- uuid?: string | undefined;
1491
- description?: string | undefined;
1492
- meta?: Record<string, any> | undefined;
1493
- state?: import("..").WorkspaceElementState | undefined;
1494
- errors?: import("../..").ErrorDataSchema[] | undefined;
1495
- revision?: string | undefined;
1496
- createdAt?: string | undefined;
1497
- updatedAt?: string | undefined;
1498
- archivedAt?: string | undefined;
1499
- isDeactivated?: boolean | undefined;
1500
- integrationId?: string | undefined;
1501
- parentId?: string | undefined;
1502
- isCustomized?: boolean | undefined;
1503
- publishedRevision?: string | undefined;
1504
- udm?: string | undefined;
1505
- universalDataSourceId?: string | undefined;
1506
- collectionKey?: string | undefined;
1507
- collectionParameters?: any;
1508
- pullUpdatesIntervalSeconds?: number | undefined;
1509
- fullSyncIntervalSeconds?: number | undefined;
1510
- defaultPath?: string | undefined;
1511
- universalDataSourceRevision?: string | undefined;
1512
- } | undefined;
1513
- }>;
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>;
1514
241
  export type DataSourceInstanceApiResponse = z.infer<typeof DataSourceInstanceApiResponse>;
1515
242
  export type DataSourceInstance = DataSourceInstanceApiResponse;