Built motion from commit bab6f49e.|2.6.17
[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 _0xdd0c=['moment','exports','BOOLEAN','STRING','DATE','ENUM','out'];(function(_0x543084,_0x4337f5){var _0x306a57=function(_0x2769ed){while(--_0x2769ed){_0x543084['push'](_0x543084['shift']());}};_0x306a57(++_0x4337f5);}(_0xdd0c,0x165));var _0xcdd0=function(_0x14040c,_0x277b36){_0x14040c=_0x14040c-0x0;var _0x3b1859=_0xdd0c[_0x14040c];return _0x3b1859;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xcdd0('0x0'));module[_0xcdd0('0x1')]={'closed':{'type':Sequelize[_0xcdd0('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xcdd0('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xcdd0('0x3')]},'note':{'type':Sequelize[_0xcdd0('0x3')]},'phone':{'type':Sequelize[_0xcdd0('0x3')]},'read1stAt':{'type':Sequelize[_0xcdd0('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xcdd0('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xcdd0('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xcdd0('0x5')]('in',_0xcdd0('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xcdd0('0x2')],'defaultValue':![]}};