@membranehq/sdk 0.4.0 → 0.5.1

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 (82) hide show
  1. package/dist/bundle.d.ts +16299 -1303
  2. package/dist/bundle.js +3980 -3701
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +78 -1
  5. package/dist/dts/accessors/integrations-accessors.d.ts +78 -1
  6. package/dist/dts/api-client.d.ts +1 -0
  7. package/dist/dts/client.d.ts +1 -0
  8. package/dist/dts/data-schema/index.d.ts +0 -1
  9. package/dist/dts/data-schema/types.d.ts +4 -3
  10. package/dist/dts/entity-repository.d.ts +88 -20
  11. package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
  12. package/dist/dts/http-requests.d.ts +20 -6
  13. package/dist/dts/iframe.d.ts +12 -4
  14. package/dist/dts/index.d.ts +2 -1
  15. package/dist/dts/sse/index.d.ts +1 -0
  16. package/dist/dts/sse/workspace-elements.d.ts +9 -0
  17. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
  18. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
  19. package/dist/dts/workspace-elements/api/actions-api.d.ts +1010 -45
  20. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
  21. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
  22. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
  23. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
  24. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
  25. package/dist/dts/workspace-elements/api/connections-api.d.ts +993 -42
  26. package/dist/dts/workspace-elements/api/customers-api.d.ts +92 -16
  27. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
  28. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
  29. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
  30. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +1113 -78
  31. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
  32. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
  33. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
  34. package/dist/dts/workspace-elements/api/external-events-api.d.ts +582 -6
  35. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
  36. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +885 -7
  37. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
  38. package/dist/dts/workspace-elements/api/flows-api.d.ts +3202 -52
  39. package/dist/dts/workspace-elements/api/index.d.ts +1 -1
  40. package/dist/dts/workspace-elements/api/integrations-api.d.ts +339 -26
  41. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +523 -35
  42. package/dist/dts/workspace-elements/api/screens-api.d.ts +35 -15
  43. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +78 -15
  44. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +37 -12
  45. package/dist/dts/workspace-elements/base/actions/types.d.ts +78 -18
  46. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +59 -7
  47. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +49 -7
  48. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +92 -9
  49. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +84 -7
  50. package/dist/dts/workspace-elements/base/connections/types.d.ts +82 -20
  51. package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
  52. package/dist/dts/workspace-elements/base/customers/index.d.ts +32 -6
  53. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +93 -92
  54. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +78 -11
  55. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +43 -4
  56. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1048 -19
  57. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +97 -22
  58. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
  59. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
  60. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +197 -24
  61. package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
  62. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +92 -16
  63. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +105 -14
  64. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +43 -43
  65. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +170 -24
  66. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
  67. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +127 -19
  68. package/dist/dts/workspace-elements/base/flows/types.d.ts +234 -26
  69. package/dist/dts/workspace-elements/base/integrations/types.d.ts +988 -25
  70. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +740 -23
  71. package/dist/dts/workspace-elements/base/screens/types.d.ts +48 -6
  72. package/dist/dts/workspace-elements/types.d.ts +25 -3
  73. package/dist/dts/workspaces/types.d.ts +4 -3
  74. package/dist/index.d.ts +26481 -3080
  75. package/dist/index.js +1717 -535
  76. package/dist/index.js.map +1 -1
  77. package/dist/index.module.d.mts +26481 -3080
  78. package/dist/index.module.mjs +1550 -502
  79. package/dist/index.module.mjs.map +1 -1
  80. package/package.json +3 -2
  81. package/dist/dts/data-schema/schemas.d.ts +0 -4
  82. package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
@@ -1,38 +1,107 @@
1
+ import { z } from 'zod';
1
2
  import { ConnectionSelector } from './connections-api';
2
3
  import { DataSourceInstance } from './data-source-instances-api';
3
4
  import { FlowInstanceSelector } from './flows-api';
4
5
  import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors';
5
- import { PaginationQuery, PaginationResponse } from '../../entity-repository';
6
- import { BaseDataSource } from '../base/data-sources';
7
- import { AppliedToIntegrations, BaseIntegration } from '../base/integrations';
8
- export interface ListDataSourcesForIntegrationQuery extends PaginationQuery {
9
- universalDataSourceId?: string | 'null';
10
- }
11
- export interface FindDataSourcesQuery extends ListDataSourcesForIntegrationQuery {
12
- integrationId?: string | 'null';
13
- }
14
- export type CreateDataSourceRequest = {
6
+ import { PaginationResponse } from '../../entity-repository';
7
+ export declare const ListDataSourcesForIntegrationQuery: z.ZodObject<{
8
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
9
+ } & {
10
+ limit: z.ZodOptional<z.ZodNumber>;
11
+ cursor: z.ZodOptional<z.ZodString>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ limit?: number | undefined;
14
+ cursor?: string | undefined;
15
+ universalDataSourceId?: string | undefined;
16
+ }, {
17
+ limit?: number | undefined;
18
+ cursor?: string | undefined;
19
+ universalDataSourceId?: string | undefined;
20
+ }>;
21
+ export type ListDataSourcesForIntegrationQuery = z.infer<typeof ListDataSourcesForIntegrationQuery>;
22
+ export declare const FindDataSourcesQuery: z.ZodObject<{
23
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
24
+ } & {
25
+ limit: z.ZodOptional<z.ZodNumber>;
26
+ cursor: z.ZodOptional<z.ZodString>;
27
+ } & {
28
+ integrationId: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ limit?: number | undefined;
31
+ cursor?: string | undefined;
32
+ integrationId?: string | undefined;
33
+ universalDataSourceId?: string | undefined;
34
+ }, {
35
+ limit?: number | undefined;
36
+ cursor?: string | undefined;
37
+ integrationId?: string | undefined;
38
+ universalDataSourceId?: string | undefined;
39
+ }>;
40
+ export type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
41
+ export declare const CreateDataSourceRequest: z.ZodObject<{
42
+ key: z.ZodString;
43
+ name: z.ZodString;
44
+ integrationId: z.ZodOptional<z.ZodString>;
45
+ udm: z.ZodOptional<z.ZodString>;
46
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
47
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
48
+ rootPath: z.ZodOptional<z.ZodString>;
49
+ defaultPath: z.ZodOptional<z.ZodString>;
50
+ collectionKey: z.ZodOptional<z.ZodString>;
51
+ collectionParameters: z.ZodOptional<z.ZodAny>;
52
+ }, "strip", z.ZodTypeAny, {
15
53
  key: string;
16
54
  name: string;
17
- integrationId?: string;
18
- udm?: string;
19
- pullUpdatesIntervalSeconds?: number;
20
- fullSyncIntervalSeconds?: number;
21
- rootPath?: string;
22
- defaultPath?: string;
23
- collectionKey?: string;
55
+ integrationId?: string | undefined;
56
+ udm?: string | undefined;
57
+ collectionKey?: string | undefined;
24
58
  collectionParameters?: any;
25
- };
26
- export type UpdateDataSourceRequest = {
27
- key?: string;
28
- name?: string;
29
- archivedAt?: string;
30
- udm?: string;
31
- pullUpdatesIntervalSeconds?: number;
32
- fullSyncIntervalSeconds?: number;
33
- rootPath?: string;
34
- defaultPath?: string;
35
- };
59
+ pullUpdatesIntervalSeconds?: number | undefined;
60
+ fullSyncIntervalSeconds?: number | undefined;
61
+ defaultPath?: string | undefined;
62
+ rootPath?: string | undefined;
63
+ }, {
64
+ key: string;
65
+ name: string;
66
+ integrationId?: string | undefined;
67
+ udm?: string | undefined;
68
+ collectionKey?: string | undefined;
69
+ collectionParameters?: any;
70
+ pullUpdatesIntervalSeconds?: number | undefined;
71
+ fullSyncIntervalSeconds?: number | undefined;
72
+ defaultPath?: string | undefined;
73
+ rootPath?: string | undefined;
74
+ }>;
75
+ export type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
76
+ export declare const UpdateDataSourceRequest: z.ZodObject<{
77
+ key: z.ZodOptional<z.ZodString>;
78
+ name: z.ZodOptional<z.ZodString>;
79
+ archivedAt: z.ZodOptional<z.ZodString>;
80
+ udm: z.ZodOptional<z.ZodString>;
81
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
82
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
83
+ rootPath: z.ZodOptional<z.ZodString>;
84
+ defaultPath: z.ZodOptional<z.ZodString>;
85
+ }, "strip", z.ZodTypeAny, {
86
+ key?: string | undefined;
87
+ name?: string | undefined;
88
+ archivedAt?: string | undefined;
89
+ udm?: string | undefined;
90
+ pullUpdatesIntervalSeconds?: number | undefined;
91
+ fullSyncIntervalSeconds?: number | undefined;
92
+ defaultPath?: string | undefined;
93
+ rootPath?: string | undefined;
94
+ }, {
95
+ key?: string | undefined;
96
+ name?: string | undefined;
97
+ archivedAt?: string | undefined;
98
+ udm?: string | undefined;
99
+ pullUpdatesIntervalSeconds?: number | undefined;
100
+ fullSyncIntervalSeconds?: number | undefined;
101
+ defaultPath?: string | undefined;
102
+ rootPath?: string | undefined;
103
+ }>;
104
+ export type UpdateDataSourceRequest = z.infer<typeof UpdateDataSourceRequest>;
36
105
  export interface DataSourceSelector extends IntegrationSpecificElementSelector {
37
106
  }
