Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / smsMessage / smsMessage.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 _0xe277=['STRING','TEXT','exports','medium','BOOLEAN','out'];(function(_0x539dd2,_0x3bc205){var _0x19f46d=function(_0x137633){while(--_0x137633){_0x539dd2['push'](_0x539dd2['shift']());}};_0x19f46d(++_0x3bc205);}(_0xe277,0xe6));var _0x7e27=function(_0x3dcbb8,_0x2933c7){_0x3dcbb8=_0x3dcbb8-0x0;var _0x2f0b58=_0xe277[_0x3dcbb8];return _0x2f0b58;};'use strict';var Sequelize=require('sequelize');module[_0x7e27('0x0')]={'body':{'type':Sequelize['TEXT'](_0x7e27('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0x7e27('0x2')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x7e27('0x3')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x7e27('0x4')](0xbe)},'phone':{'type':Sequelize[_0x7e27('0x4')]},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0x7e27('0x2')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x7e27('0x4')]},'providerResponse':{'type':Sequelize[_0x7e27('0x5')]}};