Built motion from commit eddce310.|2.6.12
[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 _0xffc8=['FreshsalesConfiguration','int_freshsales_configurations','util','../../config/logger','api','moment','bluebird','request-promise','path','./intFreshsalesConfiguration.attributes','exports'];(function(_0x120404,_0x9fc558){var _0x11956a=function(_0x2c4467){while(--_0x2c4467){_0x120404['push'](_0x120404['shift']());}};_0x11956a(++_0x9fc558);}(_0xffc8,0x86));var _0x8ffc=function(_0x11957a,_0x41b53d){_0x11957a=_0x11957a-0x0;var _0x41f840=_0xffc8[_0x11957a];return _0x41f840;};'use strict';var _=require('lodash');var util=require(_0x8ffc('0x0'));var logger=require(_0x8ffc('0x1'))(_0x8ffc('0x2'));var moment=require(_0x8ffc('0x3'));var BPromise=require(_0x8ffc('0x4'));var rp=require(_0x8ffc('0x5'));var fs=require('fs');var path=require(_0x8ffc('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8ffc('0x7'));module[_0x8ffc('0x8')]=function(_0x23bfdb,_0x240dda){return _0x23bfdb['define'](_0x8ffc('0x9'),attributes,{'tableName':_0x8ffc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};