@membranehq/sdk 0.7.4 → 0.8.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 +2066 -13953
- package/dist/bundle.js +3912 -4250
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/actions-accessors.d.ts +0 -1
- package/dist/dts/accessors/connections-accessors.d.ts +28 -28
- package/dist/dts/accessors/data-sources-accessors.d.ts +0 -1
- package/dist/dts/accessors/field-mappings-accessors.d.ts +0 -1
- package/dist/dts/accessors/flows-accessors.d.ts +0 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
- package/dist/dts/config/index.d.ts +1 -11
- package/dist/dts/date-time/business-day.d.ts +2 -0
- package/dist/dts/date-time/business-day.test.d.ts +1 -0
- package/dist/dts/date-time/index.d.ts +1 -0
- package/dist/dts/entity-repository.d.ts +13 -64
- package/dist/dts/http-requests.d.ts +2 -14
- package/dist/dts/iframe.d.ts +4 -12
- package/dist/dts/scenario-templates/index.d.ts +60 -484
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
- package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
- package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
- package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +79 -1341
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +52 -767
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +109 -2321
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +47 -702
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
- package/dist/dts/workspace-elements/api/flows-api.d.ts +149 -1836
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +30 -450
- package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
- package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
- package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
- package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +8 -104
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +9 -76
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +13 -133
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
- package/dist/dts/workspace-elements/base/flows/index.d.ts +20 -240
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +7 -56
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
- package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
- package/dist/dts/workspace-elements/types.d.ts +15 -153
- package/dist/dts/workspace-elements-catalog/index.d.ts +2 -0
- package/dist/index.browser.d.mts +5929 -24802
- package/dist/index.browser.d.ts +5929 -24802
- package/dist/index.browser.js +351 -335
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +349 -333
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +5959 -24842
- package/dist/index.node.d.ts +5959 -24842
- package/dist/index.node.js +351 -335
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +349 -333
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -13,35 +13,7 @@ export declare const DataRecordSchema: z.ZodObject<{
|
|
|
13
13
|
deletedTime: z.ZodOptional<z.ZodString>;
|
|
14
14
|
createdById: z.ZodOptional<z.ZodString>;
|
|
15
15
|
updatedById: z.ZodOptional<z.ZodString>;
|
|
16
|
-
},
|
|
17
|
-
id: string;
|
|
18
|
-
name?: string | undefined;
|
|
19
|
-
uri?: string | undefined;
|
|
20
|
-
iconUri?: string | undefined;
|
|
21
|
-
fields?: Record<string, any> | undefined;
|
|
22
|
-
udm?: string | undefined;
|
|
23
|
-
unifiedFields?: Record<string, any> | undefined;
|
|
24
|
-
rawFields?: Record<string, any> | undefined;
|
|
25
|
-
createdTime?: string | undefined;
|
|
26
|
-
updatedTime?: string | undefined;
|
|
27
|
-
deletedTime?: string | undefined;
|
|
28
|
-
createdById?: string | undefined;
|
|
29
|
-
updatedById?: string | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
id: string;
|
|
32
|
-
name?: string | undefined;
|
|
33
|
-
uri?: string | undefined;
|
|
34
|
-
iconUri?: string | undefined;
|
|
35
|
-
fields?: Record<string, any> | undefined;
|
|
36
|
-
udm?: string | undefined;
|
|
37
|
-
unifiedFields?: Record<string, any> | undefined;
|
|
38
|
-
rawFields?: Record<string, any> | undefined;
|
|
39
|
-
createdTime?: string | undefined;
|
|
40
|
-
updatedTime?: string | undefined;
|
|
41
|
-
deletedTime?: string | undefined;
|
|
42
|
-
createdById?: string | undefined;
|
|
43
|
-
updatedById?: string | undefined;
|
|
44
|
-
}>;
|
|
16
|
+
}, z.core.$strip>;
|
|
45
17
|
export type DataRecord = z.infer<typeof DataRecordSchema>;
|
|
46
18
|
export declare enum DataCollectionEventType {
|
|
47
19
|
CREATED = "created",
|
|
@@ -7,84 +7,29 @@ export declare const BaseDataLinkTableInstance: z.ZodObject<{
|
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
8
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9
9
|
name: z.ZodString;
|
|
10
|
-
state: z.ZodOptional<z.
|
|
11
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.
|
|
10
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
11
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../..").ErrorDataSchema, unknown>>>>;
|
|
12
12
|
revision: z.ZodOptional<z.ZodString>;
|
|
13
13
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14
14
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15
15
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
} & {
|
|
17
16
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
18
17
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
19
18
|
integrationId: z.ZodString;
|
|
20
19
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
21
20
|
userId: z.ZodString;
|
|
22
21
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
id: string;
|
|
25
|
-
name: string;
|
|
26
|
-
integrationId: string;
|
|
27
|
-
userId: string;
|
|
28
|
-
key?: string | undefined;
|
|
29
|
-
uuid?: string | undefined;
|
|
30
|
-
description?: string | undefined;
|
|
31
|
-
meta?: Record<string, any> | undefined;
|
|
32
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
33
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
34
|
-
revision?: string | undefined;
|
|
35
|
-
createdAt?: string | undefined;
|
|
36
|
-
updatedAt?: string | undefined;
|
|
37
|
-
archivedAt?: string | undefined;
|
|
38
|
-
isDeactivated?: boolean | undefined;
|
|
39
|
-
instanceKey?: string | undefined;
|
|
40
|
-
connectionId?: string | undefined;
|
|
41
|
-
dataLinkTableId?: string | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
integrationId: string;
|
|
46
|
-
userId: string;
|
|
47
|
-
key?: string | undefined;
|
|
48
|
-
uuid?: string | undefined;
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
meta?: Record<string, any> | undefined;
|
|
51
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
52
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
53
|
-
revision?: string | undefined;
|
|
54
|
-
createdAt?: string | undefined;
|
|
55
|
-
updatedAt?: string | undefined;
|
|
56
|
-
archivedAt?: string | undefined;
|
|
57
|
-
isDeactivated?: boolean | undefined;
|
|
58
|
-
instanceKey?: string | undefined;
|
|
59
|
-
connectionId?: string | undefined;
|
|
60
|
-
dataLinkTableId?: string | undefined;
|
|
61
|
-
}>;
|
|
22
|
+
}, z.core.$strip>;
|
|
62
23
|
export type BaseDataLinkTableInstance = z.infer<typeof BaseDataLinkTableInstance>;
|
|
63
24
|
export declare const DataLink: z.ZodObject<{
|
|
64
25
|
id: z.ZodString;
|
|
65
26
|
dataLinkTableInstanceId: z.ZodString;
|
|
66
27
|
externalRecordId: z.ZodString;
|
|
67
28
|
appRecordId: z.ZodString;
|
|
68
|
-
direction: z.
|
|
69
|
-
},
|
|
70
|
-
id: string;
|
|
71
|
-
direction: DataLinkDirection;
|
|
72
|
-
dataLinkTableInstanceId: string;
|
|
73
|
-
externalRecordId: string;
|
|
74
|
-
appRecordId: string;
|
|
75
|
-
}, {
|
|
76
|
-
id: string;
|
|
77
|
-
direction: DataLinkDirection;
|
|
78
|
-
dataLinkTableInstanceId: string;
|
|
79
|
-
externalRecordId: string;
|
|
80
|
-
appRecordId: string;
|
|
81
|
-
}>;
|
|
29
|
+
direction: z.ZodEnum<typeof DataLinkDirection>;
|
|
30
|
+
}, z.core.$strip>;
|
|
82
31
|
export type DataLink = z.infer<typeof DataLink>;
|
|
83
32
|
export declare const DataLinkTableConfig: z.ZodObject<{
|
|
84
33
|
key: z.ZodString;
|
|
85
|
-
},
|
|
86
|
-
key: string;
|
|
87
|
-
}, {
|
|
88
|
-
key: string;
|
|
89
|
-
}>;
|
|
34
|
+
}, z.core.$strip>;
|
|
90
35
|
export type DataLinkTableConfig = z.infer<typeof DataLinkTableConfig>;
|
|
@@ -11,41 +11,12 @@ export declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
11
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
12
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13
13
|
name: z.ZodString;
|
|
14
|
-
state: z.ZodOptional<z.
|
|
15
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.
|
|
14
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
15
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../..").ErrorDataSchema, unknown>>>>;
|
|
16
16
|
revision: z.ZodOptional<z.ZodString>;
|
|
17
17
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
18
18
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
19
19
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
-
} & {
|
|
21
20
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
22
|
-
},
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
key?: string | undefined;
|
|
26
|
-
uuid?: string | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
meta?: Record<string, any> | undefined;
|
|
29
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
30
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
31
|
-
revision?: string | undefined;
|
|
32
|
-
createdAt?: string | undefined;
|
|
33
|
-
updatedAt?: string | undefined;
|
|
34
|
-
archivedAt?: string | undefined;
|
|
35
|
-
isDeactivated?: boolean | undefined;
|
|
36
|
-
}, {
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
key?: string | undefined;
|
|
40
|
-
uuid?: string | undefined;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
meta?: Record<string, any> | undefined;
|
|
43
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
44
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
45
|
-
revision?: string | undefined;
|
|
46
|
-
createdAt?: string | undefined;
|
|
47
|
-
updatedAt?: string | undefined;
|
|
48
|
-
archivedAt?: string | undefined;
|
|
49
|
-
isDeactivated?: boolean | undefined;
|
|
50
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
51
22
|
export type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|