@loxia/mst-viewer 8.1.3-202511240252 → 8.1.3-202511241306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/generated/openapi/api/api.mjs +23 -0
- package/esm2022/generated/openapi/api/appConfigController.service.mjs +140 -0
- package/esm2022/generated/openapi/api/appConfigController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/bewegingController.service.mjs +155 -0
- package/esm2022/generated/openapi/api/bewegingController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/class0BuildProperties.service.mjs +140 -0
- package/esm2022/generated/openapi/api/class0BuildProperties.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/connectorController.service.mjs +146 -0
- package/esm2022/generated/openapi/api/connectorController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/logController.service.mjs +150 -0
- package/esm2022/generated/openapi/api/logController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/p21Controller.service.mjs +236 -0
- package/esm2022/generated/openapi/api/p21Controller.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/sbController.service.mjs +203 -0
- package/esm2022/generated/openapi/api/sbController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api.module.mjs +40 -0
- package/esm2022/generated/openapi/configuration.mjs +99 -0
- package/esm2022/generated/openapi/encoder.mjs +19 -0
- package/esm2022/generated/openapi/index.mjs +7 -0
- package/esm2022/generated/openapi/model/actieDto.mjs +13 -0
- package/esm2022/generated/openapi/model/algemeneRitDto.mjs +13 -0
- package/esm2022/generated/openapi/model/bewegingDto.mjs +2 -0
- package/esm2022/generated/openapi/model/frontendKeycloakConfig.mjs +13 -0
- package/esm2022/generated/openapi/model/frontendProperties.mjs +2 -0
- package/esm2022/generated/openapi/model/logDto.mjs +2 -0
- package/esm2022/generated/openapi/model/models.mjs +9 -0
- package/esm2022/generated/openapi/model/ritRequestDto.mjs +2 -0
- package/esm2022/generated/openapi/model/signaleringsbeeldDto.mjs +13 -0
- package/esm2022/generated/openapi/param.mjs +2 -0
- package/esm2022/generated/openapi/variables.mjs +9 -0
- package/esm2022/lib/atomic-components/message/message.component.mjs +3 -3
- package/esm2022/lib/atomic-components/progress-indicator/progress-indicator.entity.mjs +7 -4
- package/esm2022/lib/components/carousel-controls/carousel-controls.component.mjs +5 -6
- package/esm2022/lib/components/mstviewer/mstviewer.component.mjs +13 -7
- package/esm2022/lib/components/ritdelen-lijst/ritdelen-lijst.component.mjs +18 -12
- package/esm2022/lib/components/rpe/rpe.component.mjs +6 -2
- package/esm2022/lib/components/svg-visualisatie/svg-visualisatie.component.mjs +8 -7
- package/esm2022/lib/components/viewer-controls/viewer-controls.component.mjs +16 -13
- package/esm2022/lib/model/km-range.mjs +2 -2
- package/esm2022/lib/model/nieuwe-route.mjs +2 -2
- package/esm2022/lib/model/ritdeel.mjs +10 -10
- package/esm2022/lib/mst-viewer.module.mjs +6 -5
- package/esm2022/lib/resources/mstlogging.resource.mjs +12 -145
- package/esm2022/lib/resources/signaleringsbeeldinfo.resource.mjs +16 -33
- package/esm2022/lib/services/base-rest.service.mjs +3 -1
- package/esm2022/lib/services/beweging-utils.service.mjs +6 -6
- package/esm2022/lib/services/debug.service.mjs +3 -3
- package/esm2022/lib/services/editor.service.mjs +3 -1
- package/esm2022/lib/services/print-beweging.service.mjs +23 -20
- package/esm2022/lib/services/rit-lezer.service.mjs +4 -4
- package/esm2022/lib/services/signalerings-beeld-manager.service.mjs +1 -1
- package/esm2022/lib/services/viewer-control.service.mjs +10 -9
- package/esm2022/lib/state/actions/actions.mjs +2 -5
- package/esm2022/lib/state/actions/ritdelen.actions.mjs +4 -4
- package/esm2022/lib/state/effect/bepaal-ongeplande-acties.effect.mjs +8 -7
- package/esm2022/lib/state/effect/bepaal-sb-infos.effect.mjs +2 -2
- package/esm2022/lib/state/effect/beweging-invoegen.effect.mjs +1 -1
- package/esm2022/lib/state/effect/delete-ongeplande-actie.effect.mjs +1 -1
- package/esm2022/lib/state/effect/focus-effect.mjs +2 -2
- package/esm2022/lib/state/effect/laad-route-files.effect.mjs +8 -8
- package/esm2022/lib/state/effect/laad-signaleringsbeelden.effect.mjs +25 -27
- package/esm2022/lib/state/effect/ritdelen.effect.mjs +26 -25
- package/esm2022/lib/state/mst-editor-state.mjs +11 -15
- package/esm2022/lib/state/reducer/rit-delen.reducer.mjs +1 -1
- package/esm2022/lib/util/actie-helper.mjs +29 -25
- package/esm2022/lib/util/actie-popover-bepaler.mjs +2 -2
- package/esm2022/lib/util/logging-helper.mjs +37 -50
- package/esm2022/lib/util/multi-map.mjs +2 -3
- package/esm2022/lib/util/utils.mjs +5 -5
- package/esm2022/lib/util/zone-util.mjs +2 -1
- package/esm2022/src/generated/openapi/api/api.mjs +23 -0
- package/esm2022/src/generated/openapi/api/appConfigController.service.mjs +140 -0
- package/esm2022/src/generated/openapi/api/appConfigController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/bewegingController.service.mjs +155 -0
- package/esm2022/src/generated/openapi/api/bewegingController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/class0BuildProperties.service.mjs +140 -0
- package/esm2022/src/generated/openapi/api/class0BuildProperties.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/connectorController.service.mjs +146 -0
- package/esm2022/src/generated/openapi/api/connectorController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/logController.service.mjs +150 -0
- package/esm2022/src/generated/openapi/api/logController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/p21Controller.service.mjs +236 -0
- package/esm2022/src/generated/openapi/api/p21Controller.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/sbController.service.mjs +203 -0
- package/esm2022/src/generated/openapi/api/sbController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api.module.mjs +40 -0
- package/esm2022/src/generated/openapi/configuration.mjs +99 -0
- package/esm2022/src/generated/openapi/encoder.mjs +19 -0
- package/esm2022/src/generated/openapi/index.mjs +7 -0
- package/esm2022/src/generated/openapi/loxia-mst-viewer-src-generated-openapi.mjs +5 -0
- package/esm2022/src/generated/openapi/model/actieDto.mjs +13 -0
- package/esm2022/src/generated/openapi/model/algemeneRitDto.mjs +13 -0
- package/esm2022/src/generated/openapi/model/bewegingDto.mjs +2 -0
- package/esm2022/src/generated/openapi/model/frontendKeycloakConfig.mjs +13 -0
- package/esm2022/src/generated/openapi/model/frontendProperties.mjs +2 -0
- package/esm2022/src/generated/openapi/model/logDto.mjs +2 -0
- package/esm2022/src/generated/openapi/model/models.mjs +9 -0
- package/esm2022/src/generated/openapi/model/ritRequestDto.mjs +2 -0
- package/esm2022/src/generated/openapi/model/signaleringsbeeldDto.mjs +13 -0
- package/esm2022/src/generated/openapi/param.mjs +2 -0
- package/esm2022/src/generated/openapi/variables.mjs +9 -0
- package/fesm2022/loxia-mst-viewer-src-generated-openapi.mjs +1330 -0
- package/fesm2022/loxia-mst-viewer-src-generated-openapi.mjs.map +1 -0
- package/fesm2022/loxia-mst-viewer.mjs +1868 -676
- package/fesm2022/loxia-mst-viewer.mjs.map +1 -1
- package/generated/openapi/api/api.d.ts +22 -0
- package/generated/openapi/api/appConfigController.service.d.ts +38 -0
- package/generated/openapi/api/appConfigController.serviceInterface.d.ts +24 -0
- package/generated/openapi/api/bewegingController.service.d.ts +40 -0
- package/generated/openapi/api/bewegingController.serviceInterface.d.ts +27 -0
- package/generated/openapi/api/class0BuildProperties.service.d.ts +36 -0
- package/generated/openapi/api/class0BuildProperties.serviceInterface.d.ts +23 -0
- package/generated/openapi/api/connectorController.service.d.ts +38 -0
- package/generated/openapi/api/connectorController.serviceInterface.d.ts +25 -0
- package/generated/openapi/api/logController.service.d.ts +38 -0
- package/generated/openapi/api/logController.serviceInterface.d.ts +25 -0
- package/generated/openapi/api/p21Controller.service.d.ts +62 -0
- package/generated/openapi/api/p21Controller.serviceInterface.d.ts +30 -0
- package/generated/openapi/api/sbController.service.d.ts +60 -0
- package/generated/openapi/api/sbController.serviceInterface.d.ts +32 -0
- package/generated/openapi/api.module.d.ts +11 -0
- package/generated/openapi/configuration.d.ts +104 -0
- package/generated/openapi/encoder.d.ts +11 -0
- package/generated/openapi/index.d.ts +6 -0
- package/generated/openapi/model/actieDto.d.ts +35 -0
- package/generated/openapi/model/algemeneRitDto.d.ts +20 -0
- package/generated/openapi/model/bewegingDto.d.ts +37 -0
- package/generated/openapi/model/frontendKeycloakConfig.d.ts +16 -0
- package/generated/openapi/model/frontendProperties.d.ts +15 -0
- package/generated/openapi/model/logDto.d.ts +22 -0
- package/generated/openapi/model/models.d.ts +8 -0
- package/generated/openapi/model/ritRequestDto.d.ts +17 -0
- package/generated/openapi/model/signaleringsbeeldDto.d.ts +16 -0
- package/generated/openapi/param.d.ts +37 -0
- package/generated/openapi/variables.d.ts +8 -0
- package/lib/atomic-components/message/message.component.d.ts +2 -2
- package/lib/atomic-components/progress-indicator/progress-indicator.entity.d.ts +1 -1
- package/lib/components/carousel-controls/carousel-controls.component.d.ts +1 -3
- package/lib/components/mstviewer/mstviewer.component.d.ts +2 -2
- package/lib/components/ritdelen-lijst/ritdelen-lijst.component.d.ts +2 -2
- package/lib/components/rpe/rpe.component.d.ts +1 -1
- package/lib/components/svg-visualisatie/svg-visualisatie.component.d.ts +1 -1
- package/lib/components/viewer-controls/viewer-controls.component.d.ts +3 -4
- package/lib/model/km-range.d.ts +1 -1
- package/lib/model/nieuwe-route.d.ts +2 -2
- package/lib/model/ritdeel.d.ts +11 -10
- package/lib/resources/mstlogging.resource.d.ts +6 -95
- package/lib/resources/signaleringsbeeldinfo.resource.d.ts +8 -23
- package/lib/services/editor.service.d.ts +2 -2
- package/lib/services/print-beweging.service.d.ts +4 -6
- package/lib/services/rit-lezer.service.d.ts +1 -1
- package/lib/services/signalerings-beeld-manager.service.d.ts +2 -2
- package/lib/services/viewer-control.service.d.ts +0 -2
- package/lib/state/actions/actions.d.ts +17 -24
- package/lib/state/actions/ritdelen.actions.d.ts +3 -7
- package/lib/state/effect/bepaal-ongeplande-acties.effect.d.ts +2 -1
- package/lib/state/effect/delete-ongeplande-actie.effect.d.ts +1 -1
- package/lib/state/effect/laad-route-files.effect.d.ts +4 -5
- package/lib/state/effect/laad-signaleringsbeelden.effect.d.ts +13 -13
- package/lib/state/effect/ritdelen.effect.d.ts +7 -6
- package/lib/state/mst-editor-state.d.ts +27 -91
- package/lib/util/actie-helper.d.ts +4 -4
- package/lib/util/logging-helper.d.ts +5 -8
- package/lib/util/utils.d.ts +0 -1
- package/package.json +7 -1
- package/src/generated/openapi/README.md +226 -0
- package/src/generated/openapi/api/api.d.ts +22 -0
- package/src/generated/openapi/api/appConfigController.service.d.ts +38 -0
- package/src/generated/openapi/api/appConfigController.serviceInterface.d.ts +24 -0
- package/src/generated/openapi/api/bewegingController.service.d.ts +40 -0
- package/src/generated/openapi/api/bewegingController.serviceInterface.d.ts +27 -0
- package/src/generated/openapi/api/class0BuildProperties.service.d.ts +36 -0
- package/src/generated/openapi/api/class0BuildProperties.serviceInterface.d.ts +23 -0
- package/src/generated/openapi/api/connectorController.service.d.ts +38 -0
- package/src/generated/openapi/api/connectorController.serviceInterface.d.ts +25 -0
- package/src/generated/openapi/api/logController.service.d.ts +38 -0
- package/src/generated/openapi/api/logController.serviceInterface.d.ts +25 -0
- package/src/generated/openapi/api/p21Controller.service.d.ts +62 -0
- package/src/generated/openapi/api/p21Controller.serviceInterface.d.ts +30 -0
- package/src/generated/openapi/api/sbController.service.d.ts +60 -0
- package/src/generated/openapi/api/sbController.serviceInterface.d.ts +32 -0
- package/src/generated/openapi/api.module.d.ts +11 -0
- package/src/generated/openapi/configuration.d.ts +104 -0
- package/src/generated/openapi/encoder.d.ts +11 -0
- package/src/generated/openapi/index.d.ts +6 -0
- package/src/generated/openapi/model/actieDto.d.ts +35 -0
- package/src/generated/openapi/model/algemeneRitDto.d.ts +20 -0
- package/src/generated/openapi/model/bewegingDto.d.ts +37 -0
- package/src/generated/openapi/model/frontendKeycloakConfig.d.ts +16 -0
- package/src/generated/openapi/model/frontendProperties.d.ts +15 -0
- package/src/generated/openapi/model/logDto.d.ts +22 -0
- package/src/generated/openapi/model/models.d.ts +8 -0
- package/src/generated/openapi/model/ritRequestDto.d.ts +17 -0
- package/src/generated/openapi/model/signaleringsbeeldDto.d.ts +16 -0
- package/src/generated/openapi/param.d.ts +37 -0
- package/src/generated/openapi/variables.d.ts +8 -0
|
@@ -0,0 +1,1330 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Custom HttpParameterCodec
|
|
8
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
9
|
+
*/
|
|
10
|
+
class CustomHttpParameterCodec {
|
|
11
|
+
encodeKey(k) {
|
|
12
|
+
return encodeURIComponent(k);
|
|
13
|
+
}
|
|
14
|
+
encodeValue(v) {
|
|
15
|
+
return encodeURIComponent(v);
|
|
16
|
+
}
|
|
17
|
+
decodeKey(k) {
|
|
18
|
+
return decodeURIComponent(k);
|
|
19
|
+
}
|
|
20
|
+
decodeValue(v) {
|
|
21
|
+
return decodeURIComponent(v);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
26
|
+
const COLLECTION_FORMATS = {
|
|
27
|
+
'csv': ',',
|
|
28
|
+
'tsv': ' ',
|
|
29
|
+
'ssv': ' ',
|
|
30
|
+
'pipes': '|'
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
class Configuration {
|
|
34
|
+
constructor(configurationParameters = {}) {
|
|
35
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
36
|
+
this.username = configurationParameters.username;
|
|
37
|
+
this.password = configurationParameters.password;
|
|
38
|
+
this.accessToken = configurationParameters.accessToken;
|
|
39
|
+
this.basePath = configurationParameters.basePath;
|
|
40
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
41
|
+
this.encoder = configurationParameters.encoder;
|
|
42
|
+
if (configurationParameters.encodeParam) {
|
|
43
|
+
this.encodeParam = configurationParameters.encodeParam;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.encodeParam = param => this.defaultEncodeParam(param);
|
|
47
|
+
}
|
|
48
|
+
if (configurationParameters.credentials) {
|
|
49
|
+
this.credentials = configurationParameters.credentials;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
this.credentials = {};
|
|
53
|
+
}
|
|
54
|
+
// init default keycloak_auth credential
|
|
55
|
+
if (!this.credentials['keycloak_auth']) {
|
|
56
|
+
this.credentials['keycloak_auth'] = () => {
|
|
57
|
+
return typeof this.accessToken === 'function'
|
|
58
|
+
? this.accessToken()
|
|
59
|
+
: this.accessToken;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Select the correct content-type to use for a request.
|
|
65
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
66
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
67
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
68
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
69
|
+
*/
|
|
70
|
+
selectHeaderContentType(contentTypes) {
|
|
71
|
+
if (contentTypes.length === 0) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
const type = contentTypes.find((x) => this.isJsonMime(x));
|
|
75
|
+
if (type === undefined) {
|
|
76
|
+
return contentTypes[0];
|
|
77
|
+
}
|
|
78
|
+
return type;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Select the correct accept content-type to use for a request.
|
|
82
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
83
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
84
|
+
* @param accepts - the array of content types that are available for selection.
|
|
85
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
86
|
+
*/
|
|
87
|
+
selectHeaderAccept(accepts) {
|
|
88
|
+
if (accepts.length === 0) {
|
|
89
|
+
return undefined;
|
|
90
|
+
}
|
|
91
|
+
const type = accepts.find((x) => this.isJsonMime(x));
|
|
92
|
+
if (type === undefined) {
|
|
93
|
+
return accepts[0];
|
|
94
|
+
}
|
|
95
|
+
return type;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Check if the given MIME is a JSON MIME.
|
|
99
|
+
* JSON MIME examples:
|
|
100
|
+
* application/json
|
|
101
|
+
* application/json; charset=UTF8
|
|
102
|
+
* APPLICATION/JSON
|
|
103
|
+
* application/vnd.company+json
|
|
104
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
105
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
106
|
+
*/
|
|
107
|
+
isJsonMime(mime) {
|
|
108
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
109
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
110
|
+
}
|
|
111
|
+
lookupCredential(key) {
|
|
112
|
+
const value = this.credentials[key];
|
|
113
|
+
return typeof value === 'function'
|
|
114
|
+
? value()
|
|
115
|
+
: value;
|
|
116
|
+
}
|
|
117
|
+
defaultEncodeParam(param) {
|
|
118
|
+
// This implementation exists as fallback for missing configuration
|
|
119
|
+
// and for backwards compatibility to older typescript-angular generator versions.
|
|
120
|
+
// It only works for the 'simple' parameter style.
|
|
121
|
+
// Date-handling only works for the 'date-time' format.
|
|
122
|
+
// All other styles and Date-formats are probably handled incorrectly.
|
|
123
|
+
//
|
|
124
|
+
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
125
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
126
|
+
? param.value.toISOString()
|
|
127
|
+
: param.value;
|
|
128
|
+
return encodeURIComponent(String(value));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* MST
|
|
134
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
135
|
+
*
|
|
136
|
+
* The version of the OpenAPI document: 1
|
|
137
|
+
*
|
|
138
|
+
*
|
|
139
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
140
|
+
* https://openapi-generator.tech
|
|
141
|
+
* Do not edit the class manually.
|
|
142
|
+
*/
|
|
143
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
144
|
+
class AppConfigControllerService {
|
|
145
|
+
constructor(httpClient, basePath, configuration) {
|
|
146
|
+
this.httpClient = httpClient;
|
|
147
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
148
|
+
this.defaultHeaders = new HttpHeaders();
|
|
149
|
+
this.configuration = new Configuration();
|
|
150
|
+
if (configuration) {
|
|
151
|
+
this.configuration = configuration;
|
|
152
|
+
}
|
|
153
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
154
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
155
|
+
basePath = basePath[0];
|
|
156
|
+
}
|
|
157
|
+
if (typeof basePath !== 'string') {
|
|
158
|
+
basePath = this.basePath;
|
|
159
|
+
}
|
|
160
|
+
this.configuration.basePath = basePath;
|
|
161
|
+
}
|
|
162
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
163
|
+
}
|
|
164
|
+
// @ts-ignore
|
|
165
|
+
addToHttpParams(httpParams, value, key) {
|
|
166
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
167
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
171
|
+
}
|
|
172
|
+
return httpParams;
|
|
173
|
+
}
|
|
174
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
175
|
+
if (value == null) {
|
|
176
|
+
return httpParams;
|
|
177
|
+
}
|
|
178
|
+
if (typeof value === "object") {
|
|
179
|
+
if (Array.isArray(value)) {
|
|
180
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
181
|
+
}
|
|
182
|
+
else if (value instanceof Date) {
|
|
183
|
+
if (key != null) {
|
|
184
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
throw Error("key may not be null if value is Date");
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else if (key != null) {
|
|
195
|
+
httpParams = httpParams.append(key, value);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
throw Error("key may not be null if value is not object or array");
|
|
199
|
+
}
|
|
200
|
+
return httpParams;
|
|
201
|
+
}
|
|
202
|
+
getAppConfig(observe = 'body', reportProgress = false, options) {
|
|
203
|
+
let localVarHeaders = this.defaultHeaders;
|
|
204
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
205
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
206
|
+
// to determine the Accept header
|
|
207
|
+
const httpHeaderAccepts = [
|
|
208
|
+
'*/*'
|
|
209
|
+
];
|
|
210
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
211
|
+
}
|
|
212
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
213
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
214
|
+
}
|
|
215
|
+
let localVarHttpContext = options && options.context;
|
|
216
|
+
if (localVarHttpContext === undefined) {
|
|
217
|
+
localVarHttpContext = new HttpContext();
|
|
218
|
+
}
|
|
219
|
+
let localVarTransferCache = options && options.transferCache;
|
|
220
|
+
if (localVarTransferCache === undefined) {
|
|
221
|
+
localVarTransferCache = true;
|
|
222
|
+
}
|
|
223
|
+
let responseType_ = 'json';
|
|
224
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
225
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
226
|
+
responseType_ = 'text';
|
|
227
|
+
}
|
|
228
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
229
|
+
responseType_ = 'json';
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
responseType_ = 'blob';
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
let localVarPath = `/rest/appconfig`;
|
|
236
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
237
|
+
context: localVarHttpContext,
|
|
238
|
+
responseType: responseType_,
|
|
239
|
+
withCredentials: this.configuration.withCredentials,
|
|
240
|
+
headers: localVarHeaders,
|
|
241
|
+
observe: observe,
|
|
242
|
+
transferCache: localVarTransferCache,
|
|
243
|
+
reportProgress: reportProgress
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AppConfigControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
247
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AppConfigControllerService, providedIn: 'root' }); }
|
|
248
|
+
}
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AppConfigControllerService, decorators: [{
|
|
250
|
+
type: Injectable,
|
|
251
|
+
args: [{
|
|
252
|
+
providedIn: 'root'
|
|
253
|
+
}]
|
|
254
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
255
|
+
type: Optional
|
|
256
|
+
}, {
|
|
257
|
+
type: Inject,
|
|
258
|
+
args: [BASE_PATH]
|
|
259
|
+
}] }, { type: Configuration, decorators: [{
|
|
260
|
+
type: Optional
|
|
261
|
+
}] }] });
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* MST
|
|
265
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
266
|
+
*
|
|
267
|
+
* The version of the OpenAPI document: 1
|
|
268
|
+
*
|
|
269
|
+
*
|
|
270
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
271
|
+
* https://openapi-generator.tech
|
|
272
|
+
* Do not edit the class manually.
|
|
273
|
+
*/
|
|
274
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
275
|
+
class BewegingControllerService {
|
|
276
|
+
constructor(httpClient, basePath, configuration) {
|
|
277
|
+
this.httpClient = httpClient;
|
|
278
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
279
|
+
this.defaultHeaders = new HttpHeaders();
|
|
280
|
+
this.configuration = new Configuration();
|
|
281
|
+
if (configuration) {
|
|
282
|
+
this.configuration = configuration;
|
|
283
|
+
}
|
|
284
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
285
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
286
|
+
basePath = basePath[0];
|
|
287
|
+
}
|
|
288
|
+
if (typeof basePath !== 'string') {
|
|
289
|
+
basePath = this.basePath;
|
|
290
|
+
}
|
|
291
|
+
this.configuration.basePath = basePath;
|
|
292
|
+
}
|
|
293
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
294
|
+
}
|
|
295
|
+
// @ts-ignore
|
|
296
|
+
addToHttpParams(httpParams, value, key) {
|
|
297
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
298
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
302
|
+
}
|
|
303
|
+
return httpParams;
|
|
304
|
+
}
|
|
305
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
306
|
+
if (value == null) {
|
|
307
|
+
return httpParams;
|
|
308
|
+
}
|
|
309
|
+
if (typeof value === "object") {
|
|
310
|
+
if (Array.isArray(value)) {
|
|
311
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
312
|
+
}
|
|
313
|
+
else if (value instanceof Date) {
|
|
314
|
+
if (key != null) {
|
|
315
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
316
|
+
}
|
|
317
|
+
else {
|
|
318
|
+
throw Error("key may not be null if value is Date");
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
else if (key != null) {
|
|
326
|
+
httpParams = httpParams.append(key, value);
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
throw Error("key may not be null if value is not object or array");
|
|
330
|
+
}
|
|
331
|
+
return httpParams;
|
|
332
|
+
}
|
|
333
|
+
verrijkBewegingenMetOngeplandeActies(iaVersie, ritRequestDto, observe = 'body', reportProgress = false, options) {
|
|
334
|
+
if (iaVersie === null || iaVersie === undefined) {
|
|
335
|
+
throw new Error('Required parameter iaVersie was null or undefined when calling verrijkBewegingenMetOngeplandeActies.');
|
|
336
|
+
}
|
|
337
|
+
if (ritRequestDto === null || ritRequestDto === undefined) {
|
|
338
|
+
throw new Error('Required parameter ritRequestDto was null or undefined when calling verrijkBewegingenMetOngeplandeActies.');
|
|
339
|
+
}
|
|
340
|
+
let localVarHeaders = this.defaultHeaders;
|
|
341
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
342
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
343
|
+
// to determine the Accept header
|
|
344
|
+
const httpHeaderAccepts = [
|
|
345
|
+
'*/*'
|
|
346
|
+
];
|
|
347
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
348
|
+
}
|
|
349
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
350
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
351
|
+
}
|
|
352
|
+
let localVarHttpContext = options && options.context;
|
|
353
|
+
if (localVarHttpContext === undefined) {
|
|
354
|
+
localVarHttpContext = new HttpContext();
|
|
355
|
+
}
|
|
356
|
+
let localVarTransferCache = options && options.transferCache;
|
|
357
|
+
if (localVarTransferCache === undefined) {
|
|
358
|
+
localVarTransferCache = true;
|
|
359
|
+
}
|
|
360
|
+
// to determine the Content-Type header
|
|
361
|
+
const consumes = [
|
|
362
|
+
'application/json'
|
|
363
|
+
];
|
|
364
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
365
|
+
if (httpContentTypeSelected !== undefined) {
|
|
366
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
367
|
+
}
|
|
368
|
+
let responseType_ = 'json';
|
|
369
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
370
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
371
|
+
responseType_ = 'text';
|
|
372
|
+
}
|
|
373
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
374
|
+
responseType_ = 'json';
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
responseType_ = 'blob';
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
let localVarPath = `/rest/beweging/${this.configuration.encodeParam({ name: "iaVersie", value: iaVersie, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
381
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
382
|
+
context: localVarHttpContext,
|
|
383
|
+
body: ritRequestDto,
|
|
384
|
+
responseType: responseType_,
|
|
385
|
+
withCredentials: this.configuration.withCredentials,
|
|
386
|
+
headers: localVarHeaders,
|
|
387
|
+
observe: observe,
|
|
388
|
+
transferCache: localVarTransferCache,
|
|
389
|
+
reportProgress: reportProgress
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BewegingControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
393
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BewegingControllerService, providedIn: 'root' }); }
|
|
394
|
+
}
|
|
395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BewegingControllerService, decorators: [{
|
|
396
|
+
type: Injectable,
|
|
397
|
+
args: [{
|
|
398
|
+
providedIn: 'root'
|
|
399
|
+
}]
|
|
400
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
401
|
+
type: Optional
|
|
402
|
+
}, {
|
|
403
|
+
type: Inject,
|
|
404
|
+
args: [BASE_PATH]
|
|
405
|
+
}] }, { type: Configuration, decorators: [{
|
|
406
|
+
type: Optional
|
|
407
|
+
}] }] });
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* MST
|
|
411
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
412
|
+
*
|
|
413
|
+
* The version of the OpenAPI document: 1
|
|
414
|
+
*
|
|
415
|
+
*
|
|
416
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
417
|
+
* https://openapi-generator.tech
|
|
418
|
+
* Do not edit the class manually.
|
|
419
|
+
*/
|
|
420
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
421
|
+
class Class0BuildPropertiesService {
|
|
422
|
+
constructor(httpClient, basePath, configuration) {
|
|
423
|
+
this.httpClient = httpClient;
|
|
424
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
425
|
+
this.defaultHeaders = new HttpHeaders();
|
|
426
|
+
this.configuration = new Configuration();
|
|
427
|
+
if (configuration) {
|
|
428
|
+
this.configuration = configuration;
|
|
429
|
+
}
|
|
430
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
431
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
432
|
+
basePath = basePath[0];
|
|
433
|
+
}
|
|
434
|
+
if (typeof basePath !== 'string') {
|
|
435
|
+
basePath = this.basePath;
|
|
436
|
+
}
|
|
437
|
+
this.configuration.basePath = basePath;
|
|
438
|
+
}
|
|
439
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
440
|
+
}
|
|
441
|
+
// @ts-ignore
|
|
442
|
+
addToHttpParams(httpParams, value, key) {
|
|
443
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
444
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
448
|
+
}
|
|
449
|
+
return httpParams;
|
|
450
|
+
}
|
|
451
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
452
|
+
if (value == null) {
|
|
453
|
+
return httpParams;
|
|
454
|
+
}
|
|
455
|
+
if (typeof value === "object") {
|
|
456
|
+
if (Array.isArray(value)) {
|
|
457
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
458
|
+
}
|
|
459
|
+
else if (value instanceof Date) {
|
|
460
|
+
if (key != null) {
|
|
461
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
462
|
+
}
|
|
463
|
+
else {
|
|
464
|
+
throw Error("key may not be null if value is Date");
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
else {
|
|
468
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
else if (key != null) {
|
|
472
|
+
httpParams = httpParams.append(key, value);
|
|
473
|
+
}
|
|
474
|
+
else {
|
|
475
|
+
throw Error("key may not be null if value is not object or array");
|
|
476
|
+
}
|
|
477
|
+
return httpParams;
|
|
478
|
+
}
|
|
479
|
+
getBuildProperties(observe = 'body', reportProgress = false, options) {
|
|
480
|
+
let localVarHeaders = this.defaultHeaders;
|
|
481
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
482
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
483
|
+
// to determine the Accept header
|
|
484
|
+
const httpHeaderAccepts = [
|
|
485
|
+
'application/json'
|
|
486
|
+
];
|
|
487
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
488
|
+
}
|
|
489
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
490
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
491
|
+
}
|
|
492
|
+
let localVarHttpContext = options && options.context;
|
|
493
|
+
if (localVarHttpContext === undefined) {
|
|
494
|
+
localVarHttpContext = new HttpContext();
|
|
495
|
+
}
|
|
496
|
+
let localVarTransferCache = options && options.transferCache;
|
|
497
|
+
if (localVarTransferCache === undefined) {
|
|
498
|
+
localVarTransferCache = true;
|
|
499
|
+
}
|
|
500
|
+
let responseType_ = 'json';
|
|
501
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
502
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
503
|
+
responseType_ = 'text';
|
|
504
|
+
}
|
|
505
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
506
|
+
responseType_ = 'json';
|
|
507
|
+
}
|
|
508
|
+
else {
|
|
509
|
+
responseType_ = 'blob';
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
let localVarPath = `/build.properties`;
|
|
513
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
514
|
+
context: localVarHttpContext,
|
|
515
|
+
responseType: responseType_,
|
|
516
|
+
withCredentials: this.configuration.withCredentials,
|
|
517
|
+
headers: localVarHeaders,
|
|
518
|
+
observe: observe,
|
|
519
|
+
transferCache: localVarTransferCache,
|
|
520
|
+
reportProgress: reportProgress
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: Class0BuildPropertiesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: Class0BuildPropertiesService, providedIn: 'root' }); }
|
|
525
|
+
}
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: Class0BuildPropertiesService, decorators: [{
|
|
527
|
+
type: Injectable,
|
|
528
|
+
args: [{
|
|
529
|
+
providedIn: 'root'
|
|
530
|
+
}]
|
|
531
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
532
|
+
type: Optional
|
|
533
|
+
}, {
|
|
534
|
+
type: Inject,
|
|
535
|
+
args: [BASE_PATH]
|
|
536
|
+
}] }, { type: Configuration, decorators: [{
|
|
537
|
+
type: Optional
|
|
538
|
+
}] }] });
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* MST
|
|
542
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
543
|
+
*
|
|
544
|
+
* The version of the OpenAPI document: 1
|
|
545
|
+
*
|
|
546
|
+
*
|
|
547
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
548
|
+
* https://openapi-generator.tech
|
|
549
|
+
* Do not edit the class manually.
|
|
550
|
+
*/
|
|
551
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
552
|
+
class ConnectorControllerService {
|
|
553
|
+
constructor(httpClient, basePath, configuration) {
|
|
554
|
+
this.httpClient = httpClient;
|
|
555
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
556
|
+
this.defaultHeaders = new HttpHeaders();
|
|
557
|
+
this.configuration = new Configuration();
|
|
558
|
+
if (configuration) {
|
|
559
|
+
this.configuration = configuration;
|
|
560
|
+
}
|
|
561
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
562
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
563
|
+
basePath = basePath[0];
|
|
564
|
+
}
|
|
565
|
+
if (typeof basePath !== 'string') {
|
|
566
|
+
basePath = this.basePath;
|
|
567
|
+
}
|
|
568
|
+
this.configuration.basePath = basePath;
|
|
569
|
+
}
|
|
570
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
571
|
+
}
|
|
572
|
+
// @ts-ignore
|
|
573
|
+
addToHttpParams(httpParams, value, key) {
|
|
574
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
575
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
576
|
+
}
|
|
577
|
+
else {
|
|
578
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
579
|
+
}
|
|
580
|
+
return httpParams;
|
|
581
|
+
}
|
|
582
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
583
|
+
if (value == null) {
|
|
584
|
+
return httpParams;
|
|
585
|
+
}
|
|
586
|
+
if (typeof value === "object") {
|
|
587
|
+
if (Array.isArray(value)) {
|
|
588
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
589
|
+
}
|
|
590
|
+
else if (value instanceof Date) {
|
|
591
|
+
if (key != null) {
|
|
592
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
593
|
+
}
|
|
594
|
+
else {
|
|
595
|
+
throw Error("key may not be null if value is Date");
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
else {
|
|
599
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
else if (key != null) {
|
|
603
|
+
httpParams = httpParams.append(key, value);
|
|
604
|
+
}
|
|
605
|
+
else {
|
|
606
|
+
throw Error("key may not be null if value is not object or array");
|
|
607
|
+
}
|
|
608
|
+
return httpParams;
|
|
609
|
+
}
|
|
610
|
+
getOtherConnector(iaVersie, connectorPuic, observe = 'body', reportProgress = false, options) {
|
|
611
|
+
if (iaVersie === null || iaVersie === undefined) {
|
|
612
|
+
throw new Error('Required parameter iaVersie was null or undefined when calling getOtherConnector.');
|
|
613
|
+
}
|
|
614
|
+
if (connectorPuic === null || connectorPuic === undefined) {
|
|
615
|
+
throw new Error('Required parameter connectorPuic was null or undefined when calling getOtherConnector.');
|
|
616
|
+
}
|
|
617
|
+
let localVarHeaders = this.defaultHeaders;
|
|
618
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
619
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
620
|
+
// to determine the Accept header
|
|
621
|
+
const httpHeaderAccepts = [
|
|
622
|
+
'*/*'
|
|
623
|
+
];
|
|
624
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
625
|
+
}
|
|
626
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
627
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
628
|
+
}
|
|
629
|
+
let localVarHttpContext = options && options.context;
|
|
630
|
+
if (localVarHttpContext === undefined) {
|
|
631
|
+
localVarHttpContext = new HttpContext();
|
|
632
|
+
}
|
|
633
|
+
let localVarTransferCache = options && options.transferCache;
|
|
634
|
+
if (localVarTransferCache === undefined) {
|
|
635
|
+
localVarTransferCache = true;
|
|
636
|
+
}
|
|
637
|
+
let responseType_ = 'json';
|
|
638
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
639
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
640
|
+
responseType_ = 'text';
|
|
641
|
+
}
|
|
642
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
643
|
+
responseType_ = 'json';
|
|
644
|
+
}
|
|
645
|
+
else {
|
|
646
|
+
responseType_ = 'blob';
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
let localVarPath = `/rest/connector/${this.configuration.encodeParam({ name: "iaVersie", value: iaVersie, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "connectorPuic", value: connectorPuic, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
650
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
651
|
+
context: localVarHttpContext,
|
|
652
|
+
responseType: responseType_,
|
|
653
|
+
withCredentials: this.configuration.withCredentials,
|
|
654
|
+
headers: localVarHeaders,
|
|
655
|
+
observe: observe,
|
|
656
|
+
transferCache: localVarTransferCache,
|
|
657
|
+
reportProgress: reportProgress
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConnectorControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
661
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConnectorControllerService, providedIn: 'root' }); }
|
|
662
|
+
}
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConnectorControllerService, decorators: [{
|
|
664
|
+
type: Injectable,
|
|
665
|
+
args: [{
|
|
666
|
+
providedIn: 'root'
|
|
667
|
+
}]
|
|
668
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
669
|
+
type: Optional
|
|
670
|
+
}, {
|
|
671
|
+
type: Inject,
|
|
672
|
+
args: [BASE_PATH]
|
|
673
|
+
}] }, { type: Configuration, decorators: [{
|
|
674
|
+
type: Optional
|
|
675
|
+
}] }] });
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* MST
|
|
679
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
680
|
+
*
|
|
681
|
+
* The version of the OpenAPI document: 1
|
|
682
|
+
*
|
|
683
|
+
*
|
|
684
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
685
|
+
* https://openapi-generator.tech
|
|
686
|
+
* Do not edit the class manually.
|
|
687
|
+
*/
|
|
688
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
689
|
+
class LogControllerService {
|
|
690
|
+
constructor(httpClient, basePath, configuration) {
|
|
691
|
+
this.httpClient = httpClient;
|
|
692
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
693
|
+
this.defaultHeaders = new HttpHeaders();
|
|
694
|
+
this.configuration = new Configuration();
|
|
695
|
+
if (configuration) {
|
|
696
|
+
this.configuration = configuration;
|
|
697
|
+
}
|
|
698
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
699
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
700
|
+
basePath = basePath[0];
|
|
701
|
+
}
|
|
702
|
+
if (typeof basePath !== 'string') {
|
|
703
|
+
basePath = this.basePath;
|
|
704
|
+
}
|
|
705
|
+
this.configuration.basePath = basePath;
|
|
706
|
+
}
|
|
707
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
708
|
+
}
|
|
709
|
+
// @ts-ignore
|
|
710
|
+
addToHttpParams(httpParams, value, key) {
|
|
711
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
712
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
713
|
+
}
|
|
714
|
+
else {
|
|
715
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
716
|
+
}
|
|
717
|
+
return httpParams;
|
|
718
|
+
}
|
|
719
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
720
|
+
if (value == null) {
|
|
721
|
+
return httpParams;
|
|
722
|
+
}
|
|
723
|
+
if (typeof value === "object") {
|
|
724
|
+
if (Array.isArray(value)) {
|
|
725
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
726
|
+
}
|
|
727
|
+
else if (value instanceof Date) {
|
|
728
|
+
if (key != null) {
|
|
729
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
730
|
+
}
|
|
731
|
+
else {
|
|
732
|
+
throw Error("key may not be null if value is Date");
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
else {
|
|
736
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
else if (key != null) {
|
|
740
|
+
httpParams = httpParams.append(key, value);
|
|
741
|
+
}
|
|
742
|
+
else {
|
|
743
|
+
throw Error("key may not be null if value is not object or array");
|
|
744
|
+
}
|
|
745
|
+
return httpParams;
|
|
746
|
+
}
|
|
747
|
+
log(logDto, observe = 'body', reportProgress = false, options) {
|
|
748
|
+
if (logDto === null || logDto === undefined) {
|
|
749
|
+
throw new Error('Required parameter logDto was null or undefined when calling log.');
|
|
750
|
+
}
|
|
751
|
+
let localVarHeaders = this.defaultHeaders;
|
|
752
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
753
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
754
|
+
// to determine the Accept header
|
|
755
|
+
const httpHeaderAccepts = [];
|
|
756
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
757
|
+
}
|
|
758
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
759
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
760
|
+
}
|
|
761
|
+
let localVarHttpContext = options && options.context;
|
|
762
|
+
if (localVarHttpContext === undefined) {
|
|
763
|
+
localVarHttpContext = new HttpContext();
|
|
764
|
+
}
|
|
765
|
+
let localVarTransferCache = options && options.transferCache;
|
|
766
|
+
if (localVarTransferCache === undefined) {
|
|
767
|
+
localVarTransferCache = true;
|
|
768
|
+
}
|
|
769
|
+
// to determine the Content-Type header
|
|
770
|
+
const consumes = [
|
|
771
|
+
'application/json'
|
|
772
|
+
];
|
|
773
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
774
|
+
if (httpContentTypeSelected !== undefined) {
|
|
775
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
776
|
+
}
|
|
777
|
+
let responseType_ = 'json';
|
|
778
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
779
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
780
|
+
responseType_ = 'text';
|
|
781
|
+
}
|
|
782
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
783
|
+
responseType_ = 'json';
|
|
784
|
+
}
|
|
785
|
+
else {
|
|
786
|
+
responseType_ = 'blob';
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
let localVarPath = `/rest/logging/`;
|
|
790
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
791
|
+
context: localVarHttpContext,
|
|
792
|
+
body: logDto,
|
|
793
|
+
responseType: responseType_,
|
|
794
|
+
withCredentials: this.configuration.withCredentials,
|
|
795
|
+
headers: localVarHeaders,
|
|
796
|
+
observe: observe,
|
|
797
|
+
transferCache: localVarTransferCache,
|
|
798
|
+
reportProgress: reportProgress
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
802
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogControllerService, providedIn: 'root' }); }
|
|
803
|
+
}
|
|
804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogControllerService, decorators: [{
|
|
805
|
+
type: Injectable,
|
|
806
|
+
args: [{
|
|
807
|
+
providedIn: 'root'
|
|
808
|
+
}]
|
|
809
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
810
|
+
type: Optional
|
|
811
|
+
}, {
|
|
812
|
+
type: Inject,
|
|
813
|
+
args: [BASE_PATH]
|
|
814
|
+
}] }, { type: Configuration, decorators: [{
|
|
815
|
+
type: Optional
|
|
816
|
+
}] }] });
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* MST
|
|
820
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
821
|
+
*
|
|
822
|
+
* The version of the OpenAPI document: 1
|
|
823
|
+
*
|
|
824
|
+
*
|
|
825
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
826
|
+
* https://openapi-generator.tech
|
|
827
|
+
* Do not edit the class manually.
|
|
828
|
+
*/
|
|
829
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
830
|
+
class P21ControllerService {
|
|
831
|
+
constructor(httpClient, basePath, configuration) {
|
|
832
|
+
this.httpClient = httpClient;
|
|
833
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
834
|
+
this.defaultHeaders = new HttpHeaders();
|
|
835
|
+
this.configuration = new Configuration();
|
|
836
|
+
if (configuration) {
|
|
837
|
+
this.configuration = configuration;
|
|
838
|
+
}
|
|
839
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
840
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
841
|
+
basePath = basePath[0];
|
|
842
|
+
}
|
|
843
|
+
if (typeof basePath !== 'string') {
|
|
844
|
+
basePath = this.basePath;
|
|
845
|
+
}
|
|
846
|
+
this.configuration.basePath = basePath;
|
|
847
|
+
}
|
|
848
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* @param consumes string[] mime-types
|
|
852
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
853
|
+
*/
|
|
854
|
+
canConsumeForm(consumes) {
|
|
855
|
+
const form = 'multipart/form-data';
|
|
856
|
+
for (const consume of consumes) {
|
|
857
|
+
if (form === consume) {
|
|
858
|
+
return true;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
return false;
|
|
862
|
+
}
|
|
863
|
+
// @ts-ignore
|
|
864
|
+
addToHttpParams(httpParams, value, key) {
|
|
865
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
866
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
867
|
+
}
|
|
868
|
+
else {
|
|
869
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
870
|
+
}
|
|
871
|
+
return httpParams;
|
|
872
|
+
}
|
|
873
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
874
|
+
if (value == null) {
|
|
875
|
+
return httpParams;
|
|
876
|
+
}
|
|
877
|
+
if (typeof value === "object") {
|
|
878
|
+
if (Array.isArray(value)) {
|
|
879
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
880
|
+
}
|
|
881
|
+
else if (value instanceof Date) {
|
|
882
|
+
if (key != null) {
|
|
883
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
884
|
+
}
|
|
885
|
+
else {
|
|
886
|
+
throw Error("key may not be null if value is Date");
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
else {
|
|
890
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
else if (key != null) {
|
|
894
|
+
httpParams = httpParams.append(key, value);
|
|
895
|
+
}
|
|
896
|
+
else {
|
|
897
|
+
throw Error("key may not be null if value is not object or array");
|
|
898
|
+
}
|
|
899
|
+
return httpParams;
|
|
900
|
+
}
|
|
901
|
+
createP21Levering(p21Levering, update, observe = 'body', reportProgress = false, options) {
|
|
902
|
+
if (p21Levering === null || p21Levering === undefined) {
|
|
903
|
+
throw new Error('Required parameter p21Levering was null or undefined when calling createP21Levering.');
|
|
904
|
+
}
|
|
905
|
+
let localVarHeaders = this.defaultHeaders;
|
|
906
|
+
let localVarCredential;
|
|
907
|
+
// authentication (keycloak_auth) required
|
|
908
|
+
localVarCredential = this.configuration.lookupCredential('keycloak_auth');
|
|
909
|
+
if (localVarCredential) {
|
|
910
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
911
|
+
}
|
|
912
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
913
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
914
|
+
// to determine the Accept header
|
|
915
|
+
const httpHeaderAccepts = [
|
|
916
|
+
'*/*'
|
|
917
|
+
];
|
|
918
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
919
|
+
}
|
|
920
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
921
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
922
|
+
}
|
|
923
|
+
let localVarHttpContext = options && options.context;
|
|
924
|
+
if (localVarHttpContext === undefined) {
|
|
925
|
+
localVarHttpContext = new HttpContext();
|
|
926
|
+
}
|
|
927
|
+
let localVarTransferCache = options && options.transferCache;
|
|
928
|
+
if (localVarTransferCache === undefined) {
|
|
929
|
+
localVarTransferCache = true;
|
|
930
|
+
}
|
|
931
|
+
// to determine the Content-Type header
|
|
932
|
+
const consumes = [
|
|
933
|
+
'multipart/form-data'
|
|
934
|
+
];
|
|
935
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
936
|
+
let localVarFormParams;
|
|
937
|
+
let localVarUseForm = false;
|
|
938
|
+
let localVarConvertFormParamsToString = false;
|
|
939
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
940
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
941
|
+
localVarUseForm = canConsumeForm;
|
|
942
|
+
if (localVarUseForm) {
|
|
943
|
+
localVarFormParams = new FormData();
|
|
944
|
+
}
|
|
945
|
+
else {
|
|
946
|
+
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
947
|
+
}
|
|
948
|
+
if (update !== undefined) {
|
|
949
|
+
localVarFormParams = localVarFormParams.append('update', update) || localVarFormParams;
|
|
950
|
+
}
|
|
951
|
+
if (p21Levering !== undefined) {
|
|
952
|
+
localVarFormParams = localVarFormParams.append('p21Levering', p21Levering) || localVarFormParams;
|
|
953
|
+
}
|
|
954
|
+
let responseType_ = 'json';
|
|
955
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
956
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
957
|
+
responseType_ = 'text';
|
|
958
|
+
}
|
|
959
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
960
|
+
responseType_ = 'json';
|
|
961
|
+
}
|
|
962
|
+
else {
|
|
963
|
+
responseType_ = 'blob';
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
let localVarPath = `/services/secure/rest/backend/uploadversie`;
|
|
967
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
968
|
+
context: localVarHttpContext,
|
|
969
|
+
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
970
|
+
responseType: responseType_,
|
|
971
|
+
withCredentials: this.configuration.withCredentials,
|
|
972
|
+
headers: localVarHeaders,
|
|
973
|
+
observe: observe,
|
|
974
|
+
transferCache: localVarTransferCache,
|
|
975
|
+
reportProgress: reportProgress
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
getVersies(observe = 'body', reportProgress = false, options) {
|
|
979
|
+
let localVarHeaders = this.defaultHeaders;
|
|
980
|
+
let localVarCredential;
|
|
981
|
+
// authentication (keycloak_auth) required
|
|
982
|
+
localVarCredential = this.configuration.lookupCredential('keycloak_auth');
|
|
983
|
+
if (localVarCredential) {
|
|
984
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
985
|
+
}
|
|
986
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
987
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
988
|
+
// to determine the Accept header
|
|
989
|
+
const httpHeaderAccepts = [
|
|
990
|
+
'application/json'
|
|
991
|
+
];
|
|
992
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
993
|
+
}
|
|
994
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
995
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
996
|
+
}
|
|
997
|
+
let localVarHttpContext = options && options.context;
|
|
998
|
+
if (localVarHttpContext === undefined) {
|
|
999
|
+
localVarHttpContext = new HttpContext();
|
|
1000
|
+
}
|
|
1001
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1002
|
+
if (localVarTransferCache === undefined) {
|
|
1003
|
+
localVarTransferCache = true;
|
|
1004
|
+
}
|
|
1005
|
+
let responseType_ = 'json';
|
|
1006
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1007
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1008
|
+
responseType_ = 'text';
|
|
1009
|
+
}
|
|
1010
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1011
|
+
responseType_ = 'json';
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
responseType_ = 'blob';
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
let localVarPath = `/services/secure/rest/backend/versies`;
|
|
1018
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1019
|
+
context: localVarHttpContext,
|
|
1020
|
+
responseType: responseType_,
|
|
1021
|
+
withCredentials: this.configuration.withCredentials,
|
|
1022
|
+
headers: localVarHeaders,
|
|
1023
|
+
observe: observe,
|
|
1024
|
+
transferCache: localVarTransferCache,
|
|
1025
|
+
reportProgress: reportProgress
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: P21ControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1029
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: P21ControllerService, providedIn: 'root' }); }
|
|
1030
|
+
}
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: P21ControllerService, decorators: [{
|
|
1032
|
+
type: Injectable,
|
|
1033
|
+
args: [{
|
|
1034
|
+
providedIn: 'root'
|
|
1035
|
+
}]
|
|
1036
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1037
|
+
type: Optional
|
|
1038
|
+
}, {
|
|
1039
|
+
type: Inject,
|
|
1040
|
+
args: [BASE_PATH]
|
|
1041
|
+
}] }, { type: Configuration, decorators: [{
|
|
1042
|
+
type: Optional
|
|
1043
|
+
}] }] });
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* MST
|
|
1047
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1048
|
+
*
|
|
1049
|
+
* The version of the OpenAPI document: 1
|
|
1050
|
+
*
|
|
1051
|
+
*
|
|
1052
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1053
|
+
* https://openapi-generator.tech
|
|
1054
|
+
* Do not edit the class manually.
|
|
1055
|
+
*/
|
|
1056
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1057
|
+
class SbControllerService {
|
|
1058
|
+
constructor(httpClient, basePath, configuration) {
|
|
1059
|
+
this.httpClient = httpClient;
|
|
1060
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1061
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1062
|
+
this.configuration = new Configuration();
|
|
1063
|
+
if (configuration) {
|
|
1064
|
+
this.configuration = configuration;
|
|
1065
|
+
}
|
|
1066
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1067
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1068
|
+
basePath = basePath[0];
|
|
1069
|
+
}
|
|
1070
|
+
if (typeof basePath !== 'string') {
|
|
1071
|
+
basePath = this.basePath;
|
|
1072
|
+
}
|
|
1073
|
+
this.configuration.basePath = basePath;
|
|
1074
|
+
}
|
|
1075
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1076
|
+
}
|
|
1077
|
+
// @ts-ignore
|
|
1078
|
+
addToHttpParams(httpParams, value, key) {
|
|
1079
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1080
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1081
|
+
}
|
|
1082
|
+
else {
|
|
1083
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1084
|
+
}
|
|
1085
|
+
return httpParams;
|
|
1086
|
+
}
|
|
1087
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1088
|
+
if (value == null) {
|
|
1089
|
+
return httpParams;
|
|
1090
|
+
}
|
|
1091
|
+
if (typeof value === "object") {
|
|
1092
|
+
if (Array.isArray(value)) {
|
|
1093
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1094
|
+
}
|
|
1095
|
+
else if (value instanceof Date) {
|
|
1096
|
+
if (key != null) {
|
|
1097
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1098
|
+
}
|
|
1099
|
+
else {
|
|
1100
|
+
throw Error("key may not be null if value is Date");
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
else {
|
|
1104
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
else if (key != null) {
|
|
1108
|
+
httpParams = httpParams.append(key, value);
|
|
1109
|
+
}
|
|
1110
|
+
else {
|
|
1111
|
+
throw Error("key may not be null if value is not object or array");
|
|
1112
|
+
}
|
|
1113
|
+
return httpParams;
|
|
1114
|
+
}
|
|
1115
|
+
getSignaleringsbeelden(iaVersie, pplg, observe = 'body', reportProgress = false, options) {
|
|
1116
|
+
if (iaVersie === null || iaVersie === undefined) {
|
|
1117
|
+
throw new Error('Required parameter iaVersie was null or undefined when calling getSignaleringsbeelden.');
|
|
1118
|
+
}
|
|
1119
|
+
if (pplg === null || pplg === undefined) {
|
|
1120
|
+
throw new Error('Required parameter pplg was null or undefined when calling getSignaleringsbeelden.');
|
|
1121
|
+
}
|
|
1122
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1123
|
+
if (pplg) {
|
|
1124
|
+
pplg.forEach((element) => {
|
|
1125
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'pplg');
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1129
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1130
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1131
|
+
// to determine the Accept header
|
|
1132
|
+
const httpHeaderAccepts = [
|
|
1133
|
+
'application/json'
|
|
1134
|
+
];
|
|
1135
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1136
|
+
}
|
|
1137
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1138
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1139
|
+
}
|
|
1140
|
+
let localVarHttpContext = options && options.context;
|
|
1141
|
+
if (localVarHttpContext === undefined) {
|
|
1142
|
+
localVarHttpContext = new HttpContext();
|
|
1143
|
+
}
|
|
1144
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1145
|
+
if (localVarTransferCache === undefined) {
|
|
1146
|
+
localVarTransferCache = true;
|
|
1147
|
+
}
|
|
1148
|
+
let responseType_ = 'json';
|
|
1149
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1150
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1151
|
+
responseType_ = 'text';
|
|
1152
|
+
}
|
|
1153
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1154
|
+
responseType_ = 'json';
|
|
1155
|
+
}
|
|
1156
|
+
else {
|
|
1157
|
+
responseType_ = 'blob';
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
let localVarPath = `/rest/${this.configuration.encodeParam({ name: "iaVersie", value: iaVersie, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/SignaleringsbeeldAndPplgs`;
|
|
1161
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1162
|
+
context: localVarHttpContext,
|
|
1163
|
+
params: localVarQueryParameters,
|
|
1164
|
+
responseType: responseType_,
|
|
1165
|
+
withCredentials: this.configuration.withCredentials,
|
|
1166
|
+
headers: localVarHeaders,
|
|
1167
|
+
observe: observe,
|
|
1168
|
+
transferCache: localVarTransferCache,
|
|
1169
|
+
reportProgress: reportProgress
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
valideerIaVersie(versie, observe = 'body', reportProgress = false, options) {
|
|
1173
|
+
if (versie === null || versie === undefined) {
|
|
1174
|
+
throw new Error('Required parameter versie was null or undefined when calling valideerIaVersie.');
|
|
1175
|
+
}
|
|
1176
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1177
|
+
if (versie !== undefined && versie !== null) {
|
|
1178
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, versie, 'versie');
|
|
1179
|
+
}
|
|
1180
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1181
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1182
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1183
|
+
// to determine the Accept header
|
|
1184
|
+
const httpHeaderAccepts = [];
|
|
1185
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1186
|
+
}
|
|
1187
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1188
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1189
|
+
}
|
|
1190
|
+
let localVarHttpContext = options && options.context;
|
|
1191
|
+
if (localVarHttpContext === undefined) {
|
|
1192
|
+
localVarHttpContext = new HttpContext();
|
|
1193
|
+
}
|
|
1194
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1195
|
+
if (localVarTransferCache === undefined) {
|
|
1196
|
+
localVarTransferCache = true;
|
|
1197
|
+
}
|
|
1198
|
+
let responseType_ = 'json';
|
|
1199
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1200
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1201
|
+
responseType_ = 'text';
|
|
1202
|
+
}
|
|
1203
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1204
|
+
responseType_ = 'json';
|
|
1205
|
+
}
|
|
1206
|
+
else {
|
|
1207
|
+
responseType_ = 'blob';
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
let localVarPath = `/rest/signaleringsbeeldeninfo/valideeriaversie`;
|
|
1211
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1212
|
+
context: localVarHttpContext,
|
|
1213
|
+
params: localVarQueryParameters,
|
|
1214
|
+
responseType: responseType_,
|
|
1215
|
+
withCredentials: this.configuration.withCredentials,
|
|
1216
|
+
headers: localVarHeaders,
|
|
1217
|
+
observe: observe,
|
|
1218
|
+
transferCache: localVarTransferCache,
|
|
1219
|
+
reportProgress: reportProgress
|
|
1220
|
+
});
|
|
1221
|
+
}
|
|
1222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SbControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1223
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SbControllerService, providedIn: 'root' }); }
|
|
1224
|
+
}
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SbControllerService, decorators: [{
|
|
1226
|
+
type: Injectable,
|
|
1227
|
+
args: [{
|
|
1228
|
+
providedIn: 'root'
|
|
1229
|
+
}]
|
|
1230
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1231
|
+
type: Optional
|
|
1232
|
+
}, {
|
|
1233
|
+
type: Inject,
|
|
1234
|
+
args: [BASE_PATH]
|
|
1235
|
+
}] }, { type: Configuration, decorators: [{
|
|
1236
|
+
type: Optional
|
|
1237
|
+
}] }] });
|
|
1238
|
+
|
|
1239
|
+
const APIS = [AppConfigControllerService, BewegingControllerService, Class0BuildPropertiesService, ConnectorControllerService, LogControllerService, P21ControllerService, SbControllerService];
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* MST
|
|
1243
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1244
|
+
*
|
|
1245
|
+
* The version of the OpenAPI document: 1
|
|
1246
|
+
*
|
|
1247
|
+
*
|
|
1248
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1249
|
+
* https://openapi-generator.tech
|
|
1250
|
+
* Do not edit the class manually.
|
|
1251
|
+
*/
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* MST
|
|
1255
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1256
|
+
*
|
|
1257
|
+
* The version of the OpenAPI document: 1
|
|
1258
|
+
*
|
|
1259
|
+
*
|
|
1260
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1261
|
+
* https://openapi-generator.tech
|
|
1262
|
+
* Do not edit the class manually.
|
|
1263
|
+
*/
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* MST
|
|
1267
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1268
|
+
*
|
|
1269
|
+
* The version of the OpenAPI document: 1
|
|
1270
|
+
*
|
|
1271
|
+
*
|
|
1272
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1273
|
+
* https://openapi-generator.tech
|
|
1274
|
+
* Do not edit the class manually.
|
|
1275
|
+
*/
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* MST
|
|
1279
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1280
|
+
*
|
|
1281
|
+
* The version of the OpenAPI document: 1
|
|
1282
|
+
*
|
|
1283
|
+
*
|
|
1284
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1285
|
+
* https://openapi-generator.tech
|
|
1286
|
+
* Do not edit the class manually.
|
|
1287
|
+
*/
|
|
1288
|
+
|
|
1289
|
+
class ApiModule {
|
|
1290
|
+
static forRoot(configurationFactory) {
|
|
1291
|
+
return {
|
|
1292
|
+
ngModule: ApiModule,
|
|
1293
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
constructor(parentModule, http) {
|
|
1297
|
+
if (parentModule) {
|
|
1298
|
+
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1299
|
+
}
|
|
1300
|
+
if (!http) {
|
|
1301
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1302
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1306
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: ApiModule }); }
|
|
1307
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApiModule }); }
|
|
1308
|
+
}
|
|
1309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApiModule, decorators: [{
|
|
1310
|
+
type: NgModule,
|
|
1311
|
+
args: [{
|
|
1312
|
+
imports: [],
|
|
1313
|
+
declarations: [],
|
|
1314
|
+
exports: [],
|
|
1315
|
+
providers: []
|
|
1316
|
+
}]
|
|
1317
|
+
}], ctorParameters: () => [{ type: ApiModule, decorators: [{
|
|
1318
|
+
type: Optional
|
|
1319
|
+
}, {
|
|
1320
|
+
type: SkipSelf
|
|
1321
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
1322
|
+
type: Optional
|
|
1323
|
+
}] }] });
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Generated bundle index. Do not edit.
|
|
1327
|
+
*/
|
|
1328
|
+
|
|
1329
|
+
export { APIS, ApiModule, AppConfigControllerService, BASE_PATH, BewegingControllerService, COLLECTION_FORMATS, Class0BuildPropertiesService, Configuration, ConnectorControllerService, LogControllerService, P21ControllerService, SbControllerService };
|
|
1330
|
+
//# sourceMappingURL=loxia-mst-viewer-src-generated-openapi.mjs.map
|