fsm-sdk
Version:
Node.JS sdk to interface with SAP Field Service Management APIs.
31 lines • 920 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteAction = exports.UpdateAction = exports.CreateAction = void 0;
class CreateAction {
constructor(dtoName, dtoData, force = false) {
this.dtoName = dtoName;
this.dtoData = dtoData;
this.force = force;
this.method = 'POST';
}
}
exports.CreateAction = CreateAction;
class UpdateAction {
constructor(dtoName, dtoData, force = false) {
this.dtoName = dtoName;
this.dtoData = dtoData;
this.force = force;
this.method = 'PATCH';
}
}
exports.UpdateAction = UpdateAction;
class DeleteAction {
constructor(dtoName, dtoData, force = false) {
this.dtoName = dtoName;
this.dtoData = dtoData;
this.force = force;
this.method = 'DELETE';
}
}
exports.DeleteAction = DeleteAction;
//# sourceMappingURL=batch-action.model.js.map