@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
|
@@ -62,7 +62,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
62
62
|
} | undefined;
|
|
63
63
|
}>>;
|
|
64
64
|
status: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus>>;
|
|
65
|
-
error:
|
|
65
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
66
66
|
isRealTime: z.ZodOptional<z.ZodBoolean>;
|
|
67
67
|
requiresPull: z.ZodOptional<z.ZodBoolean>;
|
|
68
68
|
requiresFullSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -118,11 +118,9 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
118
118
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
119
119
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
120
120
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
-
error:
|
|
121
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
122
122
|
integrationId: z.ZodString;
|
|
123
|
-
|
|
124
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
125
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
123
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
126
124
|
createdAt: z.ZodString;
|
|
127
125
|
updatedAt: z.ZodString;
|
|
128
126
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -130,7 +128,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
130
128
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
131
129
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
132
130
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
133
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
131
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
134
132
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
135
133
|
}, "strip", z.ZodTypeAny, {
|
|
136
134
|
id: string;
|
|
@@ -139,20 +137,18 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
139
137
|
updatedAt: string;
|
|
140
138
|
userId: string;
|
|
141
139
|
integrationId: string;
|
|
142
|
-
error?:
|
|
140
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
143
141
|
state?: import("..").WorkspaceElementState | undefined;
|
|
144
|
-
errors?:
|
|
145
|
-
isDeactivated?: boolean | undefined;
|
|
142
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
146
143
|
archivedAt?: string | undefined;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
connectorParameters?: unknown;
|
|
144
|
+
isDeactivated?: boolean | undefined;
|
|
145
|
+
authOptionKey?: string | undefined;
|
|
150
146
|
isTest?: boolean | undefined;
|
|
147
|
+
meta?: Record<string, any> | undefined;
|
|
151
148
|
disconnected?: boolean | undefined;
|
|
152
149
|
isDefunct?: boolean | undefined;
|
|
153
150
|
lastActiveAt?: string | undefined;
|
|
154
151
|
nextCredentialsRefreshAt?: string | undefined;
|
|
155
|
-
meta?: Record<string, any> | undefined;
|
|
156
152
|
}, {
|
|
157
153
|
id: string;
|
|
158
154
|
name: string;
|
|
@@ -160,29 +156,27 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
160
156
|
updatedAt: string;
|
|
161
157
|
userId: string;
|
|
162
158
|
integrationId: string;
|
|
163
|
-
error?:
|
|
159
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
164
160
|
state?: import("..").WorkspaceElementState | undefined;
|
|
165
|
-
errors?:
|
|
166
|
-
isDeactivated?: boolean | undefined;
|
|
161
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
167
162
|
archivedAt?: string | undefined;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
connectorParameters?: unknown;
|
|
163
|
+
isDeactivated?: boolean | undefined;
|
|
164
|
+
authOptionKey?: string | undefined;
|
|
171
165
|
isTest?: boolean | undefined;
|
|
166
|
+
meta?: Record<string, any> | undefined;
|
|
172
167
|
disconnected?: boolean | undefined;
|
|
173
168
|
isDefunct?: boolean | undefined;
|
|
174
169
|
lastActiveAt?: string | undefined;
|
|
175
170
|
nextCredentialsRefreshAt?: string | undefined;
|
|
176
|
-
meta?: Record<string, any> | undefined;
|
|
177
171
|
}>>;
|
|
178
172
|
integration: z.ZodOptional<z.ZodObject<{
|
|
179
173
|
id: z.ZodString;
|
|
180
|
-
name: z.ZodString;
|
|
181
174
|
key: z.ZodOptional<z.ZodString>;
|
|
182
175
|
uuid: z.ZodOptional<z.ZodString>;
|
|
183
176
|
description: z.ZodOptional<z.ZodString>;
|
|
177
|
+
name: z.ZodString;
|
|
184
178
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
185
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
179
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
186
180
|
revision: z.ZodOptional<z.ZodString>;
|
|
187
181
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
188
182
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -190,44 +184,8 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
190
184
|
logoUri: z.ZodString;
|
|
191
185
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
192
186
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
193
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
194
|
-
key: z.ZodString;
|
|
195
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
196
|
-
title: z.ZodOptional<z.ZodString>;
|
|
197
|
-
description: z.ZodOptional<z.ZodString>;
|
|
198
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
199
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
200
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
schema?: any;
|
|
203
|
-
helpUri?: string | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
schema?: any;
|
|
206
|
-
helpUri?: string | undefined;
|
|
207
|
-
}>>;
|
|
208
|
-
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
key: string;
|
|
210
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
211
|
-
description?: string | undefined;
|
|
212
|
-
title?: string | undefined;
|
|
213
|
-
ui?: {
|
|
214
|
-
schema?: any;
|
|
215
|
-
helpUri?: string | undefined;
|
|
216
|
-
} | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
key: string;
|
|
219
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
220
|
-
description?: string | undefined;
|
|
221
|
-
title?: string | undefined;
|
|
222
|
-
ui?: {
|
|
223
|
-
schema?: any;
|
|
224
|
-
helpUri?: string | undefined;
|
|
225
|
-
} | undefined;
|
|
226
|
-
}>, "many">>;
|
|
227
187
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
228
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
229
188
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
230
|
-
baseUri: z.ZodString;
|
|
231
189
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
232
190
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
233
191
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -246,33 +204,20 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
246
204
|
}, "strip", z.ZodTypeAny, {
|
|
247
205
|
id: string;
|
|
248
206
|
name: string;
|
|
249
|
-
baseUri: string;
|
|
250
207
|
logoUri: string;
|
|
251
208
|
key?: string | undefined;
|
|
252
209
|
uuid?: string | undefined;
|
|
253
210
|
description?: string | undefined;
|
|
254
211
|
state?: import("..").WorkspaceElementState | undefined;
|
|
255
|
-
errors?:
|
|
212
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
256
213
|
revision?: string | undefined;
|
|
257
|
-
isDeactivated?: boolean | undefined;
|
|
258
214
|
createdAt?: string | undefined;
|
|
259
215
|
updatedAt?: string | undefined;
|
|
260
216
|
archivedAt?: string | undefined;
|
|
217
|
+
isDeactivated?: boolean | undefined;
|
|
261
218
|
parameters?: any;
|
|
262
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
263
|
-
isTest?: boolean | undefined;
|
|
264
219
|
connectorId?: string | undefined;
|
|
265
220
|
connectorVersion?: string | undefined;
|
|
266
|
-
authOptions?: {
|
|
267
|
-
key: string;
|
|
268
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
269
|
-
description?: string | undefined;
|
|
270
|
-
title?: string | undefined;
|
|
271
|
-
ui?: {
|
|
272
|
-
schema?: any;
|
|
273
|
-
helpUri?: string | undefined;
|
|
274
|
-
} | undefined;
|
|
275
|
-
}[] | undefined;
|
|
276
221
|
oAuthCallbackUri?: string | undefined;
|
|
277
222
|
hasMissingParameters?: boolean | undefined;
|
|
278
223
|
hasDocumentation?: boolean | undefined;
|
|
@@ -284,38 +229,26 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
284
229
|
eventsCount?: number | undefined;
|
|
285
230
|
hasGlobalWebhooks?: boolean | undefined;
|
|
286
231
|
hasUdm?: boolean | undefined;
|
|
232
|
+
isTest?: boolean | undefined;
|
|
287
233
|
appUuid?: string | undefined;
|
|
288
234
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
289
235
|
}, {
|
|
290
236
|
id: string;
|
|
291
237
|
name: string;
|
|
292
|
-
baseUri: string;
|
|
293
238
|
logoUri: string;
|
|
294
239
|
key?: string | undefined;
|
|
295
240
|
uuid?: string | undefined;
|
|
296
241
|
description?: string | undefined;
|
|
297
242
|
state?: import("..").WorkspaceElementState | undefined;
|
|
298
|
-
errors?:
|
|
243
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
299
244
|
revision?: string | undefined;
|
|
300
|
-
isDeactivated?: boolean | undefined;
|
|
301
245
|
createdAt?: string | undefined;
|
|
302
246
|
updatedAt?: string | undefined;
|
|
303
247
|
archivedAt?: string | undefined;
|
|
248
|
+
isDeactivated?: boolean | undefined;
|
|
304
249
|
parameters?: any;
|
|
305
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
306
|
-
isTest?: boolean | undefined;
|
|
307
250
|
connectorId?: string | undefined;
|
|
308
251
|
connectorVersion?: string | undefined;
|
|
309
|
-
authOptions?: {
|
|
310
|
-
key: string;
|
|
311
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
312
|
-
description?: string | undefined;
|
|
313
|
-
title?: string | undefined;
|
|
314
|
-
ui?: {
|
|
315
|
-
schema?: any;
|
|
316
|
-
helpUri?: string | undefined;
|
|
317
|
-
} | undefined;
|
|
318
|
-
}[] | undefined;
|
|
319
252
|
oAuthCallbackUri?: string | undefined;
|
|
320
253
|
hasMissingParameters?: boolean | undefined;
|
|
321
254
|
hasDocumentation?: boolean | undefined;
|
|
@@ -327,6 +260,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
327
260
|
eventsCount?: number | undefined;
|
|
328
261
|
hasGlobalWebhooks?: boolean | undefined;
|
|
329
262
|
hasUdm?: boolean | undefined;
|
|
263
|
+
isTest?: boolean | undefined;
|
|
330
264
|
appUuid?: string | undefined;
|
|
331
265
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
332
266
|
}>>;
|
|
@@ -342,53 +276,38 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
342
276
|
updatedAt: string;
|
|
343
277
|
userId: string;
|
|
344
278
|
integrationId: string;
|
|
345
|
-
error?:
|
|
279
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
346
280
|
state?: import("..").WorkspaceElementState | undefined;
|
|
347
|
-
errors?:
|
|
348
|
-
isDeactivated?: boolean | undefined;
|
|
281
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
349
282
|
archivedAt?: string | undefined;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
connectorParameters?: unknown;
|
|
283
|
+
isDeactivated?: boolean | undefined;
|
|
284
|
+
authOptionKey?: string | undefined;
|
|
353
285
|
isTest?: boolean | undefined;
|
|
286
|
+
meta?: Record<string, any> | undefined;
|
|
354
287
|
disconnected?: boolean | undefined;
|
|
355
288
|
isDefunct?: boolean | undefined;
|
|
356
289
|
lastActiveAt?: string | undefined;
|
|
357
290
|
nextCredentialsRefreshAt?: string | undefined;
|
|
358
|
-
meta?: Record<string, any> | undefined;
|
|
359
291
|
} | undefined;
|
|
360
292
|
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
361
|
-
error?:
|
|
293
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
362
294
|
integration?: {
|
|
363
295
|
id: string;
|
|
364
296
|
name: string;
|
|
365
|
-
baseUri: string;
|
|
366
297
|
logoUri: string;
|
|
367
298
|
key?: string | undefined;
|
|
368
299
|
uuid?: string | undefined;
|
|
369
300
|
description?: string | undefined;
|
|
370
301
|
state?: import("..").WorkspaceElementState | undefined;
|
|
371
|
-
errors?:
|
|
302
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
372
303
|
revision?: string | undefined;
|
|
373
|
-
isDeactivated?: boolean | undefined;
|
|
374
304
|
createdAt?: string | undefined;
|
|
375
305
|
updatedAt?: string | undefined;
|
|
376
306
|
archivedAt?: string | undefined;
|
|
307
|
+
isDeactivated?: boolean | undefined;
|
|
377
308
|
parameters?: any;
|
|
378
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
379
|
-
isTest?: boolean | undefined;
|
|
380
309
|
connectorId?: string | undefined;
|
|
381
310
|
connectorVersion?: string | undefined;
|
|
382
|
-
authOptions?: {
|
|
383
|
-
key: string;
|
|
384
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
385
|
-
description?: string | undefined;
|
|
386
|
-
title?: string | undefined;
|
|
387
|
-
ui?: {
|
|
388
|
-
schema?: any;
|
|
389
|
-
helpUri?: string | undefined;
|
|
390
|
-
} | undefined;
|
|
391
|
-
}[] | undefined;
|
|
392
311
|
oAuthCallbackUri?: string | undefined;
|
|
393
312
|
hasMissingParameters?: boolean | undefined;
|
|
394
313
|
hasDocumentation?: boolean | undefined;
|
|
@@ -400,6 +319,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
400
319
|
eventsCount?: number | undefined;
|
|
401
320
|
hasGlobalWebhooks?: boolean | undefined;
|
|
402
321
|
hasUdm?: boolean | undefined;
|
|
322
|
+
isTest?: boolean | undefined;
|
|
403
323
|
appUuid?: string | undefined;
|
|
404
324
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
405
325
|
} | undefined;
|
|
@@ -454,53 +374,38 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
454
374
|
updatedAt: string;
|
|
455
375
|
userId: string;
|
|
456
376
|
integrationId: string;
|
|
457
|
-
error?:
|
|
377
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
458
378
|
state?: import("..").WorkspaceElementState | undefined;
|
|
459
|
-
errors?:
|
|
460
|
-
isDeactivated?: boolean | undefined;
|
|
379
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
461
380
|
archivedAt?: string | undefined;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
connectorParameters?: unknown;
|
|
381
|
+
isDeactivated?: boolean | undefined;
|
|
382
|
+
authOptionKey?: string | undefined;
|
|
465
383
|
isTest?: boolean | undefined;
|
|
384
|
+
meta?: Record<string, any> | undefined;
|
|
466
385
|
disconnected?: boolean | undefined;
|
|
467
386
|
isDefunct?: boolean | undefined;
|
|
468
387
|
lastActiveAt?: string | undefined;
|
|
469
388
|
nextCredentialsRefreshAt?: string | undefined;
|
|
470
|
-
meta?: Record<string, any> | undefined;
|
|
471
389
|
} | undefined;
|
|
472
390
|
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
473
|
-
error?:
|
|
391
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
474
392
|
integration?: {
|
|
475
393
|
id: string;
|
|
476
394
|
name: string;
|
|
477
|
-
baseUri: string;
|
|
478
395
|
logoUri: string;
|
|
479
396
|
key?: string | undefined;
|
|
480
397
|
uuid?: string | undefined;
|
|
481
398
|
description?: string | undefined;
|
|
482
399
|
state?: import("..").WorkspaceElementState | undefined;
|
|
483
|
-
errors?:
|
|
400
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
484
401
|
revision?: string | undefined;
|
|
485
|
-
isDeactivated?: boolean | undefined;
|
|
486
402
|
createdAt?: string | undefined;
|
|
487
403
|
updatedAt?: string | undefined;
|
|
488
404
|
archivedAt?: string | undefined;
|
|
405
|
+
isDeactivated?: boolean | undefined;
|
|
489
406
|
parameters?: any;
|
|
490
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
491
|
-
isTest?: boolean | undefined;
|
|
492
407
|
connectorId?: string | undefined;
|
|
493
408
|
connectorVersion?: string | undefined;
|
|
494
|
-
authOptions?: {
|
|
495
|
-
key: string;
|
|
496
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
497
|
-
description?: string | undefined;
|
|
498
|
-
title?: string | undefined;
|
|
499
|
-
ui?: {
|
|
500
|
-
schema?: any;
|
|
501
|
-
helpUri?: string | undefined;
|
|
502
|
-
} | undefined;
|
|
503
|
-
}[] | undefined;
|
|
504
409
|
oAuthCallbackUri?: string | undefined;
|
|
505
410
|
hasMissingParameters?: boolean | undefined;
|
|
506
411
|
hasDocumentation?: boolean | undefined;
|
|
@@ -512,6 +417,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
512
417
|
eventsCount?: number | undefined;
|
|
513
418
|
hasGlobalWebhooks?: boolean | undefined;
|
|
514
419
|
hasUdm?: boolean | undefined;
|
|
420
|
+
isTest?: boolean | undefined;
|
|
515
421
|
appUuid?: string | undefined;
|
|
516
422
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
517
423
|
} | undefined;
|