506b41a786e270ec5339bec48048a32a580051e7
[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 _0xaeaa=['BOOLEAN','STRING','DATE','ENUM','out','sequelize','exports'];(function(_0x542a4b,_0x1422d2){var _0x39f49d=function(_0x27f03a){while(--_0x27f03a){_0x542a4b['push'](_0x542a4b['shift']());}};_0x39f49d(++_0x1422d2);}(_0xaeaa,0x11d));var _0xaaea=function(_0x149379,_0x22f956){_0x149379=_0x149379-0x0;var _0x30cece=_0xaeaa[_0x149379];return _0x30cece;};'use strict';var Sequelize=require(_0xaaea('0x0'));var moment=require('moment');module[_0xaaea('0x1')]={'closed':{'type':Sequelize[_0xaaea('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xaaea('0x3')]},'secondDisposition':{'type':Sequelize[_0xaaea('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0xaaea('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xaaea('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xaaea('0x4')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xaaea('0x6')),'defaultValue':'in','allowNull':![]}};