@membranehq/sdk 0.10.10 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +201 -4
- package/dist/bundle.js +182 -53
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +8 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +9 -1
- package/dist/dts/agent/session.d.ts +5 -0
- package/dist/dts/alerts/types.d.ts +18 -0
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +17 -0
- package/dist/dts/stats/index.d.ts +33 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +34 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +22 -1
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +8 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +16 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +38 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +16 -3
- package/dist/dts/workspace-elements/api/packages-api.d.ts +10 -0
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +1 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/external-apps/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +28 -2
- package/dist/dts/workspace-elements/base/packages/index.d.ts +2 -0
- package/dist/dts/workspace-elements/filter-meta.d.ts +9 -0
- package/dist/dts/workspace-elements/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +4 -0
- package/dist/dts/workspaces/types.d.ts +276 -34
- package/dist/index.browser.d.mts +665 -41
- package/dist/index.browser.d.ts +665 -41
- package/dist/index.browser.js +202 -24
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +191 -25
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +665 -41
- package/dist/index.node.d.ts +665 -41
- package/dist/index.node.js +202 -24
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +191 -25
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
import { AlertDeliverySettings } from '../alerts';
|
|
3
|
-
import { DataSchema } from '../data-schema';
|
|
4
2
|
import { AppDataSchemaExportProperties, AppEventTypeExportProperties, DataLinkTableExportProperties, IntegrationExportProperties, DataSourceExportProperties, FieldMappingExportProperties, ActionExportProperties, FlowExportProperties, PackageExportProperties } from '../workspace-elements';
|
|
5
|
-
import { ConnectorAuth, RestApiClientOptions } from '../workspace-elements/base/connectors';
|
|
6
3
|
import { WorkspaceElementType } from '../workspace-elements/types';
|
|
7
4
|
export declare enum WorkspaceType {
|
|
8
5
|
PRODUCTION = "production",
|
|
@@ -19,7 +16,7 @@ export declare enum WorkspaceNotificationType {
|
|
|
19
16
|
CopilotActivity = "copilot-activity",
|
|
20
17
|
LocalClientUpdate = "local-client-update"
|
|
21
18
|
}
|
|
22
|
-
export declare
|
|
19
|
+
export declare enum ParallelExecutionLimits {
|
|
23
20
|
ParallelEventPulls = "parallelEventPulls",
|
|
24
21
|
ParallelIncrementalEventPullsPerConnection = "parallelIncrementalEventPullsPerConnection",
|
|
25
22
|
ParallelFullSyncEventPullsPerConnection = "parallelFullSyncEventPullsPerConnection",
|
|
@@ -33,7 +30,7 @@ export declare const enum ParallelExecutionLimits {
|
|
|
33
30
|
ParallelPathfinderAgentSessions = "parallelPathfinderAgentSessions",
|
|
34
31
|
ParallelInstantTasksActiveJobs = "parallelInstantTasksActiveJobs"
|
|
35
32
|
}
|
|
36
|
-
export declare
|
|
33
|
+
export declare enum RateLimits {
|
|
37
34
|
fileUploadsMbPerHour = "fileUploadsMbPerHour",
|
|
38
35
|
ApiRequestsPerSecond = "apiRequestsPerSecond",
|
|
39
36
|
ApiRequestsPerHour = "apiRequestsPerHour",
|
|
@@ -43,14 +40,14 @@ export declare const enum RateLimits {
|
|
|
43
40
|
WorkspaceElementCreationsPerHour = "workspaceElementCreationsPerHour",
|
|
44
41
|
ExternalEventsPerCustomerPerDay = "externalEventsPerCustomerPerDay"
|
|
45
42
|
}
|
|
46
|
-
export declare
|
|
43
|
+
export declare enum WorkspaceSizeLimits {
|
|
47
44
|
TotalNumberOfCustomers = "totalNumberOfCustomers",
|
|
48
45
|
TotalNumberOfConnections = "totalNumberOfConnections",
|
|
49
46
|
TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
50
47
|
InstantTasksQueueSize = "instantTasksQueueSize",
|
|
51
48
|
QueuedTasksQueueSize = "queuedTasksQueueSize"
|
|
52
49
|
}
|
|
53
|
-
export declare
|
|
50
|
+
export declare enum CustomerLimits {
|
|
54
51
|
ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
|
|
55
52
|
ParallelBackgroundJobsPerCustomer = "parallelBackgroundJobsPerCustomer",
|
|
56
53
|
ApiRequestsPerCustomerPerSecond = "apiRequestsPerCustomerPerSecond",
|
|
@@ -136,6 +133,11 @@ export declare const WorkspaceLimitsSchema: z.ZodObject<{
|
|
|
136
133
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
137
134
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
138
135
|
}, z.core.$strip>>;
|
|
136
|
+
parallelPathfinderAgentSessions: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
140
|
+
}, z.core.$strip>>;
|
|
139
141
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
140
142
|
value: z.ZodOptional<z.ZodNumber>;
|
|
141
143
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -268,6 +270,13 @@ export interface WorkspaceExport {
|
|
|
268
270
|
[WorkspaceElementType.Flow]: FlowExportProperties[];
|
|
269
271
|
[WorkspaceElementType.Package]: PackageExportProperties[];
|
|
270
272
|
}
|
|
273
|
+
export declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
274
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
278
|
+
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
}, z.core.$strip>;
|
|
271
280
|
export declare const EngineWorkspaceSettingsSchema: z.ZodObject<{
|
|
272
281
|
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
273
282
|
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -279,6 +288,252 @@ export declare const WorkspacePublicKey: z.ZodObject<{
|
|
|
279
288
|
name: z.ZodString;
|
|
280
289
|
publicKey: z.ZodString;
|
|
281
290
|
}, z.core.$strip>;
|
|
291
|
+
export declare const Workspace: z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
key: z.ZodString;
|
|
294
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
295
|
+
userFieldsSchema: z.ZodOptional<z.ZodAny>;
|
|
296
|
+
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
297
|
+
webhookUri: z.ZodOptional<z.ZodString>;
|
|
298
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
299
|
+
publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
300
|
+
name: z.ZodString;
|
|
301
|
+
publicKey: z.ZodString;
|
|
302
|
+
}, z.core.$strip>>>;
|
|
303
|
+
enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
304
|
+
auth: z.ZodOptional<z.ZodAny>;
|
|
305
|
+
credentialsSchema: z.ZodOptional<z.ZodAny>;
|
|
306
|
+
apiClient: z.ZodOptional<z.ZodAny>;
|
|
307
|
+
apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
308
|
+
apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
309
|
+
isOnPrem: z.ZodOptional<z.ZodBoolean>;
|
|
310
|
+
connectorBaseUri: z.ZodOptional<z.ZodString>;
|
|
311
|
+
connectorRevision: z.ZodOptional<z.ZodString>;
|
|
312
|
+
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
313
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
parallelEventPulls: z.ZodOptional<z.ZodObject<{
|
|
315
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
322
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
325
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
327
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
parallelFlowRuns: z.ZodOptional<z.ZodObject<{
|
|
330
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
331
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
332
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
334
|
+
parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
335
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
336
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
337
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
338
|
+
}, z.core.$strip>>;
|
|
339
|
+
parallelApiRequests: z.ZodOptional<z.ZodObject<{
|
|
340
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
343
|
+
}, z.core.$strip>>;
|
|
344
|
+
parallelSseRequests: z.ZodOptional<z.ZodObject<{
|
|
345
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
352
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
353
|
+
}, z.core.$strip>>;
|
|
354
|
+
parallelEventLogs: z.ZodOptional<z.ZodObject<{
|
|
355
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
356
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
360
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
362
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
366
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
parallelPathfinderAgentSessions: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
372
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
373
|
+
}, z.core.$strip>>;
|
|
374
|
+
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
375
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
382
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
383
|
+
}, z.core.$strip>>;
|
|
384
|
+
apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
386
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
395
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
396
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
398
|
+
}, z.core.$strip>>;
|
|
399
|
+
webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
401
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
403
|
+
}, z.core.$strip>>;
|
|
404
|
+
workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
405
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
408
|
+
}, z.core.$strip>>;
|
|
409
|
+
workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
411
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
415
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
416
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
418
|
+
}, z.core.$strip>>;
|
|
419
|
+
totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
423
|
+
}, z.core.$strip>>;
|
|
424
|
+
totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
428
|
+
}, z.core.$strip>>;
|
|
429
|
+
totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
431
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
435
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
437
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
438
|
+
}, z.core.$strip>>;
|
|
439
|
+
QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
440
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
442
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
443
|
+
}, z.core.$strip>>;
|
|
444
|
+
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
445
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
446
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
448
|
+
}, z.core.$strip>>;
|
|
449
|
+
parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
450
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
452
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
453
|
+
}, z.core.$strip>>;
|
|
454
|
+
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
455
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
457
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
460
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
461
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
462
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
463
|
+
}, z.core.$strip>>;
|
|
464
|
+
webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
465
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
468
|
+
}, z.core.$strip>>;
|
|
469
|
+
webhookRequestsPerCustomerPerHour: 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>>;
|
|
474
|
+
externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
|
|
475
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
480
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
483
|
+
}, z.core.$strip>>;
|
|
484
|
+
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
485
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
487
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
488
|
+
}, z.core.$strip>>;
|
|
489
|
+
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
490
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
491
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
492
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
493
|
+
}, z.core.$strip>>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
495
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
496
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
497
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
499
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
502
|
+
alertDeliverySettings: z.ZodOptional<z.ZodObject<{
|
|
503
|
+
alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
504
|
+
fileUploadsMbPerHour: import("../alerts").AlertType.fileUploadsMbPerHour;
|
|
505
|
+
apiRequestsPerSecond: import("../alerts").AlertType.apiRequestsPerSecond;
|
|
506
|
+
apiRequestsPerHour: import("../alerts").AlertType.apiRequestsPerHour;
|
|
507
|
+
webhookRequestsPerSecond: import("../alerts").AlertType.webhookRequestsPerSecond;
|
|
508
|
+
webhookRequestsPerHour: import("../alerts").AlertType.webhookRequestsPerHour;
|
|
509
|
+
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
510
|
+
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
511
|
+
externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
|
|
512
|
+
apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
|
|
513
|
+
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
514
|
+
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
515
|
+
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
516
|
+
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
517
|
+
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
518
|
+
testAlert: import("../alerts").AlertType.testAlert;
|
|
519
|
+
}>, z.ZodOptional<z.ZodObject<{
|
|
520
|
+
internal: z.ZodLiteral<true>;
|
|
521
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
enabled: z.ZodBoolean;
|
|
523
|
+
}, z.core.$strip>>;
|
|
524
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
525
|
+
enabled: z.ZodBoolean;
|
|
526
|
+
}, z.core.$strip>>;
|
|
527
|
+
}, z.core.$strip>>>>;
|
|
528
|
+
}, z.core.$strip>>;
|
|
529
|
+
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
530
|
+
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
+
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
lastExternalApiRequestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
536
|
+
}, z.core.$strip>;
|
|
282
537
|
export declare const AppSchema: z.ZodObject<{
|
|
283
538
|
id: z.ZodString;
|
|
284
539
|
key: z.ZodString;
|
|
@@ -357,6 +612,11 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
357
612
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
358
613
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
359
614
|
}, z.core.$strip>>;
|
|
615
|
+
parallelPathfinderAgentSessions: z.ZodOptional<z.ZodObject<{
|
|
616
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
617
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
618
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
619
|
+
}, z.core.$strip>>;
|
|
360
620
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
361
621
|
value: z.ZodOptional<z.ZodNumber>;
|
|
362
622
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -495,6 +755,10 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
495
755
|
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
496
756
|
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
497
757
|
externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
|
|
758
|
+
apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
|
|
759
|
+
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
760
|
+
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
761
|
+
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
498
762
|
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
499
763
|
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
500
764
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
@@ -514,34 +778,12 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
514
778
|
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
515
779
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
516
780
|
isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
781
|
+
lastExternalApiRequestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
517
782
|
}, z.core.$strip>;
|
|
518
|
-
export type
|
|
519
|
-
export
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
logoUri?: string;
|
|
523
|
-
webhookUri?: string;
|
|
524
|
-
publicKey?: string;
|
|
525
|
-
publicKeys?: {
|
|
526
|
-
name?: string;
|
|
527
|
-
publicKey: string;
|
|
528
|
-
}[];
|
|
529
|
-
enabledWebhookEvents?: string[];
|
|
530
|
-
userFieldsSchema?: DataSchema;
|
|
531
|
-
auth?: ConnectorAuth;
|
|
532
|
-
credentialsSchema?: DataSchema;
|
|
533
|
-
apiClient?: RestApiClientOptions;
|
|
534
|
-
apiBaseUri?: string;
|
|
535
|
-
apiRequestHeaders: Record<string, any>;
|
|
536
|
-
apiRequestQuery: Record<string, any>;
|
|
537
|
-
isOnPrem?: boolean;
|
|
538
|
-
connectorBaseUri?: string;
|
|
539
|
-
limits: WorkspaceLimits;
|
|
540
|
-
settings?: EngineWorkspaceSettings;
|
|
541
|
-
alertDeliverySettings?: AlertDeliverySettings;
|
|
542
|
-
type?: WorkspaceType;
|
|
543
|
-
jwksUri?: string | null;
|
|
544
|
-
}
|
|
783
|
+
export type Workspace = z.infer<typeof Workspace>;
|
|
784
|
+
export type WorkspaceSettings = z.infer<typeof WorkspaceSettingsSchema>;
|
|
785
|
+
export type EngineWorkspaceSettings = WorkspaceSettings;
|
|
786
|
+
export type EngineWorkspace = Workspace;
|
|
545
787
|
export interface WorkspaceUser {
|
|
546
788
|
id: string;
|
|
547
789
|
workspaceId: string;
|