5074afb8e761ccd73ba3ba4cdb9e0af94451921e
[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 _0x4d6f=['lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','define','ZendeskAccount'];(function(_0x47242d,_0x13f993){var _0x30273a=function(_0x322cd2){while(--_0x322cd2){_0x47242d['push'](_0x47242d['shift']());}};_0x30273a(++_0x13f993);}(_0x4d6f,0x14a));var _0xf4d6=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x4d6f[_0x2641f9];return _0x585741;};'use strict';var _=require(_0xf4d6('0x0'));var util=require('util');var logger=require(_0xf4d6('0x1'))('api');var moment=require(_0xf4d6('0x2'));var BPromise=require(_0xf4d6('0x3'));var rp=require(_0xf4d6('0x4'));var fs=require('fs');var path=require(_0xf4d6('0x5'));var rimraf=require('rimraf');var config=require(_0xf4d6('0x6'));var attributes=require(_0xf4d6('0x7'));var integrations=require(_0xf4d6('0x8'));module['exports']=function(_0x56e506,_0x148b40){return _0x56e506[_0xf4d6('0x9')](_0xf4d6('0xa'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};