Built motion from commit (unavailable).|2.5.11
[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 _0x68f5=['util','../../config/logger','api','moment','bluebird','path','rimraf','./intFreshsalesAccount.attributes','../../components/integrations/configuration','exports','lodash'];(function(_0x4887be,_0x25e10d){var _0xd751ea=function(_0x4b831f){while(--_0x4b831f){_0x4887be['push'](_0x4887be['shift']());}};_0xd751ea(++_0x25e10d);}(_0x68f5,0x107));var _0x568f=function(_0x94c113,_0x68f426){_0x94c113=_0x94c113-0x0;var _0x16c312=_0x68f5[_0x94c113];return _0x16c312;};'use strict';var _=require(_0x568f('0x0'));var util=require(_0x568f('0x1'));var logger=require(_0x568f('0x2'))(_0x568f('0x3'));var moment=require(_0x568f('0x4'));var BPromise=require(_0x568f('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x568f('0x6'));var rimraf=require(_0x568f('0x7'));var config=require('../../config/environment');var attributes=require(_0x568f('0x8'));var integrations=require(_0x568f('0x9'));module[_0x568f('0xa')]=function(_0x3e7488,_0x2c79ba){return _0x3e7488['define']('FreshsalesAccount',attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};