diff --git a/dist/Customer/Contact.d.ts b/dist/Customer/Contact.d.ts index 9d4f277..785c575 100644 --- a/dist/Customer/Contact.d.ts +++ b/dist/Customer/Contact.d.ts @@ -5,7 +5,7 @@ export default class Contact extends Resource { 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; diff --git a/dist/Customer/Contact.js b/dist/Customer/Contact.js index 80d9ece..4244927 100644 --- a/dist/Customer/Contact.js +++ b/dist/Customer/Contact.js @@ -20,6 +20,7 @@ const class_transformer_1 = require("class-transformer"); class Contact extends Resource_1.default { constructor() { super(...arguments); + this.cell_phone_number = null; this.phone_number = null; this.birthdate = null; this.created_at = null; @@ -44,7 +45,7 @@ __decorate([ ], Contact.prototype, "email", void 0); __decorate([ (0, class_transformer_1.Expose)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], Contact.prototype, "cell_phone_number", void 0); __decorate([ (0, class_transformer_1.Expose)(),