Built motion from commit 5293bb2a.|2.6.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 _0x9b5a=['../../config/environment','./squareMessage.attributes','exports','define','SquareMessage','square_messages','lodash','util','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x561771,_0x554760){var _0x54d16e=function(_0x381c1f){while(--_0x381c1f){_0x561771['push'](_0x561771['shift']());}};_0x54d16e(++_0x554760);}(_0x9b5a,0x88));var _0xa9b5=function(_0x1b5b70,_0xfd0642){_0x1b5b70=_0x1b5b70-0x0;var _0x55fee3=_0x9b5a[_0x1b5b70];return _0x55fee3;};'use strict';var _=require(_0xa9b5('0x0'));var util=require(_0xa9b5('0x1'));var logger=require(_0xa9b5('0x2'))(_0xa9b5('0x3'));var moment=require(_0xa9b5('0x4'));var BPromise=require('bluebird');var rp=require(_0xa9b5('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa9b5('0x6'));var config=require(_0xa9b5('0x7'));var attributes=require(_0xa9b5('0x8'));module[_0xa9b5('0x9')]=function(_0x6cd92,_0x366c58){return _0x6cd92[_0xa9b5('0xa')](_0xa9b5('0xb'),attributes,{'tableName':_0xa9b5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};