mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
feat: start adding auto reply
This commit is contained in:
@@ -47,6 +47,9 @@ class Whatsapp extends Model<Whatsapp> {
|
||||
@Column
|
||||
retries: number;
|
||||
|
||||
@Column(DataType.TEXT)
|
||||
greetingMessage: string;
|
||||
|
||||
@Default(false)
|
||||
@AllowNull
|
||||
@Column
|
||||
@@ -63,6 +66,9 @@ class Whatsapp extends Model<Whatsapp> {
|
||||
|
||||
@BelongsToMany(() => Queue, () => WhatsappQueue)
|
||||
queues: Array<Queue & { WhatsappQueue: WhatsappQueue }>;
|
||||
|
||||
@HasMany(() => WhatsappQueue)
|
||||
whatsappQueues: WhatsappQueue[];
|
||||
}
|
||||
|
||||
export default Whatsapp;
|
||||
|
||||
Reference in New Issue
Block a user