09edc2306e5365aafa6b67571f920362e1435456
[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 _0x9690=['sequelize','BOOLEAN','DATE','STRING','out'];(function(_0x30fedd,_0x190d36){var _0x18b73a=function(_0x5976fd){while(--_0x5976fd){_0x30fedd['push'](_0x30fedd['shift']());}};_0x18b73a(++_0x190d36);}(_0x9690,0x1d6));var _0x0969=function(_0x491eb7,_0x4c0155){_0x491eb7=_0x491eb7-0x0;var _0x4068bd=_0x9690[_0x491eb7];return _0x4068bd;};'use strict';var Sequelize=require(_0x0969('0x0'));var moment=require('moment');module['exports']={'closed':{'type':Sequelize[_0x0969('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x0969('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x0969('0x3')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x0969('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x0969('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x0969('0x4')),'defaultValue':'in','allowNull':![]}};