a52e662e030bb10f3327d792077a454905592716
[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 _0x36fa=['./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','../../config/logger','api','moment','request-promise','path','../../config/environment'];(function(_0x3217d7,_0x15e501){var _0xbc2e05=function(_0x1a74e8){while(--_0x1a74e8){_0x3217d7['push'](_0x3217d7['shift']());}};_0xbc2e05(++_0x15e501);}(_0x36fa,0x158));var _0xa36f=function(_0xe8f61c,_0x383644){_0xe8f61c=_0xe8f61c-0x0;var _0x8ca330=_0x36fa[_0xe8f61c];return _0x8ca330;};'use strict';var _=require(_0xa36f('0x0'));var util=require('util');var logger=require(_0xa36f('0x1'))(_0xa36f('0x2'));var moment=require(_0xa36f('0x3'));var BPromise=require('bluebird');var rp=require(_0xa36f('0x4'));var fs=require('fs');var path=require(_0xa36f('0x5'));var rimraf=require('rimraf');var config=require(_0xa36f('0x6'));var attributes=require(_0xa36f('0x7'));var integrations=require(_0xa36f('0x8'));module[_0xa36f('0x9')]=function(_0x4948e7,_0x25a44e){return _0x4948e7[_0xa36f('0xa')](_0xa36f('0xb'),attributes,{'tableName':_0xa36f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};