26b85c72ba1221d68060a5e8dd69219eb418598e
[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 _0xd3ac=['int_freshsales_configurations','util','api','bluebird','request-promise','path','../../config/environment','exports','define','FreshsalesConfiguration'];(function(_0x2f6bac,_0x26f4a6){var _0x40c0bf=function(_0x4e9625){while(--_0x4e9625){_0x2f6bac['push'](_0x2f6bac['shift']());}};_0x40c0bf(++_0x26f4a6);}(_0xd3ac,0xa1));var _0xcd3a=function(_0x56a786,_0x1dcb40){_0x56a786=_0x56a786-0x0;var _0x59eb23=_0xd3ac[_0x56a786];return _0x59eb23;};'use strict';var _=require('lodash');var util=require(_0xcd3a('0x0'));var logger=require('../../config/logger')(_0xcd3a('0x1'));var moment=require('moment');var BPromise=require(_0xcd3a('0x2'));var rp=require(_0xcd3a('0x3'));var fs=require('fs');var path=require(_0xcd3a('0x4'));var rimraf=require('rimraf');var config=require(_0xcd3a('0x5'));var attributes=require('./intFreshsalesConfiguration.attributes');module[_0xcd3a('0x6')]=function(_0x43f9ef,_0x33d7f9){return _0x43f9ef[_0xcd3a('0x7')](_0xcd3a('0x8'),attributes,{'tableName':_0xcd3a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};