@membranehq/sdk 0.9.9 → 0.9.11
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 +281 -239
- package/dist/bundle.js +24 -6
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/base-accessors.d.ts +1 -1
- package/dist/dts/alerts/types.d.ts +2 -1
- package/dist/dts/{entity-repository.d.ts → api/index.d.ts} +31 -8
- package/dist/dts/index.browser.d.ts +2 -2
- package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +1 -1
- package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +1 -1
- package/dist/dts/orgs/types.d.ts +3 -0
- package/dist/dts/scenario-templates/index.d.ts +1 -1
- package/dist/dts/usage/types.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +212 -1
- package/dist/dts/workspace-elements/api/actions-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +12 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +22 -13
- package/dist/dts/workspace-elements/api/connections-api.d.ts +11 -5
- package/dist/dts/workspace-elements/api/connectors-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -17
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +17 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +11 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -8
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/index.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -8
- package/dist/dts/workspace-elements/api/packages-api.d.ts +23 -9
- package/dist/dts/workspace-elements/api/screens-api.d.ts +7 -4
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -0
- package/dist/dts/{apps/types.d.ts → workspace-elements/base/external-apps/index.d.ts} +1 -0
- package/dist/dts/workspace-elements/base/external-events/api.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +122 -1
- package/dist/dts/workspace-elements/base/packages/index.d.ts +36 -6
- package/dist/dts/workspace-elements/types.d.ts +16 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +8 -7
- package/dist/index.browser.d.mts +1451 -1007
- package/dist/index.browser.d.ts +1451 -1007
- package/dist/index.browser.js +243 -60
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +217 -61
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1451 -1007
- package/dist/index.node.d.ts +1451 -1007
- package/dist/index.node.js +243 -60
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +217 -61
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/dts/apps/index.d.ts +0 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -104
|
@@ -113,6 +113,7 @@ export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.
|
|
|
113
113
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
114
114
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
115
115
|
}, z.core.$strip>;
|
|
116
|
+
export type BaseIntegrationLevelMembraneInterfaceEditableProperties = z.infer<typeof BaseIntegrationLevelMembraneInterfaceEditableProperties>;
|
|
116
117
|
export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
117
118
|
name: z.ZodString;
|
|
118
119
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
@@ -124,6 +125,7 @@ export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.
|
|
|
124
125
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
125
126
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
126
127
|
}, z.core.$strip>;
|
|
128
|
+
export type BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = z.infer<typeof BaseIntegrationLevelMembraneInterfaceReadOnlyProperties>;
|
|
127
129
|
export declare const BaseIntegrationLevelMembraneInterfaceExportProperties: z.ZodObject<{
|
|
128
130
|
uuid: z.ZodOptional<z.ZodString>;
|
|
129
131
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -134,6 +136,7 @@ export declare const BaseIntegrationLevelMembraneInterfaceExportProperties: z.Zo
|
|
|
134
136
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
135
137
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
136
138
|
}, z.core.$strip>;
|
|
139
|
+
export type BaseIntegrationLevelMembraneInterfaceExportProperties = z.infer<typeof BaseIntegrationLevelMembraneInterfaceExportProperties>;
|
|
137
140
|
export declare const IntegrationLevelMembraneInterfaceSelectorQuery: z.ZodObject<{
|
|
138
141
|
layer: z.ZodOptional<z.ZodEnum<{
|
|
139
142
|
connection: "connection";
|
|
@@ -196,3 +199,16 @@ export interface WorkspaceElementDependency extends WorkspaceElementReference {
|
|
|
196
199
|
dependencyType: WorkspaceElementDependencyType;
|
|
197
200
|
data?: unknown;
|
|
198
201
|
}
|
|
202
|
+
export declare const WorkspaceElementSearchQuery: z.ZodObject<{
|
|
203
|
+
q: z.ZodString;
|
|
204
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
205
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
206
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
export type WorkspaceElementSearchQuery = z.infer<typeof WorkspaceElementSearchQuery>;
|
|
209
|
+
export declare const WorkspaceElementSearchResult: z.ZodObject<{
|
|
210
|
+
elementType: z.ZodEnum<typeof WorkspaceElementType>;
|
|
211
|
+
elementId: z.ZodString;
|
|
212
|
+
name: z.ZodString;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
export type WorkspaceElementSearchResult = z.infer<typeof WorkspaceElementSearchResult>;
|
|
@@ -7,17 +7,18 @@ export interface WorkspaceElementSpec {
|
|
|
7
7
|
apiPath: string;
|
|
8
8
|
name: string;
|
|
9
9
|
namePlural: string;
|
|
10
|
-
createSchema?: z.ZodObject
|
|
11
|
-
updateSchema?: z.ZodObject
|
|
12
|
-
editablePropertiesSchema?: z.ZodObject
|
|
13
|
-
backwardCompatibleEditablePropertiesSchema?: z.ZodObject
|
|
14
|
-
exportPropertiesSchema?: z.ZodObject
|
|
15
|
-
apiResponseSchema?: z.ZodObject
|
|
16
|
-
findQuerySchema?: z.ZodObject
|
|
10
|
+
createSchema?: z.ZodObject;
|
|
11
|
+
updateSchema?: z.ZodObject;
|
|
12
|
+
editablePropertiesSchema?: z.ZodObject;
|
|
13
|
+
backwardCompatibleEditablePropertiesSchema?: z.ZodObject;
|
|
14
|
+
exportPropertiesSchema?: z.ZodObject;
|
|
15
|
+
apiResponseSchema?: z.ZodObject;
|
|
16
|
+
findQuerySchema?: z.ZodObject;
|
|
17
17
|
isMembraneInterface?: boolean;
|
|
18
18
|
isIntegrationLevel?: boolean;
|
|
19
19
|
parentFieldKey?: string;
|
|
20
20
|
universalParentFieldKey?: string;
|
|
21
|
+
canBeAddedToPackage?: boolean;
|
|
21
22
|
}
|
|
22
23
|
export interface WorkspaceElements {
|
|
23
24
|
flows?: Record<string, CreateFlowRequest>;
|