Built motion from commit 639a1a7f.|2.6.19
[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 _0x4e01=['lodash','api','moment','bluebird','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define'];(function(_0x5f2075,_0x54cb5b){var _0xc612fb=function(_0x6ac44f){while(--_0x6ac44f){_0x5f2075['push'](_0x5f2075['shift']());}};_0xc612fb(++_0x54cb5b);}(_0x4e01,0x122));var _0x14e0=function(_0x191297,_0x46c85f){_0x191297=_0x191297-0x0;var _0x5cbe42=_0x4e01[_0x191297];return _0x5cbe42;};'use strict';var _=require(_0x14e0('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x14e0('0x1'));var moment=require(_0x14e0('0x2'));var BPromise=require(_0x14e0('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x14e0('0x4'));var config=require(_0x14e0('0x5'));var attributes=require(_0x14e0('0x6'));var integrations=require(_0x14e0('0x7'));module[_0x14e0('0x8')]=function(_0x31e2f9,_0x433d8c){return _0x31e2f9[_0x14e0('0x9')]('ZendeskAccount',attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};