6e336572fde1726579a78190de8673b6e2462d65
[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 _0xf53d=['DATE','sequelize','exports','medium','BOOLEAN','out'];(function(_0xf22d54,_0x29825e){var _0x5cf46b=function(_0x27aec9){while(--_0x27aec9){_0xf22d54['push'](_0xf22d54['shift']());}};_0x5cf46b(++_0x29825e);}(_0xf53d,0x199));var _0xdf53=function(_0x30200f,_0x145299){_0x30200f=_0x30200f-0x0;var _0x3a69a4=_0xf53d[_0x30200f];return _0x3a69a4;};'use strict';var Sequelize=require(_0xdf53('0x0'));module[_0xdf53('0x1')]={'body':{'type':Sequelize['TEXT'](_0xdf53('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0xdf53('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0xdf53('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xdf53('0x4')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0xdf53('0x5')]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize['TEXT']}};