@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.
@@ -1,17 +1,20 @@
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",
6
7
  TODAY_USAGE = "todayUsage",
7
8
  LAST_THIRTY_DAY_USAGE = "lastThirtyDayUsage",
8
- MEMBRANE_EXPERT_CREDITS_CAP = "membraneExpertCreditsCapPerMonth"
9
+ MEMBRANE_EXPERT_CREDITS_CAP = "membraneExpertCreditsCapPerMonth",
10
+ DEFAULT_TENANT_AI_CREDITS_ROLLING_30_DAY_LIMIT = "defaultTenantAiCreditsRolling30DayLimit"
9
11
  }
10
12
  export interface OrgLimits {
11
13
  [OrgLimitsType.NUMBER_OF_WORKSPACES]?: number;
12
14
  [OrgLimitsType.TODAY_USAGE]?: number;
13
15
  [OrgLimitsType.LAST_THIRTY_DAY_USAGE]?: number;
14
16
  [OrgLimitsType.MEMBRANE_EXPERT_CREDITS_CAP]?: number | null;
17
+ [OrgLimitsType.DEFAULT_TENANT_AI_CREDITS_ROLLING_30_DAY_LIMIT]?: number | null;
15
18
  }
16
19
  export declare enum OrgPlan {
17
20
  Core = "core",
@@ -41,13 +44,14 @@ export interface MembraneAgentKey {
41
44
  activityDate: Date;
42
45
  hash: string;
43
46
  }
44
- export declare const OrgLimits: z.ZodOptional<z.ZodObject<{
47
+ export declare const OrgLimits: z.ZodObject<{
45
48
  numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
46
49
  todayUsage: z.ZodOptional<z.ZodNumber>;
47
50
  lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
48
51
  membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
49
52
  membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
- }, z.core.$strip>>;
53
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ }, z.core.$strip>;
51
55
  export declare const MembraneAgentKey: z.ZodOptional<z.ZodObject<{
52
56
  key: z.ZodOptional<z.ZodString>;
53
57
  expiresAt: z.ZodOptional<z.ZodString>;
@@ -67,6 +71,7 @@ export declare const Org: z.ZodObject<{
67
71
  lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
68
72
  membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
69
73
  membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
75
  }, z.core.$strip>>;
71
76
  thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
72
77
  lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
@@ -76,7 +81,6 @@ export declare const Org: z.ZodObject<{
76
81
  freeAiCredits: z.ZodOptional<z.ZodNumber>;
77
82
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
78
83
  freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
84
  stripeCustomerId: z.ZodOptional<z.ZodString>;
81
85
  autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
82
86
  autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
@@ -109,6 +113,267 @@ export declare const EngineCreditsProjectionResponse: z.ZodObject<{
109
113
  willRunOut: z.ZodBoolean;
110
114
  }, z.core.$strip>;
111
115
  export type EngineCreditsProjection = z.infer<typeof EngineCreditsProjectionResponse>;
116
+ export declare const WorkspaceEditableFields: z.ZodObject<{
117
+ limits: z.ZodOptional<z.ZodObject<{
118
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
119
+ value: z.ZodOptional<z.ZodNumber>;
120
+ defaultValue: z.ZodOptional<z.ZodNumber>;
121
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
122
+ }, z.core.$strip>>;
123
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
124
+ value: z.ZodOptional<z.ZodNumber>;
125
+ defaultValue: z.ZodOptional<z.ZodNumber>;
126
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
127
+ }, z.core.$strip>>;
128
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
129
+ value: z.ZodOptional<z.ZodNumber>;
130
+ defaultValue: z.ZodOptional<z.ZodNumber>;
131
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
132
+ }, z.core.$strip>>;
133
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
134
+ value: z.ZodOptional<z.ZodNumber>;
135
+ defaultValue: z.ZodOptional<z.ZodNumber>;
136
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
137
+ }, z.core.$strip>>;
138
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
139
+ value: z.ZodOptional<z.ZodNumber>;
140
+ defaultValue: z.ZodOptional<z.ZodNumber>;
141
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
142
+ }, z.core.$strip>>;
143
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
144
+ value: z.ZodOptional<z.ZodNumber>;
145
+ defaultValue: z.ZodOptional<z.ZodNumber>;
146
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
147
+ }, z.core.$strip>>;
148
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
149
+ value: z.ZodOptional<z.ZodNumber>;
150
+ defaultValue: z.ZodOptional<z.ZodNumber>;
151
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
152
+ }, z.core.$strip>>;
153
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
154
+ value: z.ZodOptional<z.ZodNumber>;
155
+ defaultValue: z.ZodOptional<z.ZodNumber>;
156
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
157
+ }, z.core.$strip>>;
158
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
159
+ value: z.ZodOptional<z.ZodNumber>;
160
+ defaultValue: z.ZodOptional<z.ZodNumber>;
161
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
162
+ }, z.core.$strip>>;
163
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
164
+ value: z.ZodOptional<z.ZodNumber>;
165
+ defaultValue: z.ZodOptional<z.ZodNumber>;
166
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
167
+ }, z.core.$strip>>;
168
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
169
+ value: z.ZodOptional<z.ZodNumber>;
170
+ defaultValue: z.ZodOptional<z.ZodNumber>;
171
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
172
+ }, z.core.$strip>>;
173
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
174
+ value: z.ZodOptional<z.ZodNumber>;
175
+ defaultValue: z.ZodOptional<z.ZodNumber>;
176
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
177
+ }, z.core.$strip>>;
178
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
179
+ value: z.ZodOptional<z.ZodNumber>;
180
+ defaultValue: z.ZodOptional<z.ZodNumber>;
181
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
182
+ }, z.core.$strip>>;
183
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
184
+ value: z.ZodOptional<z.ZodNumber>;
185
+ defaultValue: z.ZodOptional<z.ZodNumber>;
186
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
187
+ }, z.core.$strip>>;
188
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
189
+ value: z.ZodOptional<z.ZodNumber>;
190
+ defaultValue: z.ZodOptional<z.ZodNumber>;
191
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
192
+ }, z.core.$strip>>;
193
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
194
+ value: z.ZodOptional<z.ZodNumber>;
195
+ defaultValue: z.ZodOptional<z.ZodNumber>;
196
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
197
+ }, z.core.$strip>>;
198
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
199
+ value: z.ZodOptional<z.ZodNumber>;
200
+ defaultValue: z.ZodOptional<z.ZodNumber>;
201
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
202
+ }, z.core.$strip>>;
203
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
204
+ value: z.ZodOptional<z.ZodNumber>;
205
+ defaultValue: z.ZodOptional<z.ZodNumber>;
206
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
207
+ }, z.core.$strip>>;
208
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
209
+ value: z.ZodOptional<z.ZodNumber>;
210
+ defaultValue: z.ZodOptional<z.ZodNumber>;
211
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
212
+ }, z.core.$strip>>;
213
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
214
+ value: z.ZodOptional<z.ZodNumber>;
215
+ defaultValue: z.ZodOptional<z.ZodNumber>;
216
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
217
+ }, z.core.$strip>>;
218
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
219
+ value: z.ZodOptional<z.ZodNumber>;
220
+ defaultValue: z.ZodOptional<z.ZodNumber>;
221
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
222
+ }, z.core.$strip>>;
223
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
224
+ value: z.ZodOptional<z.ZodNumber>;
225
+ defaultValue: z.ZodOptional<z.ZodNumber>;
226
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
227
+ }, z.core.$strip>>;
228
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
229
+ value: z.ZodOptional<z.ZodNumber>;
230
+ defaultValue: z.ZodOptional<z.ZodNumber>;
231
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
232
+ }, z.core.$strip>>;
233
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
234
+ value: z.ZodOptional<z.ZodNumber>;
235
+ defaultValue: z.ZodOptional<z.ZodNumber>;
236
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
237
+ }, z.core.$strip>>;
238
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
239
+ value: z.ZodOptional<z.ZodNumber>;
240
+ defaultValue: z.ZodOptional<z.ZodNumber>;
241
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
242
+ }, z.core.$strip>>;
243
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
244
+ value: z.ZodOptional<z.ZodNumber>;
245
+ defaultValue: z.ZodOptional<z.ZodNumber>;
246
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
247
+ }, z.core.$strip>>;
248
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
249
+ value: z.ZodOptional<z.ZodNumber>;
250
+ defaultValue: z.ZodOptional<z.ZodNumber>;
251
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
252
+ }, z.core.$strip>>;
253
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
254
+ value: z.ZodOptional<z.ZodNumber>;
255
+ defaultValue: z.ZodOptional<z.ZodNumber>;
256
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
257
+ }, z.core.$strip>>;
258
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
259
+ value: z.ZodOptional<z.ZodNumber>;
260
+ defaultValue: z.ZodOptional<z.ZodNumber>;
261
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
262
+ }, z.core.$strip>>;
263
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
264
+ value: z.ZodOptional<z.ZodNumber>;
265
+ defaultValue: z.ZodOptional<z.ZodNumber>;
266
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
267
+ }, z.core.$strip>>;
268
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
269
+ value: z.ZodOptional<z.ZodNumber>;
270
+ defaultValue: z.ZodOptional<z.ZodNumber>;
271
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
272
+ }, z.core.$strip>>;
273
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
274
+ value: z.ZodOptional<z.ZodNumber>;
275
+ defaultValue: z.ZodOptional<z.ZodNumber>;
276
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
277
+ }, z.core.$strip>>;
278
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
279
+ value: z.ZodOptional<z.ZodNumber>;
280
+ defaultValue: z.ZodOptional<z.ZodNumber>;
281
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
282
+ }, z.core.$strip>>;
283
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
284
+ value: z.ZodOptional<z.ZodNumber>;
285
+ defaultValue: z.ZodOptional<z.ZodNumber>;
286
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
287
+ }, z.core.$strip>>;
288
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
289
+ value: z.ZodOptional<z.ZodNumber>;
290
+ defaultValue: z.ZodOptional<z.ZodNumber>;
291
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
292
+ }, z.core.$strip>>;
293
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
294
+ value: z.ZodOptional<z.ZodNumber>;
295
+ defaultValue: z.ZodOptional<z.ZodNumber>;
296
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
297
+ }, z.core.$strip>>;
298
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
299
+ value: z.ZodOptional<z.ZodNumber>;
300
+ defaultValue: z.ZodOptional<z.ZodNumber>;
301
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
302
+ }, z.core.$strip>>;
303
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
304
+ value: z.ZodOptional<z.ZodNumber>;
305
+ defaultValue: z.ZodOptional<z.ZodNumber>;
306
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
307
+ }, z.core.$strip>>;
308
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
309
+ value: z.ZodOptional<z.ZodNumber>;
310
+ defaultValue: z.ZodOptional<z.ZodNumber>;
311
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
312
+ }, z.core.$strip>>;
313
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
314
+ value: z.ZodOptional<z.ZodNumber>;
315
+ defaultValue: z.ZodOptional<z.ZodNumber>;
316
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
317
+ }, z.core.$strip>>;
318
+ }, z.core.$strip>>;
319
+ settings: z.ZodOptional<z.ZodObject<{
320
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
321
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
322
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
323
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
324
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
325
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
326
+ }, z.core.$strip>>;
327
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
328
+ name: z.ZodString;
329
+ publicKey: z.ZodString;
330
+ }, z.core.$strip>>>;
331
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
332
+ webhookUri: z.ZodOptional<z.ZodString>;
333
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
335
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
336
+ fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
337
+ apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
338
+ apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
339
+ webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
340
+ webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
341
+ workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
342
+ workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
343
+ workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
344
+ externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
345
+ apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
346
+ apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
347
+ webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
348
+ webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
349
+ parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
350
+ engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
351
+ engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
352
+ totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
353
+ totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
354
+ totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
355
+ totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
356
+ totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
357
+ instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
358
+ queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
359
+ flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
360
+ eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
361
+ parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
362
+ testAlert: import("../alerts").AlertType.testAlert;
363
+ }>, z.ZodOptional<z.ZodObject<{
364
+ internal: z.ZodLiteral<true>;
365
+ webhook: z.ZodOptional<z.ZodObject<{
366
+ enabled: z.ZodBoolean;
367
+ }, z.core.$strip>>;
368
+ email: z.ZodOptional<z.ZodObject<{
369
+ enabled: z.ZodBoolean;
370
+ }, z.core.$strip>>;
371
+ }, z.core.$strip>>>>;
372
+ }, z.core.$strip>>;
373
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
374
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
375
+ }, z.core.$strip>;
376
+ export type WorkspaceEditableFields = z.infer<typeof WorkspaceEditableFields>;
112
377
  export declare const OrgWorkspace: z.ZodObject<{
113
378
  id: z.ZodString;
114
379
  name: z.ZodString;
@@ -116,16 +381,536 @@ export declare const OrgWorkspace: z.ZodObject<{
116
381
  apiBaseUri: z.ZodOptional<z.ZodString>;
117
382
  key: z.ZodString;
118
383
  secret: z.ZodString;
119
- createdAt: z.ZodCoercedDate<unknown>;
120
- updatedAt: z.ZodCoercedDate<unknown>;
384
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
385
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
121
386
  engineAccessToken: z.ZodOptional<z.ZodString>;
122
387
  trialEndDate: z.ZodOptional<z.ZodString>;
123
388
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
389
  logoUri: z.ZodOptional<z.ZodString>;
125
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
126
390
  membraneInstanceId: z.ZodOptional<z.ZodString>;
391
+ limits: z.ZodOptional<z.ZodObject<{
392
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
393
+ value: z.ZodOptional<z.ZodNumber>;
394
+ defaultValue: z.ZodOptional<z.ZodNumber>;
395
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
396
+ }, z.core.$strip>>;
397
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
398
+ value: z.ZodOptional<z.ZodNumber>;
399
+ defaultValue: z.ZodOptional<z.ZodNumber>;
400
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
401
+ }, z.core.$strip>>;
402
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
403
+ value: z.ZodOptional<z.ZodNumber>;
404
+ defaultValue: z.ZodOptional<z.ZodNumber>;
405
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
406
+ }, z.core.$strip>>;
407
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
408
+ value: z.ZodOptional<z.ZodNumber>;
409
+ defaultValue: z.ZodOptional<z.ZodNumber>;
410
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
411
+ }, z.core.$strip>>;
412
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
413
+ value: z.ZodOptional<z.ZodNumber>;
414
+ defaultValue: z.ZodOptional<z.ZodNumber>;
415
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
416
+ }, z.core.$strip>>;
417
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
418
+ value: z.ZodOptional<z.ZodNumber>;
419
+ defaultValue: z.ZodOptional<z.ZodNumber>;
420
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
421
+ }, z.core.$strip>>;
422
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
423
+ value: z.ZodOptional<z.ZodNumber>;
424
+ defaultValue: z.ZodOptional<z.ZodNumber>;
425
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
426
+ }, z.core.$strip>>;
427
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
428
+ value: z.ZodOptional<z.ZodNumber>;
429
+ defaultValue: z.ZodOptional<z.ZodNumber>;
430
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
431
+ }, z.core.$strip>>;
432
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
433
+ value: z.ZodOptional<z.ZodNumber>;
434
+ defaultValue: z.ZodOptional<z.ZodNumber>;
435
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
436
+ }, z.core.$strip>>;
437
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
438
+ value: z.ZodOptional<z.ZodNumber>;
439
+ defaultValue: z.ZodOptional<z.ZodNumber>;
440
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
441
+ }, z.core.$strip>>;
442
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
443
+ value: z.ZodOptional<z.ZodNumber>;
444
+ defaultValue: z.ZodOptional<z.ZodNumber>;
445
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
446
+ }, z.core.$strip>>;
447
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
448
+ value: z.ZodOptional<z.ZodNumber>;
449
+ defaultValue: z.ZodOptional<z.ZodNumber>;
450
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
451
+ }, z.core.$strip>>;
452
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
453
+ value: z.ZodOptional<z.ZodNumber>;
454
+ defaultValue: z.ZodOptional<z.ZodNumber>;
455
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
456
+ }, z.core.$strip>>;
457
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
458
+ value: z.ZodOptional<z.ZodNumber>;
459
+ defaultValue: z.ZodOptional<z.ZodNumber>;
460
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
461
+ }, z.core.$strip>>;
462
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
463
+ value: z.ZodOptional<z.ZodNumber>;
464
+ defaultValue: z.ZodOptional<z.ZodNumber>;
465
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
466
+ }, z.core.$strip>>;
467
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
468
+ value: z.ZodOptional<z.ZodNumber>;
469
+ defaultValue: z.ZodOptional<z.ZodNumber>;
470
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
471
+ }, z.core.$strip>>;
472
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
473
+ value: z.ZodOptional<z.ZodNumber>;
474
+ defaultValue: z.ZodOptional<z.ZodNumber>;
475
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
476
+ }, z.core.$strip>>;
477
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
478
+ value: z.ZodOptional<z.ZodNumber>;
479
+ defaultValue: z.ZodOptional<z.ZodNumber>;
480
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
481
+ }, z.core.$strip>>;
482
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
483
+ value: z.ZodOptional<z.ZodNumber>;
484
+ defaultValue: z.ZodOptional<z.ZodNumber>;
485
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
486
+ }, z.core.$strip>>;
487
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
488
+ value: z.ZodOptional<z.ZodNumber>;
489
+ defaultValue: z.ZodOptional<z.ZodNumber>;
490
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
491
+ }, z.core.$strip>>;
492
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
493
+ value: z.ZodOptional<z.ZodNumber>;
494
+ defaultValue: z.ZodOptional<z.ZodNumber>;
495
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
496
+ }, z.core.$strip>>;
497
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
498
+ value: z.ZodOptional<z.ZodNumber>;
499
+ defaultValue: z.ZodOptional<z.ZodNumber>;
500
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
501
+ }, z.core.$strip>>;
502
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
503
+ value: z.ZodOptional<z.ZodNumber>;
504
+ defaultValue: z.ZodOptional<z.ZodNumber>;
505
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
506
+ }, z.core.$strip>>;
507
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
508
+ value: z.ZodOptional<z.ZodNumber>;
509
+ defaultValue: z.ZodOptional<z.ZodNumber>;
510
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
511
+ }, z.core.$strip>>;
512
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
513
+ value: z.ZodOptional<z.ZodNumber>;
514
+ defaultValue: z.ZodOptional<z.ZodNumber>;
515
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
516
+ }, z.core.$strip>>;
517
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
518
+ value: z.ZodOptional<z.ZodNumber>;
519
+ defaultValue: z.ZodOptional<z.ZodNumber>;
520
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
521
+ }, z.core.$strip>>;
522
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
523
+ value: z.ZodOptional<z.ZodNumber>;
524
+ defaultValue: z.ZodOptional<z.ZodNumber>;
525
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
526
+ }, z.core.$strip>>;
527
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
528
+ value: z.ZodOptional<z.ZodNumber>;
529
+ defaultValue: z.ZodOptional<z.ZodNumber>;
530
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
531
+ }, z.core.$strip>>;
532
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
533
+ value: z.ZodOptional<z.ZodNumber>;
534
+ defaultValue: z.ZodOptional<z.ZodNumber>;
535
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
536
+ }, z.core.$strip>>;
537
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
538
+ value: z.ZodOptional<z.ZodNumber>;
539
+ defaultValue: z.ZodOptional<z.ZodNumber>;
540
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
541
+ }, z.core.$strip>>;
542
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
543
+ value: z.ZodOptional<z.ZodNumber>;
544
+ defaultValue: z.ZodOptional<z.ZodNumber>;
545
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
546
+ }, z.core.$strip>>;
547
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
548
+ value: z.ZodOptional<z.ZodNumber>;
549
+ defaultValue: z.ZodOptional<z.ZodNumber>;
550
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
551
+ }, z.core.$strip>>;
552
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
553
+ value: z.ZodOptional<z.ZodNumber>;
554
+ defaultValue: z.ZodOptional<z.ZodNumber>;
555
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
556
+ }, z.core.$strip>>;
557
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
558
+ value: z.ZodOptional<z.ZodNumber>;
559
+ defaultValue: z.ZodOptional<z.ZodNumber>;
560
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
561
+ }, z.core.$strip>>;
562
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
563
+ value: z.ZodOptional<z.ZodNumber>;
564
+ defaultValue: z.ZodOptional<z.ZodNumber>;
565
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
566
+ }, z.core.$strip>>;
567
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
568
+ value: z.ZodOptional<z.ZodNumber>;
569
+ defaultValue: z.ZodOptional<z.ZodNumber>;
570
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
571
+ }, z.core.$strip>>;
572
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
573
+ value: z.ZodOptional<z.ZodNumber>;
574
+ defaultValue: z.ZodOptional<z.ZodNumber>;
575
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
576
+ }, z.core.$strip>>;
577
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
578
+ value: z.ZodOptional<z.ZodNumber>;
579
+ defaultValue: z.ZodOptional<z.ZodNumber>;
580
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
581
+ }, z.core.$strip>>;
582
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
583
+ value: z.ZodOptional<z.ZodNumber>;
584
+ defaultValue: z.ZodOptional<z.ZodNumber>;
585
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
586
+ }, z.core.$strip>>;
587
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
588
+ value: z.ZodOptional<z.ZodNumber>;
589
+ defaultValue: z.ZodOptional<z.ZodNumber>;
590
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
591
+ }, z.core.$strip>>;
592
+ }, z.core.$strip>>;
593
+ settings: z.ZodOptional<z.ZodObject<{
594
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
595
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
596
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
597
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
598
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
599
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
600
+ }, z.core.$strip>>;
601
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
602
+ name: z.ZodString;
603
+ publicKey: z.ZodString;
604
+ }, z.core.$strip>>>;
605
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
606
+ webhookUri: z.ZodOptional<z.ZodString>;
607
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
608
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
609
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
610
+ fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
611
+ apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
612
+ apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
613
+ webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
614
+ webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
615
+ workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
616
+ workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
617
+ workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
618
+ externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
619
+ apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
620
+ apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
621
+ webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
622
+ webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
623
+ parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
624
+ engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
625
+ engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
626
+ totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
627
+ totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
628
+ totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
629
+ totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
630
+ totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
631
+ instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
632
+ queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
633
+ flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
634
+ eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
635
+ parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
636
+ testAlert: import("../alerts").AlertType.testAlert;
637
+ }>, z.ZodOptional<z.ZodObject<{
638
+ internal: z.ZodLiteral<true>;
639
+ webhook: z.ZodOptional<z.ZodObject<{
640
+ enabled: z.ZodBoolean;
641
+ }, z.core.$strip>>;
642
+ email: z.ZodOptional<z.ZodObject<{
643
+ enabled: z.ZodBoolean;
644
+ }, z.core.$strip>>;
645
+ }, z.core.$strip>>>>;
646
+ }, z.core.$strip>>;
647
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
127
649
  }, z.core.$strip>;
