@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
@@ -7,8 +7,8 @@ import { PaginationResponse } from '../../entity-repository';
7
7
  export declare const DataSourceApiResponse: z.ZodObject<{
8
8
  id: z.ZodString;
9
9
  key: z.ZodOptional<z.ZodString>;
10
- uuid: z.ZodOptional<z.ZodString>;
11
10
  description: z.ZodOptional<z.ZodString>;
11
+ uuid: z.ZodOptional<z.ZodString>;
12
12
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13
13
  integrationId: z.ZodOptional<z.ZodString>;
14
14
  universalDataSourceId: z.ZodOptional<z.ZodString>;
@@ -18,10 +18,9 @@ export declare const DataSourceApiResponse: z.ZodObject<{
18
18
  collectionKey: z.ZodOptional<z.ZodString>;
19
19
  collectionParameters: z.ZodOptional<z.ZodAny>;
20
20
  defaultPath: z.ZodOptional<z.ZodString>;
21
- } & {
22
21
  name: z.ZodString;
23
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
24
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
22
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
23
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
25
24
  revision: z.ZodOptional<z.ZodString>;
26
25
  createdAt: z.ZodOptional<z.ZodString>;
27
26
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -29,7 +28,6 @@ export declare const DataSourceApiResponse: z.ZodObject<{
29
28
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
30
29
  isCustomized: z.ZodOptional<z.ZodBoolean>;
31
30
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
32
- } & {
33
31
  integration: z.ZodOptional<z.ZodObject<{
34
32
  id: z.ZodString;
35
33
  key: z.ZodOptional<z.ZodString>;
@@ -37,12 +35,11 @@ export declare const DataSourceApiResponse: z.ZodObject<{
37
35
  description: z.ZodOptional<z.ZodString>;
38
36
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
39
37
  name: z.ZodString;
40
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
41
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
38
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
39
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
42
40
  revision: z.ZodOptional<z.ZodString>;
43
41
  createdAt: z.ZodOptional<z.ZodString>;
44
42
  updatedAt: z.ZodOptional<z.ZodString>;
45
- } & {
46
43
  logoUri: z.ZodString;
47
44
  connectorId: z.ZodOptional<z.ZodString>;
48
45
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -62,78 +59,21 @@ export declare const DataSourceApiResponse: z.ZodObject<{
62
59
  isTest: z.ZodOptional<z.ZodBoolean>;
63
60
  appUuid: z.ZodOptional<z.ZodString>;
64
61
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
65
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
66
- }, "strip", z.ZodTypeAny, {
67
- id: string;
68
- name: string;
69
- logoUri: string;
70
- key?: string | undefined;
71
- uuid?: string | undefined;
72
- description?: string | undefined;
73
- meta?: Record<string, any> | undefined;
74
- state?: import("..").WorkspaceElementState | undefined;
75
- errors?: import("../..").ErrorDataSchema[] | undefined;
76
- revision?: string | undefined;
77
- createdAt?: string | undefined;
78
- updatedAt?: string | undefined;
79
- archivedAt?: string | undefined;
80
- isDeactivated?: boolean | undefined;
81
- parameters?: any;
82
- connectorId?: string | undefined;
83
- connectorVersion?: string | undefined;
84
- oAuthCallbackUri?: string | undefined;
85
- hasMissingParameters?: boolean | undefined;
86
- hasDocumentation?: boolean | undefined;
87
- hasOperations?: boolean | undefined;
88
- operationsCount?: number | undefined;
89
- hasData?: boolean | undefined;
90
- dataCollectionsCount?: number | undefined;
91
- hasEvents?: boolean | undefined;
92
- eventsCount?: number | undefined;
93
- hasGlobalWebhooks?: boolean | undefined;
94
- hasUdm?: boolean | undefined;
95
- isTest?: boolean | undefined;
96
- appUuid?: string | undefined;
97
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
98
- }, {
99
- id: string;
100
- name: string;
101
- logoUri: string;
102
- key?: string | undefined;
103
- uuid?: string | undefined;
104
- description?: string | undefined;
105
- meta?: Record<string, any> | undefined;
106
- state?: import("..").WorkspaceElementState | undefined;
107
- errors?: import("../..").ErrorDataSchema[] | undefined;
108
- revision?: string | undefined;
109
- createdAt?: string | undefined;
110
- updatedAt?: string | undefined;
111
- archivedAt?: string | undefined;
112
- isDeactivated?: boolean | undefined;
113
- parameters?: any;
114
- connectorId?: string | undefined;
115
- connectorVersion?: string | undefined;
116
- oAuthCallbackUri?: string | undefined;
117
- hasMissingParameters?: boolean | undefined;
118
- hasDocumentation?: boolean | undefined;
119
- hasOperations?: boolean | undefined;
120
- operationsCount?: number | undefined;
121
- hasData?: boolean | undefined;
122
- dataCollectionsCount?: number | undefined;
123
- hasEvents?: boolean | undefined;
124
- eventsCount?: number | undefined;
125
- hasGlobalWebhooks?: boolean | undefined;
126
- hasUdm?: boolean | undefined;
127
- isTest?: boolean | undefined;
128
- appUuid?: string | undefined;
129
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
130
- }>>;
62
+ authType: z.ZodOptional<z.ZodEnum<{
63
+ proxy: "proxy";
64
+ "integration-app-token": "integration-app-token";
65
+ "membrane-token": "membrane-token";
66
+ oauth2: "oauth2";
67
+ oauth1: "oauth1";
68
+ "client-credentials": "client-credentials";
69
+ }>>;
70
+ }, z.core.$strip>>;
131
71
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
72
  element: z.ZodObject<{
133
73
  id: z.ZodString;
134
74
  key: z.ZodOptional<z.ZodString>;
135
- uuid: z.ZodOptional<z.ZodString>;
136
75
  description: z.ZodOptional<z.ZodString>;
76
+ uuid: z.ZodOptional<z.ZodString>;
137
77
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
138
78
  integrationId: z.ZodOptional<z.ZodString>;
139
79
  universalDataSourceId: z.ZodOptional<z.ZodString>;
@@ -143,10 +83,9 @@ export declare const DataSourceApiResponse: z.ZodObject<{
143
83
  collectionKey: z.ZodOptional<z.ZodString>;
144
84
  collectionParameters: z.ZodOptional<z.ZodAny>;
145
85
  defaultPath: z.ZodOptional<z.ZodString>;
146
- } & {
147
86
  name: z.ZodString;
148
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
149
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
87
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
88
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
150
89
  revision: z.ZodOptional<z.ZodString>;
151
90
  createdAt: z.ZodOptional<z.ZodString>;
152
91
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -154,55 +93,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
154
93
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
155
94
  isCustomized: z.ZodOptional<z.ZodBoolean>;
156
95
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
157
- }, "strip", z.ZodTypeAny, {
158
- id: string;
159
- name: string;
160
- key?: string | undefined;
161
- uuid?: string | undefined;
162
- description?: string | undefined;
163
- meta?: Record<string, any> | undefined;
164
- state?: import("..").WorkspaceElementState | undefined;
165
- errors?: import("../..").ErrorDataSchema[] | undefined;
166
- revision?: string | undefined;
167
- createdAt?: string | undefined;
168
- updatedAt?: string | undefined;
169
- archivedAt?: string | undefined;
170
- isDeactivated?: boolean | undefined;
171
- integrationId?: string | undefined;
172
- isCustomized?: boolean | undefined;
173
- udm?: string | undefined;
174
- universalDataSourceId?: string | undefined;
175
- collectionKey?: string | undefined;
176
- collectionParameters?: any;
177
- pullUpdatesIntervalSeconds?: number | undefined;
178
- fullSyncIntervalSeconds?: number | undefined;
179
- defaultPath?: string | undefined;
180
- universalDataSourceRevision?: string | undefined;
181
- }, {
182
- id: string;
183
- name: string;
184
- key?: string | undefined;
185
- uuid?: string | undefined;
186
- description?: string | undefined;
187
- meta?: Record<string, any> | undefined;
188
- state?: import("..").WorkspaceElementState | undefined;
189
- errors?: import("../..").ErrorDataSchema[] | undefined;
190
- revision?: string | undefined;
191
- createdAt?: string | undefined;
192
- updatedAt?: string | undefined;
193
- archivedAt?: string | undefined;
194
- isDeactivated?: boolean | undefined;
195
- integrationId?: string | undefined;
196
- isCustomized?: boolean | undefined;
197
- udm?: string | undefined;
198
- universalDataSourceId?: string | undefined;
199
- collectionKey?: string | undefined;
200
- collectionParameters?: any;
201
- pullUpdatesIntervalSeconds?: number | undefined;
202
- fullSyncIntervalSeconds?: number | undefined;
203
- defaultPath?: string | undefined;
204
- universalDataSourceRevision?: string | undefined;
205
- }>;
96
+ }, z.core.$strip>;
206
97
  integration: z.ZodObject<{
207
98
  id: z.ZodString;
208
99
  key: z.ZodOptional<z.ZodString>;
@@ -210,12 +101,11 @@ export declare const DataSourceApiResponse: z.ZodObject<{
210
101
  description: z.ZodOptional<z.ZodString>;
211
102
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
212
103
  name: z.ZodString;
213
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
214
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
104
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
105
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
215
106
  revision: z.ZodOptional<z.ZodString>;
216
107
  createdAt: z.ZodOptional<z.ZodString>;
217
108
  updatedAt: z.ZodOptional<z.ZodString>;
218
- } & {
219
109
  logoUri: z.ZodString;
220
110
  connectorId: z.ZodOptional<z.ZodString>;
221
111
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -235,465 +125,36 @@ export declare const DataSourceApiResponse: z.ZodObject<{
235
125
  isTest: z.ZodOptional<z.ZodBoolean>;
236
126
  appUuid: z.ZodOptional<z.ZodString>;
237
127
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
238
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
239
- }, "strip", z.ZodTypeAny, {
240
- id: string;
241
- name: string;
242
- logoUri: string;
243
- key?: string | undefined;
244
- uuid?: string | undefined;
245
- description?: string | undefined;
246
- meta?: Record<string, any> | undefined;
247
- state?: import("..").WorkspaceElementState | undefined;
248
- errors?: import("../..").ErrorDataSchema[] | undefined;
249
- revision?: string | undefined;
250
- createdAt?: string | undefined;
251
- updatedAt?: string | undefined;
252
- archivedAt?: string | undefined;
253
- isDeactivated?: boolean | undefined;
254
- parameters?: any;
255
- connectorId?: string | undefined;
256
- connectorVersion?: string | undefined;
257
- oAuthCallbackUri?: string | undefined;
258
- hasMissingParameters?: boolean | undefined;
259
- hasDocumentation?: boolean | undefined;
260
- hasOperations?: boolean | undefined;
261
- operationsCount?: number | undefined;
262
- hasData?: boolean | undefined;
263
- dataCollectionsCount?: number | undefined;
264
- hasEvents?: boolean | undefined;
265
- eventsCount?: number | undefined;
266
- hasGlobalWebhooks?: boolean | undefined;
267
- hasUdm?: boolean | undefined;
268
- isTest?: boolean | undefined;
269
- appUuid?: string | undefined;
270
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
271
- }, {
272
- id: string;
273
- name: string;
274
- logoUri: string;
275
- key?: string | undefined;
276
- uuid?: string | undefined;
277
- description?: string | undefined;
278
- meta?: Record<string, any> | undefined;
279
- state?: import("..").WorkspaceElementState | undefined;
280
- errors?: import("../..").ErrorDataSchema[] | undefined;
281
- revision?: string | undefined;
282
- createdAt?: string | undefined;
283
- updatedAt?: string | undefined;
284
- archivedAt?: string | undefined;
285
- isDeactivated?: boolean | undefined;
286
- parameters?: any;
287
- connectorId?: string | undefined;
288
- connectorVersion?: string | undefined;
289
- oAuthCallbackUri?: string | undefined;
290
- hasMissingParameters?: boolean | undefined;
291
- hasDocumentation?: boolean | undefined;
292
- hasOperations?: boolean | undefined;
293
- operationsCount?: number | undefined;
294
- hasData?: boolean | undefined;
295
- dataCollectionsCount?: number | undefined;
296
- hasEvents?: boolean | undefined;
297
- eventsCount?: number | undefined;
298
- hasGlobalWebhooks?: boolean | undefined;
299
- hasUdm?: boolean | undefined;
300
- isTest?: boolean | undefined;
301
- appUuid?: string | undefined;
302
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
303
- }>;
304
- }, "strip", z.ZodTypeAny, {
305
- integration: {
306
- id: string;
307
- name: string;
308
- logoUri: string;
309
- key?: string | undefined;
310
- uuid?: string | undefined;
311
- description?: string | undefined;
312
- meta?: Record<string, any> | undefined;
313
- state?: import("..").WorkspaceElementState | undefined;
314
- errors?: import("../..").ErrorDataSchema[] | undefined;
315
- revision?: string | undefined;
316
- createdAt?: string | undefined;
317
- updatedAt?: string | undefined;
318
- archivedAt?: string | undefined;
319
- isDeactivated?: boolean | undefined;
320
- parameters?: any;
321
- connectorId?: string | undefined;
322
- connectorVersion?: string | undefined;
323
- oAuthCallbackUri?: string | undefined;
324
- hasMissingParameters?: boolean | undefined;
325
- hasDocumentation?: boolean | undefined;
326
- hasOperations?: boolean | undefined;
327
- operationsCount?: number | undefined;
328
- hasData?: boolean | undefined;
329
- dataCollectionsCount?: number | undefined;
330
- hasEvents?: boolean | undefined;
331
- eventsCount?: number | undefined;
332
- hasGlobalWebhooks?: boolean | undefined;
333
- hasUdm?: boolean | undefined;
334
- isTest?: boolean | undefined;
335
- appUuid?: string | undefined;
336
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
337
- };
338
- element: {
339
- id: string;
340
- name: string;
341
- key?: string | undefined;
342
- uuid?: string | undefined;
343
- description?: string | undefined;
344
- meta?: Record<string, any> | undefined;
345
- state?: import("..").WorkspaceElementState | undefined;
346
- errors?: import("../..").ErrorDataSchema[] | undefined;
347
- revision?: string | undefined;
348
- createdAt?: string | undefined;
349
- updatedAt?: string | undefined;
350
- archivedAt?: string | undefined;
351
- isDeactivated?: boolean | undefined;
352
- integrationId?: string | undefined;
353
- isCustomized?: boolean | undefined;
354
- udm?: string | undefined;
355
- universalDataSourceId?: string | undefined;
356
- collectionKey?: string | undefined;
357
- collectionParameters?: any;
358
- pullUpdatesIntervalSeconds?: number | undefined;
359
- fullSyncIntervalSeconds?: number | undefined;
360
- defaultPath?: string | undefined;
361
- universalDataSourceRevision?: string | undefined;
362
- };
363
- }, {
364
- integration: {
365
- id: string;
366
- name: string;
367
- logoUri: string;
368
- key?: string | undefined;
369
- uuid?: string | undefined;
370
- description?: string | undefined;
371
- meta?: Record<string, any> | undefined;
372
- state?: import("..").WorkspaceElementState | undefined;
373
- errors?: import("../..").ErrorDataSchema[] | undefined;
374
- revision?: string | undefined;
375
- createdAt?: string | undefined;
376
- updatedAt?: string | undefined;
377
- archivedAt?: string | undefined;
378
- isDeactivated?: boolean | undefined;
379
- parameters?: any;
380
- connectorId?: string | undefined;
381
- connectorVersion?: string | undefined;
382
- oAuthCallbackUri?: string | undefined;
383
- hasMissingParameters?: boolean | undefined;
384
- hasDocumentation?: boolean | undefined;
385
- hasOperations?: boolean | undefined;
386
- operationsCount?: number | undefined;
387
- hasData?: boolean | undefined;
388
- dataCollectionsCount?: number | undefined;
389
- hasEvents?: boolean | undefined;
390
- eventsCount?: number | undefined;
391
- hasGlobalWebhooks?: boolean | undefined;
392
- hasUdm?: boolean | undefined;
393
- isTest?: boolean | undefined;
394
- appUuid?: string | undefined;
395
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
396
- };
397
- element: {
398
- id: string;
399
- name: string;
400
- key?: string | undefined;
401
- uuid?: string | undefined;
402
- description?: string | undefined;
403
- meta?: Record<string, any> | undefined;
404
- state?: import("..").WorkspaceElementState | undefined;
405
- errors?: import("../..").ErrorDataSchema[] | undefined;
406
- revision?: string | undefined;
407
- createdAt?: string | undefined;
408
- updatedAt?: string | undefined;
409
- archivedAt?: string | undefined;
410
- isDeactivated?: boolean | undefined;
411
- integrationId?: string | undefined;
412
- isCustomized?: boolean | undefined;
413
- udm?: string | undefined;
414
- universalDataSourceId?: string | undefined;
415
- collectionKey?: string | undefined;
416
- collectionParameters?: any;
417
- pullUpdatesIntervalSeconds?: number | undefined;
418
- fullSyncIntervalSeconds?: number | undefined;
419
- defaultPath?: string | undefined;
420
- universalDataSourceRevision?: string | undefined;
421
- };
422
- }>, "many">>;
423
- }, "strip", z.ZodTypeAny, {
424
- id: string;
425
- name: string;
426
- key?: string | undefined;
427
- integration?: {
428
- id: string;
429
- name: string;
430
- logoUri: string;
431
- key?: string | undefined;
432
- uuid?: string | undefined;
433
- description?: string | undefined;
434
- meta?: Record<string, any> | undefined;
435
- state?: import("..").WorkspaceElementState | undefined;
436
- errors?: import("../..").ErrorDataSchema[] | undefined;
437
- revision?: string | undefined;
438
- createdAt?: string | undefined;
439
- updatedAt?: string | undefined;
440
- archivedAt?: string | undefined;
441
- isDeactivated?: boolean | undefined;
442
- parameters?: any;
443
- connectorId?: string | undefined;
444
- connectorVersion?: string | undefined;
445
- oAuthCallbackUri?: string | undefined;
446
- hasMissingParameters?: boolean | undefined;
447
- hasDocumentation?: boolean | undefined;
448
- hasOperations?: boolean | undefined;
449
- operationsCount?: number | undefined;
450
- hasData?: boolean | undefined;
451
- dataCollectionsCount?: number | undefined;
452
- hasEvents?: boolean | undefined;
453
- eventsCount?: number | undefined;
454
- hasGlobalWebhooks?: boolean | undefined;
455
- hasUdm?: boolean | undefined;
456
- isTest?: boolean | undefined;
457
- appUuid?: string | undefined;
458
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
459
- } | undefined;
460
- uuid?: string | undefined;
461
- description?: string | undefined;
462
- meta?: Record<string, any> | undefined;
463
- state?: import("..").WorkspaceElementState | undefined;
464
- errors?: import("../..").ErrorDataSchema[] | undefined;
465
- revision?: string | undefined;
466
- createdAt?: string | undefined;
467
- updatedAt?: string | undefined;
468
- archivedAt?: string | undefined;
469
- isDeactivated?: boolean | undefined;
470
- integrationId?: string | undefined;
471
- isCustomized?: boolean | undefined;
472
- udm?: string | undefined;
473
- appliedToIntegrations?: {
474
- integration: {
475
- id: string;
476
- name: string;
477
- logoUri: string;
478
- key?: string | undefined;
479
- uuid?: string | undefined;
480
- description?: string | undefined;
481
- meta?: Record<string, any> | undefined;
482
- state?: import("..").WorkspaceElementState | undefined;
483
- errors?: import("../..").ErrorDataSchema[] | undefined;
484
- revision?: string | undefined;
485
- createdAt?: string | undefined;
486
- updatedAt?: string | undefined;
487
- archivedAt?: string | undefined;
488
- isDeactivated?: boolean | undefined;
489
- parameters?: any;
490
- connectorId?: string | undefined;
491
- connectorVersion?: string | undefined;
492
- oAuthCallbackUri?: string | undefined;
493
- hasMissingParameters?: boolean | undefined;
494
- hasDocumentation?: boolean | undefined;
495
- hasOperations?: boolean | undefined;
496
- operationsCount?: number | undefined;
497
- hasData?: boolean | undefined;
498
- dataCollectionsCount?: number | undefined;
499
- hasEvents?: boolean | undefined;
500
- eventsCount?: number | undefined;
501
- hasGlobalWebhooks?: boolean | undefined;
502
- hasUdm?: boolean | undefined;
503
- isTest?: boolean | undefined;
504
- appUuid?: string | undefined;
505
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
506
- };
507
- element: {
508
- id: string;
509
- name: string;
510
- key?: string | undefined;
511
- uuid?: string | undefined;
512
- description?: string | undefined;
513
- meta?: Record<string, any> | undefined;
514
- state?: import("..").WorkspaceElementState | undefined;
515
- errors?: import("../..").ErrorDataSchema[] | undefined;
516
- revision?: string | undefined;
517
- createdAt?: string | undefined;
518
- updatedAt?: string | undefined;
519
- archivedAt?: string | undefined;
520
- isDeactivated?: boolean | undefined;
521
- integrationId?: string | undefined;
522
- isCustomized?: boolean | undefined;
523
- udm?: string | undefined;
524
- universalDataSourceId?: string | undefined;
525
- collectionKey?: string | undefined;
526
- collectionParameters?: any;
527
- pullUpdatesIntervalSeconds?: number | undefined;
528
- fullSyncIntervalSeconds?: number | undefined;
529
- defaultPath?: string | undefined;
530
- universalDataSourceRevision?: string | undefined;
531
- };
532
- }[] | undefined;
533
- universalDataSourceId?: string | undefined;
534
- collectionKey?: string | undefined;
535
- collectionParameters?: any;
536
- pullUpdatesIntervalSeconds?: number | undefined;
537
- fullSyncIntervalSeconds?: number | undefined;
538
- defaultPath?: string | undefined;
539
- universalDataSourceRevision?: string | undefined;
540
- }, {
541
- id: string;
542
- name: string;
543
- key?: string | undefined;
544
- integration?: {
545
- id: string;
546
- name: string;
547
- logoUri: string;
548
- key?: string | undefined;
549
- uuid?: string | undefined;
550
- description?: string | undefined;
551
- meta?: Record<string, any> | undefined;
552
- state?: import("..").WorkspaceElementState | undefined;
553
- errors?: import("../..").ErrorDataSchema[] | undefined;
554
- revision?: string | undefined;
555
- createdAt?: string | undefined;
556
- updatedAt?: string | undefined;
557
- archivedAt?: string | undefined;
558
- isDeactivated?: boolean | undefined;
559
- parameters?: any;
560
- connectorId?: string | undefined;
561
- connectorVersion?: string | undefined;
562
- oAuthCallbackUri?: string | undefined;
563
- hasMissingParameters?: boolean | undefined;
564
- hasDocumentation?: boolean | undefined;
565
- hasOperations?: boolean | undefined;
566
- operationsCount?: number | undefined;
567
- hasData?: boolean | undefined;
568
- dataCollectionsCount?: number | undefined;
569
- hasEvents?: boolean | undefined;
570
- eventsCount?: number | undefined;
571
- hasGlobalWebhooks?: boolean | undefined;
572
- hasUdm?: boolean | undefined;
573
- isTest?: boolean | undefined;
574
- appUuid?: string | undefined;
575
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
576
- } | undefined;
577
- uuid?: string | undefined;
578
- description?: string | undefined;
579
- meta?: Record<string, any> | undefined;
580
- state?: import("..").WorkspaceElementState | undefined;
581
- errors?: import("../..").ErrorDataSchema[] | undefined;
582
- revision?: string | undefined;
583
- createdAt?: string | undefined;
584
- updatedAt?: string | undefined;
585
- archivedAt?: string | undefined;
586
- isDeactivated?: boolean | undefined;
587
- integrationId?: string | undefined;
588
- isCustomized?: boolean | undefined;
589
- udm?: string | undefined;
590
- appliedToIntegrations?: {
591
- integration: {
592
- id: string;
593
- name: string;
594
- logoUri: string;
595
- key?: string | undefined;
596
- uuid?: string | undefined;
597
- description?: string | undefined;
598
- meta?: Record<string, any> | undefined;
599
- state?: import("..").WorkspaceElementState | undefined;
600
- errors?: import("../..").ErrorDataSchema[] | undefined;
601
- revision?: string | undefined;
602
- createdAt?: string | undefined;
603
- updatedAt?: string | undefined;
604
- archivedAt?: string | undefined;
605
- isDeactivated?: boolean | undefined;
606
- parameters?: any;
607
- connectorId?: string | undefined;
608
- connectorVersion?: string | undefined;
609
- oAuthCallbackUri?: string | undefined;
610
- hasMissingParameters?: boolean | undefined;
611
- hasDocumentation?: boolean | undefined;
612
- hasOperations?: boolean | undefined;
613
- operationsCount?: number | undefined;
614
- hasData?: boolean | undefined;
615
- dataCollectionsCount?: number | undefined;
616
- hasEvents?: boolean | undefined;
617
- eventsCount?: number | undefined;
618
- hasGlobalWebhooks?: boolean | undefined;
619
- hasUdm?: boolean | undefined;
620
- isTest?: boolean | undefined;
621
- appUuid?: string | undefined;
622
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
623
- };
624
- element: {
625
- id: string;
626
- name: string;
627
- key?: string | undefined;
628
- uuid?: string | undefined;
629
- description?: string | undefined;
630
- meta?: Record<string, any> | undefined;
631
- state?: import("..").WorkspaceElementState | undefined;
632
- errors?: import("../..").ErrorDataSchema[] | undefined;
633
- revision?: string | undefined;
634
- createdAt?: string | undefined;
635
- updatedAt?: string | undefined;
636
- archivedAt?: string | undefined;
637
- isDeactivated?: boolean | undefined;
638
- integrationId?: string | undefined;
639
- isCustomized?: boolean | undefined;
640
- udm?: string | undefined;
641
- universalDataSourceId?: string | undefined;
642
- collectionKey?: string | undefined;
643
- collectionParameters?: any;
644
- pullUpdatesIntervalSeconds?: number | undefined;
645
- fullSyncIntervalSeconds?: number | undefined;
646
- defaultPath?: string | undefined;
647
- universalDataSourceRevision?: string | undefined;
648
- };
649
- }[] | undefined;
650
- universalDataSourceId?: string | undefined;
651
- collectionKey?: string | undefined;
652
- collectionParameters?: any;
653
- pullUpdatesIntervalSeconds?: number | undefined;
654
- fullSyncIntervalSeconds?: number | undefined;
655
- defaultPath?: string | undefined;
656
- universalDataSourceRevision?: string | undefined;
657
- }>;
128
+ authType: z.ZodOptional<z.ZodEnum<{
129
+ proxy: "proxy";
130
+ "integration-app-token": "integration-app-token";
131
+ "membrane-token": "membrane-token";
132
+ oauth2: "oauth2";
133
+ oauth1: "oauth1";
134
+ "client-credentials": "client-credentials";
135
+ }>>;
136
+ }, z.core.$strip>;
137
+ }, z.core.$strip>>>;
138
+ }, z.core.$strip>;
658
139
  export type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
659
140
  export type DataSource = DataSourceApiResponse;
660
141
  export declare const FindDataSourcesQuery: z.ZodObject<{
661
- limit: z.ZodOptional<z.ZodNumber>;
142
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
662
143
  cursor: z.ZodOptional<z.ZodString>;
663
- } & {
664
144
  integrationId: z.ZodOptional<z.ZodString>;
665
145
  integrationKey: z.ZodOptional<z.ZodString>;
666
146
  universalDataSourceId: z.ZodOptional<z.ZodString>;
667
147
  search: z.ZodOptional<z.ZodString>;
668
- includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
669
- }, "strip", z.ZodTypeAny, {
670
- search?: string | undefined;
671
- integrationId?: string | undefined;
672
- includeArchived?: boolean | undefined;
673
- limit?: number | undefined;
674
- cursor?: string | undefined;
675
- integrationKey?: string | undefined;
676
- universalDataSourceId?: string | undefined;
677
- }, {
678
- search?: string | undefined;
679
- integrationId?: string | undefined;
680
- includeArchived?: unknown;
681
- limit?: number | undefined;
682
- cursor?: string | undefined;
683
- integrationKey?: string | undefined;
684
- universalDataSourceId?: string | undefined;
685
- }>;
148
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
149
+ }, z.core.$strip>;
686
150
  export type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
