21f92de7d9152cefc4851e0cdb7e4fc4343527b2
[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 _0xb5af=['sequelize','exports','STRING','out'];(function(_0x130664,_0x16f1e2){var _0x580947=function(_0x3d8412){while(--_0x3d8412){_0x130664['push'](_0x130664['shift']());}};_0x580947(++_0x16f1e2);}(_0xb5af,0x7c));var _0xfb5a=function(_0x37fed6,_0xd3a8f0){_0x37fed6=_0x37fed6-0x0;var _0x33e0c8=_0xb5af[_0x37fed6];return _0x33e0c8;};'use strict';var Sequelize=require(_0xfb5a('0x0'));module[_0xfb5a('0x1')]={'uniqueid':{'type':Sequelize[_0xfb5a('0x2')]},'body':{'type':Sequelize['TEXT']('medium'),'allowNull':![]},'direction':{'type':Sequelize['ENUM']('in',_0xfb5a('0x3')),'defaultValue':'out','allowNull':![]},'providerName':{'type':Sequelize[_0xfb5a('0x2')]},'providerResponse':{'type':Sequelize['TEXT']}};