206ca3d1f1e6613893a184495b59a25f44b43b56
[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 _0x3a61=['ENUM','out','BOOLEAN','DATE','STRING'];(function(_0x4702ee,_0xaf6a45){var _0x62ca7d=function(_0x5b3af7){while(--_0x5b3af7){_0x4702ee['push'](_0x4702ee['shift']());}};_0x62ca7d(++_0xaf6a45);}(_0x3a61,0xd4));var _0x13a6=function(_0x258d81,_0x41ebde){_0x258d81=_0x258d81-0x0;var _0x7d0e3c=_0x3a61[_0x258d81];return _0x7d0e3c;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module['exports']={'closed':{'type':Sequelize[_0x13a6('0x0')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x13a6('0x1')]},'disposition':{'type':Sequelize[_0x13a6('0x2')]},'secondDisposition':{'type':Sequelize[_0x13a6('0x2')]},'thirdDisposition':{'type':Sequelize[_0x13a6('0x2')]},'note':{'type':Sequelize[_0x13a6('0x2')]},'phone':{'type':Sequelize[_0x13a6('0x2')]},'read1stAt':{'type':Sequelize[_0x13a6('0x1')]},'firstMsgDirection':{'type':Sequelize[_0x13a6('0x3')]('in',_0x13a6('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x13a6('0x1')]},'lastMsgDirection':{'type':Sequelize[_0x13a6('0x3')]('in',_0x13a6('0x4')),'defaultValue':'in','allowNull':![]}};