687
- export declare const CreateDataSourceRequest: z.ZodObject<Omit<{
151
+ export declare const CreateDataSourceRequest: z.ZodObject<{
688
152
  key: z.ZodOptional<z.ZodString>;
153
+ description: z.ZodOptional<z.ZodString>;
689
154
  name: z.ZodOptional<z.ZodString>;
690
155
  uuid: z.ZodOptional<z.ZodString>;
691
- description: z.ZodOptional<z.ZodString>;
692
156
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
693
- } & {
694
157
  integrationId: z.ZodOptional<z.ZodString>;
695
- parentId: z.ZodOptional<z.ZodString>;
696
- }, "parentId"> & {
697
158
  universalDataSourceId: z.ZodOptional<z.ZodString>;
698
159
  udm: z.ZodOptional<z.ZodString>;
699
160
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -701,41 +162,13 @@ export declare const CreateDataSourceRequest: z.ZodObject<Omit<{
701
162
  collectionKey: z.ZodOptional<z.ZodString>;
702
163
  collectionParameters: z.ZodOptional<z.ZodAny>;
703
164
  defaultPath: z.ZodOptional<z.ZodString>;
704
- }, "strip", z.ZodTypeAny, {
705
- key?: string | undefined;
706
- name?: string | undefined;
707
- uuid?: string | undefined;
708
- description?: string | undefined;
709
- meta?: Record<string, any> | undefined;
710
- integrationId?: string | undefined;
711
- udm?: string | undefined;
712
- universalDataSourceId?: string | undefined;
713
- collectionKey?: string | undefined;
714
- collectionParameters?: any;
715
- pullUpdatesIntervalSeconds?: number | undefined;
716
- fullSyncIntervalSeconds?: number | undefined;
717
- defaultPath?: string | undefined;
718
- }, {
719
- key?: string | undefined;
720
- name?: string | undefined;
721
- uuid?: string | undefined;
722
- description?: string | undefined;
723
- meta?: Record<string, any> | undefined;
724
- integrationId?: string | undefined;
725
- udm?: string | undefined;
726
- universalDataSourceId?: string | undefined;
727
- collectionKey?: string | undefined;
728
- collectionParameters?: any;
729
- pullUpdatesIntervalSeconds?: number | undefined;
730
- fullSyncIntervalSeconds?: number | undefined;
731
- defaultPath?: string | undefined;
732
- }>;
165
+ }, z.core.$strip>;
733
166
  export type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
734
167
  export declare const UpdateDataSourceRequest: z.ZodObject<{
735
168
  key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
169
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
736
170
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
737
171
  uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
738
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
739
172
  meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
740
173
  integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
741
174
  universalDataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -745,35 +178,7 @@ export declare const UpdateDataSourceRequest: z.ZodObject<{
745
178
  collectionKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
746
179
  collectionParameters: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
747
180
  defaultPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
748
- }, "strip", z.ZodTypeAny, {
749
- key?: string | undefined;
750
- name?: string | undefined;
751
- uuid?: string | undefined;
752
- description?: string | undefined;
753
- meta?: Record<string, any> | undefined;
754
- integrationId?: string | undefined;
755
- udm?: string | undefined;
756
- universalDataSourceId?: string | undefined;
757
- collectionKey?: string | undefined;
758
- collectionParameters?: any;
759
- pullUpdatesIntervalSeconds?: number | undefined;
760
- fullSyncIntervalSeconds?: number | undefined;
761
- defaultPath?: string | undefined;
762
- }, {
763
- key?: string | undefined;
764
- name?: string | undefined;
765
- uuid?: string | undefined;
766
- description?: string | undefined;
767
- meta?: Record<string, any> | undefined;
768
- integrationId?: string | undefined;
769
- udm?: string | undefined;
770
- universalDataSourceId?: string | undefined;
771
- collectionKey?: string | undefined;
772
- collectionParameters?: any;
773
- pullUpdatesIntervalSeconds?: number | undefined;
774
- fullSyncIntervalSeconds?: number | undefined;
775
- defaultPath?: string | undefined;
776
- }>;
181
+ }, z.core.$strip>;
777
182
  export type UpdateDataSourceRequest = z.infer<typeof UpdateDataSourceRequest>;
778
183
  export interface DataSourceSelector extends IntegrationSpecificElementSelector {
779
184
  }
@@ -791,43 +196,16 @@ export declare const FindDataSourceInstancesQuery: z.ZodObject<{
791
196
  connectionId: z.ZodOptional<z.ZodString>;
792
197
  integrationKey: z.ZodOptional<z.ZodString>;
793
198
  integrationId: z.ZodOptional<z.ZodString>;
794
- } & {
795
- limit: z.ZodOptional<z.ZodNumber>;
199
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
796
200
  cursor: z.ZodOptional<z.ZodString>;
797
- }, "strip", z.ZodTypeAny, {
798
- integrationId?: string | undefined;
799
- limit?: number | undefined;
800
- cursor?: string | undefined;
801
- userId?: string | undefined;
802
- connectionId?: string | undefined;
803
- integrationKey?: string | undefined;
804
- dataSourceId?: string | undefined;
805
- universalDataSourceId?: string | undefined;
806
- }, {
807
- integrationId?: string | undefined;
808
- limit?: number | undefined;
809
- cursor?: string | undefined;
810
- userId?: string | undefined;
811
- connectionId?: string | undefined;
812
- integrationKey?: string | undefined;
813
- dataSourceId?: string | undefined;
814
- universalDataSourceId?: string | undefined;
815
- }>;
201
+ }, z.core.$strip>;
816
202
  export type FindDataSourceInstancesQuery = z.infer<typeof FindDataSourceInstancesQuery>;
