8a287c3602f07d44d62ee59252a22b3f921f85a4
[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 _0xed92=['medium','BOOLEAN','ENUM','out','STRING','DATE','exports','TEXT'];(function(_0x156417,_0x15b771){var _0x4d42b1=function(_0x36f462){while(--_0x36f462){_0x156417['push'](_0x156417['shift']());}};_0x4d42b1(++_0x15b771);}(_0xed92,0x166));var _0x2ed9=function(_0x22d562,_0x5261f7){_0x22d562=_0x22d562-0x0;var _0x53d1f2=_0xed92[_0x22d562];return _0x53d1f2;};'use strict';var Sequelize=require('sequelize');module[_0x2ed9('0x0')]={'body':{'type':Sequelize[_0x2ed9('0x1')](_0x2ed9('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x2ed9('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x2ed9('0x4')]('in',_0x2ed9('0x5')),'defaultValue':_0x2ed9('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x2ed9('0x6')](0xbe)},'phone':{'type':Sequelize[_0x2ed9('0x6')]},'readAt':{'type':Sequelize[_0x2ed9('0x7')]},'secret':{'type':Sequelize[_0x2ed9('0x3')],'defaultValue':![]},'providerName':{'type':Sequelize[_0x2ed9('0x6')]},'providerResponse':{'type':Sequelize['TEXT']}};