Built motion from commit ddca4d0d.|2.5.47
[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 _0xfb8f=['moment','DATE','STRING','ENUM','out','BOOLEAN'];(function(_0xa50f7c,_0x1c1c10){var _0x12b902=function(_0x5eabf5){while(--_0x5eabf5){_0xa50f7c['push'](_0xa50f7c['shift']());}};_0x12b902(++_0x1c1c10);}(_0xfb8f,0x18c));var _0xffb8=function(_0x17bd62,_0x42c63d){_0x17bd62=_0x17bd62-0x0;var _0x59ac40=_0xfb8f[_0x17bd62];return _0x59ac40;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xffb8('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xffb8('0x1')]},'disposition':{'type':Sequelize[_0xffb8('0x2')]},'secondDisposition':{'type':Sequelize[_0xffb8('0x2')]},'thirdDisposition':{'type':Sequelize[_0xffb8('0x2')]},'note':{'type':Sequelize[_0xffb8('0x2')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0xffb8('0x1')]},'firstMsgDirection':{'type':Sequelize[_0xffb8('0x3')]('in',_0xffb8('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xffb8('0x1')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xffb8('0x5')],'defaultValue':![]}};