817
203
  export type FindDataSourceInstancesResponse = PaginationResponse<DataSourceInstance>;
818
204
  export declare const CreateDataSourceInstanceRequest: z.ZodObject<{
819
205
  dataSourceId: z.ZodString;
820
206
  connectionId: z.ZodString;
821
207
  path: z.ZodOptional<z.ZodString>;
822
- }, "strip", z.ZodTypeAny, {
823
- connectionId: string;
824
- dataSourceId: string;
825
- path?: string | undefined;
826
- }, {
827
- connectionId: string;
828
- dataSourceId: string;
829
- path?: string | undefined;
830
- }>;
208
+ }, z.core.$strip>;
831
209
  export type CreateDataSourceInstanceRequest = z.infer<typeof CreateDataSourceInstanceRequest>;
832
210
  export declare const UpdateDataSourceInstanceRequest: z.ZodObject<{
833
211
  path: z.ZodOptional<z.ZodString>;
@@ -839,38 +217,8 @@ export declare const UpdateDataSourceInstanceRequest: z.ZodObject<{
839
217
  created: z.ZodOptional<z.ZodBoolean>;
840
218
  updated: z.ZodOptional<z.ZodBoolean>;
841
219
  deleted: z.ZodOptional<z.ZodBoolean>;
842
- }, "strip", z.ZodTypeAny, {
843
- created?: boolean | undefined;
844
- updated?: boolean | undefined;
845
- deleted?: boolean | undefined;
846
- }, {
847
- created?: boolean | undefined;
848
- updated?: boolean | undefined;
849
- deleted?: boolean | undefined;
850
- }>>;
851
- }, "strip", z.ZodTypeAny, {
852
- path?: string | undefined;
853
- collectionKey?: string | undefined;
854
- collectionParameters?: any;
855
- pullUpdatesIntervalSeconds?: number | undefined;
856
- fullSyncIntervalSeconds?: number | undefined;
857
- subscribedTo?: {
858
- created?: boolean | undefined;
859
- updated?: boolean | undefined;
860
- deleted?: boolean | undefined;
861
- } | undefined;
862
- }, {
863
- path?: string | undefined;
864
- collectionKey?: string | undefined;
865
- collectionParameters?: any;
866
- pullUpdatesIntervalSeconds?: number | undefined;
867
- fullSyncIntervalSeconds?: number | undefined;
868
- subscribedTo?: {
869
- created?: boolean | undefined;
870
- updated?: boolean | undefined;
871
- deleted?: boolean | undefined;
872
- } | undefined;
873
- }>;
220
+ }, z.core.$strip>>;
221
+ }, z.core.$strip>;
874
222
  export type UpdateDataSourceInstanceRequest = z.infer<typeof UpdateDataSourceInstanceRequest>;
