fd63234939380af6390c8b653879748345579886
[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 _0x9981=['out','STRING','BOOLEAN','TEXT'];(function(_0x2fcf23,_0x19c646){var _0x58ba5a=function(_0x51bbd2){while(--_0x51bbd2){_0x2fcf23['push'](_0x2fcf23['shift']());}};_0x58ba5a(++_0x19c646);}(_0x9981,0x163));var _0x1998=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x9981[_0x465a0c];return _0x1e202e;};'use strict';var Sequelize=require('sequelize');module['exports']={'body':{'type':Sequelize[_0x1998('0x0')]('medium'),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x1998('0x1')),'defaultValue':_0x1998('0x1'),'allowNull':![]},'messageId':{'type':Sequelize[_0x1998('0x2')](0xbe)},'phone':{'type':Sequelize[_0x1998('0x2')]},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0x1998('0x3')],'defaultValue':![]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize[_0x1998('0x0')]}};