Built motion from commit (unavailable).|2.5.1
[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 _0x6b19=['define','int_freshsales_accounts','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','./intFreshsalesAccount.attributes','../../components/integrations/configuration'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x6b19,0xf4));var _0x96b1=function(_0x38c014,_0x4d2e00){_0x38c014=_0x38c014-0x0;var _0x452c11=_0x6b19[_0x38c014];return _0x452c11;};'use strict';var _=require(_0x96b1('0x0'));var util=require('util');var logger=require(_0x96b1('0x1'))(_0x96b1('0x2'));var moment=require('moment');var BPromise=require(_0x96b1('0x3'));var rp=require(_0x96b1('0x4'));var fs=require('fs');var path=require(_0x96b1('0x5'));var rimraf=require(_0x96b1('0x6'));var config=require('../../config/environment');var attributes=require(_0x96b1('0x7'));var integrations=require(_0x96b1('0x8'));module['exports']=function(_0x5e55b7,_0x288d77){return _0x5e55b7[_0x96b1('0x9')]('FreshsalesAccount',attributes,{'tableName':_0x96b1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};