0d8448586a90c826685fd5c7af645d4ab8e86f3e
[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 _0x11f5=['path','../../components/integrations/configuration','define','ZendeskAccount','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2f6651,_0x1c19e8){var _0x4cf9ee=function(_0x1b1b7a){while(--_0x1b1b7a){_0x2f6651['push'](_0x2f6651['shift']());}};_0x4cf9ee(++_0x1c19e8);}(_0x11f5,0x1ee));var _0x511f=function(_0x32a3cc,_0x27e38a){_0x32a3cc=_0x32a3cc-0x0;var _0xc38659=_0x11f5[_0x32a3cc];return _0xc38659;};'use strict';var _=require(_0x511f('0x0'));var util=require('util');var logger=require(_0x511f('0x1'))(_0x511f('0x2'));var moment=require(_0x511f('0x3'));var BPromise=require(_0x511f('0x4'));var rp=require(_0x511f('0x5'));var fs=require('fs');var path=require(_0x511f('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0x511f('0x7'));module['exports']=function(_0x24a5f0,_0x253216){return _0x24a5f0[_0x511f('0x8')](_0x511f('0x9'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};