Built motion from commit ddca4d0d.|2.5.47
[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 _0xfd26=['int_zendesk_accounts','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','define','ZendeskAccount'];(function(_0xa80430,_0x3c39d6){var _0x525ff0=function(_0x1a125a){while(--_0x1a125a){_0xa80430['push'](_0xa80430['shift']());}};_0x525ff0(++_0x3c39d6);}(_0xfd26,0xf8));var _0x6fd2=function(_0x21d717,_0x57342b){_0x21d717=_0x21d717-0x0;var _0xfdde90=_0xfd26[_0x21d717];return _0xfdde90;};'use strict';var _=require(_0x6fd2('0x0'));var util=require('util');var logger=require(_0x6fd2('0x1'))('api');var moment=require(_0x6fd2('0x2'));var BPromise=require(_0x6fd2('0x3'));var rp=require(_0x6fd2('0x4'));var fs=require('fs');var path=require(_0x6fd2('0x5'));var rimraf=require(_0x6fd2('0x6'));var config=require(_0x6fd2('0x7'));var attributes=require(_0x6fd2('0x8'));var integrations=require(_0x6fd2('0x9'));module['exports']=function(_0x1cd637,_0xde5f5b){return _0x1cd637[_0x6fd2('0xa')](_0x6fd2('0xb'),attributes,{'tableName':_0x6fd2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};