a8060f135c2c17edab1d21fe76d08bec56f34cc6
[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 _0x94ca=['STRING','ENUM','out','sequelize','moment','exports','DATE'];(function(_0x4e05d8,_0xab2ee9){var _0x356a48=function(_0x161d87){while(--_0x161d87){_0x4e05d8['push'](_0x4e05d8['shift']());}};_0x356a48(++_0xab2ee9);}(_0x94ca,0xff));var _0xa94c=function(_0x456875,_0xb01971){_0x456875=_0x456875-0x0;var _0x343b45=_0x94ca[_0x456875];return _0x343b45;};'use strict';var Sequelize=require(_0xa94c('0x0'));var moment=require(_0xa94c('0x1'));module[_0xa94c('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa94c('0x3')]},'disposition':{'type':Sequelize[_0xa94c('0x4')]},'secondDisposition':{'type':Sequelize[_0xa94c('0x4')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xa94c('0x4')]},'phone':{'type':Sequelize[_0xa94c('0x4')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xa94c('0x5')]('in',_0xa94c('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa94c('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xa94c('0x5')]('in',_0xa94c('0x6')),'defaultValue':'in','allowNull':![]}};