9615d6016458beba04abf716dde4e5e7f299ec05
[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 _0xfda2=['STRING','DATE','ENUM','out','sequelize','moment','exports','BOOLEAN'];(function(_0x59d037,_0x284418){var _0x39e79a=function(_0x49ea7c){while(--_0x49ea7c){_0x59d037['push'](_0x59d037['shift']());}};_0x39e79a(++_0x284418);}(_0xfda2,0x84));var _0x2fda=function(_0x403545,_0x1ea4f1){_0x403545=_0x403545-0x0;var _0x1873ca=_0xfda2[_0x403545];return _0x1873ca;};'use strict';var Sequelize=require(_0x2fda('0x0'));var moment=require(_0x2fda('0x1'));module[_0x2fda('0x2')]={'closed':{'type':Sequelize[_0x2fda('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x2fda('0x4')]},'thirdDisposition':{'type':Sequelize[_0x2fda('0x4')]},'note':{'type':Sequelize[_0x2fda('0x4')]},'phone':{'type':Sequelize[_0x2fda('0x4')]},'read1stAt':{'type':Sequelize[_0x2fda('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x2fda('0x6')]('in',_0x2fda('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x2fda('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x2fda('0x6')]('in',_0x2fda('0x7')),'defaultValue':'in','allowNull':![]}};