Built motion from commit 497d3d92.|2.5.43
[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 _0x099c=['../../components/integrations/configuration','ZendeskAccount','int_zendesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x8ee1b6,_0x4a6b06){var _0x2f677b=function(_0x3d9bd3){while(--_0x3d9bd3){_0x8ee1b6['push'](_0x8ee1b6['shift']());}};_0x2f677b(++_0x4a6b06);}(_0x099c,0x10b));var _0xc099=function(_0x21c23e,_0x1d33e3){_0x21c23e=_0x21c23e-0x0;var _0xa7b7e2=_0x099c[_0x21c23e];return _0xa7b7e2;};'use strict';var _=require(_0xc099('0x0'));var util=require(_0xc099('0x1'));var logger=require(_0xc099('0x2'))(_0xc099('0x3'));var moment=require(_0xc099('0x4'));var BPromise=require(_0xc099('0x5'));var rp=require(_0xc099('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc099('0x7'));var config=require('../../config/environment');var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0xc099('0x8'));module['exports']=function(_0x1258be,_0x2dd2d0){return _0x1258be['define'](_0xc099('0x9'),attributes,{'tableName':_0xc099('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};