875
223
  export declare const FindDataSourceEventsQuery: z.ZodObject<{
876
224
  userId: z.ZodOptional<z.ZodString>;
@@ -878,26 +226,9 @@ export declare const FindDataSourceEventsQuery: z.ZodObject<{
878
226
  dataSourceInstanceId: z.ZodOptional<z.ZodString>;
879
227
  startDatetime: z.ZodOptional<z.ZodString>;
880
228
  endDatetime: z.ZodOptional<z.ZodString>;
881
- } & {
882
- limit: z.ZodOptional<z.ZodNumber>;
229
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
883
230
  cursor: z.ZodOptional<z.ZodString>;
884
- }, "strip", z.ZodTypeAny, {
885
- limit?: number | undefined;
886
- cursor?: string | undefined;
887
- userId?: string | undefined;
888
- udm?: string | undefined;
889
- dataSourceInstanceId?: string | undefined;
890
- startDatetime?: string | undefined;
891
- endDatetime?: string | undefined;
892
- }, {
893
- limit?: number | undefined;
894
- cursor?: string | undefined;
895
- userId?: string | undefined;
896
- udm?: string | undefined;
897
- dataSourceInstanceId?: string | undefined;
898
- startDatetime?: string | undefined;
899
- endDatetime?: string | undefined;
900
- }>;
231
+ }, z.core.$strip>;
901
232
  export type FindDataSourceEventsQuery = z.infer<typeof FindDataSourceEventsQuery>;
