Built motion from commit (unavailable).|2.5.11
[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 _0x0dea=['./intZendeskAccount.attributes','exports','define','int_zendesk_accounts','lodash','../../config/logger','request-promise','path','rimraf'];(function(_0x4b0830,_0x2e3b0a){var _0x1f53a7=function(_0x4b5503){while(--_0x4b5503){_0x4b0830['push'](_0x4b0830['shift']());}};_0x1f53a7(++_0x2e3b0a);}(_0x0dea,0x15a));var _0xa0de=function(_0x946e1b,_0x4f9f57){_0x946e1b=_0x946e1b-0x0;var _0x4db99b=_0x0dea[_0x946e1b];return _0x4db99b;};'use strict';var _=require(_0xa0de('0x0'));var util=require('util');var logger=require(_0xa0de('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa0de('0x2'));var fs=require('fs');var path=require(_0xa0de('0x3'));var rimraf=require(_0xa0de('0x4'));var config=require('../../config/environment');var attributes=require(_0xa0de('0x5'));var integrations=require('../../components/integrations/configuration');module[_0xa0de('0x6')]=function(_0x5d38e0,_0x445311){return _0x5d38e0[_0xa0de('0x7')]('ZendeskAccount',attributes,{'tableName':_0xa0de('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};