Built motion from commit 14588770.|2.5.38
[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 _0x81d4=['BOOLEAN','moment','exports','DATE','STRING','ENUM','out'];(function(_0x11ab6d,_0x40d70f){var _0x5352f0=function(_0x43c0a1){while(--_0x43c0a1){_0x11ab6d['push'](_0x11ab6d['shift']());}};_0x5352f0(++_0x40d70f);}(_0x81d4,0x197));var _0x481d=function(_0x1ade05,_0x10f4b7){_0x1ade05=_0x1ade05-0x0;var _0x1fa8df=_0x81d4[_0x1ade05];return _0x1fa8df;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x481d('0x0'));module[_0x481d('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x481d('0x2')]},'disposition':{'type':Sequelize[_0x481d('0x3')]},'secondDisposition':{'type':Sequelize[_0x481d('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x481d('0x3')]},'read1stAt':{'type':Sequelize[_0x481d('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x481d('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x481d('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x481d('0x4')]('in',_0x481d('0x5')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x481d('0x6')],'defaultValue':![]}};