Built motion from commit eddce310.|2.6.12
[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 _0x827c=['square_messages','lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./squareMessage.attributes','define','SquareMessage'];(function(_0x105542,_0x344e41){var _0x3942e0=function(_0x565a9d){while(--_0x565a9d){_0x105542['push'](_0x105542['shift']());}};_0x3942e0(++_0x344e41);}(_0x827c,0xa9));var _0xc827=function(_0x25be71,_0x5451f4){_0x25be71=_0x25be71-0x0;var _0x43e806=_0x827c[_0x25be71];return _0x43e806;};'use strict';var _=require(_0xc827('0x0'));var util=require(_0xc827('0x1'));var logger=require(_0xc827('0x2'))(_0xc827('0x3'));var moment=require('moment');var BPromise=require(_0xc827('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc827('0x5'));var rimraf=require(_0xc827('0x6'));var config=require(_0xc827('0x7'));var attributes=require(_0xc827('0x8'));module['exports']=function(_0x5248e9,_0x2f3aa4){return _0x5248e9[_0xc827('0x9')](_0xc827('0xa'),attributes,{'tableName':_0xc827('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};