From 302080a292ca795893e3223ecd0612760506df6d Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Mon, 27 Nov 2023 15:26:19 +0100 Subject: [PATCH] :sparkles: Removing sms/password code --- dist/Customer/Customer.d.ts | 6 ++---- dist/Customer/Customer.js | 12 ++---------- src/Customer/Customer.ts | 10 ++-------- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/dist/Customer/Customer.d.ts b/dist/Customer/Customer.d.ts index 2e9ad3f..a9dae6a 100644 --- a/dist/Customer/Customer.d.ts +++ b/dist/Customer/Customer.d.ts @@ -8,10 +8,8 @@ export default class Customer extends Resource { updated_at: Date | null; office_folders?: OfficeFolder[]; documents?: Document[]; - smsCode?: string | null; - smsCodeExpire?: Date | null; - passwordCode?: string | null; - passwordcodeExpire?: Date | null; + totpCode?: string | null; + totpCodeExpire?: Date | null; password?: string | null; } export declare enum ECustomerStatus { diff --git a/dist/Customer/Customer.js b/dist/Customer/Customer.js index d9f9602..51af0d5 100644 --- a/dist/Customer/Customer.js +++ b/dist/Customer/Customer.js @@ -60,19 +60,11 @@ __decorate([ __decorate([ (0, class_transformer_1.Exclude)(), __metadata("design:type", Object) -], Customer.prototype, "smsCode", void 0); +], Customer.prototype, "totpCode", void 0); __decorate([ (0, class_transformer_1.Exclude)(), __metadata("design:type", Object) -], Customer.prototype, "smsCodeExpire", void 0); -__decorate([ - (0, class_transformer_1.Exclude)(), - __metadata("design:type", Object) -], Customer.prototype, "passwordCode", void 0); -__decorate([ - (0, class_transformer_1.Exclude)(), - __metadata("design:type", Object) -], Customer.prototype, "passwordcodeExpire", void 0); +], Customer.prototype, "totpCodeExpire", void 0); __decorate([ (0, class_transformer_1.Exclude)(), __metadata("design:type", Object) diff --git a/src/Customer/Customer.ts b/src/Customer/Customer.ts index da0136b..92446b5 100644 --- a/src/Customer/Customer.ts +++ b/src/Customer/Customer.ts @@ -31,16 +31,10 @@ export default class Customer extends Resource { public documents?: Document[]; @Exclude() - public smsCode?: string | null; + public totpCode?: string | null; @Exclude() - public smsCodeExpire?: Date | null; - - @Exclude() - public passwordCode?: string | null; - - @Exclude() - public passwordcodeExpire?: Date | null; + public totpCodeExpire?: Date | null; @Exclude() public password?: string | null;