338b9f82ff52e3873487aa64c56bde2b119cd3a2
[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 _0x76f6=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesConfiguration.attributes','define','FreshsalesConfiguration','int_freshsales_configurations','lodash'];(function(_0x2577d9,_0x8f2f28){var _0x36fe58=function(_0xbba849){while(--_0xbba849){_0x2577d9['push'](_0x2577d9['shift']());}};_0x36fe58(++_0x8f2f28);}(_0x76f6,0xc3));var _0x676f=function(_0x4a53d,_0x58a95e){_0x4a53d=_0x4a53d-0x0;var _0x27410e=_0x76f6[_0x4a53d];return _0x27410e;};'use strict';var _=require(_0x676f('0x0'));var util=require(_0x676f('0x1'));var logger=require(_0x676f('0x2'))(_0x676f('0x3'));var moment=require(_0x676f('0x4'));var BPromise=require(_0x676f('0x5'));var rp=require(_0x676f('0x6'));var fs=require('fs');var path=require(_0x676f('0x7'));var rimraf=require(_0x676f('0x8'));var config=require(_0x676f('0x9'));var attributes=require(_0x676f('0xa'));module['exports']=function(_0x3c9978,_0x3bb935){return _0x3c9978[_0x676f('0xb')](_0x676f('0xc'),attributes,{'tableName':_0x676f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};