c214f16ca30787612895ef3c274ed336a6ada133
[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 _0xf37e=['path','rimraf','exports','define','ZendeskConfiguration','lodash','request-promise'];(function(_0x5e5e13,_0x3723ed){var _0x1e68c9=function(_0x4c2c0a){while(--_0x4c2c0a){_0x5e5e13['push'](_0x5e5e13['shift']());}};_0x1e68c9(++_0x3723ed);}(_0xf37e,0x1b0));var _0xef37=function(_0x1bc5f5,_0x50088f){_0x1bc5f5=_0x1bc5f5-0x0;var _0xca7977=_0xf37e[_0x1bc5f5];return _0xca7977;};'use strict';var _=require(_0xef37('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xef37('0x1'));var fs=require('fs');var path=require(_0xef37('0x2'));var rimraf=require(_0xef37('0x3'));var config=require('../../config/environment');var attributes=require('./intZendeskConfiguration.attributes');module[_0xef37('0x4')]=function(_0x4079c5,_0x4ab67b){return _0x4079c5[_0xef37('0x5')](_0xef37('0x6'),attributes,{'tableName':'int_zendesk_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};