8b6ce944fd12b5c6d169437958d317034366ea51
[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 _0x5a87=['sequelize','exports','medium','BOOLEAN','STRING','DATE','TEXT'];(function(_0x4070a0,_0x523f5d){var _0x55c11e=function(_0x19c6ba){while(--_0x19c6ba){_0x4070a0['push'](_0x4070a0['shift']());}};_0x55c11e(++_0x523f5d);}(_0x5a87,0x70));var _0x75a8=function(_0x5aae85,_0x12fb5a){_0x5aae85=_0x5aae85-0x0;var _0x40e3d5=_0x5a87[_0x5aae85];return _0x40e3d5;};'use strict';var Sequelize=require(_0x75a8('0x0'));module[_0x75a8('0x1')]={'body':{'type':Sequelize['TEXT'](_0x75a8('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x75a8('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x75a8('0x4')](0xbe)},'phone':{'type':Sequelize['STRING']},'readAt':{'type':Sequelize[_0x75a8('0x5')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize[_0x75a8('0x4')]},'providerResponse':{'type':Sequelize[_0x75a8('0x6')]}};