|
|
|
@ -1,22 +1,22 @@ |
|
|
|
var extend = require('extend'); |
|
|
|
|
|
|
|
var BaseClient = require('./BaseClient.js'); |
|
|
|
var AlertApi = require('./AlertApi.js'); |
|
|
|
var DashApi = require('./DashApi.js'); |
|
|
|
var EventApi = require('./EventApi.js'); |
|
|
|
var InfrastructureApi = require('./InfrastructureApi.js'); |
|
|
|
var MetricApi = require('./MetricApi.js'); |
|
|
|
var http_client = require('./http_client.js'); |
|
|
|
var alert_api = require('./api/alert.js'); |
|
|
|
var dash_api = require('./api/dash.js'); |
|
|
|
var event_api = require('./api/event.js'); |
|
|
|
var infrastructure_api = require('./api/infrastructure.js'); |
|
|
|
var metric_api = require('./api/metric.js'); |
|
|
|
|
|
|
|
var DogHttpApi = function(options){ |
|
|
|
BaseClient.call(this, options); |
|
|
|
var dogapi = function(options){ |
|
|
|
http_client.call(this, options); |
|
|
|
}; |
|
|
|
|
|
|
|
extend(DogHttpApi.prototype, |
|
|
|
BaseClient.prototype, |
|
|
|
AlertApi.prototype, |
|
|
|
DashApi.prototype, |
|
|
|
EventApi.prototype, |
|
|
|
InfrastructureApi.prototype, |
|
|
|
MetricApi.prototype); |
|
|
|
extend(dogapi.prototype, |
|
|
|
http_client.prototype, |
|
|
|
alert_api.prototype, |
|
|
|
dash_api.prototype, |
|
|
|
event_api.prototype, |
|
|
|
infrastructure_api.prototype, |
|
|
|
metric_api.prototype); |
|
|
|
|
|
|
|
return module.exports = DogHttpApi; |
|
|
|
return module.exports = dogapi; |