69b2a40268f9d67b63885c454be499bd83d432bf
[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 _0xf958=['ENUM','out','sequelize','exports','DATE','STRING'];(function(_0x2590f6,_0x17b980){var _0x2b9a67=function(_0x333990){while(--_0x333990){_0x2590f6['push'](_0x2590f6['shift']());}};_0x2b9a67(++_0x17b980);}(_0xf958,0xe6));var _0x8f95=function(_0x10791a,_0x266be2){_0x10791a=_0x10791a-0x0;var _0x2cf6d0=_0xf958[_0x10791a];return _0x2cf6d0;};'use strict';var Sequelize=require(_0x8f95('0x0'));var moment=require('moment');module[_0x8f95('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x8f95('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x8f95('0x3')]},'thirdDisposition':{'type':Sequelize[_0x8f95('0x3')]},'note':{'type':Sequelize[_0x8f95('0x3')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x8f95('0x4')]('in',_0x8f95('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x8f95('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x8f95('0x4')]('in','out'),'defaultValue':'in','allowNull':![]}};