@membranehq/sdk 0.7.0 → 0.7.3
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 +3445 -3621
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/orgs/types.d.ts +1 -0
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -37
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -104
- package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -693
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -15
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.module.d.mts → index.browser.d.mts} +17767 -17803
- package/dist/{index.d.ts → index.browser.d.ts} +17767 -17803
- package/dist/{index.js → index.browser.js} +114 -132
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +110 -129
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +27932 -0
- package/dist/index.node.d.ts +27932 -0
- package/dist/index.node.js +13334 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12862 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { CreateActionRequest } from './actions-api';
|
|
3
|
-
import { CreateAppDataSchemaRequest } from './app-data-schemas-api';
|
|
4
|
-
import { CreateAppEventTypeRequest } from './app-event-types-api';
|
|
5
|
-
import { CreateDataLinkTableRequest } from './data-link-tables-api';
|
|
6
|
-
import { CreateDataSourceRequest } from './data-sources-api';
|
|
7
|
-
import { CreateFieldMappingRequest } from './field-mappings-api';
|
|
8
|
-
import { CreateFlowRequest } from './flows-api';
|
|
9
|
-
import { SearchQuery, PaginationQuery } from '../../entity-repository';
|
|
10
2
|
import { IntegrationElementType } from '../../integration-elements';
|
|
11
|
-
export declare const ScenarioToDoApi: z.ZodObject<{
|
|
12
|
-
name: z.ZodString;
|
|
13
|
-
description: z.ZodString;
|
|
14
|
-
isComplete: z.ZodBoolean;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
name: string;
|
|
17
|
-
description: string;
|
|
18
|
-
isComplete: boolean;
|
|
19
|
-
}, {
|
|
20
|
-
name: string;
|
|
21
|
-
description: string;
|
|
22
|
-
isComplete: boolean;
|
|
23
|
-
}>;
|
|
24
|
-
export type ScenarioToDoApi = z.infer<typeof ScenarioToDoApi>;
|
|
25
3
|
export declare const ScenarioElementApi: z.ZodObject<{
|
|
26
4
|
id: z.ZodString;
|
|
27
5
|
type: z.ZodNativeEnum<typeof IntegrationElementType>;
|
|
@@ -41,367 +19,355 @@ export declare const FindScenariosQuery: z.ZodObject<{
|
|
|
41
19
|
} & {
|
|
42
20
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
43
21
|
cursor: z.ZodOptional<z.ZodString>;
|
|
22
|
+
} & {
|
|
23
|
+
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
44
24
|
}, "strip", z.ZodTypeAny, {
|
|
45
25
|
search?: string | undefined;
|
|
26
|
+
includeArchived?: boolean | undefined;
|
|
46
27
|
limit?: number | undefined;
|
|
47
28
|
cursor?: string | undefined;
|
|
48
29
|
}, {
|
|
49
30
|
search?: string | undefined;
|
|
31
|
+
includeArchived?: unknown;
|
|
50
32
|
limit?: number | undefined;
|
|
51
33
|
cursor?: string | undefined;
|
|
52
34
|
}>;
|
|
53
35
|
export type FindScenariosQuery = z.infer<typeof FindScenariosQuery>;
|
|
54
|
-
export declare const CreateScenarioRequest: z.ZodObject<{
|
|
55
|
-
name: z.ZodString;
|
|
56
|
-
key: z.ZodString;
|
|
57
|
-
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58
|
-
id: z.ZodString;
|
|
59
|
-
type: z.ZodNativeEnum<typeof IntegrationElementType>;
|
|
60
|
-
element: z.ZodOptional<z.ZodAny>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
type: IntegrationElementType;
|
|
63
|
-
id: string;
|
|
64
|
-
element?: any;
|
|
65
|
-
}, {
|
|
66
|
-
type: IntegrationElementType;
|
|
67
|
-
id: string;
|
|
68
|
-
element?: any;
|
|
69
|
-
}>, "many">>;
|
|
70
|
-
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
71
|
-
name: z.ZodString;
|
|
72
|
-
description: z.ZodString;
|
|
73
|
-
isComplete: z.ZodBoolean;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
name: string;
|
|
76
|
-
description: string;
|
|
77
|
-
isComplete: boolean;
|
|
78
|
-
}, {
|
|
79
|
-
name: string;
|
|
80
|
-
description: string;
|
|
81
|
-
isComplete: boolean;
|
|
82
|
-
}>, "many">>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
key: string;
|
|
85
|
-
name: string;
|
|
86
|
-
elements?: {
|
|
87
|
-
type: IntegrationElementType;
|
|
88
|
-
id: string;
|
|
89
|
-
element?: any;
|
|
90
|
-
}[] | undefined;
|
|
91
|
-
todos?: {
|
|
92
|
-
name: string;
|
|
93
|
-
description: string;
|
|
94
|
-
isComplete: boolean;
|
|
95
|
-
}[] | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
key: string;
|
|
98
|
-
name: string;
|
|
99
|
-
elements?: {
|
|
100
|
-
type: IntegrationElementType;
|
|
101
|
-
id: string;
|
|
102
|
-
element?: any;
|
|
103
|
-
}[] | undefined;
|
|
104
|
-
todos?: {
|
|
105
|
-
name: string;
|
|
106
|
-
description: string;
|
|
107
|
-
isComplete: boolean;
|
|
108
|
-
}[] | undefined;
|
|
109
|
-
}>;
|
|
110
|
-
export type CreateScenarioRequest = z.infer<typeof CreateScenarioRequest>;
|
|
111
|
-
export declare const UpdateScenarioRequest: z.ZodObject<{
|
|
112
|
-
name: z.ZodOptional<z.ZodString>;
|
|
113
|
-
key: z.ZodOptional<z.ZodString>;
|
|
114
|
-
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
115
|
-
id: z.ZodString;
|
|
116
|
-
type: z.ZodNativeEnum<typeof IntegrationElementType>;
|
|
117
|
-
element: z.ZodOptional<z.ZodAny>;
|
|
118
|
-
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
type: IntegrationElementType;
|
|
120
|
-
id: string;
|
|
121
|
-
element?: any;
|
|
122
|
-
}, {
|
|
123
|
-
type: IntegrationElementType;
|
|
124
|
-
id: string;
|
|
125
|
-
element?: any;
|
|
126
|
-
}>, "many">>;
|
|
127
|
-
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
128
|
-
name: z.ZodString;
|
|
129
|
-
description: z.ZodString;
|
|
130
|
-
isComplete: z.ZodBoolean;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
name: string;
|
|
133
|
-
description: string;
|
|
134
|
-
isComplete: boolean;
|
|
135
|
-
}, {
|
|
136
|
-
name: string;
|
|
137
|
-
description: string;
|
|
138
|
-
isComplete: boolean;
|
|
139
|
-
}>, "many">>;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
key?: string | undefined;
|
|
142
|
-
name?: string | undefined;
|
|
143
|
-
elements?: {
|
|
144
|
-
type: IntegrationElementType;
|
|
145
|
-
id: string;
|
|
146
|
-
element?: any;
|
|
147
|
-
}[] | undefined;
|
|
148
|
-
todos?: {
|
|
149
|
-
name: string;
|
|
150
|
-
description: string;
|
|
151
|
-
isComplete: boolean;
|
|
152
|
-
}[] | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
key?: string | undefined;
|
|
155
|
-
name?: string | undefined;
|
|
156
|
-
elements?: {
|
|
157
|
-
type: IntegrationElementType;
|
|
158
|
-
id: string;
|
|
159
|
-
element?: any;
|
|
160
|
-
}[] | undefined;
|
|
161
|
-
todos?: {
|
|
162
|
-
name: string;
|
|
163
|
-
description: string;
|
|
164
|
-
isComplete: boolean;
|
|
165
|
-
}[] | undefined;
|
|
166
|
-
}>;
|
|
167
|
-
export type UpdateScenarioRequest = z.infer<typeof UpdateScenarioRequest>;
|
|
168
|
-
export interface FindScenarioTemplatesQuery extends SearchQuery, PaginationQuery {
|
|
169
|
-
}
|
|
170
|
-
export interface CreateScenarioTemplateRequest {
|
|
171
|
-
name: string;
|
|
172
|
-
shortDescription?: string;
|
|
173
|
-
description?: string;
|
|
174
|
-
demoWorkspaceKey?: string;
|
|
175
|
-
demoAppUri?: string;
|
|
176
|
-
demoGithubRepo?: string;
|
|
177
|
-
demoVideoYoutubeUri?: string;
|
|
178
|
-
tags?: string[];
|
|
179
|
-
elements?: ScenarioTemplateElementsApi;
|
|
180
|
-
todos?: Omit<ScenarioToDoApi, 'isComplete'>[];
|
|
181
|
-
}
|
|
182
|
-
export interface UpdateScenarioTemplateRequest {
|
|
183
|
-
name?: string;
|
|
184
|
-
key?: string;
|
|
185
|
-
shortDescription?: string;
|
|
186
|
-
description?: string;
|
|
187
|
-
demoWorkspaceKey?: string;
|
|
188
|
-
demoAppUri?: string;
|
|
189
|
-
demoGithubRepo?: string;
|
|
190
|
-
demoVideoYoutubeUri?: string;
|
|
191
|
-
tags?: string[];
|
|
192
|
-
elements?: ScenarioTemplateElementsApi;
|
|
193
|
-
todos?: Omit<ScenarioToDoApi, 'isComplete'>[];
|
|
194
|
-
}
|
|
195
|
-
export type ScenarioTemplateElementOverride = {
|
|
196
|
-
type: IntegrationElementType;
|
|
197
|
-
originalKey: string;
|
|
198
|
-
name: string;
|
|
199
|
-
key: string;
|
|
200
|
-
};
|
|
201
|
-
export type ScenarioTemplateKeyCollision = {
|
|
202
|
-
type: IntegrationElementType;
|
|
203
|
-
key: string;
|
|
204
|
-
};
|
|
205
|
-
export type ScenarioTemplateIntegration = {
|
|
206
|
-
id?: string;
|
|
207
|
-
connectorId: string;
|
|
208
|
-
key: string;
|
|
209
|
-
name: string;
|
|
210
|
-
logoUri: string;
|
|
211
|
-
};
|
|
212
|
-
type WithIntegrationKeys<T> = T & {
|
|
213
|
-
integrationKeys?: string[];
|
|
214
|
-
};
|
|
215
|
-
type ElementsExportFields = {
|
|
216
|
-
flows?: Record<string, WithIntegrationKeys<CreateFlowRequest>>;
|
|
217
|
-
actions?: Record<string, WithIntegrationKeys<CreateActionRequest>>;
|
|
218
|
-
fieldMappings?: Record<string, WithIntegrationKeys<CreateFieldMappingRequest>>;
|
|
219
|
-
dataSources?: Record<string, WithIntegrationKeys<CreateDataSourceRequest>>;
|
|
220
|
-
dataLinkTables?: Record<string, CreateDataLinkTableRequest>;
|
|
221
|
-
appEventTypes?: Record<string, CreateAppEventTypeRequest>;
|
|
222
|
-
appDataSchemas?: Record<string, CreateAppDataSchemaRequest>;
|
|
223
|
-
};
|
|
224
|
-
export type ScenarioTemplateElementsApi = ElementsExportFields & {
|
|
225
|
-
integrations?: Record<string, ElementsExportFields & {
|
|
226
|
-
connectorId: string;
|
|
227
|
-
}>;
|
|
228
|
-
};
|
|
229
|
-
export interface HandyScenarioTemplateElementApi {
|
|
230
|
-
type: IntegrationElementType;
|
|
231
|
-
integration?: {
|
|
232
|
-
key: string;
|
|
233
|
-
connectorId: string;
|
|
234
|
-
};
|
|
235
|
-
integrations?: {
|
|
236
|
-
key: string;
|
|
237
|
-
connectorId: string;
|
|
238
|
-
}[];
|
|
239
|
-
fields: {
|
|
240
|
-
key: string;
|
|
241
|
-
name: string;
|
|
242
|
-
} & Record<string, any>;
|
|
243
|
-
}
|
|
244
36
|
export declare const ScenarioApiResponse: z.ZodObject<{
|
|
245
37
|
id: z.ZodString;
|
|
246
|
-
key: z.ZodOptional<z.ZodString>;
|
|
247
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
248
|
-
description: z.ZodOptional<z.ZodString>;
|
|
249
|
-
name: z.ZodString;
|
|
250
38
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
251
39
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
252
40
|
revision: z.ZodOptional<z.ZodString>;
|
|
253
41
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
254
42
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
43
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
255
44
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
-
|
|
257
|
-
|
|
45
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
46
|
+
description: z.ZodOptional<z.ZodString>;
|
|
47
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
258
48
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
259
49
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
50
|
id: z.ZodString;
|
|
261
|
-
type: z.
|
|
51
|
+
type: z.ZodNativeEnum<typeof IntegrationElementType>;
|
|
262
52
|
element: z.ZodOptional<z.ZodAny>;
|
|
263
53
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
type:
|
|
54
|
+
type: IntegrationElementType;
|
|
265
55
|
id: string;
|
|
266
56
|
element?: any;
|
|
267
57
|
}, {
|
|
268
|
-
type:
|
|
58
|
+
type: IntegrationElementType;
|
|
269
59
|
id: string;
|
|
270
60
|
element?: any;
|
|
271
61
|
}>, "many">>;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
key: string;
|
|
279
|
-
id: string;
|
|
280
|
-
name: string;
|
|
281
|
-
logoUri: string;
|
|
282
|
-
}, {
|
|
283
|
-
key: string;
|
|
284
|
-
id: string;
|
|
285
|
-
name: string;
|
|
286
|
-
logoUri: string;
|
|
287
|
-
}>, "many">>;
|
|
288
|
-
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
289
|
-
name: z.ZodString;
|
|
290
|
-
description: z.ZodString;
|
|
291
|
-
isComplete: z.ZodBoolean;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
name: string;
|
|
294
|
-
description: string;
|
|
295
|
-
isComplete: boolean;
|
|
296
|
-
}, {
|
|
297
|
-
name: string;
|
|
298
|
-
description: string;
|
|
299
|
-
isComplete: boolean;
|
|
300
|
-
}>, "many">>;
|
|
301
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
62
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
63
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
64
|
+
} & {
|
|
65
|
+
key: z.ZodString;
|
|
66
|
+
name: z.ZodString;
|
|
67
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
302
68
|
} & {
|
|
303
69
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
70
|
+
element: z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
73
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
74
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
75
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
76
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
77
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
78
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
80
|
+
description: z.ZodOptional<z.ZodString>;
|
|
81
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
82
|
+
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
83
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
type: z.ZodNativeEnum<typeof IntegrationElementType>;
|
|
86
|
+
element: z.ZodOptional<z.ZodAny>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
type: IntegrationElementType;
|
|
89
|
+
id: string;
|
|
90
|
+
element?: any;
|
|
91
|
+
}, {
|
|
92
|
+
type: IntegrationElementType;
|
|
93
|
+
id: string;
|
|
94
|
+
element?: any;
|
|
95
|
+
}>, "many">>;
|
|
96
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
97
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
} & {
|
|
99
|
+
key: z.ZodString;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
key: string;
|
|
104
|
+
id: string;
|
|
105
|
+
name: string;
|
|
106
|
+
uuid?: string | undefined;
|
|
107
|
+
description?: string | undefined;
|
|
108
|
+
meta?: Record<string, any> | undefined;
|
|
109
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
110
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
111
|
+
revision?: string | undefined;
|
|
112
|
+
createdAt?: string | undefined;
|
|
113
|
+
updatedAt?: string | undefined;
|
|
114
|
+
archivedAt?: string | undefined;
|
|
115
|
+
isDeactivated?: boolean | undefined;
|
|
116
|
+
integrationId?: string | undefined;
|
|
117
|
+
parentId?: string | undefined;
|
|
118
|
+
isCustomized?: boolean | undefined;
|
|
119
|
+
scenarioTemplateId?: string | undefined;
|
|
120
|
+
elements?: {
|
|
121
|
+
type: IntegrationElementType;
|
|
122
|
+
id: string;
|
|
123
|
+
element?: any;
|
|
124
|
+
}[] | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
key: string;
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
uuid?: string | undefined;
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
meta?: Record<string, any> | undefined;
|
|
132
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
133
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
134
|
+
revision?: string | undefined;
|
|
135
|
+
createdAt?: string | undefined;
|
|
136
|
+
updatedAt?: string | undefined;
|
|
137
|
+
archivedAt?: string | undefined;
|
|
138
|
+
isDeactivated?: boolean | undefined;
|
|
139
|
+
integrationId?: string | undefined;
|
|
140
|
+
parentId?: string | undefined;
|
|
141
|
+
isCustomized?: boolean | undefined;
|
|
142
|
+
scenarioTemplateId?: string | undefined;
|
|
143
|
+
elements?: {
|
|
144
|
+
type: IntegrationElementType;
|
|
145
|
+
id: string;
|
|
146
|
+
element?: any;
|
|
147
|
+
}[] | undefined;
|
|
148
|
+
}>;
|
|
149
|
+
integration: z.ZodObject<{
|
|
150
|
+
id: z.ZodString;
|
|
151
|
+
key: z.ZodOptional<z.ZodString>;
|
|
152
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
153
|
+
description: z.ZodOptional<z.ZodString>;
|
|
154
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
157
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
158
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
159
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
160
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
161
|
+
} & {
|
|
162
|
+
logoUri: z.ZodString;
|
|
163
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
164
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
165
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
166
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
167
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
168
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
175
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
180
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
id: string;
|
|
184
|
+
name: string;
|
|
185
|
+
logoUri: string;
|
|
186
|
+
key?: string | undefined;
|
|
187
|
+
uuid?: string | undefined;
|
|
188
|
+
description?: string | undefined;
|
|
189
|
+
meta?: Record<string, any> | undefined;
|
|
190
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
191
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
192
|
+
revision?: string | undefined;
|
|
193
|
+
createdAt?: string | undefined;
|
|
194
|
+
updatedAt?: string | undefined;
|
|
195
|
+
archivedAt?: string | undefined;
|
|
196
|
+
isDeactivated?: boolean | undefined;
|
|
197
|
+
parameters?: any;
|
|
198
|
+
connectorId?: string | undefined;
|
|
199
|
+
connectorVersion?: string | undefined;
|
|
200
|
+
oAuthCallbackUri?: string | undefined;
|
|
201
|
+
hasMissingParameters?: boolean | undefined;
|
|
202
|
+
hasDocumentation?: boolean | undefined;
|
|
203
|
+
hasOperations?: boolean | undefined;
|
|
204
|
+
operationsCount?: number | undefined;
|
|
205
|
+
hasData?: boolean | undefined;
|
|
206
|
+
dataCollectionsCount?: number | undefined;
|
|
207
|
+
hasEvents?: boolean | undefined;
|
|
208
|
+
eventsCount?: number | undefined;
|
|
209
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
210
|
+
hasUdm?: boolean | undefined;
|
|
211
|
+
isTest?: boolean | undefined;
|
|
212
|
+
appUuid?: string | undefined;
|
|
213
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
id: string;
|
|
216
|
+
name: string;
|
|
217
|
+
logoUri: string;
|
|
218
|
+
key?: string | undefined;
|
|
219
|
+
uuid?: string | undefined;
|
|
220
|
+
description?: string | undefined;
|
|
221
|
+
meta?: Record<string, any> | undefined;
|
|
222
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
223
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
224
|
+
revision?: string | undefined;
|
|
225
|
+
createdAt?: string | undefined;
|
|
226
|
+
updatedAt?: string | undefined;
|
|
227
|
+
archivedAt?: string | undefined;
|
|
228
|
+
isDeactivated?: boolean | undefined;
|
|
229
|
+
parameters?: any;
|
|
230
|
+
connectorId?: string | undefined;
|
|
231
|
+
connectorVersion?: string | undefined;
|
|
232
|
+
oAuthCallbackUri?: string | undefined;
|
|
233
|
+
hasMissingParameters?: boolean | undefined;
|
|
234
|
+
hasDocumentation?: boolean | undefined;
|
|
235
|
+
hasOperations?: boolean | undefined;
|
|
236
|
+
operationsCount?: number | undefined;
|
|
237
|
+
hasData?: boolean | undefined;
|
|
238
|
+
dataCollectionsCount?: number | undefined;
|
|
239
|
+
hasEvents?: boolean | undefined;
|
|
240
|
+
eventsCount?: number | undefined;
|
|
241
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
242
|
+
hasUdm?: boolean | undefined;
|
|
243
|
+
isTest?: boolean | undefined;
|
|
244
|
+
appUuid?: string | undefined;
|
|
245
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
246
|
+
}>;
|
|
335
247
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
248
|
+
integration: {
|
|
249
|
+
id: string;
|
|
250
|
+
name: string;
|
|
251
|
+
logoUri: string;
|
|
252
|
+
key?: string | undefined;
|
|
253
|
+
uuid?: string | undefined;
|
|
254
|
+
description?: string | undefined;
|
|
255
|
+
meta?: Record<string, any> | undefined;
|
|
256
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
257
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
258
|
+
revision?: string | undefined;
|
|
259
|
+
createdAt?: string | undefined;
|
|
260
|
+
updatedAt?: string | undefined;
|
|
261
|
+
archivedAt?: string | undefined;
|
|
262
|
+
isDeactivated?: boolean | undefined;
|
|
263
|
+
parameters?: any;
|
|
264
|
+
connectorId?: string | undefined;
|
|
265
|
+
connectorVersion?: string | undefined;
|
|
266
|
+
oAuthCallbackUri?: string | undefined;
|
|
267
|
+
hasMissingParameters?: boolean | undefined;
|
|
268
|
+
hasDocumentation?: boolean | undefined;
|
|
269
|
+
hasOperations?: boolean | undefined;
|
|
270
|
+
operationsCount?: number | undefined;
|
|
271
|
+
hasData?: boolean | undefined;
|
|
272
|
+
dataCollectionsCount?: number | undefined;
|
|
273
|
+
hasEvents?: boolean | undefined;
|
|
274
|
+
eventsCount?: number | undefined;
|
|
275
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
276
|
+
hasUdm?: boolean | undefined;
|
|
277
|
+
isTest?: boolean | undefined;
|
|
278
|
+
appUuid?: string | undefined;
|
|
279
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
280
|
+
};
|
|
281
|
+
element: {
|
|
282
|
+
key: string;
|
|
283
|
+
id: string;
|
|
284
|
+
name: string;
|
|
285
|
+
uuid?: string | undefined;
|
|
286
|
+
description?: string | undefined;
|
|
287
|
+
meta?: Record<string, any> | undefined;
|
|
288
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
289
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
290
|
+
revision?: string | undefined;
|
|
291
|
+
createdAt?: string | undefined;
|
|
292
|
+
updatedAt?: string | undefined;
|
|
293
|
+
archivedAt?: string | undefined;
|
|
294
|
+
isDeactivated?: boolean | undefined;
|
|
295
|
+
integrationId?: string | undefined;
|
|
296
|
+
parentId?: string | undefined;
|
|
297
|
+
isCustomized?: boolean | undefined;
|
|
298
|
+
scenarioTemplateId?: string | undefined;
|
|
299
|
+
elements?: {
|
|
300
|
+
type: IntegrationElementType;
|
|
301
|
+
id: string;
|
|
302
|
+
element?: any;
|
|
303
|
+
}[] | undefined;
|
|
304
|
+
};
|
|
366
305
|
}, {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
306
|
+
integration: {
|
|
307
|
+
id: string;
|
|
308
|
+
name: string;
|
|
309
|
+
logoUri: string;
|
|
310
|
+
key?: string | undefined;
|
|
311
|
+
uuid?: string | undefined;
|
|
312
|
+
description?: string | undefined;
|
|
313
|
+
meta?: Record<string, any> | undefined;
|
|
314
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
315
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
316
|
+
revision?: string | undefined;
|
|
317
|
+
createdAt?: string | undefined;
|
|
318
|
+
updatedAt?: string | undefined;
|
|
319
|
+
archivedAt?: string | undefined;
|
|
320
|
+
isDeactivated?: boolean | undefined;
|
|
321
|
+
parameters?: any;
|
|
322
|
+
connectorId?: string | undefined;
|
|
323
|
+
connectorVersion?: string | undefined;
|
|
324
|
+
oAuthCallbackUri?: string | undefined;
|
|
325
|
+
hasMissingParameters?: boolean | undefined;
|
|
326
|
+
hasDocumentation?: boolean | undefined;
|
|
327
|
+
hasOperations?: boolean | undefined;
|
|
328
|
+
operationsCount?: number | undefined;
|
|
329
|
+
hasData?: boolean | undefined;
|
|
330
|
+
dataCollectionsCount?: number | undefined;
|
|
331
|
+
hasEvents?: boolean | undefined;
|
|
332
|
+
eventsCount?: number | undefined;
|
|
333
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
334
|
+
hasUdm?: boolean | undefined;
|
|
335
|
+
isTest?: boolean | undefined;
|
|
336
|
+
appUuid?: string | undefined;
|
|
337
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
338
|
+
};
|
|
339
|
+
element: {
|
|
340
|
+
key: string;
|
|
341
|
+
id: string;
|
|
342
|
+
name: string;
|
|
343
|
+
uuid?: string | undefined;
|
|
344
|
+
description?: string | undefined;
|
|
345
|
+
meta?: Record<string, any> | undefined;
|
|
346
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
347
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
348
|
+
revision?: string | undefined;
|
|
349
|
+
createdAt?: string | undefined;
|
|
350
|
+
updatedAt?: string | undefined;
|
|
351
|
+
archivedAt?: string | undefined;
|
|
352
|
+
isDeactivated?: boolean | undefined;
|
|
353
|
+
integrationId?: string | undefined;
|
|
354
|
+
parentId?: string | undefined;
|
|
355
|
+
isCustomized?: boolean | undefined;
|
|
356
|
+
scenarioTemplateId?: string | undefined;
|
|
357
|
+
elements?: {
|
|
358
|
+
type: IntegrationElementType;
|
|
359
|
+
id: string;
|
|
360
|
+
element?: any;
|
|
361
|
+
}[] | undefined;
|
|
362
|
+
};
|
|
397
363
|
}>, "many">>;
|
|
398
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
key: string;
|
|
399
366
|
id: string;
|
|
400
367
|
name: string;
|
|
401
|
-
appId: string;
|
|
402
|
-
key?: string | undefined;
|
|
403
368
|
uuid?: string | undefined;
|
|
404
369
|
description?: string | undefined;
|
|
370
|
+
meta?: Record<string, any> | undefined;
|
|
405
371
|
state?: import("..").WorkspaceElementState | undefined;
|
|
406
372
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
407
373
|
revision?: string | undefined;
|
|
@@ -409,62 +375,81 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
409
375
|
updatedAt?: string | undefined;
|
|
410
376
|
archivedAt?: string | undefined;
|
|
411
377
|
isDeactivated?: boolean | undefined;
|
|
378
|
+
integrationId?: string | undefined;
|
|
379
|
+
parentId?: string | undefined;
|
|
380
|
+
isCustomized?: boolean | undefined;
|
|
412
381
|
appliedToIntegrations?: {
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
382
|
+
integration: {
|
|
383
|
+
id: string;
|
|
384
|
+
name: string;
|
|
385
|
+
logoUri: string;
|
|
386
|
+
key?: string | undefined;
|
|
387
|
+
uuid?: string | undefined;
|
|
388
|
+
description?: string | undefined;
|
|
389
|
+
meta?: Record<string, any> | undefined;
|
|
390
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
391
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
392
|
+
revision?: string | undefined;
|
|
393
|
+
createdAt?: string | undefined;
|
|
394
|
+
updatedAt?: string | undefined;
|
|
395
|
+
archivedAt?: string | undefined;
|
|
396
|
+
isDeactivated?: boolean | undefined;
|
|
397
|
+
parameters?: any;
|
|
398
|
+
connectorId?: string | undefined;
|
|
399
|
+
connectorVersion?: string | undefined;
|
|
400
|
+
oAuthCallbackUri?: string | undefined;
|
|
401
|
+
hasMissingParameters?: boolean | undefined;
|
|
402
|
+
hasDocumentation?: boolean | undefined;
|
|
403
|
+
hasOperations?: boolean | undefined;
|
|
404
|
+
operationsCount?: number | undefined;
|
|
405
|
+
hasData?: boolean | undefined;
|
|
406
|
+
dataCollectionsCount?: number | undefined;
|
|
407
|
+
hasEvents?: boolean | undefined;
|
|
408
|
+
eventsCount?: number | undefined;
|
|
409
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
410
|
+
hasUdm?: boolean | undefined;
|
|
411
|
+
isTest?: boolean | undefined;
|
|
412
|
+
appUuid?: string | undefined;
|
|
413
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
414
|
+
};
|
|
415
|
+
element: {
|
|
416
|
+
key: string;
|
|
417
|
+
id: string;
|
|
418
|
+
name: string;
|
|
419
|
+
uuid?: string | undefined;
|
|
420
|
+
description?: string | undefined;
|
|
421
|
+
meta?: Record<string, any> | undefined;
|
|
422
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
423
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
424
|
+
revision?: string | undefined;
|
|
425
|
+
createdAt?: string | undefined;
|
|
426
|
+
updatedAt?: string | undefined;
|
|
427
|
+
archivedAt?: string | undefined;
|
|
428
|
+
isDeactivated?: boolean | undefined;
|
|
429
|
+
integrationId?: string | undefined;
|
|
430
|
+
parentId?: string | undefined;
|
|
431
|
+
isCustomized?: boolean | undefined;
|
|
432
|
+
scenarioTemplateId?: string | undefined;
|
|
433
|
+
elements?: {
|
|
434
|
+
type: IntegrationElementType;
|
|
435
|
+
id: string;
|
|
436
|
+
element?: any;
|
|
437
|
+
}[] | undefined;
|
|
438
|
+
};
|
|
443
439
|
}[] | undefined;
|
|
444
440
|
scenarioTemplateId?: string | undefined;
|
|
445
441
|
elements?: {
|
|
446
|
-
type:
|
|
442
|
+
type: IntegrationElementType;
|
|
447
443
|
id: string;
|
|
448
444
|
element?: any;
|
|
449
445
|
}[] | undefined;
|
|
450
|
-
connectors?: {
|
|
451
|
-
key: string;
|
|
452
|
-
id: string;
|
|
453
|
-
name: string;
|
|
454
|
-
logoUri: string;
|
|
455
|
-
}[] | undefined;
|
|
456
|
-
todos?: {
|
|
457
|
-
name: string;
|
|
458
|
-
description: string;
|
|
459
|
-
isComplete: boolean;
|
|
460
|
-
}[] | undefined;
|
|
461
446
|
}, {
|
|
447
|
+
key: string;
|
|
462
448
|
id: string;
|
|
463
449
|
name: string;
|
|
464
|
-
appId: string;
|
|
465
|
-
key?: string | undefined;
|
|
466
450
|
uuid?: string | undefined;
|
|
467
451
|
description?: string | undefined;
|
|
452
|
+
meta?: Record<string, any> | undefined;
|
|
468
453
|
state?: import("..").WorkspaceElementState | undefined;
|
|
469
454
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
470
455
|
revision?: string | undefined;
|
|
@@ -472,56 +457,74 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
472
457
|
updatedAt?: string | undefined;
|
|
473
458
|
archivedAt?: string | undefined;
|
|
474
459
|
isDeactivated?: boolean | undefined;
|
|
460
|
+
integrationId?: string | undefined;
|
|
461
|
+
parentId?: string | undefined;
|
|
462
|
+
isCustomized?: boolean | undefined;
|
|
475
463
|
appliedToIntegrations?: {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
464
|
+
integration: {
|
|
465
|
+
id: string;
|
|
466
|
+
name: string;
|
|
467
|
+
logoUri: string;
|
|
468
|
+
key?: string | undefined;
|
|
469
|
+
uuid?: string | undefined;
|
|
470
|
+
description?: string | undefined;
|
|
471
|
+
meta?: Record<string, any> | undefined;
|
|
472
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
473
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
474
|
+
revision?: string | undefined;
|
|
475
|
+
createdAt?: string | undefined;
|
|
476
|
+
updatedAt?: string | undefined;
|
|
477
|
+
archivedAt?: string | undefined;
|
|
478
|
+
isDeactivated?: boolean | undefined;
|
|
479
|
+
parameters?: any;
|
|
480
|
+
connectorId?: string | undefined;
|
|
481
|
+
connectorVersion?: string | undefined;
|
|
482
|
+
oAuthCallbackUri?: string | undefined;
|
|
483
|
+
hasMissingParameters?: boolean | undefined;
|
|
484
|
+
hasDocumentation?: boolean | undefined;
|
|
485
|
+
hasOperations?: boolean | undefined;
|
|
486
|
+
operationsCount?: number | undefined;
|
|
487
|
+
hasData?: boolean | undefined;
|
|
488
|
+
dataCollectionsCount?: number | undefined;
|
|
489
|
+
hasEvents?: boolean | undefined;
|
|
490
|
+
eventsCount?: number | undefined;
|
|
491
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
492
|
+
hasUdm?: boolean | undefined;
|
|
493
|
+
isTest?: boolean | undefined;
|
|
494
|
+
appUuid?: string | undefined;
|
|
495
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
496
|
+
};
|
|
497
|
+
element: {
|
|
498
|
+
key: string;
|
|
499
|
+
id: string;
|
|
500
|
+
name: string;
|
|
501
|
+
uuid?: string | undefined;
|
|
502
|
+
description?: string | undefined;
|
|
503
|
+
meta?: Record<string, any> | undefined;
|
|
504
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
505
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
506
|
+
revision?: string | undefined;
|
|
507
|
+
createdAt?: string | undefined;
|
|
508
|
+
updatedAt?: string | undefined;
|
|
509
|
+
archivedAt?: string | undefined;
|
|
510
|
+
isDeactivated?: boolean | undefined;
|
|
511
|
+
integrationId?: string | undefined;
|
|
512
|
+
parentId?: string | undefined;
|
|
513
|
+
isCustomized?: boolean | undefined;
|
|
514
|
+
scenarioTemplateId?: string | undefined;
|
|
515
|
+
elements?: {
|
|
516
|
+
type: IntegrationElementType;
|
|
517
|
+
id: string;
|
|
518
|
+
element?: any;
|
|
519
|
+
}[] | undefined;
|
|
520
|
+
};
|
|
506
521
|
}[] | undefined;
|
|
507
522
|
scenarioTemplateId?: string | undefined;
|
|
508
523
|
elements?: {
|
|
509
|
-
type:
|
|
524
|
+
type: IntegrationElementType;
|
|
510
525
|
id: string;
|
|
511
526
|
element?: any;
|
|
512
527
|
}[] | undefined;
|
|
513
|
-
connectors?: {
|
|
514
|
-
key: string;
|
|
515
|
-
id: string;
|
|
516
|
-
name: string;
|
|
517
|
-
logoUri: string;
|
|
518
|
-
}[] | undefined;
|
|
519
|
-
todos?: {
|
|
520
|
-
name: string;
|
|
521
|
-
description: string;
|
|
522
|
-
isComplete: boolean;
|
|
523
|
-
}[] | undefined;
|
|
524
528
|
}>;
|
|
525
529
|
export type ScenarioApiResponse = z.infer<typeof ScenarioApiResponse>;
|
|
526
530
|
export type Scenario = ScenarioApiResponse;
|
|
527
|
-
export {};
|