6acefce628059d5617b97b313be87992a7c58b78
[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 _0x7ea0=['BOOLEAN','TEXT','sequelize','exports','medium','ENUM','out','STRING','DATE'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0x7ea0,0x1a9));var _0x07ea=function(_0x219e0d,_0x4d11ff){_0x219e0d=_0x219e0d-0x0;var _0x14b7d7=_0x7ea0[_0x219e0d];return _0x14b7d7;};'use strict';var Sequelize=require(_0x07ea('0x0'));module[_0x07ea('0x1')]={'body':{'type':Sequelize['TEXT'](_0x07ea('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x07ea('0x3')]('in',_0x07ea('0x4')),'defaultValue':_0x07ea('0x4'),'allowNull':![]},'messageId':{'type':Sequelize[_0x07ea('0x5')](0xbe)},'phone':{'type':Sequelize[_0x07ea('0x5')]},'readAt':{'type':Sequelize[_0x07ea('0x6')]},'secret':{'type':Sequelize[_0x07ea('0x7')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x07ea('0x5')]},'providerResponse':{'type':Sequelize[_0x07ea('0x8')]}};