44f1b64dc6b3c650ee8f4874341b592eb905f64a
[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 _0x3f8c=['medium','BOOLEAN','TEXT'];(function(_0x1fa2b3,_0x50ade4){var _0x4ed3c0=function(_0x63be36){while(--_0x63be36){_0x1fa2b3['push'](_0x1fa2b3['shift']());}};_0x4ed3c0(++_0x50ade4);}(_0x3f8c,0x104));var _0xc3f8=function(_0xf692f3,_0x261216){_0xf692f3=_0xf692f3-0x0;var _0x1c5ecc=_0x3f8c[_0xf692f3];return _0x1c5ecc;};'use strict';var Sequelize=require('sequelize');module['exports']={'body':{'type':Sequelize[_0xc3f8('0x0')](_0xc3f8('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0xc3f8('0x2')],'defaultValue':![]},'secret':{'type':Sequelize[_0xc3f8('0x2')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize['DATE']},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize[_0xc3f8('0x0')]}};