Built motion from commit 538092ac.|2.6.10
[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 _0x4a59=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts'];(function(_0x45bf86,_0x75586e){var _0x1f02b7=function(_0x1ea8a3){while(--_0x1ea8a3){_0x45bf86['push'](_0x45bf86['shift']());}};_0x1f02b7(++_0x75586e);}(_0x4a59,0x190));var _0x94a5=function(_0x598ca3,_0x28e7cd){_0x598ca3=_0x598ca3-0x0;var _0x21c006=_0x4a59[_0x598ca3];return _0x21c006;};'use strict';var _=require(_0x94a5('0x0'));var util=require(_0x94a5('0x1'));var logger=require(_0x94a5('0x2'))(_0x94a5('0x3'));var moment=require(_0x94a5('0x4'));var BPromise=require(_0x94a5('0x5'));var rp=require(_0x94a5('0x6'));var fs=require('fs');var path=require(_0x94a5('0x7'));var rimraf=require(_0x94a5('0x8'));var config=require(_0x94a5('0x9'));var attributes=require(_0x94a5('0xa'));var integrations=require(_0x94a5('0xb'));module[_0x94a5('0xc')]=function(_0x3dec77,_0x48637c){return _0x3dec77[_0x94a5('0xd')](_0x94a5('0xe'),attributes,{'tableName':_0x94a5('0xf'),'paranoid':![],'indexes':[],'timestamps':!![]});};