Built motion from commit (unavailable).|2.5.17
[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 _0x71ed=['rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0xaba522,_0x2867c8){var _0x78a6e0=function(_0x2c11e1){while(--_0x2c11e1){_0xaba522['push'](_0xaba522['shift']());}};_0x78a6e0(++_0x2867c8);}(_0x71ed,0x125));var _0xd71e=function(_0x14208e,_0x493aea){_0x14208e=_0x14208e-0x0;var _0x3a092a=_0x71ed[_0x14208e];return _0x3a092a;};'use strict';var _=require('lodash');var util=require(_0xd71e('0x0'));var logger=require(_0xd71e('0x1'))(_0xd71e('0x2'));var moment=require(_0xd71e('0x3'));var BPromise=require(_0xd71e('0x4'));var rp=require(_0xd71e('0x5'));var fs=require('fs');var path=require(_0xd71e('0x6'));var rimraf=require(_0xd71e('0x7'));var config=require(_0xd71e('0x8'));var attributes=require(_0xd71e('0x9'));var integrations=require(_0xd71e('0xa'));module[_0xd71e('0xb')]=function(_0x452a8a,_0x2dd887){return _0x452a8a[_0xd71e('0xc')](_0xd71e('0xd'),attributes,{'tableName':_0xd71e('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};