d07154c9dbce6610af9e0750c0555c245deca0dd
[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 _0x3ce0=['path','rimraf','./intZohoConfiguration.attributes','define','ZohoConfiguration','int_zoho_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x4ae6ef,_0xc2af80){var _0x3cbb4e=function(_0x569ad5){while(--_0x569ad5){_0x4ae6ef['push'](_0x4ae6ef['shift']());}};_0x3cbb4e(++_0xc2af80);}(_0x3ce0,0xbc));var _0x03ce=function(_0x1fb566,_0x5ef885){_0x1fb566=_0x1fb566-0x0;var _0x2b3f4d=_0x3ce0[_0x1fb566];return _0x2b3f4d;};'use strict';var _=require(_0x03ce('0x0'));var util=require(_0x03ce('0x1'));var logger=require(_0x03ce('0x2'))(_0x03ce('0x3'));var moment=require(_0x03ce('0x4'));var BPromise=require(_0x03ce('0x5'));var rp=require(_0x03ce('0x6'));var fs=require('fs');var path=require(_0x03ce('0x7'));var rimraf=require(_0x03ce('0x8'));var config=require('../../config/environment');var attributes=require(_0x03ce('0x9'));module['exports']=function(_0x2c3ad0,_0x3fc756){return _0x2c3ad0[_0x03ce('0xa')](_0x03ce('0xb'),attributes,{'tableName':_0x03ce('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};