@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
|
@@ -11,19 +11,19 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
11
11
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
cursor: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
integrationId?: string | undefined;
|
|
14
15
|
includeArchived?: boolean | undefined;
|
|
15
16
|
limit?: number | undefined;
|
|
16
17
|
cursor?: string | undefined;
|
|
17
18
|
userId?: string | undefined;
|
|
18
|
-
integrationId?: string | undefined;
|
|
19
19
|
integrationKey?: string | undefined;
|
|
20
20
|
isTest?: boolean | undefined;
|
|
21
21
|
}, {
|
|
22
|
+
integrationId?: string | undefined;
|
|
22
23
|
includeArchived?: unknown;
|
|
23
24
|
limit?: number | undefined;
|
|
24
25
|
cursor?: string | undefined;
|
|
25
26
|
userId?: string | undefined;
|
|
26
|
-
integrationId?: string | undefined;
|
|
27
27
|
integrationKey?: string | undefined;
|
|
28
28
|
isTest?: unknown;
|
|
29
29
|
}>;
|
|
@@ -65,13 +65,13 @@ export declare const ConnectionSelector: z.ZodObject<{
|
|
|
65
65
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
id?: string | undefined;
|
|
68
|
-
connectionId?: string | undefined;
|
|
69
68
|
integrationId?: string | undefined;
|
|
69
|
+
connectionId?: string | undefined;
|
|
70
70
|
integrationKey?: string | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
id?: string | undefined;
|
|
73
|
-
connectionId?: string | undefined;
|
|
74
73
|
integrationId?: string | undefined;
|
|
74
|
+
connectionId?: string | undefined;
|
|
75
75
|
integrationKey?: string | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
export type ConnectionSelector = z.infer<typeof ConnectionSelector>;
|
|
@@ -83,6 +83,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
83
83
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
84
84
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
85
85
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
86
87
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
87
88
|
integrationId: z.ZodString;
|
|
88
89
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -92,13 +93,12 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
92
93
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
93
94
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
94
95
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
96
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
97
96
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
98
97
|
} & {
|
|
99
98
|
user: z.ZodOptional<z.ZodObject<{
|
|
100
99
|
id: z.ZodString;
|
|
101
100
|
name: z.ZodString;
|
|
101
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
102
102
|
internalId: z.ZodString;
|
|
103
103
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
104
104
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -111,6 +111,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
111
111
|
id: string;
|
|
112
112
|
name: string;
|
|
113
113
|
internalId: string;
|
|
114
|
+
meta?: Record<string, any> | undefined;
|
|
114
115
|
createdAt?: string | undefined;
|
|
115
116
|
archivedAt?: string | undefined;
|
|
116
117
|
credentials?: any;
|
|
@@ -122,6 +123,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
122
123
|
id: string;
|
|
123
124
|
name: string;
|
|
124
125
|
internalId: string;
|
|
126
|
+
meta?: Record<string, any> | undefined;
|
|
125
127
|
createdAt?: string | undefined;
|
|
126
128
|
archivedAt?: string | undefined;
|
|
127
129
|
credentials?: any;
|
|
@@ -135,6 +137,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
135
137
|
key: z.ZodOptional<z.ZodString>;
|
|
136
138
|
uuid: z.ZodOptional<z.ZodString>;
|
|
137
139
|
description: z.ZodOptional<z.ZodString>;
|
|
140
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
138
141
|
name: z.ZodString;
|
|
139
142
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
140
143
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
@@ -169,6 +172,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
169
172
|
key?: string | undefined;
|
|
170
173
|
uuid?: string | undefined;
|
|
171
174
|
description?: string | undefined;
|
|
175
|
+
meta?: Record<string, any> | undefined;
|
|
172
176
|
state?: import("..").WorkspaceElementState | undefined;
|
|
173
177
|
errors?: ErrorDataSchema[] | undefined;
|
|
174
178
|
revision?: string | undefined;
|
|
@@ -200,6 +204,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
200
204
|
key?: string | undefined;
|
|
201
205
|
uuid?: string | undefined;
|
|
202
206
|
description?: string | undefined;
|
|
207
|
+
meta?: Record<string, any> | undefined;
|
|
203
208
|
state?: import("..").WorkspaceElementState | undefined;
|
|
204
209
|
errors?: ErrorDataSchema[] | undefined;
|
|
205
210
|
revision?: string | undefined;
|
|
@@ -230,8 +235,8 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
230
235
|
name: string;
|
|
231
236
|
createdAt: string;
|
|
232
237
|
updatedAt: string;
|
|
233
|
-
userId: string;
|
|
234
238
|
integrationId: string;
|
|
239
|
+
userId: string;
|
|
235
240
|
error?: ErrorDataSchema | undefined;
|
|
236
241
|
integration?: {
|
|
237
242
|
id: string;
|
|
@@ -240,6 +245,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
240
245
|
key?: string | undefined;
|
|
241
246
|
uuid?: string | undefined;
|
|
242
247
|
description?: string | undefined;
|
|
248
|
+
meta?: Record<string, any> | undefined;
|
|
243
249
|
state?: import("..").WorkspaceElementState | undefined;
|
|
244
250
|
errors?: ErrorDataSchema[] | undefined;
|
|
245
251
|
revision?: string | undefined;
|
|
@@ -265,8 +271,8 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
265
271
|
appUuid?: string | undefined;
|
|
266
272
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
267
273
|
} | undefined;
|
|
274
|
+
meta?: Record<string, any> | undefined;
|
|
268
275
|
state?: import("..").WorkspaceElementState | undefined;
|
|
269
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
270
276
|
archivedAt?: string | undefined;
|
|
271
277
|
isDeactivated?: boolean | undefined;
|
|
272
278
|
authOptionKey?: string | undefined;
|
|
@@ -274,6 +280,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
274
280
|
id: string;
|
|
275
281
|
name: string;
|
|
276
282
|
internalId: string;
|
|
283
|
+
meta?: Record<string, any> | undefined;
|
|
277
284
|
createdAt?: string | undefined;
|
|
278
285
|
archivedAt?: string | undefined;
|
|
279
286
|
credentials?: any;
|
|
@@ -283,7 +290,6 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
283
290
|
isBillable?: boolean | undefined;
|
|
284
291
|
} | undefined;
|
|
285
292
|
isTest?: boolean | undefined;
|
|
286
|
-
meta?: Record<string, any> | undefined;
|
|
287
293
|
disconnected?: boolean | undefined;
|
|
288
294
|
isDefunct?: boolean | undefined;
|
|
289
295
|
lastActiveAt?: string | undefined;
|
|
@@ -293,8 +299,8 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
293
299
|
name: string;
|
|
294
300
|
createdAt: string;
|
|
295
301
|
updatedAt: string;
|
|
296
|
-
userId: string;
|
|
297
302
|
integrationId: string;
|
|
303
|
+
userId: string;
|
|
298
304
|
error?: ErrorDataSchema | undefined;
|
|
299
305
|
integration?: {
|
|
300
306
|
id: string;
|
|
@@ -303,6 +309,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
303
309
|
key?: string | undefined;
|
|
304
310
|
uuid?: string | undefined;
|
|
305
311
|
description?: string | undefined;
|
|
312
|
+
meta?: Record<string, any> | undefined;
|
|
306
313
|
state?: import("..").WorkspaceElementState | undefined;
|
|
307
314
|
errors?: ErrorDataSchema[] | undefined;
|
|
308
315
|
revision?: string | undefined;
|
|
@@ -328,8 +335,8 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
328
335
|
appUuid?: string | undefined;
|
|
329
336
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
330
337
|
} | undefined;
|
|
338
|
+
meta?: Record<string, any> | undefined;
|
|
331
339
|
state?: import("..").WorkspaceElementState | undefined;
|
|
332
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
333
340
|
archivedAt?: string | undefined;
|
|
334
341
|
isDeactivated?: boolean | undefined;
|
|
335
342
|
authOptionKey?: string | undefined;
|
|
@@ -337,6 +344,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
337
344
|
id: string;
|
|
338
345
|
name: string;
|
|
339
346
|
internalId: string;
|
|
347
|
+
meta?: Record<string, any> | undefined;
|
|
340
348
|
createdAt?: string | undefined;
|
|
341
349
|
archivedAt?: string | undefined;
|
|
342
350
|
credentials?: any;
|
|
@@ -346,7 +354,6 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
346
354
|
isBillable?: boolean | undefined;
|
|
347
355
|
} | undefined;
|
|
348
356
|
isTest?: boolean | undefined;
|
|
349
|
-
meta?: Record<string, any> | undefined;
|
|
350
357
|
disconnected?: boolean | undefined;
|
|
351
358
|
isDefunct?: boolean | undefined;
|
|
352
359
|
lastActiveAt?: string | undefined;
|
|
@@ -361,6 +368,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
361
368
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
362
369
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
363
370
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
371
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
364
372
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
365
373
|
integrationId: z.ZodString;
|
|
366
374
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -370,13 +378,12 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
370
378
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
371
379
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
372
380
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
374
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
375
381
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
376
382
|
} & {
|
|
377
383
|
user: z.ZodOptional<z.ZodObject<{
|
|
378
384
|
id: z.ZodString;
|
|
379
385
|
name: z.ZodString;
|
|
386
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
380
387
|
internalId: z.ZodString;
|
|
381
388
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
382
389
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -389,6 +396,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
389
396
|
id: string;
|
|
390
397
|
name: string;
|
|
391
398
|
internalId: string;
|
|
399
|
+
meta?: Record<string, any> | undefined;
|
|
392
400
|
createdAt?: string | undefined;
|
|
393
401
|
archivedAt?: string | undefined;
|
|
394
402
|
credentials?: any;
|
|
@@ -400,6 +408,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
400
408
|
id: string;
|
|
401
409
|
name: string;
|
|
402
410
|
internalId: string;
|
|
411
|
+
meta?: Record<string, any> | undefined;
|
|
403
412
|
createdAt?: string | undefined;
|
|
404
413
|
archivedAt?: string | undefined;
|
|
405
414
|
credentials?: any;
|
|
@@ -413,6 +422,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
413
422
|
key: z.ZodOptional<z.ZodString>;
|
|
414
423
|
uuid: z.ZodOptional<z.ZodString>;
|
|
415
424
|
description: z.ZodOptional<z.ZodString>;
|
|
425
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
416
426
|
name: z.ZodString;
|
|
417
427
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
418
428
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
@@ -447,6 +457,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
447
457
|
key?: string | undefined;
|
|
448
458
|
uuid?: string | undefined;
|
|
449
459
|
description?: string | undefined;
|
|
460
|
+
meta?: Record<string, any> | undefined;
|
|
450
461
|
state?: import("..").WorkspaceElementState | undefined;
|
|
451
462
|
errors?: ErrorDataSchema[] | undefined;
|
|
452
463
|
revision?: string | undefined;
|
|
@@ -478,6 +489,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
478
489
|
key?: string | undefined;
|
|
479
490
|
uuid?: string | undefined;
|
|
480
491
|
description?: string | undefined;
|
|
492
|
+
meta?: Record<string, any> | undefined;
|
|
481
493
|
state?: import("..").WorkspaceElementState | undefined;
|
|
482
494
|
errors?: ErrorDataSchema[] | undefined;
|
|
483
495
|
revision?: string | undefined;
|
|
@@ -512,8 +524,8 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
512
524
|
name: string;
|
|
513
525
|
createdAt: string;
|
|
514
526
|
updatedAt: string;
|
|
515
|
-
userId: string;
|
|
516
527
|
integrationId: string;
|
|
528
|
+
userId: string;
|
|
517
529
|
error?: ErrorDataSchema | undefined;
|
|
518
530
|
integration?: {
|
|
519
531
|
id: string;
|
|
@@ -522,6 +534,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
522
534
|
key?: string | undefined;
|
|
523
535
|
uuid?: string | undefined;
|
|
524
536
|
description?: string | undefined;
|
|
537
|
+
meta?: Record<string, any> | undefined;
|
|
525
538
|
state?: import("..").WorkspaceElementState | undefined;
|
|
526
539
|
errors?: ErrorDataSchema[] | undefined;
|
|
527
540
|
revision?: string | undefined;
|
|
@@ -547,8 +560,8 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
547
560
|
appUuid?: string | undefined;
|
|
548
561
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
549
562
|
} | undefined;
|
|
563
|
+
meta?: Record<string, any> | undefined;
|
|
550
564
|
state?: import("..").WorkspaceElementState | undefined;
|
|
551
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
552
565
|
archivedAt?: string | undefined;
|
|
553
566
|
isDeactivated?: boolean | undefined;
|
|
554
567
|
credentials?: unknown;
|
|
@@ -559,6 +572,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
559
572
|
id: string;
|
|
560
573
|
name: string;
|
|
561
574
|
internalId: string;
|
|
575
|
+
meta?: Record<string, any> | undefined;
|
|
562
576
|
createdAt?: string | undefined;
|
|
563
577
|
archivedAt?: string | undefined;
|
|
564
578
|
credentials?: any;
|
|
@@ -568,7 +582,6 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
568
582
|
isBillable?: boolean | undefined;
|
|
569
583
|
} | undefined;
|
|
570
584
|
isTest?: boolean | undefined;
|
|
571
|
-
meta?: Record<string, any> | undefined;
|
|
572
585
|
disconnected?: boolean | undefined;
|
|
573
586
|
isDefunct?: boolean | undefined;
|
|
574
587
|
lastActiveAt?: string | undefined;
|
|
@@ -578,8 +591,8 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
578
591
|
name: string;
|
|
579
592
|
createdAt: string;
|
|
580
593
|
updatedAt: string;
|
|
581
|
-
userId: string;
|
|
582
594
|
integrationId: string;
|
|
595
|
+
userId: string;
|
|
583
596
|
error?: ErrorDataSchema | undefined;
|
|
584
597
|
integration?: {
|
|
585
598
|
id: string;
|
|
@@ -588,6 +601,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
588
601
|
key?: string | undefined;
|
|
589
602
|
uuid?: string | undefined;
|
|
590
603
|
description?: string | undefined;
|
|
604
|
+
meta?: Record<string, any> | undefined;
|
|
591
605
|
state?: import("..").WorkspaceElementState | undefined;
|
|
592
606
|
errors?: ErrorDataSchema[] | undefined;
|
|
593
607
|
revision?: string | undefined;
|
|
@@ -613,8 +627,8 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
613
627
|
appUuid?: string | undefined;
|
|
614
628
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
615
629
|
} | undefined;
|
|
630
|
+
meta?: Record<string, any> | undefined;
|
|
616
631
|
state?: import("..").WorkspaceElementState | undefined;
|
|
617
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
618
632
|
archivedAt?: string | undefined;
|
|
619
633
|
isDeactivated?: boolean | undefined;
|
|
620
634
|
credentials?: unknown;
|
|
@@ -625,6 +639,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
625
639
|
id: string;
|
|
626
640
|
name: string;
|
|
627
641
|
internalId: string;
|
|
642
|
+
meta?: Record<string, any> | undefined;
|
|
628
643
|
createdAt?: string | undefined;
|
|
629
644
|
archivedAt?: string | undefined;
|
|
630
645
|
credentials?: any;
|
|
@@ -634,7 +649,6 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
634
649
|
isBillable?: boolean | undefined;
|
|
635
650
|
} | undefined;
|
|
636
651
|
isTest?: boolean | undefined;
|
|
637
|
-
meta?: Record<string, any> | undefined;
|
|
638
652
|
disconnected?: boolean | undefined;
|
|
639
653
|
isDefunct?: boolean | undefined;
|
|
640
654
|
lastActiveAt?: string | undefined;
|
|
@@ -654,6 +668,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
654
668
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
655
669
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
656
670
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
671
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
657
672
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
658
673
|
integrationId: z.ZodString;
|
|
659
674
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -663,13 +678,12 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
663
678
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
664
679
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
665
680
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
666
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
667
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
668
681
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
669
682
|
} & {
|
|
670
683
|
user: z.ZodOptional<z.ZodObject<{
|
|
671
684
|
id: z.ZodString;
|
|
672
685
|
name: z.ZodString;
|
|
686
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
673
687
|
internalId: z.ZodString;
|
|
674
688
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
675
689
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -682,6 +696,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
682
696
|
id: string;
|
|
683
697
|
name: string;
|
|
684
698
|
internalId: string;
|
|
699
|
+
meta?: Record<string, any> | undefined;
|
|
685
700
|
createdAt?: string | undefined;
|
|
686
701
|
archivedAt?: string | undefined;
|
|
687
702
|
credentials?: any;
|
|
@@ -693,6 +708,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
693
708
|
id: string;
|
|
694
709
|
name: string;
|
|
695
710
|
internalId: string;
|
|
711
|
+
meta?: Record<string, any> | undefined;
|
|
696
712
|
createdAt?: string | undefined;
|
|
697
713
|
archivedAt?: string | undefined;
|
|
698
714
|
credentials?: any;
|
|
@@ -706,6 +722,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
706
722
|
key: z.ZodOptional<z.ZodString>;
|
|
707
723
|
uuid: z.ZodOptional<z.ZodString>;
|
|
708
724
|
description: z.ZodOptional<z.ZodString>;
|
|
725
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
709
726
|
name: z.ZodString;
|
|
710
727
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
711
728
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
@@ -740,6 +757,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
740
757
|
key?: string | undefined;
|
|
741
758
|
uuid?: string | undefined;
|
|
742
759
|
description?: string | undefined;
|
|
760
|
+
meta?: Record<string, any> | undefined;
|
|
743
761
|
state?: import("..").WorkspaceElementState | undefined;
|
|
744
762
|
errors?: ErrorDataSchema[] | undefined;
|
|
745
763
|
revision?: string | undefined;
|
|
@@ -771,6 +789,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
771
789
|
key?: string | undefined;
|
|
772
790
|
uuid?: string | undefined;
|
|
773
791
|
description?: string | undefined;
|
|
792
|
+
meta?: Record<string, any> | undefined;
|
|
774
793
|
state?: import("..").WorkspaceElementState | undefined;
|
|
775
794
|
errors?: ErrorDataSchema[] | undefined;
|
|
776
795
|
revision?: string | undefined;
|
|
@@ -801,8 +820,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
801
820
|
name: string;
|
|
802
821
|
createdAt: string;
|
|
803
822
|
updatedAt: string;
|
|
804
|
-
userId: string;
|
|
805
823
|
integrationId: string;
|
|
824
|
+
userId: string;
|
|
806
825
|
error?: ErrorDataSchema | undefined;
|
|
807
826
|
integration?: {
|
|
808
827
|
id: string;
|
|
@@ -811,6 +830,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
811
830
|
key?: string | undefined;
|
|
812
831
|
uuid?: string | undefined;
|
|
813
832
|
description?: string | undefined;
|
|
833
|
+
meta?: Record<string, any> | undefined;
|
|
814
834
|
state?: import("..").WorkspaceElementState | undefined;
|
|
815
835
|
errors?: ErrorDataSchema[] | undefined;
|
|
816
836
|
revision?: string | undefined;
|
|
@@ -836,8 +856,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
836
856
|
appUuid?: string | undefined;
|
|
837
857
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
838
858
|
} | undefined;
|
|
859
|
+
meta?: Record<string, any> | undefined;
|
|
839
860
|
state?: import("..").WorkspaceElementState | undefined;
|
|
840
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
841
861
|
archivedAt?: string | undefined;
|
|
842
862
|
isDeactivated?: boolean | undefined;
|
|
843
863
|
authOptionKey?: string | undefined;
|
|
@@ -845,6 +865,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
845
865
|
id: string;
|
|
846
866
|
name: string;
|
|
847
867
|
internalId: string;
|
|
868
|
+
meta?: Record<string, any> | undefined;
|
|
848
869
|
createdAt?: string | undefined;
|
|
849
870
|
archivedAt?: string | undefined;
|
|
850
871
|
credentials?: any;
|
|
@@ -854,7 +875,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
854
875
|
isBillable?: boolean | undefined;
|
|
855
876
|
} | undefined;
|
|
856
877
|
isTest?: boolean | undefined;
|
|
857
|
-
meta?: Record<string, any> | undefined;
|
|
858
878
|
disconnected?: boolean | undefined;
|
|
859
879
|
isDefunct?: boolean | undefined;
|
|
860
880
|
lastActiveAt?: string | undefined;
|
|
@@ -864,8 +884,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
864
884
|
name: string;
|
|
865
885
|
createdAt: string;
|
|
866
886
|
updatedAt: string;
|
|
867
|
-
userId: string;
|
|
868
887
|
integrationId: string;
|
|
888
|
+
userId: string;
|
|
869
889
|
error?: ErrorDataSchema | undefined;
|
|
870
890
|
integration?: {
|
|
871
891
|
id: string;
|
|
@@ -874,6 +894,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
874
894
|
key?: string | undefined;
|
|
875
895
|
uuid?: string | undefined;
|
|
876
896
|
description?: string | undefined;
|
|
897
|
+
meta?: Record<string, any> | undefined;
|
|
877
898
|
state?: import("..").WorkspaceElementState | undefined;
|
|
878
899
|
errors?: ErrorDataSchema[] | undefined;
|
|
879
900
|
revision?: string | undefined;
|
|
@@ -899,8 +920,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
899
920
|
appUuid?: string | undefined;
|
|
900
921
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
901
922
|
} | undefined;
|
|
923
|
+
meta?: Record<string, any> | undefined;
|
|
902
924
|
state?: import("..").WorkspaceElementState | undefined;
|
|
903
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
904
925
|
archivedAt?: string | undefined;
|
|
905
926
|
isDeactivated?: boolean | undefined;
|
|
906
927
|
authOptionKey?: string | undefined;
|
|
@@ -908,6 +929,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
908
929
|
id: string;
|
|
909
930
|
name: string;
|
|
910
931
|
internalId: string;
|
|
932
|
+
meta?: Record<string, any> | undefined;
|
|
911
933
|
createdAt?: string | undefined;
|
|
912
934
|
archivedAt?: string | undefined;
|
|
913
935
|
credentials?: any;
|
|
@@ -917,7 +939,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
917
939
|
isBillable?: boolean | undefined;
|
|
918
940
|
} | undefined;
|
|
919
941
|
isTest?: boolean | undefined;
|
|
920
|
-
meta?: Record<string, any> | undefined;
|
|
921
942
|
disconnected?: boolean | undefined;
|
|
922
943
|
isDefunct?: boolean | undefined;
|
|
923
944
|
lastActiveAt?: string | undefined;
|
|
@@ -929,8 +950,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
929
950
|
name: string;
|
|
930
951
|
createdAt: string;
|
|
931
952
|
updatedAt: string;
|
|
932
|
-
userId: string;
|
|
933
953
|
integrationId: string;
|
|
954
|
+
userId: string;
|
|
934
955
|
error?: ErrorDataSchema | undefined;
|
|
935
956
|
integration?: {
|
|
936
957
|
id: string;
|
|
@@ -939,6 +960,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
939
960
|
key?: string | undefined;
|
|
940
961
|
uuid?: string | undefined;
|
|
941
962
|
description?: string | undefined;
|
|
963
|
+
meta?: Record<string, any> | undefined;
|
|
942
964
|
state?: import("..").WorkspaceElementState | undefined;
|
|
943
965
|
errors?: ErrorDataSchema[] | undefined;
|
|
944
966
|
revision?: string | undefined;
|
|
@@ -964,8 +986,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
964
986
|
appUuid?: string | undefined;
|
|
965
987
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
966
988
|
} | undefined;
|
|
989
|
+
meta?: Record<string, any> | undefined;
|
|
967
990
|
state?: import("..").WorkspaceElementState | undefined;
|
|
968
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
969
991
|
archivedAt?: string | undefined;
|
|
970
992
|
isDeactivated?: boolean | undefined;
|
|
971
993
|
authOptionKey?: string | undefined;
|
|
@@ -973,6 +995,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
973
995
|
id: string;
|
|
974
996
|
name: string;
|
|
975
997
|
internalId: string;
|
|
998
|
+
meta?: Record<string, any> | undefined;
|
|
976
999
|
createdAt?: string | undefined;
|
|
977
1000
|
archivedAt?: string | undefined;
|
|
978
1001
|
credentials?: any;
|
|
@@ -982,7 +1005,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
982
1005
|
isBillable?: boolean | undefined;
|
|
983
1006
|
} | undefined;
|
|
984
1007
|
isTest?: boolean | undefined;
|
|
985
|
-
meta?: Record<string, any> | undefined;
|
|
986
1008
|
disconnected?: boolean | undefined;
|
|
987
1009
|
isDefunct?: boolean | undefined;
|
|
988
1010
|
lastActiveAt?: string | undefined;
|
|
@@ -997,8 +1019,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
997
1019
|
name: string;
|
|
998
1020
|
createdAt: string;
|
|
999
1021
|
updatedAt: string;
|
|
1000
|
-
userId: string;
|
|
1001
1022
|
integrationId: string;
|
|
1023
|
+
userId: string;
|
|
1002
1024
|
error?: ErrorDataSchema | undefined;
|
|
1003
1025
|
integration?: {
|
|
1004
1026
|
id: string;
|
|
@@ -1007,6 +1029,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
1007
1029
|
key?: string | undefined;
|
|
1008
1030
|
uuid?: string | undefined;
|
|
1009
1031
|
description?: string | undefined;
|
|
1032
|
+
meta?: Record<string, any> | undefined;
|
|
1010
1033
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1011
1034
|
errors?: ErrorDataSchema[] | undefined;
|
|
1012
1035
|
revision?: string | undefined;
|
|
@@ -1032,8 +1055,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
1032
1055
|
appUuid?: string | undefined;
|
|
1033
1056
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1034
1057
|
} | undefined;
|
|
1058
|
+
meta?: Record<string, any> | undefined;
|
|
1035
1059
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1036
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
1037
1060
|
archivedAt?: string | undefined;
|
|
1038
1061
|
isDeactivated?: boolean | undefined;
|
|
1039
1062
|
authOptionKey?: string | undefined;
|
|
@@ -1041,6 +1064,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
1041
1064
|
id: string;
|
|
1042
1065
|
name: string;
|
|
1043
1066
|
internalId: string;
|
|
1067
|
+
meta?: Record<string, any> | undefined;
|
|
1044
1068
|
createdAt?: string | undefined;
|
|
1045
1069
|
archivedAt?: string | undefined;
|
|
1046
1070
|
credentials?: any;
|
|
@@ -1050,7 +1074,6 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<"type", [
|
|
|
1050
1074
|
isBillable?: boolean | undefined;
|
|
1051
1075
|
} | undefined;
|
|
1052
1076
|
isTest?: boolean | undefined;
|
|
1053
|
-
meta?: Record<string, any> | undefined;
|
|
1054
1077
|
disconnected?: boolean | undefined;
|
|
1055
1078
|
isDefunct?: boolean | undefined;
|
|
1056
1079
|
lastActiveAt?: string | undefined;
|
|
@@ -67,6 +67,7 @@ export type UserSelector = CustomerSelector;
|
|
|
67
67
|
export declare const CustomerApiResponse: z.ZodObject<{
|
|
68
68
|
id: z.ZodString;
|
|
69
69
|
name: z.ZodString;
|
|
70
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
70
71
|
internalId: z.ZodString;
|
|
71
72
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
72
73
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -79,6 +80,7 @@ export declare const CustomerApiResponse: z.ZodObject<{
|
|
|
79
80
|
id: string;
|
|
80
81
|
name: string;
|
|
81
82
|
internalId: string;
|
|
83
|
+
meta?: Record<string, any> | undefined;
|
|
82
84
|
createdAt?: string | undefined;
|
|
83
85
|
archivedAt?: string | undefined;
|
|
84
86
|
credentials?: any;
|
|
@@ -90,6 +92,7 @@ export declare const CustomerApiResponse: z.ZodObject<{
|
|
|
90
92
|
id: string;
|
|
91
93
|
name: string;
|
|
92
94
|
internalId: string;
|
|
95
|
+
meta?: Record<string, any> | undefined;
|
|
93
96
|
createdAt?: string | undefined;
|
|
94
97
|
archivedAt?: string | undefined;
|
|
95
98
|
credentials?: any;
|