ad2d967ecbd8e36b9920bc92be92976b2183262c
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xdbd0=['sequelize','moment','exports','BOOLEAN','DATE','STRING','ENUM','out'];(function(_0x5af59e,_0x3771c1){var _0x4240df=function(_0x2267fd){while(--_0x2267fd){_0x5af59e['push'](_0x5af59e['shift']());}};_0x4240df(++_0x3771c1);}(_0xdbd0,0x88));var _0x0dbd=function(_0x13a1cd,_0x3e2c00){_0x13a1cd=_0x13a1cd-0x0;var _0x2eb72d=_0xdbd0[_0x13a1cd];return _0x2eb72d;};'use strict';var Sequelize=require(_0x0dbd('0x0'));var moment=require(_0x0dbd('0x1'));module[_0x0dbd('0x2')]={'closed':{'type':Sequelize[_0x0dbd('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x0dbd('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x0dbd('0x5')]},'thirdDisposition':{'type':Sequelize[_0x0dbd('0x5')]},'note':{'type':Sequelize[_0x0dbd('0x5')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x0dbd('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x0dbd('0x6')]('in',_0x0dbd('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x0dbd('0x4')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x0dbd('0x3')],'defaultValue':![]}};