7988b377249469740ed6e126aa0ffcdf10d5c251
[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 _0x26ec=['ZendeskAccount','lodash','util','../../config/logger','api','moment','request-promise','path','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define'];(function(_0x4792c8,_0x5158a1){var _0x35edb1=function(_0x2472d3){while(--_0x2472d3){_0x4792c8['push'](_0x4792c8['shift']());}};_0x35edb1(++_0x5158a1);}(_0x26ec,0x199));var _0xc26e=function(_0x34049b,_0x5efd11){_0x34049b=_0x34049b-0x0;var _0xbf92b2=_0x26ec[_0x34049b];return _0xbf92b2;};'use strict';var _=require(_0xc26e('0x0'));var util=require(_0xc26e('0x1'));var logger=require(_0xc26e('0x2'))(_0xc26e('0x3'));var moment=require(_0xc26e('0x4'));var BPromise=require('bluebird');var rp=require(_0xc26e('0x5'));var fs=require('fs');var path=require(_0xc26e('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc26e('0x7'));var integrations=require(_0xc26e('0x8'));module[_0xc26e('0x9')]=function(_0x282412,_0x47859c){return _0x282412[_0xc26e('0xa')](_0xc26e('0xb'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};