b372d73d9fd73c5457338666a85f8e06d69f3ed3
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.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 _0x49f8=['out','ENUM','INTEGER','sequelize','BOOLEAN','DATE','STRING'];(function(_0x3ababd,_0x58ab1c){var _0x461c5f=function(_0x510104){while(--_0x510104){_0x3ababd['push'](_0x3ababd['shift']());}};_0x461c5f(++_0x58ab1c);}(_0x49f8,0xff));var _0x849f=function(_0x1b338e,_0x25ac31){_0x1b338e=_0x1b338e-0x0;var _0x3ae2f4=_0x49f8[_0x1b338e];return _0x3ae2f4;};'use strict';var Sequelize=require(_0x849f('0x0'));var moment=require('moment');module['exports']={'closed':{'type':Sequelize[_0x849f('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x849f('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x849f('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x849f('0x3')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x849f('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x849f('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x849f('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x849f('0x5')]('in',_0x849f('0x4')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x849f('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x849f('0x6')]}};