@membranehq/sdk 0.22.5 → 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 +38 -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 +529 -19
- package/dist/index.browser.d.ts +529 -19
- package/dist/index.browser.js +199 -31
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +185 -32
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +529 -19
- package/dist/index.node.d.ts +529 -19
- package/dist/index.node.js +199 -31
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +185 -32
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,308 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { WorkspaceType } from './types';
|
|
3
|
+
export declare const CreateWorkspaceRequest: z.ZodObject<{
|
|
4
|
+
workspaceKey: z.ZodString;
|
|
5
|
+
workspaceSecret: z.ZodString;
|
|
6
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
7
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type CreateWorkspaceRequest = z.infer<typeof CreateWorkspaceRequest>;
|
|
17
|
+
export declare const UpdateWorkspaceRequest: z.ZodObject<{
|
|
18
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
20
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
21
|
+
auth: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
credentialsSchema: z.ZodOptional<z.ZodAny>;
|
|
23
|
+
apiClient: z.ZodOptional<z.ZodAny>;
|
|
24
|
+
publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
publicKey: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
userFieldsSchema: z.ZodOptional<z.ZodAny>;
|
|
29
|
+
webhookUri: z.ZodOptional<z.ZodString>;
|
|
30
|
+
enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
32
|
+
apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
33
|
+
apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
34
|
+
archivedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
|
|
35
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
alertDeliverySettings: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
45
|
+
fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
|
|
46
|
+
apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
|
|
47
|
+
apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
|
|
48
|
+
webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
|
|
49
|
+
webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
|
|
50
|
+
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
51
|
+
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
52
|
+
workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
|
|
53
|
+
externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
|
|
54
|
+
apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
|
|
55
|
+
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
56
|
+
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
57
|
+
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
58
|
+
parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
|
|
59
|
+
engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
|
|
60
|
+
engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
|
|
61
|
+
totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
|
|
62
|
+
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
63
|
+
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
64
|
+
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
65
|
+
totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
66
|
+
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
67
|
+
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
68
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
69
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
70
|
+
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
71
|
+
testAlert: import("../alerts").AlertType.testAlert;
|
|
72
|
+
}>, z.ZodOptional<z.ZodObject<{
|
|
73
|
+
internal: z.ZodLiteral<true>;
|
|
74
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
enabled: z.ZodBoolean;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
enabled: z.ZodBoolean;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
}, z.core.$strip>>>>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
83
|
+
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export type UpdateWorkspaceRequest = z.infer<typeof UpdateWorkspaceRequest>;
|
|
88
|
+
export declare const UpdateWorkspaceLimitsRequest: z.ZodObject<{
|
|
89
|
+
parallelEventPulls: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
90
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
93
|
+
}, z.core.$strip>>>;
|
|
94
|
+
parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
95
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
98
|
+
}, z.core.$strip>>>;
|
|
99
|
+
parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
100
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
103
|
+
}, z.core.$strip>>>;
|
|
104
|
+
parallelFlowRuns: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
105
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
108
|
+
}, z.core.$strip>>>;
|
|
109
|
+
parallelFlowRunsPerConnection: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
110
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
113
|
+
}, z.core.$strip>>>;
|
|
114
|
+
parallelApiRequests: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
115
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
118
|
+
}, z.core.$strip>>>;
|
|
119
|
+
parallelSseRequests: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
120
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
123
|
+
}, z.core.$strip>>>;
|
|
124
|
+
parallelBackgroundJobs: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
125
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
128
|
+
}, z.core.$strip>>>;
|
|
129
|
+
parallelEventLogs: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
130
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
133
|
+
}, z.core.$strip>>>;
|
|
134
|
+
parallelEventLogsPerConnection: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
135
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
138
|
+
}, z.core.$strip>>>;
|
|
139
|
+
parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
140
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
143
|
+
}, z.core.$strip>>>;
|
|
144
|
+
parallelPathfinderAgentSessions: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
145
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
148
|
+
}, z.core.$strip>>>;
|
|
149
|
+
parallelCustomCodeRuns: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
150
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
153
|
+
}, z.core.$strip>>>;
|
|
154
|
+
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
155
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
158
|
+
}, z.core.$strip>>>;
|
|
159
|
+
fileUploadsMbPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
160
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
163
|
+
}, z.core.$strip>>>;
|
|
164
|
+
apiRequestsPerSecond: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
165
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
168
|
+
}, z.core.$strip>>>;
|
|
169
|
+
apiRequestsPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
170
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
173
|
+
}, z.core.$strip>>>;
|
|
174
|
+
webhookRequestsPerSecond: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
175
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
178
|
+
}, z.core.$strip>>>;
|
|
179
|
+
webhookRequestsPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
180
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
183
|
+
}, z.core.$strip>>>;
|
|
184
|
+
workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
185
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
188
|
+
}, z.core.$strip>>>;
|
|
189
|
+
workspaceElementCreationsPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
190
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
193
|
+
}, z.core.$strip>>>;
|
|
194
|
+
workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
195
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
196
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
198
|
+
}, z.core.$strip>>>;
|
|
199
|
+
mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
200
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
203
|
+
}, z.core.$strip>>>;
|
|
204
|
+
mcpOAuthTokensPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
205
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
206
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
208
|
+
}, z.core.$strip>>>;
|
|
209
|
+
totalNumberOfCustomers: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
210
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
214
|
+
totalNumberOfConnections: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
215
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
218
|
+
}, z.core.$strip>>>;
|
|
219
|
+
totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
220
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
223
|
+
}, z.core.$strip>>>;
|
|
224
|
+
totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
225
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
instantTasksQueueSize: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
230
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
233
|
+
}, z.core.$strip>>>;
|
|
234
|
+
QueuedTasksQueueSize: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
235
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
238
|
+
}, z.core.$strip>>>;
|
|
239
|
+
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
240
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
241
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
242
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
243
|
+
}, z.core.$strip>>>;
|
|
244
|
+
parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
245
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
246
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
247
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
248
|
+
}, z.core.$strip>>>;
|
|
249
|
+
parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
250
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
253
|
+
}, z.core.$strip>>>;
|
|
254
|
+
totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
255
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
257
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
258
|
+
}, z.core.$strip>>>;
|
|
259
|
+
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
260
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
263
|
+
}, z.core.$strip>>>;
|
|
264
|
+
apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
265
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
269
|
+
webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
270
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
273
|
+
}, z.core.$strip>>>;
|
|
274
|
+
webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
275
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
278
|
+
}, z.core.$strip>>>;
|
|
279
|
+
externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
280
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
unit: z.ZodEnum<typeof import("./types").LimitUnits>;
|
|
283
|
+
}, z.core.$strip>>>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
export type UpdateWorkspaceLimitsRequest = z.infer<typeof UpdateWorkspaceLimitsRequest>;
|
|
286
|
+
export declare const GenerateWorkspaceAccessTokenRequest: z.ZodObject<{
|
|
287
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
289
|
+
tenantKey: z.ZodOptional<z.ZodString>;
|
|
290
|
+
name: z.ZodOptional<z.ZodString>;
|
|
291
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
292
|
+
connectedProductId: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
export type GenerateWorkspaceAccessTokenRequest = z.infer<typeof GenerateWorkspaceAccessTokenRequest>;
|
|
295
|
+
export declare const GenerateWorkspaceAccessTokenResponse: z.ZodObject<{
|
|
296
|
+
token: z.ZodString;
|
|
297
|
+
}, z.core.$strip>;
|
|
298
|
+
export type GenerateWorkspaceAccessTokenResponse = z.infer<typeof GenerateWorkspaceAccessTokenResponse>;
|
|
299
|
+
export declare const ListWorkspacesQuery: z.ZodObject<{
|
|
300
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
301
|
+
workspaceKey: z.ZodOptional<z.ZodString>;
|
|
302
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
export type ListWorkspacesQuery = z.infer<typeof ListWorkspacesQuery>;
|
|
305
|
+
export declare const GetWorkspaceQuery: z.ZodObject<{
|
|
306
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
export type GetWorkspaceQuery = z.infer<typeof GetWorkspaceQuery>;
|
|
@@ -42,6 +42,7 @@ export declare enum WorkspaceSizeLimits {
|
|
|
42
42
|
TotalNumberOfCustomers = "totalNumberOfCustomers",
|
|
43
43
|
TotalNumberOfConnections = "totalNumberOfConnections",
|
|
44
44
|
TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
45
|
+
TotalNumberOfWorkspaceDatabaseRecords = "totalNumberOfWorkspaceDatabaseRecords",
|
|
45
46
|
InstantTasksQueueSize = "instantTasksQueueSize",
|
|
46
47
|
QueuedTasksQueueSize = "queuedTasksQueueSize",
|
|
47
48
|
FlowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
|
|
@@ -215,6 +216,11 @@ export declare const WorkspaceLimitsSchema: z.ZodObject<{
|
|
|
215
216
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
216
217
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
217
218
|
}, z.core.$strip>>;
|
|
219
|
+
totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
223
|
+
}, z.core.$strip>>;
|
|
218
224
|
instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
219
225
|
value: z.ZodOptional<z.ZodNumber>;
|
|
220
226
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -460,6 +466,11 @@ export declare const Workspace: z.ZodObject<{
|
|
|
460
466
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
461
467
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
462
468
|
}, z.core.$strip>>;
|
|
469
|
+
totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
473
|
+
}, z.core.$strip>>;
|
|
463
474
|
instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
464
475
|
value: z.ZodOptional<z.ZodNumber>;
|
|
465
476
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -546,6 +557,7 @@ export declare const Workspace: z.ZodObject<{
|
|
|
546
557
|
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
547
558
|
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
548
559
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
560
|
+
totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
549
561
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
550
562
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
551
563
|
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
@@ -729,6 +741,11 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
729
741
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
730
742
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
731
743
|
}, z.core.$strip>>;
|
|
744
|
+
totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
746
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
747
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
748
|
+
}, z.core.$strip>>;
|
|
732
749
|
instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
733
750
|
value: z.ZodOptional<z.ZodNumber>;
|
|
734
751
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -815,6 +832,7 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
815
832
|
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
816
833
|
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
817
834
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
835
|
+
totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
|
|
818
836
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
819
837
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
820
838
|
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|