Built motion from commit (unavailable).|2.5.30
[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 _0xb824=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','exports','SquareMessage','square_messages'];(function(_0x26371f,_0x3529d6){var _0x7bf77f=function(_0xaaf7ec){while(--_0xaaf7ec){_0x26371f['push'](_0x26371f['shift']());}};_0x7bf77f(++_0x3529d6);}(_0xb824,0x1ee));var _0x4b82=function(_0x23afee,_0x1e45ab){_0x23afee=_0x23afee-0x0;var _0x577831=_0xb824[_0x23afee];return _0x577831;};'use strict';var _=require(_0x4b82('0x0'));var util=require('util');var logger=require(_0x4b82('0x1'))(_0x4b82('0x2'));var moment=require(_0x4b82('0x3'));var BPromise=require(_0x4b82('0x4'));var rp=require(_0x4b82('0x5'));var fs=require('fs');var path=require(_0x4b82('0x6'));var rimraf=require(_0x4b82('0x7'));var config=require(_0x4b82('0x8'));var attributes=require(_0x4b82('0x9'));module[_0x4b82('0xa')]=function(_0x30e181,_0x56c50d){return _0x30e181['define'](_0x4b82('0xb'),attributes,{'tableName':_0x4b82('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};