0c3636e6b34f4f53e6e6dfe22a34f1317a1ba1af
[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 _0x7e9a=['ZohoConfiguration','int_zoho_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./intZohoConfiguration.attributes','exports','define'];(function(_0x415d26,_0x282ce1){var _0x2987fd=function(_0x27f719){while(--_0x27f719){_0x415d26['push'](_0x415d26['shift']());}};_0x2987fd(++_0x282ce1);}(_0x7e9a,0x1de));var _0xa7e9=function(_0x175219,_0x23ec66){_0x175219=_0x175219-0x0;var _0x416369=_0x7e9a[_0x175219];return _0x416369;};'use strict';var _=require(_0xa7e9('0x0'));var util=require(_0xa7e9('0x1'));var logger=require(_0xa7e9('0x2'))(_0xa7e9('0x3'));var moment=require(_0xa7e9('0x4'));var BPromise=require(_0xa7e9('0x5'));var rp=require(_0xa7e9('0x6'));var fs=require('fs');var path=require(_0xa7e9('0x7'));var rimraf=require(_0xa7e9('0x8'));var config=require('../../config/environment');var attributes=require(_0xa7e9('0x9'));module[_0xa7e9('0xa')]=function(_0x32ec5a,_0x4ba60d){return _0x32ec5a[_0xa7e9('0xb')](_0xa7e9('0xc'),attributes,{'tableName':_0xa7e9('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};