Built motion from commit fe909640.|2.6.8
[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 _0xa0b6=['request-promise','path','../../config/environment','./intFreshsalesConfiguration.attributes','exports','define','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','moment','bluebird'];(function(_0x3a4587,_0x57e96a){var _0x32d3c1=function(_0x3ccd3a){while(--_0x3ccd3a){_0x3a4587['push'](_0x3a4587['shift']());}};_0x32d3c1(++_0x57e96a);}(_0xa0b6,0x167));var _0x6a0b=function(_0x4c0622,_0x5dacaf){_0x4c0622=_0x4c0622-0x0;var _0x1799d8=_0xa0b6[_0x4c0622];return _0x1799d8;};'use strict';var _=require(_0x6a0b('0x0'));var util=require(_0x6a0b('0x1'));var logger=require(_0x6a0b('0x2'))('api');var moment=require(_0x6a0b('0x3'));var BPromise=require(_0x6a0b('0x4'));var rp=require(_0x6a0b('0x5'));var fs=require('fs');var path=require(_0x6a0b('0x6'));var rimraf=require('rimraf');var config=require(_0x6a0b('0x7'));var attributes=require(_0x6a0b('0x8'));module[_0x6a0b('0x9')]=function(_0x9e5758,_0x5e826e){return _0x9e5758[_0x6a0b('0xa')](_0x6a0b('0xb'),attributes,{'tableName':_0x6a0b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};