The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
/*
* Copyright 2025 Daytona Platforms Inc.
* Modified by BoxLite AI, 2025-2026
* SPDX-License-Identifier: AGPL-3.0
*/
import { ApiProperty, ApiSchema } from '@nestjs/swagger'
import { IsNotEmpty, IsString } from 'class-validator'
@ApiSchema({ name: 'CreateOrganization' })
export class CreateOrganizationDto {
@ApiProperty({
description: 'The name of organization',
example: 'My Organization',
required: true,
})
@IsString()
@IsNotEmpty()
name: string
@ApiProperty({
description: 'The ID of the default region for the organization',
example: 'us',
required: true,
})
@IsString()
@IsNotEmpty()
defaultRegionId: string
}