04524a43730e44f5757438c318e85d14ccce300e
[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 _0x79f7=['moment','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','define','lodash','../../config/logger','api'];(function(_0x2261ce,_0x9ed8b6){var _0x524640=function(_0x3cbb90){while(--_0x3cbb90){_0x2261ce['push'](_0x2261ce['shift']());}};_0x524640(++_0x9ed8b6);}(_0x79f7,0x152));var _0x779f=function(_0x388a4c,_0x18317d){_0x388a4c=_0x388a4c-0x0;var _0x33b8a1=_0x79f7[_0x388a4c];return _0x33b8a1;};'use strict';var _=require(_0x779f('0x0'));var util=require('util');var logger=require(_0x779f('0x1'))(_0x779f('0x2'));var moment=require(_0x779f('0x3'));var BPromise=require('bluebird');var rp=require(_0x779f('0x4'));var fs=require('fs');var path=require(_0x779f('0x5'));var rimraf=require(_0x779f('0x6'));var config=require(_0x779f('0x7'));var attributes=require(_0x779f('0x8'));var integrations=require(_0x779f('0x9'));module['exports']=function(_0x5c4abf,_0x19fb12){return _0x5c4abf[_0x779f('0xa')]('ZendeskAccount',attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};