ec1420e56f978f396038f62848dc4e90373cc282
[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 _0xdd14=['define','ZohoConfiguration','int_zoho_configurations','lodash','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./intZohoConfiguration.attributes','exports'];(function(_0x44d2ff,_0x159054){var _0x3b5491=function(_0x165d7c){while(--_0x165d7c){_0x44d2ff['push'](_0x44d2ff['shift']());}};_0x3b5491(++_0x159054);}(_0xdd14,0x93));var _0x4dd1=function(_0x255550,_0x511181){_0x255550=_0x255550-0x0;var _0x38a200=_0xdd14[_0x255550];return _0x38a200;};'use strict';var _=require(_0x4dd1('0x0'));var util=require('util');var logger=require(_0x4dd1('0x1'))(_0x4dd1('0x2'));var moment=require('moment');var BPromise=require(_0x4dd1('0x3'));var rp=require(_0x4dd1('0x4'));var fs=require('fs');var path=require(_0x4dd1('0x5'));var rimraf=require('rimraf');var config=require(_0x4dd1('0x6'));var attributes=require(_0x4dd1('0x7'));module[_0x4dd1('0x8')]=function(_0x448013,_0x296c6d){return _0x448013[_0x4dd1('0x9')](_0x4dd1('0xa'),attributes,{'tableName':_0x4dd1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};