4d1435fa092b25b5c4778e647d260162c13ba2c9
[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 _0xb634=['./intFreshsalesConfiguration.attributes','exports','define','int_freshsales_configurations','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x1a7846,_0x59723e){var _0x48049=function(_0x203ff6){while(--_0x203ff6){_0x1a7846['push'](_0x1a7846['shift']());}};_0x48049(++_0x59723e);}(_0xb634,0x1c0));var _0x4b63=function(_0x3fc30f,_0x31a52f){_0x3fc30f=_0x3fc30f-0x0;var _0x5bd71e=_0xb634[_0x3fc30f];return _0x5bd71e;};'use strict';var _=require(_0x4b63('0x0'));var util=require('util');var logger=require(_0x4b63('0x1'))(_0x4b63('0x2'));var moment=require(_0x4b63('0x3'));var BPromise=require('bluebird');var rp=require(_0x4b63('0x4'));var fs=require('fs');var path=require(_0x4b63('0x5'));var rimraf=require(_0x4b63('0x6'));var config=require(_0x4b63('0x7'));var attributes=require(_0x4b63('0x8'));module[_0x4b63('0x9')]=function(_0x47abe1,_0x57fba1){return _0x47abe1[_0x4b63('0xa')]('FreshsalesConfiguration',attributes,{'tableName':_0x4b63('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};