feat: add response DTOs for various services across modules
- Created response DTOs for ConfigService, AppService, AuthService, CatalogsService, AccountsService, BusinessActivityComplexesService, ComplexPosesService, SalesInvoicesService, BusinessActivitiesService, ConsumerBusinessActivityGoodsService, and others. - Implemented Create, FindAll, FindOne, and Update response types for services in consumer, partners, and POS modules. - Added request DTOs for creating and updating goods in the consumer business activities module. - Introduced filtering DTO for partner licenses. - Enhanced response mapping for partner license activations.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ApiProperty } from '@nestjs/swagger'
|
||||
import { IsString } from 'class-validator'
|
||||
import { IsOptional, IsString } from 'class-validator'
|
||||
|
||||
export class UpdatePartnerProfileDto {
|
||||
@IsString()
|
||||
@@ -9,4 +9,8 @@ export class UpdatePartnerProfileDto {
|
||||
@IsString()
|
||||
@ApiProperty({ required: true })
|
||||
code: string
|
||||
|
||||
@IsOptional()
|
||||
@ApiProperty({ required: false, type: 'string', format: 'binary' })
|
||||
logo?: any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user