019a469fc5d604896d87f626a8b3af46210c7a54
[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 _0x3d45=['exports','BOOLEAN','DATE','STRING','ENUM','out','INTEGER','sequelize','moment'];(function(_0x33b178,_0x330503){var _0x6f4ced=function(_0x42153a){while(--_0x42153a){_0x33b178['push'](_0x33b178['shift']());}};_0x6f4ced(++_0x330503);}(_0x3d45,0x1d2));var _0x53d4=function(_0xf50820,_0x56f041){_0xf50820=_0xf50820-0x0;var _0x2a9b10=_0x3d45[_0xf50820];return _0x2a9b10;};'use strict';var Sequelize=require(_0x53d4('0x0'));var moment=require(_0x53d4('0x1'));module[_0x53d4('0x2')]={'closed':{'type':Sequelize[_0x53d4('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x53d4('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x53d4('0x5')]},'thirdDisposition':{'type':Sequelize[_0x53d4('0x5')]},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x53d4('0x5')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x53d4('0x6')]('in',_0x53d4('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x53d4('0x3')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x53d4('0x8')]}};