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