@membranehq/sdk 0.5.2 → 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 +1661 -1666
- 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 +7 -7
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -7
- package/dist/dts/errors/index.d.ts +10 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +119 -65
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +69 -90
- package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -339
- 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 +90 -89
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +50 -50
- 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 +55 -55
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -62
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +40 -40
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +40 -40
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +35 -35
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -20
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +146 -146
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -56
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +128 -128
- package/dist/dts/workspace-elements/api/flows-api.d.ts +223 -223
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -26
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -21
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +10 -10
- 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 +11 -10
- 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 +8 -8
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -14
- 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 +15 -15
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -48
- 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 +2 -0
- package/dist/index.d.ts +2269 -2236
- package/dist/index.js +48 -48
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +2269 -2236
- package/dist/index.module.mjs +46 -48
- 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
|
@@ -2,15 +2,15 @@ import { z } from 'zod';
|
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
3
|
export declare const BaseAppEventSubscription: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
name: z.ZodString;
|
|
6
5
|
key: z.ZodOptional<z.ZodString>;
|
|
7
6
|
uuid: z.ZodOptional<z.ZodString>;
|
|
8
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
name: z.ZodString;
|
|
9
9
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
11
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
12
11
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
13
12
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
} & {
|
|
15
15
|
revision: z.ZodString;
|
|
16
16
|
appEventTypeId: z.ZodString;
|
|
@@ -59,11 +59,11 @@ export declare const BaseAppEventSubscription: z.ZodObject<{
|
|
|
59
59
|
uuid?: string | undefined;
|
|
60
60
|
description?: string | undefined;
|
|
61
61
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
62
|
-
errors?:
|
|
63
|
-
isDeactivated?: boolean | undefined;
|
|
62
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
64
63
|
createdAt?: string | undefined;
|
|
65
64
|
updatedAt?: string | undefined;
|
|
66
65
|
archivedAt?: string | undefined;
|
|
66
|
+
isDeactivated?: boolean | undefined;
|
|
67
67
|
instanceKey?: string | undefined;
|
|
68
68
|
schema?: DataSchema | undefined;
|
|
69
69
|
subscriptionResponse?: any;
|
|
@@ -86,11 +86,11 @@ export declare const BaseAppEventSubscription: z.ZodObject<{
|
|
|
86
86
|
uuid?: string | undefined;
|
|
87
87
|
description?: string | undefined;
|
|
88
88
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
89
|
-
errors?:
|
|
90
|
-
isDeactivated?: boolean | undefined;
|
|
89
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
91
90
|
createdAt?: string | undefined;
|
|
92
91
|
updatedAt?: string | undefined;
|
|
93
92
|
archivedAt?: string | undefined;
|
|
93
|
+
isDeactivated?: boolean | undefined;
|
|
94
94
|
instanceKey?: string | undefined;
|
|
95
95
|
schema?: DataSchema | undefined;
|
|
96
96
|
subscriptionResponse?: any;
|
|
@@ -2,15 +2,15 @@ import { z } from 'zod';
|
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
3
|
export declare const BaseAppEventType: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
name: z.ZodString;
|
|
6
5
|
key: z.ZodOptional<z.ZodString>;
|
|
7
6
|
uuid: z.ZodOptional<z.ZodString>;
|
|
8
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
name: z.ZodString;
|
|
9
9
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
11
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
12
11
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
13
12
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
} & {
|
|
15
15
|
revision: z.ZodString;
|
|
16
16
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -46,11 +46,11 @@ export declare const BaseAppEventType: z.ZodObject<{
|
|
|
46
46
|
uuid?: string | undefined;
|
|
47
47
|
description?: string | undefined;
|
|
48
48
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
49
|
-
errors?:
|
|
50
|
-
isDeactivated?: boolean | undefined;
|
|
49
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
51
50
|
createdAt?: string | undefined;
|
|
52
51
|
updatedAt?: string | undefined;
|
|
53
52
|
archivedAt?: string | undefined;
|
|
53
|
+
isDeactivated?: boolean | undefined;
|
|
54
54
|
schema?: DataSchema | undefined;
|
|
55
55
|
subscribeRequest?: {
|
|
56
56
|
headers?: Record<string, any> | undefined;
|
|
@@ -70,11 +70,11 @@ export declare const BaseAppEventType: z.ZodObject<{
|
|
|
70
70
|
uuid?: string | undefined;
|
|
71
71
|
description?: string | undefined;
|
|
72
72
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
73
|
-
errors?:
|
|
74
|
-
isDeactivated?: boolean | undefined;
|
|
73
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
75
74
|
createdAt?: string | undefined;
|
|
76
75
|
updatedAt?: string | undefined;
|
|
77
76
|
archivedAt?: string | undefined;
|
|
77
|
+
isDeactivated?: boolean | undefined;
|
|
78
78
|
schema?: DataSchema | undefined;
|
|
79
79
|
subscribeRequest?: {
|
|
80
80
|
headers?: Record<string, any> | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
import { WorkspaceElementState } from '../../types';
|
|
3
4
|
import { ConnectorUiSpec, ConnectorSpec } from '../connectors/types';
|
|
4
5
|
export declare const ConnectionRequest: z.ZodObject<{
|
|
@@ -32,7 +33,7 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
32
33
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
33
34
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
34
35
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
error:
|
|
36
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
36
37
|
integrationId: z.ZodString;
|
|
37
38
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
38
39
|
createdAt: z.ZodString;
|
|
@@ -42,7 +43,7 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
42
43
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
43
44
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
44
45
|
state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
|
|
45
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
46
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
46
47
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
|
48
49
|
id: string;
|
|
@@ -51,18 +52,18 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
51
52
|
updatedAt: string;
|
|
52
53
|
userId: string;
|
|
53
54
|
integrationId: string;
|
|
54
|
-
error?:
|
|
55
|
+
error?: ErrorDataSchema | undefined;
|
|
55
56
|
state?: WorkspaceElementState | undefined;
|
|
56
|
-
errors?:
|
|
57
|
-
isDeactivated?: boolean | undefined;
|
|
57
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
58
58
|
archivedAt?: string | undefined;
|
|
59
|
+
isDeactivated?: boolean | undefined;
|
|
59
60
|
authOptionKey?: string | undefined;
|
|
60
61
|
isTest?: boolean | undefined;
|
|
62
|
+
meta?: Record<string, any> | undefined;
|
|
61
63
|
disconnected?: boolean | undefined;
|
|
62
64
|
isDefunct?: boolean | undefined;
|
|
63
65
|
lastActiveAt?: string | undefined;
|
|
64
66
|
nextCredentialsRefreshAt?: string | undefined;
|
|
65
|
-
meta?: Record<string, any> | undefined;
|
|
66
67
|
}, {
|
|
67
68
|
id: string;
|
|
68
69
|
name: string;
|
|
@@ -70,18 +71,18 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
70
71
|
updatedAt: string;
|
|
71
72
|
userId: string;
|
|
72
73
|
integrationId: string;
|
|
73
|
-
error?:
|
|
74
|
+
error?: ErrorDataSchema | undefined;
|
|
74
75
|
state?: WorkspaceElementState | undefined;
|
|
75
|
-
errors?:
|
|
76
|
-
isDeactivated?: boolean | undefined;
|
|
76
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
77
77
|
archivedAt?: string | undefined;
|
|
78
|
+
isDeactivated?: boolean | undefined;
|
|
78
79
|
authOptionKey?: string | undefined;
|
|
79
80
|
isTest?: boolean | undefined;
|
|
81
|
+
meta?: Record<string, any> | undefined;
|
|
80
82
|
disconnected?: boolean | undefined;
|
|
81
83
|
isDefunct?: boolean | undefined;
|
|
82
84
|
lastActiveAt?: string | undefined;
|
|
83
85
|
nextCredentialsRefreshAt?: string | undefined;
|
|
84
|
-
meta?: Record<string, any> | undefined;
|
|
85
86
|
}>;
|
|
86
87
|
export type BaseConnection = z.infer<typeof BaseConnection>;
|
|
87
88
|
export interface ConnectionSpec extends ConnectorSpec {
|
|
@@ -2,16 +2,16 @@ import { z } from 'zod';
|
|
|
2
2
|
import { DataLinkDirection } from '../data-link-tables';
|
|
3
3
|
export declare const BaseDataLinkTableInstance: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
name: z.ZodString;
|
|
6
5
|
key: z.ZodOptional<z.ZodString>;
|
|
7
6
|
uuid: z.ZodOptional<z.ZodString>;
|
|
8
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
name: z.ZodString;
|
|
9
9
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
10
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
11
11
|
revision: z.ZodOptional<z.ZodString>;
|
|
12
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
13
12
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14
13
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
} & {
|
|
16
16
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
17
17
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -28,12 +28,12 @@ export declare const BaseDataLinkTableInstance: z.ZodObject<{
|
|
|
28
28
|
uuid?: string | undefined;
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
31
|
-
errors?:
|
|
31
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
32
32
|
revision?: string | undefined;
|
|
33
|
-
isDeactivated?: boolean | undefined;
|
|
34
33
|
createdAt?: string | undefined;
|
|
35
34
|
updatedAt?: string | undefined;
|
|
36
35
|
archivedAt?: string | undefined;
|
|
36
|
+
isDeactivated?: boolean | undefined;
|
|
37
37
|
instanceKey?: string | undefined;
|
|
38
38
|
connectionId?: string | undefined;
|
|
39
39
|
dataLinkTableId?: string | undefined;
|
|
@@ -46,12 +46,12 @@ export declare const BaseDataLinkTableInstance: z.ZodObject<{
|
|
|
46
46
|
uuid?: string | undefined;
|
|
47
47
|
description?: string | undefined;
|
|
48
48
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
49
|
-
errors?:
|
|
49
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
50
50
|
revision?: string | undefined;
|
|
51
|
-
isDeactivated?: boolean | undefined;
|
|
52
51
|
createdAt?: string | undefined;
|
|
53
52
|
updatedAt?: string | undefined;
|
|
54
53
|
archivedAt?: string | undefined;
|
|
54
|
+
isDeactivated?: boolean | undefined;
|
|
55
55
|
instanceKey?: string | undefined;
|
|
56
56
|
connectionId?: string | undefined;
|
|
57
57
|
dataLinkTableId?: string | undefined;
|
|
@@ -6,16 +6,16 @@ export declare enum DataLinkDirection {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const BaseDataLinkTable: z.ZodObject<{
|
|
8
8
|
id: z.ZodString;
|
|
9
|
-
name: z.ZodString;
|
|
10
9
|
key: z.ZodOptional<z.ZodString>;
|
|
11
10
|
uuid: z.ZodOptional<z.ZodString>;
|
|
12
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
name: z.ZodString;
|
|
13
13
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
14
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
14
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
15
15
|
revision: z.ZodOptional<z.ZodString>;
|
|
16
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
17
16
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
18
17
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
18
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
} & {
|
|
20
20
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -25,12 +25,12 @@ export declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
25
25
|
uuid?: string | undefined;
|
|
26
26
|
description?: string | undefined;
|
|
27
27
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
28
|
-
errors?:
|
|
28
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
29
29
|
revision?: string | undefined;
|
|
30
|
-
isDeactivated?: boolean | undefined;
|
|
31
30
|
createdAt?: string | undefined;
|
|
32
31
|
updatedAt?: string | undefined;
|
|
33
32
|
archivedAt?: string | undefined;
|
|
33
|
+
isDeactivated?: boolean | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
@@ -38,11 +38,11 @@ export declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
38
38
|
uuid?: string | undefined;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
41
|
-
errors?:
|
|
41
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
42
42
|
revision?: string | undefined;
|
|
43
|
-
isDeactivated?: boolean | undefined;
|
|
44
43
|
createdAt?: string | undefined;
|
|
45
44
|
updatedAt?: string | undefined;
|
|
46
45
|
archivedAt?: string | undefined;
|
|
46
|
+
isDeactivated?: boolean | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
3
4
|
id: z.ZodString;
|
|
4
|
-
name: z.ZodString;
|
|
5
5
|
key: z.ZodOptional<z.ZodString>;
|
|
6
6
|
uuid: z.ZodOptional<z.ZodString>;
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
name: z.ZodString;
|
|
8
9
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
9
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11
11
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12
12
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
13
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
13
14
|
} & {
|
|
14
15
|
userId: z.ZodString;
|
|
15
16
|
revision: z.ZodString;
|
|
@@ -715,7 +716,7 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
715
716
|
customFields?: boolean | undefined;
|
|
716
717
|
}>>;
|
|
717
718
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
719
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
719
720
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
720
721
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
721
722
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -732,12 +733,13 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
732
733
|
uuid?: string | undefined;
|
|
733
734
|
description?: string | undefined;
|
|
734
735
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
735
|
-
errors?:
|
|
736
|
-
isDeactivated?: boolean | undefined;
|
|
736
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
737
737
|
createdAt?: string | undefined;
|
|
738
738
|
updatedAt?: string | undefined;
|
|
739
739
|
archivedAt?: string | undefined;
|
|
740
|
+
isDeactivated?: boolean | undefined;
|
|
740
741
|
instanceKey?: string | undefined;
|
|
742
|
+
dataSourceId?: string | undefined;
|
|
741
743
|
udm?: string | undefined;
|
|
742
744
|
collectionSpec?: {
|
|
743
745
|
type: "collection";
|
|
@@ -874,7 +876,6 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
874
876
|
} | undefined;
|
|
875
877
|
customFields?: boolean | undefined;
|
|
876
878
|
} | undefined;
|
|
877
|
-
dataSourceId?: string | undefined;
|
|
878
879
|
isCustomized?: boolean | undefined;
|
|
879
880
|
dataSourceRevision?: string | undefined;
|
|
880
881
|
universalDataSourceId?: string | undefined;
|
|
@@ -897,12 +898,13 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
897
898
|
uuid?: string | undefined;
|
|
898
899
|
description?: string | undefined;
|
|
899
900
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
900
|
-
errors?:
|
|
901
|
-
isDeactivated?: boolean | undefined;
|
|
901
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
902
902
|
createdAt?: string | undefined;
|
|
903
903
|
updatedAt?: string | undefined;
|
|
904
904
|
archivedAt?: string | undefined;
|
|
905
|
+
isDeactivated?: boolean | undefined;
|
|
905
906
|
instanceKey?: string | undefined;
|
|
907
|
+
dataSourceId?: string | undefined;
|
|
906
908
|
udm?: string | undefined;
|
|
907
909
|
collectionSpec?: {
|
|
908
910
|
type: "collection";
|
|
@@ -1039,7 +1041,6 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
1039
1041
|
} | undefined;
|
|
1040
1042
|
customFields?: boolean | undefined;
|
|
1041
1043
|
} | undefined;
|
|
1042
|
-
dataSourceId?: string | undefined;
|
|
1043
1044
|
isCustomized?: boolean | undefined;
|
|
1044
1045
|
dataSourceRevision?: string | undefined;
|
|
1045
1046
|
universalDataSourceId?: string | undefined;
|
|
@@ -27,12 +27,12 @@ export declare const DataSourceUnitConfig: z.ZodObject<{
|
|
|
27
27
|
export type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
|
|
28
28
|
export declare const BaseDataSource: z.ZodObject<{
|
|
29
29
|
id: z.ZodString;
|
|
30
|
-
name: z.ZodString;
|
|
31
30
|
key: z.ZodOptional<z.ZodString>;
|
|
32
31
|
uuid: z.ZodOptional<z.ZodString>;
|
|
33
32
|
description: z.ZodOptional<z.ZodString>;
|
|
33
|
+
name: z.ZodString;
|
|
34
34
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
35
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
35
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
36
36
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
} & {
|
|
38
38
|
revision: z.ZodString;
|
|
@@ -58,15 +58,15 @@ export declare const BaseDataSource: z.ZodObject<{
|
|
|
58
58
|
uuid?: string | undefined;
|
|
59
59
|
description?: string | undefined;
|
|
60
60
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
61
|
-
errors?:
|
|
62
|
-
isDeactivated?: boolean | undefined;
|
|
61
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
63
62
|
createdAt?: string | undefined;
|
|
64
63
|
updatedAt?: string | undefined;
|
|
65
64
|
archivedAt?: string | undefined;
|
|
65
|
+
isDeactivated?: boolean | undefined;
|
|
66
66
|
integrationId?: string | undefined;
|
|
67
|
-
udm?: string | undefined;
|
|
68
67
|
publishedRevision?: string | undefined;
|
|
69
68
|
customized?: boolean | undefined;
|
|
69
|
+
udm?: string | undefined;
|
|
70
70
|
universalDataSourceId?: string | undefined;
|
|
71
71
|
collectionKey?: string | undefined;
|
|
72
72
|
collectionParameters?: any;
|
|
@@ -82,15 +82,15 @@ export declare const BaseDataSource: z.ZodObject<{
|
|
|
82
82
|
uuid?: string | undefined;
|
|
83
83
|
description?: string | undefined;
|
|
84
84
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
85
|
-
errors?:
|
|
86
|
-
isDeactivated?: boolean | undefined;
|
|
85
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
87
86
|
createdAt?: string | undefined;
|
|
88
87
|
updatedAt?: string | undefined;
|
|
89
88
|
archivedAt?: string | undefined;
|
|
89
|
+
isDeactivated?: boolean | undefined;
|
|
90
90
|
integrationId?: string | undefined;
|
|
91
|
-
udm?: string | undefined;
|
|
92
91
|
publishedRevision?: string | undefined;
|
|
93
92
|
customized?: boolean | undefined;
|
|
93
|
+
udm?: string | undefined;
|
|
94
94
|
universalDataSourceId?: string | undefined;
|
|
95
95
|
collectionKey?: string | undefined;
|
|
96
96
|
collectionParameters?: any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare enum ExternalEventLogStatus {
|
|
3
4
|
CREATED = "created",
|
|
4
5
|
ERROR = "error",
|
|
@@ -14,7 +15,7 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
14
15
|
payload: z.ZodOptional<z.ZodAny>;
|
|
15
16
|
launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16
17
|
status: z.ZodNativeEnum<typeof ExternalEventLogStatus>;
|
|
17
|
-
error:
|
|
18
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
18
19
|
}, "strip", z.ZodTypeAny, {
|
|
19
20
|
status: ExternalEventLogStatus;
|
|
20
21
|
id: string;
|
|
@@ -22,7 +23,7 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
22
23
|
connectionId: string;
|
|
23
24
|
integrationId: string;
|
|
24
25
|
externalEventSubscriptionId: string;
|
|
25
|
-
error?:
|
|
26
|
+
error?: ErrorDataSchema | undefined;
|
|
26
27
|
name?: string | undefined;
|
|
27
28
|
payload?: any;
|
|
28
29
|
launchedFlowRunIds?: string[] | undefined;
|
|
@@ -33,7 +34,7 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
33
34
|
connectionId: string;
|
|
34
35
|
integrationId: string;
|
|
35
36
|
externalEventSubscriptionId: string;
|
|
36
|
-
error?:
|
|
37
|
+
error?: ErrorDataSchema | undefined;
|
|
37
38
|
name?: string | undefined;
|
|
38
39
|
payload?: any;
|
|
39
40
|
launchedFlowRunIds?: string[] | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare enum ExternalEventPullStatus {
|
|
3
4
|
RUNNING = "running",
|
|
4
5
|
SUCCESS = "success",
|
|
@@ -17,7 +18,7 @@ export declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
17
18
|
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
18
19
|
status: z.ZodNativeEnum<typeof ExternalEventPullStatus>;
|
|
19
20
|
collectedEventIds: z.ZodArray<z.ZodString, "many">;
|
|
20
|
-
error:
|
|
21
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
23
|
status: ExternalEventPullStatus;
|
|
23
24
|
id: string;
|
|
@@ -28,7 +29,7 @@ export declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
28
29
|
endDatetime: string;
|
|
29
30
|
externalEventSubscriptionId: string;
|
|
30
31
|
collectedEventIds: string[];
|
|
31
|
-
error?:
|
|
32
|
+
error?: ErrorDataSchema | undefined;
|
|
32
33
|
name?: string | undefined;
|
|
33
34
|
isFullScan?: boolean | undefined;
|
|
34
35
|
}, {
|
|
@@ -41,7 +42,7 @@ export declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
41
42
|
endDatetime: string;
|
|
42
43
|
externalEventSubscriptionId: string;
|
|
43
44
|
collectedEventIds: string[];
|
|
44
|
-
error?:
|
|
45
|
+
error?: ErrorDataSchema | undefined;
|
|
45
46
|
name?: string | undefined;
|
|
46
47
|
isFullScan?: boolean | undefined;
|
|
47
48
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare enum ExternalEventSubscriptionStatus {
|
|
3
4
|
Subscribed = "subscribed",
|
|
4
5
|
Unsubscribed = "unsubscribed",
|
|
@@ -130,7 +131,7 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
|
130
131
|
} | undefined;
|
|
131
132
|
}>>;
|
|
132
133
|
status: z.ZodOptional<z.ZodNativeEnum<typeof ExternalEventSubscriptionStatus>>;
|
|
133
|
-
error:
|
|
134
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
134
135
|
isRealTime: z.ZodOptional<z.ZodBoolean>;
|
|
135
136
|
requiresPull: z.ZodOptional<z.ZodBoolean>;
|
|
136
137
|
requiresFullSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -149,7 +150,7 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
|
149
150
|
connectionId: string;
|
|
150
151
|
integrationId: string;
|
|
151
152
|
status?: ExternalEventSubscriptionStatus | undefined;
|
|
152
|
-
error?:
|
|
153
|
+
error?: ErrorDataSchema | undefined;
|
|
153
154
|
name?: string | undefined;
|
|
154
155
|
createdAt?: string | undefined;
|
|
155
156
|
archivedAt?: string | undefined;
|
|
@@ -183,7 +184,7 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
|
183
184
|
connectionId: string;
|
|
184
185
|
integrationId: string;
|
|
185
186
|
status?: ExternalEventSubscriptionStatus | undefined;
|
|
186
|
-
error?:
|
|
187
|
+
error?: ErrorDataSchema | undefined;
|
|
187
188
|
name?: string | undefined;
|
|
188
189
|
createdAt?: string | undefined;
|
|
189
190
|
archivedAt?: string | undefined;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
3
4
|
import { WorkspaceElementState } from '../../types';
|
|
4
5
|
import { FieldMappingDirection } from '../field-mappings/types';
|
|
5
6
|
export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
6
7
|
id: z.ZodString;
|
|
7
|
-
name: z.ZodString;
|
|
8
8
|
key: z.ZodOptional<z.ZodString>;
|
|
9
9
|
uuid: z.ZodOptional<z.ZodString>;
|
|
10
10
|
description: z.ZodOptional<z.ZodString>;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
13
13
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14
14
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15
15
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
16
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
16
17
|
} & {
|
|
17
18
|
userId: z.ZodString;
|
|
18
19
|
revision: z.ZodString;
|
|
@@ -33,7 +34,7 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
33
34
|
frozenImportFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34
35
|
frozenExportFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35
36
|
state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
|
|
36
|
-
error:
|
|
37
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
37
38
|
externalSchema: z.ZodOptional<z.ZodAny>;
|
|
38
39
|
}, "strip", z.ZodTypeAny, {
|
|
39
40
|
id: string;
|
|
@@ -43,15 +44,15 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
43
44
|
connectionId: string;
|
|
44
45
|
integrationId: string;
|
|
45
46
|
key?: string | undefined;
|
|
46
|
-
error?:
|
|
47
|
+
error?: ErrorDataSchema | undefined;
|
|
47
48
|
uuid?: string | undefined;
|
|
48
49
|
description?: string | undefined;
|
|
49
50
|
state?: WorkspaceElementState | undefined;
|
|
50
|
-
errors?:
|
|
51
|
-
isDeactivated?: boolean | undefined;
|
|
51
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
52
52
|
createdAt?: string | undefined;
|
|
53
53
|
updatedAt?: string | undefined;
|
|
54
54
|
archivedAt?: string | undefined;
|
|
55
|
+
isDeactivated?: boolean | undefined;
|
|
55
56
|
instanceKey?: string | undefined;
|
|
56
57
|
appSchema?: DataSchema | undefined;
|
|
57
58
|
direction?: FieldMappingDirection | undefined;
|
|
@@ -75,15 +76,15 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
75
76
|
connectionId: string;
|
|
76
77
|
integrationId: string;
|
|
77
78
|
key?: string | undefined;
|
|
78
|
-
error?:
|
|
79
|
+
error?: ErrorDataSchema | undefined;
|
|
79
80
|
uuid?: string | undefined;
|
|
80
81
|
description?: string | undefined;
|
|
81
82
|
state?: WorkspaceElementState | undefined;
|
|
82
|
-
errors?:
|
|
83
|
-
isDeactivated?: boolean | undefined;
|
|
83
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
84
84
|
createdAt?: string | undefined;
|
|
85
85
|
updatedAt?: string | undefined;
|
|
86
86
|
archivedAt?: string | undefined;
|
|
87
|
+
isDeactivated?: boolean | undefined;
|
|
87
88
|
instanceKey?: string | undefined;
|
|
88
89
|
appSchema?: DataSchema | undefined;
|
|
89
90
|
direction?: FieldMappingDirection | undefined;
|
|
@@ -7,15 +7,15 @@ export declare enum FieldMappingDirection {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const BaseFieldMapping: z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
10
|
-
name: z.ZodString;
|
|
11
10
|
key: z.ZodOptional<z.ZodString>;
|
|
12
11
|
uuid: z.ZodOptional<z.ZodString>;
|
|
13
12
|
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
name: z.ZodString;
|
|
14
14
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
15
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
16
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
17
16
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
18
17
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
18
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
} & {
|
|
20
20
|
revision: z.ZodString;
|
|
21
21
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -47,11 +47,11 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
47
47
|
uuid?: string | undefined;
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
50
|
-
errors?:
|
|
51
|
-
isDeactivated?: boolean | undefined;
|
|
50
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
52
51
|
createdAt?: string | undefined;
|
|
53
52
|
updatedAt?: string | undefined;
|
|
54
53
|
archivedAt?: string | undefined;
|
|
54
|
+
isDeactivated?: boolean | undefined;
|
|
55
55
|
integrationId?: string | undefined;
|
|
56
56
|
publishedRevision?: string | undefined;
|
|
57
57
|
universalFieldMappingId?: string | undefined;
|
|
@@ -76,11 +76,11 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
76
76
|
uuid?: string | undefined;
|
|
77
77
|
description?: string | undefined;
|
|
78
78
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
79
|
-
errors?:
|
|
80
|
-
isDeactivated?: boolean | undefined;
|
|
79
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
81
80
|
createdAt?: string | undefined;
|
|
82
81
|
updatedAt?: string | undefined;
|
|
83
82
|
archivedAt?: string | undefined;
|
|
83
|
+
isDeactivated?: boolean | undefined;
|
|
84
84
|
integrationId?: string | undefined;
|
|
85
85
|
publishedRevision?: string | undefined;
|
|
86
86
|
universalFieldMappingId?: string | undefined;
|
|
@@ -108,20 +108,20 @@ export declare const FieldMappingUnitConfig: z.ZodObject<{
|
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
key?: string | undefined;
|
|
110
110
|
default?: any;
|
|
111
|
-
input?: any;
|
|
112
111
|
appSchema?: DataSchema | undefined;
|
|
113
112
|
importValue?: any;
|
|
114
113
|
exportValue?: any;
|
|
114
|
+
input?: any;
|
|
115
115
|
includeRawFields?: any;
|
|
116
116
|
defaultUnifiedValue?: any;
|
|
117
117
|
defaultValue?: any;
|
|
118
118
|
}, {
|
|
119
119
|
key?: string | undefined;
|
|
120
120
|
default?: any;
|
|
121
|
-
input?: any;
|
|
122
121
|
appSchema?: DataSchema | undefined;
|
|
123
122
|
importValue?: any;
|
|
124
123
|
exportValue?: any;
|
|
124
|
+
input?: any;
|
|
125
125
|
includeRawFields?: any;
|
|
126
126
|
defaultUnifiedValue?: any;
|
|
127
127
|
defaultValue?: any;
|