6284e7f5172b70d5ad7d05a3eee7545c43448f78
[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 _0xfe8d=['int_zendesk_accounts','lodash','util','../../config/logger','moment','request-promise','path','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','define','ZendeskAccount'];(function(_0x24259d,_0x64a194){var _0x5a701=function(_0x204516){while(--_0x204516){_0x24259d['push'](_0x24259d['shift']());}};_0x5a701(++_0x64a194);}(_0xfe8d,0xa9));var _0xdfe8=function(_0x3a6941,_0x1bb628){_0x3a6941=_0x3a6941-0x0;var _0x4a913a=_0xfe8d[_0x3a6941];return _0x4a913a;};'use strict';var _=require(_0xdfe8('0x0'));var util=require(_0xdfe8('0x1'));var logger=require(_0xdfe8('0x2'))('api');var moment=require(_0xdfe8('0x3'));var BPromise=require('bluebird');var rp=require(_0xdfe8('0x4'));var fs=require('fs');var path=require(_0xdfe8('0x5'));var rimraf=require('rimraf');var config=require(_0xdfe8('0x6'));var attributes=require(_0xdfe8('0x7'));var integrations=require(_0xdfe8('0x8'));module['exports']=function(_0x479962,_0x501962){return _0x479962[_0xdfe8('0x9')](_0xdfe8('0xa'),attributes,{'tableName':_0xdfe8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};