Built motion from commit 4e7c323b.|2.5.34
[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 _0x6bef=['./intFreshsalesConfiguration.attributes','exports','define','FreshsalesConfiguration','int_freshsales_configurations','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x2b5eae,_0x55010d){var _0x5f3ac9=function(_0x397bfc){while(--_0x397bfc){_0x2b5eae['push'](_0x2b5eae['shift']());}};_0x5f3ac9(++_0x55010d);}(_0x6bef,0x155));var _0xf6be=function(_0x4444ab,_0xe3dc96){_0x4444ab=_0x4444ab-0x0;var _0x3cc7aa=_0x6bef[_0x4444ab];return _0x3cc7aa;};'use strict';var _=require(_0xf6be('0x0'));var util=require('util');var logger=require(_0xf6be('0x1'))(_0xf6be('0x2'));var moment=require('moment');var BPromise=require(_0xf6be('0x3'));var rp=require(_0xf6be('0x4'));var fs=require('fs');var path=require(_0xf6be('0x5'));var rimraf=require(_0xf6be('0x6'));var config=require('../../config/environment');var attributes=require(_0xf6be('0x7'));module[_0xf6be('0x8')]=function(_0x2f9fc5,_0x558f8d){return _0x2f9fc5[_0xf6be('0x9')](_0xf6be('0xa'),attributes,{'tableName':_0xf6be('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};