Built motion from commit (unavailable).|2.5.10
[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 _0xcc6b=['SquareMessage','square_messages','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./squareMessage.attributes','exports','define'];(function(_0x438434,_0x36f21f){var _0x3b97c9=function(_0x1ecb7b){while(--_0x1ecb7b){_0x438434['push'](_0x438434['shift']());}};_0x3b97c9(++_0x36f21f);}(_0xcc6b,0x188));var _0xbcc6=function(_0x58acc2,_0x50e8e3){_0x58acc2=_0x58acc2-0x0;var _0x39d115=_0xcc6b[_0x58acc2];return _0x39d115;};'use strict';var _=require(_0xbcc6('0x0'));var util=require(_0xbcc6('0x1'));var logger=require(_0xbcc6('0x2'))(_0xbcc6('0x3'));var moment=require('moment');var BPromise=require(_0xbcc6('0x4'));var rp=require(_0xbcc6('0x5'));var fs=require('fs');var path=require(_0xbcc6('0x6'));var rimraf=require('rimraf');var config=require(_0xbcc6('0x7'));var attributes=require(_0xbcc6('0x8'));module[_0xbcc6('0x9')]=function(_0x4be01f,_0x182e70){return _0x4be01f[_0xbcc6('0xa')](_0xbcc6('0xb'),attributes,{'tableName':_0xbcc6('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};