d637335d1aa0f03c80b4bbea0af62a69d3999e77
[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 _0xf78a=['ZendeskAccount','int_zendesk_accounts','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intZendeskAccount.attributes','define'];(function(_0x29a73d,_0x4cc946){var _0x4bfd6e=function(_0x16590f){while(--_0x16590f){_0x29a73d['push'](_0x29a73d['shift']());}};_0x4bfd6e(++_0x4cc946);}(_0xf78a,0x199));var _0xaf78=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0xf78a[_0x122096];return _0x3d1966;};'use strict';var _=require('lodash');var util=require(_0xaf78('0x0'));var logger=require('../../config/logger')(_0xaf78('0x1'));var moment=require(_0xaf78('0x2'));var BPromise=require(_0xaf78('0x3'));var rp=require(_0xaf78('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaf78('0x5'));var config=require(_0xaf78('0x6'));var attributes=require(_0xaf78('0x7'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x3437db,_0x3c492d){return _0x3437db[_0xaf78('0x8')](_0xaf78('0x9'),attributes,{'tableName':_0xaf78('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};