@membranehq/sdk 0.8.3 → 0.8.5
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 +430 -293
- package/dist/bundle.js +123 -103
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +1 -16
- package/dist/dts/accessors/actions-accessors.d.ts +26 -7
- package/dist/dts/accessors/actions-accessors.test.d.ts +1 -0
- package/dist/dts/accessors/connections-accessors.d.ts +5 -5
- package/dist/dts/accessors/integrations-accessors.d.ts +5 -5
- package/dist/dts/agent/session.d.ts +41 -0
- package/dist/dts/alerts/types.d.ts +2 -1
- package/dist/dts/entity-repository.d.ts +0 -1
- package/dist/dts/formulas/dataSchemaRef.d.ts +3 -3
- package/dist/dts/index.browser.d.ts +3 -1
- package/dist/dts/orgs/types.d.ts +10 -1
- package/dist/dts/usage/types.d.ts +4 -2
- package/dist/dts/validation/types.d.ts +2 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +12 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +85 -63
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +5 -5
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -2
- package/dist/dts/workspace-elements/api/connections-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +13 -8
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +42 -12
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +8 -7
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +8 -7
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +7 -6
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +8 -6
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +28 -19
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +46 -20
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +14 -14
- package/dist/dts/workspace-elements/api/flows-api.d.ts +83 -40
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/packages-api.d.ts +70 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +8 -6
- package/dist/dts/workspace-elements/base/actions/index.d.ts +33 -11
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -2
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +3 -3
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +30 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +6 -4
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +6 -4
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +31 -3
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/flows/index.d.ts +53 -3
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -4
- package/dist/dts/workspace-elements/base/packages/index.d.ts +35 -6
- package/dist/dts/workspace-elements/paths.d.ts +8 -0
- package/dist/dts/workspace-elements/paths.test.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +33 -11
- package/dist/dts/workspace-elements-catalog/index.d.ts +2 -0
- package/dist/dts/workspaces/types.d.ts +0 -1
- package/dist/index.browser.d.mts +6690 -6383
- package/dist/index.browser.d.ts +6690 -6383
- package/dist/index.browser.js +310 -289
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +294 -289
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +8742 -8435
- package/dist/index.node.d.ts +8742 -8435
- package/dist/index.node.js +310 -289
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +294 -289
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -1
- package/dist/dts/connector-copilot/types.d.ts +0 -160
- package/dist/dts/index.d.ts +0 -33
- /package/dist/dts/{connector-copilot → validation}/index.d.ts +0 -0
|
@@ -34,7 +34,6 @@ export declare enum WorkspaceElementType {
|
|
|
34
34
|
ExternalEventSubscription = "external-event-subscription",
|
|
35
35
|
ExternalEventLogRecord = "external-event-log-record",
|
|
36
36
|
ExternalEventPull = "external-event-pull",
|
|
37
|
-
DataCollection = "data-collection",
|
|
38
37
|
Screen = "screen",
|
|
39
38
|
ActionRunLogRecord = "action-run-log-record"
|
|
40
39
|
}
|
|
@@ -68,9 +67,9 @@ export declare const BaseWorkspaceElement: z.ZodObject<{
|
|
|
68
67
|
}, z.core.$strip>;
|
|
69
68
|
export type BaseWorkspaceElement = z.infer<typeof BaseWorkspaceElement>;
|
|
70
69
|
export declare const BaseMembraneInterfaceEditableProperties: z.ZodObject<{
|
|
70
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
71
71
|
key: z.ZodOptional<z.ZodString>;
|
|
72
72
|
name: z.ZodOptional<z.ZodString>;
|
|
73
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
74
73
|
description: z.ZodOptional<z.ZodString>;
|
|
75
74
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
76
75
|
}, z.core.$strip>;
|
|
@@ -86,8 +85,8 @@ export declare const BaseMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
|
86
85
|
}, z.core.$strip>;
|
|
87
86
|
export declare const BaseMembraneInterface: z.ZodObject<{
|
|
88
87
|
id: z.ZodString;
|
|
89
|
-
key: z.ZodOptional<z.ZodString>;
|
|
90
88
|
uuid: z.ZodOptional<z.ZodString>;
|
|
89
|
+
key: z.ZodOptional<z.ZodString>;
|
|
91
90
|
description: z.ZodOptional<z.ZodString>;
|
|
92
91
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
92
|
name: z.ZodString;
|
|
@@ -101,13 +100,17 @@ export declare const BaseMembraneInterface: z.ZodObject<{
|
|
|
101
100
|
}, z.core.$strip>;
|
|
102
101
|
export type BaseMembraneInterface = z.infer<typeof BaseMembraneInterface>;
|
|
103
102
|
export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.ZodObject<{
|
|
103
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
104
104
|
key: z.ZodOptional<z.ZodString>;
|
|
105
105
|
name: z.ZodOptional<z.ZodString>;
|
|
106
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
107
106
|
description: z.ZodOptional<z.ZodString>;
|
|
108
107
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
109
108
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
109
|
+
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
110
110
|
parentId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
parentUuid: z.ZodOptional<z.ZodString>;
|
|
112
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
113
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
111
114
|
}, z.core.$strip>;
|
|
112
115
|
export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
113
116
|
name: z.ZodString;
|
|
@@ -120,26 +123,41 @@ export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.
|
|
|
120
123
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
121
124
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
122
125
|
}, z.core.$strip>;
|
|
126
|
+
export declare const BaseIntegrationLevelMembraneInterfaceExportProperties: z.ZodObject<{
|
|
127
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
128
|
+
key: z.ZodOptional<z.ZodString>;
|
|
129
|
+
name: z.ZodOptional<z.ZodString>;
|
|
130
|
+
description: z.ZodOptional<z.ZodString>;
|
|
131
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
132
|
+
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
133
|
+
parentUuid: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>;
|
|
123
135
|
export declare const IntegrationLevelMembraneInterfaceSelectorQuery: z.ZodObject<{
|
|
136
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
connection: "connection";
|
|
138
|
+
integration: "integration";
|
|
139
|
+
universal: "universal";
|
|
140
|
+
}>>;
|
|
124
141
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
142
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
125
143
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
126
144
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
127
145
|
}, z.core.$strip>;
|
|
128
146
|
export type IntegrationLevelMembraneInterfaceSelectorQuery = z.infer<typeof IntegrationLevelMembraneInterfaceSelectorQuery>;
|
|
129
147
|
export declare const FindIntegrationLevelMembraneInterfaceQuery: z.ZodObject<{
|
|
148
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
connection: "connection";
|
|
150
|
+
integration: "integration";
|
|
151
|
+
universal: "universal";
|
|
152
|
+
}>>;
|
|
130
153
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
154
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
131
155
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
132
156
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
133
157
|
search: z.ZodOptional<z.ZodString>;
|
|
134
158
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
135
159
|
cursor: z.ZodOptional<z.ZodString>;
|
|
136
160
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
137
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
138
|
-
connection: "connection";
|
|
139
|
-
integration: "integration";
|
|
140
|
-
universal: "universal";
|
|
141
|
-
}>>;
|
|
142
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
143
161
|
parentId: z.ZodOptional<z.ZodString>;
|
|
144
162
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
145
163
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -147,12 +165,16 @@ export declare const FindIntegrationLevelMembraneInterfaceQuery: z.ZodObject<{
|
|
|
147
165
|
export type FindIntegrationLevelMembraneInterfaceQuery = z.infer<typeof FindIntegrationLevelMembraneInterfaceQuery>;
|
|
148
166
|
export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
149
167
|
id: z.ZodString;
|
|
150
|
-
key: z.ZodOptional<z.ZodString>;
|
|
151
168
|
uuid: z.ZodOptional<z.ZodString>;
|
|
169
|
+
key: z.ZodOptional<z.ZodString>;
|
|
152
170
|
description: z.ZodOptional<z.ZodString>;
|
|
153
171
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
154
172
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
173
|
+
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
155
174
|
parentId: z.ZodOptional<z.ZodString>;
|
|
175
|
+
parentUuid: z.ZodOptional<z.ZodString>;
|
|
176
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
177
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
156
178
|
name: z.ZodString;
|
|
157
179
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
158
180
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
@@ -10,11 +10,13 @@ export interface WorkspaceElementSpec {
|
|
|
10
10
|
createSchema?: z.ZodObject<any>;
|
|
11
11
|
updateSchema?: z.ZodObject<any>;
|
|
12
12
|
editablePropertiesSchema?: z.ZodObject<any>;
|
|
13
|
+
exportPropertiesSchema?: z.ZodObject<any>;
|
|
13
14
|
apiResponseSchema?: z.ZodObject<any>;
|
|
14
15
|
findQuerySchema?: z.ZodObject<any>;
|
|
15
16
|
isMembraneInterface?: boolean;
|
|
16
17
|
isIntegrationLevel?: boolean;
|
|
17
18
|
parentFieldKey?: string;
|
|
19
|
+
universalParentFieldKey?: string;
|
|
18
20
|
}
|
|
19
21
|
export interface WorkspaceElements {
|
|
20
22
|
flows?: Record<string, CreateFlowRequest>;
|