@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,216 +1,38 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { OpenConfigurationOptions } from '../../iframe';
|
|
5
|
-
import { ActionType } from '../base/actions/action-types';
|
|
6
|
-
export declare const ListActionsForIntegrationQuery: z.ZodObject<{
|
|
7
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
8
|
-
} & {
|
|
9
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
limit?: number | undefined;
|
|
13
|
-
cursor?: string | undefined;
|
|
14
|
-
parentId?: string | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
limit?: number | undefined;
|
|
17
|
-
cursor?: string | undefined;
|
|
18
|
-
parentId?: string | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
export type ListActionsForIntegrationQuery = z.infer<typeof ListActionsForIntegrationQuery>;
|
|
21
|
-
export declare const FindActionsQuery: z.ZodObject<{
|
|
22
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
23
|
-
} & {
|
|
24
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
25
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
26
|
-
} & {
|
|
27
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
cursor?: string | undefined;
|
|
31
|
-
integrationId?: string | undefined;
|
|
32
|
-
parentId?: string | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
limit?: number | undefined;
|
|
35
|
-
cursor?: string | undefined;
|
|
36
|
-
integrationId?: string | undefined;
|
|
37
|
-
parentId?: string | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
40
|
-
export declare const CreateActionRequest: z.ZodObject<{
|
|
41
|
-
key: z.ZodString;
|
|
42
|
-
name: z.ZodString;
|
|
43
|
-
type: z.ZodOptional<z.ZodNativeEnum<typeof ActionType>>;
|
|
44
|
-
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
45
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
46
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
key: string;
|
|
49
|
-
name: string;
|
|
50
|
-
type?: ActionType | undefined;
|
|
51
|
-
integrationId?: string | undefined;
|
|
52
|
-
inputSchema?: any;
|
|
53
|
-
config?: any;
|
|
54
|
-
}, {
|
|
55
|
-
key: string;
|
|
56
|
-
name: string;
|
|
57
|
-
type?: ActionType | undefined;
|
|
58
|
-
integrationId?: string | undefined;
|
|
59
|
-
inputSchema?: any;
|
|
60
|
-
config?: any;
|
|
61
|
-
}>;
|
|
62
|
-
export type CreateActionRequest = z.infer<typeof CreateActionRequest>;
|
|
63
|
-
export declare const UpdateActionRequest: z.ZodObject<{
|
|
64
|
-
key: z.ZodOptional<z.ZodString>;
|
|
65
|
-
type: z.ZodOptional<z.ZodNativeEnum<typeof ActionType>>;
|
|
66
|
-
name: z.ZodOptional<z.ZodString>;
|
|
67
|
-
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
68
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
69
|
-
customOutputSchema: z.ZodOptional<z.ZodAny>;
|
|
70
|
-
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
key?: string | undefined;
|
|
73
|
-
type?: ActionType | undefined;
|
|
74
|
-
name?: string | undefined;
|
|
75
|
-
inputSchema?: any;
|
|
76
|
-
config?: any;
|
|
77
|
-
outputMapping?: any;
|
|
78
|
-
customOutputSchema?: any;
|
|
79
|
-
}, {
|
|
80
|
-
key?: string | undefined;
|
|
81
|
-
type?: ActionType | undefined;
|
|
82
|
-
name?: string | undefined;
|
|
83
|
-
inputSchema?: any;
|
|
84
|
-
config?: any;
|
|
85
|
-
outputMapping?: any;
|
|
86
|
-
customOutputSchema?: any;
|
|
87
|
-
}>;
|
|
88
|
-
export type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
|
|
89
|
-
export interface ActionSelector extends IntegrationSpecificElementSelector {
|
|
90
|
-
}
|
|
91
|
-
export interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
92
|
-
}
|
|
93
|
-
export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
94
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
95
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
96
|
-
} & {
|
|
97
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
limit?: number | undefined;
|
|
101
|
-
cursor?: string | undefined;
|
|
102
|
-
parentId?: string | undefined;
|
|
103
|
-
universalParentId?: string | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
limit?: number | undefined;
|
|
106
|
-
cursor?: string | undefined;
|
|
107
|
-
parentId?: string | undefined;
|
|
108
|
-
universalParentId?: string | undefined;
|
|
109
|
-
}>;
|
|
110
|
-
export type ListActionInstancesForConnectionQuery = z.infer<typeof ListActionInstancesForConnectionQuery>;
|
|
111
|
-
export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
112
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
113
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
114
|
-
} & {
|
|
115
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
117
|
-
} & {
|
|
118
|
-
integrationKey: z.ZodOptional<z.ZodString>;
|
|
119
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
120
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
121
|
-
connectionId: z.ZodOptional<z.ZodString>;
|
|
122
|
-
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
limit?: number | undefined;
|
|
124
|
-
cursor?: string | undefined;
|
|
125
|
-
userId?: string | undefined;
|
|
126
|
-
connectionId?: string | undefined;
|
|
127
|
-
integrationId?: string | undefined;
|
|
128
|
-
integrationKey?: string | undefined;
|
|
129
|
-
parentId?: string | undefined;
|
|
130
|
-
universalParentId?: string | undefined;
|
|
131
|
-
}, {
|
|
132
|
-
limit?: number | undefined;
|
|
133
|
-
cursor?: string | undefined;
|
|
134
|
-
userId?: string | undefined;
|
|
135
|
-
connectionId?: string | undefined;
|
|
136
|
-
integrationId?: string | undefined;
|
|
137
|
-
integrationKey?: string | undefined;
|
|
138
|
-
parentId?: string | undefined;
|
|
139
|
-
universalParentId?: string | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
export type FindActionInstancesQuery = z.infer<typeof FindActionInstancesQuery>;
|
|
142
|
-
export declare const CreateActionInstanceRequest: z.ZodObject<{
|
|
143
|
-
parentId: z.ZodString;
|
|
144
|
-
connectionId: z.ZodString;
|
|
145
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
connectionId: string;
|
|
148
|
-
parentId: string;
|
|
149
|
-
config?: any;
|
|
150
|
-
}, {
|
|
151
|
-
connectionId: string;
|
|
152
|
-
parentId: string;
|
|
153
|
-
config?: any;
|
|
154
|
-
}>;
|
|
155
|
-
export type CreateActionInstanceRequest = z.infer<typeof CreateActionInstanceRequest>;
|
|
156
|
-
export declare const UpdateActionInstanceRequest: z.ZodObject<{
|
|
157
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
config?: any;
|
|
160
|
-
}, {
|
|
161
|
-
config?: any;
|
|
162
|
-
}>;
|
|
163
|
-
export type UpdateActionInstanceRequest = z.infer<typeof UpdateActionInstanceRequest>;
|
|
164
|
-
export interface OpenActionConfigurationOptions extends OpenConfigurationOptions {
|
|
165
|
-
}
|
|
166
|
-
export declare const ActionRunResponse: z.ZodObject<{
|
|
167
|
-
output: z.ZodOptional<z.ZodAny>;
|
|
168
|
-
logs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
169
|
-
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
logs?: any[] | undefined;
|
|
171
|
-
output?: any;
|
|
172
|
-
}, {
|
|
173
|
-
logs?: any[] | undefined;
|
|
174
|
-
output?: any;
|
|
175
|
-
}>;
|
|
176
|
-
export type ActionRunResponse = z.infer<typeof ActionRunResponse>;
|
|
2
|
+
import { IntegrationSpecificElementSelector } from '../../accessors';
|
|
3
|
+
import { DataSchema } from '../../data-schema';
|
|
177
4
|
export declare const ActionApiResponse: z.ZodObject<{
|
|
178
5
|
id: z.ZodString;
|
|
179
|
-
name: z.ZodString;
|
|
180
|
-
} & {
|
|
181
|
-
key: z.ZodOptional<z.ZodString>;
|
|
182
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
183
|
-
description: z.ZodOptional<z.ZodString>;
|
|
184
6
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
185
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
7
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
186
8
|
revision: z.ZodOptional<z.ZodString>;
|
|
187
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
188
9
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
189
10
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
190
11
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
191
|
-
|
|
12
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
14
|
+
description: z.ZodOptional<z.ZodString>;
|
|
192
15
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
193
16
|
parentId: z.ZodOptional<z.ZodString>;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
type: z.ZodNativeEnum<typeof ActionType>;
|
|
197
|
-
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
17
|
+
inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
18
|
+
type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
|
|
198
19
|
config: z.ZodOptional<z.ZodAny>;
|
|
199
20
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
200
|
-
customOutputSchema: z.ZodOptional<z.ZodType<
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
21
|
+
customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
22
|
+
} & {
|
|
23
|
+
key: z.ZodString;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
parentRevision: z.ZodOptional<z.ZodString>;
|
|
205
27
|
} & {
|
|
206
28
|
integration: z.ZodOptional<z.ZodObject<{
|
|
207
29
|
id: z.ZodString;
|
|
208
|
-
name: z.ZodString;
|
|
209
30
|
key: z.ZodOptional<z.ZodString>;
|
|
210
31
|
uuid: z.ZodOptional<z.ZodString>;
|
|
211
32
|
description: z.ZodOptional<z.ZodString>;
|
|
33
|
+
name: z.ZodString;
|
|
212
34
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
213
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
35
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
214
36
|
revision: z.ZodOptional<z.ZodString>;
|
|
215
37
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
216
38
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -218,44 +40,8 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
218
40
|
logoUri: z.ZodString;
|
|
219
41
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
220
42
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
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">>;
|
|
255
43
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
256
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
257
44
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
258
|
-
baseUri: z.ZodString;
|
|
259
45
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
260
46
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
261
47
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -274,33 +60,20 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
274
60
|
}, "strip", z.ZodTypeAny, {
|
|
275
61
|
id: string;
|
|
276
62
|
name: string;
|
|
277
|
-
baseUri: string;
|
|
278
63
|
logoUri: string;
|
|
279
64
|
key?: string | undefined;
|
|
280
65
|
uuid?: string | undefined;
|
|
281
66
|
description?: string | undefined;
|
|
282
67
|
state?: import("..").WorkspaceElementState | undefined;
|
|
283
|
-
errors?:
|
|
68
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
284
69
|
revision?: string | undefined;
|
|
285
|
-
isDeactivated?: boolean | undefined;
|
|
286
70
|
createdAt?: string | undefined;
|
|
287
71
|
updatedAt?: string | undefined;
|
|
288
72
|
archivedAt?: string | undefined;
|
|
73
|
+
isDeactivated?: boolean | undefined;
|
|
289
74
|
parameters?: any;
|
|
290
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
291
|
-
isTest?: boolean | undefined;
|
|
292
75
|
connectorId?: string | undefined;
|
|
293
76
|
connectorVersion?: string | undefined;
|
|
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;
|
|
304
77
|
oAuthCallbackUri?: string | undefined;
|
|
305
78
|
hasMissingParameters?: boolean | undefined;
|
|
306
79
|
hasDocumentation?: boolean | undefined;
|
|
@@ -312,38 +85,26 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
312
85
|
eventsCount?: number | undefined;
|
|
313
86
|
hasGlobalWebhooks?: boolean | undefined;
|
|
314
87
|
hasUdm?: boolean | undefined;
|
|
88
|
+
isTest?: boolean | undefined;
|
|
315
89
|
appUuid?: string | undefined;
|
|
316
90
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
317
91
|
}, {
|
|
318
92
|
id: string;
|
|
319
93
|
name: string;
|
|
320
|
-
baseUri: string;
|
|
321
94
|
logoUri: string;
|
|
322
95
|
key?: string | undefined;
|
|
323
96
|
uuid?: string | undefined;
|
|
324
97
|
description?: string | undefined;
|
|
325
98
|
state?: import("..").WorkspaceElementState | undefined;
|
|
326
|
-
errors?:
|
|
99
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
327
100
|
revision?: string | undefined;
|
|
328
|
-
isDeactivated?: boolean | undefined;
|
|
329
101
|
createdAt?: string | undefined;
|
|
330
102
|
updatedAt?: string | undefined;
|
|
331
103
|
archivedAt?: string | undefined;
|
|
104
|
+
isDeactivated?: boolean | undefined;
|
|
332
105
|
parameters?: any;
|
|
333
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
334
|
-
isTest?: boolean | undefined;
|
|
335
106
|
connectorId?: string | undefined;
|
|
336
107
|
connectorVersion?: string | undefined;
|
|
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;
|
|
347
108
|
oAuthCallbackUri?: string | undefined;
|
|
348
109
|
hasMissingParameters?: boolean | undefined;
|
|
349
110
|
hasDocumentation?: boolean | undefined;
|
|
@@ -355,99 +116,87 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
355
116
|
eventsCount?: number | undefined;
|
|
356
117
|
hasGlobalWebhooks?: boolean | undefined;
|
|
357
118
|
hasUdm?: boolean | undefined;
|
|
119
|
+
isTest?: boolean | undefined;
|
|
358
120
|
appUuid?: string | undefined;
|
|
359
121
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
360
122
|
}>>;
|
|
361
123
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
124
|
element: z.ZodObject<{
|
|
363
125
|
id: z.ZodString;
|
|
364
|
-
name: z.ZodString;
|
|
365
|
-
} & {
|
|
366
|
-
key: z.ZodOptional<z.ZodString>;
|
|
367
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
368
|
-
description: z.ZodOptional<z.ZodString>;
|
|
369
126
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
370
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
127
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
371
128
|
revision: z.ZodOptional<z.ZodString>;
|
|
372
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
373
129
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
374
130
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
375
131
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
376
|
-
|
|
132
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
134
|
+
description: z.ZodOptional<z.ZodString>;
|
|
377
135
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
378
136
|
parentId: z.ZodOptional<z.ZodString>;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
type: z.ZodNativeEnum<typeof ActionType>;
|
|
382
|
-
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
137
|
+
inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
138
|
+
type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
|
|
383
139
|
config: z.ZodOptional<z.ZodAny>;
|
|
384
140
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
385
|
-
customOutputSchema: z.ZodOptional<z.ZodType<
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
141
|
+
customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
142
|
+
} & {
|
|
143
|
+
key: z.ZodString;
|
|
144
|
+
name: z.ZodString;
|
|
145
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
parentRevision: z.ZodOptional<z.ZodString>;
|
|
390
147
|
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
|
|
148
|
+
key: string;
|
|
392
149
|
id: string;
|
|
393
150
|
name: string;
|
|
394
|
-
|
|
151
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
395
152
|
uuid?: string | undefined;
|
|
396
153
|
description?: string | undefined;
|
|
397
154
|
state?: import("..").WorkspaceElementState | undefined;
|
|
398
|
-
errors?:
|
|
155
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
399
156
|
revision?: string | undefined;
|
|
400
|
-
isDeactivated?: boolean | undefined;
|
|
401
157
|
createdAt?: string | undefined;
|
|
402
158
|
updatedAt?: string | undefined;
|
|
403
159
|
archivedAt?: string | undefined;
|
|
160
|
+
isDeactivated?: boolean | undefined;
|
|
404
161
|
integrationId?: string | undefined;
|
|
405
162
|
parentId?: string | undefined;
|
|
406
|
-
|
|
407
|
-
isCustomized?: boolean | undefined;
|
|
408
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
163
|
+
inputSchema?: DataSchema | undefined;
|
|
409
164
|
config?: any;
|
|
410
165
|
outputMapping?: any;
|
|
411
|
-
customOutputSchema?:
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
415
|
-
dependencies?: any[] | undefined;
|
|
166
|
+
customOutputSchema?: DataSchema | undefined;
|
|
167
|
+
isCustomized?: boolean | undefined;
|
|
168
|
+
parentRevision?: string | undefined;
|
|
416
169
|
}, {
|
|
417
|
-
|
|
170
|
+
key: string;
|
|
418
171
|
id: string;
|
|
419
172
|
name: string;
|
|
420
|
-
|
|
173
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
421
174
|
uuid?: string | undefined;
|
|
422
175
|
description?: string | undefined;
|
|
423
176
|
state?: import("..").WorkspaceElementState | undefined;
|
|
424
|
-
errors?:
|
|
177
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
425
178
|
revision?: string | undefined;
|
|
426
|
-
isDeactivated?: boolean | undefined;
|
|
427
179
|
createdAt?: string | undefined;
|
|
428
180
|
updatedAt?: string | undefined;
|
|
429
181
|
archivedAt?: string | undefined;
|
|
182
|
+
isDeactivated?: boolean | undefined;
|
|
430
183
|
integrationId?: string | undefined;
|
|
431
184
|
parentId?: string | undefined;
|
|
432
|
-
|
|
433
|
-
isCustomized?: boolean | undefined;
|
|
434
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
185
|
+
inputSchema?: DataSchema | undefined;
|
|
435
186
|
config?: any;
|
|
436
187
|
outputMapping?: any;
|
|
437
|
-
customOutputSchema?:
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
441
|
-
dependencies?: any[] | undefined;
|
|
188
|
+
customOutputSchema?: DataSchema | undefined;
|
|
189
|
+
isCustomized?: boolean | undefined;
|
|
190
|
+
parentRevision?: string | undefined;
|
|
442
191
|
}>;
|
|
443
192
|
integration: z.ZodObject<{
|
|
444
193
|
id: z.ZodString;
|
|
445
|
-
name: z.ZodString;
|
|
446
194
|
key: z.ZodOptional<z.ZodString>;
|
|
447
195
|
uuid: z.ZodOptional<z.ZodString>;
|
|
448
196
|
description: z.ZodOptional<z.ZodString>;
|
|
197
|
+
name: z.ZodString;
|
|
449
198
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
450
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
199
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
451
200
|
revision: z.ZodOptional<z.ZodString>;
|
|
452
201
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
453
202
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -455,44 +204,8 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
455
204
|
logoUri: z.ZodString;
|
|
456
205
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
457
206
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
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">>;
|
|
492
207
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
493
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
494
208
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
495
|
-
baseUri: z.ZodString;
|
|
496
209
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
497
210
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
498
211
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -511,33 +224,20 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
511
224
|
}, "strip", z.ZodTypeAny, {
|
|
512
225
|
id: string;
|
|
513
226
|
name: string;
|
|
514
|
-
baseUri: string;
|
|
515
227
|
logoUri: string;
|
|
516
228
|
key?: string | undefined;
|
|
517
229
|
uuid?: string | undefined;
|
|
518
230
|
description?: string | undefined;
|
|
519
231
|
state?: import("..").WorkspaceElementState | undefined;
|
|
520
|
-
errors?:
|
|
232
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
521
233
|
revision?: string | undefined;
|
|
522
|
-
isDeactivated?: boolean | undefined;
|
|
523
234
|
createdAt?: string | undefined;
|
|
524
235
|
updatedAt?: string | undefined;
|
|
525
236
|
archivedAt?: string | undefined;
|
|
237
|
+
isDeactivated?: boolean | undefined;
|
|
526
238
|
parameters?: any;
|
|
527
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
528
|
-
isTest?: boolean | undefined;
|
|
529
239
|
connectorId?: string | undefined;
|
|
530
240
|
connectorVersion?: string | undefined;
|
|
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;
|
|
541
241
|
oAuthCallbackUri?: string | undefined;
|
|
542
242
|
hasMissingParameters?: boolean | undefined;
|
|
543
243
|
hasDocumentation?: boolean | undefined;
|
|
@@ -549,38 +249,26 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
549
249
|
eventsCount?: number | undefined;
|
|
550
250
|
hasGlobalWebhooks?: boolean | undefined;
|
|
551
251
|
hasUdm?: boolean | undefined;
|
|
252
|
+
isTest?: boolean | undefined;
|
|
552
253
|
appUuid?: string | undefined;
|
|
553
254
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
554
255
|
}, {
|
|
555
256
|
id: string;
|
|
556
257
|
name: string;
|
|
557
|
-
baseUri: string;
|
|
558
258
|
logoUri: string;
|
|
559
259
|
key?: string | undefined;
|
|
560
260
|
uuid?: string | undefined;
|
|
561
261
|
description?: string | undefined;
|
|
562
262
|
state?: import("..").WorkspaceElementState | undefined;
|
|
563
|
-
errors?:
|
|
263
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
564
264
|
revision?: string | undefined;
|
|
565
|
-
isDeactivated?: boolean | undefined;
|
|
566
265
|
createdAt?: string | undefined;
|
|
567
266
|
updatedAt?: string | undefined;
|
|
568
267
|
archivedAt?: string | undefined;
|
|
268
|
+
isDeactivated?: boolean | undefined;
|
|
569
269
|
parameters?: any;
|
|
570
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
571
|
-
isTest?: boolean | undefined;
|
|
572
270
|
connectorId?: string | undefined;
|
|
573
271
|
connectorVersion?: string | undefined;
|
|
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;
|
|
584
272
|
oAuthCallbackUri?: string | undefined;
|
|
585
273
|
hasMissingParameters?: boolean | undefined;
|
|
586
274
|
hasDocumentation?: boolean | undefined;
|
|
@@ -592,6 +280,7 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
592
280
|
eventsCount?: number | undefined;
|
|
593
281
|
hasGlobalWebhooks?: boolean | undefined;
|
|
594
282
|
hasUdm?: boolean | undefined;
|
|
283
|
+
isTest?: boolean | undefined;
|
|
595
284
|
appUuid?: string | undefined;
|
|
596
285
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
597
286
|
}>;
|
|
@@ -599,33 +288,20 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
599
288
|
integration: {
|
|
600
289
|
id: string;
|
|
601
290
|
name: string;
|
|
602
|
-
baseUri: string;
|
|
603
291
|
logoUri: string;
|
|
604
292
|
key?: string | undefined;
|
|
605
293
|
uuid?: string | undefined;
|
|
606
294
|
description?: string | undefined;
|
|
607
295
|
state?: import("..").WorkspaceElementState | undefined;
|
|
608
|
-
errors?:
|
|
296
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
609
297
|
revision?: string | undefined;
|
|
610
|
-
isDeactivated?: boolean | undefined;
|
|
611
298
|
createdAt?: string | undefined;
|
|
612
299
|
updatedAt?: string | undefined;
|
|
613
300
|
archivedAt?: string | undefined;
|
|
301
|
+
isDeactivated?: boolean | undefined;
|
|
614
302
|
parameters?: any;
|
|
615
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
616
|
-
isTest?: boolean | undefined;
|
|
617
303
|
connectorId?: string | undefined;
|
|
618
304
|
connectorVersion?: string | undefined;
|
|
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;
|
|
629
305
|
oAuthCallbackUri?: string | undefined;
|
|
630
306
|
hasMissingParameters?: boolean | undefined;
|
|
631
307
|
hasDocumentation?: boolean | undefined;
|
|
@@ -637,67 +313,51 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
637
313
|
eventsCount?: number | undefined;
|
|
638
314
|
hasGlobalWebhooks?: boolean | undefined;
|
|
639
315
|
hasUdm?: boolean | undefined;
|
|
316
|
+
isTest?: boolean | undefined;
|
|
640
317
|
appUuid?: string | undefined;
|
|
641
318
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
642
319
|
};
|
|
643
320
|
element: {
|
|
644
|
-
|
|
321
|
+
key: string;
|
|
645
322
|
id: string;
|
|
646
323
|
name: string;
|
|
647
|
-
|
|
324
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
648
325
|
uuid?: string | undefined;
|
|
649
326
|
description?: string | undefined;
|
|
650
327
|
state?: import("..").WorkspaceElementState | undefined;
|
|
651
|
-
errors?:
|
|
328
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
652
329
|
revision?: string | undefined;
|
|
653
|
-
isDeactivated?: boolean | undefined;
|
|
654
330
|
createdAt?: string | undefined;
|
|
655
331
|
updatedAt?: string | undefined;
|
|
656
332
|
archivedAt?: string | undefined;
|
|
333
|
+
isDeactivated?: boolean | undefined;
|
|
657
334
|
integrationId?: string | undefined;
|
|
658
335
|
parentId?: string | undefined;
|
|
659
|
-
|
|
660
|
-
isCustomized?: boolean | undefined;
|
|
661
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
336
|
+
inputSchema?: DataSchema | undefined;
|
|
662
337
|
config?: any;
|
|
663
338
|
outputMapping?: any;
|
|
664
|
-
customOutputSchema?:
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
668
|
-
dependencies?: any[] | undefined;
|
|
339
|
+
customOutputSchema?: DataSchema | undefined;
|
|
340
|
+
isCustomized?: boolean | undefined;
|
|
341
|
+
parentRevision?: string | undefined;
|
|
669
342
|
};
|
|
670
343
|
}, {
|
|
671
344
|
integration: {
|
|
672
345
|
id: string;
|
|
673
346
|
name: string;
|
|
674
|
-
baseUri: string;
|
|
675
347
|
logoUri: string;
|
|
676
348
|
key?: string | undefined;
|
|
677
349
|
uuid?: string | undefined;
|
|
678
350
|
description?: string | undefined;
|
|
679
351
|
state?: import("..").WorkspaceElementState | undefined;
|
|
680
|
-
errors?:
|
|
352
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
681
353
|
revision?: string | undefined;
|
|
682
|
-
isDeactivated?: boolean | undefined;
|
|
683
354
|
createdAt?: string | undefined;
|
|
684
355
|
updatedAt?: string | undefined;
|
|
685
356
|
archivedAt?: string | undefined;
|
|
357
|
+
isDeactivated?: boolean | undefined;
|
|
686
358
|
parameters?: any;
|
|
687
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
688
|
-
isTest?: boolean | undefined;
|
|
689
359
|
connectorId?: string | undefined;
|
|
690
360
|
connectorVersion?: string | undefined;
|
|
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;
|
|
701
361
|
oAuthCallbackUri?: string | undefined;
|
|
702
362
|
hasMissingParameters?: boolean | undefined;
|
|
703
363
|
hasDocumentation?: boolean | undefined;
|
|
@@ -709,72 +369,60 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
709
369
|
eventsCount?: number | undefined;
|
|
710
370
|
hasGlobalWebhooks?: boolean | undefined;
|
|
711
371
|
hasUdm?: boolean | undefined;
|
|
372
|
+
isTest?: boolean | undefined;
|
|
712
373
|
appUuid?: string | undefined;
|
|
713
374
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
714
375
|
};
|
|
715
376
|
element: {
|
|
716
|
-
|
|
377
|
+
key: string;
|
|
717
378
|
id: string;
|
|
718
379
|
name: string;
|
|
719
|
-
|
|
380
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
720
381
|
uuid?: string | undefined;
|
|
721
382
|
description?: string | undefined;
|
|
722
383
|
state?: import("..").WorkspaceElementState | undefined;
|
|
723
|
-
errors?:
|
|
384
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
724
385
|
revision?: string | undefined;
|
|
725
|
-
isDeactivated?: boolean | undefined;
|
|
726
386
|
createdAt?: string | undefined;
|
|
727
387
|
updatedAt?: string | undefined;
|
|
728
388
|
archivedAt?: string | undefined;
|
|
389
|
+
isDeactivated?: boolean | undefined;
|
|
729
390
|
integrationId?: string | undefined;
|
|
730
391
|
parentId?: string | undefined;
|
|
731
|
-
|
|
732
|
-
isCustomized?: boolean | undefined;
|
|
733
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
392
|
+
inputSchema?: DataSchema | undefined;
|
|
734
393
|
config?: any;
|
|
735
394
|
outputMapping?: any;
|
|
736
|
-
customOutputSchema?:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
740
|
-
dependencies?: any[] | undefined;
|
|
395
|
+
customOutputSchema?: DataSchema | undefined;
|
|
396
|
+
isCustomized?: boolean | undefined;
|
|
397
|
+
parentRevision?: string | undefined;
|
|
741
398
|
};
|
|
742
399
|
}>, "many">>;
|
|
400
|
+
defaultOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
401
|
+
transformedOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
402
|
+
outputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
403
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
743
404
|
}, "strip", z.ZodTypeAny, {
|
|
744
|
-
|
|
405
|
+
key: string;
|
|
745
406
|
id: string;
|
|
746
407
|
name: string;
|
|
747
|
-
|
|
408
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
748
409
|
integration?: {
|
|
749
410
|
id: string;
|
|
750
411
|
name: string;
|
|
751
|
-
baseUri: string;
|
|
752
412
|
logoUri: string;
|
|
753
413
|
key?: string | undefined;
|
|
754
414
|
uuid?: string | undefined;
|
|
755
415
|
description?: string | undefined;
|
|
756
416
|
state?: import("..").WorkspaceElementState | undefined;
|
|
757
|
-
errors?:
|
|
417
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
758
418
|
revision?: string | undefined;
|
|
759
|
-
isDeactivated?: boolean | undefined;
|
|
760
419
|
createdAt?: string | undefined;
|
|
761
420
|
updatedAt?: string | undefined;
|
|
762
421
|
archivedAt?: string | undefined;
|
|
422
|
+
isDeactivated?: boolean | undefined;
|
|
763
423
|
parameters?: any;
|
|
764
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
765
|
-
isTest?: boolean | undefined;
|
|
766
424
|
connectorId?: string | undefined;
|
|
767
425
|
connectorVersion?: string | undefined;
|
|
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;
|
|
778
426
|
oAuthCallbackUri?: string | undefined;
|
|
779
427
|
hasMissingParameters?: boolean | undefined;
|
|
780
428
|
hasDocumentation?: boolean | undefined;
|
|
@@ -786,61 +434,45 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
786
434
|
eventsCount?: number | undefined;
|
|
787
435
|
hasGlobalWebhooks?: boolean | undefined;
|
|
788
436
|
hasUdm?: boolean | undefined;
|
|
437
|
+
isTest?: boolean | undefined;
|
|
789
438
|
appUuid?: string | undefined;
|
|
790
439
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
791
440
|
} | undefined;
|
|
792
441
|
uuid?: string | undefined;
|
|
793
442
|
description?: string | undefined;
|
|
794
443
|
state?: import("..").WorkspaceElementState | undefined;
|
|
795
|
-
errors?:
|
|
444
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
796
445
|
revision?: string | undefined;
|
|
797
|
-
isDeactivated?: boolean | undefined;
|
|
798
446
|
createdAt?: string | undefined;
|
|
799
447
|
updatedAt?: string | undefined;
|
|
800
448
|
archivedAt?: string | undefined;
|
|
449
|
+
isDeactivated?: boolean | undefined;
|
|
801
450
|
integrationId?: string | undefined;
|
|
802
451
|
parentId?: string | undefined;
|
|
803
|
-
|
|
804
|
-
isCustomized?: boolean | undefined;
|
|
805
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
452
|
+
inputSchema?: DataSchema | undefined;
|
|
806
453
|
config?: any;
|
|
807
454
|
outputMapping?: any;
|
|
808
|
-
customOutputSchema?:
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
812
|
-
dependencies?: any[] | undefined;
|
|
455
|
+
customOutputSchema?: DataSchema | undefined;
|
|
456
|
+
isCustomized?: boolean | undefined;
|
|
457
|
+
parentRevision?: string | undefined;
|
|
813
458
|
appliedToIntegrations?: {
|
|
814
459
|
integration: {
|
|
815
460
|
id: string;
|
|
816
461
|
name: string;
|
|
817
|
-
baseUri: string;
|
|
818
462
|
logoUri: string;
|
|
819
463
|
key?: string | undefined;
|
|
820
464
|
uuid?: string | undefined;
|
|
821
465
|
description?: string | undefined;
|
|
822
466
|
state?: import("..").WorkspaceElementState | undefined;
|
|
823
|
-
errors?:
|
|
467
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
824
468
|
revision?: string | undefined;
|
|
825
|
-
isDeactivated?: boolean | undefined;
|
|
826
469
|
createdAt?: string | undefined;
|
|
827
470
|
updatedAt?: string | undefined;
|
|
828
471
|
archivedAt?: string | undefined;
|
|
472
|
+
isDeactivated?: boolean | undefined;
|
|
829
473
|
parameters?: any;
|
|
830
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
831
|
-
isTest?: boolean | undefined;
|
|
832
474
|
connectorId?: string | undefined;
|
|
833
475
|
connectorVersion?: string | undefined;
|
|
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;
|
|
844
476
|
oAuthCallbackUri?: string | undefined;
|
|
845
477
|
hasMissingParameters?: boolean | undefined;
|
|
846
478
|
hasDocumentation?: boolean | undefined;
|
|
@@ -852,72 +484,60 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
852
484
|
eventsCount?: number | undefined;
|
|
853
485
|
hasGlobalWebhooks?: boolean | undefined;
|
|
854
486
|
hasUdm?: boolean | undefined;
|
|
487
|
+
isTest?: boolean | undefined;
|
|
855
488
|
appUuid?: string | undefined;
|
|
856
489
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
857
490
|
};
|
|
858
491
|
element: {
|
|
859
|
-
|
|
492
|
+
key: string;
|
|
860
493
|
id: string;
|
|
861
494
|
name: string;
|
|
862
|
-
|
|
495
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
863
496
|
uuid?: string | undefined;
|
|
864
497
|
description?: string | undefined;
|
|
865
498
|
state?: import("..").WorkspaceElementState | undefined;
|
|
866
|
-
errors?:
|
|
499
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
867
500
|
revision?: string | undefined;
|
|
868
|
-
isDeactivated?: boolean | undefined;
|
|
869
501
|
createdAt?: string | undefined;
|
|
870
502
|
updatedAt?: string | undefined;
|
|
871
503
|
archivedAt?: string | undefined;
|
|
504
|
+
isDeactivated?: boolean | undefined;
|
|
872
505
|
integrationId?: string | undefined;
|
|
873
506
|
parentId?: string | undefined;
|
|
874
|
-
|
|
875
|
-
isCustomized?: boolean | undefined;
|
|
876
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
507
|
+
inputSchema?: DataSchema | undefined;
|
|
877
508
|
config?: any;
|
|
878
509
|
outputMapping?: any;
|
|
879
|
-
customOutputSchema?:
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
883
|
-
dependencies?: any[] | undefined;
|
|
510
|
+
customOutputSchema?: DataSchema | undefined;
|
|
511
|
+
isCustomized?: boolean | undefined;
|
|
512
|
+
parentRevision?: string | undefined;
|
|
884
513
|
};
|
|
885
514
|
}[] | undefined;
|
|
515
|
+
defaultOutputSchema?: DataSchema | undefined;
|
|
516
|
+
transformedOutputSchema?: DataSchema | undefined;
|
|
517
|
+
outputSchema?: DataSchema | undefined;
|
|
518
|
+
dependencies?: any[] | undefined;
|
|
886
519
|
}, {
|
|
887
|
-
|
|
520
|
+
key: string;
|
|
888
521
|
id: string;
|
|
889
522
|
name: string;
|
|
890
|
-
|
|
523
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
891
524
|
integration?: {
|
|
892
525
|
id: string;
|
|
893
526
|
name: string;
|
|
894
|
-
baseUri: string;
|
|
895
527
|
logoUri: string;
|
|
896
528
|
key?: string | undefined;
|
|
897
529
|
uuid?: string | undefined;
|
|
898
530
|
description?: string | undefined;
|
|
899
531
|
state?: import("..").WorkspaceElementState | undefined;
|
|
900
|
-
errors?:
|
|
532
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
901
533
|
revision?: string | undefined;
|
|
902
|
-
isDeactivated?: boolean | undefined;
|
|
903
534
|
createdAt?: string | undefined;
|
|
904
535
|
updatedAt?: string | undefined;
|
|
905
536
|
archivedAt?: string | undefined;
|
|
537
|
+
isDeactivated?: boolean | undefined;
|
|
906
538
|
parameters?: any;
|
|
907
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
908
|
-
isTest?: boolean | undefined;
|
|
909
539
|
connectorId?: string | undefined;
|
|
910
540
|
connectorVersion?: string | undefined;
|
|
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;
|
|
921
541
|
oAuthCallbackUri?: string | undefined;
|
|
922
542
|
hasMissingParameters?: boolean | undefined;
|
|
923
543
|
hasDocumentation?: boolean | undefined;
|
|
@@ -929,61 +549,45 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
929
549
|
eventsCount?: number | undefined;
|
|
930
550
|
hasGlobalWebhooks?: boolean | undefined;
|
|
931
551
|
hasUdm?: boolean | undefined;
|
|
552
|
+
isTest?: boolean | undefined;
|
|
932
553
|
appUuid?: string | undefined;
|
|
933
554
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
934
555
|
} | undefined;
|
|
935
556
|
uuid?: string | undefined;
|
|
936
557
|
description?: string | undefined;
|
|
937
558
|
state?: import("..").WorkspaceElementState | undefined;
|
|
938
|
-
errors?:
|
|
559
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
939
560
|
revision?: string | undefined;
|
|
940
|
-
isDeactivated?: boolean | undefined;
|
|
941
561
|
createdAt?: string | undefined;
|
|
942
562
|
updatedAt?: string | undefined;
|
|
943
563
|
archivedAt?: string | undefined;
|
|
564
|
+
isDeactivated?: boolean | undefined;
|
|
944
565
|
integrationId?: string | undefined;
|
|
945
566
|
parentId?: string | undefined;
|
|
946
|
-
|
|
947
|
-
isCustomized?: boolean | undefined;
|
|
948
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
567
|
+
inputSchema?: DataSchema | undefined;
|
|
949
568
|
config?: any;
|
|
950
569
|
outputMapping?: any;
|
|
951
|
-
customOutputSchema?:
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
955
|
-
dependencies?: any[] | undefined;
|
|
570
|
+
customOutputSchema?: DataSchema | undefined;
|
|
571
|
+
isCustomized?: boolean | undefined;
|
|
572
|
+
parentRevision?: string | undefined;
|
|
956
573
|
appliedToIntegrations?: {
|
|
957
574
|
integration: {
|
|
958
575
|
id: string;
|
|
959
576
|
name: string;
|
|
960
|
-
baseUri: string;
|
|
961
577
|
logoUri: string;
|
|
962
578
|
key?: string | undefined;
|
|
963
579
|
uuid?: string | undefined;
|
|
964
580
|
description?: string | undefined;
|
|
965
581
|
state?: import("..").WorkspaceElementState | undefined;
|
|
966
|
-
errors?:
|
|
582
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
967
583
|
revision?: string | undefined;
|
|
968
|
-
isDeactivated?: boolean | undefined;
|
|
969
584
|
createdAt?: string | undefined;
|
|
970
585
|
updatedAt?: string | undefined;
|
|
971
586
|
archivedAt?: string | undefined;
|
|
587
|
+
isDeactivated?: boolean | undefined;
|
|
972
588
|
parameters?: any;
|
|
973
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
974
|
-
isTest?: boolean | undefined;
|
|
975
589
|
connectorId?: string | undefined;
|
|
976
590
|
connectorVersion?: string | undefined;
|
|
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;
|
|
987
591
|
oAuthCallbackUri?: string | undefined;
|
|
988
592
|
hasMissingParameters?: boolean | undefined;
|
|
989
593
|
hasDocumentation?: boolean | undefined;
|
|
@@ -995,37 +599,155 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
995
599
|
eventsCount?: number | undefined;
|
|
996
600
|
hasGlobalWebhooks?: boolean | undefined;
|
|
997
601
|
hasUdm?: boolean | undefined;
|
|
602
|
+
isTest?: boolean | undefined;
|
|
998
603
|
appUuid?: string | undefined;
|
|
999
604
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1000
605
|
};
|
|
1001
606
|
element: {
|
|
1002
|
-
|
|
607
|
+
key: string;
|
|
1003
608
|
id: string;
|
|
1004
609
|
name: string;
|
|
1005
|
-
|
|
610
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
1006
611
|
uuid?: string | undefined;
|
|
1007
612
|
description?: string | undefined;
|
|
1008
613
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1009
|
-
errors?:
|
|
614
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1010
615
|
revision?: string | undefined;
|
|
1011
|
-
isDeactivated?: boolean | undefined;
|
|
1012
616
|
createdAt?: string | undefined;
|
|
1013
617
|
updatedAt?: string | undefined;
|
|
1014
618
|
archivedAt?: string | undefined;
|
|
619
|
+
isDeactivated?: boolean | undefined;
|
|
1015
620
|
integrationId?: string | undefined;
|
|
1016
621
|
parentId?: string | undefined;
|
|
1017
|
-
|
|
1018
|
-
isCustomized?: boolean | undefined;
|
|
1019
|
-
inputSchema?: import("../..").DataSchema | undefined;
|
|
622
|
+
inputSchema?: DataSchema | undefined;
|
|
1020
623
|
config?: any;
|
|
1021
624
|
outputMapping?: any;
|
|
1022
|
-
customOutputSchema?:
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
outputSchema?: import("../..").DataSchema | undefined;
|
|
1026
|
-
dependencies?: any[] | undefined;
|
|
625
|
+
customOutputSchema?: DataSchema | undefined;
|
|
626
|
+
isCustomized?: boolean | undefined;
|
|
627
|
+
parentRevision?: string | undefined;
|
|
1027
628
|
};
|
|
1028
629
|
}[] | undefined;
|
|
630
|
+
defaultOutputSchema?: DataSchema | undefined;
|
|
631
|
+
transformedOutputSchema?: DataSchema | undefined;
|
|
632
|
+
outputSchema?: DataSchema | undefined;
|
|
633
|
+
dependencies?: any[] | undefined;
|
|
1029
634
|
}>;
|
|
1030
635
|
export type ActionApiResponse = z.infer<typeof ActionApiResponse>;
|
|
1031
636
|
export type Action = ActionApiResponse;
|
|
637
|
+
export declare const FindActionsQuery: z.ZodObject<{
|
|
638
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
640
|
+
} & {
|
|
641
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
642
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
643
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
644
|
+
search: z.ZodOptional<z.ZodString>;
|
|
645
|
+
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
646
|
+
}, "strip", z.ZodTypeAny, {
|
|
647
|
+
search?: string | undefined;
|
|
648
|
+
includeArchived?: boolean | undefined;
|
|
649
|
+
limit?: number | undefined;
|
|
650
|
+
cursor?: string | undefined;
|
|
651
|
+
integrationId?: string | undefined;
|
|
652
|
+
integrationKey?: string | undefined;
|
|
653
|
+
parentId?: string | undefined;
|
|
654
|
+
}, {
|
|
655
|
+
search?: string | undefined;
|
|
656
|
+
includeArchived?: unknown;
|
|
657
|
+
limit?: number | undefined;
|
|
658
|
+
cursor?: string | undefined;
|
|
659
|
+
integrationId?: string | undefined;
|
|
660
|
+
integrationKey?: string | undefined;
|
|
661
|
+
parentId?: string | undefined;
|
|
662
|
+
}>;
|
|
663
|
+
export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
664
|
+
export declare const CreateActionRequest: z.ZodObject<{
|
|
665
|
+
key: z.ZodOptional<z.ZodString>;
|
|
666
|
+
name: z.ZodOptional<z.ZodString>;
|
|
667
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
668
|
+
description: z.ZodOptional<z.ZodString>;
|
|
669
|
+
} & {
|
|
670
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
671
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
672
|
+
inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
673
|
+
type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
|
|
674
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
675
|
+
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
676
|
+
customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
key?: string | undefined;
|
|
679
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
680
|
+
name?: string | undefined;
|
|
681
|
+
uuid?: string | undefined;
|
|
682
|
+
description?: string | undefined;
|
|
683
|
+
integrationId?: string | undefined;
|
|
684
|
+
parentId?: string | undefined;
|
|
685
|
+
inputSchema?: DataSchema | undefined;
|
|
686
|
+
config?: any;
|
|
687
|
+
outputMapping?: any;
|
|
688
|
+
customOutputSchema?: DataSchema | undefined;
|
|
689
|
+
}, {
|
|
690
|
+
key?: string | undefined;
|
|
691
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
692
|
+
name?: string | undefined;
|
|
693
|
+
uuid?: string | undefined;
|
|
694
|
+
description?: string | undefined;
|
|
695
|
+
integrationId?: string | undefined;
|
|
696
|
+
parentId?: string | undefined;
|
|
697
|
+
inputSchema?: DataSchema | undefined;
|
|
698
|
+
config?: any;
|
|
699
|
+
outputMapping?: any;
|
|
700
|
+
customOutputSchema?: DataSchema | undefined;
|
|
701
|
+
}>;
|
|
702
|
+
export type CreateActionRequest = z.infer<typeof CreateActionRequest>;
|
|
703
|
+
export declare const UpdateActionRequest: z.ZodObject<{
|
|
704
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
705
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
706
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
707
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
708
|
+
integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
709
|
+
parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
710
|
+
inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
|
|
711
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>>;
|
|
712
|
+
config: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
713
|
+
outputMapping: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
714
|
+
customOutputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
key?: string | undefined;
|
|
717
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
718
|
+
name?: string | undefined;
|
|
719
|
+
uuid?: string | undefined;
|
|
720
|
+
description?: string | undefined;
|
|
721
|
+
integrationId?: string | undefined;
|
|
722
|
+
parentId?: string | undefined;
|
|
723
|
+
inputSchema?: DataSchema | undefined;
|
|
724
|
+
config?: any;
|
|
725
|
+
outputMapping?: any;
|
|
726
|
+
customOutputSchema?: DataSchema | undefined;
|
|
727
|
+
}, {
|
|
728
|
+
key?: string | undefined;
|
|
729
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
730
|
+
name?: string | undefined;
|
|
731
|
+
uuid?: string | undefined;
|
|
732
|
+
description?: string | undefined;
|
|
733
|
+
integrationId?: string | undefined;
|
|
734
|
+
parentId?: string | undefined;
|
|
735
|
+
inputSchema?: DataSchema | undefined;
|
|
736
|
+
config?: any;
|
|
737
|
+
outputMapping?: any;
|
|
738
|
+
customOutputSchema?: DataSchema | undefined;
|
|
739
|
+
}>;
|
|
740
|
+
export type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
|
|
741
|
+
export declare const ActionRunResponse: z.ZodObject<{
|
|
742
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
743
|
+
logs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
744
|
+
}, "strip", z.ZodTypeAny, {
|
|
745
|
+
logs?: any[] | undefined;
|
|
746
|
+
output?: any;
|
|
747
|
+
}, {
|
|
748
|
+
logs?: any[] | undefined;
|
|
749
|
+
output?: any;
|
|
750
|
+
}>;
|
|
751
|
+
export type ActionRunResponse = z.infer<typeof ActionRunResponse>;
|
|
752
|
+
export interface ActionSelector extends IntegrationSpecificElementSelector {
|
|
753
|
+
}
|