Built motion from commit (unavailable).|2.5.23
[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 _0xb464=['./intFreshsalesAccount.attributes','../../components/integrations/configuration','define','FreshsalesAccount','int_freshsales_accounts','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x2070da,_0x45e586){var _0x4f9fe1=function(_0x5b6f2a){while(--_0x5b6f2a){_0x2070da['push'](_0x2070da['shift']());}};_0x4f9fe1(++_0x45e586);}(_0xb464,0xad));var _0x4b46=function(_0x457585,_0x47e33a){_0x457585=_0x457585-0x0;var _0x1f96e1=_0xb464[_0x457585];return _0x1f96e1;};'use strict';var _=require(_0x4b46('0x0'));var util=require(_0x4b46('0x1'));var logger=require('../../config/logger')(_0x4b46('0x2'));var moment=require(_0x4b46('0x3'));var BPromise=require('bluebird');var rp=require(_0x4b46('0x4'));var fs=require('fs');var path=require(_0x4b46('0x5'));var rimraf=require(_0x4b46('0x6'));var config=require('../../config/environment');var attributes=require(_0x4b46('0x7'));var integrations=require(_0x4b46('0x8'));module['exports']=function(_0x2c074a,_0x3b9b96){return _0x2c074a[_0x4b46('0x9')](_0x4b46('0xa'),attributes,{'tableName':_0x4b46('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};