@membranehq/sdk 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +13011 -5117
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +31 -10
- package/dist/dts/accessors/integrations-accessors.d.ts +31 -10
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/entity-repository.d.ts +7 -6
- package/dist/dts/http-requests.d.ts +2 -2
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +393 -90
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
- package/dist/dts/workspace-elements/api/connections-api.d.ts +387 -97
- package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +357 -79
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +169 -27
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +367 -69
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1040 -257
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +121 -37
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +151 -26
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +28 -12
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
- package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
- package/dist/dts/workspace-elements/base/connections/types.d.ts +18 -12
- package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +6 -6
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +26 -11
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +26 -12
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +557 -67
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +4 -3
- package/dist/index.d.ts +21959 -8561
- package/dist/index.js +258 -109
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +21959 -8561
- package/dist/index.module.mjs +225 -101
- package/dist/index.module.mjs.map +1 -1
- package/package.json +3 -2
- package/dist/dts/data-schema/schemas.d.ts +0 -4
- package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
|
@@ -66,21 +66,24 @@ export declare const UpdateActionRequest: z.ZodObject<{
|
|
|
66
66
|
name: z.ZodOptional<z.ZodString>;
|
|
67
67
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
68
68
|
config: z.ZodOptional<z.ZodAny>;
|
|
69
|
-
|
|
69
|
+
customOutputSchema: z.ZodOptional<z.ZodAny>;
|
|
70
|
+
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
70
71
|
}, "strip", z.ZodTypeAny, {
|
|
71
72
|
key?: string | undefined;
|
|
72
73
|
type?: ActionType | undefined;
|
|
73
74
|
name?: string | undefined;
|
|
74
|
-
archivedAt?: string | undefined;
|
|
75
75
|
inputSchema?: any;
|
|
76
76
|
config?: any;
|
|
77
|
+
outputMapping?: any;
|
|
78
|
+
customOutputSchema?: any;
|
|
77
79
|
}, {
|
|
78
80
|
key?: string | undefined;
|
|
79
81
|
type?: ActionType | undefined;
|
|
80
82
|
name?: string | undefined;
|
|
81
|
-
archivedAt?: string | undefined;
|
|
82
83
|
inputSchema?: any;
|
|
83
84
|
config?: any;
|
|
85
|
+
outputMapping?: any;
|
|
86
|
+
customOutputSchema?: any;
|
|
84
87
|
}>;
|
|
85
88
|
export type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
|
|
86
89
|
export interface ActionSelector extends IntegrationSpecificElementSelector {
|
|
@@ -171,22 +174,25 @@ export declare const ActionRunResponse: z.ZodObject<{
|
|
|
171
174
|
output?: any;
|
|
172
175
|
}>;
|
|
173
176
|
export type ActionRunResponse = z.infer<typeof ActionRunResponse>;
|
|
174
|
-
export declare
|
|
175
|
-
SUCCESS = "success",
|
|
176
|
-
ERROR = "error"
|
|
177
|
-
}
|
|
178
|
-
export declare const Action: z.ZodObject<{
|
|
177
|
+
export declare const ActionApiResponse: z.ZodObject<{
|
|
179
178
|
id: z.ZodString;
|
|
180
|
-
key: z.ZodString;
|
|
181
179
|
name: z.ZodString;
|
|
182
|
-
|
|
180
|
+
} & {
|
|
181
|
+
key: z.ZodOptional<z.ZodString>;
|
|
182
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
183
|
+
description: z.ZodOptional<z.ZodString>;
|
|
184
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
185
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
186
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
187
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
189
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
190
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
191
|
+
} & {
|
|
183
192
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
184
193
|
parentId: z.ZodOptional<z.ZodString>;
|
|
185
194
|
parentRevision: z.ZodOptional<z.ZodString>;
|
|
186
195
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
188
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
189
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
190
196
|
type: z.ZodNativeEnum<typeof ActionType>;
|
|
191
197
|
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
192
198
|
config: z.ZodOptional<z.ZodAny>;
|
|
@@ -200,15 +206,52 @@ export declare const Action: z.ZodObject<{
|
|
|
200
206
|
integration: z.ZodOptional<z.ZodObject<{
|
|
201
207
|
id: z.ZodString;
|
|
202
208
|
name: z.ZodString;
|
|
203
|
-
|
|
204
|
-
|
|
209
|
+
key: z.ZodOptional<z.ZodString>;
|
|
210
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
211
|
+
description: z.ZodOptional<z.ZodString>;
|
|
205
212
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
206
213
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
214
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
215
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
216
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
207
217
|
} & {
|
|
208
218
|
logoUri: z.ZodString;
|
|
209
219
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
210
220
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
211
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
221
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
|
+
key: z.ZodString;
|
|
223
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
224
|
+
title: z.ZodOptional<z.ZodString>;
|
|
225
|
+
description: z.ZodOptional<z.ZodString>;
|
|
226
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
227
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
228
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
schema?: any;
|
|
231
|
+
helpUri?: string | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
schema?: any;
|
|
234
|
+
helpUri?: string | undefined;
|
|
235
|
+
}>>;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
key: string;
|
|
238
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
239
|
+
description?: string | undefined;
|
|
240
|
+
title?: string | undefined;
|
|
241
|
+
ui?: {
|
|
242
|
+
schema?: any;
|
|
243
|
+
helpUri?: string | undefined;
|
|
244
|
+
} | undefined;
|
|
245
|
+
}, {
|
|
246
|
+
key: string;
|
|
247
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
248
|
+
description?: string | undefined;
|
|
249
|
+
title?: string | undefined;
|
|
250
|
+
ui?: {
|
|
251
|
+
schema?: any;
|
|
252
|
+
helpUri?: string | undefined;
|
|
253
|
+
} | undefined;
|
|
254
|
+
}>, "many">>;
|
|
212
255
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
213
256
|
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
214
257
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -217,8 +260,11 @@ export declare const Action: z.ZodObject<{
|
|
|
217
260
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
218
261
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
219
262
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
220
264
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
265
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
221
266
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
222
268
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
223
269
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
224
270
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -226,71 +272,112 @@ export declare const Action: z.ZodObject<{
|
|
|
226
272
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
227
273
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
228
274
|
}, "strip", z.ZodTypeAny, {
|
|
229
|
-
key: string;
|
|
230
275
|
id: string;
|
|
231
276
|
name: string;
|
|
232
277
|
baseUri: string;
|
|
233
278
|
logoUri: string;
|
|
279
|
+
key?: string | undefined;
|
|
280
|
+
uuid?: string | undefined;
|
|
281
|
+
description?: string | undefined;
|
|
234
282
|
state?: import("..").WorkspaceElementState | undefined;
|
|
235
283
|
errors?: any[] | undefined;
|
|
284
|
+
revision?: string | undefined;
|
|
285
|
+
isDeactivated?: boolean | undefined;
|
|
286
|
+
createdAt?: string | undefined;
|
|
287
|
+
updatedAt?: string | undefined;
|
|
288
|
+
archivedAt?: string | undefined;
|
|
236
289
|
parameters?: any;
|
|
237
290
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
238
|
-
archivedAt?: string | undefined;
|
|
239
291
|
isTest?: boolean | undefined;
|
|
240
292
|
connectorId?: string | undefined;
|
|
241
293
|
connectorVersion?: string | undefined;
|
|
242
|
-
authOptions?:
|
|
294
|
+
authOptions?: {
|
|
295
|
+
key: string;
|
|
296
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
297
|
+
description?: string | undefined;
|
|
298
|
+
title?: string | undefined;
|
|
299
|
+
ui?: {
|
|
300
|
+
schema?: any;
|
|
301
|
+
helpUri?: string | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
}[] | undefined;
|
|
243
304
|
oAuthCallbackUri?: string | undefined;
|
|
244
305
|
hasMissingParameters?: boolean | undefined;
|
|
245
306
|
hasDocumentation?: boolean | undefined;
|
|
246
307
|
hasOperations?: boolean | undefined;
|
|
308
|
+
operationsCount?: number | undefined;
|
|
247
309
|
hasData?: boolean | undefined;
|
|
310
|
+
dataCollectionsCount?: number | undefined;
|
|
248
311
|
hasEvents?: boolean | undefined;
|
|
312
|
+
eventsCount?: number | undefined;
|
|
249
313
|
hasGlobalWebhooks?: boolean | undefined;
|
|
250
314
|
hasUdm?: boolean | undefined;
|
|
251
315
|
appUuid?: string | undefined;
|
|
252
|
-
isDeactivated?: boolean | undefined;
|
|
253
316
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
254
317
|
}, {
|
|
255
|
-
key: string;
|
|
256
318
|
id: string;
|
|
257
319
|
name: string;
|
|
258
320
|
baseUri: string;
|
|
259
321
|
logoUri: string;
|
|
322
|
+
key?: string | undefined;
|
|
323
|
+
uuid?: string | undefined;
|
|
324
|
+
description?: string | undefined;
|
|
260
325
|
state?: import("..").WorkspaceElementState | undefined;
|
|
261
326
|
errors?: any[] | undefined;
|
|
327
|
+
revision?: string | undefined;
|
|
328
|
+
isDeactivated?: boolean | undefined;
|
|
329
|
+
createdAt?: string | undefined;
|
|
330
|
+
updatedAt?: string | undefined;
|
|
331
|
+
archivedAt?: string | undefined;
|
|
262
332
|
parameters?: any;
|
|
263
333
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
264
|
-
archivedAt?: string | undefined;
|
|
265
334
|
isTest?: boolean | undefined;
|
|
266
335
|
connectorId?: string | undefined;
|
|
267
336
|
connectorVersion?: string | undefined;
|
|
268
|
-
authOptions?:
|
|
337
|
+
authOptions?: {
|
|
338
|
+
key: string;
|
|
339
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
340
|
+
description?: string | undefined;
|
|
341
|
+
title?: string | undefined;
|
|
342
|
+
ui?: {
|
|
343
|
+
schema?: any;
|
|
344
|
+
helpUri?: string | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
}[] | undefined;
|
|
269
347
|
oAuthCallbackUri?: string | undefined;
|
|
270
348
|
hasMissingParameters?: boolean | undefined;
|
|
271
349
|
hasDocumentation?: boolean | undefined;
|
|
272
350
|
hasOperations?: boolean | undefined;
|
|
351
|
+
operationsCount?: number | undefined;
|
|
273
352
|
hasData?: boolean | undefined;
|
|
353
|
+
dataCollectionsCount?: number | undefined;
|
|
274
354
|
hasEvents?: boolean | undefined;
|
|
355
|
+
eventsCount?: number | undefined;
|
|
275
356
|
hasGlobalWebhooks?: boolean | undefined;
|
|
276
357
|
hasUdm?: boolean | undefined;
|
|
277
358
|
appUuid?: string | undefined;
|
|
278
|
-
isDeactivated?: boolean | undefined;
|
|
279
359
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
280
360
|
}>>;
|
|
281
361
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
282
362
|
element: z.ZodObject<{
|
|
283
363
|
id: z.ZodString;
|
|
284
|
-
key: z.ZodString;
|
|
285
364
|
name: z.ZodString;
|
|
286
|
-
|
|
365
|
+
} & {
|
|
366
|
+
key: z.ZodOptional<z.ZodString>;
|
|
367
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
368
|
+
description: z.ZodOptional<z.ZodString>;
|
|
369
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
370
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
371
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
372
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
374
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
375
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
376
|
+
} & {
|
|
287
377
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
288
378
|
parentId: z.ZodOptional<z.ZodString>;
|
|
289
379
|
parentRevision: z.ZodOptional<z.ZodString>;
|
|
290
380
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
292
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
293
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
294
381
|
type: z.ZodNativeEnum<typeof ActionType>;
|
|
295
382
|
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
296
383
|
config: z.ZodOptional<z.ZodAny>;
|
|
@@ -301,15 +388,20 @@ export declare const Action: z.ZodObject<{
|
|
|
301
388
|
outputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
302
389
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
303
390
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
key: string;
|
|
305
391
|
type: ActionType;
|
|
306
392
|
id: string;
|
|
307
393
|
name: string;
|
|
308
|
-
|
|
309
|
-
|
|
394
|
+
key?: string | undefined;
|
|
395
|
+
uuid?: string | undefined;
|
|
396
|
+
description?: string | undefined;
|
|
397
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
398
|
+
errors?: any[] | undefined;
|
|
399
|
+
revision?: string | undefined;
|
|
400
|
+
isDeactivated?: boolean | undefined;
|
|
310
401
|
createdAt?: string | undefined;
|
|
311
402
|
updatedAt?: string | undefined;
|
|
312
403
|
archivedAt?: string | undefined;
|
|
404
|
+
integrationId?: string | undefined;
|
|
313
405
|
parentId?: string | undefined;
|
|
314
406
|
parentRevision?: string | undefined;
|
|
315
407
|
isCustomized?: boolean | undefined;
|
|
@@ -322,15 +414,20 @@ export declare const Action: z.ZodObject<{
|
|
|
322
414
|
outputSchema?: import("../..").DataSchema | undefined;
|
|
323
415
|
dependencies?: any[] | undefined;
|
|
324
416
|
}, {
|
|
325
|
-
key: string;
|
|
326
417
|
type: ActionType;
|
|
327
418
|
id: string;
|
|
328
419
|
name: string;
|
|
329
|
-
|
|
330
|
-
|
|
420
|
+
key?: string | undefined;
|
|
421
|
+
uuid?: string | undefined;
|
|
422
|
+
description?: string | undefined;
|
|
423
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
424
|
+
errors?: any[] | undefined;
|
|
425
|
+
revision?: string | undefined;
|
|
426
|
+
isDeactivated?: boolean | undefined;
|
|
331
427
|
createdAt?: string | undefined;
|
|
332
428
|
updatedAt?: string | undefined;
|
|
333
429
|
archivedAt?: string | undefined;
|
|
430
|
+
integrationId?: string | undefined;
|
|
334
431
|
parentId?: string | undefined;
|
|
335
432
|
parentRevision?: string | undefined;
|
|
336
433
|
isCustomized?: boolean | undefined;
|
|
@@ -346,15 +443,52 @@ export declare const Action: z.ZodObject<{
|
|
|
346
443
|
integration: z.ZodObject<{
|
|
347
444
|
id: z.ZodString;
|
|
348
445
|
name: z.ZodString;
|
|
349
|
-
|
|
350
|
-
|
|
446
|
+
key: z.ZodOptional<z.ZodString>;
|
|
447
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
448
|
+
description: z.ZodOptional<z.ZodString>;
|
|
351
449
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
352
450
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
451
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
452
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
453
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
353
454
|
} & {
|
|
354
455
|
logoUri: z.ZodString;
|
|
355
456
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
356
457
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
357
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
458
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
459
|
+
key: z.ZodString;
|
|
460
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
461
|
+
title: z.ZodOptional<z.ZodString>;
|
|
462
|
+
description: z.ZodOptional<z.ZodString>;
|
|
463
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
465
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
schema?: any;
|
|
468
|
+
helpUri?: string | undefined;
|
|
469
|
+
}, {
|
|
470
|
+
schema?: any;
|
|
471
|
+
helpUri?: string | undefined;
|
|
472
|
+
}>>;
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
key: string;
|
|
475
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
476
|
+
description?: string | undefined;
|
|
477
|
+
title?: string | undefined;
|
|
478
|
+
ui?: {
|
|
479
|
+
schema?: any;
|
|
480
|
+
helpUri?: string | undefined;
|
|
481
|
+
} | undefined;
|
|
482
|
+
}, {
|
|
483
|
+
key: string;
|
|
484
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
485
|
+
description?: string | undefined;
|
|
486
|
+
title?: string | undefined;
|
|
487
|
+
ui?: {
|
|
488
|
+
schema?: any;
|
|
489
|
+
helpUri?: string | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
}>, "many">>;
|
|
358
492
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
359
493
|
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
360
494
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -363,8 +497,11 @@ export declare const Action: z.ZodObject<{
|
|
|
363
497
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
364
498
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
365
499
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
366
501
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
502
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
367
503
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
504
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
368
505
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
369
506
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
370
507
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -372,96 +509,152 @@ export declare const Action: z.ZodObject<{
|
|
|
372
509
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
373
510
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
374
511
|
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
key: string;
|
|
376
512
|
id: string;
|
|
377
513
|
name: string;
|
|
378
514
|
baseUri: string;
|
|
379
515
|
logoUri: string;
|
|
516
|
+
key?: string | undefined;
|
|
517
|
+
uuid?: string | undefined;
|
|
518
|
+
description?: string | undefined;
|
|
380
519
|
state?: import("..").WorkspaceElementState | undefined;
|
|
381
520
|
errors?: any[] | undefined;
|
|
521
|
+
revision?: string | undefined;
|
|
522
|
+
isDeactivated?: boolean | undefined;
|
|
523
|
+
createdAt?: string | undefined;
|
|
524
|
+
updatedAt?: string | undefined;
|
|
525
|
+
archivedAt?: string | undefined;
|
|
382
526
|
parameters?: any;
|
|
383
527
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
384
|
-
archivedAt?: string | undefined;
|
|
385
528
|
isTest?: boolean | undefined;
|
|
386
529
|
connectorId?: string | undefined;
|
|
387
530
|
connectorVersion?: string | undefined;
|
|
388
|
-
authOptions?:
|
|
531
|
+
authOptions?: {
|
|
532
|
+
key: string;
|
|
533
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
534
|
+
description?: string | undefined;
|
|
535
|
+
title?: string | undefined;
|
|
536
|
+
ui?: {
|
|
537
|
+
schema?: any;
|
|
538
|
+
helpUri?: string | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
}[] | undefined;
|
|
389
541
|
oAuthCallbackUri?: string | undefined;
|
|
390
542
|
hasMissingParameters?: boolean | undefined;
|
|
391
543
|
hasDocumentation?: boolean | undefined;
|
|
392
544
|
hasOperations?: boolean | undefined;
|
|
545
|
+
operationsCount?: number | undefined;
|
|
393
546
|
hasData?: boolean | undefined;
|
|
547
|
+
dataCollectionsCount?: number | undefined;
|
|
394
548
|
hasEvents?: boolean | undefined;
|
|
549
|
+
eventsCount?: number | undefined;
|
|
395
550
|
hasGlobalWebhooks?: boolean | undefined;
|
|
396
551
|
hasUdm?: boolean | undefined;
|
|
397
552
|
appUuid?: string | undefined;
|
|
398
|
-
isDeactivated?: boolean | undefined;
|
|
399
553
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
400
554
|
}, {
|
|
401
|
-
key: string;
|
|
402
555
|
id: string;
|
|
403
556
|
name: string;
|
|
404
557
|
baseUri: string;
|
|
405
558
|
logoUri: string;
|
|
559
|
+
key?: string | undefined;
|
|
560
|
+
uuid?: string | undefined;
|
|
561
|
+
description?: string | undefined;
|
|
406
562
|
state?: import("..").WorkspaceElementState | undefined;
|
|
407
563
|
errors?: any[] | undefined;
|
|
564
|
+
revision?: string | undefined;
|
|
565
|
+
isDeactivated?: boolean | undefined;
|
|
566
|
+
createdAt?: string | undefined;
|
|
567
|
+
updatedAt?: string | undefined;
|
|
568
|
+
archivedAt?: string | undefined;
|
|
408
569
|
parameters?: any;
|
|
409
570
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
410
|
-
archivedAt?: string | undefined;
|
|
411
571
|
isTest?: boolean | undefined;
|
|
412
572
|
connectorId?: string | undefined;
|
|
413
573
|
connectorVersion?: string | undefined;
|
|
414
|
-
authOptions?:
|
|
574
|
+
authOptions?: {
|
|
575
|
+
key: string;
|
|
576
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
577
|
+
description?: string | undefined;
|
|
578
|
+
title?: string | undefined;
|
|
579
|
+
ui?: {
|
|
580
|
+
schema?: any;
|
|
581
|
+
helpUri?: string | undefined;
|
|
582
|
+
} | undefined;
|
|
583
|
+
}[] | undefined;
|
|
415
584
|
oAuthCallbackUri?: string | undefined;
|
|
416
585
|
hasMissingParameters?: boolean | undefined;
|
|
417
586
|
hasDocumentation?: boolean | undefined;
|
|
418
587
|
hasOperations?: boolean | undefined;
|
|
588
|
+
operationsCount?: number | undefined;
|
|
419
589
|
hasData?: boolean | undefined;
|
|
590
|
+
dataCollectionsCount?: number | undefined;
|
|
420
591
|
hasEvents?: boolean | undefined;
|
|
592
|
+
eventsCount?: number | undefined;
|
|
421
593
|
hasGlobalWebhooks?: boolean | undefined;
|
|
422
594
|
hasUdm?: boolean | undefined;
|
|
423
595
|
appUuid?: string | undefined;
|
|
424
|
-
isDeactivated?: boolean | undefined;
|
|
425
596
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
426
597
|
}>;
|
|
427
598
|
}, "strip", z.ZodTypeAny, {
|
|
428
599
|
integration: {
|
|
429
|
-
key: string;
|
|
430
600
|
id: string;
|
|
431
601
|
name: string;
|
|
432
602
|
baseUri: string;
|
|
433
603
|
logoUri: string;
|
|
604
|
+
key?: string | undefined;
|
|
605
|
+
uuid?: string | undefined;
|
|
606
|
+
description?: string | undefined;
|
|
434
607
|
state?: import("..").WorkspaceElementState | undefined;
|
|
435
608
|
errors?: any[] | undefined;
|
|
609
|
+
revision?: string | undefined;
|
|
610
|
+
isDeactivated?: boolean | undefined;
|
|
611
|
+
createdAt?: string | undefined;
|
|
612
|
+
updatedAt?: string | undefined;
|
|
613
|
+
archivedAt?: string | undefined;
|
|
436
614
|
parameters?: any;
|
|
437
615
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
438
|
-
archivedAt?: string | undefined;
|
|
439
616
|
isTest?: boolean | undefined;
|
|
440
617
|
connectorId?: string | undefined;
|
|
441
618
|
connectorVersion?: string | undefined;
|
|
442
|
-
authOptions?:
|
|
619
|
+
authOptions?: {
|
|
620
|
+
key: string;
|
|
621
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
622
|
+
description?: string | undefined;
|
|
623
|
+
title?: string | undefined;
|
|
624
|
+
ui?: {
|
|
625
|
+
schema?: any;
|
|
626
|
+
helpUri?: string | undefined;
|
|
627
|
+
} | undefined;
|
|
628
|
+
}[] | undefined;
|
|
443
629
|
oAuthCallbackUri?: string | undefined;
|
|
444
630
|
hasMissingParameters?: boolean | undefined;
|
|
445
631
|
hasDocumentation?: boolean | undefined;
|
|
446
632
|
hasOperations?: boolean | undefined;
|
|
633
|
+
operationsCount?: number | undefined;
|
|
447
634
|
hasData?: boolean | undefined;
|
|
635
|
+
dataCollectionsCount?: number | undefined;
|
|
448
636
|
hasEvents?: boolean | undefined;
|
|
637
|
+
eventsCount?: number | undefined;
|
|
449
638
|
hasGlobalWebhooks?: boolean | undefined;
|
|
450
639
|
hasUdm?: boolean | undefined;
|
|
451
640
|
appUuid?: string | undefined;
|
|
452
|
-
isDeactivated?: boolean | undefined;
|
|
453
641
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
454
642
|
};
|
|
455
643
|
element: {
|
|
456
|
-
key: string;
|
|
457
644
|
type: ActionType;
|
|
458
645
|
id: string;
|
|
459
646
|
name: string;
|
|
460
|
-
|
|
461
|
-
|
|
647
|
+
key?: string | undefined;
|
|
648
|
+
uuid?: string | undefined;
|
|
649
|
+
description?: string | undefined;
|
|
650
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
651
|
+
errors?: any[] | undefined;
|
|
652
|
+
revision?: string | undefined;
|
|
653
|
+
isDeactivated?: boolean | undefined;
|
|
462
654
|
createdAt?: string | undefined;
|
|
463
655
|
updatedAt?: string | undefined;
|
|
464
656
|
archivedAt?: string | undefined;
|
|
657
|
+
integrationId?: string | undefined;
|
|
465
658
|
parentId?: string | undefined;
|
|
466
659
|
parentRevision?: string | undefined;
|
|
467
660
|
isCustomized?: boolean | undefined;
|
|
@@ -476,42 +669,64 @@ export declare const Action: z.ZodObject<{
|
|
|
476
669
|
};
|
|
477
670
|
}, {
|
|
478
671
|
integration: {
|
|
479
|
-
key: string;
|
|
480
672
|
id: string;
|
|
481
673
|
name: string;
|
|
482
674
|
baseUri: string;
|
|
483
675
|
logoUri: string;
|
|
676
|
+
key?: string | undefined;
|
|
677
|
+
uuid?: string | undefined;
|
|
678
|
+
description?: string | undefined;
|
|
484
679
|
state?: import("..").WorkspaceElementState | undefined;
|
|
485
680
|
errors?: any[] | undefined;
|
|
681
|
+
revision?: string | undefined;
|
|
682
|
+
isDeactivated?: boolean | undefined;
|
|
683
|
+
createdAt?: string | undefined;
|
|
684
|
+
updatedAt?: string | undefined;
|
|
685
|
+
archivedAt?: string | undefined;
|
|
486
686
|
parameters?: any;
|
|
487
687
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
488
|
-
archivedAt?: string | undefined;
|
|
489
688
|
isTest?: boolean | undefined;
|
|
490
689
|
connectorId?: string | undefined;
|
|
491
690
|
connectorVersion?: string | undefined;
|
|
492
|
-
authOptions?:
|
|
691
|
+
authOptions?: {
|
|
692
|
+
key: string;
|
|
693
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
694
|
+
description?: string | undefined;
|
|
695
|
+
title?: string | undefined;
|
|
696
|
+
ui?: {
|
|
697
|
+
schema?: any;
|
|
698
|
+
helpUri?: string | undefined;
|
|
699
|
+
} | undefined;
|
|
700
|
+
}[] | undefined;
|
|
493
701
|
oAuthCallbackUri?: string | undefined;
|
|
494
702
|
hasMissingParameters?: boolean | undefined;
|
|
495
703
|
hasDocumentation?: boolean | undefined;
|
|
496
704
|
hasOperations?: boolean | undefined;
|
|
705
|
+
operationsCount?: number | undefined;
|
|
497
706
|
hasData?: boolean | undefined;
|
|
707
|
+
dataCollectionsCount?: number | undefined;
|
|
498
708
|
hasEvents?: boolean | undefined;
|
|
709
|
+
eventsCount?: number | undefined;
|
|
499
710
|
hasGlobalWebhooks?: boolean | undefined;
|
|
500
711
|
hasUdm?: boolean | undefined;
|
|
501
712
|
appUuid?: string | undefined;
|
|
502
|
-
isDeactivated?: boolean | undefined;
|
|
503
713
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
504
714
|
};
|
|
505
715
|
element: {
|
|
506
|
-
key: string;
|
|
507
716
|
type: ActionType;
|
|
508
717
|
id: string;
|
|
509
718
|
name: string;
|
|
510
|
-
|
|
511
|
-
|
|
719
|
+
key?: string | undefined;
|
|
720
|
+
uuid?: string | undefined;
|
|
721
|
+
description?: string | undefined;
|
|
722
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
723
|
+
errors?: any[] | undefined;
|
|
724
|
+
revision?: string | undefined;
|
|
725
|
+
isDeactivated?: boolean | undefined;
|
|
512
726
|
createdAt?: string | undefined;
|
|
513
727
|
updatedAt?: string | undefined;
|
|
514
728
|
archivedAt?: string | undefined;
|
|
729
|
+
integrationId?: string | undefined;
|
|
515
730
|
parentId?: string | undefined;
|
|
516
731
|
parentRevision?: string | undefined;
|
|
517
732
|
isCustomized?: boolean | undefined;
|
|
@@ -526,42 +741,64 @@ export declare const Action: z.ZodObject<{
|
|
|
526
741
|
};
|
|
527
742
|
}>, "many">>;
|
|
528
743
|
}, "strip", z.ZodTypeAny, {
|
|
529
|
-
key: string;
|
|
530
744
|
type: ActionType;
|
|
531
745
|
id: string;
|
|
532
746
|
name: string;
|
|
533
|
-
|
|
747
|
+
key?: string | undefined;
|
|
534
748
|
integration?: {
|
|
535
|
-
key: string;
|
|
536
749
|
id: string;
|
|
537
750
|
name: string;
|
|
538
751
|
baseUri: string;
|
|
539
752
|
logoUri: string;
|
|
753
|
+
key?: string | undefined;
|
|
754
|
+
uuid?: string | undefined;
|
|
755
|
+
description?: string | undefined;
|
|
540
756
|
state?: import("..").WorkspaceElementState | undefined;
|
|
541
757
|
errors?: any[] | undefined;
|
|
758
|
+
revision?: string | undefined;
|
|
759
|
+
isDeactivated?: boolean | undefined;
|
|
760
|
+
createdAt?: string | undefined;
|
|
761
|
+
updatedAt?: string | undefined;
|
|
762
|
+
archivedAt?: string | undefined;
|
|
542
763
|
parameters?: any;
|
|
543
764
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
544
|
-
archivedAt?: string | undefined;
|
|
545
765
|
isTest?: boolean | undefined;
|
|
546
766
|
connectorId?: string | undefined;
|
|
547
767
|
connectorVersion?: string | undefined;
|
|
548
|
-
authOptions?:
|
|
768
|
+
authOptions?: {
|
|
769
|
+
key: string;
|
|
770
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
771
|
+
description?: string | undefined;
|
|
772
|
+
title?: string | undefined;
|
|
773
|
+
ui?: {
|
|
774
|
+
schema?: any;
|
|
775
|
+
helpUri?: string | undefined;
|
|
776
|
+
} | undefined;
|
|
777
|
+
}[] | undefined;
|
|
549
778
|
oAuthCallbackUri?: string | undefined;
|
|
550
779
|
hasMissingParameters?: boolean | undefined;
|
|
551
780
|
hasDocumentation?: boolean | undefined;
|
|
552
781
|
hasOperations?: boolean | undefined;
|
|
782
|
+
operationsCount?: number | undefined;
|
|
553
783
|
hasData?: boolean | undefined;
|
|
784
|
+
dataCollectionsCount?: number | undefined;
|
|
554
785
|
hasEvents?: boolean | undefined;
|
|
786
|
+
eventsCount?: number | undefined;
|
|
555
787
|
hasGlobalWebhooks?: boolean | undefined;
|
|
556
788
|
hasUdm?: boolean | undefined;
|
|
557
789
|
appUuid?: string | undefined;
|
|
558
|
-
isDeactivated?: boolean | undefined;
|
|
559
790
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
560
791
|
} | undefined;
|
|
561
|
-
|
|
792
|
+
uuid?: string | undefined;
|
|
793
|
+
description?: string | undefined;
|
|
794
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
795
|
+
errors?: any[] | undefined;
|
|
796
|
+
revision?: string | undefined;
|
|
797
|
+
isDeactivated?: boolean | undefined;
|
|
562
798
|
createdAt?: string | undefined;
|
|
563
799
|
updatedAt?: string | undefined;
|
|
564
800
|
archivedAt?: string | undefined;
|
|
801
|
+
integrationId?: string | undefined;
|
|
565
802
|
parentId?: string | undefined;
|
|
566
803
|
parentRevision?: string | undefined;
|
|
567
804
|
isCustomized?: boolean | undefined;
|
|
@@ -575,42 +812,64 @@ export declare const Action: z.ZodObject<{
|
|
|
575
812
|
dependencies?: any[] | undefined;
|
|
576
813
|
appliedToIntegrations?: {
|
|
577
814
|
integration: {
|
|
578
|
-
key: string;
|
|
579
815
|
id: string;
|
|
580
816
|
name: string;
|
|
581
817
|
baseUri: string;
|
|
582
818
|
logoUri: string;
|
|
819
|
+
key?: string | undefined;
|
|
820
|
+
uuid?: string | undefined;
|
|
821
|
+
description?: string | undefined;
|
|
583
822
|
state?: import("..").WorkspaceElementState | undefined;
|
|
584
823
|
errors?: any[] | undefined;
|
|
824
|
+
revision?: string | undefined;
|
|
825
|
+
isDeactivated?: boolean | undefined;
|
|
826
|
+
createdAt?: string | undefined;
|
|
827
|
+
updatedAt?: string | undefined;
|
|
828
|
+
archivedAt?: string | undefined;
|
|
585
829
|
parameters?: any;
|
|
586
830
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
587
|
-
archivedAt?: string | undefined;
|
|
588
831
|
isTest?: boolean | undefined;
|
|
589
832
|
connectorId?: string | undefined;
|
|
590
833
|
connectorVersion?: string | undefined;
|
|
591
|
-
authOptions?:
|
|
834
|
+
authOptions?: {
|
|
835
|
+
key: string;
|
|
836
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
837
|
+
description?: string | undefined;
|
|
838
|
+
title?: string | undefined;
|
|
839
|
+
ui?: {
|
|
840
|
+
schema?: any;
|
|
841
|
+
helpUri?: string | undefined;
|
|
842
|
+
} | undefined;
|
|
843
|
+
}[] | undefined;
|
|
592
844
|
oAuthCallbackUri?: string | undefined;
|
|
593
845
|
hasMissingParameters?: boolean | undefined;
|
|
594
846
|
hasDocumentation?: boolean | undefined;
|
|
595
847
|
hasOperations?: boolean | undefined;
|
|
848
|
+
operationsCount?: number | undefined;
|
|
596
849
|
hasData?: boolean | undefined;
|
|
850
|
+
dataCollectionsCount?: number | undefined;
|
|
597
851
|
hasEvents?: boolean | undefined;
|
|
852
|
+
eventsCount?: number | undefined;
|
|
598
853
|
hasGlobalWebhooks?: boolean | undefined;
|
|
599
854
|
hasUdm?: boolean | undefined;
|
|
600
855
|
appUuid?: string | undefined;
|
|
601
|
-
isDeactivated?: boolean | undefined;
|
|
602
856
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
603
857
|
};
|
|
604
858
|
element: {
|
|
605
|
-
key: string;
|
|
606
859
|
type: ActionType;
|
|
607
860
|
id: string;
|
|
608
861
|
name: string;
|
|
609
|
-
|
|
610
|
-
|
|
862
|
+
key?: string | undefined;
|
|
863
|
+
uuid?: string | undefined;
|
|
864
|
+
description?: string | undefined;
|
|
865
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
866
|
+
errors?: any[] | undefined;
|
|
867
|
+
revision?: string | undefined;
|
|
868
|
+
isDeactivated?: boolean | undefined;
|
|
611
869
|
createdAt?: string | undefined;
|
|
612
870
|
updatedAt?: string | undefined;
|
|
613
871
|
archivedAt?: string | undefined;
|
|
872
|
+
integrationId?: string | undefined;
|
|
614
873
|
parentId?: string | undefined;
|
|
615
874
|
parentRevision?: string | undefined;
|
|
616
875
|
isCustomized?: boolean | undefined;
|
|
@@ -625,42 +884,64 @@ export declare const Action: z.ZodObject<{
|
|
|
625
884
|
};
|
|
626
885
|
}[] | undefined;
|
|
627
886
|
}, {
|
|
628
|
-
key: string;
|
|
629
887
|
type: ActionType;
|
|
630
888
|
id: string;
|
|
631
889
|
name: string;
|
|
632
|
-
|
|
890
|
+
key?: string | undefined;
|
|
633
891
|
integration?: {
|
|
634
|
-
key: string;
|
|
635
892
|
id: string;
|
|
636
893
|
name: string;
|
|
637
894
|
baseUri: string;
|
|
638
895
|
logoUri: string;
|
|
896
|
+
key?: string | undefined;
|
|
897
|
+
uuid?: string | undefined;
|
|
898
|
+
description?: string | undefined;
|
|
639
899
|
state?: import("..").WorkspaceElementState | undefined;
|
|
640
900
|
errors?: any[] | undefined;
|
|
901
|
+
revision?: string | undefined;
|
|
902
|
+
isDeactivated?: boolean | undefined;
|
|
903
|
+
createdAt?: string | undefined;
|
|
904
|
+
updatedAt?: string | undefined;
|
|
905
|
+
archivedAt?: string | undefined;
|
|
641
906
|
parameters?: any;
|
|
642
907
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
643
|
-
archivedAt?: string | undefined;
|
|
644
908
|
isTest?: boolean | undefined;
|
|
645
909
|
connectorId?: string | undefined;
|
|
646
910
|
connectorVersion?: string | undefined;
|
|
647
|
-
authOptions?:
|
|
911
|
+
authOptions?: {
|
|
912
|
+
key: string;
|
|
913
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
914
|
+
description?: string | undefined;
|
|
915
|
+
title?: string | undefined;
|
|
916
|
+
ui?: {
|
|
917
|
+
schema?: any;
|
|
918
|
+
helpUri?: string | undefined;
|
|
919
|
+
} | undefined;
|
|
920
|
+
}[] | undefined;
|
|
648
921
|
oAuthCallbackUri?: string | undefined;
|
|
649
922
|
hasMissingParameters?: boolean | undefined;
|
|
650
923
|
hasDocumentation?: boolean | undefined;
|
|
651
924
|
hasOperations?: boolean | undefined;
|
|
925
|
+
operationsCount?: number | undefined;
|
|
652
926
|
hasData?: boolean | undefined;
|
|
927
|
+
dataCollectionsCount?: number | undefined;
|
|
653
928
|
hasEvents?: boolean | undefined;
|
|
929
|
+
eventsCount?: number | undefined;
|
|
654
930
|
hasGlobalWebhooks?: boolean | undefined;
|
|
655
931
|
hasUdm?: boolean | undefined;
|
|
656
932
|
appUuid?: string | undefined;
|
|
657
|
-
isDeactivated?: boolean | undefined;
|
|
658
933
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
659
934
|
} | undefined;
|
|
660
|
-
|
|
935
|
+
uuid?: string | undefined;
|
|
936
|
+
description?: string | undefined;
|
|
937
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
938
|
+
errors?: any[] | undefined;
|
|
939
|
+
revision?: string | undefined;
|
|
940
|
+
isDeactivated?: boolean | undefined;
|
|
661
941
|
createdAt?: string | undefined;
|
|
662
942
|
updatedAt?: string | undefined;
|
|
663
943
|
archivedAt?: string | undefined;
|
|
944
|
+
integrationId?: string | undefined;
|
|
664
945
|
parentId?: string | undefined;
|
|
665
946
|
parentRevision?: string | undefined;
|
|
666
947
|
isCustomized?: boolean | undefined;
|
|
@@ -674,42 +955,64 @@ export declare const Action: z.ZodObject<{
|
|
|
674
955
|
dependencies?: any[] | undefined;
|
|
675
956
|
appliedToIntegrations?: {
|
|
676
957
|
integration: {
|
|
677
|
-
key: string;
|
|
678
958
|
id: string;
|
|
679
959
|
name: string;
|
|
680
960
|
baseUri: string;
|
|
681
961
|
logoUri: string;
|
|
962
|
+
key?: string | undefined;
|
|
963
|
+
uuid?: string | undefined;
|
|
964
|
+
description?: string | undefined;
|
|
682
965
|
state?: import("..").WorkspaceElementState | undefined;
|
|
683
966
|
errors?: any[] | undefined;
|
|
967
|
+
revision?: string | undefined;
|
|
968
|
+
isDeactivated?: boolean | undefined;
|
|
969
|
+
createdAt?: string | undefined;
|
|
970
|
+
updatedAt?: string | undefined;
|
|
971
|
+
archivedAt?: string | undefined;
|
|
684
972
|
parameters?: any;
|
|
685
973
|
parametersSchema?: import("../..").DataSchema | undefined;
|
|
686
|
-
archivedAt?: string | undefined;
|
|
687
974
|
isTest?: boolean | undefined;
|
|
688
975
|
connectorId?: string | undefined;
|
|
689
976
|
connectorVersion?: string | undefined;
|
|
690
|
-
authOptions?:
|
|
977
|
+
authOptions?: {
|
|
978
|
+
key: string;
|
|
979
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
980
|
+
description?: string | undefined;
|
|
981
|
+
title?: string | undefined;
|
|
982
|
+
ui?: {
|
|
983
|
+
schema?: any;
|
|
984
|
+
helpUri?: string | undefined;
|
|
985
|
+
} | undefined;
|
|
986
|
+
}[] | undefined;
|
|
691
987
|
oAuthCallbackUri?: string | undefined;
|
|
692
988
|
hasMissingParameters?: boolean | undefined;
|
|
693
989
|
hasDocumentation?: boolean | undefined;
|
|
694
990
|
hasOperations?: boolean | undefined;
|
|
991
|
+
operationsCount?: number | undefined;
|
|
695
992
|
hasData?: boolean | undefined;
|
|
993
|
+
dataCollectionsCount?: number | undefined;
|
|
696
994
|
hasEvents?: boolean | undefined;
|
|
995
|
+
eventsCount?: number | undefined;
|
|
697
996
|
hasGlobalWebhooks?: boolean | undefined;
|
|
698
997
|
hasUdm?: boolean | undefined;
|
|
699
998
|
appUuid?: string | undefined;
|
|
700
|
-
isDeactivated?: boolean | undefined;
|
|
701
999
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
702
1000
|
};
|
|
703
1001
|
element: {
|
|
704
|
-
key: string;
|
|
705
1002
|
type: ActionType;
|
|
706
1003
|
id: string;
|
|
707
1004
|
name: string;
|
|
708
|
-
|
|
709
|
-
|
|
1005
|
+
key?: string | undefined;
|
|
1006
|
+
uuid?: string | undefined;
|
|
1007
|
+
description?: string | undefined;
|
|
1008
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
1009
|
+
errors?: any[] | undefined;
|
|
1010
|
+
revision?: string | undefined;
|
|
1011
|
+
isDeactivated?: boolean | undefined;
|
|
710
1012
|
createdAt?: string | undefined;
|
|
711
1013
|
updatedAt?: string | undefined;
|
|
712
1014
|
archivedAt?: string | undefined;
|
|
1015
|
+
integrationId?: string | undefined;
|
|
713
1016
|
parentId?: string | undefined;
|
|
714
1017
|
parentRevision?: string | undefined;
|
|
715
1018
|
isCustomized?: boolean | undefined;
|
|
@@ -724,5 +1027,5 @@ export declare const Action: z.ZodObject<{
|
|
|
724
1027
|
};
|
|
725
1028
|
}[] | undefined;
|
|
726
1029
|
}>;
|
|
727
|
-
export type
|
|
728
|
-
export type
|
|
1030
|
+
export type ActionApiResponse = z.infer<typeof ActionApiResponse>;
|
|
1031
|
+
export type Action = ActionApiResponse;
|