38
107
  export interface DataSourceInstanceSelector extends ConnectionSelector, FlowInstanceSelector, ElementInstanceSelector {
@@ -42,58 +111,1024 @@ export interface DataSourceInstanceSelector extends ConnectionSelector, FlowInst
42
111
  nodeKey?: string;
43
112
  udm?: string;
44
113
  }
45
- export interface FindDataSourceInstancesQuery extends PaginationQuery {
46
- userId?: string;
47
- dataSourceId?: string;
48
- universalDataSourceId?: string;
49
- connectionId?: string;
50
- integrationKey?: string;
51
- integrationId?: string;
52
- }
114
+ export declare const FindDataSourceInstancesQuery: z.ZodObject<{
115
+ userId: z.ZodOptional<z.ZodString>;
116
+ dataSourceId: z.ZodOptional<z.ZodString>;
117
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
118
+ connectionId: z.ZodOptional<z.ZodString>;
119
+ integrationKey: z.ZodOptional<z.ZodString>;
120
+ integrationId: z.ZodOptional<z.ZodString>;
121
+ } & {
122
+ limit: z.ZodOptional<z.ZodNumber>;
123
+ cursor: z.ZodOptional<z.ZodString>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ limit?: number | undefined;
126
+ cursor?: string | undefined;
127
+ userId?: string | undefined;
128
+ connectionId?: string | undefined;
129
+ integrationId?: string | undefined;
130
+ integrationKey?: string | undefined;
131
+ dataSourceId?: string | undefined;
132
+ universalDataSourceId?: string | undefined;
133
+ }, {
134
+ limit?: number | undefined;
135
+ cursor?: string | undefined;
136
+ userId?: string | undefined;
137
+ connectionId?: string | undefined;
138
+ integrationId?: string | undefined;
139
+ integrationKey?: string | undefined;
140
+ dataSourceId?: string | undefined;
141
+ universalDataSourceId?: string | undefined;
142
+ }>;
143
+ export type FindDataSourceInstancesQuery = z.infer<typeof FindDataSourceInstancesQuery>;
53
144
  export type FindDataSourceInstancesResponse = PaginationResponse<DataSourceInstance>;
