d8a751163bcfdc57a24cce2673876b48ae8ce33c
[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 _0xd51e=['define','FreshsalesConfiguration','int_freshsales_configurations','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesConfiguration.attributes','exports'];(function(_0x45842b,_0x4071ff){var _0x3745bc=function(_0x25a27b){while(--_0x25a27b){_0x45842b['push'](_0x45842b['shift']());}};_0x3745bc(++_0x4071ff);}(_0xd51e,0xb7));var _0xed51=function(_0x441038,_0x318ade){_0x441038=_0x441038-0x0;var _0x373b31=_0xd51e[_0x441038];return _0x373b31;};'use strict';var _=require('lodash');var util=require(_0xed51('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xed51('0x1'));var BPromise=require(_0xed51('0x2'));var rp=require(_0xed51('0x3'));var fs=require('fs');var path=require(_0xed51('0x4'));var rimraf=require(_0xed51('0x5'));var config=require(_0xed51('0x6'));var attributes=require(_0xed51('0x7'));module[_0xed51('0x8')]=function(_0x3a6e3c,_0x59c234){return _0x3a6e3c[_0xed51('0x9')](_0xed51('0xa'),attributes,{'tableName':_0xed51('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};