35cccaa25d55db4807dc746e27e9a2843e58c5e9
[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 _0xe93b=['ENUM','out','moment','exports','BOOLEAN','STRING','DATE'];(function(_0x48855e,_0x5dcb4a){var _0x456d1b=function(_0x77c465){while(--_0x77c465){_0x48855e['push'](_0x48855e['shift']());}};_0x456d1b(++_0x5dcb4a);}(_0xe93b,0x1c2));var _0xbe93=function(_0x1dbd03,_0x348042){_0x1dbd03=_0x1dbd03-0x0;var _0x26a5f3=_0xe93b[_0x1dbd03];return _0x26a5f3;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xbe93('0x0'));module[_0xbe93('0x1')]={'closed':{'type':Sequelize[_0xbe93('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xbe93('0x3')]},'secondDisposition':{'type':Sequelize[_0xbe93('0x3')]},'thirdDisposition':{'type':Sequelize[_0xbe93('0x3')]},'note':{'type':Sequelize[_0xbe93('0x3')]},'phone':{'type':Sequelize[_0xbe93('0x3')]},'read1stAt':{'type':Sequelize[_0xbe93('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xbe93('0x5')]('in',_0xbe93('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xbe93('0x5')]('in',_0xbe93('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xbe93('0x2')],'defaultValue':![]}};