3626ecb5a105a64d8d44ee949d59ffe8ec04a952
[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 _0x5b5a=['STRING','ENUM','BOOLEAN','moment','exports','DATE'];(function(_0x55f8b4,_0x43f30d){var _0x2475f9=function(_0xdd6f4a){while(--_0xdd6f4a){_0x55f8b4['push'](_0x55f8b4['shift']());}};_0x2475f9(++_0x43f30d);}(_0x5b5a,0xc3));var _0xa5b5=function(_0x4f61a1,_0x35820b){_0x4f61a1=_0x4f61a1-0x0;var _0xae8b64=_0x5b5a[_0x4f61a1];return _0xae8b64;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xa5b5('0x0'));module[_0xa5b5('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa5b5('0x2')]},'disposition':{'type':Sequelize[_0xa5b5('0x3')]},'secondDisposition':{'type':Sequelize[_0xa5b5('0x3')]},'thirdDisposition':{'type':Sequelize[_0xa5b5('0x3')]},'note':{'type':Sequelize[_0xa5b5('0x3')]},'phone':{'type':Sequelize[_0xa5b5('0x3')]},'read1stAt':{'type':Sequelize[_0xa5b5('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xa5b5('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa5b5('0x2')]},'lastMsgDirection':{'type':Sequelize[_0xa5b5('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xa5b5('0x5')],'defaultValue':![]}};