6a96742d656127fe0ec71af5cd3a58b4391d3f3e
[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 _0x3006=['STRING','medium','out','TEXT'];(function(_0x30a231,_0x59ec45){var _0x2e947c=function(_0x58200e){while(--_0x58200e){_0x30a231['push'](_0x30a231['shift']());}};_0x2e947c(++_0x59ec45);}(_0x3006,0x100));var _0x6300=function(_0x285ec5,_0x1629e2){_0x285ec5=_0x285ec5-0x0;var _0x2c4528=_0x3006[_0x285ec5];return _0x2c4528;};'use strict';var Sequelize=require('sequelize');module['exports']={'uniqueid':{'type':Sequelize[_0x6300('0x0')]},'body':{'type':Sequelize['TEXT'](_0x6300('0x1')),'allowNull':![]},'direction':{'type':Sequelize['ENUM']('in',_0x6300('0x2')),'defaultValue':_0x6300('0x2'),'allowNull':![]},'providerName':{'type':Sequelize['STRING']},'providerResponse':{'type':Sequelize[_0x6300('0x3')]}};