7ca9184535ba7d8404d98c3d47b873299026084f
[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 _0xef10=['ZendeskAccount','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','../../components/integrations/configuration','exports'];(function(_0xda464c,_0x26e47d){var _0x19e222=function(_0x1ec605){while(--_0x1ec605){_0xda464c['push'](_0xda464c['shift']());}};_0x19e222(++_0x26e47d);}(_0xef10,0x1b1));var _0x0ef1=function(_0x28ed5f,_0x2b785a){_0x28ed5f=_0x28ed5f-0x0;var _0x1288c0=_0xef10[_0x28ed5f];return _0x1288c0;};'use strict';var _=require(_0x0ef1('0x0'));var util=require(_0x0ef1('0x1'));var logger=require(_0x0ef1('0x2'))('api');var moment=require(_0x0ef1('0x3'));var BPromise=require(_0x0ef1('0x4'));var rp=require(_0x0ef1('0x5'));var fs=require('fs');var path=require(_0x0ef1('0x6'));var rimraf=require(_0x0ef1('0x7'));var config=require(_0x0ef1('0x8'));var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0x0ef1('0x9'));module[_0x0ef1('0xa')]=function(_0x3b7769,_0xeaf14e){return _0x3b7769['define'](_0x0ef1('0xb'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};