42121d8bd9d072612c56cd5d52375cc47a0057fa
[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 _0xee58=['api','moment','bluebird','request-promise','path','rimraf','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','../../config/logger'];(function(_0x3cae18,_0x4c5620){var _0x54dd50=function(_0x214c16){while(--_0x214c16){_0x3cae18['push'](_0x3cae18['shift']());}};_0x54dd50(++_0x4c5620);}(_0xee58,0x1ed));var _0x8ee5=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xee58[_0x3b380d];return _0x54502b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x8ee5('0x0'))(_0x8ee5('0x1'));var moment=require(_0x8ee5('0x2'));var BPromise=require(_0x8ee5('0x3'));var rp=require(_0x8ee5('0x4'));var fs=require('fs');var path=require(_0x8ee5('0x5'));var rimraf=require(_0x8ee5('0x6'));var config=require('../../config/environment');var attributes=require(_0x8ee5('0x7'));var integrations=require(_0x8ee5('0x8'));module[_0x8ee5('0x9')]=function(_0x1421cc,_0x3ed7dc){return _0x1421cc[_0x8ee5('0xa')](_0x8ee5('0xb'),attributes,{'tableName':_0x8ee5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};