diff --git a/packages/openapi/src/usage/get-space-usage.ts b/packages/openapi/src/usage/get-space-usage.ts index 3e9870578a..8e4b674b9f 100644 --- a/packages/openapi/src/usage/get-space-usage.ts +++ b/packages/openapi/src/usage/get-space-usage.ts @@ -9,6 +9,7 @@ export enum UsageFeature { AttachmentSize = 'attachmentSize', NumDatabaseConnections = 'numDatabaseConnections', NumCollaborators = 'numCollaborators', + NumAutomationSendEmail = 'numAutomationSendEmail', } export const usageFeatureSchema = z.object({ @@ -16,6 +17,7 @@ export const usageFeatureSchema = z.object({ [UsageFeature.AttachmentSize]: z.number(), [UsageFeature.NumDatabaseConnections]: z.number(), [UsageFeature.NumCollaborators]: z.number(), + [UsageFeature.NumAutomationSendEmail]: z.number(), }); export enum UsageFeatureLimit { @@ -41,6 +43,7 @@ export enum UsageFeatureLimit { ChatAIEnable = 'chatAIEnable', AppEnable = 'appEnable', CustomDomainEnable = 'customDomainEnable', + MaxNumAutomationSendEmail = 'maxNumAutomationSendEmail', } export const usageFeatureLimitSchema = z.object({ @@ -66,6 +69,7 @@ export const usageFeatureLimitSchema = z.object({ [UsageFeatureLimit.ChatAIEnable]: z.boolean(), [UsageFeatureLimit.AppEnable]: z.boolean(), [UsageFeatureLimit.CustomDomainEnable]: z.boolean(), + [UsageFeatureLimit.MaxNumAutomationSendEmail]: z.number(), }); export const usageVoSchema = z.object({