Built motion from commit (unavailable).|2.5.29
[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 _0xc9d7=['rimraf','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','exports','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xc9d7,0x149));var _0x7c9d=function(_0x599f41,_0x4db732){_0x599f41=_0x599f41-0x0;var _0x2e4d58=_0xc9d7[_0x599f41];return _0x2e4d58;};'use strict';var _=require(_0x7c9d('0x0'));var util=require(_0x7c9d('0x1'));var logger=require(_0x7c9d('0x2'))(_0x7c9d('0x3'));var moment=require(_0x7c9d('0x4'));var BPromise=require(_0x7c9d('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7c9d('0x6'));var rimraf=require(_0x7c9d('0x7'));var config=require(_0x7c9d('0x8'));var attributes=require(_0x7c9d('0x9'));var integrations=require(_0x7c9d('0xa'));module[_0x7c9d('0xb')]=function(_0x18b838,_0x3ed3d0){return _0x18b838['define'](_0x7c9d('0xc'),attributes,{'tableName':_0x7c9d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};