fefb7ab3dd101a2bd9410b793e90a5d1e962a72c
[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 _0xc06d=['STRING','ENUM','out','sequelize','moment','exports','DATE'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0xc06d,0xf1));var _0xdc06=function(_0x551257,_0x48e090){_0x551257=_0x551257-0x0;var _0x4cbee2=_0xc06d[_0x551257];return _0x4cbee2;};'use strict';var Sequelize=require(_0xdc06('0x0'));var moment=require(_0xdc06('0x1'));module[_0xdc06('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xdc06('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xdc06('0x4')]},'thirdDisposition':{'type':Sequelize[_0xdc06('0x4')]},'note':{'type':Sequelize[_0xdc06('0x4')]},'phone':{'type':Sequelize[_0xdc06('0x4')]},'read1stAt':{'type':Sequelize[_0xdc06('0x3')]},'firstMsgDirection':{'type':Sequelize[_0xdc06('0x5')]('in',_0xdc06('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xdc06('0x5')]('in',_0xdc06('0x6')),'defaultValue':'in','allowNull':![]}};