Built motion from commit (unavailable).|2.5.22
[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 _0xa376=['../../config/environment','./intFreshsalesConfiguration.attributes','exports','define','FreshsalesConfiguration','int_freshsales_configurations','../../config/logger','moment','bluebird','rimraf'];(function(_0x193ea2,_0x402967){var _0x101cba=function(_0x4cc1a8){while(--_0x4cc1a8){_0x193ea2['push'](_0x193ea2['shift']());}};_0x101cba(++_0x402967);}(_0xa376,0x88));var _0x6a37=function(_0x4b8f46,_0x6c231a){_0x4b8f46=_0x4b8f46-0x0;var _0x4a3483=_0xa376[_0x4b8f46];return _0x4a3483;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6a37('0x0'))('api');var moment=require(_0x6a37('0x1'));var BPromise=require(_0x6a37('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6a37('0x3'));var config=require(_0x6a37('0x4'));var attributes=require(_0x6a37('0x5'));module[_0x6a37('0x6')]=function(_0x2bf48c,_0x58a562){return _0x2bf48c[_0x6a37('0x7')](_0x6a37('0x8'),attributes,{'tableName':_0x6a37('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};