e99c4e61f83312ae9664cfab3b62e587710b1d76
[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 _0x04de=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesAccount.attributes','define','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger'];(function(_0x59d718,_0x36c200){var _0x5ebbff=function(_0x126dba){while(--_0x126dba){_0x59d718['push'](_0x59d718['shift']());}};_0x5ebbff(++_0x36c200);}(_0x04de,0x107));var _0xe04d=function(_0x3d1fc8,_0x28916d){_0x3d1fc8=_0x3d1fc8-0x0;var _0x18b20b=_0x04de[_0x3d1fc8];return _0x18b20b;};'use strict';var _=require(_0xe04d('0x0'));var util=require(_0xe04d('0x1'));var logger=require(_0xe04d('0x2'))(_0xe04d('0x3'));var moment=require(_0xe04d('0x4'));var BPromise=require(_0xe04d('0x5'));var rp=require(_0xe04d('0x6'));var fs=require('fs');var path=require(_0xe04d('0x7'));var rimraf=require(_0xe04d('0x8'));var config=require(_0xe04d('0x9'));var attributes=require(_0xe04d('0xa'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x4f7637,_0x531688){return _0x4f7637[_0xe04d('0xb')](_0xe04d('0xc'),attributes,{'tableName':_0xe04d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};