@membranehq/sdk 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +2283 -14038
- package/dist/bundle.js +3949 -4253
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +28 -28
- package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
- package/dist/dts/config/index.d.ts +1 -11
- package/dist/dts/date-time/business-day.d.ts +2 -0
- package/dist/dts/date-time/business-day.test.d.ts +1 -0
- package/dist/dts/date-time/index.d.ts +1 -0
- package/dist/dts/entity-repository.d.ts +13 -64
- package/dist/dts/http-requests.d.ts +2 -14
- package/dist/dts/iframe.d.ts +4 -12
- package/dist/dts/scenario-templates/index.d.ts +60 -484
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
- package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
- package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
- package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +86 -1359
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +125 -2363
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
- package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
- package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
- package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
- package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
- package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +57 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +10 -77
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
- package/dist/dts/workspace-elements/base/flows/index.d.ts +80 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
- package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
- package/dist/dts/workspace-elements/types.d.ts +15 -153
- package/dist/index.browser.d.mts +7609 -26109
- package/dist/index.browser.d.ts +7609 -26109
- package/dist/index.browser.js +420 -419
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +412 -415
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +7537 -26047
- package/dist/index.node.d.ts +7537 -26047
- package/dist/index.node.js +420 -419
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +412 -415
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
|
@@ -4,330 +4,30 @@ import { DataSourceInstance } from './data-source-instances-api';
|
|
|
4
4
|
import { FlowInstanceSelector } from './flows-api';
|
|
5
5
|
import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors';
|
|
6
6
|
import { PaginationResponse } from '../../entity-repository';
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
integrationId?: string | undefined;
|
|
31
|
-
limit?: number | undefined;
|
|
32
|
-
cursor?: string | undefined;
|
|
33
|
-
universalDataSourceId?: string | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
integrationId?: string | undefined;
|
|
36
|
-
limit?: number | undefined;
|
|
37
|
-
cursor?: 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;
|
|
7
|
+
export declare const DataSourceApiResponse: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
key: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
12
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
44
13
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
45
15
|
udm: z.ZodOptional<z.ZodString>;
|
|
46
16
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
47
17
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
rootPath: z.ZodOptional<z.ZodString>;
|
|
49
|
-
defaultPath: z.ZodOptional<z.ZodString>;
|
|
50
18
|
collectionKey: z.ZodOptional<z.ZodString>;
|
|
51
19
|
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
key: string;
|
|
54
|
-
name: string;
|
|
55
|
-
integrationId?: string | undefined;
|
|
56
|
-
udm?: string | undefined;
|
|
57
|
-
collectionKey?: string | undefined;
|
|
58
|
-
collectionParameters?: any;
|
|
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
20
|
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>;
|
|
105
|
-
export interface DataSourceSelector extends IntegrationSpecificElementSelector {
|
|
106
|
-
}
|
|
107
|
-
export interface DataSourceInstanceSelector extends ConnectionSelector, FlowInstanceSelector, ElementInstanceSelector {
|
|
108
|
-
dataSourceKey?: string;
|
|
109
|
-
dataSourceId?: string;
|
|
110
|
-
instanceKey?: string;
|
|
111
|
-
nodeKey?: string;
|
|
112
|
-
udm?: string;
|
|
113
|
-
}
|
|
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
|
-
integrationId?: string | undefined;
|
|
126
|
-
limit?: number | undefined;
|
|
127
|
-
cursor?: string | undefined;
|
|
128
|
-
userId?: string | undefined;
|
|
129
|
-
connectionId?: string | undefined;
|
|
130
|
-
integrationKey?: string | undefined;
|
|
131
|
-
dataSourceId?: string | undefined;
|
|
132
|
-
universalDataSourceId?: string | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
integrationId?: string | undefined;
|
|
135
|
-
limit?: number | undefined;
|
|
136
|
-
cursor?: string | undefined;
|
|
137
|
-
userId?: string | undefined;
|
|
138
|
-
connectionId?: string | undefined;
|
|
139
|
-
integrationKey?: string | undefined;
|
|
140
|
-
dataSourceId?: string | undefined;
|
|
141
|
-
universalDataSourceId?: string | undefined;
|
|
142
|
-
}>;
|
|
143
|
-
export type FindDataSourceInstancesQuery = z.infer<typeof FindDataSourceInstancesQuery>;
|
|
144
|
-
export type FindDataSourceInstancesResponse = PaginationResponse<DataSourceInstance>;
|
|
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;
|
|
151
|
-
dataSourceId: string;
|
|
152
|
-
path?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
connectionId: 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;
|
|
181
|
-
collectionParameters?: any;
|
|
182
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
183
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
184
|
-
subscribedTo?: {
|
|
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
|
-
integrationId?: string | undefined;
|
|
241
|
-
limit?: number | undefined;
|
|
242
|
-
cursor?: string | undefined;
|
|
243
|
-
userId?: string | undefined;
|
|
244
|
-
connectionId?: string | undefined;
|
|
245
|
-
dataSourceId?: string | undefined;
|
|
246
|
-
dataSourceInstanceId?: string | undefined;
|
|
247
|
-
startedAfter?: string | undefined;
|
|
248
|
-
}, {
|
|
249
|
-
integrationId?: string | undefined;
|
|
250
|
-
limit?: number | undefined;
|
|
251
|
-
cursor?: string | undefined;
|
|
252
|
-
userId?: string | undefined;
|
|
253
|
-
connectionId?: 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
|
-
integrationId?: string | undefined;
|
|
286
|
-
limit?: number | undefined;
|
|
287
|
-
cursor?: string | undefined;
|
|
288
|
-
userId?: string | undefined;
|
|
289
|
-
connectionId?: string | undefined;
|
|
290
|
-
dataSourceId?: string | undefined;
|
|
291
|
-
dataSourceInstanceId?: string | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
integrationId?: string | undefined;
|
|
294
|
-
limit?: number | undefined;
|
|
295
|
-
cursor?: string | undefined;
|
|
296
|
-
userId?: string | undefined;
|
|
297
|
-
connectionId?: 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
|
-
key: z.ZodOptional<z.ZodString>;
|
|
305
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
306
|
-
description: z.ZodOptional<z.ZodString>;
|
|
307
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
308
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
309
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
310
|
-
} & {
|
|
311
21
|
name: z.ZodString;
|
|
312
|
-
state: z.ZodOptional<z.
|
|
313
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
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>>>>;
|
|
314
24
|
revision: z.ZodOptional<z.ZodString>;
|
|
315
25
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
316
26
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
317
27
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
318
28
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
319
29
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
-
} & {
|
|
321
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
322
|
-
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
323
30
|
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
324
|
-
udm: z.ZodOptional<z.ZodString>;
|
|
325
|
-
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
326
|
-
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
327
|
-
collectionKey: z.ZodOptional<z.ZodString>;
|
|
328
|
-
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
329
|
-
defaultPath: z.ZodOptional<z.ZodString>;
|
|
330
|
-
} & {
|
|
331
31
|
integration: z.ZodOptional<z.ZodObject<{
|
|
332
32
|
id: z.ZodString;
|
|
333
33
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -335,12 +35,11 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
335
35
|
description: z.ZodOptional<z.ZodString>;
|
|
336
36
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
337
37
|
name: z.ZodString;
|
|
338
|
-
state: z.ZodOptional<z.
|
|
339
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
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>>>>;
|
|
340
40
|
revision: z.ZodOptional<z.ZodString>;
|
|
341
41
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
342
42
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
343
|
-
} & {
|
|
344
43
|
logoUri: z.ZodString;
|
|
345
44
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
346
45
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -360,154 +59,41 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
360
59
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
361
60
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
362
61
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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
|
-
id: string;
|
|
398
|
-
name: string;
|
|
399
|
-
logoUri: 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
|
-
parameters?: any;
|
|
412
|
-
connectorId?: string | undefined;
|
|
413
|
-
connectorVersion?: string | undefined;
|
|
414
|
-
oAuthCallbackUri?: string | undefined;
|
|
415
|
-
hasMissingParameters?: boolean | undefined;
|
|
416
|
-
hasDocumentation?: boolean | undefined;
|
|
417
|
-
hasOperations?: boolean | undefined;
|
|
418
|
-
operationsCount?: number | undefined;
|
|
419
|
-
hasData?: boolean | undefined;
|
|
420
|
-
dataCollectionsCount?: number | undefined;
|
|
421
|
-
hasEvents?: boolean | undefined;
|
|
422
|
-
eventsCount?: number | undefined;
|
|
423
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
424
|
-
hasUdm?: boolean | undefined;
|
|
425
|
-
isTest?: boolean | undefined;
|
|
426
|
-
appUuid?: string | undefined;
|
|
427
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
428
|
-
}>>;
|
|
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>>;
|
|
429
71
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
430
72
|
element: z.ZodObject<{
|
|
431
73
|
id: z.ZodString;
|
|
432
74
|
key: z.ZodOptional<z.ZodString>;
|
|
433
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
434
75
|
description: z.ZodOptional<z.ZodString>;
|
|
76
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
435
77
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
436
78
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
437
|
-
|
|
438
|
-
|
|
79
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
81
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
collectionKey: z.ZodOptional<z.ZodString>;
|
|
84
|
+
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
85
|
+
defaultPath: z.ZodOptional<z.ZodString>;
|
|
439
86
|
name: z.ZodString;
|
|
440
|
-
state: z.ZodOptional<z.
|
|
441
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
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>>>>;
|
|
442
89
|
revision: z.ZodOptional<z.ZodString>;
|
|
443
90
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
444
91
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
445
92
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
446
93
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
447
94
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
448
|
-
} & {
|
|
449
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
450
|
-
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
451
95
|
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
452
|
-
|
|
453
|
-
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
454
|
-
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
455
|
-
collectionKey: z.ZodOptional<z.ZodString>;
|
|
456
|
-
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
457
|
-
defaultPath: z.ZodOptional<z.ZodString>;
|
|
458
|
-
}, "strip", z.ZodTypeAny, {
|
|
459
|
-
id: string;
|
|
460
|
-
name: string;
|
|
461
|
-
key?: string | undefined;
|
|
462
|
-
uuid?: string | undefined;
|
|
463
|
-
description?: string | undefined;
|
|
464
|
-
meta?: Record<string, any> | undefined;
|
|
465
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
466
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
467
|
-
revision?: string | undefined;
|
|
468
|
-
createdAt?: string | undefined;
|
|
469
|
-
updatedAt?: string | undefined;
|
|
470
|
-
archivedAt?: string | undefined;
|
|
471
|
-
isDeactivated?: boolean | undefined;
|
|
472
|
-
integrationId?: string | undefined;
|
|
473
|
-
parentId?: string | undefined;
|
|
474
|
-
isCustomized?: boolean | undefined;
|
|
475
|
-
publishedRevision?: string | undefined;
|
|
476
|
-
udm?: string | undefined;
|
|
477
|
-
universalDataSourceId?: string | undefined;
|
|
478
|
-
collectionKey?: string | undefined;
|
|
479
|
-
collectionParameters?: any;
|
|
480
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
481
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
482
|
-
defaultPath?: string | undefined;
|
|
483
|
-
universalDataSourceRevision?: string | undefined;
|
|
484
|
-
}, {
|
|
485
|
-
id: string;
|
|
486
|
-
name: string;
|
|
487
|
-
key?: string | undefined;
|
|
488
|
-
uuid?: string | undefined;
|
|
489
|
-
description?: string | undefined;
|
|
490
|
-
meta?: Record<string, any> | undefined;
|
|
491
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
492
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
493
|
-
revision?: string | undefined;
|
|
494
|
-
createdAt?: string | undefined;
|
|
495
|
-
updatedAt?: string | undefined;
|
|
496
|
-
archivedAt?: string | undefined;
|
|
497
|
-
isDeactivated?: boolean | undefined;
|
|
498
|
-
integrationId?: string | undefined;
|
|
499
|
-
parentId?: string | undefined;
|
|
500
|
-
isCustomized?: boolean | undefined;
|
|
501
|
-
publishedRevision?: string | undefined;
|
|
502
|
-
udm?: string | undefined;
|
|
503
|
-
universalDataSourceId?: string | undefined;
|
|
504
|
-
collectionKey?: string | undefined;
|
|
505
|
-
collectionParameters?: any;
|
|
506
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
507
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
508
|
-
defaultPath?: string | undefined;
|
|
509
|
-
universalDataSourceRevision?: string | undefined;
|
|
510
|
-
}>;
|
|
96
|
+
}, z.core.$strip>;
|
|
511
97
|
integration: z.ZodObject<{
|
|
512
98
|
id: z.ZodString;
|
|
513
99
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -515,12 +101,11 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
515
101
|
description: z.ZodOptional<z.ZodString>;
|
|
516
102
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
517
103
|
name: z.ZodString;
|
|
518
|
-
state: z.ZodOptional<z.
|
|
519
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
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>>>>;
|
|
520
106
|
revision: z.ZodOptional<z.ZodString>;
|
|
521
107
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
522
108
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
523
|
-
} & {
|
|
524
109
|
logoUri: z.ZodString;
|
|
525
110
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
526
111
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -540,437 +125,136 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
540
125
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
541
126
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
542
127
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
543
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
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
|
-
}, {
|
|
577
|
-
id: string;
|
|
578
|
-
name: string;
|
|
579
|
-
logoUri: string;
|
|
580
|
-
key?: string | undefined;
|
|
581
|
-
uuid?: string | undefined;
|
|
582
|
-
description?: string | undefined;
|
|
583
|
-
meta?: Record<string, any> | undefined;
|
|
584
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
585
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
586
|
-
revision?: string | undefined;
|
|
587
|
-
createdAt?: string | undefined;
|
|
588
|
-
updatedAt?: string | undefined;
|
|
589
|
-
archivedAt?: string | undefined;
|
|
590
|
-
isDeactivated?: boolean | undefined;
|
|
591
|
-
parameters?: any;
|
|
592
|
-
connectorId?: string | undefined;
|
|
593
|
-
connectorVersion?: string | undefined;
|
|
594
|
-
oAuthCallbackUri?: string | undefined;
|
|
595
|
-
hasMissingParameters?: boolean | undefined;
|
|
596
|
-
hasDocumentation?: boolean | undefined;
|
|
597
|
-
hasOperations?: boolean | undefined;
|
|
598
|
-
operationsCount?: number | undefined;
|
|
599
|
-
hasData?: boolean | undefined;
|
|
600
|
-
dataCollectionsCount?: number | undefined;
|
|
601
|
-
hasEvents?: boolean | undefined;
|
|
602
|
-
eventsCount?: number | undefined;
|
|
603
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
604
|
-
hasUdm?: boolean | undefined;
|
|
605
|
-
isTest?: boolean | undefined;
|
|
606
|
-
appUuid?: string | undefined;
|
|
607
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
608
|
-
}>;
|
|
609
|
-
}, "strip", z.ZodTypeAny, {
|
|
610
|
-
integration: {
|
|
611
|
-
id: string;
|
|
612
|
-
name: string;
|
|
613
|
-
logoUri: string;
|
|
614
|
-
key?: string | undefined;
|
|
615
|
-
uuid?: string | undefined;
|
|
616
|
-
description?: string | undefined;
|
|
617
|
-
meta?: Record<string, any> | undefined;
|
|
618
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
619
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
620
|
-
revision?: string | undefined;
|
|
621
|
-
createdAt?: string | undefined;
|
|
622
|
-
updatedAt?: string | undefined;
|
|
623
|
-
archivedAt?: string | undefined;
|
|
624
|
-
isDeactivated?: boolean | undefined;
|
|
625
|
-
parameters?: any;
|
|
626
|
-
connectorId?: string | undefined;
|
|
627
|
-
connectorVersion?: string | undefined;
|
|
628
|
-
oAuthCallbackUri?: string | undefined;
|
|
629
|
-
hasMissingParameters?: boolean | undefined;
|
|
630
|
-
hasDocumentation?: boolean | undefined;
|
|
631
|
-
hasOperations?: boolean | undefined;
|
|
632
|
-
operationsCount?: number | undefined;
|
|
633
|
-
hasData?: boolean | undefined;
|
|
634
|
-
dataCollectionsCount?: number | undefined;
|
|
635
|
-
hasEvents?: boolean | undefined;
|
|
636
|
-
eventsCount?: number | undefined;
|
|
637
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
638
|
-
hasUdm?: boolean | undefined;
|
|
639
|
-
isTest?: boolean | undefined;
|
|
640
|
-
appUuid?: string | undefined;
|
|
641
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
642
|
-
};
|
|
643
|
-
element: {
|
|
644
|
-
id: string;
|
|
645
|
-
name: string;
|
|
646
|
-
key?: string | undefined;
|
|
647
|
-
uuid?: string | undefined;
|
|
648
|
-
description?: string | undefined;
|
|
649
|
-
meta?: Record<string, any> | undefined;
|
|
650
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
651
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
652
|
-
revision?: string | undefined;
|
|
653
|
-
createdAt?: string | undefined;
|
|
654
|
-
updatedAt?: string | undefined;
|
|
655
|
-
archivedAt?: string | undefined;
|
|
656
|
-
isDeactivated?: boolean | undefined;
|
|
657
|
-
integrationId?: string | undefined;
|
|
658
|
-
parentId?: string | undefined;
|
|
659
|
-
isCustomized?: boolean | undefined;
|
|
660
|
-
publishedRevision?: string | undefined;
|
|
661
|
-
udm?: string | undefined;
|
|
662
|
-
universalDataSourceId?: string | undefined;
|
|
663
|
-
collectionKey?: string | undefined;
|
|
664
|
-
collectionParameters?: any;
|
|
665
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
666
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
667
|
-
defaultPath?: string | undefined;
|
|
668
|
-
universalDataSourceRevision?: string | undefined;
|
|
669
|
-
};
|
|
670
|
-
}, {
|
|
671
|
-
integration: {
|
|
672
|
-
id: string;
|
|
673
|
-
name: string;
|
|
674
|
-
logoUri: string;
|
|
675
|
-
key?: string | undefined;
|
|
676
|
-
uuid?: string | undefined;
|
|
677
|
-
description?: string | undefined;
|
|
678
|
-
meta?: Record<string, any> | undefined;
|
|
679
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
680
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
681
|
-
revision?: string | undefined;
|
|
682
|
-
createdAt?: string | undefined;
|
|
683
|
-
updatedAt?: string | undefined;
|
|
684
|
-
archivedAt?: string | undefined;
|
|
685
|
-
isDeactivated?: boolean | undefined;
|
|
686
|
-
parameters?: any;
|
|
687
|
-
connectorId?: string | undefined;
|
|
688
|
-
connectorVersion?: string | undefined;
|
|
689
|
-
oAuthCallbackUri?: string | undefined;
|
|
690
|
-
hasMissingParameters?: boolean | undefined;
|
|
691
|
-
hasDocumentation?: boolean | undefined;
|
|
692
|
-
hasOperations?: boolean | undefined;
|
|
693
|
-
operationsCount?: number | undefined;
|
|
694
|
-
hasData?: boolean | undefined;
|
|
695
|
-
dataCollectionsCount?: number | undefined;
|
|
696
|
-
hasEvents?: boolean | undefined;
|
|
697
|
-
eventsCount?: number | undefined;
|
|
698
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
699
|
-
hasUdm?: boolean | undefined;
|
|
700
|
-
isTest?: boolean | undefined;
|
|
701
|
-
appUuid?: string | undefined;
|
|
702
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
703
|
-
};
|
|
704
|
-
element: {
|
|
705
|
-
id: string;
|
|
706
|
-
name: string;
|
|
707
|
-
key?: string | undefined;
|
|
708
|
-
uuid?: string | undefined;
|
|
709
|
-
description?: string | undefined;
|
|
710
|
-
meta?: Record<string, any> | undefined;
|
|
711
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
712
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
713
|
-
revision?: string | undefined;
|
|
714
|
-
createdAt?: string | undefined;
|
|
715
|
-
updatedAt?: string | undefined;
|
|
716
|
-
archivedAt?: string | undefined;
|
|
717
|
-
isDeactivated?: boolean | undefined;
|
|
718
|
-
integrationId?: string | undefined;
|
|
719
|
-
parentId?: string | undefined;
|
|
720
|
-
isCustomized?: boolean | undefined;
|
|
721
|
-
publishedRevision?: string | undefined;
|
|
722
|
-
udm?: string | undefined;
|
|
723
|
-
universalDataSourceId?: string | undefined;
|
|
724
|
-
collectionKey?: string | undefined;
|
|
725
|
-
collectionParameters?: any;
|
|
726
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
727
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
728
|
-
defaultPath?: string | undefined;
|
|
729
|
-
universalDataSourceRevision?: string | undefined;
|
|
730
|
-
};
|
|
731
|
-
}>, "many">>;
|
|
732
|
-
}, "strip", z.ZodTypeAny, {
|
|
733
|
-
id: string;
|
|
734
|
-
name: string;
|
|
735
|
-
key?: string | undefined;
|
|
736
|
-
integration?: {
|
|
737
|
-
id: string;
|
|
738
|
-
name: string;
|
|
739
|
-
logoUri: string;
|
|
740
|
-
key?: string | undefined;
|
|
741
|
-
uuid?: string | undefined;
|
|
742
|
-
description?: string | undefined;
|
|
743
|
-
meta?: Record<string, any> | undefined;
|
|
744
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
745
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
746
|
-
revision?: string | undefined;
|
|
747
|
-
createdAt?: string | undefined;
|
|
748
|
-
updatedAt?: string | undefined;
|
|
749
|
-
archivedAt?: string | undefined;
|
|
750
|
-
isDeactivated?: boolean | undefined;
|
|
751
|
-
parameters?: any;
|
|
752
|
-
connectorId?: string | undefined;
|
|
753
|
-
connectorVersion?: string | undefined;
|
|
754
|
-
oAuthCallbackUri?: string | undefined;
|
|
755
|
-
hasMissingParameters?: boolean | undefined;
|
|
756
|
-
hasDocumentation?: boolean | undefined;
|
|
757
|
-
hasOperations?: boolean | undefined;
|
|
758
|
-
operationsCount?: number | undefined;
|
|
759
|
-
hasData?: boolean | undefined;
|
|
760
|
-
dataCollectionsCount?: number | undefined;
|
|
761
|
-
hasEvents?: boolean | undefined;
|
|
762
|
-
eventsCount?: number | undefined;
|
|
763
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
764
|
-
hasUdm?: boolean | undefined;
|
|
765
|
-
isTest?: boolean | undefined;
|
|
766
|
-
appUuid?: string | undefined;
|
|
767
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
768
|
-
} | undefined;
|
|
769
|
-
uuid?: string | undefined;
|
|
770
|
-
description?: string | undefined;
|
|
771
|
-
meta?: Record<string, any> | undefined;
|
|
772
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
773
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
774
|
-
revision?: string | undefined;
|
|
775
|
-
createdAt?: string | undefined;
|
|
776
|
-
updatedAt?: string | undefined;
|
|
777
|
-
archivedAt?: string | undefined;
|
|
778
|
-
isDeactivated?: boolean | undefined;
|
|
779
|
-
integrationId?: string | undefined;
|
|
780
|
-
parentId?: string | undefined;
|
|
781
|
-
isCustomized?: boolean | undefined;
|
|
782
|
-
publishedRevision?: string | undefined;
|
|
783
|
-
udm?: string | undefined;
|
|
784
|
-
appliedToIntegrations?: {
|
|
785
|
-
integration: {
|
|
786
|
-
id: string;
|
|
787
|
-
name: string;
|
|
788
|
-
logoUri: string;
|
|
789
|
-
key?: string | undefined;
|
|
790
|
-
uuid?: string | undefined;
|
|
791
|
-
description?: string | undefined;
|
|
792
|
-
meta?: Record<string, any> | undefined;
|
|
793
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
794
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
795
|
-
revision?: string | undefined;
|
|
796
|
-
createdAt?: string | undefined;
|
|
797
|
-
updatedAt?: string | undefined;
|
|
798
|
-
archivedAt?: string | undefined;
|
|
799
|
-
isDeactivated?: boolean | undefined;
|
|
800
|
-
parameters?: any;
|
|
801
|
-
connectorId?: string | undefined;
|
|
802
|
-
connectorVersion?: string | undefined;
|
|
803
|
-
oAuthCallbackUri?: string | undefined;
|
|
804
|
-
hasMissingParameters?: boolean | undefined;
|
|
805
|
-
hasDocumentation?: boolean | undefined;
|
|
806
|
-
hasOperations?: boolean | undefined;
|
|
807
|
-
operationsCount?: number | undefined;
|
|
808
|
-
hasData?: boolean | undefined;
|
|
809
|
-
dataCollectionsCount?: number | undefined;
|
|
810
|
-
hasEvents?: boolean | undefined;
|
|
811
|
-
eventsCount?: number | undefined;
|
|
812
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
813
|
-
hasUdm?: boolean | undefined;
|
|
814
|
-
isTest?: boolean | undefined;
|
|
815
|
-
appUuid?: string | undefined;
|
|
816
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
817
|
-
};
|
|
818
|
-
element: {
|
|
819
|
-
id: string;
|
|
820
|
-
name: string;
|
|
821
|
-
key?: string | undefined;
|
|
822
|
-
uuid?: string | undefined;
|
|
823
|
-
description?: string | undefined;
|
|
824
|
-
meta?: Record<string, any> | undefined;
|
|
825
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
826
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
827
|
-
revision?: string | undefined;
|
|
828
|
-
createdAt?: string | undefined;
|
|
829
|
-
updatedAt?: string | undefined;
|
|
830
|
-
archivedAt?: string | undefined;
|
|
831
|
-
isDeactivated?: boolean | undefined;
|
|
832
|
-
integrationId?: string | undefined;
|
|
833
|
-
parentId?: string | undefined;
|
|
834
|
-
isCustomized?: boolean | undefined;
|
|
835
|
-
publishedRevision?: string | undefined;
|
|
836
|
-
udm?: string | undefined;
|
|
837
|
-
universalDataSourceId?: string | undefined;
|
|
838
|
-
collectionKey?: string | undefined;
|
|
839
|
-
collectionParameters?: any;
|
|
840
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
841
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
842
|
-
defaultPath?: string | undefined;
|
|
843
|
-
universalDataSourceRevision?: string | undefined;
|
|
844
|
-
};
|
|
845
|
-
}[] | undefined;
|
|
846
|
-
universalDataSourceId?: string | undefined;
|
|
847
|
-
collectionKey?: string | undefined;
|
|
848
|
-
collectionParameters?: any;
|
|
849
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
850
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
851
|
-
defaultPath?: string | undefined;
|
|
852
|
-
universalDataSourceRevision?: string | undefined;
|
|
853
|
-
}, {
|
|
854
|
-
id: string;
|
|
855
|
-
name: string;
|
|
856
|
-
key?: string | undefined;
|
|
857
|
-
integration?: {
|
|
858
|
-
id: string;
|
|
859
|
-
name: string;
|
|
860
|
-
logoUri: string;
|
|
861
|
-
key?: string | undefined;
|
|
862
|
-
uuid?: string | undefined;
|
|
863
|
-
description?: string | undefined;
|
|
864
|
-
meta?: Record<string, any> | undefined;
|
|
865
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
866
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
867
|
-
revision?: string | undefined;
|
|
868
|
-
createdAt?: string | undefined;
|
|
869
|
-
updatedAt?: string | undefined;
|
|
870
|
-
archivedAt?: string | undefined;
|
|
871
|
-
isDeactivated?: boolean | undefined;
|
|
872
|
-
parameters?: any;
|
|
873
|
-
connectorId?: string | undefined;
|
|
874
|
-
connectorVersion?: string | undefined;
|
|
875
|
-
oAuthCallbackUri?: string | undefined;
|
|
876
|
-
hasMissingParameters?: boolean | undefined;
|
|
877
|
-
hasDocumentation?: boolean | undefined;
|
|
878
|
-
hasOperations?: boolean | undefined;
|
|
879
|
-
operationsCount?: number | undefined;
|
|
880
|
-
hasData?: boolean | undefined;
|
|
881
|
-
dataCollectionsCount?: number | undefined;
|
|
882
|
-
hasEvents?: boolean | undefined;
|
|
883
|
-
eventsCount?: number | undefined;
|
|
884
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
885
|
-
hasUdm?: boolean | undefined;
|
|
886
|
-
isTest?: boolean | undefined;
|
|
887
|
-
appUuid?: string | undefined;
|
|
888
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
889
|
-
} | undefined;
|
|
890
|
-
uuid?: string | undefined;
|
|
891
|
-
description?: string | undefined;
|
|
892
|
-
meta?: Record<string, any> | undefined;
|
|
893
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
894
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
895
|
-
revision?: string | undefined;
|
|
896
|
-
createdAt?: string | undefined;
|
|
897
|
-
updatedAt?: string | undefined;
|
|
898
|
-
archivedAt?: string | undefined;
|
|
899
|
-
isDeactivated?: boolean | undefined;
|
|
900
|
-
integrationId?: string | undefined;
|
|
901
|
-
parentId?: string | undefined;
|
|
902
|
-
isCustomized?: boolean | undefined;
|
|
903
|
-
publishedRevision?: string | undefined;
|
|
904
|
-
udm?: string | undefined;
|
|
905
|
-
appliedToIntegrations?: {
|
|
906
|
-
integration: {
|
|
907
|
-
id: string;
|
|
908
|
-
name: string;
|
|
909
|
-
logoUri: string;
|
|
910
|
-
key?: string | undefined;
|
|
911
|
-
uuid?: string | undefined;
|
|
912
|
-
description?: string | undefined;
|
|
913
|
-
meta?: Record<string, any> | undefined;
|
|
914
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
915
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
916
|
-
revision?: string | undefined;
|
|
917
|
-
createdAt?: string | undefined;
|
|
918
|
-
updatedAt?: string | undefined;
|
|
919
|
-
archivedAt?: string | undefined;
|
|
920
|
-
isDeactivated?: boolean | undefined;
|
|
921
|
-
parameters?: any;
|
|
922
|
-
connectorId?: string | undefined;
|
|
923
|
-
connectorVersion?: string | undefined;
|
|
924
|
-
oAuthCallbackUri?: string | undefined;
|
|
925
|
-
hasMissingParameters?: boolean | undefined;
|
|
926
|
-
hasDocumentation?: boolean | undefined;
|
|
927
|
-
hasOperations?: boolean | undefined;
|
|
928
|
-
operationsCount?: number | undefined;
|
|
929
|
-
hasData?: boolean | undefined;
|
|
930
|
-
dataCollectionsCount?: number | undefined;
|
|
931
|
-
hasEvents?: boolean | undefined;
|
|
932
|
-
eventsCount?: number | undefined;
|
|
933
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
934
|
-
hasUdm?: boolean | undefined;
|
|
935
|
-
isTest?: boolean | undefined;
|
|
936
|
-
appUuid?: string | undefined;
|
|
937
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
938
|
-
};
|
|
939
|
-
element: {
|
|
940
|
-
id: string;
|
|
941
|
-
name: string;
|
|
942
|
-
key?: string | undefined;
|
|
943
|
-
uuid?: string | undefined;
|
|
944
|
-
description?: string | undefined;
|
|
945
|
-
meta?: Record<string, any> | undefined;
|
|
946
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
947
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
948
|
-
revision?: string | undefined;
|
|
949
|
-
createdAt?: string | undefined;
|
|
950
|
-
updatedAt?: string | undefined;
|
|
951
|
-
archivedAt?: string | undefined;
|
|
952
|
-
isDeactivated?: boolean | undefined;
|
|
953
|
-
integrationId?: string | undefined;
|
|
954
|
-
parentId?: string | undefined;
|
|
955
|
-
isCustomized?: boolean | undefined;
|
|
956
|
-
publishedRevision?: string | undefined;
|
|
957
|
-
udm?: string | undefined;
|
|
958
|
-
universalDataSourceId?: string | undefined;
|
|
959
|
-
collectionKey?: string | undefined;
|
|
960
|
-
collectionParameters?: any;
|
|
961
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
962
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
963
|
-
defaultPath?: string | undefined;
|
|
964
|
-
universalDataSourceRevision?: string | undefined;
|
|
965
|
-
};
|
|
966
|
-
}[] | undefined;
|
|
967
|
-
universalDataSourceId?: string | undefined;
|
|
968
|
-
collectionKey?: string | undefined;
|
|
969
|
-
collectionParameters?: any;
|
|
970
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
971
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
972
|
-
defaultPath?: string | undefined;
|
|
973
|
-
universalDataSourceRevision?: string | undefined;
|
|
974
|
-
}>;
|
|
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>;
|
|
975
139
|
export type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
|
|
976
140
|
export type DataSource = DataSourceApiResponse;
|
|
141
|
+
export declare const FindDataSourcesQuery: z.ZodObject<{
|
|
142
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
143
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
144
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
145
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
146
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
147
|
+
search: z.ZodOptional<z.ZodString>;
|
|
148
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
export type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
|
|
151
|
+
export declare const CreateDataSourceRequest: z.ZodObject<{
|
|
152
|
+
key: z.ZodOptional<z.ZodString>;
|
|
153
|
+
description: z.ZodOptional<z.ZodString>;
|
|
154
|
+
name: z.ZodOptional<z.ZodString>;
|
|
155
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
156
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
157
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
158
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
160
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
collectionKey: z.ZodOptional<z.ZodString>;
|
|
163
|
+
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
164
|
+
defaultPath: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
export type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
|
|
167
|
+
export declare const UpdateDataSourceRequest: z.ZodObject<{
|
|
168
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
169
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
170
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
171
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
172
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
173
|
+
integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
174
|
+
universalDataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
175
|
+
udm: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
176
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
177
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
178
|
+
collectionKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
179
|
+
collectionParameters: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
180
|
+
defaultPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
export type UpdateDataSourceRequest = z.infer<typeof UpdateDataSourceRequest>;
|
|
183
|
+
export interface DataSourceSelector extends IntegrationSpecificElementSelector {
|
|
184
|
+
}
|
|
185
|
+
export interface DataSourceInstanceSelector extends ConnectionSelector, FlowInstanceSelector, ElementInstanceSelector {
|
|
186
|
+
dataSourceKey?: string;
|
|
187
|
+
dataSourceId?: string;
|
|
188
|
+
instanceKey?: string;
|
|
189
|
+
nodeKey?: string;
|
|
190
|
+
udm?: string;
|
|
191
|
+
}
|
|
192
|
+
export declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
193
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
194
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
195
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
197
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
198
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
200
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
export type FindDataSourceInstancesQuery = z.infer<typeof FindDataSourceInstancesQuery>;
|
|
203
|
+
export type FindDataSourceInstancesResponse = PaginationResponse<DataSourceInstance>;
|
|
204
|
+
export declare const CreateDataSourceInstanceRequest: z.ZodObject<{
|
|
205
|
+
dataSourceId: z.ZodString;
|
|
206
|
+
connectionId: z.ZodString;
|
|
207
|
+
path: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
export type CreateDataSourceInstanceRequest = z.infer<typeof CreateDataSourceInstanceRequest>;
|
|
210
|
+
export declare const UpdateDataSourceInstanceRequest: z.ZodObject<{
|
|
211
|
+
path: z.ZodOptional<z.ZodString>;
|
|
212
|
+
collectionKey: z.ZodOptional<z.ZodString>;
|
|
213
|
+
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
214
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
subscribedTo: z.ZodOptional<z.ZodObject<{
|
|
217
|
+
created: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
updated: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
export type UpdateDataSourceInstanceRequest = z.infer<typeof UpdateDataSourceInstanceRequest>;
|
|
223
|
+
export declare const FindDataSourceEventsQuery: z.ZodObject<{
|
|
224
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
225
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
226
|
+
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
startDatetime: z.ZodOptional<z.ZodString>;
|
|
228
|
+
endDatetime: z.ZodOptional<z.ZodString>;
|
|
229
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
230
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
export type FindDataSourceEventsQuery = z.infer<typeof FindDataSourceEventsQuery>;
|
|
233
|
+
export declare const FindDataSourceSyncsQuery: z.ZodObject<{
|
|
234
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
235
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
237
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
238
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
239
|
+
startedAfter: z.ZodOptional<z.ZodString>;
|
|
240
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
241
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
export type FindDataSourceSyncsQuery = z.infer<typeof FindDataSourceSyncsQuery>;
|
|
244
|
+
export declare const ListDataSourceInstancesForConnectionQuery: z.ZodObject<{
|
|
245
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
246
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
247
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
export type ListDataSourceInstancesForConnectionQuery = z.infer<typeof ListDataSourceInstancesForConnectionQuery>;
|
|
250
|
+
export declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
|
|
251
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
252
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
253
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
254
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
255
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
256
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
257
|
+
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
export type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
|
|
260
|
+
export type ListDataSourcesForIntegrationQuery = Omit<FindDataSourcesQuery, 'integrationId' | 'integrationKey'>;
|