Built motion from commit 85328c08.|2.5.50
[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 _0xc6dd=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','exports','int_zendesk_accounts','lodash'];(function(_0x730c8,_0x2bf4da){var _0x4e170b=function(_0x10b418){while(--_0x10b418){_0x730c8['push'](_0x730c8['shift']());}};_0x4e170b(++_0x2bf4da);}(_0xc6dd,0x175));var _0xdc6d=function(_0x1094f2,_0x5efcfa){_0x1094f2=_0x1094f2-0x0;var _0x3a5fb7=_0xc6dd[_0x1094f2];return _0x3a5fb7;};'use strict';var _=require(_0xdc6d('0x0'));var util=require('util');var logger=require(_0xdc6d('0x1'))(_0xdc6d('0x2'));var moment=require(_0xdc6d('0x3'));var BPromise=require('bluebird');var rp=require(_0xdc6d('0x4'));var fs=require('fs');var path=require(_0xdc6d('0x5'));var rimraf=require(_0xdc6d('0x6'));var config=require(_0xdc6d('0x7'));var attributes=require(_0xdc6d('0x8'));var integrations=require('../../components/integrations/configuration');module[_0xdc6d('0x9')]=function(_0x17820f,_0x151abd){return _0x17820f['define']('ZendeskAccount',attributes,{'tableName':_0xdc6d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};