9c50743aba57464b70e3fbfa6632e9328dd3e25c
[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 _0xcf0e=['ENUM','out','sequelize','moment','DATE','STRING'];(function(_0x1b9d7c,_0x576f12){var _0x5af8af=function(_0x3d5051){while(--_0x3d5051){_0x1b9d7c['push'](_0x1b9d7c['shift']());}};_0x5af8af(++_0x576f12);}(_0xcf0e,0x1ac));var _0xecf0=function(_0x47e549,_0x2e53d6){_0x47e549=_0x47e549-0x0;var _0x251374=_0xcf0e[_0x47e549];return _0x251374;};'use strict';var Sequelize=require(_0xecf0('0x0'));var moment=require(_0xecf0('0x1'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xecf0('0x2')]},'disposition':{'type':Sequelize[_0xecf0('0x3')]},'secondDisposition':{'type':Sequelize[_0xecf0('0x3')]},'thirdDisposition':{'type':Sequelize[_0xecf0('0x3')]},'note':{'type':Sequelize[_0xecf0('0x3')]},'phone':{'type':Sequelize[_0xecf0('0x3')]},'read1stAt':{'type':Sequelize[_0xecf0('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xecf0('0x2')]},'lastMsgDirection':{'type':Sequelize[_0xecf0('0x4')]('in',_0xecf0('0x5')),'defaultValue':'in','allowNull':![]}};