Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / intZendeskConfiguration / intZendeskConfiguration.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 _0x6733=['define','ZendeskConfiguration','int_zendesk_configurations','util','../../config/logger','api','bluebird','./intZendeskConfiguration.attributes','exports'];(function(_0x1811e0,_0xefd4a2){var _0x3741eb=function(_0x19cc02){while(--_0x19cc02){_0x1811e0['push'](_0x1811e0['shift']());}};_0x3741eb(++_0xefd4a2);}(_0x6733,0x111));var _0x3673=function(_0x316f35,_0x12d044){_0x316f35=_0x316f35-0x0;var _0xa718c0=_0x6733[_0x316f35];return _0xa718c0;};'use strict';var _=require('lodash');var util=require(_0x3673('0x0'));var logger=require(_0x3673('0x1'))(_0x3673('0x2'));var moment=require('moment');var BPromise=require(_0x3673('0x3'));var rp=require('request-promise');var attributes=require(_0x3673('0x4'));module[_0x3673('0x5')]=function(_0x368b2f,_0x3fc26e){return _0x368b2f[_0x3673('0x6')](_0x3673('0x7'),attributes,{'tableName':_0x3673('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};