Built motion from commit (unavailable).|2.5.6
[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 _0xe511=['exports','define','ZendeskAccount','int_zendesk_accounts','util','api','bluebird','rimraf','../../components/integrations/configuration'];(function(_0x4da346,_0x4928b8){var _0x45c3b7=function(_0x42b8b0){while(--_0x42b8b0){_0x4da346['push'](_0x4da346['shift']());}};_0x45c3b7(++_0x4928b8);}(_0xe511,0x13f));var _0x1e51=function(_0x1f9b23,_0x4fec1f){_0x1f9b23=_0x1f9b23-0x0;var _0x39a610=_0xe511[_0x1f9b23];return _0x39a610;};'use strict';var _=require('lodash');var util=require(_0x1e51('0x0'));var logger=require('../../config/logger')(_0x1e51('0x1'));var moment=require('moment');var BPromise=require(_0x1e51('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x1e51('0x3'));var config=require('../../config/environment');var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0x1e51('0x4'));module[_0x1e51('0x5')]=function(_0xb5d52,_0x43d9c0){return _0xb5d52[_0x1e51('0x6')](_0x1e51('0x7'),attributes,{'tableName':_0x1e51('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};