11bcc6e5113b4224f0f28ba760636cac97b428bf
[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 _0xe0ee=['DATE','STRING','sequelize','exports','TEXT','medium','BOOLEAN'];(function(_0x147cb3,_0x560f5c){var _0x5abb5c=function(_0x592a85){while(--_0x592a85){_0x147cb3['push'](_0x147cb3['shift']());}};_0x5abb5c(++_0x560f5c);}(_0xe0ee,0x1a6));var _0xee0e=function(_0x3d784f,_0x100ef1){_0x3d784f=_0x3d784f-0x0;var _0x32340e=_0xe0ee[_0x3d784f];return _0x32340e;};'use strict';var Sequelize=require(_0xee0e('0x0'));module[_0xee0e('0x1')]={'body':{'type':Sequelize[_0xee0e('0x2')](_0xee0e('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0xee0e('0x4')],'defaultValue':![]},'secret':{'type':Sequelize[_0xee0e('0x4')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0xee0e('0x5')]},'providerName':{'type':Sequelize[_0xee0e('0x6')]},'providerResponse':{'type':Sequelize[_0xee0e('0x2')]}};