Built motion from commit efa66e19.|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 _0x9143=['exports','medium','out','STRING','DATE','BOOLEAN','TEXT','sequelize'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0x9143,0x107));var _0x3914=function(_0xc7c4dc,_0x1fe46f){_0xc7c4dc=_0xc7c4dc-0x0;var _0xcc10db=_0x9143[_0xc7c4dc];return _0xcc10db;};'use strict';var Sequelize=require(_0x3914('0x0'));module[_0x3914('0x1')]={'body':{'type':Sequelize['TEXT'](_0x3914('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x3914('0x3')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x3914('0x4')](0xbe)},'phone':{'type':Sequelize['STRING']},'readAt':{'type':Sequelize[_0x3914('0x5')]},'secret':{'type':Sequelize[_0x3914('0x6')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x3914('0x4')]},'providerResponse':{'type':Sequelize[_0x3914('0x7')]}};