Built motion from commit 06a208af.|2.6.26
[motion2.git] / server / api / chatMessage / chatMessage.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 _0x4227=['TEXT','sequelize','medium','BOOLEAN','ENUM','out','DATE','STRING'];(function(_0x52a4fd,_0x2667eb){var _0x1c7a59=function(_0x28ec84){while(--_0x28ec84){_0x52a4fd['push'](_0x52a4fd['shift']());}};_0x1c7a59(++_0x2667eb);}(_0x4227,0x89));var _0x7422=function(_0x2a8c06,_0x1646f3){_0x2a8c06=_0x2a8c06-0x0;var _0x331eec=_0x4227[_0x2a8c06];return _0x331eec;};'use strict';var Sequelize=require(_0x7422('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x7422('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x7422('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0x7422('0x3')]('in',_0x7422('0x4')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x7422('0x5')]},'providerName':{'type':Sequelize[_0x7422('0x6')]},'providerResponse':{'type':Sequelize[_0x7422('0x7')]}};