Built motion from commit 9b156c94.|2.6.22
[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 _0xd2fe=['DATE','TEXT','exports','medium','BOOLEAN','ENUM','out','STRING'];(function(_0x8178f9,_0x5e799b){var _0x1655ce=function(_0x299aac){while(--_0x299aac){_0x8178f9['push'](_0x8178f9['shift']());}};_0x1655ce(++_0x5e799b);}(_0xd2fe,0xea));var _0xed2f=function(_0x282193,_0x33f614){_0x282193=_0x282193-0x0;var _0x2c4434=_0xd2fe[_0x282193];return _0x2c4434;};'use strict';var Sequelize=require('sequelize');module[_0xed2f('0x0')]={'body':{'type':Sequelize['TEXT'](_0xed2f('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0xed2f('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0xed2f('0x3')]('in',_0xed2f('0x4')),'defaultValue':_0xed2f('0x4'),'allowNull':![]},'messageId':{'type':Sequelize[_0xed2f('0x5')](0xbe)},'phone':{'type':Sequelize[_0xed2f('0x5')]},'readAt':{'type':Sequelize[_0xed2f('0x6')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize[_0xed2f('0x5')]},'providerResponse':{'type':Sequelize[_0xed2f('0x7')]}};