Built motion from commit ab870f9e.|2.5.44
[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 _0x99ce=['exports','define','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0xacd04e,_0x8fd089){var _0x24152b=function(_0x3bef28){while(--_0x3bef28){_0xacd04e['push'](_0xacd04e['shift']());}};_0x24152b(++_0x8fd089);}(_0x99ce,0xac));var _0xe99c=function(_0x128a73,_0x26c676){_0x128a73=_0x128a73-0x0;var _0x210caa=_0x99ce[_0x128a73];return _0x210caa;};'use strict';var _=require(_0xe99c('0x0'));var util=require(_0xe99c('0x1'));var logger=require(_0xe99c('0x2'))(_0xe99c('0x3'));var moment=require(_0xe99c('0x4'));var BPromise=require(_0xe99c('0x5'));var rp=require(_0xe99c('0x6'));var fs=require('fs');var path=require(_0xe99c('0x7'));var rimraf=require(_0xe99c('0x8'));var config=require(_0xe99c('0x9'));var attributes=require('./intFreshsalesConfiguration.attributes');module[_0xe99c('0xa')]=function(_0x3d0905,_0x361e07){return _0x3d0905[_0xe99c('0xb')](_0xe99c('0xc'),attributes,{'tableName':_0xe99c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};