@membranehq/sdk 0.7.1 → 0.7.4
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 +5200 -4617
- 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/{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 -34
- 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 -43
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +474 -441
- 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 +144 -124
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +250 -118
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +122 -98
- package/dist/dts/workspace-elements/api/flows-api.d.ts +965 -826
- 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 -5
- 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 +9 -6
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- 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 +8 -5
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- 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 -12
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- 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.d.ts → index.browser.d.mts} +17282 -16311
- package/dist/{index.module.d.mts → index.browser.d.ts} +17282 -16311
- package/dist/{index.js → index.browser.js} +228 -255
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +218 -250
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +28306 -0
- package/dist/index.node.d.ts +28306 -0
- package/dist/index.node.js +13329 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12853 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -102
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -129
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -241
- 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>;
|
|
@@ -29,6 +29,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
29
29
|
user: z.ZodOptional<z.ZodObject<{
|
|
30
30
|
id: z.ZodString;
|
|
31
31
|
name: z.ZodString;
|
|
32
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
32
33
|
internalId: z.ZodString;
|
|
33
34
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
34
35
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -41,6 +42,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
41
42
|
id: string;
|
|
42
43
|
name: string;
|
|
43
44
|
internalId: string;
|
|
45
|
+
meta?: Record<string, any> | undefined;
|
|
44
46
|
createdAt?: string | undefined;
|
|
45
47
|
archivedAt?: string | undefined;
|
|
46
48
|
credentials?: any;
|
|
@@ -52,6 +54,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
52
54
|
id: string;
|
|
53
55
|
name: string;
|
|
54
56
|
internalId: string;
|
|
57
|
+
meta?: Record<string, any> | undefined;
|
|
55
58
|
createdAt?: string | undefined;
|
|
56
59
|
archivedAt?: string | undefined;
|
|
57
60
|
credentials?: any;
|
|
@@ -62,15 +65,10 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
62
65
|
}>>;
|
|
63
66
|
parent: z.ZodOptional<z.ZodObject<{
|
|
64
67
|
id: z.ZodString;
|
|
65
|
-
|
|
66
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
67
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
68
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
69
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
70
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
71
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
key: z.ZodOptional<z.ZodString>;
|
|
72
69
|
uuid: z.ZodOptional<z.ZodString>;
|
|
73
70
|
description: z.ZodOptional<z.ZodString>;
|
|
71
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
74
72
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
75
73
|
parentId: z.ZodOptional<z.ZodString>;
|
|
76
74
|
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
@@ -79,17 +77,23 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
79
77
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
80
78
|
customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
81
79
|
} & {
|
|
82
|
-
key: z.ZodString;
|
|
83
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>;
|
|
84
88
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
parentRevision: z.ZodOptional<z.ZodString>;
|
|
86
89
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
key: string;
|
|
88
90
|
id: string;
|
|
89
91
|
name: string;
|
|
92
|
+
key?: string | undefined;
|
|
90
93
|
type?: import("../base/actions").ActionType | undefined;
|
|
91
94
|
uuid?: string | undefined;
|
|
92
95
|
description?: string | undefined;
|
|
96
|
+
meta?: Record<string, any> | undefined;
|
|
93
97
|
state?: import("..").WorkspaceElementState | undefined;
|
|
94
98
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
95
99
|
revision?: string | undefined;
|
|
@@ -99,19 +103,19 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
99
103
|
isDeactivated?: boolean | undefined;
|
|
100
104
|
integrationId?: string | undefined;
|
|
101
105
|
parentId?: string | undefined;
|
|
106
|
+
isCustomized?: boolean | undefined;
|
|
102
107
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
103
108
|
config?: any;
|
|
104
109
|
outputMapping?: any;
|
|
105
110
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
106
|
-
isCustomized?: boolean | undefined;
|
|
107
|
-
parentRevision?: string | undefined;
|
|
108
111
|
}, {
|
|
109
|
-
key: string;
|
|
110
112
|
id: string;
|
|
111
113
|
name: string;
|
|
114
|
+
key?: string | undefined;
|
|
112
115
|
type?: import("../base/actions").ActionType | undefined;
|
|
113
116
|
uuid?: string | undefined;
|
|
114
117
|
description?: string | undefined;
|
|
118
|
+
meta?: Record<string, any> | undefined;
|
|
115
119
|
state?: import("..").WorkspaceElementState | undefined;
|
|
116
120
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
117
121
|
revision?: string | undefined;
|
|
@@ -121,12 +125,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
121
125
|
isDeactivated?: boolean | undefined;
|
|
122
126
|
integrationId?: string | undefined;
|
|
123
127
|
parentId?: string | undefined;
|
|
128
|
+
isCustomized?: boolean | undefined;
|
|
124
129
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
125
130
|
config?: any;
|
|
126
131
|
outputMapping?: any;
|
|
127
132
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
128
|
-
isCustomized?: boolean | undefined;
|
|
129
|
-
parentRevision?: string | undefined;
|
|
130
133
|
}>>;
|
|
131
134
|
}, "strip", z.ZodTypeAny, {
|
|
132
135
|
id: string;
|
|
@@ -136,6 +139,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
136
139
|
type?: import("../base/actions").ActionType | undefined;
|
|
137
140
|
uuid?: string | undefined;
|
|
138
141
|
description?: string | undefined;
|
|
142
|
+
meta?: Record<string, any> | undefined;
|
|
139
143
|
state?: import("..").WorkspaceElementState | undefined;
|
|
140
144
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
141
145
|
revision?: string | undefined;
|
|
@@ -143,11 +147,13 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
143
147
|
updatedAt?: string | undefined;
|
|
144
148
|
archivedAt?: string | undefined;
|
|
145
149
|
isDeactivated?: boolean | undefined;
|
|
150
|
+
parentId?: string | undefined;
|
|
146
151
|
instanceKey?: string | undefined;
|
|
147
152
|
user?: {
|
|
148
153
|
id: string;
|
|
149
154
|
name: string;
|
|
150
155
|
internalId: string;
|
|
156
|
+
meta?: Record<string, any> | undefined;
|
|
151
157
|
createdAt?: string | undefined;
|
|
152
158
|
archivedAt?: string | undefined;
|
|
153
159
|
credentials?: any;
|
|
@@ -156,19 +162,18 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
156
162
|
lastActiveAt?: string | undefined;
|
|
157
163
|
isBillable?: boolean | undefined;
|
|
158
164
|
} | undefined;
|
|
159
|
-
parentId?: string | undefined;
|
|
160
165
|
inputSchema?: any;
|
|
161
166
|
config?: any;
|
|
162
|
-
parentRevision?: string | undefined;
|
|
163
167
|
outputSchema?: any;
|
|
164
168
|
universalParentId?: string | undefined;
|
|
165
169
|
parent?: {
|
|
166
|
-
key: string;
|
|
167
170
|
id: string;
|
|
168
171
|
name: string;
|
|
172
|
+
key?: string | undefined;
|
|
169
173
|
type?: import("../base/actions").ActionType | undefined;
|
|
170
174
|
uuid?: string | undefined;
|
|
171
175
|
description?: string | undefined;
|
|
176
|
+
meta?: Record<string, any> | undefined;
|
|
172
177
|
state?: import("..").WorkspaceElementState | undefined;
|
|
173
178
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
174
179
|
revision?: string | undefined;
|
|
@@ -178,12 +183,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
178
183
|
isDeactivated?: boolean | undefined;
|
|
179
184
|
integrationId?: string | undefined;
|
|
180
185
|
parentId?: string | undefined;
|
|
186
|
+
isCustomized?: boolean | undefined;
|
|
181
187
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
182
188
|
config?: any;
|
|
183
189
|
outputMapping?: any;
|
|
184
190
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
185
|
-
isCustomized?: boolean | undefined;
|
|
186
|
-
parentRevision?: string | undefined;
|
|
187
191
|
} | undefined;
|
|
188
192
|
}, {
|
|
189
193
|
id: string;
|
|
@@ -193,6 +197,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
193
197
|
type?: import("../base/actions").ActionType | undefined;
|
|
194
198
|
uuid?: string | undefined;
|
|
195
199
|
description?: string | undefined;
|
|
200
|
+
meta?: Record<string, any> | undefined;
|
|
196
201
|
state?: import("..").WorkspaceElementState | undefined;
|
|
197
202
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
198
203
|
revision?: string | undefined;
|
|
@@ -200,11 +205,13 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
200
205
|
updatedAt?: string | undefined;
|
|
201
206
|
archivedAt?: string | undefined;
|
|
202
207
|
isDeactivated?: boolean | undefined;
|
|
208
|
+
parentId?: string | undefined;
|
|
203
209
|
instanceKey?: string | undefined;
|
|
204
210
|
user?: {
|
|
205
211
|
id: string;
|
|
206
212
|
name: string;
|
|
207
213
|
internalId: string;
|
|
214
|
+
meta?: Record<string, any> | undefined;
|
|
208
215
|
createdAt?: string | undefined;
|
|
209
216
|
archivedAt?: string | undefined;
|
|
210
217
|
credentials?: any;
|
|
@@ -213,19 +220,18 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
213
220
|
lastActiveAt?: string | undefined;
|
|
214
221
|
isBillable?: boolean | undefined;
|
|
215
222
|
} | undefined;
|
|
216
|
-
parentId?: string | undefined;
|
|
217
223
|
inputSchema?: any;
|
|
218
224
|
config?: any;
|
|
219
|
-
parentRevision?: string | undefined;
|
|
220
225
|
outputSchema?: any;
|
|
221
226
|
universalParentId?: string | undefined;
|
|
222
227
|
parent?: {
|
|
223
|
-
key: string;
|
|
224
228
|
id: string;
|
|
225
229
|
name: string;
|
|
230
|
+
key?: string | undefined;
|
|
226
231
|
type?: import("../base/actions").ActionType | undefined;
|
|
227
232
|
uuid?: string | undefined;
|
|
228
233
|
description?: string | undefined;
|
|
234
|
+
meta?: Record<string, any> | undefined;
|
|
229
235
|
state?: import("..").WorkspaceElementState | undefined;
|
|
230
236
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
231
237
|
revision?: string | undefined;
|
|
@@ -235,12 +241,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
235
241
|
isDeactivated?: boolean | undefined;
|
|
236
242
|
integrationId?: string | undefined;
|
|
237
243
|
parentId?: string | undefined;
|
|
244
|
+
isCustomized?: boolean | undefined;
|
|
238
245
|
inputSchema?: import("../..").DataSchema | undefined;
|
|
239
246
|
config?: any;
|
|
240
247
|
outputMapping?: any;
|
|
241
248
|
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
242
|
-
isCustomized?: boolean | undefined;
|
|
243
|
-
parentRevision?: string | undefined;
|
|
244
249
|
} | undefined;
|
|
245
250
|
}>;
|
|
246
251
|
export type ActionInstanceApiResponse = z.infer<typeof ActionInstanceApiResponse>;
|
|
@@ -254,14 +259,14 @@ export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
|
254
259
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
255
260
|
cursor: z.ZodOptional<z.ZodString>;
|
|
256
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
parentId?: string | undefined;
|
|
257
263
|
limit?: number | undefined;
|
|
258
264
|
cursor?: string | undefined;
|
|
259
|
-
parentId?: string | undefined;
|
|
260
265
|
universalParentId?: string | undefined;
|
|
261
266
|
}, {
|
|
267
|
+
parentId?: string | undefined;
|
|
262
268
|
limit?: number | undefined;
|
|
263
269
|
cursor?: string | undefined;
|
|
264
|
-
parentId?: string | undefined;
|
|
265
270
|
universalParentId?: string | undefined;
|
|
266
271
|
}>;
|
|
267
272
|
export type ListActionInstancesForConnectionQuery = z.infer<typeof ListActionInstancesForConnectionQuery>;
|
|
@@ -277,22 +282,22 @@ export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
277
282
|
userId: z.ZodOptional<z.ZodString>;
|
|
278
283
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
279
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
integrationId?: string | undefined;
|
|
286
|
+
parentId?: string | undefined;
|
|
280
287
|
limit?: number | undefined;
|
|
281
288
|
cursor?: string | undefined;
|
|
282
289
|
userId?: string | undefined;
|
|
283
290
|
connectionId?: string | undefined;
|
|
284
|
-
integrationId?: string | undefined;
|
|
285
291
|
integrationKey?: string | undefined;
|
|
286
|
-
parentId?: string | undefined;
|
|
287
292
|
universalParentId?: string | undefined;
|
|
288
293
|
}, {
|
|
294
|
+
integrationId?: string | undefined;
|
|
295
|
+
parentId?: string | undefined;
|
|
289
296
|
limit?: number | undefined;
|
|
290
297
|
cursor?: string | undefined;
|
|
291
298
|
userId?: string | undefined;
|
|
292
299
|
connectionId?: string | undefined;
|
|
293
|
-
integrationId?: string | undefined;
|
|
294
300
|
integrationKey?: string | undefined;
|
|
295
|
-
parentId?: string | undefined;
|
|
296
301
|
universalParentId?: string | undefined;
|
|
297
302
|
}>;
|
|
298
303
|
export type FindActionInstancesQuery = z.infer<typeof FindActionInstancesQuery>;
|
|
@@ -301,12 +306,12 @@ export declare const CreateActionInstanceRequest: z.ZodObject<{
|
|
|
301
306
|
connectionId: z.ZodString;
|
|
302
307
|
config: z.ZodOptional<z.ZodAny>;
|
|
303
308
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
connectionId: string;
|
|
305
309
|
parentId: string;
|
|
310
|
+
connectionId: string;
|
|
306
311
|
config?: any;
|
|
307
312
|
}, {
|
|
308
|
-
connectionId: string;
|
|
309
313
|
parentId: string;
|
|
314
|
+
connectionId: string;
|
|
310
315
|
config?: any;
|
|
311
316
|
}>;
|
|
312
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;
|