36ae0571ae012ce13fcefb0b6193e293995a01b0
[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 _0x015b=['out','DATE','sequelize','moment','BOOLEAN','STRING'];(function(_0x5014d8,_0x176247){var _0x5ddb02=function(_0x45cecb){while(--_0x45cecb){_0x5014d8['push'](_0x5014d8['shift']());}};_0x5ddb02(++_0x176247);}(_0x015b,0x182));var _0xb015=function(_0x22e101,_0x412840){_0x22e101=_0x22e101-0x0;var _0xa51f61=_0x015b[_0x22e101];return _0xa51f61;};'use strict';var Sequelize=require(_0xb015('0x0'));var moment=require(_0xb015('0x1'));module['exports']={'closed':{'type':Sequelize[_0xb015('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xb015('0x3')]},'note':{'type':Sequelize[_0xb015('0x3')]},'phone':{'type':Sequelize[_0xb015('0x3')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xb015('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xb015('0x5')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xb015('0x4')),'defaultValue':'in','allowNull':![]}};