Built motion from commit eddce310.|2.6.12
[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 _0x8558=['moment','exports','BOOLEAN','DATE','STRING','ENUM','out'];(function(_0xe36a93,_0x146ba2){var _0x33cc72=function(_0x594ca3){while(--_0x594ca3){_0xe36a93['push'](_0xe36a93['shift']());}};_0x33cc72(++_0x146ba2);}(_0x8558,0x103));var _0x8855=function(_0x12ad13,_0x367be1){_0x12ad13=_0x12ad13-0x0;var _0x4d5c76=_0x8558[_0x12ad13];return _0x4d5c76;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x8855('0x0'));module[_0x8855('0x1')]={'closed':{'type':Sequelize[_0x8855('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x8855('0x3')]},'disposition':{'type':Sequelize[_0x8855('0x4')]},'secondDisposition':{'type':Sequelize[_0x8855('0x4')]},'thirdDisposition':{'type':Sequelize[_0x8855('0x4')]},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x8855('0x4')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x8855('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x8855('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x8855('0x5')]('in',_0x8855('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x8855('0x2')],'defaultValue':![]}};