5cc7555d7f9288d446fd6031b6430cbd64029bcb
[motion2.git] / server / api / intZendeskConfiguration / intZendeskConfiguration.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 _0x0bc2=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskConfiguration.attributes','exports','ZendeskConfiguration','int_zendesk_configurations','lodash','../../config/logger'];(function(_0x36216f,_0x2b1724){var _0x190859=function(_0x30df2c){while(--_0x30df2c){_0x36216f['push'](_0x36216f['shift']());}};_0x190859(++_0x2b1724);}(_0x0bc2,0xb4));var _0x20bc=function(_0x41e613,_0x274de4){_0x41e613=_0x41e613-0x0;var _0x3260ec=_0x0bc2[_0x41e613];return _0x3260ec;};'use strict';var _=require(_0x20bc('0x0'));var util=require('util');var logger=require(_0x20bc('0x1'))(_0x20bc('0x2'));var moment=require(_0x20bc('0x3'));var BPromise=require(_0x20bc('0x4'));var rp=require(_0x20bc('0x5'));var fs=require('fs');var path=require(_0x20bc('0x6'));var rimraf=require(_0x20bc('0x7'));var config=require(_0x20bc('0x8'));var attributes=require(_0x20bc('0x9'));module[_0x20bc('0xa')]=function(_0x24311e,_0x18755d){return _0x24311e['define'](_0x20bc('0xb'),attributes,{'tableName':_0x20bc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};