5504bbc85d625b5561503261d741411cadfecc75
[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 _0xf961=['moment','exports','BOOLEAN','STRING','DATE','ENUM','out','sequelize'];(function(_0x21ad1b,_0x43b59a){var _0x2c5f91=function(_0x4f6f31){while(--_0x4f6f31){_0x21ad1b['push'](_0x21ad1b['shift']());}};_0x2c5f91(++_0x43b59a);}(_0xf961,0x1cf));var _0x1f96=function(_0xf50820,_0x56f041){_0xf50820=_0xf50820-0x0;var _0x2a9b10=_0xf961[_0xf50820];return _0x2a9b10;};'use strict';var Sequelize=require(_0x1f96('0x0'));var moment=require(_0x1f96('0x1'));module[_0x1f96('0x2')]={'closed':{'type':Sequelize[_0x1f96('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x1f96('0x4')]},'secondDisposition':{'type':Sequelize[_0x1f96('0x4')]},'thirdDisposition':{'type':Sequelize[_0x1f96('0x4')]},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x1f96('0x4')]},'read1stAt':{'type':Sequelize[_0x1f96('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x1f96('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1f96('0x5')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1f96('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x1f96('0x3')],'defaultValue':![]}};