35c92f78e9c29925bf2103658138003bb670a25b
[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 _0xefef=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','int_zendesk_accounts','lodash'];(function(_0x11e762,_0x3f7103){var _0x24c967=function(_0x4a3cf0){while(--_0x4a3cf0){_0x11e762['push'](_0x11e762['shift']());}};_0x24c967(++_0x3f7103);}(_0xefef,0xc5));var _0xfefe=function(_0x454165,_0x1f3e74){_0x454165=_0x454165-0x0;var _0x56db53=_0xefef[_0x454165];return _0x56db53;};'use strict';var _=require(_0xfefe('0x0'));var util=require('util');var logger=require(_0xfefe('0x1'))(_0xfefe('0x2'));var moment=require(_0xfefe('0x3'));var BPromise=require('bluebird');var rp=require(_0xfefe('0x4'));var fs=require('fs');var path=require(_0xfefe('0x5'));var rimraf=require(_0xfefe('0x6'));var config=require(_0xfefe('0x7'));var attributes=require(_0xfefe('0x8'));var integrations=require(_0xfefe('0x9'));module['exports']=function(_0xbcc146,_0x3c3644){return _0xbcc146['define']('ZendeskAccount',attributes,{'tableName':_0xfefe('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};