a975d7bc9dd73cd7f91d46c5b15f6425e1aa9fcc
[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 _0x9631=['exports','BOOLEAN','DATE','STRING','ENUM','out','moment'];(function(_0x329546,_0x59b559){var _0x9482b7=function(_0x1913fa){while(--_0x1913fa){_0x329546['push'](_0x329546['shift']());}};_0x9482b7(++_0x59b559);}(_0x9631,0x19c));var _0x1963=function(_0x174fae,_0x5d7bad){_0x174fae=_0x174fae-0x0;var _0x5d8970=_0x9631[_0x174fae];return _0x5d8970;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x1963('0x0'));module[_0x1963('0x1')]={'closed':{'type':Sequelize[_0x1963('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1963('0x3')]},'disposition':{'type':Sequelize[_0x1963('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x1963('0x4')]},'note':{'type':Sequelize[_0x1963('0x4')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x1963('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x1963('0x5')]('in',_0x1963('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x1963('0x5')]('in',_0x1963('0x6')),'defaultValue':'in','allowNull':![]}};