5485acb1624b517594e75d09cbf75bd1a91ebb44
[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 _0x06de=['util','../../config/logger','api','moment','request-promise','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','int_zendesk_accounts','lodash'];(function(_0x149980,_0xeb67c8){var _0x3aacce=function(_0x276700){while(--_0x276700){_0x149980['push'](_0x149980['shift']());}};_0x3aacce(++_0xeb67c8);}(_0x06de,0x175));var _0xe06d=function(_0x1ca890,_0x21d0d3){_0x1ca890=_0x1ca890-0x0;var _0x3f8e01=_0x06de[_0x1ca890];return _0x3f8e01;};'use strict';var _=require(_0xe06d('0x0'));var util=require(_0xe06d('0x1'));var logger=require(_0xe06d('0x2'))(_0xe06d('0x3'));var moment=require(_0xe06d('0x4'));var BPromise=require('bluebird');var rp=require(_0xe06d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe06d('0x6'));var integrations=require(_0xe06d('0x7'));module[_0xe06d('0x8')]=function(_0x339dd9,_0x4837d5){return _0x339dd9[_0xe06d('0x9')]('ZendeskAccount',attributes,{'tableName':_0xe06d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};