54239f223a89961c6d0d95e545135666c16dc5f3
[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 _0xf603=['INTEGER','sequelize','moment','exports','DATE','STRING','ENUM','out','BOOLEAN'];(function(_0x385c4e,_0x427f54){var _0x52265e=function(_0x3fb288){while(--_0x3fb288){_0x385c4e['push'](_0x385c4e['shift']());}};_0x52265e(++_0x427f54);}(_0xf603,0xeb));var _0x3f60=function(_0x12ddce,_0x2eb2bf){_0x12ddce=_0x12ddce-0x0;var _0x2ee03b=_0xf603[_0x12ddce];return _0x2ee03b;};'use strict';var Sequelize=require(_0x3f60('0x0'));var moment=require(_0x3f60('0x1'));module[_0x3f60('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x3f60('0x3')]},'disposition':{'type':Sequelize[_0x3f60('0x4')]},'secondDisposition':{'type':Sequelize[_0x3f60('0x4')]},'thirdDisposition':{'type':Sequelize[_0x3f60('0x4')]},'note':{'type':Sequelize[_0x3f60('0x4')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x3f60('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3f60('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x3f60('0x5')]('in',_0x3f60('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x3f60('0x7')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x3f60('0x8')]}};