src/models/fasterq-line-model.ts
constructor(data: any)
|
Defined in src/models/fasterq-line-model.ts:2
|
Static businessId |
businessId: |
Defined in src/models/fasterq-line-model.ts:12
|
Static callType |
callType: |
Defined in src/models/fasterq-line-model.ts:28
|
Static date |
date: |
Defined in src/models/fasterq-line-model.ts:44
|
Static email |
email: |
Defined in src/models/fasterq-line-model.ts:40
|
Static lineId |
lineId: |
Defined in src/models/fasterq-line-model.ts:8
|
Static lineName |
lineName: |
Defined in src/models/fasterq-line-model.ts:16
|
Static reminder |
reminder: |
Defined in src/models/fasterq-line-model.ts:24
|
Static serviceId |
serviceId: |
Defined in src/models/fasterq-line-model.ts:20
|
Static sms |
sms: |
Defined in src/models/fasterq-line-model.ts:36
|
Static verification |
verification: |
Defined in src/models/fasterq-line-model.ts:32
|
import {StoreModel} from "../models/StoreModel";
export class FasterqLineModel extends StoreModel {
constructor(data) {
super(data);
}
public get lineId() {
return this.getKey('line_id');
}
public get businessId() {
return this.getKey('business_id');
}
public get lineName() {
return this.getKey('name') ? this.getKey('name') : this.getKey('line_name');
}
public get serviceId() {
return this.getKey('service_id');
}
public get reminder() {
return this.getKey('reminder');
}
public get callType():'EMAIL' | 'SMS' | 'QR' {
return this.getKey('call_type');
}
public get verification() {
return this.getKey('verification');
}
public get sms() {
return this.getKey('sms');
}
public get email() {
return this.getKey('email');
}
public get date() {
return this.getKey('date');
}
}