Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / intFreshsalesAccount / intFreshsalesAccount.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 _0xa6f8=['../../config/environment','./intFreshsalesAccount.attributes','exports','FreshsalesAccount','int_freshsales_accounts','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x49b3c0,_0x4679bc){var _0x529bdc=function(_0x1124a9){while(--_0x1124a9){_0x49b3c0['push'](_0x49b3c0['shift']());}};_0x529bdc(++_0x4679bc);}(_0xa6f8,0x94));var _0x8a6f=function(_0x414cbe,_0x16a463){_0x414cbe=_0x414cbe-0x0;var _0x2793fe=_0xa6f8[_0x414cbe];return _0x2793fe;};'use strict';var _=require(_0x8a6f('0x0'));var util=require('util');var logger=require(_0x8a6f('0x1'))(_0x8a6f('0x2'));var moment=require(_0x8a6f('0x3'));var BPromise=require(_0x8a6f('0x4'));var rp=require(_0x8a6f('0x5'));var fs=require('fs');var path=require(_0x8a6f('0x6'));var rimraf=require(_0x8a6f('0x7'));var config=require(_0x8a6f('0x8'));var attributes=require(_0x8a6f('0x9'));var integrations=require('../../components/integrations/configuration');module[_0x8a6f('0xa')]=function(_0x1c3632,_0x25915f){return _0x1c3632['define'](_0x8a6f('0xb'),attributes,{'tableName':_0x8a6f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};