Built motion from commit 9d0783e6.|2.6.13
[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 _0x6b4e=['DATE','ENUM','out','BOOLEAN','moment','STRING'];(function(_0x496af1,_0x2d5f59){var _0x5700b3=function(_0x4e346a){while(--_0x4e346a){_0x496af1['push'](_0x496af1['shift']());}};_0x5700b3(++_0x2d5f59);}(_0x6b4e,0x1a8));var _0xe6b4=function(_0x29594d,_0x5d58f9){_0x29594d=_0x29594d-0x0;var _0x1ea3bb=_0x6b4e[_0x29594d];return _0x1ea3bb;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xe6b4('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xe6b4('0x1')]},'thirdDisposition':{'type':Sequelize[_0xe6b4('0x1')]},'note':{'type':Sequelize[_0xe6b4('0x1')]},'phone':{'type':Sequelize[_0xe6b4('0x1')]},'read1stAt':{'type':Sequelize[_0xe6b4('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xe6b4('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xe6b4('0x2')]},'lastMsgDirection':{'type':Sequelize[_0xe6b4('0x3')]('in',_0xe6b4('0x4')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xe6b4('0x5')],'defaultValue':![]}};