Built motion from commit efa66e19.|2.6.22
[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 _0xb3f0=['path','rimraf','../../config/environment','./intZohoConfiguration.attributes','define','ZohoConfiguration','int_zoho_configurations','util','../../config/logger','api','moment','bluebird'];(function(_0x500419,_0x549162){var _0x241c1a=function(_0x3bea1a){while(--_0x3bea1a){_0x500419['push'](_0x500419['shift']());}};_0x241c1a(++_0x549162);}(_0xb3f0,0x10f));var _0x0b3f=function(_0x5d4607,_0x6b5e7b){_0x5d4607=_0x5d4607-0x0;var _0x5e4a86=_0xb3f0[_0x5d4607];return _0x5e4a86;};'use strict';var _=require('lodash');var util=require(_0x0b3f('0x0'));var logger=require(_0x0b3f('0x1'))(_0x0b3f('0x2'));var moment=require(_0x0b3f('0x3'));var BPromise=require(_0x0b3f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0b3f('0x5'));var rimraf=require(_0x0b3f('0x6'));var config=require(_0x0b3f('0x7'));var attributes=require(_0x0b3f('0x8'));module['exports']=function(_0x5f4260,_0x52d6a3){return _0x5f4260[_0x0b3f('0x9')](_0x0b3f('0xa'),attributes,{'tableName':_0x0b3f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};