@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,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { DataSchema } from '../../data-schema';
|
|
2
3
|
import { PaginationResponse } from '../../entity-repository';
|
|
3
4
|
export declare const CreateIntegrationRequest: z.ZodObject<{
|
|
4
5
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -72,14 +73,60 @@ export declare const OpenNewConnectionOptions: z.ZodObject<{
|
|
|
72
73
|
allowMultipleConnections?: boolean | undefined;
|
|
73
74
|
}>;
|
|
74
75
|
export type OpenNewConnectionOptions = z.infer<typeof OpenNewConnectionOptions>;
|
|
76
|
+
export declare const IntegrationAuthUi: z.ZodObject<{
|
|
77
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
78
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
schema?: any;
|
|
81
|
+
helpUri?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
schema?: any;
|
|
84
|
+
helpUri?: string | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export type IntegrationAuthUi = z.infer<typeof IntegrationAuthUi>;
|
|
87
|
+
export declare const IntegrationAuthOption: z.ZodObject<{
|
|
88
|
+
key: z.ZodString;
|
|
89
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
90
|
+
title: z.ZodOptional<z.ZodString>;
|
|
91
|
+
description: z.ZodOptional<z.ZodString>;
|
|
92
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
94
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
schema?: any;
|
|
97
|
+
helpUri?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
schema?: any;
|
|
100
|
+
helpUri?: string | undefined;
|
|
101
|
+
}>>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
key: string;
|
|
104
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
105
|
+
description?: string | undefined;
|
|
106
|
+
title?: string | undefined;
|
|
107
|
+
ui?: {
|
|
108
|
+
schema?: any;
|
|
109
|
+
helpUri?: string | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
key: string;
|
|
113
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
114
|
+
description?: string | undefined;
|
|
115
|
+
title?: string | undefined;
|
|
116
|
+
ui?: {
|
|
117
|
+
schema?: any;
|
|
118
|
+
helpUri?: string | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}>;
|
|
121
|
+
export type IntegrationAuthOption = z.infer<typeof IntegrationAuthOption>;
|
|
75
122
|
export declare const IntegrationApiResponse: z.ZodObject<{
|
|
76
123
|
id: z.ZodString;
|
|
77
|
-
name: z.ZodString;
|
|
78
124
|
key: z.ZodOptional<z.ZodString>;
|
|
79
125
|
uuid: z.ZodOptional<z.ZodString>;
|
|
80
126
|
description: z.ZodOptional<z.ZodString>;
|
|
127
|
+
name: z.ZodString;
|
|
81
128
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
82
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
129
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
83
130
|
revision: z.ZodOptional<z.ZodString>;
|
|
84
131
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
85
132
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -87,44 +134,8 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
87
134
|
logoUri: z.ZodString;
|
|
88
135
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
89
136
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
90
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
-
key: z.ZodString;
|
|
92
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
93
|
-
title: z.ZodOptional<z.ZodString>;
|
|
94
|
-
description: z.ZodOptional<z.ZodString>;
|
|
95
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
96
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
97
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
schema?: any;
|
|
100
|
-
helpUri?: string | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
schema?: any;
|
|
103
|
-
helpUri?: string | undefined;
|
|
104
|
-
}>>;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
key: string;
|
|
107
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
108
|
-
description?: string | undefined;
|
|
109
|
-
title?: string | undefined;
|
|
110
|
-
ui?: {
|
|
111
|
-
schema?: any;
|
|
112
|
-
helpUri?: string | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
key: string;
|
|
116
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
117
|
-
description?: string | undefined;
|
|
118
|
-
title?: string | undefined;
|
|
119
|
-
ui?: {
|
|
120
|
-
schema?: any;
|
|
121
|
-
helpUri?: string | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
}>, "many">>;
|
|
124
137
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
125
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
126
138
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
127
|
-
baseUri: z.ZodString;
|
|
128
139
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
129
140
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
130
141
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -149,11 +160,9 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
149
160
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
150
161
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
151
162
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
-
error:
|
|
163
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
153
164
|
integrationId: z.ZodString;
|
|
154
|
-
|
|
155
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
156
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
165
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
157
166
|
createdAt: z.ZodString;
|
|
158
167
|
updatedAt: z.ZodString;
|
|
159
168
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -161,7 +170,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
161
170
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
162
171
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
163
172
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
164
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
173
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
165
174
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
166
175
|
}, "strip", z.ZodTypeAny, {
|
|
167
176
|
id: string;
|
|
@@ -170,20 +179,18 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
170
179
|
updatedAt: string;
|
|
171
180
|
userId: string;
|
|
172
181
|
integrationId: string;
|
|
173
|
-
error?:
|
|
182
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
174
183
|
state?: import("..").WorkspaceElementState | undefined;
|
|
175
|
-
errors?:
|
|
176
|
-
isDeactivated?: boolean | undefined;
|
|
184
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
177
185
|
archivedAt?: string | undefined;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
connectorParameters?: unknown;
|
|
186
|
+
isDeactivated?: boolean | undefined;
|
|
187
|
+
authOptionKey?: string | undefined;
|
|
181
188
|
isTest?: boolean | undefined;
|
|
189
|
+
meta?: Record<string, any> | undefined;
|
|
182
190
|
disconnected?: boolean | undefined;
|
|
183
191
|
isDefunct?: boolean | undefined;
|
|
184
192
|
lastActiveAt?: string | undefined;
|
|
185
193
|
nextCredentialsRefreshAt?: string | undefined;
|
|
186
|
-
meta?: Record<string, any> | undefined;
|
|
187
194
|
}, {
|
|
188
195
|
id: string;
|
|
189
196
|
name: string;
|
|
@@ -191,26 +198,58 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
191
198
|
updatedAt: string;
|
|
192
199
|
userId: string;
|
|
193
200
|
integrationId: string;
|
|
194
|
-
error?:
|
|
201
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
195
202
|
state?: import("..").WorkspaceElementState | undefined;
|
|
196
|
-
errors?:
|
|
197
|
-
isDeactivated?: boolean | undefined;
|
|
203
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
198
204
|
archivedAt?: string | undefined;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
connectorParameters?: unknown;
|
|
205
|
+
isDeactivated?: boolean | undefined;
|
|
206
|
+
authOptionKey?: string | undefined;
|
|
202
207
|
isTest?: boolean | undefined;
|
|
208
|
+
meta?: Record<string, any> | undefined;
|
|
203
209
|
disconnected?: boolean | undefined;
|
|
204
210
|
isDefunct?: boolean | undefined;
|
|
205
211
|
lastActiveAt?: string | undefined;
|
|
206
212
|
nextCredentialsRefreshAt?: string | undefined;
|
|
207
|
-
meta?: Record<string, any> | undefined;
|
|
208
213
|
}>>;
|
|
209
214
|
spec: z.ZodOptional<z.ZodAny>;
|
|
215
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
216
|
+
key: z.ZodString;
|
|
217
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
218
|
+
title: z.ZodOptional<z.ZodString>;
|
|
219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
220
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
222
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
schema?: any;
|
|
225
|
+
helpUri?: string | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
schema?: any;
|
|
228
|
+
helpUri?: string | undefined;
|
|
229
|
+
}>>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
key: string;
|
|
232
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
233
|
+
description?: string | undefined;
|
|
234
|
+
title?: string | undefined;
|
|
235
|
+
ui?: {
|
|
236
|
+
schema?: any;
|
|
237
|
+
helpUri?: string | undefined;
|
|
238
|
+
} | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
key: string;
|
|
241
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
242
|
+
description?: string | undefined;
|
|
243
|
+
title?: string | undefined;
|
|
244
|
+
ui?: {
|
|
245
|
+
schema?: any;
|
|
246
|
+
helpUri?: string | undefined;
|
|
247
|
+
} | undefined;
|
|
248
|
+
}>, "many">>;
|
|
249
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
210
250
|
}, "strip", z.ZodTypeAny, {
|
|
211
251
|
id: string;
|
|
212
252
|
name: string;
|
|
213
|
-
baseUri: string;
|
|
214
253
|
logoUri: string;
|
|
215
254
|
key?: string | undefined;
|
|
216
255
|
connection?: {
|
|
@@ -220,45 +259,32 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
220
259
|
updatedAt: string;
|
|
221
260
|
userId: string;
|
|
222
261
|
integrationId: string;
|
|
223
|
-
error?:
|
|
262
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
224
263
|
state?: import("..").WorkspaceElementState | undefined;
|
|
225
|
-
errors?:
|
|
226
|
-
isDeactivated?: boolean | undefined;
|
|
264
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
227
265
|
archivedAt?: string | undefined;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
connectorParameters?: unknown;
|
|
266
|
+
isDeactivated?: boolean | undefined;
|
|
267
|
+
authOptionKey?: string | undefined;
|
|
231
268
|
isTest?: boolean | undefined;
|
|
269
|
+
meta?: Record<string, any> | undefined;
|
|
232
270
|
disconnected?: boolean | undefined;
|
|
233
271
|
isDefunct?: boolean | undefined;
|
|
234
272
|
lastActiveAt?: string | undefined;
|
|
235
273
|
nextCredentialsRefreshAt?: string | undefined;
|
|
236
|
-
meta?: Record<string, any> | undefined;
|
|
237
274
|
} | undefined;
|
|
238
275
|
uuid?: string | undefined;
|
|
239
276
|
description?: string | undefined;
|
|
240
277
|
state?: import("..").WorkspaceElementState | undefined;
|
|
241
|
-
errors?:
|
|
278
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
242
279
|
revision?: string | undefined;
|
|
243
|
-
isDeactivated?: boolean | undefined;
|
|
244
280
|
createdAt?: string | undefined;
|
|
245
281
|
updatedAt?: string | undefined;
|
|
246
282
|
archivedAt?: string | undefined;
|
|
283
|
+
isDeactivated?: boolean | undefined;
|
|
247
284
|
parameters?: any;
|
|
248
|
-
parametersSchema?:
|
|
249
|
-
isTest?: boolean | undefined;
|
|
285
|
+
parametersSchema?: DataSchema | undefined;
|
|
250
286
|
connectorId?: string | undefined;
|
|
251
287
|
connectorVersion?: string | undefined;
|
|
252
|
-
authOptions?: {
|
|
253
|
-
key: string;
|
|
254
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
255
|
-
description?: string | undefined;
|
|
256
|
-
title?: string | undefined;
|
|
257
|
-
ui?: {
|
|
258
|
-
schema?: any;
|
|
259
|
-
helpUri?: string | undefined;
|
|
260
|
-
} | undefined;
|
|
261
|
-
}[] | undefined;
|
|
262
288
|
oAuthCallbackUri?: string | undefined;
|
|
263
289
|
hasMissingParameters?: boolean | undefined;
|
|
264
290
|
hasDocumentation?: boolean | undefined;
|
|
@@ -270,13 +296,23 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
270
296
|
eventsCount?: number | undefined;
|
|
271
297
|
hasGlobalWebhooks?: boolean | undefined;
|
|
272
298
|
hasUdm?: boolean | undefined;
|
|
299
|
+
isTest?: boolean | undefined;
|
|
273
300
|
appUuid?: string | undefined;
|
|
274
301
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
275
302
|
spec?: any;
|
|
303
|
+
authOptions?: {
|
|
304
|
+
key: string;
|
|
305
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
306
|
+
description?: string | undefined;
|
|
307
|
+
title?: string | undefined;
|
|
308
|
+
ui?: {
|
|
309
|
+
schema?: any;
|
|
310
|
+
helpUri?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
}[] | undefined;
|
|
276
313
|
}, {
|
|
277
314
|
id: string;
|
|
278
315
|
name: string;
|
|
279
|
-
baseUri: string;
|
|
280
316
|
logoUri: string;
|
|
281
317
|
key?: string | undefined;
|
|
282
318
|
connection?: {
|
|
@@ -286,45 +322,32 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
286
322
|
updatedAt: string;
|
|
287
323
|
userId: string;
|
|
288
324
|
integrationId: string;
|
|
289
|
-
error?:
|
|
325
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
290
326
|
state?: import("..").WorkspaceElementState | undefined;
|
|
291
|
-
errors?:
|
|
292
|
-
isDeactivated?: boolean | undefined;
|
|
327
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
293
328
|
archivedAt?: string | undefined;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
connectorParameters?: unknown;
|
|
329
|
+
isDeactivated?: boolean | undefined;
|
|
330
|
+
authOptionKey?: string | undefined;
|
|
297
331
|
isTest?: boolean | undefined;
|
|
332
|
+
meta?: Record<string, any> | undefined;
|
|
298
333
|
disconnected?: boolean | undefined;
|
|
299
334
|
isDefunct?: boolean | undefined;
|
|
300
335
|
lastActiveAt?: string | undefined;
|
|
301
336
|
nextCredentialsRefreshAt?: string | undefined;
|
|
302
|
-
meta?: Record<string, any> | undefined;
|
|
303
337
|
} | undefined;
|
|
304
338
|
uuid?: string | undefined;
|
|
305
339
|
description?: string | undefined;
|
|
306
340
|
state?: import("..").WorkspaceElementState | undefined;
|
|
307
|
-
errors?:
|
|
341
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
308
342
|
revision?: string | undefined;
|
|
309
|
-
isDeactivated?: boolean | undefined;
|
|
310
343
|
createdAt?: string | undefined;
|
|
311
344
|
updatedAt?: string | undefined;
|
|
312
345
|
archivedAt?: string | undefined;
|
|
346
|
+
isDeactivated?: boolean | undefined;
|
|
313
347
|
parameters?: any;
|
|
314
|
-
parametersSchema?:
|
|
315
|
-
isTest?: boolean | undefined;
|
|
348
|
+
parametersSchema?: DataSchema | undefined;
|
|
316
349
|
connectorId?: string | undefined;
|
|
317
350
|
connectorVersion?: string | undefined;
|
|
318
|
-
authOptions?: {
|
|
319
|
-
key: string;
|
|
320
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
321
|
-
description?: string | undefined;
|
|
322
|
-
title?: string | undefined;
|
|
323
|
-
ui?: {
|
|
324
|
-
schema?: any;
|
|
325
|
-
helpUri?: string | undefined;
|
|
326
|
-
} | undefined;
|
|
327
|
-
}[] | undefined;
|
|
328
351
|
oAuthCallbackUri?: string | undefined;
|
|
329
352
|
hasMissingParameters?: boolean | undefined;
|
|
330
353
|
hasDocumentation?: boolean | undefined;
|
|
@@ -336,9 +359,20 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
336
359
|
eventsCount?: number | undefined;
|
|
337
360
|
hasGlobalWebhooks?: boolean | undefined;
|
|
338
361
|
hasUdm?: boolean | undefined;
|
|
362
|
+
isTest?: boolean | undefined;
|
|
339
363
|
appUuid?: string | undefined;
|
|
340
364
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
341
365
|
spec?: any;
|
|
366
|
+
authOptions?: {
|
|
367
|
+
key: string;
|
|
368
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
369
|
+
description?: string | undefined;
|
|
370
|
+
title?: string | undefined;
|
|
371
|
+
ui?: {
|
|
372
|
+
schema?: any;
|
|
373
|
+
helpUri?: string | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
}[] | undefined;
|
|
342
376
|
}>;
|
|
343
377
|
export type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
344
378
|
export type Integration = IntegrationApiResponse;
|
|
@@ -243,16 +243,16 @@ export interface HandyScenarioTemplateElementApi {
|
|
|
243
243
|
}
|
|
244
244
|
export declare const ScenarioApiResponse: z.ZodObject<{
|
|
245
245
|
id: z.ZodString;
|
|
246
|
-
name: z.ZodString;
|
|
247
246
|
key: z.ZodOptional<z.ZodString>;
|
|
248
247
|
uuid: z.ZodOptional<z.ZodString>;
|
|
249
248
|
description: z.ZodOptional<z.ZodString>;
|
|
249
|
+
name: z.ZodString;
|
|
250
250
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
251
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
251
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
252
252
|
revision: z.ZodOptional<z.ZodString>;
|
|
253
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
254
253
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
255
254
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
255
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
256
256
|
} & {
|
|
257
257
|
appId: z.ZodString;
|
|
258
258
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
@@ -302,12 +302,12 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
302
302
|
} & {
|
|
303
303
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
304
|
id: z.ZodString;
|
|
305
|
-
name: z.ZodString;
|
|
306
305
|
key: z.ZodOptional<z.ZodString>;
|
|
307
306
|
uuid: z.ZodOptional<z.ZodString>;
|
|
308
307
|
description: z.ZodOptional<z.ZodString>;
|
|
308
|
+
name: z.ZodString;
|
|
309
309
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
310
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
310
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
311
311
|
revision: z.ZodOptional<z.ZodString>;
|
|
312
312
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
313
313
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -315,44 +315,8 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
315
315
|
logoUri: z.ZodString;
|
|
316
316
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
317
317
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
318
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
|
-
key: z.ZodString;
|
|
320
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
321
|
-
title: z.ZodOptional<z.ZodString>;
|
|
322
|
-
description: z.ZodOptional<z.ZodString>;
|
|
323
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
324
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
325
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
schema?: any;
|
|
328
|
-
helpUri?: string | undefined;
|
|
329
|
-
}, {
|
|
330
|
-
schema?: any;
|
|
331
|
-
helpUri?: string | undefined;
|
|
332
|
-
}>>;
|
|
333
|
-
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
key: string;
|
|
335
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
336
|
-
description?: string | undefined;
|
|
337
|
-
title?: string | undefined;
|
|
338
|
-
ui?: {
|
|
339
|
-
schema?: any;
|
|
340
|
-
helpUri?: string | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
key: string;
|
|
344
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
345
|
-
description?: string | undefined;
|
|
346
|
-
title?: string | undefined;
|
|
347
|
-
ui?: {
|
|
348
|
-
schema?: any;
|
|
349
|
-
helpUri?: string | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
}>, "many">>;
|
|
352
318
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
353
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
354
319
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
355
|
-
baseUri: z.ZodString;
|
|
356
320
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
357
321
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
358
322
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -371,33 +335,20 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
371
335
|
}, "strip", z.ZodTypeAny, {
|
|
372
336
|
id: string;
|
|
373
337
|
name: string;
|
|
374
|
-
baseUri: string;
|
|
375
338
|
logoUri: string;
|
|
376
339
|
key?: string | undefined;
|
|
377
340
|
uuid?: string | undefined;
|
|
378
341
|
description?: string | undefined;
|
|
379
342
|
state?: import("..").WorkspaceElementState | undefined;
|
|
380
|
-
errors?:
|
|
343
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
381
344
|
revision?: string | undefined;
|
|
382
|
-
isDeactivated?: boolean | undefined;
|
|
383
345
|
createdAt?: string | undefined;
|
|
384
346
|
updatedAt?: string | undefined;
|
|
385
347
|
archivedAt?: string | undefined;
|
|
348
|
+
isDeactivated?: boolean | undefined;
|
|
386
349
|
parameters?: any;
|
|
387
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
388
|
-
isTest?: boolean | undefined;
|
|
389
350
|
connectorId?: string | undefined;
|
|
390
351
|
connectorVersion?: string | undefined;
|
|
391
|
-
authOptions?: {
|
|
392
|
-
key: string;
|
|
393
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
394
|
-
description?: string | undefined;
|
|
395
|
-
title?: string | undefined;
|
|
396
|
-
ui?: {
|
|
397
|
-
schema?: any;
|
|
398
|
-
helpUri?: string | undefined;
|
|
399
|
-
} | undefined;
|
|
400
|
-
}[] | undefined;
|
|
401
352
|
oAuthCallbackUri?: string | undefined;
|
|
402
353
|
hasMissingParameters?: boolean | undefined;
|
|
403
354
|
hasDocumentation?: boolean | undefined;
|
|
@@ -409,38 +360,26 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
409
360
|
eventsCount?: number | undefined;
|
|
410
361
|
hasGlobalWebhooks?: boolean | undefined;
|
|
411
362
|
hasUdm?: boolean | undefined;
|
|
363
|
+
isTest?: boolean | undefined;
|
|
412
364
|
appUuid?: string | undefined;
|
|
413
365
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
414
366
|
}, {
|
|
415
367
|
id: string;
|
|
416
368
|
name: string;
|
|
417
|
-
baseUri: string;
|
|
418
369
|
logoUri: string;
|
|
419
370
|
key?: string | undefined;
|
|
420
371
|
uuid?: string | undefined;
|
|
421
372
|
description?: string | undefined;
|
|
422
373
|
state?: import("..").WorkspaceElementState | undefined;
|
|
423
|
-
errors?:
|
|
374
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
424
375
|
revision?: string | undefined;
|
|
425
|
-
isDeactivated?: boolean | undefined;
|
|
426
376
|
createdAt?: string | undefined;
|
|
427
377
|
updatedAt?: string | undefined;
|
|
428
378
|
archivedAt?: string | undefined;
|
|
379
|
+
isDeactivated?: boolean | undefined;
|
|
429
380
|
parameters?: any;
|
|
430
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
431
|
-
isTest?: boolean | undefined;
|
|
432
381
|
connectorId?: string | undefined;
|
|
433
382
|
connectorVersion?: string | undefined;
|
|
434
|
-
authOptions?: {
|
|
435
|
-
key: string;
|
|
436
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
437
|
-
description?: string | undefined;
|
|
438
|
-
title?: string | undefined;
|
|
439
|
-
ui?: {
|
|
440
|
-
schema?: any;
|
|
441
|
-
helpUri?: string | undefined;
|
|
442
|
-
} | undefined;
|
|
443
|
-
}[] | undefined;
|
|
444
383
|
oAuthCallbackUri?: string | undefined;
|
|
445
384
|
hasMissingParameters?: boolean | undefined;
|
|
446
385
|
hasDocumentation?: boolean | undefined;
|
|
@@ -452,6 +391,7 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
452
391
|
eventsCount?: number | undefined;
|
|
453
392
|
hasGlobalWebhooks?: boolean | undefined;
|
|
454
393
|
hasUdm?: boolean | undefined;
|
|
394
|
+
isTest?: boolean | undefined;
|
|
455
395
|
appUuid?: string | undefined;
|
|
456
396
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
457
397
|
}>, "many">>;
|
|
@@ -463,42 +403,29 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
463
403
|
uuid?: string | undefined;
|
|
464
404
|
description?: string | undefined;
|
|
465
405
|
state?: import("..").WorkspaceElementState | undefined;
|
|
466
|
-
errors?:
|
|
406
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
467
407
|
revision?: string | undefined;
|
|
468
|
-
isDeactivated?: boolean | undefined;
|
|
469
408
|
createdAt?: string | undefined;
|
|
470
409
|
updatedAt?: string | undefined;
|
|
471
410
|
archivedAt?: string | undefined;
|
|
411
|
+
isDeactivated?: boolean | undefined;
|
|
472
412
|
appliedToIntegrations?: {
|
|
473
413
|
id: string;
|
|
474
414
|
name: string;
|
|
475
|
-
baseUri: string;
|
|
476
415
|
logoUri: string;
|
|
477
416
|
key?: string | undefined;
|
|
478
417
|
uuid?: string | undefined;
|
|
479
418
|
description?: string | undefined;
|
|
480
419
|
state?: import("..").WorkspaceElementState | undefined;
|
|
481
|
-
errors?:
|
|
420
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
482
421
|
revision?: string | undefined;
|
|
483
|
-
isDeactivated?: boolean | undefined;
|
|
484
422
|
createdAt?: string | undefined;
|
|
485
423
|
updatedAt?: string | undefined;
|
|
486
424
|
archivedAt?: string | undefined;
|
|
425
|
+
isDeactivated?: boolean | undefined;
|
|
487
426
|
parameters?: any;
|
|
488
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
489
|
-
isTest?: boolean | undefined;
|
|
490
427
|
connectorId?: string | undefined;
|
|
491
428
|
connectorVersion?: string | undefined;
|
|
492
|
-
authOptions?: {
|
|
493
|
-
key: string;
|
|
494
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
495
|
-
description?: string | undefined;
|
|
496
|
-
title?: string | undefined;
|
|
497
|
-
ui?: {
|
|
498
|
-
schema?: any;
|
|
499
|
-
helpUri?: string | undefined;
|
|
500
|
-
} | undefined;
|
|
501
|
-
}[] | undefined;
|
|
502
429
|
oAuthCallbackUri?: string | undefined;
|
|
503
430
|
hasMissingParameters?: boolean | undefined;
|
|
504
431
|
hasDocumentation?: boolean | undefined;
|
|
@@ -510,6 +437,7 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
510
437
|
eventsCount?: number | undefined;
|
|
511
438
|
hasGlobalWebhooks?: boolean | undefined;
|
|
512
439
|
hasUdm?: boolean | undefined;
|
|
440
|
+
isTest?: boolean | undefined;
|
|
513
441
|
appUuid?: string | undefined;
|
|
514
442
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
515
443
|
}[] | undefined;
|
|
@@ -538,42 +466,29 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
538
466
|
uuid?: string | undefined;
|
|
539
467
|
description?: string | undefined;
|
|
540
468
|
state?: import("..").WorkspaceElementState | undefined;
|
|
541
|
-
errors?:
|
|
469
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
542
470
|
revision?: string | undefined;
|
|
543
|
-
isDeactivated?: boolean | undefined;
|
|
544
471
|
createdAt?: string | undefined;
|
|
545
472
|
updatedAt?: string | undefined;
|
|
546
473
|
archivedAt?: string | undefined;
|
|
474
|
+
isDeactivated?: boolean | undefined;
|
|
547
475
|
appliedToIntegrations?: {
|
|
548
476
|
id: string;
|
|
549
477
|
name: string;
|
|
550
|
-
baseUri: string;
|
|
551
478
|
logoUri: string;
|
|
552
479
|
key?: string | undefined;
|
|
553
480
|
uuid?: string | undefined;
|
|
554
481
|
description?: string | undefined;
|
|
555
482
|
state?: import("..").WorkspaceElementState | undefined;
|
|
556
|
-
errors?:
|
|
483
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
557
484
|
revision?: string | undefined;
|
|
558
|
-
isDeactivated?: boolean | undefined;
|
|
559
485
|
createdAt?: string | undefined;
|
|
560
486
|
updatedAt?: string | undefined;
|
|
561
487
|
archivedAt?: string | undefined;
|
|
488
|
+
isDeactivated?: boolean | undefined;
|
|
562
489
|
parameters?: any;
|
|
563
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
564
|
-
isTest?: boolean | undefined;
|
|
565
490
|
connectorId?: string | undefined;
|
|
566
491
|
connectorVersion?: string | undefined;
|
|
567
|
-
authOptions?: {
|
|
568
|
-
key: string;
|
|
569
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
570
|
-
description?: string | undefined;
|
|
571
|
-
title?: string | undefined;
|
|
572
|
-
ui?: {
|
|
573
|
-
schema?: any;
|
|
574
|
-
helpUri?: string | undefined;
|
|
575
|
-
} | undefined;
|
|
576
|
-
}[] | undefined;
|
|
577
492
|
oAuthCallbackUri?: string | undefined;
|
|
578
493
|
hasMissingParameters?: boolean | undefined;
|
|
579
494
|
hasDocumentation?: boolean | undefined;
|
|
@@ -585,6 +500,7 @@ export declare const ScenarioApiResponse: z.ZodObject<{
|
|
|
585
500
|
eventsCount?: number | undefined;
|
|
586
501
|
hasGlobalWebhooks?: boolean | undefined;
|
|
587
502
|
hasUdm?: boolean | undefined;
|
|
503
|
+
isTest?: boolean | undefined;
|
|
588
504
|
appUuid?: string | undefined;
|
|
589
505
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
590
506
|
}[] | undefined;
|