afdd7b174095aeb1093eb8eb0312e46a2a86b8ab
[motion2.git] / server / api / squareMessage / squareMessage.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 _0x6ff1=['medium','ENUM','out'];(function(_0x585b8d,_0x313b42){var _0x4fede5=function(_0x25181e){while(--_0x25181e){_0x585b8d['push'](_0x585b8d['shift']());}};_0x4fede5(++_0x313b42);}(_0x6ff1,0xfc));var _0x16ff=function(_0x15756b,_0x1e9807){_0x15756b=_0x15756b-0x0;var _0xd925b5=_0x6ff1[_0x15756b];return _0xd925b5;};'use strict';var Sequelize=require('sequelize');module['exports']={'uniqueid':{'type':Sequelize['STRING']},'body':{'type':Sequelize['TEXT'](_0x16ff('0x0')),'allowNull':![]},'direction':{'type':Sequelize[_0x16ff('0x1')]('in','out'),'defaultValue':_0x16ff('0x2'),'allowNull':![]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize['TEXT']}};