902
233
  export declare const FindDataSourceSyncsQuery: z.ZodObject<{
903
234
  userId: z.ZodOptional<z.ZodString>;
@@ -906,70 +237,24 @@ export declare const FindDataSourceSyncsQuery: z.ZodObject<{
906
237
  integrationId: z.ZodOptional<z.ZodString>;
907
238
  connectionId: z.ZodOptional<z.ZodString>;
908
239
  startedAfter: z.ZodOptional<z.ZodString>;
909
- } & {
910
- limit: z.ZodOptional<z.ZodNumber>;
240
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
911
241
  cursor: z.ZodOptional<z.ZodString>;
912
- }, "strip", z.ZodTypeAny, {
913
- integrationId?: string | undefined;
914
- limit?: number | undefined;
915
- cursor?: string | undefined;
916
- userId?: string | undefined;
917
- connectionId?: string | undefined;
918
- dataSourceId?: string | undefined;
919
- dataSourceInstanceId?: string | undefined;
920
- startedAfter?: string | undefined;
921
- }, {
922
- integrationId?: string | undefined;
923
- limit?: number | undefined;
924
- cursor?: string | undefined;
925
- userId?: string | undefined;
926
- connectionId?: string | undefined;
927
- dataSourceId?: string | undefined;
928
- dataSourceInstanceId?: string | undefined;
929
- startedAfter?: string | undefined;
930
- }>;
242
+ }, z.core.$strip>;
931
243
  export type FindDataSourceSyncsQuery = z.infer<typeof FindDataSourceSyncsQuery>;
