- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
import { Static, Type } from '@sinclair/typebox'
|
|
|
|
export const VerifyLicenseKeyRequestBody = Type.Object({
|
|
licenseKey: Type.String(),
|
|
platformId: Type.String(),
|
|
})
|
|
|
|
export type VerifyLicenseKeyRequestBody = Static<typeof VerifyLicenseKeyRequestBody>
|
|
|
|
export const LicenseKeyEntity = Type.Object({
|
|
id: Type.String(),
|
|
email: Type.String(),
|
|
expiresAt: Type.String(),
|
|
activatedAt: Type.String(),
|
|
createdAt: Type.String(),
|
|
key: Type.String(),
|
|
ssoEnabled: Type.Boolean(),
|
|
environmentsEnabled: Type.Boolean(),
|
|
showPoweredBy: Type.Boolean(),
|
|
embeddingEnabled: Type.Boolean(),
|
|
auditLogEnabled: Type.Boolean(),
|
|
customAppearanceEnabled: Type.Boolean(),
|
|
manageProjectsEnabled: Type.Boolean(),
|
|
managePiecesEnabled: Type.Boolean(),
|
|
manageTemplatesEnabled: Type.Boolean(),
|
|
apiKeysEnabled: Type.Boolean(),
|
|
customDomainsEnabled: Type.Boolean(),
|
|
projectRolesEnabled: Type.Boolean(),
|
|
analyticsEnabled: Type.Boolean(),
|
|
globalConnectionsEnabled: Type.Boolean(),
|
|
customRolesEnabled: Type.Boolean(),
|
|
agentsEnabled: Type.Boolean(),
|
|
tablesEnabled: Type.Boolean(),
|
|
todosEnabled: Type.Boolean(),
|
|
mcpsEnabled: Type.Boolean(),
|
|
})
|
|
|
|
|
|
export const CreateTrialLicenseKeyRequestBody = Type.Composite([Type.Object({
|
|
email: Type.String(),
|
|
companyName: Type.String(),
|
|
goal: Type.String(),
|
|
keyType: Type.Optional(Type.String()),
|
|
}), Type.Omit(LicenseKeyEntity, ['id', 'email', 'expiresAt', 'activatedAt', 'key', 'createdAt'])])
|
|
|
|
export type CreateTrialLicenseKeyRequestBody = Static<typeof CreateTrialLicenseKeyRequestBody>
|
|
|
|
|
|
export type LicenseKeyEntity = Static<typeof LicenseKeyEntity>
|