3ca94abbf7d573819b2ad309f4e86d0829aab5b4
[motion2.git] / server / api / intZohoConfiguration / intZohoConfiguration.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 _0xb654=['define','ZohoConfiguration','int_zoho_configurations','lodash','util','moment','bluebird','path','rimraf','../../config/environment','./intZohoConfiguration.attributes'];(function(_0x479509,_0x1daf8a){var _0x382da8=function(_0x39d77c){while(--_0x39d77c){_0x479509['push'](_0x479509['shift']());}};_0x382da8(++_0x1daf8a);}(_0xb654,0x16e));var _0x4b65=function(_0x1b2bcc,_0x51d235){_0x1b2bcc=_0x1b2bcc-0x0;var _0x3910b7=_0xb654[_0x1b2bcc];return _0x3910b7;};'use strict';var _=require(_0x4b65('0x0'));var util=require(_0x4b65('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x4b65('0x2'));var BPromise=require(_0x4b65('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4b65('0x4'));var rimraf=require(_0x4b65('0x5'));var config=require(_0x4b65('0x6'));var attributes=require(_0x4b65('0x7'));module['exports']=function(_0x36c140,_0x4b129d){return _0x36c140[_0x4b65('0x8')](_0x4b65('0x9'),attributes,{'tableName':_0x4b65('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};