b15b08fa47be92df8a10713e7fd586ec5e7e26eb
[motion2.git] / server / api / squareMessage / squareMessage.model.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 _0x5abc=['define','square_messages','lodash','util','../../config/logger','request-promise','../../config/environment'];(function(_0x3ec4fd,_0x2665a5){var _0x1b091a=function(_0x4d4826){while(--_0x4d4826){_0x3ec4fd['push'](_0x3ec4fd['shift']());}};_0x1b091a(++_0x2665a5);}(_0x5abc,0x1bb));var _0xc5ab=function(_0x4156cd,_0xf3a6f6){_0x4156cd=_0x4156cd-0x0;var _0x5d829d=_0x5abc[_0x4156cd];return _0x5d829d;};'use strict';var _=require(_0xc5ab('0x0'));var util=require(_0xc5ab('0x1'));var logger=require(_0xc5ab('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc5ab('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xc5ab('0x4'));var attributes=require('./squareMessage.attributes');module['exports']=function(_0x4b6ef,_0x3684d7){return _0x4b6ef[_0xc5ab('0x5')]('SquareMessage',attributes,{'tableName':_0xc5ab('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};