Built motion from commit (unavailable).|2.5.3
[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 _0xc36a=['define','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','../../components/integrations/configuration','exports'];(function(_0x115423,_0x4a65a5){var _0x2262f7=function(_0x4cb6d1){while(--_0x4cb6d1){_0x115423['push'](_0x115423['shift']());}};_0x2262f7(++_0x4a65a5);}(_0xc36a,0x1e7));var _0xac36=function(_0x4cbc30,_0x4a1fe8){_0x4cbc30=_0x4cbc30-0x0;var _0x569e0a=_0xc36a[_0x4cbc30];return _0x569e0a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xac36('0x0'))(_0xac36('0x1'));var moment=require(_0xac36('0x2'));var BPromise=require(_0xac36('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xac36('0x4'));var config=require(_0xac36('0x5'));var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0xac36('0x6'));module[_0xac36('0x7')]=function(_0x2361f4,_0x888ded){return _0x2361f4[_0xac36('0x8')]('ZendeskAccount',attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};