77a1f219049d53abc1f42831883981541630560a
[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 _0xf90e=['./intZendeskAccount.attributes','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','util','../../config/logger','moment','rimraf','../../config/environment'];(function(_0xc53d2f,_0x5b954e){var _0x3645cf=function(_0x243c29){while(--_0x243c29){_0xc53d2f['push'](_0xc53d2f['shift']());}};_0x3645cf(++_0x5b954e);}(_0xf90e,0x102));var _0xef90=function(_0xe0558a,_0x20a1be){_0xe0558a=_0xe0558a-0x0;var _0x3ac0dd=_0xf90e[_0xe0558a];return _0x3ac0dd;};'use strict';var _=require(_0xef90('0x0'));var util=require(_0xef90('0x1'));var logger=require(_0xef90('0x2'))('api');var moment=require(_0xef90('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xef90('0x4'));var config=require(_0xef90('0x5'));var attributes=require(_0xef90('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xef90('0x7')]=function(_0x471d8d,_0x53479f){return _0x471d8d[_0xef90('0x8')](_0xef90('0x9'),attributes,{'tableName':_0xef90('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};