@membranehq/sdk 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +16299 -1303
- package/dist/bundle.js +3980 -3701
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +78 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +78 -1
- package/dist/dts/api-client.d.ts +1 -0
- package/dist/dts/client.d.ts +1 -0
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/data-schema/types.d.ts +4 -3
- package/dist/dts/entity-repository.d.ts +88 -20
- package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
- package/dist/dts/http-requests.d.ts +20 -6
- package/dist/dts/iframe.d.ts +12 -4
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/sse/index.d.ts +1 -0
- package/dist/dts/sse/workspace-elements.d.ts +9 -0
- 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 +1010 -45
- 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 +993 -42
- package/dist/dts/workspace-elements/api/customers-api.d.ts +92 -16
- 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 +1113 -78
- 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 +582 -6
- 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 +885 -7
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +3202 -52
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +339 -26
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +523 -35
- package/dist/dts/workspace-elements/api/screens-api.d.ts +35 -15
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +78 -15
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +37 -12
- package/dist/dts/workspace-elements/base/actions/types.d.ts +78 -18
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +59 -7
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +49 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +92 -9
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +84 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +82 -20
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
- package/dist/dts/workspace-elements/base/customers/index.d.ts +32 -6
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +93 -92
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +78 -11
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +43 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1048 -19
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +97 -22
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +197 -24
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +92 -16
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +105 -14
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +43 -43
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +170 -24
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +127 -19
- package/dist/dts/workspace-elements/base/flows/types.d.ts +234 -26
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +988 -25
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +740 -23
- package/dist/dts/workspace-elements/base/screens/types.d.ts +48 -6
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +4 -3
- package/dist/index.d.ts +26481 -3080
- package/dist/index.js +1717 -535
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +26481 -3080
- package/dist/index.module.mjs +1550 -502
- 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
|
@@ -22,4 +22,4 @@ export * from './app-data-schema-instances-api';
|
|
|
22
22
|
export * from './external-event-log-records-api';
|
|
23
23
|
export * from './external-event-pulls-api';
|
|
24
24
|
export * from './external-event-subscriptions-api';
|
|
25
|
-
export * from './app-
|
|
25
|
+
export * from './app-event-log-records-api';
|
|
@@ -1,31 +1,344 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { PaginationResponse } from '../../entity-repository';
|
|
3
|
+
export declare const CreateIntegrationRequest: z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
key: z.ZodString;
|
|
6
|
+
baseUri: z.ZodString;
|
|
7
|
+
logoUri: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
9
|
key: string;
|
|
9
10
|
baseUri: string;
|
|
10
11
|
logoUri: string;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
key: string;
|
|
15
|
+
baseUri: string;
|
|
16
|
+
logoUri: string;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
export type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
|
|
20
|
+
export declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
21
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
key: z.ZodOptional<z.ZodString>;
|
|
23
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
24
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
key?: string | undefined;
|
|
27
|
+
name?: string | undefined;
|
|
28
|
+
baseUri?: string | undefined;
|
|
29
|
+
logoUri?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
key?: string | undefined;
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
baseUri?: string | undefined;
|
|
34
|
+
logoUri?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
37
|
+
export declare const FindIntegrationsQuery: z.ZodObject<{
|
|
38
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
40
|
+
} & {
|
|
41
|
+
search: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
search?: string | undefined;
|
|
44
|
+
limit?: number | undefined;
|
|
45
|
+
cursor?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
search?: string | undefined;
|
|
48
|
+
limit?: number | undefined;
|
|
49
|
+
cursor?: string | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
export type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
|
|
52
|
+
export interface FindIntegrationsResponse extends PaginationResponse<IntegrationApiResponse> {
|
|
11
53
|
}
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
export interface OpenNewConnectionOptions extends OpenConfigurationOptions {
|
|
23
|
-
allowMultipleConnections?: boolean;
|
|
24
|
-
name?: string;
|
|
54
|
+
export declare const OpenNewConnectionOptions: z.ZodObject<{
|
|
55
|
+
allowMultipleConnections: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
name: z.ZodOptional<z.ZodString>;
|
|
57
|
+
connectorParameters: z.ZodOptional<z.ZodAny>;
|
|
58
|
+
} & {
|
|
59
|
+
onClose: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
|
|
60
|
+
showPoweredBy: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
name?: string | undefined;
|
|
25
63
|
connectorParameters?: any;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
64
|
+
onClose?: ((...args: unknown[]) => unknown) | undefined;
|
|
65
|
+
showPoweredBy?: boolean | undefined;
|
|
66
|
+
allowMultipleConnections?: boolean | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
connectorParameters?: any;
|
|
70
|
+
onClose?: ((...args: unknown[]) => unknown) | undefined;
|
|
71
|
+
showPoweredBy?: boolean | undefined;
|
|
72
|
+
allowMultipleConnections?: boolean | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
export type OpenNewConnectionOptions = z.infer<typeof OpenNewConnectionOptions>;
|
|
75
|
+
export declare const IntegrationApiResponse: z.ZodObject<{
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
name: z.ZodString;
|
|
78
|
+
key: z.ZodOptional<z.ZodString>;
|
|
79
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
80
|
+
description: z.ZodOptional<z.ZodString>;
|
|
81
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
82
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
83
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
84
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
85
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
86
|
+
} & {
|
|
87
|
+
logoUri: z.ZodString;
|
|
88
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
90
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
+
key: z.ZodString;
|
|
92
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
93
|
+
title: z.ZodOptional<z.ZodString>;
|
|
94
|
+
description: z.ZodOptional<z.ZodString>;
|
|
95
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
97
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
schema?: any;
|
|
100
|
+
helpUri?: string | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
schema?: any;
|
|
103
|
+
helpUri?: string | undefined;
|
|
104
|
+
}>>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
key: string;
|
|
107
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
108
|
+
description?: string | undefined;
|
|
109
|
+
title?: string | undefined;
|
|
110
|
+
ui?: {
|
|
111
|
+
schema?: any;
|
|
112
|
+
helpUri?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
key: string;
|
|
116
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
117
|
+
description?: string | undefined;
|
|
118
|
+
title?: string | undefined;
|
|
119
|
+
ui?: {
|
|
120
|
+
schema?: any;
|
|
121
|
+
helpUri?: string | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
}>, "many">>;
|
|
124
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
125
|
+
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
126
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
127
|
+
baseUri: z.ZodString;
|
|
128
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
129
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
141
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
143
|
+
} & {
|
|
144
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
} & {
|
|
147
|
+
name: z.ZodString;
|
|
148
|
+
userId: z.ZodString;
|
|
149
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
+
error: any;
|
|
153
|
+
integrationId: z.ZodString;
|
|
154
|
+
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
155
|
+
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
156
|
+
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
157
|
+
createdAt: z.ZodString;
|
|
158
|
+
updatedAt: z.ZodString;
|
|
159
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
160
|
+
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
161
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
162
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
164
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
165
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
id: string;
|
|
168
|
+
name: string;
|
|
169
|
+
createdAt: string;
|
|
170
|
+
updatedAt: string;
|
|
171
|
+
userId: string;
|
|
172
|
+
integrationId: string;
|
|
173
|
+
error?: any;
|
|
174
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
175
|
+
errors?: any[] | undefined;
|
|
176
|
+
isDeactivated?: boolean | undefined;
|
|
177
|
+
archivedAt?: string | undefined;
|
|
178
|
+
credentials?: unknown;
|
|
179
|
+
parameters?: unknown;
|
|
180
|
+
connectorParameters?: unknown;
|
|
181
|
+
isTest?: boolean | undefined;
|
|
182
|
+
disconnected?: boolean | undefined;
|
|
183
|
+
isDefunct?: boolean | undefined;
|
|
184
|
+
lastActiveAt?: string | undefined;
|
|
185
|
+
nextCredentialsRefreshAt?: string | undefined;
|
|
186
|
+
meta?: Record<string, any> | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
id: string;
|
|
189
|
+
name: string;
|
|
190
|
+
createdAt: string;
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
userId: string;
|
|
193
|
+
integrationId: string;
|
|
194
|
+
error?: any;
|
|
195
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
196
|
+
errors?: any[] | undefined;
|
|
197
|
+
isDeactivated?: boolean | undefined;
|
|
198
|
+
archivedAt?: string | undefined;
|
|
199
|
+
credentials?: unknown;
|
|
200
|
+
parameters?: unknown;
|
|
201
|
+
connectorParameters?: unknown;
|
|
202
|
+
isTest?: boolean | undefined;
|
|
203
|
+
disconnected?: boolean | undefined;
|
|
204
|
+
isDefunct?: boolean | undefined;
|
|
205
|
+
lastActiveAt?: string | undefined;
|
|
206
|
+
nextCredentialsRefreshAt?: string | undefined;
|
|
207
|
+
meta?: Record<string, any> | undefined;
|
|
208
|
+
}>>;
|
|
209
|
+
spec: z.ZodOptional<z.ZodAny>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
id: string;
|
|
212
|
+
name: string;
|
|
213
|
+
baseUri: string;
|
|
214
|
+
logoUri: string;
|
|
215
|
+
key?: string | undefined;
|
|
216
|
+
connection?: {
|
|
217
|
+
id: string;
|
|
218
|
+
name: string;
|
|
219
|
+
createdAt: string;
|
|
220
|
+
updatedAt: string;
|
|
221
|
+
userId: string;
|
|
222
|
+
integrationId: string;
|
|
223
|
+
error?: any;
|
|
224
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
225
|
+
errors?: any[] | undefined;
|
|
226
|
+
isDeactivated?: boolean | undefined;
|
|
227
|
+
archivedAt?: string | undefined;
|
|
228
|
+
credentials?: unknown;
|
|
229
|
+
parameters?: unknown;
|
|
230
|
+
connectorParameters?: unknown;
|
|
231
|
+
isTest?: boolean | undefined;
|
|
232
|
+
disconnected?: boolean | undefined;
|
|
233
|
+
isDefunct?: boolean | undefined;
|
|
234
|
+
lastActiveAt?: string | undefined;
|
|
235
|
+
nextCredentialsRefreshAt?: string | undefined;
|
|
236
|
+
meta?: Record<string, any> | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
uuid?: string | undefined;
|
|
239
|
+
description?: string | undefined;
|
|
240
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
241
|
+
errors?: any[] | undefined;
|
|
242
|
+
revision?: string | undefined;
|
|
243
|
+
isDeactivated?: boolean | undefined;
|
|
244
|
+
createdAt?: string | undefined;
|
|
245
|
+
updatedAt?: string | undefined;
|
|
246
|
+
archivedAt?: string | undefined;
|
|
247
|
+
parameters?: any;
|
|
248
|
+
parametersSchema?: import("../..").DataSchema | undefined;
|
|
249
|
+
isTest?: boolean | undefined;
|
|
250
|
+
connectorId?: string | undefined;
|
|
251
|
+
connectorVersion?: string | undefined;
|
|
252
|
+
authOptions?: {
|
|
253
|
+
key: string;
|
|
254
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
255
|
+
description?: string | undefined;
|
|
256
|
+
title?: string | undefined;
|
|
257
|
+
ui?: {
|
|
258
|
+
schema?: any;
|
|
259
|
+
helpUri?: string | undefined;
|
|
260
|
+
} | undefined;
|
|
261
|
+
}[] | undefined;
|
|
262
|
+
oAuthCallbackUri?: string | undefined;
|
|
263
|
+
hasMissingParameters?: boolean | undefined;
|
|
264
|
+
hasDocumentation?: boolean | undefined;
|
|
265
|
+
hasOperations?: boolean | undefined;
|
|
266
|
+
operationsCount?: number | undefined;
|
|
267
|
+
hasData?: boolean | undefined;
|
|
268
|
+
dataCollectionsCount?: number | undefined;
|
|
269
|
+
hasEvents?: boolean | undefined;
|
|
270
|
+
eventsCount?: number | undefined;
|
|
271
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
272
|
+
hasUdm?: boolean | undefined;
|
|
273
|
+
appUuid?: string | undefined;
|
|
274
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
275
|
+
spec?: any;
|
|
276
|
+
}, {
|
|
277
|
+
id: string;
|
|
278
|
+
name: string;
|
|
279
|
+
baseUri: string;
|
|
280
|
+
logoUri: string;
|
|
281
|
+
key?: string | undefined;
|
|
282
|
+
connection?: {
|
|
283
|
+
id: string;
|
|
284
|
+
name: string;
|
|
285
|
+
createdAt: string;
|
|
286
|
+
updatedAt: string;
|
|
287
|
+
userId: string;
|
|
288
|
+
integrationId: string;
|
|
289
|
+
error?: any;
|
|
290
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
291
|
+
errors?: any[] | undefined;
|
|
292
|
+
isDeactivated?: boolean | undefined;
|
|
293
|
+
archivedAt?: string | undefined;
|
|
294
|
+
credentials?: unknown;
|
|
295
|
+
parameters?: unknown;
|
|
296
|
+
connectorParameters?: unknown;
|
|
297
|
+
isTest?: boolean | undefined;
|
|
298
|
+
disconnected?: boolean | undefined;
|
|
299
|
+
isDefunct?: boolean | undefined;
|
|
300
|
+
lastActiveAt?: string | undefined;
|
|
301
|
+
nextCredentialsRefreshAt?: string | undefined;
|
|
302
|
+
meta?: Record<string, any> | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
uuid?: string | undefined;
|
|
305
|
+
description?: string | undefined;
|
|
306
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
307
|
+
errors?: any[] | undefined;
|
|
308
|
+
revision?: string | undefined;
|
|
309
|
+
isDeactivated?: boolean | undefined;
|
|
310
|
+
createdAt?: string | undefined;
|
|
311
|
+
updatedAt?: string | undefined;
|
|
312
|
+
archivedAt?: string | undefined;
|
|
313
|
+
parameters?: any;
|
|
314
|
+
parametersSchema?: import("../..").DataSchema | undefined;
|
|
315
|
+
isTest?: boolean | undefined;
|
|
316
|
+
connectorId?: string | undefined;
|
|
317
|
+
connectorVersion?: string | undefined;
|
|
318
|
+
authOptions?: {
|
|
319
|
+
key: string;
|
|
320
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
321
|
+
description?: string | undefined;
|
|
322
|
+
title?: string | undefined;
|
|
323
|
+
ui?: {
|
|
324
|
+
schema?: any;
|
|
325
|
+
helpUri?: string | undefined;
|
|
326
|
+
} | undefined;
|
|
327
|
+
}[] | undefined;
|
|
328
|
+
oAuthCallbackUri?: string | undefined;
|
|
329
|
+
hasMissingParameters?: boolean | undefined;
|
|
330
|
+
hasDocumentation?: boolean | undefined;
|
|
331
|
+
hasOperations?: boolean | undefined;
|
|
332
|
+
operationsCount?: number | undefined;
|
|
333
|
+
hasData?: boolean | undefined;
|
|
334
|
+
dataCollectionsCount?: number | undefined;
|
|
335
|
+
hasEvents?: boolean | undefined;
|
|
336
|
+
eventsCount?: number | undefined;
|
|
337
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
338
|
+
hasUdm?: boolean | undefined;
|
|
339
|
+
appUuid?: string | undefined;
|
|
340
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
341
|
+
spec?: any;
|
|
342
|
+
}>;
|
|
343
|
+
export type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
344
|
+
export type Integration = IntegrationApiResponse;
|