abab3e136595ffdf9bea188c2045a7ebe1b4d64b
[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 _0x9505=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./intFreshsalesConfiguration.attributes','FreshsalesConfiguration','int_freshsales_configurations','lodash'];(function(_0x3dfb66,_0x52f36b){var _0x32e2f4=function(_0x16ff7b){while(--_0x16ff7b){_0x3dfb66['push'](_0x3dfb66['shift']());}};_0x32e2f4(++_0x52f36b);}(_0x9505,0xaf));var _0x5950=function(_0x5e5e28,_0x13dad1){_0x5e5e28=_0x5e5e28-0x0;var _0x1c7382=_0x9505[_0x5e5e28];return _0x1c7382;};'use strict';var _=require(_0x5950('0x0'));var util=require(_0x5950('0x1'));var logger=require(_0x5950('0x2'))(_0x5950('0x3'));var moment=require('moment');var BPromise=require(_0x5950('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5950('0x5'));var rimraf=require(_0x5950('0x6'));var config=require(_0x5950('0x7'));var attributes=require(_0x5950('0x8'));module['exports']=function(_0x32e118,_0x26bd8f){return _0x32e118['define'](_0x5950('0x9'),attributes,{'tableName':_0x5950('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};