6efaae703b21a898584c8e78d1612ade4c8594a4
[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 _0x5176=['api','moment','bluebird','request-promise','path','../../config/environment','./intFreshsalesConfiguration.attributes','exports','define','int_freshsales_configurations','lodash','../../config/logger'];(function(_0x1ee62e,_0x159bb2){var _0x27c6c8=function(_0x31a5d4){while(--_0x31a5d4){_0x1ee62e['push'](_0x1ee62e['shift']());}};_0x27c6c8(++_0x159bb2);}(_0x5176,0x12a));var _0x6517=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x5176[_0x59ee6f];return _0x4c0979;};'use strict';var _=require(_0x6517('0x0'));var util=require('util');var logger=require(_0x6517('0x1'))(_0x6517('0x2'));var moment=require(_0x6517('0x3'));var BPromise=require(_0x6517('0x4'));var rp=require(_0x6517('0x5'));var fs=require('fs');var path=require(_0x6517('0x6'));var rimraf=require('rimraf');var config=require(_0x6517('0x7'));var attributes=require(_0x6517('0x8'));module[_0x6517('0x9')]=function(_0x44fdd2,_0x3352f0){return _0x44fdd2[_0x6517('0xa')]('FreshsalesConfiguration',attributes,{'tableName':_0x6517('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};