@membranehq/sdk 0.7.0 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +3445 -3621
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/orgs/types.d.ts +1 -0
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -37
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -104
- package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -693
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -15
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.module.d.mts → index.browser.d.mts} +17767 -17803
- package/dist/{index.d.ts → index.browser.d.ts} +17767 -17803
- package/dist/{index.js → index.browser.js} +114 -132
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +110 -129
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +27932 -0
- package/dist/index.node.d.ts +27932 -0
- package/dist/index.node.js +13334 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12862 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -6,6 +6,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
6
6
|
key: z.ZodOptional<z.ZodString>;
|
|
7
7
|
uuid: z.ZodOptional<z.ZodString>;
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9
10
|
} & {
|
|
10
11
|
name: z.ZodString;
|
|
11
12
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
@@ -17,7 +18,6 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
17
18
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
18
19
|
} & {
|
|
19
20
|
parentId: z.ZodOptional<z.ZodString>;
|
|
20
|
-
parentRevision: z.ZodOptional<z.ZodString>;
|
|
21
21
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
userId: z.ZodString;
|
|
23
23
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
@@ -25,11 +25,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
25
25
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
26
26
|
config: z.ZodOptional<z.ZodAny>;
|
|
27
27
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
28
|
-
isOutdated: z.ZodOptional<z.ZodBoolean>;
|
|
29
28
|
} & {
|
|
30
29
|
user: z.ZodOptional<z.ZodObject<{
|
|
31
30
|
id: z.ZodString;
|
|
32
31
|
name: z.ZodString;
|
|
32
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
33
33
|
internalId: z.ZodString;
|
|
34
34
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
35
35
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -42,6 +42,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
42
42
|
id: string;
|
|
43
43
|
name: string;
|
|
44
44
|
internalId: string;
|
|
45
|
+
meta?: Record<string, any> | undefined;
|
|
45
46
|
createdAt?: string | undefined;
|
|
46
47
|
archivedAt?: string | undefined;
|
|
47
48
|
credentials?: any;
|
|
@@ -53,6 +54,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
53
54
|
id: string;
|
|
54
55
|
name: string;
|
|
55
56
|
internalId: string;
|
|
57
|
+
meta?: Record<string, any> | undefined;
|
|
56
58
|
createdAt?: string | undefined;
|
|
57
59
|
archivedAt?: string | undefined;
|
|
58
60
|
credentials?: any;
|
|
@@ -63,15 +65,10 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
63
65
|
}>>;
|
|
64
66
|
parent: z.ZodOptional<z.ZodObject<{
|
|
65
67
|
id: z.ZodString;
|
|
66
|
-
|
|
67
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
68
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
69
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
70
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
71
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
72
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
key: z.ZodOptional<z.ZodString>;
|
|
73
69
|
uuid: z.ZodOptional<z.ZodString>;
|
|
74
70
|
description: z.ZodOptional<z.ZodString>;
|
|
71
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
75
72
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
76
73
|
parentId: z.ZodOptional<z.ZodString>;
|
|
77
74
|
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
@@ -80,17 +77,23 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
80
77
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
81
78
|
customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
82
79
|
} & {
|
|
83
|
-
key: z.ZodString;
|
|
84
80
|
name: z.ZodString;
|
|
81
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
82
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
83
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
84
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
85
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
86
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
87
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
85
88
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
parentRevision: z.ZodOptional<z.ZodString>;
|
|
87
89
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
key: string;
|
|
89
90
|
id: string;
|
|
90
91
|
name: string;
|
|
92
|
+
key?: string | undefined;
|
|
91
93
|
type?: import("../base/actions").ActionType | undefined;
|
|
92
94
|
uuid?: string | undefined;
|
|
93
95
|
description?: string | undefined;
|
|
96
|
+
meta?: Record<string, any> | undefined;
|
|
94
97
|
state?: import("..").WorkspaceElementState | undefined;
|
|
95
98
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
96
99
|
revision?: string | undefined;
|
|
@@ -100,19 +103,19 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
100
103
|
isDeactivated?: boolean | undefined;
|
|
101
104
|
integrationId?: string | undefined;
|
|
102
105
|
parentId?: string | undefined;
|
|
106
|
+
isCustomized?: boolean | undefined;
|
|
103
107
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
104
108
|
config?: any;
|
|
105
109
|
outputMapping?: any;
|
|
106
110
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
107
|
-
isCustomized?: boolean | undefined;
|
|
108
|
-
parentRevision?: string | undefined;
|
|
109
111
|
}, {
|
|
110
|
-
key: string;
|
|
111
112
|
id: string;
|
|
112
113
|
name: string;
|
|
114
|
+
key?: string | undefined;
|
|
113
115
|
type?: import("../base/actions").ActionType | undefined;
|
|
114
116
|
uuid?: string | undefined;
|
|
115
117
|
description?: string | undefined;
|
|
118
|
+
meta?: Record<string, any> | undefined;
|
|
116
119
|
state?: import("..").WorkspaceElementState | undefined;
|
|
117
120
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
118
121
|
revision?: string | undefined;
|
|
@@ -122,12 +125,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
122
125
|
isDeactivated?: boolean | undefined;
|
|
123
126
|
integrationId?: string | undefined;
|
|
124
127
|
parentId?: string | undefined;
|
|
128
|
+
isCustomized?: boolean | undefined;
|
|
125
129
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
126
130
|
config?: any;
|
|
127
131
|
outputMapping?: any;
|
|
128
132
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
129
|
-
isCustomized?: boolean | undefined;
|
|
130
|
-
parentRevision?: string | undefined;
|
|
131
133
|
}>>;
|
|
132
134
|
}, "strip", z.ZodTypeAny, {
|
|
133
135
|
id: string;
|
|
@@ -137,6 +139,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
137
139
|
type?: import("../base/actions").ActionType | undefined;
|
|
138
140
|
uuid?: string | undefined;
|
|
139
141
|
description?: string | undefined;
|
|
142
|
+
meta?: Record<string, any> | undefined;
|
|
140
143
|
state?: import("..").WorkspaceElementState | undefined;
|
|
141
144
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
142
145
|
revision?: string | undefined;
|
|
@@ -144,11 +147,13 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
144
147
|
updatedAt?: string | undefined;
|
|
145
148
|
archivedAt?: string | undefined;
|
|
146
149
|
isDeactivated?: boolean | undefined;
|
|
150
|
+
parentId?: string | undefined;
|
|
147
151
|
instanceKey?: string | undefined;
|
|
148
152
|
user?: {
|
|
149
153
|
id: string;
|
|
150
154
|
name: string;
|
|
151
155
|
internalId: string;
|
|
156
|
+
meta?: Record<string, any> | undefined;
|
|
152
157
|
createdAt?: string | undefined;
|
|
153
158
|
archivedAt?: string | undefined;
|
|
154
159
|
credentials?: any;
|
|
@@ -157,20 +162,18 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
157
162
|
lastActiveAt?: string | undefined;
|
|
158
163
|
isBillable?: boolean | undefined;
|
|
159
164
|
} | undefined;
|
|
160
|
-
parentId?: string | undefined;
|
|
161
165
|
inputSchema?: any;
|
|
162
166
|
config?: any;
|
|
163
|
-
parentRevision?: string | undefined;
|
|
164
167
|
outputSchema?: any;
|
|
165
168
|
universalParentId?: string | undefined;
|
|
166
|
-
isOutdated?: boolean | undefined;
|
|
167
169
|
parent?: {
|
|
168
|
-
key: string;
|
|
169
170
|
id: string;
|
|
170
171
|
name: string;
|
|
172
|
+
key?: string | undefined;
|
|
171
173
|
type?: import("../base/actions").ActionType | undefined;
|
|
172
174
|
uuid?: string | undefined;
|
|
173
175
|
description?: string | undefined;
|
|
176
|
+
meta?: Record<string, any> | undefined;
|
|
174
177
|
state?: import("..").WorkspaceElementState | undefined;
|
|
175
178
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
176
179
|
revision?: string | undefined;
|
|
@@ -180,12 +183,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
180
183
|
isDeactivated?: boolean | undefined;
|
|
181
184
|
integrationId?: string | undefined;
|
|
182
185
|
parentId?: string | undefined;
|
|
186
|
+
isCustomized?: boolean | undefined;
|
|
183
187
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
184
188
|
config?: any;
|
|
185
189
|
outputMapping?: any;
|
|
186
190
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
187
|
-
isCustomized?: boolean | undefined;
|
|
188
|
-
parentRevision?: string | undefined;
|
|
189
191
|
} | undefined;
|
|
190
192
|
}, {
|
|
191
193
|
id: string;
|
|
@@ -195,6 +197,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
195
197
|
type?: import("../base/actions").ActionType | undefined;
|
|
196
198
|
uuid?: string | undefined;
|
|
197
199
|
description?: string | undefined;
|
|
200
|
+
meta?: Record<string, any> | undefined;
|
|
198
201
|
state?: import("..").WorkspaceElementState | undefined;
|
|
199
202
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
200
203
|
revision?: string | undefined;
|
|
@@ -202,11 +205,13 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
202
205
|
updatedAt?: string | undefined;
|
|
203
206
|
archivedAt?: string | undefined;
|
|
204
207
|
isDeactivated?: boolean | undefined;
|
|
208
|
+
parentId?: string | undefined;
|
|
205
209
|
instanceKey?: string | undefined;
|
|
206
210
|
user?: {
|
|
207
211
|
id: string;
|
|
208
212
|
name: string;
|
|
209
213
|
internalId: string;
|
|
214
|
+
meta?: Record<string, any> | undefined;
|
|
210
215
|
createdAt?: string | undefined;
|
|
211
216
|
archivedAt?: string | undefined;
|
|
212
217
|
credentials?: any;
|
|
@@ -215,20 +220,18 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
215
220
|
lastActiveAt?: string | undefined;
|
|
216
221
|
isBillable?: boolean | undefined;
|
|
217
222
|
} | undefined;
|
|
218
|
-
parentId?: string | undefined;
|
|
219
223
|
inputSchema?: any;
|
|
220
224
|
config?: any;
|
|
221
|
-
parentRevision?: string | undefined;
|
|
222
225
|
outputSchema?: any;
|
|
223
226
|
universalParentId?: string | undefined;
|
|
224
|
-
isOutdated?: boolean | undefined;
|
|
225
227
|
parent?: {
|
|
226
|
-
key: string;
|
|
227
228
|
id: string;
|
|
228
229
|
name: string;
|
|
230
|
+
key?: string | undefined;
|
|
229
231
|
type?: import("../base/actions").ActionType | undefined;
|
|
230
232
|
uuid?: string | undefined;
|
|
231
233
|
description?: string | undefined;
|
|
234
|
+
meta?: Record<string, any> | undefined;
|
|
232
235
|
state?: import("..").WorkspaceElementState | undefined;
|
|
233
236
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
234
237
|
revision?: string | undefined;
|
|
@@ -238,12 +241,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
238
241
|
isDeactivated?: boolean | undefined;
|
|
239
242
|
integrationId?: string | undefined;
|
|
240
243
|
parentId?: string | undefined;
|
|
244
|
+
isCustomized?: boolean | undefined;
|
|
241
245
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
242
246
|
config?: any;
|
|
243
247
|
outputMapping?: any;
|
|
244
248
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
245
|
-
isCustomized?: boolean | undefined;
|
|
246
|
-
parentRevision?: string | undefined;
|
|
247
249
|
} | undefined;
|
|
248
250
|
}>;
|
|
249
251
|
export type ActionInstanceApiResponse = z.infer<typeof ActionInstanceApiResponse>;
|
|
@@ -257,14 +259,14 @@ export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
|
257
259
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
258
260
|
cursor: z.ZodOptional<z.ZodString>;
|
|
259
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
parentId?: string | undefined;
|
|
260
263
|
limit?: number | undefined;
|
|
261
264
|
cursor?: string | undefined;
|
|
262
|
-
parentId?: string | undefined;
|
|
263
265
|
universalParentId?: string | undefined;
|
|
264
266
|
}, {
|
|
267
|
+
parentId?: string | undefined;
|
|
265
268
|
limit?: number | undefined;
|
|
266
269
|
cursor?: string | undefined;
|
|
267
|
-
parentId?: string | undefined;
|
|
268
270
|
universalParentId?: string | undefined;
|
|
269
271
|
}>;
|
|
270
272
|
export type ListActionInstancesForConnectionQuery = z.infer<typeof ListActionInstancesForConnectionQuery>;
|
|
@@ -280,22 +282,22 @@ export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
280
282
|
userId: z.ZodOptional<z.ZodString>;
|
|
281
283
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
282
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
integrationId?: string | undefined;
|
|
286
|
+
parentId?: string | undefined;
|
|
283
287
|
limit?: number | undefined;
|
|
284
288
|
cursor?: string | undefined;
|
|
285
289
|
userId?: string | undefined;
|
|
286
290
|
connectionId?: string | undefined;
|
|
287
|
-
integrationId?: string | undefined;
|
|
288
291
|
integrationKey?: string | undefined;
|
|
289
|
-
parentId?: string | undefined;
|
|
290
292
|
universalParentId?: string | undefined;
|
|
291
293
|
}, {
|
|
294
|
+
integrationId?: string | undefined;
|
|
295
|
+
parentId?: string | undefined;
|
|
292
296
|
limit?: number | undefined;
|
|
293
297
|
cursor?: string | undefined;
|
|
294
298
|
userId?: string | undefined;
|
|
295
299
|
connectionId?: string | undefined;
|
|
296
|
-
integrationId?: string | undefined;
|
|
297
300
|
integrationKey?: string | undefined;
|
|
298
|
-
parentId?: string | undefined;
|
|
299
301
|
universalParentId?: string | undefined;
|
|
300
302
|
}>;
|
|
301
303
|
export type FindActionInstancesQuery = z.infer<typeof FindActionInstancesQuery>;
|
|
@@ -304,12 +306,12 @@ export declare const CreateActionInstanceRequest: z.ZodObject<{
|
|
|
304
306
|
connectionId: z.ZodString;
|
|
305
307
|
config: z.ZodOptional<z.ZodAny>;
|
|
306
308
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
connectionId: string;
|
|
308
309
|
parentId: string;
|
|
310
|
+
connectionId: string;
|
|
309
311
|
config?: any;
|
|
310
312
|
}, {
|
|
311
|
-
connectionId: string;
|
|
312
313
|
parentId: string;
|
|
314
|
+
connectionId: string;
|
|
313
315
|
config?: any;
|
|
314
316
|
}>;
|
|
315
317
|
export type CreateActionInstanceRequest = z.infer<typeof CreateActionInstanceRequest>;
|
|
@@ -15,15 +15,10 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
15
15
|
} & {
|
|
16
16
|
action: z.ZodOptional<z.ZodObject<{
|
|
17
17
|
id: z.ZodString;
|
|
18
|
-
|
|
19
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
20
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
21
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
22
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
23
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
24
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
key: z.ZodOptional<z.ZodString>;
|
|
25
19
|
uuid: z.ZodOptional<z.ZodString>;
|
|
26
20
|
description: z.ZodOptional<z.ZodString>;
|
|
21
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
27
22
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
28
23
|
parentId: z.ZodOptional<z.ZodString>;
|
|
29
24
|
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
@@ -32,17 +27,23 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
32
27
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
33
28
|
customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
34
29
|
} & {
|
|
35
|
-
key: z.ZodString;
|
|
36
30
|
name: z.ZodString;
|
|
31
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
32
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
33
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
34
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
35
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
36
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
37
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
37
38
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
-
parentRevision: z.ZodOptional<z.ZodString>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
key: string;
|
|
41
40
|
id: string;
|
|
42
41
|
name: string;
|
|
42
|
+
key?: string | undefined;
|
|
43
43
|
type?: import("../base/actions").ActionType | undefined;
|
|
44
44
|
uuid?: string | undefined;
|
|
45
45
|
description?: string | undefined;
|
|
46
|
+
meta?: Record<string, any> | undefined;
|
|
46
47
|
state?: import("..").WorkspaceElementState | undefined;
|
|
47
48
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
48
49
|
revision?: string | undefined;
|
|
@@ -52,19 +53,19 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
52
53
|
isDeactivated?: boolean | undefined;
|
|
53
54
|
integrationId?: string | undefined;
|
|
54
55
|
parentId?: string | undefined;
|
|
56
|
+
isCustomized?: boolean | undefined;
|
|
55
57
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
56
58
|
config?: any;
|
|
57
59
|
outputMapping?: any;
|
|
58
60
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
59
|
-
isCustomized?: boolean | undefined;
|
|
60
|
-
parentRevision?: string | undefined;
|
|
61
61
|
}, {
|
|
62
|
-
key: string;
|
|
63
62
|
id: string;
|
|
64
63
|
name: string;
|
|
64
|
+
key?: string | undefined;
|
|
65
65
|
type?: import("../base/actions").ActionType | undefined;
|
|
66
66
|
uuid?: string | undefined;
|
|
67
67
|
description?: string | undefined;
|
|
68
|
+
meta?: Record<string, any> | undefined;
|
|
68
69
|
state?: import("..").WorkspaceElementState | undefined;
|
|
69
70
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
70
71
|
revision?: string | undefined;
|
|
@@ -74,18 +75,18 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
74
75
|
isDeactivated?: boolean | undefined;
|
|
75
76
|
integrationId?: string | undefined;
|
|
76
77
|
parentId?: string | undefined;
|
|
78
|
+
isCustomized?: boolean | undefined;
|
|
77
79
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
78
80
|
config?: any;
|
|
79
81
|
outputMapping?: any;
|
|
80
82
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
81
|
-
isCustomized?: boolean | undefined;
|
|
82
|
-
parentRevision?: string | undefined;
|
|
83
83
|
}>>;
|
|
84
84
|
integration: z.ZodOptional<z.ZodObject<{
|
|
85
85
|
id: z.ZodString;
|
|
86
86
|
key: z.ZodOptional<z.ZodString>;
|
|
87
87
|
uuid: z.ZodOptional<z.ZodString>;
|
|
88
88
|
description: z.ZodOptional<z.ZodString>;
|
|
89
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
89
90
|
name: z.ZodString;
|
|
90
91
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
91
92
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
@@ -120,6 +121,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
120
121
|
key?: string | undefined;
|
|
121
122
|
uuid?: string | undefined;
|
|
122
123
|
description?: string | undefined;
|
|
124
|
+
meta?: Record<string, any> | undefined;
|
|
123
125
|
state?: import("..").WorkspaceElementState | undefined;
|
|
124
126
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
125
127
|
revision?: string | undefined;
|
|
@@ -151,6 +153,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
151
153
|
key?: string | undefined;
|
|
152
154
|
uuid?: string | undefined;
|
|
153
155
|
description?: string | undefined;
|
|
156
|
+
meta?: Record<string, any> | undefined;
|
|
154
157
|
state?: import("..").WorkspaceElementState | undefined;
|
|
155
158
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
156
159
|
revision?: string | undefined;
|
|
@@ -184,6 +187,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
184
187
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
185
188
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
186
189
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
187
191
|
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
188
192
|
integrationId: z.ZodString;
|
|
189
193
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -193,24 +197,21 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
193
197
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
194
198
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
195
199
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
197
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
198
200
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
199
201
|
}, "strip", z.ZodTypeAny, {
|
|
200
202
|
id: string;
|
|
201
203
|
name: string;
|
|
202
204
|
createdAt: string;
|
|
203
205
|
updatedAt: string;
|
|
204
|
-
userId: string;
|
|
205
206
|
integrationId: string;
|
|
207
|
+
userId: string;
|
|
206
208
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
209
|
+
meta?: Record<string, any> | undefined;
|
|
207
210
|
state?: import("..").WorkspaceElementState | undefined;
|
|
208
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
209
211
|
archivedAt?: string | undefined;
|
|
210
212
|
isDeactivated?: boolean | undefined;
|
|
211
213
|
authOptionKey?: string | undefined;
|
|
212
214
|
isTest?: boolean | undefined;
|
|
213
|
-
meta?: Record<string, any> | undefined;
|
|
214
215
|
disconnected?: boolean | undefined;
|
|
215
216
|
isDefunct?: boolean | undefined;
|
|
216
217
|
lastActiveAt?: string | undefined;
|
|
@@ -220,16 +221,15 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
220
221
|
name: string;
|
|
221
222
|
createdAt: string;
|
|
222
223
|
updatedAt: string;
|
|
223
|
-
userId: string;
|
|
224
224
|
integrationId: string;
|
|
225
|
+
userId: string;
|
|
225
226
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
227
|
+
meta?: Record<string, any> | undefined;
|
|
226
228
|
state?: import("..").WorkspaceElementState | undefined;
|
|
227
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
228
229
|
archivedAt?: string | undefined;
|
|
229
230
|
isDeactivated?: boolean | undefined;
|
|
230
231
|
authOptionKey?: string | undefined;
|
|
231
232
|
isTest?: boolean | undefined;
|
|
232
|
-
meta?: Record<string, any> | undefined;
|
|
233
233
|
disconnected?: boolean | undefined;
|
|
234
234
|
isDefunct?: boolean | undefined;
|
|
235
235
|
lastActiveAt?: string | undefined;
|
|
@@ -240,24 +240,23 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
240
240
|
id: string;
|
|
241
241
|
name: string;
|
|
242
242
|
createdAt: string;
|
|
243
|
-
connectionId: string;
|
|
244
243
|
integrationId: string;
|
|
244
|
+
connectionId: string;
|
|
245
245
|
actionId: string;
|
|
246
246
|
connection?: {
|
|
247
247
|
id: string;
|
|
248
248
|
name: string;
|
|
249
249
|
createdAt: string;
|
|
250
250
|
updatedAt: string;
|
|
251
|
-
userId: string;
|
|
252
251
|
integrationId: string;
|
|
252
|
+
userId: string;
|
|
253
253
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
254
|
+
meta?: Record<string, any> | undefined;
|
|
254
255
|
state?: import("..").WorkspaceElementState | undefined;
|
|
255
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
256
256
|
archivedAt?: string | undefined;
|
|
257
257
|
isDeactivated?: boolean | undefined;
|
|
258
258
|
authOptionKey?: string | undefined;
|
|
259
259
|
isTest?: boolean | undefined;
|
|
260
|
-
meta?: Record<string, any> | undefined;
|
|
261
260
|
disconnected?: boolean | undefined;
|
|
262
261
|
isDefunct?: boolean | undefined;
|
|
263
262
|
lastActiveAt?: string | undefined;
|
|
@@ -271,6 +270,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
271
270
|
key?: string | undefined;
|
|
272
271
|
uuid?: string | undefined;
|
|
273
272
|
description?: string | undefined;
|
|
273
|
+
meta?: Record<string, any> | undefined;
|
|
274
274
|
state?: import("..").WorkspaceElementState | undefined;
|
|
275
275
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
276
276
|
revision?: string | undefined;
|
|
@@ -297,12 +297,13 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
297
297
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
298
298
|
} | undefined;
|
|
299
299
|
action?: {
|
|
300
|
-
key: string;
|
|
301
300
|
id: string;
|
|
302
301
|
name: string;
|
|
302
|
+
key?: string | undefined;
|
|
303
303
|
type?: import("../base/actions").ActionType | undefined;
|
|
304
304
|
uuid?: string | undefined;
|
|
305
305
|
description?: string | undefined;
|
|
306
|
+
meta?: Record<string, any> | undefined;
|
|
306
307
|
state?: import("..").WorkspaceElementState | undefined;
|
|
307
308
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
308
309
|
revision?: string | undefined;
|
|
@@ -312,12 +313,11 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
312
313
|
isDeactivated?: boolean | undefined;
|
|
313
314
|
integrationId?: string | undefined;
|
|
314
315
|
parentId?: string | undefined;
|
|
316
|
+
isCustomized?: boolean | undefined;
|
|
315
317
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
316
318
|
config?: any;
|
|
317
319
|
outputMapping?: any;
|
|
318
320
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
319
|
-
isCustomized?: boolean | undefined;
|
|
320
|
-
parentRevision?: string | undefined;
|
|
321
321
|
} | undefined;
|
|
322
322
|
input?: any;
|
|
323
323
|
output?: any;
|
|
@@ -327,24 +327,23 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
327
327
|
id: string;
|
|
328
328
|
name: string;
|
|
329
329
|
createdAt: string;
|
|
330
|
-
connectionId: string;
|
|
331
330
|
integrationId: string;
|
|
331
|
+
connectionId: string;
|
|
332
332
|
actionId: string;
|
|
333
333
|
connection?: {
|
|
334
334
|
id: string;
|
|
335
335
|
name: string;
|
|
336
336
|
createdAt: string;
|
|
337
337
|
updatedAt: string;
|
|
338
|
-
userId: string;
|
|
339
338
|
integrationId: string;
|
|
339
|
+
userId: string;
|
|
340
340
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
341
|
+
meta?: Record<string, any> | undefined;
|
|
341
342
|
state?: import("..").WorkspaceElementState | undefined;
|
|
342
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
343
343
|
archivedAt?: string | undefined;
|
|
344
344
|
isDeactivated?: boolean | undefined;
|
|
345
345
|
authOptionKey?: string | undefined;
|
|
346
346
|
isTest?: boolean | undefined;
|
|
347
|
-
meta?: Record<string, any> | undefined;
|
|
348
347
|
disconnected?: boolean | undefined;
|
|
349
348
|
isDefunct?: boolean | undefined;
|
|
350
349
|
lastActiveAt?: string | undefined;
|
|
@@ -358,6 +357,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
358
357
|
key?: string | undefined;
|
|
359
358
|
uuid?: string | undefined;
|
|
360
359
|
description?: string | undefined;
|
|
360
|
+
meta?: Record<string, any> | undefined;
|
|
361
361
|
state?: import("..").WorkspaceElementState | undefined;
|
|
362
362
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
363
363
|
revision?: string | undefined;
|
|
@@ -384,12 +384,13 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
384
384
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
385
385
|
} | undefined;
|
|
386
386
|
action?: {
|
|
387
|
-
key: string;
|
|
388
387
|
id: string;
|
|
389
388
|
name: string;
|
|
389
|
+
key?: string | undefined;
|
|
390
390
|
type?: import("../base/actions").ActionType | undefined;
|
|
391
391
|
uuid?: string | undefined;
|
|
392
392
|
description?: string | undefined;
|
|
393
|
+
meta?: Record<string, any> | undefined;
|
|
393
394
|
state?: import("..").WorkspaceElementState | undefined;
|
|
394
395
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
395
396
|
revision?: string | undefined;
|
|
@@ -399,12 +400,11 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
399
400
|
isDeactivated?: boolean | undefined;
|
|
400
401
|
integrationId?: string | undefined;
|
|
401
402
|
parentId?: string | undefined;
|
|
403
|
+
isCustomized?: boolean | undefined;
|
|
402
404
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
403
405
|
config?: any;
|
|
404
406
|
outputMapping?: any;
|
|
405
407
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
406
|
-
isCustomized?: boolean | undefined;
|
|
407
|
-
parentRevision?: string | undefined;
|
|
408
408
|
} | undefined;
|
|
409
409
|
input?: any;
|
|
410
410
|
output?: any;
|