33ef03df148051419e5d8dc4376297465d43a072
[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 _0x94ba=['exports','BOOLEAN','DATE','STRING','out','ENUM','sequelize','moment'];(function(_0x1b0f2d,_0x465a2f){var _0x55e3d1=function(_0x5e9fb2){while(--_0x5e9fb2){_0x1b0f2d['push'](_0x1b0f2d['shift']());}};_0x55e3d1(++_0x465a2f);}(_0x94ba,0xbe));var _0xa94b=function(_0x127ed7,_0x18c2c5){_0x127ed7=_0x127ed7-0x0;var _0x17c7bb=_0x94ba[_0x127ed7];return _0x17c7bb;};'use strict';var Sequelize=require(_0xa94b('0x0'));var moment=require(_0xa94b('0x1'));module[_0xa94b('0x2')]={'closed':{'type':Sequelize[_0xa94b('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa94b('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xa94b('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xa94b('0x5')]},'phone':{'type':Sequelize[_0xa94b('0x5')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xa94b('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa94b('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xa94b('0x7')]('in',_0xa94b('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};