128
650
  export type OrgWorkspace = z.infer<typeof OrgWorkspace>;
651
+ export declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
652
+ name: z.ZodOptional<z.ZodString>;
653
+ logoUri: z.ZodOptional<z.ZodString>;
654
+ limits: z.ZodOptional<z.ZodObject<{
655
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
656
+ value: z.ZodOptional<z.ZodNumber>;
657
+ defaultValue: z.ZodOptional<z.ZodNumber>;
658
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
659
+ }, z.core.$strip>>;
660
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
661
+ value: z.ZodOptional<z.ZodNumber>;
662
+ defaultValue: z.ZodOptional<z.ZodNumber>;
663
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
664
+ }, z.core.$strip>>;
665
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
666
+ value: z.ZodOptional<z.ZodNumber>;
667
+ defaultValue: z.ZodOptional<z.ZodNumber>;
668
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
669
+ }, z.core.$strip>>;
670
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
671
+ value: z.ZodOptional<z.ZodNumber>;
672
+ defaultValue: z.ZodOptional<z.ZodNumber>;
673
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
674
+ }, z.core.$strip>>;
675
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
676
+ value: z.ZodOptional<z.ZodNumber>;
677
+ defaultValue: z.ZodOptional<z.ZodNumber>;
678
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
679
+ }, z.core.$strip>>;
680
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
681
+ value: z.ZodOptional<z.ZodNumber>;
682
+ defaultValue: z.ZodOptional<z.ZodNumber>;
683
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
684
+ }, z.core.$strip>>;
685
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
686
+ value: z.ZodOptional<z.ZodNumber>;
687
+ defaultValue: z.ZodOptional<z.ZodNumber>;
688
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
689
+ }, z.core.$strip>>;
690
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
691
+ value: z.ZodOptional<z.ZodNumber>;
692
+ defaultValue: z.ZodOptional<z.ZodNumber>;
693
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
694
+ }, z.core.$strip>>;
695
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
696
+ value: z.ZodOptional<z.ZodNumber>;
697
+ defaultValue: z.ZodOptional<z.ZodNumber>;
698
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
699
+ }, z.core.$strip>>;
700
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
701
+ value: z.ZodOptional<z.ZodNumber>;
702
+ defaultValue: z.ZodOptional<z.ZodNumber>;
703
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
704
+ }, z.core.$strip>>;
705
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
706
+ value: z.ZodOptional<z.ZodNumber>;
707
+ defaultValue: z.ZodOptional<z.ZodNumber>;
708
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
709
+ }, z.core.$strip>>;
710
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
711
+ value: z.ZodOptional<z.ZodNumber>;
712
+ defaultValue: z.ZodOptional<z.ZodNumber>;
713
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
714
+ }, z.core.$strip>>;
715
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
716
+ value: z.ZodOptional<z.ZodNumber>;
717
+ defaultValue: z.ZodOptional<z.ZodNumber>;
718
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
719
+ }, z.core.$strip>>;
720
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
721
+ value: z.ZodOptional<z.ZodNumber>;
722
+ defaultValue: z.ZodOptional<z.ZodNumber>;
723
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
724
+ }, z.core.$strip>>;
725
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
726
+ value: z.ZodOptional<z.ZodNumber>;
727
+ defaultValue: z.ZodOptional<z.ZodNumber>;
728
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
729
+ }, z.core.$strip>>;
730
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
731
+ value: z.ZodOptional<z.ZodNumber>;
732
+ defaultValue: z.ZodOptional<z.ZodNumber>;
733
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
734
+ }, z.core.$strip>>;
735
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
736
+ value: z.ZodOptional<z.ZodNumber>;
737
+ defaultValue: z.ZodOptional<z.ZodNumber>;
738
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
739
+ }, z.core.$strip>>;
740
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
741
+ value: z.ZodOptional<z.ZodNumber>;
742
+ defaultValue: z.ZodOptional<z.ZodNumber>;
743
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
744
+ }, z.core.$strip>>;
745
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
746
+ value: z.ZodOptional<z.ZodNumber>;
747
+ defaultValue: z.ZodOptional<z.ZodNumber>;
748
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
749
+ }, z.core.$strip>>;
750
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
751
+ value: z.ZodOptional<z.ZodNumber>;
752
+ defaultValue: z.ZodOptional<z.ZodNumber>;
753
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
754
+ }, z.core.$strip>>;
755
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
756
+ value: z.ZodOptional<z.ZodNumber>;
757
+ defaultValue: z.ZodOptional<z.ZodNumber>;
758
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
759
+ }, z.core.$strip>>;
760
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
761
+ value: z.ZodOptional<z.ZodNumber>;
762
+ defaultValue: z.ZodOptional<z.ZodNumber>;
763
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
764
+ }, z.core.$strip>>;
765
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
766
+ value: z.ZodOptional<z.ZodNumber>;
767
+ defaultValue: z.ZodOptional<z.ZodNumber>;
768
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
769
+ }, z.core.$strip>>;
770
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
771
+ value: z.ZodOptional<z.ZodNumber>;
772
+ defaultValue: z.ZodOptional<z.ZodNumber>;
773
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
774
+ }, z.core.$strip>>;
775
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
776
+ value: z.ZodOptional<z.ZodNumber>;
777
+ defaultValue: z.ZodOptional<z.ZodNumber>;
778
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
779
+ }, z.core.$strip>>;
780
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
781
+ value: z.ZodOptional<z.ZodNumber>;
782
+ defaultValue: z.ZodOptional<z.ZodNumber>;
783
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
784
+ }, z.core.$strip>>;
785
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
786
+ value: z.ZodOptional<z.ZodNumber>;
787
+ defaultValue: z.ZodOptional<z.ZodNumber>;
788
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
789
+ }, z.core.$strip>>;
790
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
791
+ value: z.ZodOptional<z.ZodNumber>;
792
+ defaultValue: z.ZodOptional<z.ZodNumber>;
793
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
794
+ }, z.core.$strip>>;
795
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
796
+ value: z.ZodOptional<z.ZodNumber>;
797
+ defaultValue: z.ZodOptional<z.ZodNumber>;
798
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
799
+ }, z.core.$strip>>;
800
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
801
+ value: z.ZodOptional<z.ZodNumber>;
802
+ defaultValue: z.ZodOptional<z.ZodNumber>;
803
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
804
+ }, z.core.$strip>>;
805
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
806
+ value: z.ZodOptional<z.ZodNumber>;
807
+ defaultValue: z.ZodOptional<z.ZodNumber>;
808
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
809
+ }, z.core.$strip>>;
810
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
811
+ value: z.ZodOptional<z.ZodNumber>;
812
+ defaultValue: z.ZodOptional<z.ZodNumber>;
813
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
814
+ }, z.core.$strip>>;
815
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
816
+ value: z.ZodOptional<z.ZodNumber>;
817
+ defaultValue: z.ZodOptional<z.ZodNumber>;
818
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
819
+ }, z.core.$strip>>;
820
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
821
+ value: z.ZodOptional<z.ZodNumber>;
822
+ defaultValue: z.ZodOptional<z.ZodNumber>;
823
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
824
+ }, z.core.$strip>>;
825
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
826
+ value: z.ZodOptional<z.ZodNumber>;
827
+ defaultValue: z.ZodOptional<z.ZodNumber>;
828
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
829
+ }, z.core.$strip>>;
830
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
831
+ value: z.ZodOptional<z.ZodNumber>;
832
+ defaultValue: z.ZodOptional<z.ZodNumber>;
833
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
834
+ }, z.core.$strip>>;
835
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
836
+ value: z.ZodOptional<z.ZodNumber>;
837
+ defaultValue: z.ZodOptional<z.ZodNumber>;
838
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
839
+ }, z.core.$strip>>;
840
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
841
+ value: z.ZodOptional<z.ZodNumber>;
842
+ defaultValue: z.ZodOptional<z.ZodNumber>;
843
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
844
+ }, z.core.$strip>>;
845
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
846
+ value: z.ZodOptional<z.ZodNumber>;
847
+ defaultValue: z.ZodOptional<z.ZodNumber>;
848
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
849
+ }, z.core.$strip>>;
850
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
851
+ value: z.ZodOptional<z.ZodNumber>;
852
+ defaultValue: z.ZodOptional<z.ZodNumber>;
853
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
854
+ }, z.core.$strip>>;
855
+ }, z.core.$strip>>;
856
+ settings: z.ZodOptional<z.ZodObject<{
857
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
858
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
859
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
860
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
861
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
862
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
863
+ }, z.core.$strip>>;
864
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
865
+ name: z.ZodString;
866
+ publicKey: z.ZodString;
867
+ }, z.core.$strip>>>;
868
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
869
+ webhookUri: z.ZodOptional<z.ZodString>;
870
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
871
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
872
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
873
+ fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
874
+ apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
875
+ apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
876
+ webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
877
+ webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
878
+ workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
879
+ workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
880
+ workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
881
+ externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
882
+ apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
883
+ apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
884
+ webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
885
+ webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
886
+ parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
887
+ engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
888
+ engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
889
+ totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
890
+ totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
891
+ totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
892
+ totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
893
+ totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
894
+ instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
895
+ queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
896
+ flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
897
+ eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
898
+ parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
899
+ testAlert: import("../alerts").AlertType.testAlert;
900
+ }>, z.ZodOptional<z.ZodObject<{
901
+ internal: z.ZodLiteral<true>;
902
+ webhook: z.ZodOptional<z.ZodObject<{
903
+ enabled: z.ZodBoolean;
904
+ }, z.core.$strip>>;
905
+ email: z.ZodOptional<z.ZodObject<{
906
+ enabled: z.ZodBoolean;
907
+ }, z.core.$strip>>;
908
+ }, z.core.$strip>>>>;
909
+ }, z.core.$strip>>;
910
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
911
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
912
+ }, z.core.$strip>;
913
+ export type OrgWorkspaceUpdateRequest = z.infer<typeof OrgWorkspaceUpdateRequest>;
129
914
  export declare const OrgWorkspaceUser: z.ZodObject<{
130
915
  id: z.ZodString;
131
916
  workspaceId: z.ZodString;
@@ -162,7 +947,6 @@ export type CreateOrgRequest = z.infer<typeof CreateOrgRequest>;
162
947
  export declare const UpdateOrgRequest: z.ZodObject<{
163
948
  name: z.ZodOptional<z.ZodString>;
164
949
  domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
166
950
  }, z.core.$strip>;
167
951
  export type UpdateOrgRequest = z.infer<typeof UpdateOrgRequest>;
168
952
  export declare const BaseOrgUser: z.ZodObject<{
@@ -214,6 +998,7 @@ export declare const FullOrgUser: z.ZodObject<{
214
998
  lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
215
999
  membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
216
1000
  membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1001
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
217
1002
  }, z.core.$strip>>;
218
1003
  thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
219
1004
  lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
@@ -223,7 +1008,6 @@ export declare const FullOrgUser: z.ZodObject<{
223
1008
  freeAiCredits: z.ZodOptional<z.ZodNumber>;
224
1009
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
225
1010
  freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
226
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
227
1011
  stripeCustomerId: z.ZodOptional<z.ZodString>;
228
1012
  autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
229
1013
  autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
@@ -268,6 +1052,7 @@ export declare const OrgInvitation: z.ZodObject<{
268
1052
  lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
269
1053
  membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
270
1054
  membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1055
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
271
1056
  }, z.core.$strip>>;
272
1057
  thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
273
1058
  lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
@@ -277,7 +1062,6 @@ export declare const OrgInvitation: z.ZodObject<{
277
1062
  freeAiCredits: z.ZodOptional<z.ZodNumber>;
278
1063
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
279
1064
  freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
280
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
281
1065
  stripeCustomerId: z.ZodOptional<z.ZodString>;
282
1066
  autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
283
1067
  autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
@@ -319,6 +1103,17 @@ export declare const FindOrgWorkspacesQuery: z.ZodObject<{
319
1103
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
320
1104
  }, z.core.$strip>;
321
1105
  export type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
1106
+ export declare const CreateOrgWorkspaceRequest: z.ZodObject<{
1107
+ name: z.ZodOptional<z.ZodString>;
1108
+ logoUri: z.ZodOptional<z.ZodString>;
1109
+ orgId: z.ZodString;
1110
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
1111
+ }, z.core.$strip>;
1112
+ export type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
1113
+ export declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
1114
+ secret: z.ZodString;
1115
+ }, z.core.$strip>;
1116
+ export type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
322
1117
  export declare const AccountResponse: z.ZodObject<{
323
1118
  user: z.ZodOptional<z.ZodObject<{
324
1119
  id: z.ZodString;
@@ -345,90 +1140,13 @@ export declare const AccountResponse: z.ZodObject<{
345
1140
  apiBaseUri: z.ZodOptional<z.ZodString>;
346
1141
  key: z.ZodString;
347
1142
  secret: z.ZodString;
348
- createdAt: z.ZodCoercedDate<unknown>;
349
- updatedAt: z.ZodCoercedDate<unknown>;
350
- engineAccessToken: z.ZodOptional<z.ZodString>;
351
- trialEndDate: z.ZodOptional<z.ZodString>;
352
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
353
- logoUri: z.ZodOptional<z.ZodString>;
354
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
355
- membraneInstanceId: z.ZodOptional<z.ZodString>;
356
- }, z.core.$strip>>;
357
- workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
358
- id: z.ZodString;
359
- name: z.ZodString;
360
- orgId: z.ZodString;
361
- apiBaseUri: z.ZodOptional<z.ZodString>;
362
- key: z.ZodString;
363
- secret: z.ZodString;
364
- createdAt: z.ZodCoercedDate<unknown>;
365
- updatedAt: z.ZodCoercedDate<unknown>;
1143
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
1144
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
366
1145
  engineAccessToken: z.ZodOptional<z.ZodString>;
367
1146
  trialEndDate: z.ZodOptional<z.ZodString>;
368
1147
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
369
1148
  logoUri: z.ZodOptional<z.ZodString>;
370
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
371
1149
  membraneInstanceId: z.ZodOptional<z.ZodString>;
372
- }, z.core.$strip>>>;
373
- workspaceUser: z.ZodOptional<z.ZodObject<{
374
- id: z.ZodString;
375
- workspaceId: z.ZodString;
376
- userId: z.ZodString;
377
- role: z.ZodString;
378
- testCustomerId: z.ZodString;
379
- }, z.core.$strip>>;
380
- engineTestUser: z.ZodOptional<z.ZodObject<{
381
- id: z.ZodString;
382
- name: z.ZodString;
383
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
384
- internalId: z.ZodString;
385
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
386
- credentials: z.ZodOptional<z.ZodAny>;
387
- lastActiveAt: z.ZodOptional<z.ZodString>;
388
- isTest: z.ZodOptional<z.ZodBoolean>;
389
- isBillable: z.ZodOptional<z.ZodBoolean>;
390
- isActive: z.ZodOptional<z.ZodBoolean>;
391
- aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
392
- createdAt: z.ZodOptional<z.ZodString>;
393
- archivedAt: z.ZodOptional<z.ZodString>;
394
- }, z.core.$strip>>;
395
- testCustomer: z.ZodOptional<z.ZodObject<{
396
- id: z.ZodString;
397
- name: z.ZodString;
398
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
399
- internalId: z.ZodString;
400
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
401
- credentials: z.ZodOptional<z.ZodAny>;
402
- lastActiveAt: z.ZodOptional<z.ZodString>;
403
- isTest: z.ZodOptional<z.ZodBoolean>;
404
- isBillable: z.ZodOptional<z.ZodBoolean>;
405
- isActive: z.ZodOptional<z.ZodBoolean>;
406
- aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
407
- createdAt: z.ZodOptional<z.ZodString>;
408
- archivedAt: z.ZodOptional<z.ZodString>;
409
- }, z.core.$strip>>;
410
- engineApp: z.ZodOptional<z.ZodObject<{
411
- id: z.ZodString;
412
- key: z.ZodString;
413
- logoUri: z.ZodOptional<z.ZodString>;
414
- userFieldsSchema: z.ZodOptional<z.ZodAny>;
415
- apiBaseUri: z.ZodOptional<z.ZodString>;
416
- webhookUri: z.ZodOptional<z.ZodString>;
417
- publicKey: z.ZodOptional<z.ZodString>;
418
- publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
- name: z.ZodString;
420
- publicKey: z.ZodString;
421
- }, z.core.$strip>>>;
422
- enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
423
- auth: z.ZodOptional<z.ZodAny>;
424
- credentialsSchema: z.ZodOptional<z.ZodAny>;
425
- apiClient: z.ZodOptional<z.ZodAny>;
426
- apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
427
- apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
428
- isOnPrem: z.ZodOptional<z.ZodBoolean>;
429
- connectorBaseUri: z.ZodOptional<z.ZodString>;
430
- connectorRevision: z.ZodOptional<z.ZodString>;
431
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
1150
  limits: z.ZodOptional<z.ZodObject<{
433
1151
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
434
1152
  value: z.ZodOptional<z.ZodNumber>;
@@ -470,12 +1188,12 @@ export declare const AccountResponse: z.ZodObject<{
470
1188
  defaultValue: z.ZodOptional<z.ZodNumber>;
471
1189
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
472
1190
  }, z.core.$strip>>;
473
- parallelEventLogs: z.ZodOptional<z.ZodObject<{
1191
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
474
1192
  value: z.ZodOptional<z.ZodNumber>;
475
1193
  defaultValue: z.ZodOptional<z.ZodNumber>;
476
1194
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
477
1195
  }, z.core.$strip>>;
478
- parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
1196
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
479
1197
  value: z.ZodOptional<z.ZodNumber>;
480
1198
  defaultValue: z.ZodOptional<z.ZodNumber>;
481
1199
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
@@ -485,7 +1203,7 @@ export declare const AccountResponse: z.ZodObject<{
485
1203
  defaultValue: z.ZodOptional<z.ZodNumber>;
486
1204
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
487
1205
  }, z.core.$strip>>;
488
- parallelPathfinderAgentSessions: z.ZodOptional<z.ZodObject<{
1206
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
489
1207
  value: z.ZodOptional<z.ZodNumber>;
490
1208
  defaultValue: z.ZodOptional<z.ZodNumber>;
491
1209
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
@@ -565,6 +1283,11 @@ export declare const AccountResponse: z.ZodObject<{
565
1283
  defaultValue: z.ZodOptional<z.ZodNumber>;
566
1284
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
567
1285
  }, z.core.$strip>>;
1286
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
1287
+ value: z.ZodOptional<z.ZodNumber>;
1288
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1289
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1290
+ }, z.core.$strip>>;
568
1291
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
569
1292
  value: z.ZodOptional<z.ZodNumber>;
570
1293
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -620,6 +1343,11 @@ export declare const AccountResponse: z.ZodObject<{
620
1343
  defaultValue: z.ZodOptional<z.ZodNumber>;
621
1344
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
622
1345
  }, z.core.$strip>>;
1346
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
1347
+ value: z.ZodOptional<z.ZodNumber>;
1348
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1349
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1350
+ }, z.core.$strip>>;
623
1351
  }, z.core.$strip>>;
624
1352
  settings: z.ZodOptional<z.ZodObject<{
625
1353
  enableApiLogs: z.ZodOptional<z.ZodBoolean>;
@@ -629,9 +1357,600 @@ export declare const AccountResponse: z.ZodObject<{
629
1357
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
630
1358
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
631
1359
  }, z.core.$strip>>;
632
- alertDeliverySettings: z.ZodOptional<z.ZodObject<{
633
- alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
634
- fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
1360
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
1361
+ name: z.ZodString;
1362
+ publicKey: z.ZodString;
1363
+ }, z.core.$strip>>>;
1364
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
1365
+ webhookUri: z.ZodOptional<z.ZodString>;
1366
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1367
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
1368
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1369
+ fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
1370
+ apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
1371
+ apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
1372
+ webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
1373
+ webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
1374
+ workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
1375
+ workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
1376
+ workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
1377
+ externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
1378
+ apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
1379
+ apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
1380
+ webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
1381
+ webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
1382
+ parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
1383
+ engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
1384
+ engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
1385
+ totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
1386
+ totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
1387
+ totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
1388
+ totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
1389
+ totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
1390
+ instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
1391
+ queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
1392
+ flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
1393
+ eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
1394
+ parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
1395
+ testAlert: import("../alerts").AlertType.testAlert;
1396
+ }>, z.ZodOptional<z.ZodObject<{
1397
+ internal: z.ZodLiteral<true>;
1398
+ webhook: z.ZodOptional<z.ZodObject<{
1399
+ enabled: z.ZodBoolean;
1400
+ }, z.core.$strip>>;
1401
+ email: z.ZodOptional<z.ZodObject<{
1402
+ enabled: z.ZodBoolean;
1403
+ }, z.core.$strip>>;
1404
+ }, z.core.$strip>>>>;
1405
+ }, z.core.$strip>>;
1406
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
1408
+ }, z.core.$strip>>;
1409
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1410
+ id: z.ZodString;
1411
+ name: z.ZodString;
1412
+ orgId: z.ZodString;
1413
+ apiBaseUri: z.ZodOptional<z.ZodString>;
1414
+ key: z.ZodString;
1415
+ secret: z.ZodString;
1416
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
1417
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
1418
+ engineAccessToken: z.ZodOptional<z.ZodString>;
1419
+ trialEndDate: z.ZodOptional<z.ZodString>;
1420
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1421
+ logoUri: z.ZodOptional<z.ZodString>;
1422
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
1423
+ limits: z.ZodOptional<z.ZodObject<{
1424
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
1425
+ value: z.ZodOptional<z.ZodNumber>;
1426
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1427
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1428
+ }, z.core.$strip>>;
1429
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
1430
+ value: z.ZodOptional<z.ZodNumber>;
1431
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1432
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1433
+ }, z.core.$strip>>;
1434
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
1435
+ value: z.ZodOptional<z.ZodNumber>;
1436
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1437
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1438
+ }, z.core.$strip>>;
1439
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
1440
+ value: z.ZodOptional<z.ZodNumber>;
1441
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1442
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1443
+ }, z.core.$strip>>;
1444
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
1445
+ value: z.ZodOptional<z.ZodNumber>;
1446
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1447
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1448
+ }, z.core.$strip>>;
1449
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
1450
+ value: z.ZodOptional<z.ZodNumber>;
1451
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1452
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1453
+ }, z.core.$strip>>;
1454
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
1455
+ value: z.ZodOptional<z.ZodNumber>;
1456
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1457
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1458
+ }, z.core.$strip>>;
1459
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
1460
+ value: z.ZodOptional<z.ZodNumber>;
1461
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1462
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1463
+ }, z.core.$strip>>;
1464
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
1465
+ value: z.ZodOptional<z.ZodNumber>;
1466
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1467
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1468
+ }, z.core.$strip>>;
1469
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
1470
+ value: z.ZodOptional<z.ZodNumber>;
1471
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1472
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1473
+ }, z.core.$strip>>;
1474
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
1475
+ value: z.ZodOptional<z.ZodNumber>;
1476
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1477
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1478
+ }, z.core.$strip>>;
1479
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
1480
+ value: z.ZodOptional<z.ZodNumber>;
1481
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1482
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1483
+ }, z.core.$strip>>;
1484
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
1485
+ value: z.ZodOptional<z.ZodNumber>;
1486
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1487
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1488
+ }, z.core.$strip>>;
1489
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
1490
+ value: z.ZodOptional<z.ZodNumber>;
1491
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1492
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1493
+ }, z.core.$strip>>;
1494
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
1495
+ value: z.ZodOptional<z.ZodNumber>;
1496
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1497
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1498
+ }, z.core.$strip>>;
1499
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
1500
+ value: z.ZodOptional<z.ZodNumber>;
1501
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1502
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1503
+ }, z.core.$strip>>;
1504
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
1505
+ value: z.ZodOptional<z.ZodNumber>;
1506
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1507
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1508
+ }, z.core.$strip>>;
1509
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
1510
+ value: z.ZodOptional<z.ZodNumber>;
1511
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1512
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1513
+ }, z.core.$strip>>;
1514
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
1515
+ value: z.ZodOptional<z.ZodNumber>;
1516
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1517
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1518
+ }, z.core.$strip>>;
1519
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
1520
+ value: z.ZodOptional<z.ZodNumber>;
1521
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1522
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1523
+ }, z.core.$strip>>;
1524
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
1525
+ value: z.ZodOptional<z.ZodNumber>;
1526
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1527
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1528
+ }, z.core.$strip>>;
1529
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
1530
+ value: z.ZodOptional<z.ZodNumber>;
1531
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1532
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1533
+ }, z.core.$strip>>;
1534
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
1535
+ value: z.ZodOptional<z.ZodNumber>;
1536
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1537
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1538
+ }, z.core.$strip>>;
1539
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
1540
+ value: z.ZodOptional<z.ZodNumber>;
1541
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1542
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1543
+ }, z.core.$strip>>;
1544
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
1545
+ value: z.ZodOptional<z.ZodNumber>;
1546
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1547
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1548
+ }, z.core.$strip>>;
1549
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
1550
+ value: z.ZodOptional<z.ZodNumber>;
1551
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1552
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1553
+ }, z.core.$strip>>;
1554
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
1555
+ value: z.ZodOptional<z.ZodNumber>;
1556
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1557
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1558
+ }, z.core.$strip>>;
1559
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
1560
+ value: z.ZodOptional<z.ZodNumber>;
1561
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1562
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1563
+ }, z.core.$strip>>;
1564
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
1565
+ value: z.ZodOptional<z.ZodNumber>;
1566
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1567
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1568
+ }, z.core.$strip>>;
1569
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
1570
+ value: z.ZodOptional<z.ZodNumber>;
1571
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1572
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1573
+ }, z.core.$strip>>;
1574
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
1575
+ value: z.ZodOptional<z.ZodNumber>;
1576
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1577
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1578
+ }, z.core.$strip>>;
1579
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
1580
+ value: z.ZodOptional<z.ZodNumber>;
1581
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1582
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1583
+ }, z.core.$strip>>;
1584
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
1585
+ value: z.ZodOptional<z.ZodNumber>;
1586
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1587
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1588
+ }, z.core.$strip>>;
1589
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
1590
+ value: z.ZodOptional<z.ZodNumber>;
1591
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1592
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1593
+ }, z.core.$strip>>;
1594
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
1595
+ value: z.ZodOptional<z.ZodNumber>;
1596
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1597
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1598
+ }, z.core.$strip>>;
1599
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
1600
+ value: z.ZodOptional<z.ZodNumber>;
1601
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1602
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1603
+ }, z.core.$strip>>;
1604
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
1605
+ value: z.ZodOptional<z.ZodNumber>;
1606
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1607
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1608
+ }, z.core.$strip>>;
1609
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
1610
+ value: z.ZodOptional<z.ZodNumber>;
1611
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1612
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1613
+ }, z.core.$strip>>;
1614
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
1615
+ value: z.ZodOptional<z.ZodNumber>;
1616
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1617
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1618
+ }, z.core.$strip>>;
1619
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
1620
+ value: z.ZodOptional<z.ZodNumber>;
1621
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1622
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1623
+ }, z.core.$strip>>;
1624
+ }, z.core.$strip>>;
1625
+ settings: z.ZodOptional<z.ZodObject<{
1626
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
1627
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
1628
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
1629
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
1630
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
1631
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
1632
+ }, z.core.$strip>>;
1633
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
1634
+ name: z.ZodString;
1635
+ publicKey: z.ZodString;
1636
+ }, z.core.$strip>>>;
1637
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
1638
+ webhookUri: z.ZodOptional<z.ZodString>;
1639
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1640
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
1641
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1642
+ fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
1643
+ apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
1644
+ apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
1645
+ webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
1646
+ webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
1647
+ workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
1648
+ workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
1649
+ workspaceElementSearchIndexingPerMinute: import("../alerts").AlertType.workspaceElementSearchIndexingPerMinute;
1650
+ externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
1651
+ apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
1652
+ apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
1653
+ webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
1654
+ webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
1655
+ parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
1656
+ engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
1657
+ engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
1658
+ totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
1659
+ totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
1660
+ totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
1661
+ totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
1662
+ totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
1663
+ instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
1664
+ queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
1665
+ flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
1666
+ eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
1667
+ parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
1668
+ testAlert: import("../alerts").AlertType.testAlert;
1669
+ }>, z.ZodOptional<z.ZodObject<{
1670
+ internal: z.ZodLiteral<true>;
1671
+ webhook: z.ZodOptional<z.ZodObject<{
1672
+ enabled: z.ZodBoolean;
1673
+ }, z.core.$strip>>;
1674
+ email: z.ZodOptional<z.ZodObject<{
1675
+ enabled: z.ZodBoolean;
1676
+ }, z.core.$strip>>;
1677
+ }, z.core.$strip>>>>;
1678
+ }, z.core.$strip>>;
1679
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1680
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
1681
+ }, z.core.$strip>>>;
1682
+ workspaceUser: z.ZodOptional<z.ZodObject<{
1683
+ id: z.ZodString;
1684
+ workspaceId: z.ZodString;
1685
+ userId: z.ZodString;
1686
+ role: z.ZodString;
1687
+ testCustomerId: z.ZodString;
1688
+ }, z.core.$strip>>;
1689
+ engineTestUser: z.ZodOptional<z.ZodObject<{
1690
+ id: z.ZodString;
1691
+ name: z.ZodString;
1692
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1693
+ internalId: z.ZodString;
1694
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1695
+ credentials: z.ZodOptional<z.ZodAny>;
1696
+ lastActiveAt: z.ZodOptional<z.ZodString>;
1697
+ isTest: z.ZodOptional<z.ZodBoolean>;
1698
+ isBillable: z.ZodOptional<z.ZodBoolean>;
1699
+ isActive: z.ZodOptional<z.ZodBoolean>;
1700
+ aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1701
+ createdAt: z.ZodOptional<z.ZodString>;
1702
+ archivedAt: z.ZodOptional<z.ZodString>;
1703
+ }, z.core.$strip>>;
1704
+ testCustomer: z.ZodOptional<z.ZodObject<{
1705
+ id: z.ZodString;
1706
+ name: z.ZodString;
1707
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1708
+ internalId: z.ZodString;
1709
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1710
+ credentials: z.ZodOptional<z.ZodAny>;
1711
+ lastActiveAt: z.ZodOptional<z.ZodString>;
1712
+ isTest: z.ZodOptional<z.ZodBoolean>;
1713
+ isBillable: z.ZodOptional<z.ZodBoolean>;
1714
+ isActive: z.ZodOptional<z.ZodBoolean>;
1715
+ aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1716
+ createdAt: z.ZodOptional<z.ZodString>;
1717
+ archivedAt: z.ZodOptional<z.ZodString>;
1718
+ }, z.core.$strip>>;
1719
+ engineApp: z.ZodOptional<z.ZodObject<{
1720
+ id: z.ZodString;
1721
+ key: z.ZodString;
1722
+ logoUri: z.ZodOptional<z.ZodString>;
1723
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
1724
+ apiBaseUri: z.ZodOptional<z.ZodString>;
1725
+ webhookUri: z.ZodOptional<z.ZodString>;
1726
+ publicKey: z.ZodOptional<z.ZodString>;
1727
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
1728
+ name: z.ZodString;
1729
+ publicKey: z.ZodString;
1730
+ }, z.core.$strip>>>;
1731
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1732
+ auth: z.ZodOptional<z.ZodAny>;
1733
+ credentialsSchema: z.ZodOptional<z.ZodAny>;
1734
+ apiClient: z.ZodOptional<z.ZodAny>;
1735
+ apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1736
+ apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1737
+ isOnPrem: z.ZodOptional<z.ZodBoolean>;
1738
+ connectorBaseUri: z.ZodOptional<z.ZodString>;
1739
+ connectorRevision: z.ZodOptional<z.ZodString>;
1740
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1741
+ limits: z.ZodOptional<z.ZodObject<{
1742
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
1743
+ value: z.ZodOptional<z.ZodNumber>;
1744
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1745
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1746
+ }, z.core.$strip>>;
1747
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
1748
+ value: z.ZodOptional<z.ZodNumber>;
1749
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1750
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1751
+ }, z.core.$strip>>;
1752
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
1753
+ value: z.ZodOptional<z.ZodNumber>;
1754
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1755
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1756
+ }, z.core.$strip>>;
1757
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
1758
+ value: z.ZodOptional<z.ZodNumber>;
1759
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1760
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1761
+ }, z.core.$strip>>;
1762
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
1763
+ value: z.ZodOptional<z.ZodNumber>;
1764
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1765
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1766
+ }, z.core.$strip>>;
1767
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
1768
+ value: z.ZodOptional<z.ZodNumber>;
1769
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1770
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1771
+ }, z.core.$strip>>;
1772
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
1773
+ value: z.ZodOptional<z.ZodNumber>;
1774
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1775
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1776
+ }, z.core.$strip>>;
1777
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
1778
+ value: z.ZodOptional<z.ZodNumber>;
1779
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1780
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1781
+ }, z.core.$strip>>;
1782
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
1783
+ value: z.ZodOptional<z.ZodNumber>;
1784
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1785
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1786
+ }, z.core.$strip>>;
1787
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
1788
+ value: z.ZodOptional<z.ZodNumber>;
1789
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1790
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1791
+ }, z.core.$strip>>;
1792
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
1793
+ value: z.ZodOptional<z.ZodNumber>;
1794
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1795
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1796
+ }, z.core.$strip>>;
1797
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
1798
+ value: z.ZodOptional<z.ZodNumber>;
1799
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1800
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1801
+ }, z.core.$strip>>;
1802
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
1803
+ value: z.ZodOptional<z.ZodNumber>;
1804
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1805
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1806
+ }, z.core.$strip>>;
1807
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
1808
+ value: z.ZodOptional<z.ZodNumber>;
1809
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1810
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1811
+ }, z.core.$strip>>;
1812
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
1813
+ value: z.ZodOptional<z.ZodNumber>;
1814
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1815
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1816
+ }, z.core.$strip>>;
1817
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
1818
+ value: z.ZodOptional<z.ZodNumber>;
1819
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1820
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1821
+ }, z.core.$strip>>;
1822
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
1823
+ value: z.ZodOptional<z.ZodNumber>;
1824
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1825
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1826
+ }, z.core.$strip>>;
1827
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
1828
+ value: z.ZodOptional<z.ZodNumber>;
1829
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1830
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1831
+ }, z.core.$strip>>;
1832
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
1833
+ value: z.ZodOptional<z.ZodNumber>;
1834
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1835
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1836
+ }, z.core.$strip>>;
1837
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
1838
+ value: z.ZodOptional<z.ZodNumber>;
1839
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1840
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1841
+ }, z.core.$strip>>;
1842
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
1843
+ value: z.ZodOptional<z.ZodNumber>;
1844
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1845
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1846
+ }, z.core.$strip>>;
1847
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
1848
+ value: z.ZodOptional<z.ZodNumber>;
1849
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1850
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1851
+ }, z.core.$strip>>;
1852
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
1853
+ value: z.ZodOptional<z.ZodNumber>;
1854
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1855
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1856
+ }, z.core.$strip>>;
1857
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
1858
+ value: z.ZodOptional<z.ZodNumber>;
1859
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1860
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1861
+ }, z.core.$strip>>;
1862
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
1863
+ value: z.ZodOptional<z.ZodNumber>;
1864
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1865
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1866
+ }, z.core.$strip>>;
1867
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
1868
+ value: z.ZodOptional<z.ZodNumber>;
1869
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1870
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1871
+ }, z.core.$strip>>;
1872
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
1873
+ value: z.ZodOptional<z.ZodNumber>;
1874
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1875
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1876
+ }, z.core.$strip>>;
1877
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
1878
+ value: z.ZodOptional<z.ZodNumber>;
1879
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1880
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1881
+ }, z.core.$strip>>;
1882
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
1883
+ value: z.ZodOptional<z.ZodNumber>;
1884
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1885
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1886
+ }, z.core.$strip>>;
1887
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
1888
+ value: z.ZodOptional<z.ZodNumber>;
1889
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1890
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1891
+ }, z.core.$strip>>;
1892
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
1893
+ value: z.ZodOptional<z.ZodNumber>;
1894
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1895
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1896
+ }, z.core.$strip>>;
1897
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
1898
+ value: z.ZodOptional<z.ZodNumber>;
1899
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1900
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1901
+ }, z.core.$strip>>;
1902
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
1903
+ value: z.ZodOptional<z.ZodNumber>;
1904
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1905
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1906
+ }, z.core.$strip>>;
1907
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
1908
+ value: z.ZodOptional<z.ZodNumber>;
1909
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1910
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1911
+ }, z.core.$strip>>;
1912
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
1913
+ value: z.ZodOptional<z.ZodNumber>;
1914
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1915
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1916
+ }, z.core.$strip>>;
1917
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
1918
+ value: z.ZodOptional<z.ZodNumber>;
1919
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1920
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1921
+ }, z.core.$strip>>;
1922
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
1923
+ value: z.ZodOptional<z.ZodNumber>;
1924
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1925
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1926
+ }, z.core.$strip>>;
1927
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
1928
+ value: z.ZodOptional<z.ZodNumber>;
1929
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1930
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1931
+ }, z.core.$strip>>;
1932
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
1933
+ value: z.ZodOptional<z.ZodNumber>;
1934
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1935
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1936
+ }, z.core.$strip>>;
1937
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
1938
+ value: z.ZodOptional<z.ZodNumber>;
1939
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1940
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1941
+ }, z.core.$strip>>;
1942
+ }, z.core.$strip>>;
1943
+ settings: z.ZodOptional<z.ZodObject<{
1944
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
1945
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
1946
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
1947
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
1948
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
1949
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
1950
+ }, z.core.$strip>>;
1951
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
1952
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1953
+ fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
635
1954
  apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
