defabfdc1b66f6c472587aa61449d203cb475e02
[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 _0x4c3f=['../../components/integrations/configuration','exports','define','int_zendesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes'];(function(_0x350dc6,_0x36ab14){var _0x2e5887=function(_0x5370ad){while(--_0x5370ad){_0x350dc6['push'](_0x350dc6['shift']());}};_0x2e5887(++_0x36ab14);}(_0x4c3f,0x1d5));var _0xf4c3=function(_0xe61840,_0x27748c){_0xe61840=_0xe61840-0x0;var _0x2fbf5c=_0x4c3f[_0xe61840];return _0x2fbf5c;};'use strict';var _=require(_0xf4c3('0x0'));var util=require(_0xf4c3('0x1'));var logger=require(_0xf4c3('0x2'))(_0xf4c3('0x3'));var moment=require(_0xf4c3('0x4'));var BPromise=require(_0xf4c3('0x5'));var rp=require(_0xf4c3('0x6'));var fs=require('fs');var path=require(_0xf4c3('0x7'));var rimraf=require(_0xf4c3('0x8'));var config=require(_0xf4c3('0x9'));var attributes=require(_0xf4c3('0xa'));var integrations=require(_0xf4c3('0xb'));module[_0xf4c3('0xc')]=function(_0x3dd154,_0x18d01a){return _0x3dd154[_0xf4c3('0xd')]('ZendeskAccount',attributes,{'tableName':_0xf4c3('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};