1adf8a70ef1382933478e3065e20641261154354
[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 _0xcf7e=['exports','define','ZendeskAccount','int_zendesk_accounts','util','../../config/logger','bluebird','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration'];(function(_0x2e9e5d,_0x8271fa){var _0x15cc51=function(_0xc1a936){while(--_0xc1a936){_0x2e9e5d['push'](_0x2e9e5d['shift']());}};_0x15cc51(++_0x8271fa);}(_0xcf7e,0x101));var _0xecf7=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0xcf7e[_0x2d7f0e];return _0x110b07;};'use strict';var _=require('lodash');var util=require(_0xecf7('0x0'));var logger=require(_0xecf7('0x1'))('api');var moment=require('moment');var BPromise=require(_0xecf7('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xecf7('0x3'));var config=require(_0xecf7('0x4'));var attributes=require(_0xecf7('0x5'));var integrations=require(_0xecf7('0x6'));module[_0xecf7('0x7')]=function(_0x1aa7b1,_0x3cb401){return _0x1aa7b1[_0xecf7('0x8')](_0xecf7('0x9'),attributes,{'tableName':_0xecf7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};