945fb0e0bdce602f96aba209d2c71d235c33d834
[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 _0x0eb2=['DATE','STRING','out','ENUM','sequelize','exports','BOOLEAN'];(function(_0x2c0be1,_0x1e88f2){var _0x3d4bd2=function(_0x2b5497){while(--_0x2b5497){_0x2c0be1['push'](_0x2c0be1['shift']());}};_0x3d4bd2(++_0x1e88f2);}(_0x0eb2,0x11c));var _0x20eb=function(_0x14b62e,_0x3b8096){_0x14b62e=_0x14b62e-0x0;var _0x42ad69=_0x0eb2[_0x14b62e];return _0x42ad69;};'use strict';var Sequelize=require(_0x20eb('0x0'));var moment=require('moment');module[_0x20eb('0x1')]={'closed':{'type':Sequelize[_0x20eb('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x20eb('0x3')]},'disposition':{'type':Sequelize[_0x20eb('0x4')]},'secondDisposition':{'type':Sequelize[_0x20eb('0x4')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x20eb('0x4')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x20eb('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x20eb('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x20eb('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x20eb('0x2')],'defaultValue':![]}};