@membranehq/sdk 0.22.6 → 0.24.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.js +19 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/alerts/types.d.ts +7 -0
- package/dist/dts/membrane-instances/types.d.ts +34 -0
- package/dist/dts/org-instances/types.d.ts +9 -4
- package/dist/dts/orgs/types.d.ts +1417 -97
- package/dist/dts/stats/index.d.ts +2 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +1 -1
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/dts/workspaces/api.d.ts +313 -5
- package/dist/dts/workspaces/types.d.ts +49 -13
- package/dist/index.browser.d.mts +1945 -235
- package/dist/index.browser.d.ts +1945 -235
- package/dist/index.browser.js +218 -50
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +205 -51
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1945 -235
- package/dist/index.node.d.ts +1945 -235
- package/dist/index.node.js +218 -50
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +205 -51
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ export declare enum AlertType {
|
|
|
28
28
|
totalNumberOfCustomers = "totalNumberOfCustomers",
|
|
29
29
|
totalNumberOfConnections = "totalNumberOfConnections",
|
|
30
30
|
totalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
31
|
+
totalNumberOfWorkspaceDatabaseRecords = "totalNumberOfWorkspaceDatabaseRecords",
|
|
31
32
|
instantTasksQueueSize = "instantTasksQueueSize",
|
|
32
33
|
queuedTasksQueueSize = "queuedTasksQueueSize",
|
|
33
34
|
flowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
|
|
@@ -64,6 +65,7 @@ export declare const ALERT_TYPE_CATEGORIES: {
|
|
|
64
65
|
readonly totalNumberOfCustomers: AlertCategory.WORKSPACE_SIZE;
|
|
65
66
|
readonly totalNumberOfConnections: AlertCategory.WORKSPACE_SIZE;
|
|
66
67
|
readonly totalNumberOfWorkspaceElements: AlertCategory.WORKSPACE_SIZE;
|
|
68
|
+
readonly totalNumberOfWorkspaceDatabaseRecords: AlertCategory.WORKSPACE_SIZE;
|
|
67
69
|
readonly instantTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
|
|
68
70
|
readonly queuedTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
|
|
69
71
|
readonly flowRunsQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
|
|
@@ -107,6 +109,7 @@ export declare const Alert: z.ZodObject<{
|
|
|
107
109
|
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
108
110
|
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
109
111
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
112
|
+
totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
110
113
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
111
114
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
112
115
|
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -156,6 +159,7 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
156
159
|
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
157
160
|
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
158
161
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
162
|
+
totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
159
163
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
160
164
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
161
165
|
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -214,6 +218,7 @@ export declare const AlertDeliverySettingsSchema: z.ZodObject<{
|
|
|
214
218
|
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
215
219
|
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
216
220
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
221
|
+
totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
217
222
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
218
223
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
219
224
|
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -264,6 +269,7 @@ export declare const FindAlertsQuery: z.ZodObject<{
|
|
|
264
269
|
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
265
270
|
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
266
271
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
272
|
+
totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
267
273
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
268
274
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
269
275
|
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -299,6 +305,7 @@ export declare const CreateAlert: z.ZodObject<{
|
|
|
299
305
|
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
300
306
|
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
301
307
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
308
|
+
totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
302
309
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
303
310
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
304
311
|
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -5,6 +5,14 @@ export declare const MembraneInstance: z.ZodObject<{
|
|
|
5
5
|
apiBaseUri: z.ZodString;
|
|
6
6
|
consoleBaseUri: z.ZodOptional<z.ZodString>;
|
|
7
7
|
orgId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
type: z.ZodOptional<z.ZodString>;
|
|
9
|
+
engineVersion: z.ZodOptional<z.ZodString>;
|
|
10
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
11
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
12
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
13
|
+
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
14
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
8
16
|
}, z.core.$strip>;
|
|
9
17
|
export type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
|
|
10
18
|
export declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -34,7 +42,33 @@ export declare const ListMembraneInstancesResponse: z.ZodObject<{
|
|
|
34
42
|
apiBaseUri: z.ZodString;
|
|
35
43
|
consoleBaseUri: z.ZodOptional<z.ZodString>;
|
|
36
44
|
orgId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
type: z.ZodOptional<z.ZodString>;
|
|
46
|
+
engineVersion: z.ZodOptional<z.ZodString>;
|
|
47
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
48
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
49
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
50
|
+
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
51
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
37
53
|
}, z.core.$strip>>;
|
|
38
54
|
cursor: z.ZodOptional<z.ZodString>;
|
|
39
55
|
}, z.core.$strip>;
|
|
40
56
|
export type ListMembraneInstancesResponse = z.infer<typeof ListMembraneInstancesResponse>;
|
|
57
|
+
export declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
apiBaseUri: z.ZodString;
|
|
61
|
+
consoleBaseUri: z.ZodOptional<z.ZodString>;
|
|
62
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
63
|
+
type: z.ZodOptional<z.ZodString>;
|
|
64
|
+
engineVersion: z.ZodOptional<z.ZodString>;
|
|
65
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
66
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
67
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
68
|
+
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
69
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
72
|
+
workspaceCount: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export type MembraneInstanceAdmin = z.infer<typeof MembraneInstanceAdmin>;
|
|
@@ -14,19 +14,24 @@ export type OrgInstanceWorkspace = z.infer<typeof OrgInstanceWorkspace>;
|
|
|
14
14
|
export declare const OrgInstance: z.ZodObject<{
|
|
15
15
|
id: z.ZodString;
|
|
16
16
|
name: z.ZodString;
|
|
17
|
-
type: z.ZodEnum<{
|
|
17
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
18
18
|
"membrane-hosted": "membrane-hosted";
|
|
19
19
|
"self-hosted": "self-hosted";
|
|
20
|
-
}
|
|
20
|
+
}>>;
|
|
21
21
|
apiBaseUri: z.ZodString;
|
|
22
22
|
consoleBaseUri: z.ZodOptional<z.ZodString>;
|
|
23
23
|
engineVersion: z.ZodOptional<z.ZodString>;
|
|
24
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
25
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
26
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
24
27
|
lastReportedAt: z.ZodOptional<z.ZodString>;
|
|
25
|
-
|
|
28
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
31
|
workspaceId: z.ZodString;
|
|
27
32
|
workspaceName: z.ZodString;
|
|
28
33
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
29
34
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
}, z.core.$strip
|
|
35
|
+
}, z.core.$strip>>>;
|
|
31
36
|
}, z.core.$strip>;
|
|
32
37
|
export type OrgInstance = z.infer<typeof OrgInstance>;
|