Built motion from commit (unavailable).|2.5.23
[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 _0xb0e9=['rimraf','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0x2c1dcd,_0x350452){var _0x158ce5=function(_0x5c1c57){while(--_0x5c1c57){_0x2c1dcd['push'](_0x2c1dcd['shift']());}};_0x158ce5(++_0x350452);}(_0xb0e9,0x85));var _0x9b0e=function(_0x4a560c,_0xc4531d){_0x4a560c=_0x4a560c-0x0;var _0x384626=_0xb0e9[_0x4a560c];return _0x384626;};'use strict';var _=require(_0x9b0e('0x0'));var util=require(_0x9b0e('0x1'));var logger=require('../../config/logger')(_0x9b0e('0x2'));var moment=require(_0x9b0e('0x3'));var BPromise=require(_0x9b0e('0x4'));var rp=require(_0x9b0e('0x5'));var fs=require('fs');var path=require(_0x9b0e('0x6'));var rimraf=require(_0x9b0e('0x7'));var config=require('../../config/environment');var attributes=require(_0x9b0e('0x8'));var integrations=require(_0x9b0e('0x9'));module[_0x9b0e('0xa')]=function(_0xa47390,_0x15ccde){return _0xa47390[_0x9b0e('0xb')](_0x9b0e('0xc'),attributes,{'tableName':_0x9b0e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};