update revoke
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
||||
IsArray,
|
||||
IsEnum,
|
||||
IsNumber,
|
||||
IsObject,
|
||||
IsOptional,
|
||||
IsString,
|
||||
Min,
|
||||
@@ -145,7 +144,11 @@ export class NamaProviderHeaderDto {
|
||||
@IsString()
|
||||
name: string
|
||||
|
||||
@ApiProperty({ required: true, description: 'نوع شخصیت خریدار' })
|
||||
@ApiProperty({
|
||||
required: false,
|
||||
description:
|
||||
'نوع شخصیت خریدار (در صورتیکه خریدار نوع ۲ باشه باید ۱ یا ۲ گذاشته بشه)',
|
||||
})
|
||||
@IsString()
|
||||
tob: string
|
||||
|
||||
@@ -296,6 +299,13 @@ export class NamaProviderRevokeHeaderDto {
|
||||
@IsString()
|
||||
inno: string
|
||||
|
||||
@ApiProperty({
|
||||
required: true,
|
||||
description: 'تاریخ و زمان صدور صورتحساب به صورت timestamp',
|
||||
})
|
||||
@IsString()
|
||||
indatim: string
|
||||
|
||||
@ApiProperty({
|
||||
required: true,
|
||||
description: 'آخرین شماره مالیاتی دریافت شده مربوط به فاکتور',
|
||||
@@ -315,9 +325,9 @@ export class NamaProviderRevokeRequestDto {
|
||||
// @ValidateNested({ each: true })
|
||||
// @Type(() => NamaProviderPaymentInfoDto)
|
||||
// payment: NamaProviderPaymentInfoDto[]
|
||||
@ApiProperty({ type: Object, required: true })
|
||||
@IsObject()
|
||||
body: {}
|
||||
// @ApiProperty({ type: Object, required: true })
|
||||
// @IsObject()
|
||||
// body: {}
|
||||
|
||||
@ApiProperty({ type: NamaProviderRevokeHeaderDto })
|
||||
@ValidateNested()
|
||||
|
||||
Reference in New Issue
Block a user