b3c6fdbf6794346729a0854251126cfe99601e0c
[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 _0x67a6=['define','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x125e91,_0x53089c){var _0x180296=function(_0x48d681){while(--_0x48d681){_0x125e91['push'](_0x125e91['shift']());}};_0x180296(++_0x53089c);}(_0x67a6,0x137));var _0x667a=function(_0x43d11d,_0xccff91){_0x43d11d=_0x43d11d-0x0;var _0x38cd08=_0x67a6[_0x43d11d];return _0x38cd08;};'use strict';var _=require(_0x667a('0x0'));var util=require(_0x667a('0x1'));var logger=require(_0x667a('0x2'))(_0x667a('0x3'));var moment=require(_0x667a('0x4'));var BPromise=require(_0x667a('0x5'));var rp=require(_0x667a('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x667a('0x7'));var attributes=require(_0x667a('0x8'));var integrations=require(_0x667a('0x9'));module[_0x667a('0xa')]=function(_0x2dfbba,_0x69cd32){return _0x2dfbba[_0x667a('0xb')](_0x667a('0xc'),attributes,{'tableName':_0x667a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};