Built motion from commit (unavailable).|2.5.28
[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 _0x228e=['../../config/environment','./intZendeskAccount.attributes','exports','define','int_zendesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x4f74a5,_0x1fd979){var _0x5be8b2=function(_0x3bb233){while(--_0x3bb233){_0x4f74a5['push'](_0x4f74a5['shift']());}};_0x5be8b2(++_0x1fd979);}(_0x228e,0x157));var _0xe228=function(_0x1ee93e,_0x57ebbb){_0x1ee93e=_0x1ee93e-0x0;var _0x505403=_0x228e[_0x1ee93e];return _0x505403;};'use strict';var _=require(_0xe228('0x0'));var util=require(_0xe228('0x1'));var logger=require(_0xe228('0x2'))(_0xe228('0x3'));var moment=require(_0xe228('0x4'));var BPromise=require(_0xe228('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe228('0x6'));var rimraf=require(_0xe228('0x7'));var config=require(_0xe228('0x8'));var attributes=require(_0xe228('0x9'));var integrations=require('../../components/integrations/configuration');module[_0xe228('0xa')]=function(_0x4fe698,_0x1677d6){return _0x4fe698[_0xe228('0xb')]('ZendeskAccount',attributes,{'tableName':_0xe228('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};