fsm-sdk
Version:
Node.JS sdk to interface with SAP Field Service Management APIs.
26 lines • 1.34 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ServiceManagementAPIService = void 0;
const activity_api_service_1 = require("./activity-api.service");
const composite_bulk_api_service_1 = require("./composite-bulk-api.service");
const composite_tree_api_service_1 = require("./composite-tree-api.service");
const service_call_api_service_1 = require("./service-call-api.service");
/**
* Main service for accessing SAP Field Service Management Service Management APIs.
* Provides access to activity, service call, and composite operations.
*/
class ServiceManagementAPIService {
constructor(_config, _http, _auth) {
this._config = _config;
this._http = _http;
this._auth = _auth;
this.activity = new activity_api_service_1.ActivityAPI(this._config, this._http, this._auth);
this.serviceCall = new service_call_api_service_1.ServiceCallAPI(this._config, this._http, this._auth);
this.composite = {
tree: new composite_tree_api_service_1.CompositeTreeAPI(this._config, this._http, this._auth),
bulk: new composite_bulk_api_service_1.CompositeBulkAPI(this._config, this._http, this._auth),
};
}
}
exports.ServiceManagementAPIService = ServiceManagementAPIService;
//# sourceMappingURL=service-management.service.js.map