Built motion from commit (unavailable).|2.5.15
[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 _0x6ee5=['exports','define','int_freshsales_accounts','lodash','api','moment','bluebird','path','rimraf','../../config/environment','./intFreshsalesAccount.attributes'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0x6ee5,0x92));var _0x56ee=function(_0x5a9960,_0x543817){_0x5a9960=_0x5a9960-0x0;var _0x15940e=_0x6ee5[_0x5a9960];return _0x15940e;};'use strict';var _=require(_0x56ee('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x56ee('0x1'));var moment=require(_0x56ee('0x2'));var BPromise=require(_0x56ee('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x56ee('0x4'));var rimraf=require(_0x56ee('0x5'));var config=require(_0x56ee('0x6'));var attributes=require(_0x56ee('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x56ee('0x8')]=function(_0x39a1ad,_0x5f4aa7){return _0x39a1ad[_0x56ee('0x9')]('FreshsalesAccount',attributes,{'tableName':_0x56ee('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};