bdb457223a395ffceda87d653187b06cade5bceb
[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 _0xa9b1=['STRING','ENUM','out','sequelize','moment','exports','DATE'];(function(_0x106497,_0x2a3633){var _0x17e96b=function(_0x23c197){while(--_0x23c197){_0x106497['push'](_0x106497['shift']());}};_0x17e96b(++_0x2a3633);}(_0xa9b1,0x199));var _0x1a9b=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa9b1[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x1a9b('0x0'));var moment=require(_0x1a9b('0x1'));module[_0x1a9b('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1a9b('0x3')]},'disposition':{'type':Sequelize[_0x1a9b('0x4')]},'secondDisposition':{'type':Sequelize[_0x1a9b('0x4')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x1a9b('0x4')]},'phone':{'type':Sequelize[_0x1a9b('0x4')]},'read1stAt':{'type':Sequelize[_0x1a9b('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x1a9b('0x5')]('in',_0x1a9b('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1a9b('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1a9b('0x6')),'defaultValue':'in','allowNull':![]}};