Built motion from commit 953226e6.|2.6.32
[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 _0xf03b=['request-promise','path','rimraf','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','util','../../config/logger','api','bluebird'];(function(_0x52ac27,_0x8776c8){var _0x40732e=function(_0x32b6c9){while(--_0x32b6c9){_0x52ac27['push'](_0x52ac27['shift']());}};_0x40732e(++_0x8776c8);}(_0xf03b,0x19f));var _0xbf03=function(_0x548696,_0x41c876){_0x548696=_0x548696-0x0;var _0x23114d=_0xf03b[_0x548696];return _0x23114d;};'use strict';var _=require(_0xbf03('0x0'));var util=require(_0xbf03('0x1'));var logger=require(_0xbf03('0x2'))(_0xbf03('0x3'));var moment=require('moment');var BPromise=require(_0xbf03('0x4'));var rp=require(_0xbf03('0x5'));var fs=require('fs');var path=require(_0xbf03('0x6'));var rimraf=require(_0xbf03('0x7'));var config=require('../../config/environment');var attributes=require(_0xbf03('0x8'));var integrations=require(_0xbf03('0x9'));module[_0xbf03('0xa')]=function(_0xcf8b9,_0x10272e){return _0xcf8b9[_0xbf03('0xb')](_0xbf03('0xc'),attributes,{'tableName':_0xbf03('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};