@membranehq/sdk 0.22.6 → 1.0.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 +31 -0
- package/dist/dts/org-instances/types.d.ts +9 -4
- package/dist/dts/orgs/types.d.ts +146 -7
- 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 +308 -5
- package/dist/dts/workspaces/types.d.ts +18 -0
- package/dist/index.browser.d.mts +522 -19
- package/dist/index.browser.d.ts +522 -19
- package/dist/index.browser.js +190 -31
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +177 -32
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +522 -19
- package/dist/index.node.d.ts +522 -19
- package/dist/index.node.js +190 -31
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +177 -32
- 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,13 @@ 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
|
+
engineVersion: z.ZodOptional<z.ZodString>;
|
|
9
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
10
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
11
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
12
|
+
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
13
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
8
15
|
}, z.core.$strip>;
|
|
9
16
|
export type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
|
|
10
17
|
export declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -34,7 +41,31 @@ export declare const ListMembraneInstancesResponse: z.ZodObject<{
|
|
|
34
41
|
apiBaseUri: z.ZodString;
|
|
35
42
|
consoleBaseUri: z.ZodOptional<z.ZodString>;
|
|
36
43
|
orgId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
engineVersion: z.ZodOptional<z.ZodString>;
|
|
45
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
46
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
47
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
48
|
+
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
49
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
37
51
|
}, z.core.$strip>>;
|
|
38
52
|
cursor: z.ZodOptional<z.ZodString>;
|
|
39
53
|
}, z.core.$strip>;
|
|
40
54
|
export type ListMembraneInstancesResponse = z.infer<typeof ListMembraneInstancesResponse>;
|
|
55
|
+
export declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
apiBaseUri: z.ZodString;
|
|
59
|
+
consoleBaseUri: z.ZodOptional<z.ZodString>;
|
|
60
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
61
|
+
engineVersion: z.ZodOptional<z.ZodString>;
|
|
62
|
+
commitSHA: z.ZodOptional<z.ZodString>;
|
|
63
|
+
buildDate: z.ZodOptional<z.ZodString>;
|
|
64
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
65
|
+
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
66
|
+
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
69
|
+
workspaceCount: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
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>;
|
package/dist/dts/orgs/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { PlatformUser } from '../platform-users';
|
|
3
|
+
import { WorkspaceType } from '../workspaces';
|
|
3
4
|
export type OrgFeatureFlags = Record<string, boolean>;
|
|
4
5
|
export declare enum OrgLimitsType {
|
|
5
6
|
NUMBER_OF_WORKSPACES = "numberOfWorkspaces",
|
|
@@ -116,8 +117,8 @@ export declare const OrgWorkspace: z.ZodObject<{
|
|
|
116
117
|
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
117
118
|
key: z.ZodString;
|
|
118
119
|
secret: z.ZodString;
|
|
119
|
-
createdAt: z.
|
|
120
|
-
updatedAt: z.
|
|
120
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
121
|
+
updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
121
122
|
engineAccessToken: z.ZodOptional<z.ZodString>;
|
|
122
123
|
trialEndDate: z.ZodOptional<z.ZodString>;
|
|
123
124
|
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -126,6 +127,127 @@ export declare const OrgWorkspace: z.ZodObject<{
|
|
|
126
127
|
membraneInstanceId: z.ZodOptional<z.ZodString>;
|
|
127
128
|
}, z.core.$strip>;
|
|
128
129
|
export type OrgWorkspace = z.infer<typeof OrgWorkspace>;
|
|
130
|
+
export declare const WorkspaceEditableFields: z.ZodObject<{
|
|
131
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
+
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
|
+
name: z.ZodString;
|
|
141
|
+
publicKey: z.ZodString;
|
|
142
|
+
}, z.core.$strip>>>;
|
|
143
|
+
userFieldsSchema: z.ZodOptional<z.ZodAny>;
|
|
144
|
+
webhookUri: z.ZodOptional<z.ZodString>;
|
|
145
|
+
enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
+
alertDeliverySettings: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
148
|
+
fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
|
|
149
|
+
apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
|
|
150
|
+
apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
|
|
151
|
+
webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
|
|
152
|
+
webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
|
|
153
|
+
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
154
|
+
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
155
|
+
workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
|
|
156
|
+
externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
|
|
157
|
+
apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
|
|
158
|
+
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
159
|
+
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
160
|
+
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
161
|
+
parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
|
|
162
|
+
engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
|
|
163
|
+
engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
|
|
164
|
+
totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
|
|
165
|
+
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
166
|
+
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
167
|
+
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
168
|
+
totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
169
|
+
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
170
|
+
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
171
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
172
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
173
|
+
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
174
|
+
testAlert: import("../alerts").AlertType.testAlert;
|
|
175
|
+
}>, z.ZodOptional<z.ZodObject<{
|
|
176
|
+
internal: z.ZodLiteral<true>;
|
|
177
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
enabled: z.ZodBoolean;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
181
|
+
enabled: z.ZodBoolean;
|
|
182
|
+
}, z.core.$strip>>;
|
|
183
|
+
}, z.core.$strip>>>>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
186
|
+
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
export type WorkspaceEditableFields = z.infer<typeof WorkspaceEditableFields>;
|
|
189
|
+
export declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
|
|
190
|
+
name: z.ZodOptional<z.ZodString>;
|
|
191
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
192
|
+
defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
193
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
194
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
+
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
publicKey: z.ZodString;
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
|
+
userFieldsSchema: z.ZodOptional<z.ZodAny>;
|
|
206
|
+
webhookUri: z.ZodOptional<z.ZodString>;
|
|
207
|
+
enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
+
alertDeliverySettings: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
210
|
+
fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
|
|
211
|
+
apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
|
|
212
|
+
apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
|
|
213
|
+
webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
|
|
214
|
+
webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
|
|
215
|
+
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
216
|
+
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
217
|
+
workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
|
|
218
|
+
externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
|
|
219
|
+
apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
|
|
220
|
+
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
221
|
+
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
222
|
+
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
223
|
+
parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
|
|
224
|
+
engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
|
|
225
|
+
engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
|
|
226
|
+
totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
|
|
227
|
+
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
228
|
+
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
229
|
+
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
230
|
+
totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
231
|
+
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
232
|
+
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
233
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
234
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
235
|
+
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
236
|
+
testAlert: import("../alerts").AlertType.testAlert;
|
|
237
|
+
}>, z.ZodOptional<z.ZodObject<{
|
|
238
|
+
internal: z.ZodLiteral<true>;
|
|
239
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
enabled: z.ZodBoolean;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
243
|
+
enabled: z.ZodBoolean;
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
|
+
}, z.core.$strip>>>>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
export type OrgWorkspaceUpdateRequest = z.infer<typeof OrgWorkspaceUpdateRequest>;
|
|
129
251
|
export declare const OrgWorkspaceUser: z.ZodObject<{
|
|
130
252
|
id: z.ZodString;
|
|
131
253
|
workspaceId: z.ZodString;
|
|
@@ -319,6 +441,17 @@ export declare const FindOrgWorkspacesQuery: z.ZodObject<{
|
|
|
319
441
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
320
442
|
}, z.core.$strip>;
|
|
321
443
|
export type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
|
|
444
|
+
export declare const CreateOrgWorkspaceRequest: z.ZodObject<{
|
|
445
|
+
name: z.ZodOptional<z.ZodString>;
|
|
446
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
447
|
+
orgId: z.ZodString;
|
|
448
|
+
membraneInstanceId: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
export type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
|
|
451
|
+
export declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
|
|
452
|
+
secret: z.ZodString;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
export type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
|
|
322
455
|
export declare const AccountResponse: z.ZodObject<{
|
|
323
456
|
user: z.ZodOptional<z.ZodObject<{
|
|
324
457
|
id: z.ZodString;
|
|
@@ -345,8 +478,8 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
345
478
|
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
346
479
|
key: z.ZodString;
|
|
347
480
|
secret: z.ZodString;
|
|
348
|
-
createdAt: z.
|
|
349
|
-
updatedAt: z.
|
|
481
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
482
|
+
updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
350
483
|
engineAccessToken: z.ZodOptional<z.ZodString>;
|
|
351
484
|
trialEndDate: z.ZodOptional<z.ZodString>;
|
|
352
485
|
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -361,8 +494,8 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
361
494
|
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
362
495
|
key: z.ZodString;
|
|
363
496
|
secret: z.ZodString;
|
|
364
|
-
createdAt: z.
|
|
365
|
-
updatedAt: z.
|
|
497
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
498
|
+
updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
366
499
|
engineAccessToken: z.ZodOptional<z.ZodString>;
|
|
367
500
|
trialEndDate: z.ZodOptional<z.ZodString>;
|
|
368
501
|
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -565,6 +698,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
565
698
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
566
699
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
567
700
|
}, z.core.$strip>>;
|
|
701
|
+
totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
703
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
704
|
+
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
705
|
+
}, z.core.$strip>>;
|
|
568
706
|
instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
569
707
|
value: z.ZodOptional<z.ZodNumber>;
|
|
570
708
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -651,6 +789,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
651
789
|
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
652
790
|
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
653
791
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
792
|
+
totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
654
793
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
655
794
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
656
795
|
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -667,7 +806,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
667
806
|
}, z.core.$strip>>;
|
|
668
807
|
}, z.core.$strip>>>>;
|
|
669
808
|
}, z.core.$strip>>;
|
|
670
|
-
type: z.ZodOptional<z.ZodEnum<typeof
|
|
809
|
+
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
671
810
|
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
811
|
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
673
812
|
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -34,7 +34,9 @@ export declare const FlowRunsStatsQuery: z.ZodObject<{
|
|
|
34
34
|
startDatetime: z.ZodString;
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
export type FlowRunsStatsQuery = z.infer<typeof FlowRunsStatsQuery>;
|
|
37
|
+
export declare const WORKSPACE_ELEMENT_COLLECTIONS: readonly ["integrations", "integration-packages", "actions", "flows", "external-event-subscriptions", "app-event-subscriptions", "data-sources", "field-mappings", "app-data-schemas", "data-link-tables"];
|
|
37
38
|
export declare const WORKSPACE_ELEMENTS_STATS_COLLECTIONS: readonly ["integrations", "integration-packages", "actions", "flows", "external-event-subscriptions", "app-event-subscriptions", "data-sources", "field-mappings", "app-data-schemas", "data-link-tables"];
|
|
39
|
+
export declare const WORKSPACE_DATABASE_RECORD_COLLECTIONS: readonly string[];
|
|
38
40
|
export declare const WorkspaceElementsStatsSchema: z.ZodObject<{
|
|
39
41
|
total: z.ZodNumber;
|
|
40
42
|
breakdown: z.ZodObject<{
|
|
@@ -20,7 +20,7 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
export type FindConnectionsQuery = z.infer<typeof FindConnectionsQuery>;
|
|
22
22
|
export declare const EnsureConnectionRequest: z.ZodObject<{
|
|
23
|
-
|
|
23
|
+
appUrl: z.ZodString;
|
|
24
24
|
name: z.ZodOptional<z.ZodString>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
export type EnsureConnectionRequest = z.infer<typeof EnsureConnectionRequest>;
|