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