Built motion from commit 06eb8eb0.|2.6.31
[motion2.git] / server / api / intFreshsalesConfiguration / intFreshsalesConfiguration.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 _0xe0f9=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./intFreshsalesConfiguration.attributes','exports','define','FreshsalesConfiguration','int_freshsales_configurations','lodash'];(function(_0x3a84b9,_0x529c82){var _0x566814=function(_0x5f31d0){while(--_0x5f31d0){_0x3a84b9['push'](_0x3a84b9['shift']());}};_0x566814(++_0x529c82);}(_0xe0f9,0xb5));var _0x9e0f=function(_0xd326ae,_0x2ad48e){_0xd326ae=_0xd326ae-0x0;var _0xdc099d=_0xe0f9[_0xd326ae];return _0xdc099d;};'use strict';var _=require(_0x9e0f('0x0'));var util=require(_0x9e0f('0x1'));var logger=require(_0x9e0f('0x2'))(_0x9e0f('0x3'));var moment=require(_0x9e0f('0x4'));var BPromise=require(_0x9e0f('0x5'));var rp=require(_0x9e0f('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9e0f('0x7'));var config=require('../../config/environment');var attributes=require(_0x9e0f('0x8'));module[_0x9e0f('0x9')]=function(_0xb60648,_0x4ab50a){return _0xb60648[_0x9e0f('0xa')](_0x9e0f('0xb'),attributes,{'tableName':_0x9e0f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};