79a436f12a3b7f2f66f679813d59fc0f4d63406c
[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 _0x2183=['exports','STRING','ENUM','out','DATE','moment'];(function(_0x101802,_0x11f913){var _0x5d61ce=function(_0x4acc0){while(--_0x4acc0){_0x101802['push'](_0x101802['shift']());}};_0x5d61ce(++_0x11f913);}(_0x2183,0x1af));var _0x3218=function(_0x263d62,_0x20bfb8){_0x263d62=_0x263d62-0x0;var _0xd90ed5=_0x2183[_0x263d62];return _0xd90ed5;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x3218('0x0'));module[_0x3218('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x3218('0x2')]},'note':{'type':Sequelize[_0x3218('0x2')]},'phone':{'type':Sequelize[_0x3218('0x2')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x3218('0x3')]('in',_0x3218('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3218('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x3218('0x3')]('in',_0x3218('0x4')),'defaultValue':'in','allowNull':![]}};