be9e95e2a40106f720a1273c36b8c6535ae1685b
[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 _0x3bfc=['util','../../config/logger','api','moment','rimraf','../../config/environment','exports','ZohoConfiguration'];(function(_0x5999ba,_0x97b26a){var _0x2140b5=function(_0x23b3fb){while(--_0x23b3fb){_0x5999ba['push'](_0x5999ba['shift']());}};_0x2140b5(++_0x97b26a);}(_0x3bfc,0x168));var _0xc3bf=function(_0x38d8e2,_0x48603c){_0x38d8e2=_0x38d8e2-0x0;var _0x5afbee=_0x3bfc[_0x38d8e2];return _0x5afbee;};'use strict';var _=require('lodash');var util=require(_0xc3bf('0x0'));var logger=require(_0xc3bf('0x1'))(_0xc3bf('0x2'));var moment=require(_0xc3bf('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xc3bf('0x4'));var config=require(_0xc3bf('0x5'));var attributes=require('./intZohoConfiguration.attributes');module[_0xc3bf('0x6')]=function(_0x3898e7,_0x1124c7){return _0x3898e7['define'](_0xc3bf('0x7'),attributes,{'tableName':'int_zoho_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};