339ecad4c39a2f4bfb68b868f72d3581931d5db8
[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 _0x24d0=['sequelize','exports','BOOLEAN','STRING','DATE','ENUM','out'];(function(_0x5068d5,_0x353c3d){var _0x22123e=function(_0x3cf8ee){while(--_0x3cf8ee){_0x5068d5['push'](_0x5068d5['shift']());}};_0x22123e(++_0x353c3d);}(_0x24d0,0x1ab));var _0x024d=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0x24d0[_0x138adb];return _0x1b27f2;};'use strict';var Sequelize=require(_0x024d('0x0'));var moment=require('moment');module[_0x024d('0x1')]={'closed':{'type':Sequelize[_0x024d('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x024d('0x3')]},'note':{'type':Sequelize[_0x024d('0x3')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x024d('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x024d('0x5')]('in',_0x024d('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x024d('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x024d('0x5')]('in',_0x024d('0x6')),'defaultValue':'in','allowNull':![]}};