2c95679176a8d9377f2b82e4dc9d7c0060afe909
[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 _0x975f=['ENUM','sequelize','moment','DATE','STRING','out'];(function(_0x26c08e,_0x325782){var _0x2db1de=function(_0x2bc1fe){while(--_0x2bc1fe){_0x26c08e['push'](_0x26c08e['shift']());}};_0x2db1de(++_0x325782);}(_0x975f,0x109));var _0xf975=function(_0x1e5cc3,_0x238a87){_0x1e5cc3=_0x1e5cc3-0x0;var _0x15c596=_0x975f[_0x1e5cc3];return _0x15c596;};'use strict';var Sequelize=require(_0xf975('0x0'));var moment=require(_0xf975('0x1'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xf975('0x2')]},'disposition':{'type':Sequelize[_0xf975('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xf975('0x3')]},'note':{'type':Sequelize[_0xf975('0x3')]},'phone':{'type':Sequelize[_0xf975('0x3')]},'read1stAt':{'type':Sequelize[_0xf975('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xf975('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xf975('0x2')]},'lastMsgDirection':{'type':Sequelize[_0xf975('0x5')]('in',_0xf975('0x4')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};