2a39367b76b0a6eed316049a13a11a7a7ece0252
[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 _0xd8f4=['exports','BOOLEAN','DATE','STRING','ENUM','out','sequelize','moment'];(function(_0x3a8b7c,_0x3e5db2){var _0x40eb80=function(_0x8db6a3){while(--_0x8db6a3){_0x3a8b7c['push'](_0x3a8b7c['shift']());}};_0x40eb80(++_0x3e5db2);}(_0xd8f4,0x13e));var _0x4d8f=function(_0x22f5df,_0x3a3bed){_0x22f5df=_0x22f5df-0x0;var _0x47e61f=_0xd8f4[_0x22f5df];return _0x47e61f;};'use strict';var Sequelize=require(_0x4d8f('0x0'));var moment=require(_0x4d8f('0x1'));module[_0x4d8f('0x2')]={'closed':{'type':Sequelize[_0x4d8f('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x4d8f('0x4')]},'disposition':{'type':Sequelize[_0x4d8f('0x5')]},'secondDisposition':{'type':Sequelize[_0x4d8f('0x5')]},'thirdDisposition':{'type':Sequelize[_0x4d8f('0x5')]},'note':{'type':Sequelize[_0x4d8f('0x5')]},'phone':{'type':Sequelize[_0x4d8f('0x5')]},'read1stAt':{'type':Sequelize[_0x4d8f('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x4d8f('0x6')]('in',_0x4d8f('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x4d8f('0x6')]('in',_0x4d8f('0x7')),'defaultValue':'in','allowNull':![]}};