9f3f481946c36ced63fcb5c263da93d26923bc98
[motion2.git] / server / api / intZendeskAccount / intZendeskAccount.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 _0x7d18=['exports','ZendeskAccount','int_zendesk_accounts','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./intZendeskAccount.attributes','../../components/integrations/configuration'];(function(_0x589aee,_0x140a03){var _0x2f5ed4=function(_0x3d224f){while(--_0x3d224f){_0x589aee['push'](_0x589aee['shift']());}};_0x2f5ed4(++_0x140a03);}(_0x7d18,0xc6));var _0x87d1=function(_0x2e50a2,_0x27f31e){_0x2e50a2=_0x2e50a2-0x0;var _0x47e5de=_0x7d18[_0x2e50a2];return _0x47e5de;};'use strict';var _=require('lodash');var util=require(_0x87d1('0x0'));var logger=require(_0x87d1('0x1'))(_0x87d1('0x2'));var moment=require(_0x87d1('0x3'));var BPromise=require(_0x87d1('0x4'));var rp=require(_0x87d1('0x5'));var fs=require('fs');var path=require(_0x87d1('0x6'));var rimraf=require(_0x87d1('0x7'));var config=require('../../config/environment');var attributes=require(_0x87d1('0x8'));var integrations=require(_0x87d1('0x9'));module[_0x87d1('0xa')]=function(_0x3a8409,_0x511c31){return _0x3a8409['define'](_0x87d1('0xb'),attributes,{'tableName':_0x87d1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};