@membranehq/sdk 0.11.0 → 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 +199 -0
- package/dist/bundle.js +177 -48
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +7 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -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 +12 -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 +21 -0
- 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 -0
- 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 -0
- 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 +651 -33
- package/dist/index.browser.d.ts +651 -33
- package/dist/index.browser.js +182 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +172 -13
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +651 -33
- package/dist/index.node.d.ts +651 -33
- package/dist/index.node.js +182 -12
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +172 -13
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -36,6 +36,8 @@ export declare const BaseConnection: z.ZodObject<{
|
|
|
36
36
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
37
37
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
38
38
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
39
41
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
40
42
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
41
43
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -9,6 +9,7 @@ export declare const BaseCustomer: z.ZodObject<{
|
|
|
9
9
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
10
10
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
11
11
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
12
13
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
13
14
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
14
15
|
}, z.core.$strip>;
|
|
@@ -13,6 +13,7 @@ export declare const DataSourceEditableProperties: z.ZodObject<{
|
|
|
13
13
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14
14
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
15
15
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
16
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
16
17
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
17
18
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
18
19
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -33,6 +34,7 @@ export declare const BackwardCompatibleDataSourceEditableProperties: z.ZodObject
|
|
|
33
34
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
34
35
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
35
36
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
37
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
36
38
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
37
39
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
38
40
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -73,6 +75,7 @@ export declare const BaseDataSource: z.ZodObject<{
|
|
|
73
75
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
74
76
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
75
77
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
78
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
76
79
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
77
80
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
78
81
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -16,6 +16,7 @@ export declare const FieldMappingEditableProperties: z.ZodObject<{
|
|
|
16
16
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17
17
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
18
18
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
19
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
19
20
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
20
21
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
21
22
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -62,6 +63,7 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
62
63
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
63
64
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
64
65
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
66
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
65
67
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
66
68
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
67
69
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
@@ -12,6 +12,7 @@ export declare const FlowEditableProperties: z.ZodObject<{
|
|
|
12
12
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13
13
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
14
14
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
15
16
|
flowId: z.ZodOptional<z.ZodString>;
|
|
16
17
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
17
18
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -90,6 +91,7 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
90
91
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
91
92
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
92
93
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
94
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
93
95
|
flowId: z.ZodOptional<z.ZodString>;
|
|
94
96
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
95
97
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ConnectorAuthSpec } from '../connectors';
|
|
3
|
+
export declare const IntegrationOptionConfig: z.ZodObject<{
|
|
4
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type IntegrationOptionConfig = z.infer<typeof IntegrationOptionConfig>;
|
|
8
|
+
export declare const IntegrationOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
export type IntegrationOptions = z.infer<typeof IntegrationOptions>;
|
|
3
13
|
export declare const BaseIntegration: z.ZodObject<{
|
|
4
14
|
id: z.ZodString;
|
|
5
15
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +49,10 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
39
49
|
oauth1: "oauth1";
|
|
40
50
|
"client-credentials": "client-credentials";
|
|
41
51
|
}>>;
|
|
52
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
53
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
42
56
|
}, z.core.$strip>;
|
|
43
57
|
export type BaseIntegration = z.infer<typeof BaseIntegration>;
|
|
44
58
|
export declare const IntegrationEditableProperties: z.ZodObject<{
|
|
@@ -54,6 +68,11 @@ export declare const IntegrationEditableProperties: z.ZodObject<{
|
|
|
54
68
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
55
69
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
56
70
|
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
71
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
72
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
73
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
57
76
|
}, z.core.$strip>;
|
|
58
77
|
export type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
|
|
59
78
|
export declare const IntegrationExportProperties: z.ZodObject<{
|
|
@@ -68,6 +87,11 @@ export declare const IntegrationExportProperties: z.ZodObject<{
|
|
|
68
87
|
logoBase64: z.ZodOptional<z.ZodString>;
|
|
69
88
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
70
89
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
91
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
92
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
71
95
|
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
72
96
|
}, z.core.$strip>;
|
|
73
97
|
export type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
|
|
@@ -115,6 +139,10 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
115
139
|
oauth1: "oauth1";
|
|
116
140
|
"client-credentials": "client-credentials";
|
|
117
141
|
}>>;
|
|
142
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
143
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
145
|
+
}, z.core.$strip>>>;
|
|
118
146
|
}, z.core.$strip>;
|
|
119
147
|
}, z.core.$strip>>;
|
|
120
148
|
export type AppliedToIntegrations<Element> = z.infer<ReturnType<typeof AppliedToIntegrations<z.ZodType<Element>>>>;
|
|
@@ -26,6 +26,7 @@ export declare const PackageEditableProperties: z.ZodObject<{
|
|
|
26
26
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
27
27
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
28
28
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
29
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
29
30
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
30
31
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
31
32
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -76,6 +77,7 @@ export declare const BasePackage: z.ZodObject<{
|
|
|
76
77
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
77
78
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
78
79
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
80
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
79
81
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
80
82
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
81
83
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WorkspaceElementType } from './types';
|
|
2
|
+
export declare const REFERENCE_ELEMENT_TYPE_SELF: "self";
|
|
3
|
+
export interface FilterFieldMeta {
|
|
4
|
+
referenceElementType?: WorkspaceElementType | typeof REFERENCE_ELEMENT_TYPE_SELF;
|
|
5
|
+
filterTitle?: string;
|
|
6
|
+
hidden?: boolean;
|
|
7
|
+
isFlag?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function getFilterFieldMeta(meta: unknown): FilterFieldMeta | undefined;
|
|
@@ -113,6 +113,7 @@ export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.
|
|
|
113
113
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
114
114
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
115
115
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
116
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
116
117
|
}, z.core.$strip>;
|
|
117
118
|
export type BaseIntegrationLevelMembraneInterfaceEditableProperties = z.infer<typeof BaseIntegrationLevelMembraneInterfaceEditableProperties>;
|
|
118
119
|
export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
@@ -172,7 +173,9 @@ export declare const FindIntegrationLevelMembraneInterfaceQuery: z.ZodObject<{
|
|
|
172
173
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
173
174
|
parentId: z.ZodOptional<z.ZodString>;
|
|
174
175
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
176
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
175
177
|
userId: z.ZodOptional<z.ZodString>;
|
|
178
|
+
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
176
179
|
}, z.core.$strip>;
|
|
177
180
|
export type FindIntegrationLevelMembraneInterfaceQuery = z.infer<typeof FindIntegrationLevelMembraneInterfaceQuery>;
|
|
178
181
|
export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
@@ -187,6 +190,7 @@ export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
|
187
190
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
188
191
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
189
192
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
193
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
190
194
|
name: z.ZodString;
|
|
191
195
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
192
196
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
@@ -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;
|