cf23bad6e99d62965f397b24557a503dd5f7ca58
[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 _0x4e35=['DATE','TEXT','exports','medium','out','STRING'];(function(_0x4d3941,_0x5b0bc0){var _0x5c311b=function(_0x2df585){while(--_0x2df585){_0x4d3941['push'](_0x4d3941['shift']());}};_0x5c311b(++_0x5b0bc0);}(_0x4e35,0x15e));var _0x54e3=function(_0x381372,_0xf0a5a){_0x381372=_0x381372-0x0;var _0x4e959a=_0x4e35[_0x381372];return _0x4e959a;};'use strict';var Sequelize=require('sequelize');module[_0x54e3('0x0')]={'body':{'type':Sequelize['TEXT'](_0x54e3('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x54e3('0x2')),'defaultValue':_0x54e3('0x2'),'allowNull':![]},'messageId':{'type':Sequelize[_0x54e3('0x3')](0xbe)},'phone':{'type':Sequelize[_0x54e3('0x3')]},'readAt':{'type':Sequelize[_0x54e3('0x4')]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'providerName':{'type':Sequelize[_0x54e3('0x3')]},'providerResponse':{'type':Sequelize[_0x54e3('0x5')]}};