711346ca3e3be0401c253b1610d41535f81fe6d7
[motion2.git] / server / api / whatsappMessage / whatsappMessage.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 _0x24fb=['DATE','TEXT','exports','medium','BOOLEAN','ENUM','STRING'];(function(_0x55aa0f,_0x1fc9a0){var _0x22d40b=function(_0x1ec674){while(--_0x1ec674){_0x55aa0f['push'](_0x55aa0f['shift']());}};_0x22d40b(++_0x1fc9a0);}(_0x24fb,0x121));var _0xb24f=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x24fb[_0xa464c9];return _0x3d73c4;};'use strict';var Sequelize=require('sequelize');module[_0xb24f('0x0')]={'body':{'type':Sequelize['TEXT'](_0xb24f('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0xb24f('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0xb24f('0x3')]('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xb24f('0x4')](0xbe)},'phone':{'type':Sequelize['STRING']},'readAt':{'type':Sequelize[_0xb24f('0x5')]},'secret':{'type':Sequelize[_0xb24f('0x2')],'defaultValue':![]},'providerName':{'type':Sequelize[_0xb24f('0x4')]},'providerResponse':{'type':Sequelize[_0xb24f('0x6')]}};