862229495fe8f80036b66487a4acf14a4072bab4
[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 _0x5697=['exports','BOOLEAN','DATE','ENUM','out','sequelize'];(function(_0x269523,_0x896c5f){var _0x2b8608=function(_0x17d4a5){while(--_0x17d4a5){_0x269523['push'](_0x269523['shift']());}};_0x2b8608(++_0x896c5f);}(_0x5697,0x1b5));var _0x7569=function(_0x3b81eb,_0x175f32){_0x3b81eb=_0x3b81eb-0x0;var _0x149491=_0x5697[_0x3b81eb];return _0x149491;};'use strict';var Sequelize=require(_0x7569('0x0'));var moment=require('moment');module[_0x7569('0x1')]={'closed':{'type':Sequelize[_0x7569('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x7569('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x7569('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x7569('0x4')]('in',_0x7569('0x5')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x7569('0x2')],'defaultValue':![]}};