Built motion from commit fe909640.|2.6.8
[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 _0x8420=['path','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','lodash','util','moment','bluebird','request-promise'];(function(_0x38687f,_0x2cd03b){var _0x349bb0=function(_0x32c125){while(--_0x32c125){_0x38687f['push'](_0x38687f['shift']());}};_0x349bb0(++_0x2cd03b);}(_0x8420,0xbe));var _0x0842=function(_0x25d56e,_0x244980){_0x25d56e=_0x25d56e-0x0;var _0x420031=_0x8420[_0x25d56e];return _0x420031;};'use strict';var _=require(_0x0842('0x0'));var util=require(_0x0842('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x0842('0x2'));var BPromise=require(_0x0842('0x3'));var rp=require(_0x0842('0x4'));var fs=require('fs');var path=require(_0x0842('0x5'));var rimraf=require(_0x0842('0x6'));var config=require(_0x0842('0x7'));var attributes=require(_0x0842('0x8'));var integrations=require(_0x0842('0x9'));module[_0x0842('0xa')]=function(_0x2a879c,_0x16368b){return _0x2a879c[_0x0842('0xb')](_0x0842('0xc'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};