nullable cell_phone_number
This commit is contained in:
parent
735cfc8290
commit
fc76a3ac63
2
dist/Notary/Contact.d.ts
vendored
2
dist/Notary/Contact.d.ts
vendored
@ -6,7 +6,7 @@ export default class Contact extends ContactCustomer {
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
email: string;
|
||||
cell_phone_number: string;
|
||||
cell_phone_number?: string | null;
|
||||
phone_number?: string | null;
|
||||
civility: ECivility | string;
|
||||
address?: Address;
|
||||
|
3
dist/Notary/Contact.js
vendored
3
dist/Notary/Contact.js
vendored
@ -34,6 +34,7 @@ const Address_1 = __importDefault(require("./Address"));
|
||||
class Contact extends Contact_1.default {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.cell_phone_number = null;
|
||||
this.phone_number = null;
|
||||
}
|
||||
}
|
||||
@ -99,7 +100,7 @@ __decorate([
|
||||
groups: ["createCustomer", "updateCustomer"],
|
||||
message: "Le numéro de téléphone doit être au format 0X XX XX XX XX ou +33X XX XX XX XX",
|
||||
}),
|
||||
__metadata("design:type", String)
|
||||
__metadata("design:type", Object)
|
||||
], Contact.prototype, "cell_phone_number", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
|
@ -73,7 +73,7 @@ export default class Contact extends ContactCustomer {
|
||||
message:
|
||||
"Le numéro de téléphone doit être au format 0X XX XX XX XX ou +33X XX XX XX XX",
|
||||
})
|
||||
public override cell_phone_number!: string;
|
||||
public override cell_phone_number?: string | null = null;
|
||||
|
||||
@Expose()
|
||||
@IsOptional()
|
||||
|
Loading…
x
Reference in New Issue
Block a user