636
1955
  apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
637
1956
  webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
@@ -651,6 +1970,7 @@ export declare const AccountResponse: z.ZodObject<{
651
1970
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
652
1971
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
653
1972
  totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
1973
+ totalNumberOfWorkspaceDatabaseRecords: import("../alerts").AlertType.totalNumberOfWorkspaceDatabaseRecords;
654
1974
  instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
655
1975
  queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
656
1976
  flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
@@ -667,7 +1987,7 @@ export declare const AccountResponse: z.ZodObject<{
667
1987
  }, z.core.$strip>>;
668
1988
  }, z.core.$strip>>>>;
669
1989
  }, z.core.$strip>>;
670
- type: z.ZodOptional<z.ZodEnum<typeof import("../workspaces").WorkspaceType>>;
1990
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
671
1991
  jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
672
1992
  isTrial: z.ZodOptional<z.ZodBoolean>;
673
1993
  isThrottled: z.ZodOptional<z.ZodBoolean>;
@@ -692,6 +2012,7 @@ export declare const AccountResponse: z.ZodObject<{
692
2012
  lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
693
2013
  membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
694
2014
  membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2015
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
695
2016
  }, z.core.$strip>>;
696
2017
  thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
697
2018
  lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
@@ -701,7 +2022,6 @@ export declare const AccountResponse: z.ZodObject<{
701
2022
  freeAiCredits: z.ZodOptional<z.ZodNumber>;
702
2023
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
703
2024
  freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
704
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
705
2025
  stripeCustomerId: z.ZodOptional<z.ZodString>;
706
2026
  autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
707
2027
  autoChargeThreshold: z.ZodOptional<z.ZodNumber>;