f5adbc2ecb86913e7caa0246279aa80988005bae
[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 _0xd493=['STRING','out','DATE','ENUM','sequelize','exports','BOOLEAN'];(function(_0x2567fd,_0x5f31ad){var _0x3c033c=function(_0x2c97a0){while(--_0x2c97a0){_0x2567fd['push'](_0x2567fd['shift']());}};_0x3c033c(++_0x5f31ad);}(_0xd493,0x1bd));var _0x3d49=function(_0x1b0fbb,_0x665aee){_0x1b0fbb=_0x1b0fbb-0x0;var _0x25bff7=_0xd493[_0x1b0fbb];return _0x25bff7;};'use strict';var Sequelize=require(_0x3d49('0x0'));var moment=require('moment');module[_0x3d49('0x1')]={'closed':{'type':Sequelize[_0x3d49('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x3d49('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x3d49('0x3')]},'phone':{'type':Sequelize[_0x3d49('0x3')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x3d49('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3d49('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x3d49('0x6')]('in',_0x3d49('0x4')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};