6a7e310991cc13277ec39e0343273d9c9d5c9682
[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 _0xf87d=['moment','DATE','STRING','ENUM','out','sequelize'];(function(_0x3b730b,_0x40fdb1){var _0x4540fb=function(_0x58ee88){while(--_0x58ee88){_0x3b730b['push'](_0x3b730b['shift']());}};_0x4540fb(++_0x40fdb1);}(_0xf87d,0x8f));var _0xdf87=function(_0x237a97,_0x3c67df){_0x237a97=_0x237a97-0x0;var _0x445729=_0xf87d[_0x237a97];return _0x445729;};'use strict';var Sequelize=require(_0xdf87('0x0'));var moment=require(_0xdf87('0x1'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xdf87('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xdf87('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xdf87('0x3')]},'read1stAt':{'type':Sequelize[_0xdf87('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xdf87('0x4')]('in',_0xdf87('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xdf87('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xdf87('0x5')),'defaultValue':'in','allowNull':![]}};