91e2b2da825b49f20746f8afebd9877574ac034c
[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 _0x11cb=['./intZendeskConfiguration.attributes','exports','int_zendesk_configurations','util','api','bluebird','request-promise','path','rimraf'];(function(_0x4713a6,_0x166b8c){var _0x59e016=function(_0x329f98){while(--_0x329f98){_0x4713a6['push'](_0x4713a6['shift']());}};_0x59e016(++_0x166b8c);}(_0x11cb,0x13e));var _0xb11c=function(_0x4a8cf5,_0x20a7eb){_0x4a8cf5=_0x4a8cf5-0x0;var _0x485337=_0x11cb[_0x4a8cf5];return _0x485337;};'use strict';var _=require('lodash');var util=require(_0xb11c('0x0'));var logger=require('../../config/logger')(_0xb11c('0x1'));var moment=require('moment');var BPromise=require(_0xb11c('0x2'));var rp=require(_0xb11c('0x3'));var fs=require('fs');var path=require(_0xb11c('0x4'));var rimraf=require(_0xb11c('0x5'));var config=require('../../config/environment');var attributes=require(_0xb11c('0x6'));module[_0xb11c('0x7')]=function(_0x6001d,_0x28007f){return _0x6001d['define']('ZendeskConfiguration',attributes,{'tableName':_0xb11c('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};