932
244
  export declare const ListDataSourceInstancesForConnectionQuery: z.ZodObject<{
933
245
  dataSourceId: z.ZodOptional<z.ZodString>;
934
- } & {
935
- limit: z.ZodOptional<z.ZodNumber>;
246
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
936
247
  cursor: z.ZodOptional<z.ZodString>;
937
- }, "strip", z.ZodTypeAny, {
938
- limit?: number | undefined;
939
- cursor?: string | undefined;
940
- dataSourceId?: string | undefined;
941
- }, {
942
- limit?: number | undefined;
943
- cursor?: string | undefined;
944
- dataSourceId?: string | undefined;
945
- }>;
248
+ }, z.core.$strip>;
946
249
  export type ListDataSourceInstancesForConnectionQuery = z.infer<typeof ListDataSourceInstancesForConnectionQuery>;
947
250
  export declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
948
251
  dataSourceId: z.ZodOptional<z.ZodString>;
949
- } & {
950
- limit: z.ZodOptional<z.ZodNumber>;
252
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
951
253
  cursor: z.ZodOptional<z.ZodString>;
952
- } & {
953
254
  userId: z.ZodOptional<z.ZodString>;
954
255
  connectionId: z.ZodOptional<z.ZodString>;
955
256
  integrationId: z.ZodOptional<z.ZodString>;
956
257
  dataSourceInstanceId: z.ZodOptional<z.ZodString>;
957
- }, "strip", z.ZodTypeAny, {
958
- integrationId?: string | undefined;
959
- limit?: number | undefined;
960
- cursor?: string | undefined;
961
- userId?: string | undefined;
962
- connectionId?: string | undefined;
963
- dataSourceId?: string | undefined;
964
- dataSourceInstanceId?: string | undefined;
965
- }, {
966
- integrationId?: string | undefined;
967
- limit?: number | undefined;
968
- cursor?: string | undefined;
969
- userId?: string | undefined;
970
- connectionId?: string | undefined;
971
- dataSourceId?: string | undefined;
972
- dataSourceInstanceId?: string | undefined;
973
- }>;
258
+ }, z.core.$strip>;
974
259
  export type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
975
260
  export type ListDataSourcesForIntegrationQuery = Omit<FindDataSourcesQuery, 'integrationId' | 'integrationKey'>;