eb5e34bb63776d3c3885e00957edb8c4a86d217d
[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 _0x3f72=['DATE','out','BOOLEAN','INTEGER','sequelize','moment','exports','STRING','ENUM'];(function(_0x30f5e7,_0x4af375){var _0x59f279=function(_0x264d7e){while(--_0x264d7e){_0x30f5e7['push'](_0x30f5e7['shift']());}};_0x59f279(++_0x4af375);}(_0x3f72,0xaf));var _0x23f7=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x3f72[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0x23f7('0x0'));var moment=require(_0x23f7('0x1'));module[_0x23f7('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x23f7('0x3')]},'secondDisposition':{'type':Sequelize[_0x23f7('0x3')]},'thirdDisposition':{'type':Sequelize[_0x23f7('0x3')]},'note':{'type':Sequelize[_0x23f7('0x3')]},'phone':{'type':Sequelize[_0x23f7('0x3')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x23f7('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x23f7('0x5')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x23f7('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x23f7('0x7')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x23f7('0x8')]}};