8a84d78936af6be162628efe3eeabbef15670010
[motion2.git] / server / api / smsInteraction / smsInteraction.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 _0x4453=['sequelize','moment','BOOLEAN','DATE','STRING','out'];(function(_0x131916,_0x8eb089){var _0x283e61=function(_0x285d52){while(--_0x285d52){_0x131916['push'](_0x131916['shift']());}};_0x283e61(++_0x8eb089);}(_0x4453,0x1ec));var _0x3445=function(_0x5bcf3b,_0x16a1c4){_0x5bcf3b=_0x5bcf3b-0x0;var _0x14d365=_0x4453[_0x5bcf3b];return _0x14d365;};'use strict';var Sequelize=require(_0x3445('0x0'));var moment=require(_0x3445('0x1'));module['exports']={'closed':{'type':Sequelize[_0x3445('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x3445('0x3')]},'disposition':{'type':Sequelize[_0x3445('0x4')]},'secondDisposition':{'type':Sequelize[_0x3445('0x4')]},'thirdDisposition':{'type':Sequelize[_0x3445('0x4')]},'note':{'type':Sequelize[_0x3445('0x4')]},'phone':{'type':Sequelize[_0x3445('0x4')]},'read1stAt':{'type':Sequelize[_0x3445('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x3445('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3445('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x3445('0x5')),'defaultValue':'in','allowNull':![]}};