091e85d8de151431b4751301db2deafb94e542b8
[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 _0x0b2b=['int_freshsales_configurations','lodash','util','api','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesConfiguration.attributes','exports','FreshsalesConfiguration'];(function(_0x45541c,_0x39f27d){var _0x1fb88f=function(_0x1796b5){while(--_0x1796b5){_0x45541c['push'](_0x45541c['shift']());}};_0x1fb88f(++_0x39f27d);}(_0x0b2b,0x1ed));var _0xb0b2=function(_0x30cdf3,_0x17b024){_0x30cdf3=_0x30cdf3-0x0;var _0x287f84=_0x0b2b[_0x30cdf3];return _0x287f84;};'use strict';var _=require(_0xb0b2('0x0'));var util=require(_0xb0b2('0x1'));var logger=require('../../config/logger')(_0xb0b2('0x2'));var moment=require('moment');var BPromise=require(_0xb0b2('0x3'));var rp=require(_0xb0b2('0x4'));var fs=require('fs');var path=require(_0xb0b2('0x5'));var rimraf=require(_0xb0b2('0x6'));var config=require(_0xb0b2('0x7'));var attributes=require(_0xb0b2('0x8'));module[_0xb0b2('0x9')]=function(_0x28a8e8,_0x3be842){return _0x28a8e8['define'](_0xb0b2('0xa'),attributes,{'tableName':_0xb0b2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};