Built motion from commit (unavailable).|2.4.20
[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 _0xeda6=['ZendeskAccount','int_zendesk_accounts','lodash','../../config/logger','api','path','rimraf','../../config/environment','../../components/integrations/configuration','exports','define'];(function(_0x16b9ed,_0x56517a){var _0x66b1f8=function(_0x1c883){while(--_0x1c883){_0x16b9ed['push'](_0x16b9ed['shift']());}};_0x66b1f8(++_0x56517a);}(_0xeda6,0x1c5));var _0x6eda=function(_0x2bbaaa,_0x4b436e){_0x2bbaaa=_0x2bbaaa-0x0;var _0xca4a57=_0xeda6[_0x2bbaaa];return _0xca4a57;};'use strict';var _=require(_0x6eda('0x0'));var util=require('util');var logger=require(_0x6eda('0x1'))(_0x6eda('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x6eda('0x3'));var rimraf=require(_0x6eda('0x4'));var config=require(_0x6eda('0x5'));var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0x6eda('0x6'));module[_0x6eda('0x7')]=function(_0x434f87,_0x937256){return _0x434f87[_0x6eda('0x8')](_0x6eda('0x9'),attributes,{'tableName':_0x6eda('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};