4c04577c9c3566afe3adf645f4753eb0ba66205e
[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 _0xbe56=['request-promise','path','../../config/environment','./intZohoConfiguration.attributes','exports','define','ZohoConfiguration','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x16f03b,_0x4b06a1){var _0xd6e796=function(_0x57317d){while(--_0x57317d){_0x16f03b['push'](_0x16f03b['shift']());}};_0xd6e796(++_0x4b06a1);}(_0xbe56,0x1b4));var _0x6be5=function(_0x39aba6,_0x37443a){_0x39aba6=_0x39aba6-0x0;var _0x467a35=_0xbe56[_0x39aba6];return _0x467a35;};'use strict';var _=require(_0x6be5('0x0'));var util=require(_0x6be5('0x1'));var logger=require(_0x6be5('0x2'))(_0x6be5('0x3'));var moment=require(_0x6be5('0x4'));var BPromise=require(_0x6be5('0x5'));var rp=require(_0x6be5('0x6'));var fs=require('fs');var path=require(_0x6be5('0x7'));var rimraf=require('rimraf');var config=require(_0x6be5('0x8'));var attributes=require(_0x6be5('0x9'));module[_0x6be5('0xa')]=function(_0x4992f2,_0x323425){return _0x4992f2[_0x6be5('0xb')](_0x6be5('0xc'),attributes,{'tableName':'int_zoho_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};