54
- export interface CreateDataSourceInstanceRequest {
145
+ export declare const CreateDataSourceInstanceRequest: z.ZodObject<{
146
+ dataSourceId: z.ZodString;
147
+ connectionId: z.ZodString;
148
+ path: z.ZodOptional<z.ZodString>;
149
+ }, "strip", z.ZodTypeAny, {
150
+ connectionId: string;
55
151
  dataSourceId: string;
152
+ path?: string | undefined;
153
+ }, {
56
154
  connectionId: string;
57
- path?: string;
58
- }
59
- export interface UpdateDataSourceInstanceRequest {
60
- path?: string;
61
- collectionKey?: string;
155
+ dataSourceId: string;
156
+ path?: string | undefined;
157
+ }>;
158
+ export type CreateDataSourceInstanceRequest = z.infer<typeof CreateDataSourceInstanceRequest>;
159
+ export declare const UpdateDataSourceInstanceRequest: z.ZodObject<{
160
+ path: z.ZodOptional<z.ZodString>;
161
+ collectionKey: z.ZodOptional<z.ZodString>;
162
+ collectionParameters: z.ZodOptional<z.ZodAny>;
163
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
164
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
165
+ subscribedTo: z.ZodOptional<z.ZodObject<{
166
+ created: z.ZodOptional<z.ZodBoolean>;
167
+ updated: z.ZodOptional<z.ZodBoolean>;
168
+ deleted: z.ZodOptional<z.ZodBoolean>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ created?: boolean | undefined;
171
+ updated?: boolean | undefined;
172
+ deleted?: boolean | undefined;
173
+ }, {
174
+ created?: boolean | undefined;
175
+ updated?: boolean | undefined;
176
+ deleted?: boolean | undefined;
177
+ }>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ path?: string | undefined;
180
+ collectionKey?: string | undefined;
62
181
  collectionParameters?: any;
63
- pullUpdatesIntervalSeconds?: number;
64
- fullSyncIntervalSeconds?: number;
182
+ pullUpdatesIntervalSeconds?: number | undefined;
183
+ fullSyncIntervalSeconds?: number | undefined;
65
184
  subscribedTo?: {
66
- created?: boolean;
67
- updated?: boolean;
68
- deleted?: boolean;
69
- };
70
- }
71
- export interface FindDataSourceEventsQuery extends PaginationQuery {
72
- userId?: string;
73
- udm?: string;
74
- dataSourceInstanceId?: string;
75
- startDatetime?: string;
76
- endDatetime?: string;
77
- }
78
- export interface FindDataSourceSyncsQuery extends PaginationQuery {
79
- userId?: string;
80
- dataSourceId?: string;
81
- dataSourceInstanceId?: string;
82
- integrationId?: string;
83
- connectionId?: string;
84
- startedAfter?: string;
85
- }
86
- export type ListDataSourceInstancesForConnectionQuery = PaginationQuery & {
87
- dataSourceId?: string;
88
- };
89
- export interface FindDataSourceInstanceSyncsQuery extends ListDataSourceInstancesForConnectionQuery {
90
- userId?: string;
91
- connectionId?: string;
92
- integrationId?: string;
93
- dataSourceInstanceId?: string;
94
- }
95
- export interface DataSource extends BaseDataSource {
96
- integration?: BaseIntegration;
97
- appliedToIntegrations?: AppliedToIntegrations<DataSource>;
98
- }
99
- export type DataSourceApiResponse = DataSource;
185
+ created?: boolean | undefined;
186
+ updated?: boolean | undefined;
187
+ deleted?: boolean | undefined;
188
+ } | undefined;
189
+ }, {
190
+ path?: string | undefined;
191
+ collectionKey?: string | undefined;
192
+ collectionParameters?: any;
193
+ pullUpdatesIntervalSeconds?: number | undefined;
194
+ fullSyncIntervalSeconds?: number | undefined;
195
+ subscribedTo?: {
196
+ created?: boolean | undefined;
197
+ updated?: boolean | undefined;
198
+ deleted?: boolean | undefined;
199
+ } | undefined;
200
+ }>;
201
+ export type UpdateDataSourceInstanceRequest = z.infer<typeof UpdateDataSourceInstanceRequest>;
202
+ export declare const FindDataSourceEventsQuery: z.ZodObject<{
203
+ userId: z.ZodOptional<z.ZodString>;
204
+ udm: z.ZodOptional<z.ZodString>;
205
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
206
+ startDatetime: z.ZodOptional<z.ZodString>;
207
+ endDatetime: z.ZodOptional<z.ZodString>;
208
+ } & {
209
+ limit: z.ZodOptional<z.ZodNumber>;
210
+ cursor: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ limit?: number | undefined;
213
+ cursor?: string | undefined;
214
+ userId?: string | undefined;
215
+ udm?: string | undefined;
216
+ dataSourceInstanceId?: string | undefined;
217
+ startDatetime?: string | undefined;
218
+ endDatetime?: string | undefined;
219
+ }, {
220
+ limit?: number | undefined;
221
+ cursor?: string | undefined;
222
+ userId?: string | undefined;
223
+ udm?: string | undefined;
224
+ dataSourceInstanceId?: string | undefined;
225
+ startDatetime?: string | undefined;
226
+ endDatetime?: string | undefined;
227
+ }>;
228
+ export type FindDataSourceEventsQuery = z.infer<typeof FindDataSourceEventsQuery>;
229
+ export declare const FindDataSourceSyncsQuery: z.ZodObject<{
230
+ userId: z.ZodOptional<z.ZodString>;
231
+ dataSourceId: z.ZodOptional<z.ZodString>;
232
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
233
+ integrationId: z.ZodOptional<z.ZodString>;
234
+ connectionId: z.ZodOptional<z.ZodString>;
235
+ startedAfter: z.ZodOptional<z.ZodString>;
236
+ } & {
237
+ limit: z.ZodOptional<z.ZodNumber>;
238
+ cursor: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ limit?: number | undefined;
241
+ cursor?: string | undefined;
242
+ userId?: string | undefined;
243
+ connectionId?: string | undefined;
244
+ integrationId?: string | undefined;
245
+ dataSourceId?: string | undefined;
246
+ dataSourceInstanceId?: string | undefined;
247
+ startedAfter?: string | undefined;
248
+ }, {
249
+ limit?: number | undefined;
250
+ cursor?: string | undefined;
251
+ userId?: string | undefined;
252
+ connectionId?: string | undefined;
253
+ integrationId?: string | undefined;
254
+ dataSourceId?: string | undefined;
255
+ dataSourceInstanceId?: string | undefined;
256
+ startedAfter?: string | undefined;
257
+ }>;
258
+ export type FindDataSourceSyncsQuery = z.infer<typeof FindDataSourceSyncsQuery>;
259
+ export declare const ListDataSourceInstancesForConnectionQuery: z.ZodObject<{
260
+ dataSourceId: z.ZodOptional<z.ZodString>;
261
+ } & {
262
+ limit: z.ZodOptional<z.ZodNumber>;
263
+ cursor: z.ZodOptional<z.ZodString>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ limit?: number | undefined;
266
+ cursor?: string | undefined;
267
+ dataSourceId?: string | undefined;
268
+ }, {
269
+ limit?: number | undefined;
270
+ cursor?: string | undefined;
271
+ dataSourceId?: string | undefined;
272
+ }>;
273
+ export type ListDataSourceInstancesForConnectionQuery = z.infer<typeof ListDataSourceInstancesForConnectionQuery>;
274
+ export declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
275
+ dataSourceId: z.ZodOptional<z.ZodString>;
276
+ } & {
277
+ limit: z.ZodOptional<z.ZodNumber>;
278
+ cursor: z.ZodOptional<z.ZodString>;
279
+ } & {
280
+ userId: z.ZodOptional<z.ZodString>;
281
+ connectionId: z.ZodOptional<z.ZodString>;
282
+ integrationId: z.ZodOptional<z.ZodString>;
283
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ limit?: number | undefined;
286
+ cursor?: string | undefined;
287
+ userId?: string | undefined;
288
+ connectionId?: string | undefined;
289
+ integrationId?: string | undefined;
290
+ dataSourceId?: string | undefined;
291
+ dataSourceInstanceId?: string | undefined;
292
+ }, {
293
+ limit?: number | undefined;
294
+ cursor?: string | undefined;
295
+ userId?: string | undefined;
296
+ connectionId?: string | undefined;
297
+ integrationId?: string | undefined;
298
+ dataSourceId?: string | undefined;
299
+ dataSourceInstanceId?: string | undefined;
300
+ }>;
301
+ export type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
302
+ export declare const DataSourceApiResponse: z.ZodObject<{
303
+ id: z.ZodString;
304
+ name: z.ZodString;
305
+ key: z.ZodOptional<z.ZodString>;
306
+ uuid: z.ZodOptional<z.ZodString>;
307
+ description: z.ZodOptional<z.ZodString>;
308
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
309
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
310
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
311
+ } & {
312
+ revision: z.ZodString;
313
+ publishedRevision: z.ZodOptional<z.ZodString>;
314
+ integrationId: z.ZodOptional<z.ZodString>;
315
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
316
+ universalDataSourceRevision: z.ZodOptional<z.ZodString>;
317
+ udm: z.ZodOptional<z.ZodString>;
318
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
319
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
320
+ collectionKey: z.ZodOptional<z.ZodString>;
321
+ collectionParameters: z.ZodOptional<z.ZodAny>;
322
+ archivedAt: z.ZodOptional<z.ZodString>;
323
+ createdAt: z.ZodOptional<z.ZodString>;
324
+ updatedAt: z.ZodOptional<z.ZodString>;
325
+ customized: z.ZodOptional<z.ZodBoolean>;
326
+ defaultPath: z.ZodOptional<z.ZodString>;
327
+ } & {
328
+ integration: z.ZodOptional<z.ZodObject<{
329
+ id: z.ZodString;
330
+ name: z.ZodString;
331
+ key: z.ZodOptional<z.ZodString>;
332
+ uuid: z.ZodOptional<z.ZodString>;
333
+ description: z.ZodOptional<z.ZodString>;
334
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
335
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
336
+ revision: z.ZodOptional<z.ZodString>;
337
+ createdAt: z.ZodOptional<z.ZodString>;
338
+ updatedAt: z.ZodOptional<z.ZodString>;
339
+ } & {
340
+ logoUri: z.ZodString;
341
+ connectorId: z.ZodOptional<z.ZodString>;
342
+ connectorVersion: z.ZodOptional<z.ZodString>;
343
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
344
+ key: z.ZodString;
345
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
346
+ title: z.ZodOptional<z.ZodString>;
347
+ description: z.ZodOptional<z.ZodString>;
348
+ ui: z.ZodOptional<z.ZodObject<{
349
+ schema: z.ZodOptional<z.ZodAny>;
350
+ helpUri: z.ZodOptional<z.ZodString>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ schema?: any;
353
+ helpUri?: string | undefined;
354
+ }, {
355
+ schema?: any;
356
+ helpUri?: string | undefined;
357
+ }>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ key: string;
360
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
361
+ description?: string | undefined;
362
+ title?: string | undefined;
363
+ ui?: {
364
+ schema?: any;
365
+ helpUri?: string | undefined;
366
+ } | undefined;
367
+ }, {
368
+ key: string;
369
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
370
+ description?: string | undefined;
371
+ title?: string | undefined;
372
+ ui?: {
373
+ schema?: any;
374
+ helpUri?: string | undefined;
375
+ } | undefined;
376
+ }>, "many">>;
377
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
378
+ parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
379
+ parameters: z.ZodOptional<z.ZodAny>;
380
+ baseUri: z.ZodString;
381
+ archivedAt: z.ZodOptional<z.ZodString>;
382
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
383
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
384
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
385
+ operationsCount: z.ZodOptional<z.ZodNumber>;
386
+ hasData: z.ZodOptional<z.ZodBoolean>;
387
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
388
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
389
+ eventsCount: z.ZodOptional<z.ZodNumber>;
390
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
391
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
392
+ isTest: z.ZodOptional<z.ZodBoolean>;
393
+ appUuid: z.ZodOptional<z.ZodString>;
394
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
395
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ id: string;
398
+ name: string;
399
+ baseUri: string;
400
+ logoUri: string;
401
+ key?: string | undefined;
402
+ uuid?: string | undefined;
403
+ description?: string | undefined;
404
+ state?: import("..").WorkspaceElementState | undefined;
405
+ errors?: any[] | undefined;
406
+ revision?: string | undefined;
407
+ isDeactivated?: boolean | undefined;
408
+ createdAt?: string | undefined;
409
+ updatedAt?: string | undefined;
410
+ archivedAt?: string | undefined;
411
+ parameters?: any;
412
+ parametersSchema?: import("../..").DataSchema | undefined;
413
+ isTest?: boolean | undefined;
414
+ connectorId?: string | undefined;
415
+ connectorVersion?: string | undefined;
416
+ authOptions?: {
417
+ key: string;
418
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
419
+ description?: string | undefined;
420
+ title?: string | undefined;
421
+ ui?: {
422
+ schema?: any;
423
+ helpUri?: string | undefined;
424
+ } | undefined;
425
+ }[] | undefined;
426
+ oAuthCallbackUri?: string | undefined;
427
+ hasMissingParameters?: boolean | undefined;
428
+ hasDocumentation?: boolean | undefined;
429
+ hasOperations?: boolean | undefined;
430
+ operationsCount?: number | undefined;
431
+ hasData?: boolean | undefined;
432
+ dataCollectionsCount?: number | undefined;
433
+ hasEvents?: boolean | undefined;
434
+ eventsCount?: number | undefined;
435
+ hasGlobalWebhooks?: boolean | undefined;
436
+ hasUdm?: boolean | undefined;
437
+ appUuid?: string | undefined;
438
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
439
+ }, {
440
+ id: string;
441
+ name: string;
442
+ baseUri: string;
443
+ logoUri: string;
444
+ key?: string | undefined;
445
+ uuid?: string | undefined;
446
+ description?: string | undefined;
447
+ state?: import("..").WorkspaceElementState | undefined;
448
+ errors?: any[] | undefined;
449
+ revision?: string | undefined;
450
+ isDeactivated?: boolean | undefined;
451
+ createdAt?: string | undefined;
452
+ updatedAt?: string | undefined;
453
+ archivedAt?: string | undefined;
454
+ parameters?: any;
455
+ parametersSchema?: import("../..").DataSchema | undefined;
456
+ isTest?: boolean | undefined;
457
+ connectorId?: string | undefined;
458
+ connectorVersion?: string | undefined;
459
+ authOptions?: {
460
+ key: string;
461
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
462
+ description?: string | undefined;
463
+ title?: string | undefined;
464
+ ui?: {
465
+ schema?: any;
466
+ helpUri?: string | undefined;
467
+ } | undefined;
468
+ }[] | undefined;
469
+ oAuthCallbackUri?: string | undefined;
470
+ hasMissingParameters?: boolean | undefined;
471
+ hasDocumentation?: boolean | undefined;
472
+ hasOperations?: boolean | undefined;
473
+ operationsCount?: number | undefined;
474
+ hasData?: boolean | undefined;
475
+ dataCollectionsCount?: number | undefined;
476
+ hasEvents?: boolean | undefined;
477
+ eventsCount?: number | undefined;
478
+ hasGlobalWebhooks?: boolean | undefined;
479
+ hasUdm?: boolean | undefined;
480
+ appUuid?: string | undefined;
481
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
482
+ }>>;
483
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
484
+ element: z.ZodObject<{
485
+ id: z.ZodString;
486
+ name: z.ZodString;
487
+ key: z.ZodOptional<z.ZodString>;
488
+ uuid: z.ZodOptional<z.ZodString>;
489
+ description: z.ZodOptional<z.ZodString>;
490
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
491
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
492
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
493
+ } & {
494
+ revision: z.ZodString;
495
+ publishedRevision: z.ZodOptional<z.ZodString>;
496
+ integrationId: z.ZodOptional<z.ZodString>;
497
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
498
+ universalDataSourceRevision: z.ZodOptional<z.ZodString>;
499
+ udm: z.ZodOptional<z.ZodString>;
500
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
501
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
502
+ collectionKey: z.ZodOptional<z.ZodString>;
503
+ collectionParameters: z.ZodOptional<z.ZodAny>;
504
+ archivedAt: z.ZodOptional<z.ZodString>;
505
+ createdAt: z.ZodOptional<z.ZodString>;
506
+ updatedAt: z.ZodOptional<z.ZodString>;
507
+ customized: z.ZodOptional<z.ZodBoolean>;
508
+ defaultPath: z.ZodOptional<z.ZodString>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ id: string;
511
+ name: string;
512
+ revision: string;
513
+ key?: string | undefined;
514
+ uuid?: string | undefined;
515
+ description?: string | undefined;
516
+ state?: import("..").WorkspaceElementState | undefined;
517
+ errors?: any[] | undefined;
518
+ isDeactivated?: boolean | undefined;
519
+ createdAt?: string | undefined;
520
+ updatedAt?: string | undefined;
521
+ archivedAt?: string | undefined;
522
+ integrationId?: string | undefined;
523
+ udm?: string | undefined;
524
+ publishedRevision?: string | undefined;
525
+ customized?: boolean | undefined;
526
+ universalDataSourceId?: string | undefined;
527
+ collectionKey?: string | undefined;
528
+ collectionParameters?: any;
529
+ pullUpdatesIntervalSeconds?: number | undefined;
530
+ fullSyncIntervalSeconds?: number | undefined;
531
+ defaultPath?: string | undefined;
532
+ universalDataSourceRevision?: string | undefined;
533
+ }, {
534
+ id: string;
535
+ name: string;
536
+ revision: string;
537
+ key?: string | undefined;
538
+ uuid?: string | undefined;
539
+ description?: string | undefined;
540
+ state?: import("..").WorkspaceElementState | undefined;
541
+ errors?: any[] | undefined;
542
+ isDeactivated?: boolean | undefined;
543
+ createdAt?: string | undefined;
544
+ updatedAt?: string | undefined;
545
+ archivedAt?: string | undefined;
546
+ integrationId?: string | undefined;
547
+ udm?: string | undefined;
548
+ publishedRevision?: string | undefined;
549
+ customized?: boolean | undefined;
550
+ universalDataSourceId?: string | undefined;
551
+ collectionKey?: string | undefined;
552
+ collectionParameters?: any;
553
+ pullUpdatesIntervalSeconds?: number | undefined;
554
+ fullSyncIntervalSeconds?: number | undefined;
555
+ defaultPath?: string | undefined;
556
+ universalDataSourceRevision?: string | undefined;
557
+ }>;
558
+ integration: z.ZodObject<{
559
+ id: z.ZodString;
560
+ name: z.ZodString;
561
+ key: z.ZodOptional<z.ZodString>;
562
+ uuid: z.ZodOptional<z.ZodString>;
563
+ description: z.ZodOptional<z.ZodString>;
564
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
565
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
566
+ revision: z.ZodOptional<z.ZodString>;
567
+ createdAt: z.ZodOptional<z.ZodString>;
568
+ updatedAt: z.ZodOptional<z.ZodString>;
569
+ } & {
570
+ logoUri: z.ZodString;
571
+ connectorId: z.ZodOptional<z.ZodString>;
572
+ connectorVersion: z.ZodOptional<z.ZodString>;
573
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
+ key: z.ZodString;
575
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
576
+ title: z.ZodOptional<z.ZodString>;
577
+ description: z.ZodOptional<z.ZodString>;
578
+ ui: z.ZodOptional<z.ZodObject<{
579
+ schema: z.ZodOptional<z.ZodAny>;
580
+ helpUri: z.ZodOptional<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ schema?: any;
583
+ helpUri?: string | undefined;
584
+ }, {
585
+ schema?: any;
586
+ helpUri?: string | undefined;
587
+ }>>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ key: string;
590
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
591
+ description?: string | undefined;
592
+ title?: string | undefined;
593
+ ui?: {
594
+ schema?: any;
595
+ helpUri?: string | undefined;
596
+ } | undefined;
597
+ }, {
598
+ key: string;
599
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
600
+ description?: string | undefined;
601
+ title?: string | undefined;
602
+ ui?: {
603
+ schema?: any;
604
+ helpUri?: string | undefined;
605
+ } | undefined;
606
+ }>, "many">>;
607
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
608
+ parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
609
+ parameters: z.ZodOptional<z.ZodAny>;
610
+ baseUri: z.ZodString;
611
+ archivedAt: z.ZodOptional<z.ZodString>;
612
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
613
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
614
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
615
+ operationsCount: z.ZodOptional<z.ZodNumber>;
616
+ hasData: z.ZodOptional<z.ZodBoolean>;
617
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
618
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
619
+ eventsCount: z.ZodOptional<z.ZodNumber>;
620
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
621
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
622
+ isTest: z.ZodOptional<z.ZodBoolean>;
623
+ appUuid: z.ZodOptional<z.ZodString>;
624
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
625
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
626
+ }, "strip", z.ZodTypeAny, {
627
+ id: string;
628
+ name: string;
629
+ baseUri: string;
630
+ logoUri: string;
631
+ key?: string | undefined;
632
+ uuid?: string | undefined;
633
+ description?: string | undefined;
634
+ state?: import("..").WorkspaceElementState | undefined;
635
+ errors?: any[] | undefined;
636
+ revision?: string | undefined;
637
+ isDeactivated?: boolean | undefined;
638
+ createdAt?: string | undefined;
639
+ updatedAt?: string | undefined;
640
+ archivedAt?: string | undefined;
641
+ parameters?: any;
642
+ parametersSchema?: import("../..").DataSchema | undefined;
643
+ isTest?: boolean | undefined;
644
+ connectorId?: string | undefined;
645
+ connectorVersion?: string | undefined;
646
+ authOptions?: {
647
+ key: string;
648
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
649
+ description?: string | undefined;
650
+ title?: string | undefined;
651
+ ui?: {
652
+ schema?: any;
653
+ helpUri?: string | undefined;
654
+ } | undefined;
655
+ }[] | undefined;
656
+ oAuthCallbackUri?: string | undefined;
657
+ hasMissingParameters?: boolean | undefined;
658
+ hasDocumentation?: boolean | undefined;
659
+ hasOperations?: boolean | undefined;
660
+ operationsCount?: number | undefined;
661
+ hasData?: boolean | undefined;
662
+ dataCollectionsCount?: number | undefined;
663
+ hasEvents?: boolean | undefined;
664
+ eventsCount?: number | undefined;
665
+ hasGlobalWebhooks?: boolean | undefined;
666
+ hasUdm?: boolean | undefined;
667
+ appUuid?: string | undefined;
668
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
669
+ }, {
670
+ id: string;
671
+ name: string;
672
+ baseUri: string;
673
+ logoUri: string;
674
+ key?: string | undefined;
675
+ uuid?: string | undefined;
676
+ description?: string | undefined;
677
+ state?: import("..").WorkspaceElementState | undefined;
678
+ errors?: any[] | undefined;
679
+ revision?: string | undefined;
680
+ isDeactivated?: boolean | undefined;
681
+ createdAt?: string | undefined;
682
+ updatedAt?: string | undefined;
683
+ archivedAt?: string | undefined;
684
+ parameters?: any;
685
+ parametersSchema?: import("../..").DataSchema | undefined;
686
+ isTest?: boolean | undefined;
687
+ connectorId?: string | undefined;
688
+ connectorVersion?: string | undefined;
689
+ authOptions?: {
690
+ key: string;
691
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
692
+ description?: string | undefined;
693
+ title?: string | undefined;
694
+ ui?: {
695
+ schema?: any;
696
+ helpUri?: string | undefined;
697
+ } | undefined;
698
+ }[] | undefined;
699
+ oAuthCallbackUri?: string | undefined;
700
+ hasMissingParameters?: boolean | undefined;
701
+ hasDocumentation?: boolean | undefined;
702
+ hasOperations?: boolean | undefined;
703
+ operationsCount?: number | undefined;
704
+ hasData?: boolean | undefined;
705
+ dataCollectionsCount?: number | undefined;
706
+ hasEvents?: boolean | undefined;
707
+ eventsCount?: number | undefined;
708
+ hasGlobalWebhooks?: boolean | undefined;
709
+ hasUdm?: boolean | undefined;
710
+ appUuid?: string | undefined;
711
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
712
+ }>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ integration: {
715
+ id: string;
716
+ name: string;
717
+ baseUri: string;
718
+ logoUri: string;
719
+ key?: string | undefined;
720
+ uuid?: string | undefined;
721
+ description?: string | undefined;
722
+ state?: import("..").WorkspaceElementState | undefined;
723
+ errors?: any[] | undefined;
724
+ revision?: string | undefined;
725
+ isDeactivated?: boolean | undefined;
726
+ createdAt?: string | undefined;
727
+ updatedAt?: string | undefined;
728
+ archivedAt?: string | undefined;
729
+ parameters?: any;
730
+ parametersSchema?: import("../..").DataSchema | undefined;
731
+ isTest?: boolean | undefined;
732
+ connectorId?: string | undefined;
733
+ connectorVersion?: string | undefined;
734
+ authOptions?: {
735
+ key: string;
736
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
737
+ description?: string | undefined;
738
+ title?: string | undefined;
739
+ ui?: {
740
+ schema?: any;
741
+ helpUri?: string | undefined;
742
+ } | undefined;
743
+ }[] | undefined;
744
+ oAuthCallbackUri?: string | undefined;
745
+ hasMissingParameters?: boolean | undefined;
746
+ hasDocumentation?: boolean | undefined;
747
+ hasOperations?: boolean | undefined;
748
+ operationsCount?: number | undefined;
749
+ hasData?: boolean | undefined;
750
+ dataCollectionsCount?: number | undefined;
751
+ hasEvents?: boolean | undefined;
752
+ eventsCount?: number | undefined;
753
+ hasGlobalWebhooks?: boolean | undefined;
754
+ hasUdm?: boolean | undefined;
755
+ appUuid?: string | undefined;
756
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
757
+ };
758
+ element: {
759
+ id: string;
760
+ name: string;
761
+ revision: string;
762
+ key?: string | undefined;
763
+ uuid?: string | undefined;
764
+ description?: string | undefined;
765
+ state?: import("..").WorkspaceElementState | undefined;
766
+ errors?: any[] | undefined;
767
+ isDeactivated?: boolean | undefined;
768
+ createdAt?: string | undefined;
769
+ updatedAt?: string | undefined;
770
+ archivedAt?: string | undefined;
771
+ integrationId?: string | undefined;
772
+ udm?: string | undefined;
773
+ publishedRevision?: string | undefined;
774
+ customized?: boolean | undefined;
775
+ universalDataSourceId?: string | undefined;
776
+ collectionKey?: string | undefined;
777
+ collectionParameters?: any;
778
+ pullUpdatesIntervalSeconds?: number | undefined;
779
+ fullSyncIntervalSeconds?: number | undefined;
780
+ defaultPath?: string | undefined;
781
+ universalDataSourceRevision?: string | undefined;
782
+ };
783
+ }, {
784
+ integration: {
785
+ id: string;
786
+ name: string;
787
+ baseUri: string;
788
+ logoUri: string;
789
+ key?: string | undefined;
790
+ uuid?: string | undefined;
791
+ description?: string | undefined;
792
+ state?: import("..").WorkspaceElementState | undefined;
793
+ errors?: any[] | undefined;
794
+ revision?: string | undefined;
795
+ isDeactivated?: boolean | undefined;
796
+ createdAt?: string | undefined;
797
+ updatedAt?: string | undefined;
798
+ archivedAt?: string | undefined;
799
+ parameters?: any;
800
+ parametersSchema?: import("../..").DataSchema | undefined;
801
+ isTest?: boolean | undefined;
802
+ connectorId?: string | undefined;
803
+ connectorVersion?: string | undefined;
804
+ authOptions?: {
805
+ key: string;
806
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
807
+ description?: string | undefined;
808
+ title?: string | undefined;
809
+ ui?: {
810
+ schema?: any;
811
+ helpUri?: string | undefined;
812
+ } | undefined;
813
+ }[] | undefined;
814
+ oAuthCallbackUri?: string | undefined;
815
+ hasMissingParameters?: boolean | undefined;
816
+ hasDocumentation?: boolean | undefined;
817
+ hasOperations?: boolean | undefined;
818
+ operationsCount?: number | undefined;
819
+ hasData?: boolean | undefined;
820
+ dataCollectionsCount?: number | undefined;
821
+ hasEvents?: boolean | undefined;
822
+ eventsCount?: number | undefined;
823
+ hasGlobalWebhooks?: boolean | undefined;
824
+ hasUdm?: boolean | undefined;
825
+ appUuid?: string | undefined;
826
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
827
+ };
828
+ element: {
829
+ id: string;
830
+ name: string;
831
+ revision: string;
832
+ key?: string | undefined;
833
+ uuid?: string | undefined;
834
+ description?: string | undefined;
835
+ state?: import("..").WorkspaceElementState | undefined;
836
+ errors?: any[] | undefined;
837
+ isDeactivated?: boolean | undefined;
838
+ createdAt?: string | undefined;
839
+ updatedAt?: string | undefined;
840
+ archivedAt?: string | undefined;
841
+ integrationId?: string | undefined;
842
+ udm?: string | undefined;
843
+ publishedRevision?: string | undefined;
844
+ customized?: boolean | undefined;
845
+ universalDataSourceId?: string | undefined;
846
+ collectionKey?: string | undefined;
847
+ collectionParameters?: any;
848
+ pullUpdatesIntervalSeconds?: number | undefined;
849
+ fullSyncIntervalSeconds?: number | undefined;
850
+ defaultPath?: string | undefined;
851
+ universalDataSourceRevision?: string | undefined;
852
+ };
853
+ }>, "many">>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ id: string;
856
+ name: string;
857
+ revision: string;
858
+ key?: string | undefined;
859
+ integration?: {
860
+ id: string;
861
+ name: string;
862
+ baseUri: string;
863
+ logoUri: string;
864
+ key?: string | undefined;
865
+ uuid?: string | undefined;
866
+ description?: string | undefined;
867
+ state?: import("..").WorkspaceElementState | undefined;
868
+ errors?: any[] | undefined;
869
+ revision?: string | undefined;
870
+ isDeactivated?: boolean | undefined;
871
+ createdAt?: string | undefined;
872
+ updatedAt?: string | undefined;
873
+ archivedAt?: string | undefined;
874
+ parameters?: any;
875
+ parametersSchema?: import("../..").DataSchema | undefined;
876
+ isTest?: boolean | undefined;
877
+ connectorId?: string | undefined;
878
+ connectorVersion?: string | undefined;
879
+ authOptions?: {
880
+ key: string;
881
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
882
+ description?: string | undefined;
883
+ title?: string | undefined;
884
+ ui?: {
885
+ schema?: any;
886
+ helpUri?: string | undefined;
887
+ } | undefined;
888
+ }[] | undefined;
889
+ oAuthCallbackUri?: string | undefined;
890
+ hasMissingParameters?: boolean | undefined;
891
+ hasDocumentation?: boolean | undefined;
892
+ hasOperations?: boolean | undefined;
893
+ operationsCount?: number | undefined;
894
+ hasData?: boolean | undefined;
895
+ dataCollectionsCount?: number | undefined;
896
+ hasEvents?: boolean | undefined;
897
+ eventsCount?: number | undefined;
898
+ hasGlobalWebhooks?: boolean | undefined;
899
+ hasUdm?: boolean | undefined;
900
+ appUuid?: string | undefined;
901
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
902
+ } | undefined;
903
+ uuid?: string | undefined;
904
+ description?: string | undefined;
905
+ state?: import("..").WorkspaceElementState | undefined;
906
+ errors?: any[] | undefined;
907
+ isDeactivated?: boolean | undefined;
908
+ createdAt?: string | undefined;
909
+ updatedAt?: string | undefined;
910
+ archivedAt?: string | undefined;
911
+ integrationId?: string | undefined;
912
+ udm?: string | undefined;
913
+ publishedRevision?: string | undefined;
914
+ customized?: boolean | undefined;
915
+ appliedToIntegrations?: {
916
+ integration: {
917
+ id: string;
918
+ name: string;
919
+ baseUri: string;
920
+ logoUri: string;
921
+ key?: string | undefined;
922
+ uuid?: string | undefined;
923
+ description?: string | undefined;
924
+ state?: import("..").WorkspaceElementState | undefined;
925
+ errors?: any[] | undefined;
926
+ revision?: string | undefined;
927
+ isDeactivated?: boolean | undefined;
928
+ createdAt?: string | undefined;
929
+ updatedAt?: string | undefined;
930
+ archivedAt?: string | undefined;
931
+ parameters?: any;
932
+ parametersSchema?: import("../..").DataSchema | undefined;
933
+ isTest?: boolean | undefined;
934
+ connectorId?: string | undefined;
935
+ connectorVersion?: string | undefined;
936
+ authOptions?: {
937
+ key: string;
938
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
939
+ description?: string | undefined;
940
+ title?: string | undefined;
941
+ ui?: {
942
+ schema?: any;
943
+ helpUri?: string | undefined;
944
+ } | undefined;
945
+ }[] | undefined;
946
+ oAuthCallbackUri?: string | undefined;
947
+ hasMissingParameters?: boolean | undefined;
948
+ hasDocumentation?: boolean | undefined;
949
+ hasOperations?: boolean | undefined;
950
+ operationsCount?: number | undefined;
951
+ hasData?: boolean | undefined;
952
+ dataCollectionsCount?: number | undefined;
953
+ hasEvents?: boolean | undefined;
954
+ eventsCount?: number | undefined;
955
+ hasGlobalWebhooks?: boolean | undefined;
956
+ hasUdm?: boolean | undefined;
957
+ appUuid?: string | undefined;
958
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
959
+ };
960
+ element: {
961
+ id: string;
962
+ name: string;
963
+ revision: string;
964
+ key?: string | undefined;
965
+ uuid?: string | undefined;
966
+ description?: string | undefined;
967
+ state?: import("..").WorkspaceElementState | undefined;
968
+ errors?: any[] | undefined;
969
+ isDeactivated?: boolean | undefined;
970
+ createdAt?: string | undefined;
971
+ updatedAt?: string | undefined;
972
+ archivedAt?: string | undefined;
973
+ integrationId?: string | undefined;
974
+ udm?: string | undefined;
975
+ publishedRevision?: string | undefined;
976
+ customized?: boolean | undefined;
977
+ universalDataSourceId?: string | undefined;
978
+ collectionKey?: string | undefined;
979
+ collectionParameters?: any;
980
+ pullUpdatesIntervalSeconds?: number | undefined;
981
+ fullSyncIntervalSeconds?: number | undefined;
982
+ defaultPath?: string | undefined;
983
+ universalDataSourceRevision?: string | undefined;
984
+ };
985
+ }[] | undefined;
986
+ universalDataSourceId?: string | undefined;
987
+ collectionKey?: string | undefined;
988
+ collectionParameters?: any;
989
+ pullUpdatesIntervalSeconds?: number | undefined;
990
+ fullSyncIntervalSeconds?: number | undefined;
991
+ defaultPath?: string | undefined;
992
+ universalDataSourceRevision?: string | undefined;
993
+ }, {
994
+ id: string;
995
+ name: string;
996
+ revision: string;
997
+ key?: string | undefined;
998
+ integration?: {
999
+ id: string;
1000
+ name: string;
1001
+ baseUri: string;
1002
+ logoUri: string;
1003
+ key?: string | undefined;
1004
+ uuid?: string | undefined;
1005
+ description?: string | undefined;
1006
+ state?: import("..").WorkspaceElementState | undefined;
1007
+ errors?: any[] | undefined;
1008
+ revision?: string | undefined;
1009
+ isDeactivated?: boolean | undefined;
1010
+ createdAt?: string | undefined;
1011
+ updatedAt?: string | undefined;
1012
+ archivedAt?: string | undefined;
1013
+ parameters?: any;
1014
+ parametersSchema?: import("../..").DataSchema | undefined;
1015
+ isTest?: boolean | undefined;
1016
+ connectorId?: string | undefined;
1017
+ connectorVersion?: string | undefined;
1018
+ authOptions?: {
1019
+ key: string;
1020
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1021
+ description?: string | undefined;
1022
+ title?: string | undefined;
1023
+ ui?: {
1024
+ schema?: any;
1025
+ helpUri?: string | undefined;
1026
+ } | undefined;
1027
+ }[] | undefined;
1028
+ oAuthCallbackUri?: string | undefined;
1029
+ hasMissingParameters?: boolean | undefined;
1030
+ hasDocumentation?: boolean | undefined;
1031
+ hasOperations?: boolean | undefined;
1032
+ operationsCount?: number | undefined;
1033
+ hasData?: boolean | undefined;
1034
+ dataCollectionsCount?: number | undefined;
1035
+ hasEvents?: boolean | undefined;
1036
+ eventsCount?: number | undefined;
1037
+ hasGlobalWebhooks?: boolean | undefined;
1038
+ hasUdm?: boolean | undefined;
1039
+ appUuid?: string | undefined;
1040
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1041
+ } | undefined;
1042
+ uuid?: string | undefined;
1043
+ description?: string | undefined;
1044
+ state?: import("..").WorkspaceElementState | undefined;
1045
+ errors?: any[] | undefined;
1046
+ isDeactivated?: boolean | undefined;
1047
+ createdAt?: string | undefined;
1048
+ updatedAt?: string | undefined;
1049
+ archivedAt?: string | undefined;
1050
+ integrationId?: string | undefined;
1051
+ udm?: string | undefined;
1052
+ publishedRevision?: string | undefined;
1053
+ customized?: boolean | undefined;
1054
+ appliedToIntegrations?: {
1055
+ integration: {
1056
+ id: string;
1057
+ name: string;
1058
+ baseUri: string;
1059
+ logoUri: string;
1060
+ key?: string | undefined;
1061
+ uuid?: string | undefined;
1062
+ description?: string | undefined;
1063
+ state?: import("..").WorkspaceElementState | undefined;
1064
+ errors?: any[] | undefined;
1065
+ revision?: string | undefined;
1066
+ isDeactivated?: boolean | undefined;
1067
+ createdAt?: string | undefined;
1068
+ updatedAt?: string | undefined;
1069
+ archivedAt?: string | undefined;
1070
+ parameters?: any;
1071
+ parametersSchema?: import("../..").DataSchema | undefined;
1072
+ isTest?: boolean | undefined;
1073
+ connectorId?: string | undefined;
1074
+ connectorVersion?: string | undefined;
1075
+ authOptions?: {
1076
+ key: string;
1077
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1078
+ description?: string | undefined;
1079
+ title?: string | undefined;
1080
+ ui?: {
1081
+ schema?: any;
1082
+ helpUri?: string | undefined;
1083
+ } | undefined;
1084
+ }[] | undefined;
1085
+ oAuthCallbackUri?: string | undefined;
1086
+ hasMissingParameters?: boolean | undefined;
1087
+ hasDocumentation?: boolean | undefined;
1088
+ hasOperations?: boolean | undefined;
1089
+ operationsCount?: number | undefined;
1090
+ hasData?: boolean | undefined;
1091
+ dataCollectionsCount?: number | undefined;
1092
+ hasEvents?: boolean | undefined;
1093
+ eventsCount?: number | undefined;
1094
+ hasGlobalWebhooks?: boolean | undefined;
1095
+ hasUdm?: boolean | undefined;
1096
+ appUuid?: string | undefined;
1097
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1098
+ };
1099
+ element: {
1100
+ id: string;
1101
+ name: string;
1102
+ revision: string;
1103
+ key?: string | undefined;
1104
+ uuid?: string | undefined;
1105
+ description?: string | undefined;
1106
+ state?: import("..").WorkspaceElementState | undefined;
1107
+ errors?: any[] | undefined;
1108
+ isDeactivated?: boolean | undefined;
1109
+ createdAt?: string | undefined;
1110
+ updatedAt?: string | undefined;
1111
+ archivedAt?: string | undefined;
1112
+ integrationId?: string | undefined;
1113
+ udm?: string | undefined;
1114
+ publishedRevision?: string | undefined;
1115
+ customized?: boolean | undefined;
1116
+ universalDataSourceId?: string | undefined;
1117
+ collectionKey?: string | undefined;
1118
+ collectionParameters?: any;
1119
+ pullUpdatesIntervalSeconds?: number | undefined;
1120
+ fullSyncIntervalSeconds?: number | undefined;
1121
+ defaultPath?: string | undefined;
1122
+ universalDataSourceRevision?: string | undefined;
1123
+ };
1124
+ }[] | undefined;
1125
+ universalDataSourceId?: string | undefined;
1126
+ collectionKey?: string | undefined;
1127
+ collectionParameters?: any;
1128
+ pullUpdatesIntervalSeconds?: number | undefined;
1129
+ fullSyncIntervalSeconds?: number | undefined;
1130
+ defaultPath?: string | undefined;
1131
+ universalDataSourceRevision?: string | undefined;
1132
+ }>;
1133
+ export type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
1134
+ export type DataSource = DataSourceApiResponse;