4f5c340616b883693906fc729f5e83f12205fa02
[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 _0xc554=['lodash','util','../../config/logger','api','request-promise','path','rimraf','./intFreshsalesConfiguration.attributes','FreshsalesConfiguration'];(function(_0x5bc75a,_0x38ce5c){var _0x51abb3=function(_0x2622c0){while(--_0x2622c0){_0x5bc75a['push'](_0x5bc75a['shift']());}};_0x51abb3(++_0x38ce5c);}(_0xc554,0x195));var _0x4c55=function(_0x35ba71,_0xa2fbbd){_0x35ba71=_0x35ba71-0x0;var _0x5f04f4=_0xc554[_0x35ba71];return _0x5f04f4;};'use strict';var _=require(_0x4c55('0x0'));var util=require(_0x4c55('0x1'));var logger=require(_0x4c55('0x2'))(_0x4c55('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4c55('0x4'));var fs=require('fs');var path=require(_0x4c55('0x5'));var rimraf=require(_0x4c55('0x6'));var config=require('../../config/environment');var attributes=require(_0x4c55('0x7'));module['exports']=function(_0x1ec18c,_0x3a3130){return _0x1ec18c['define'](_0x4c55('0x8'),attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};