114d8ff7401c7a090c5006bfb667e539ac090db8
[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 _0xf524=['BOOLEAN','DATE','STRING','out','sequelize'];(function(_0x599569,_0x21d25b){var _0x236a96=function(_0xd2fcb6){while(--_0xd2fcb6){_0x599569['push'](_0x599569['shift']());}};_0x236a96(++_0x21d25b);}(_0xf524,0x12b));var _0x4f52=function(_0x5b2c7e,_0x3d22f0){_0x5b2c7e=_0x5b2c7e-0x0;var _0x5ec399=_0xf524[_0x5b2c7e];return _0x5ec399;};'use strict';var Sequelize=require(_0x4f52('0x0'));var moment=require('moment');module['exports']={'closed':{'type':Sequelize[_0x4f52('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x4f52('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x4f52('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x4f52('0x3')]},'phone':{'type':Sequelize[_0x4f52('0x3')]},'read1stAt':{'type':Sequelize[_0x4f52('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x4f52('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x4f52('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]}};