feat: handle card status changed webhook

This commit is contained in:
Abdalhamid Alhamad
2025-07-21 15:30:55 +03:00
parent 5a780eeb17
commit bf43e62b17
21 changed files with 350 additions and 18 deletions
@@ -97,7 +97,7 @@ export class CustomerResponseDto {
this.gender = customer.gender;
this.isJunior = customer.isJunior;
this.isGuardian = customer.isGuardian;
this.waitingNumber = customer.waitingNumber;
this.waitingNumber = customer.applicationNumber;
this.country = customer.country;
this.region = customer.region;
this.city = customer.city;
+2 -2
View File
@@ -71,9 +71,9 @@ export class Customer extends BaseEntity {
@Column('boolean', { default: false, name: 'is_guardian' })
isGuardian!: boolean;
@Column('int', { name: 'waiting_number' })
@Column('int', { name: 'application_number' })
@Generated('increment')
waitingNumber!: number;
applicationNumber!: number;
@Column('varchar', { name: 'user_id' })
userId!: string;