6dcf9549169739b4098868b03c215cc83dc56c78
[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 _0x341e=['../../config/environment','./intZendeskConfiguration.attributes','exports','ZendeskConfiguration','int_zendesk_configurations','util','../../config/logger','api','moment','rimraf'];(function(_0x1ed8a2,_0x51a2d4){var _0x72e34=function(_0xf59bc3){while(--_0xf59bc3){_0x1ed8a2['push'](_0x1ed8a2['shift']());}};_0x72e34(++_0x51a2d4);}(_0x341e,0x1bd));var _0xe341=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x341e[_0x1cc8fe];return _0x230054;};'use strict';var _=require('lodash');var util=require(_0xe341('0x0'));var logger=require(_0xe341('0x1'))(_0xe341('0x2'));var moment=require(_0xe341('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe341('0x4'));var config=require(_0xe341('0x5'));var attributes=require(_0xe341('0x6'));module[_0xe341('0x7')]=function(_0x6abada,_0xfb49ee){return _0x6abada['define'](_0xe341('0x8'),attributes,{'tableName':_0xe341('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};