880ef507bcd19fc07d27780c69efdea39a15b9a3
[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 _0x0b4c=['sequelize','BOOLEAN','STRING','DATE','ENUM','out'];(function(_0x384a90,_0x104f58){var _0x4ada0e=function(_0x344114){while(--_0x344114){_0x384a90['push'](_0x384a90['shift']());}};_0x4ada0e(++_0x104f58);}(_0x0b4c,0x6c));var _0xc0b4=function(_0x48d681,_0x1c0ca9){_0x48d681=_0x48d681-0x0;var _0x25f192=_0x0b4c[_0x48d681];return _0x25f192;};'use strict';var Sequelize=require(_0xc0b4('0x0'));var moment=require('moment');module['exports']={'closed':{'type':Sequelize[_0xc0b4('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xc0b4('0x2')]},'secondDisposition':{'type':Sequelize[_0xc0b4('0x2')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xc0b4('0x2')]},'read1stAt':{'type':Sequelize[_0xc0b4('0x3')]},'firstMsgDirection':{'type':Sequelize[_0xc0b4('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xc0b4('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xc0b4('0x4')]('in',_0xc0b4('0x5')),'defaultValue':'in','allowNull':![]}};