Built motion from commit (unavailable).|2.5.22
[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 _0xe023=['../../config/logger','api','bluebird','path','rimraf','../../config/environment','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','util'];(function(_0x1b2422,_0x1e98d4){var _0x376573=function(_0x5db41b){while(--_0x5db41b){_0x1b2422['push'](_0x1b2422['shift']());}};_0x376573(++_0x1e98d4);}(_0xe023,0x150));var _0x3e02=function(_0x3f960c,_0x13ee7a){_0x3f960c=_0x3f960c-0x0;var _0x14766e=_0xe023[_0x3f960c];return _0x14766e;};'use strict';var _=require(_0x3e02('0x0'));var util=require(_0x3e02('0x1'));var logger=require(_0x3e02('0x2'))(_0x3e02('0x3'));var moment=require('moment');var BPromise=require(_0x3e02('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3e02('0x5'));var rimraf=require(_0x3e02('0x6'));var config=require(_0x3e02('0x7'));var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0x3e02('0x8'));module[_0x3e02('0x9')]=function(_0x395b5c,_0x36200b){return _0x395b5c[_0x3e02('0xa')](_0x3e02('0xb'),attributes,{'tableName':_0x3e02('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};