c7e38f42979c5d751b849a2fdc732e886d4a9c42
[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 _0x85d8=['sequelize','moment','exports','BOOLEAN','DATE','STRING','out','ENUM'];(function(_0x3e6cdd,_0x20f42d){var _0x285df6=function(_0x7efd16){while(--_0x7efd16){_0x3e6cdd['push'](_0x3e6cdd['shift']());}};_0x285df6(++_0x20f42d);}(_0x85d8,0x1b0));var _0x885d=function(_0x15872d,_0x427c84){_0x15872d=_0x15872d-0x0;var _0x5862d4=_0x85d8[_0x15872d];return _0x5862d4;};'use strict';var Sequelize=require(_0x885d('0x0'));var moment=require(_0x885d('0x1'));module[_0x885d('0x2')]={'closed':{'type':Sequelize[_0x885d('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x885d('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x885d('0x5')]},'thirdDisposition':{'type':Sequelize[_0x885d('0x5')]},'note':{'type':Sequelize[_0x885d('0x5')]},'phone':{'type':Sequelize[_0x885d('0x5')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x885d('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x885d('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x885d('0x7')]('in',_0x885d('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x885d('0x3')],'defaultValue':![]}};