a2a0ee9a3567e08ce4dbe73f45ad49446b22cf5d
[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 _0xdbfa=['out','BOOLEAN','STRING','DATE','ENUM'];(function(_0x21a58c,_0x1bfcb6){var _0x1da8b9=function(_0x1e9d84){while(--_0x1e9d84){_0x21a58c['push'](_0x21a58c['shift']());}};_0x1da8b9(++_0x1bfcb6);}(_0xdbfa,0x128));var _0xadbf=function(_0x51ee14,_0x464287){_0x51ee14=_0x51ee14-0x0;var _0x46b8a7=_0xdbfa[_0x51ee14];return _0x46b8a7;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module['exports']={'closed':{'type':Sequelize[_0xadbf('0x0')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xadbf('0x1')]},'secondDisposition':{'type':Sequelize[_0xadbf('0x1')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xadbf('0x1')]},'phone':{'type':Sequelize[_0xadbf('0x1')]},'read1stAt':{'type':Sequelize[_0xadbf('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xadbf('0x3')]('in',_0xadbf('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xadbf('0x3')]('in',_0xadbf('0x4')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xadbf('0x0')],'defaultValue':![]}};