e4d28cfc1d295b40204623e59dcb5a9a4f2a3b45
[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 _0x4f71=['bluebird','request-promise','path','rimraf','../../config/environment','define','ZendeskAccount','lodash','util','../../config/logger','moment'];(function(_0x6bc19e,_0x3be317){var _0x11996f=function(_0x3bcec6){while(--_0x3bcec6){_0x6bc19e['push'](_0x6bc19e['shift']());}};_0x11996f(++_0x3be317);}(_0x4f71,0xf9));var _0x14f7=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0x4f71[_0xc6be3a];return _0x56a310;};'use strict';var _=require(_0x14f7('0x0'));var util=require(_0x14f7('0x1'));var logger=require(_0x14f7('0x2'))('api');var moment=require(_0x14f7('0x3'));var BPromise=require(_0x14f7('0x4'));var rp=require(_0x14f7('0x5'));var fs=require('fs');var path=require(_0x14f7('0x6'));var rimraf=require(_0x14f7('0x7'));var config=require(_0x14f7('0x8'));var attributes=require('./intZendeskAccount.attributes');var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x44b162,_0x2aea20){return _0x44b162[_0x14f7('0x9')](_0x14f7('0xa'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};