@veeroute/lss-registry-angular 7.25.3009
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/README.md +185 -0
- package/api/api.d.ts +13 -0
- package/api/backupsService.d.ts +56 -0
- package/api/backupsServiceInterface.d.ts +35 -0
- package/api/configurationsService.d.ts +256 -0
- package/api/configurationsServiceInterface.d.ts +132 -0
- package/api/explorerService.d.ts +279 -0
- package/api/explorerServiceInterface.d.ts +132 -0
- package/api/systemService.d.ts +78 -0
- package/api/systemServiceInterface.d.ts +37 -0
- package/api.base.service.d.ts +21 -0
- package/api.module.d.ts +11 -0
- package/cfg/process_types.json +172 -0
- package/configuration.d.ts +106 -0
- package/encoder.d.ts +11 -0
- package/esm2022/api/api.mjs +14 -0
- package/esm2022/api/backupsService.mjs +135 -0
- package/esm2022/api/backupsServiceInterface.mjs +2 -0
- package/esm2022/api/configurationsService.mjs +563 -0
- package/esm2022/api/configurationsServiceInterface.mjs +2 -0
- package/esm2022/api/explorerService.mjs +594 -0
- package/esm2022/api/explorerServiceInterface.mjs +2 -0
- package/esm2022/api/systemService.mjs +149 -0
- package/esm2022/api/systemServiceInterface.mjs +2 -0
- package/esm2022/api.base.service.mjs +79 -0
- package/esm2022/api.module.mjs +40 -0
- package/esm2022/configuration.mjs +145 -0
- package/esm2022/encoder.mjs +19 -0
- package/esm2022/index.mjs +8 -0
- package/esm2022/model/attribute.mjs +11 -0
- package/esm2022/model/checkResult.mjs +11 -0
- package/esm2022/model/configuration.mjs +2 -0
- package/esm2022/model/fileNamePath.mjs +11 -0
- package/esm2022/model/fileSpecification.mjs +11 -0
- package/esm2022/model/filesystem.mjs +2 -0
- package/esm2022/model/filesystemColumnType.mjs +23 -0
- package/esm2022/model/filesystemCounters.mjs +2 -0
- package/esm2022/model/filesystemPath.mjs +2 -0
- package/esm2022/model/folder.mjs +2 -0
- package/esm2022/model/folderCounters.mjs +11 -0
- package/esm2022/model/folderSpecification.mjs +2 -0
- package/esm2022/model/folderType.mjs +18 -0
- package/esm2022/model/general400.mjs +2 -0
- package/esm2022/model/general402.mjs +2 -0
- package/esm2022/model/general403.mjs +2 -0
- package/esm2022/model/general404.mjs +2 -0
- package/esm2022/model/general404Detail.mjs +2 -0
- package/esm2022/model/general429.mjs +2 -0
- package/esm2022/model/general500.mjs +2 -0
- package/esm2022/model/models.mjs +30 -0
- package/esm2022/model/schemaError.mjs +11 -0
- package/esm2022/model/service.mjs +26 -0
- package/esm2022/model/tableConfiguration.mjs +2 -0
- package/esm2022/model/tableConfigurationColumnType.mjs +22 -0
- package/esm2022/model/tableConfigurationList.mjs +2 -0
- package/esm2022/model/tableListCounters.mjs +2 -0
- package/esm2022/model/tableListCountersDetail.mjs +11 -0
- package/esm2022/model/tracedata.mjs +2 -0
- package/esm2022/model/versionResult.mjs +11 -0
- package/esm2022/param.mjs +2 -0
- package/esm2022/provide-api.mjs +15 -0
- package/esm2022/variables.mjs +9 -0
- package/esm2022/veeroute-lss-registry-angular.mjs +5 -0
- package/fesm2022/veeroute-lss-registry-angular.mjs +1887 -0
- package/fesm2022/veeroute-lss-registry-angular.mjs.map +1 -0
- package/index.d.ts +7 -0
- package/model/attribute.d.ts +23 -0
- package/model/checkResult.d.ts +19 -0
- package/model/configuration.d.ts +37 -0
- package/model/fileNamePath.d.ts +23 -0
- package/model/fileSpecification.d.ts +27 -0
- package/model/filesystem.d.ts +23 -0
- package/model/filesystemColumnType.d.ts +21 -0
- package/model/filesystemCounters.d.ts +24 -0
- package/model/filesystemPath.d.ts +20 -0
- package/model/folder.d.ts +60 -0
- package/model/folderCounters.d.ts +23 -0
- package/model/folderSpecification.d.ts +40 -0
- package/model/folderType.d.ts +16 -0
- package/model/general400.d.ts +26 -0
- package/model/general402.d.ts +21 -0
- package/model/general403.d.ts +21 -0
- package/model/general404.d.ts +21 -0
- package/model/general404Detail.d.ts +17 -0
- package/model/general429.d.ts +21 -0
- package/model/general500.d.ts +21 -0
- package/model/models.d.ts +29 -0
- package/model/schemaError.d.ts +23 -0
- package/model/service.d.ts +24 -0
- package/model/tableConfiguration.d.ts +29 -0
- package/model/tableConfigurationColumnType.d.ts +20 -0
- package/model/tableConfigurationList.d.ts +22 -0
- package/model/tableListCounters.d.ts +24 -0
- package/model/tableListCountersDetail.d.ts +19 -0
- package/model/tracedata.d.ts +49 -0
- package/model/versionResult.d.ts +27 -0
- package/package.json +33 -0
- package/param.d.ts +37 -0
- package/provide-api.d.ts +3 -0
- package/variables.d.ts +8 -0
package/README.md
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
# @veeroute/lss-registry-angular@7.25.3009
|
|
2
|
+
|
|
3
|
+
Program interface for Veeroute Registry. # Description The service is designed to store settings. ## Entity diagram 
|
|
4
|
+
|
|
5
|
+
The version of the OpenAPI document: 7.25.3009
|
|
6
|
+
|
|
7
|
+
## Building
|
|
8
|
+
|
|
9
|
+
To install the required dependencies and to build the typescript sources run:
|
|
10
|
+
|
|
11
|
+
```console
|
|
12
|
+
npm install
|
|
13
|
+
npm run build
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Publishing
|
|
17
|
+
|
|
18
|
+
First build the package then run `npm publish dist` (don't forget to specify the `dist` folder!)
|
|
19
|
+
|
|
20
|
+
## Consuming
|
|
21
|
+
|
|
22
|
+
Navigate to the folder of your consuming project and run one of next commands.
|
|
23
|
+
|
|
24
|
+
_published:_
|
|
25
|
+
|
|
26
|
+
```console
|
|
27
|
+
npm install @veeroute/lss-registry-angular@7.25.3009 --save
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
_without publishing (not recommended):_
|
|
31
|
+
|
|
32
|
+
```console
|
|
33
|
+
npm install PATH_TO_GENERATED_PACKAGE/dist.tgz --save
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
_It's important to take the tgz file, otherwise you'll get trouble with links on windows_
|
|
37
|
+
|
|
38
|
+
_using `npm link`:_
|
|
39
|
+
|
|
40
|
+
In PATH_TO_GENERATED_PACKAGE/dist:
|
|
41
|
+
|
|
42
|
+
```console
|
|
43
|
+
npm link
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
In your project:
|
|
47
|
+
|
|
48
|
+
```console
|
|
49
|
+
npm link @veeroute/lss-registry-angular
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
__Note for Windows users:__ The Angular CLI has troubles to use linked npm packages.
|
|
53
|
+
Please refer to this issue <https://github.com/angular/angular-cli/issues/8284> for a solution / workaround.
|
|
54
|
+
Published packages are not effected by this issue.
|
|
55
|
+
|
|
56
|
+
### General usage
|
|
57
|
+
|
|
58
|
+
In your Angular project:
|
|
59
|
+
|
|
60
|
+
```typescript
|
|
61
|
+
|
|
62
|
+
import { ApplicationConfig } from '@angular/core';
|
|
63
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
64
|
+
import { provideApi } from '@veeroute/lss-registry-angular';
|
|
65
|
+
|
|
66
|
+
export const appConfig: ApplicationConfig = {
|
|
67
|
+
providers: [
|
|
68
|
+
// ...
|
|
69
|
+
provideHttpClient(),
|
|
70
|
+
provideApi()
|
|
71
|
+
],
|
|
72
|
+
};
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**NOTE**
|
|
76
|
+
If you're still using `AppModule` and haven't [migrated](https://angular.dev/reference/migrations/standalone) yet, you can still import an Angular module:
|
|
77
|
+
```typescript
|
|
78
|
+
import { LssRegistryApiModule } from '@veeroute/lss-registry-angular';
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
If different from the generated base path, during app bootstrap, you can provide the base path to your service.
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import { ApplicationConfig } from '@angular/core';
|
|
85
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
86
|
+
import { provideApi } from '@veeroute/lss-registry-angular';
|
|
87
|
+
|
|
88
|
+
export const appConfig: ApplicationConfig = {
|
|
89
|
+
providers: [
|
|
90
|
+
// ...
|
|
91
|
+
provideHttpClient(),
|
|
92
|
+
provideApi('http://localhost:9999')
|
|
93
|
+
],
|
|
94
|
+
};
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
```typescript
|
|
98
|
+
// with a custom configuration
|
|
99
|
+
import { ApplicationConfig } from '@angular/core';
|
|
100
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
101
|
+
import { provideApi } from '@veeroute/lss-registry-angular';
|
|
102
|
+
|
|
103
|
+
export const appConfig: ApplicationConfig = {
|
|
104
|
+
providers: [
|
|
105
|
+
// ...
|
|
106
|
+
provideHttpClient(),
|
|
107
|
+
provideApi({
|
|
108
|
+
withCredentials: true,
|
|
109
|
+
username: 'user',
|
|
110
|
+
password: 'password'
|
|
111
|
+
})
|
|
112
|
+
],
|
|
113
|
+
};
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
```typescript
|
|
117
|
+
// with factory building a custom configuration
|
|
118
|
+
import { ApplicationConfig } from '@angular/core';
|
|
119
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
120
|
+
import { provideApi, Configuration } from '@veeroute/lss-registry-angular';
|
|
121
|
+
|
|
122
|
+
export const appConfig: ApplicationConfig = {
|
|
123
|
+
providers: [
|
|
124
|
+
// ...
|
|
125
|
+
provideHttpClient(),
|
|
126
|
+
{
|
|
127
|
+
provide: Configuration,
|
|
128
|
+
useFactory: (authService: AuthService) => new Configuration({
|
|
129
|
+
basePath: 'http://localhost:9999',
|
|
130
|
+
withCredentials: true,
|
|
131
|
+
username: authService.getUsername(),
|
|
132
|
+
password: authService.getPassword(),
|
|
133
|
+
}),
|
|
134
|
+
deps: [AuthService],
|
|
135
|
+
multi: false
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
};
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Using multiple OpenAPI files / APIs
|
|
142
|
+
|
|
143
|
+
In order to use multiple APIs generated from different OpenAPI files,
|
|
144
|
+
you can create an alias name when importing the modules
|
|
145
|
+
in order to avoid naming conflicts:
|
|
146
|
+
|
|
147
|
+
```typescript
|
|
148
|
+
import { provideApi as provideUserApi } from 'my-user-api-path';
|
|
149
|
+
import { provideApi as provideAdminApi } from 'my-admin-api-path';
|
|
150
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
151
|
+
import { environment } from '../environments/environment';
|
|
152
|
+
|
|
153
|
+
export const appConfig: ApplicationConfig = {
|
|
154
|
+
providers: [
|
|
155
|
+
// ...
|
|
156
|
+
provideHttpClient(),
|
|
157
|
+
provideUserApi(environment.basePath),
|
|
158
|
+
provideAdminApi(environment.basePath),
|
|
159
|
+
],
|
|
160
|
+
};
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Customizing path parameter encoding
|
|
164
|
+
|
|
165
|
+
Without further customization, only [path-parameters][parameter-locations-url] of [style][style-values-url] 'simple'
|
|
166
|
+
and Dates for format 'date-time' are encoded correctly.
|
|
167
|
+
|
|
168
|
+
Other styles (e.g. "matrix") are not that easy to encode
|
|
169
|
+
and thus are best delegated to other libraries (e.g.: [@honoluluhenk/http-param-expander]).
|
|
170
|
+
|
|
171
|
+
To implement your own parameter encoding (or call another library),
|
|
172
|
+
pass an arrow-function or method-reference to the `encodeParam` property of the Configuration-object
|
|
173
|
+
(see [General Usage](#general-usage) above).
|
|
174
|
+
|
|
175
|
+
Example value for use in your Configuration-Provider:
|
|
176
|
+
|
|
177
|
+
```typescript
|
|
178
|
+
new Configuration({
|
|
179
|
+
encodeParam: (param: Param) => myFancyParamEncoder(param),
|
|
180
|
+
})
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
[parameter-locations-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-locations
|
|
184
|
+
[style-values-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values
|
|
185
|
+
[@honoluluhenk/http-param-expander]: https://www.npmjs.com/package/@honoluluhenk/http-param-expander
|
package/api/api.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './backupsService';
|
|
2
|
+
import { BackupsService } from './backupsService';
|
|
3
|
+
export * from './backupsServiceInterface';
|
|
4
|
+
export * from './configurationsService';
|
|
5
|
+
import { ConfigurationsService } from './configurationsService';
|
|
6
|
+
export * from './configurationsServiceInterface';
|
|
7
|
+
export * from './explorerService';
|
|
8
|
+
import { ExplorerService } from './explorerService';
|
|
9
|
+
export * from './explorerServiceInterface';
|
|
10
|
+
export * from './systemService';
|
|
11
|
+
import { SystemService } from './systemService';
|
|
12
|
+
export * from './systemServiceInterface';
|
|
13
|
+
export declare const APIS: (typeof BackupsService | typeof ConfigurationsService | typeof ExplorerService | typeof SystemService)[];
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Configuration } from '../configuration';
|
|
4
|
+
import { BaseService } from '../api.base.service';
|
|
5
|
+
import { BackupsServiceInterface, CreateBackupRequestParams, RestoreBackupRequestParams } from './backupsServiceInterface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BackupsService extends BaseService implements BackupsServiceInterface {
|
|
8
|
+
protected httpClient: HttpClient;
|
|
9
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
10
|
+
/**
|
|
11
|
+
* Folder export
|
|
12
|
+
* Export folder with experiments.
|
|
13
|
+
* @param requestParameters
|
|
14
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
15
|
+
* @param reportProgress flag to report request and response progress.
|
|
16
|
+
*/
|
|
17
|
+
createBackup(requestParameters: CreateBackupRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
18
|
+
httpHeaderAccept?: 'application/octet-stream' | 'application/json';
|
|
19
|
+
context?: HttpContext;
|
|
20
|
+
transferCache?: boolean;
|
|
21
|
+
}): Observable<string>;
|
|
22
|
+
createBackup(requestParameters: CreateBackupRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
23
|
+
httpHeaderAccept?: 'application/octet-stream' | 'application/json';
|
|
24
|
+
context?: HttpContext;
|
|
25
|
+
transferCache?: boolean;
|
|
26
|
+
}): Observable<HttpResponse<string>>;
|
|
27
|
+
createBackup(requestParameters: CreateBackupRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: 'application/octet-stream' | 'application/json';
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
transferCache?: boolean;
|
|
31
|
+
}): Observable<HttpEvent<string>>;
|
|
32
|
+
/**
|
|
33
|
+
* Folder import
|
|
34
|
+
* Import folder with experiments. The folder should not be of type ROOT and should be empty.
|
|
35
|
+
* @param requestParameters
|
|
36
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
37
|
+
* @param reportProgress flag to report request and response progress.
|
|
38
|
+
*/
|
|
39
|
+
restoreBackup(requestParameters: RestoreBackupRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
40
|
+
httpHeaderAccept?: 'application/json';
|
|
41
|
+
context?: HttpContext;
|
|
42
|
+
transferCache?: boolean;
|
|
43
|
+
}): Observable<any>;
|
|
44
|
+
restoreBackup(requestParameters: RestoreBackupRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: 'application/json';
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
transferCache?: boolean;
|
|
48
|
+
}): Observable<HttpResponse<any>>;
|
|
49
|
+
restoreBackup(requestParameters: RestoreBackupRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
50
|
+
httpHeaderAccept?: 'application/json';
|
|
51
|
+
context?: HttpContext;
|
|
52
|
+
transferCache?: boolean;
|
|
53
|
+
}): Observable<HttpEvent<any>>;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackupsService, [null, { optional: true; }, { optional: true; }]>;
|
|
55
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BackupsService>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VRt.Registry [RG]
|
|
3
|
+
*
|
|
4
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
5
|
+
* Contact: servicedesk@veeroute.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import { Configuration } from '../configuration';
|
|
13
|
+
export interface CreateBackupRequestParams {
|
|
14
|
+
folderKey: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RestoreBackupRequestParams {
|
|
17
|
+
folderKey: string;
|
|
18
|
+
body: string;
|
|
19
|
+
}
|
|
20
|
+
export interface BackupsServiceInterface {
|
|
21
|
+
defaultHeaders: HttpHeaders;
|
|
22
|
+
configuration: Configuration;
|
|
23
|
+
/**
|
|
24
|
+
* Folder export
|
|
25
|
+
* Export folder with experiments.
|
|
26
|
+
* @param requestParameters
|
|
27
|
+
*/
|
|
28
|
+
createBackup(requestParameters: CreateBackupRequestParams, extraHttpRequestParams?: any): Observable<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Folder import
|
|
31
|
+
* Import folder with experiments. The folder should not be of type ROOT and should be empty.
|
|
32
|
+
* @param requestParameters
|
|
33
|
+
*/
|
|
34
|
+
restoreBackup(requestParameters: RestoreBackupRequestParams, extraHttpRequestParams?: any): Observable<{}>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ConfigurationRegistry } from '../model/configuration';
|
|
4
|
+
import { TableConfigurationListRegistry } from '../model/tableConfigurationList';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import { BaseService } from '../api.base.service';
|
|
7
|
+
import { ConfigurationsServiceInterface, CreateConfigurationRequestParams, DeleteConfigurationRequestParams, DuplicateConfigurationRequestParams, ReadConfigurationRequestParams, ReadConfigurationContentRequestParams, ReadConfigurationSchemaRequestParams, ReadConfigurationsTableRequestParams, SearchConfigurationsRequestParams, UpdateConfigurationContentRequestParams, UpdateConfigurationSchemaRequestParams, UpdateConfigurationSpecificationRequestParams } from './configurationsServiceInterface';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ConfigurationsService extends BaseService implements ConfigurationsServiceInterface {
|
|
10
|
+
protected httpClient: HttpClient;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* Create configuration
|
|
14
|
+
* Create new configuration file.
|
|
15
|
+
* @param requestParameters
|
|
16
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
17
|
+
* @param reportProgress flag to report request and response progress.
|
|
18
|
+
*/
|
|
19
|
+
createConfiguration(requestParameters: CreateConfigurationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
20
|
+
httpHeaderAccept?: 'application/json';
|
|
21
|
+
context?: HttpContext;
|
|
22
|
+
transferCache?: boolean;
|
|
23
|
+
}): Observable<string>;
|
|
24
|
+
createConfiguration(requestParameters: CreateConfigurationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
25
|
+
httpHeaderAccept?: 'application/json';
|
|
26
|
+
context?: HttpContext;
|
|
27
|
+
transferCache?: boolean;
|
|
28
|
+
}): Observable<HttpResponse<string>>;
|
|
29
|
+
createConfiguration(requestParameters: CreateConfigurationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
transferCache?: boolean;
|
|
33
|
+
}): Observable<HttpEvent<string>>;
|
|
34
|
+
/**
|
|
35
|
+
* Configuration removal
|
|
36
|
+
* Configuration removal by key.
|
|
37
|
+
* @param requestParameters
|
|
38
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
39
|
+
* @param reportProgress flag to report request and response progress.
|
|
40
|
+
*/
|
|
41
|
+
deleteConfiguration(requestParameters: DeleteConfigurationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
42
|
+
httpHeaderAccept?: 'application/json';
|
|
43
|
+
context?: HttpContext;
|
|
44
|
+
transferCache?: boolean;
|
|
45
|
+
}): Observable<any>;
|
|
46
|
+
deleteConfiguration(requestParameters: DeleteConfigurationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
47
|
+
httpHeaderAccept?: 'application/json';
|
|
48
|
+
context?: HttpContext;
|
|
49
|
+
transferCache?: boolean;
|
|
50
|
+
}): Observable<HttpResponse<any>>;
|
|
51
|
+
deleteConfiguration(requestParameters: DeleteConfigurationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<HttpEvent<any>>;
|
|
56
|
+
/**
|
|
57
|
+
* Configuration duplicate
|
|
58
|
+
* Configuration duplicate.
|
|
59
|
+
* @param requestParameters
|
|
60
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
61
|
+
* @param reportProgress flag to report request and response progress.
|
|
62
|
+
*/
|
|
63
|
+
duplicateConfiguration(requestParameters: DuplicateConfigurationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
64
|
+
httpHeaderAccept?: 'application/json';
|
|
65
|
+
context?: HttpContext;
|
|
66
|
+
transferCache?: boolean;
|
|
67
|
+
}): Observable<string>;
|
|
68
|
+
duplicateConfiguration(requestParameters: DuplicateConfigurationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
transferCache?: boolean;
|
|
72
|
+
}): Observable<HttpResponse<string>>;
|
|
73
|
+
duplicateConfiguration(requestParameters: DuplicateConfigurationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: 'application/json';
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
transferCache?: boolean;
|
|
77
|
+
}): Observable<HttpEvent<string>>;
|
|
78
|
+
/**
|
|
79
|
+
* Reading configuration
|
|
80
|
+
* Getting configuration file by key.
|
|
81
|
+
* @param requestParameters
|
|
82
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
83
|
+
* @param reportProgress flag to report request and response progress.
|
|
84
|
+
*/
|
|
85
|
+
readConfiguration(requestParameters: ReadConfigurationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
86
|
+
httpHeaderAccept?: 'application/json';
|
|
87
|
+
context?: HttpContext;
|
|
88
|
+
transferCache?: boolean;
|
|
89
|
+
}): Observable<ConfigurationRegistry>;
|
|
90
|
+
readConfiguration(requestParameters: ReadConfigurationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
91
|
+
httpHeaderAccept?: 'application/json';
|
|
92
|
+
context?: HttpContext;
|
|
93
|
+
transferCache?: boolean;
|
|
94
|
+
}): Observable<HttpResponse<ConfigurationRegistry>>;
|
|
95
|
+
readConfiguration(requestParameters: ReadConfigurationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
96
|
+
httpHeaderAccept?: 'application/json';
|
|
97
|
+
context?: HttpContext;
|
|
98
|
+
transferCache?: boolean;
|
|
99
|
+
}): Observable<HttpEvent<ConfigurationRegistry>>;
|
|
100
|
+
/**
|
|
101
|
+
* Content read
|
|
102
|
+
* Content read.
|
|
103
|
+
* @param requestParameters
|
|
104
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
105
|
+
* @param reportProgress flag to report request and response progress.
|
|
106
|
+
*/
|
|
107
|
+
readConfigurationContent(requestParameters: ReadConfigurationContentRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
108
|
+
httpHeaderAccept?: 'application/json';
|
|
109
|
+
context?: HttpContext;
|
|
110
|
+
transferCache?: boolean;
|
|
111
|
+
}): Observable<string>;
|
|
112
|
+
readConfigurationContent(requestParameters: ReadConfigurationContentRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
113
|
+
httpHeaderAccept?: 'application/json';
|
|
114
|
+
context?: HttpContext;
|
|
115
|
+
transferCache?: boolean;
|
|
116
|
+
}): Observable<HttpResponse<string>>;
|
|
117
|
+
readConfigurationContent(requestParameters: ReadConfigurationContentRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
118
|
+
httpHeaderAccept?: 'application/json';
|
|
119
|
+
context?: HttpContext;
|
|
120
|
+
transferCache?: boolean;
|
|
121
|
+
}): Observable<HttpEvent<string>>;
|
|
122
|
+
/**
|
|
123
|
+
* Schema read
|
|
124
|
+
* Schema read.
|
|
125
|
+
* @param requestParameters
|
|
126
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
127
|
+
* @param reportProgress flag to report request and response progress.
|
|
128
|
+
*/
|
|
129
|
+
readConfigurationSchema(requestParameters: ReadConfigurationSchemaRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
130
|
+
httpHeaderAccept?: 'application/json';
|
|
131
|
+
context?: HttpContext;
|
|
132
|
+
transferCache?: boolean;
|
|
133
|
+
}): Observable<string>;
|
|
134
|
+
readConfigurationSchema(requestParameters: ReadConfigurationSchemaRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
135
|
+
httpHeaderAccept?: 'application/json';
|
|
136
|
+
context?: HttpContext;
|
|
137
|
+
transferCache?: boolean;
|
|
138
|
+
}): Observable<HttpResponse<string>>;
|
|
139
|
+
readConfigurationSchema(requestParameters: ReadConfigurationSchemaRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
140
|
+
httpHeaderAccept?: 'application/json';
|
|
141
|
+
context?: HttpContext;
|
|
142
|
+
transferCache?: boolean;
|
|
143
|
+
}): Observable<HttpEvent<string>>;
|
|
144
|
+
/**
|
|
145
|
+
* Configurations list (table)
|
|
146
|
+
* Getting a table with configuration.
|
|
147
|
+
* @param requestParameters
|
|
148
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
149
|
+
* @param reportProgress flag to report request and response progress.
|
|
150
|
+
*/
|
|
151
|
+
readConfigurationsTable(requestParameters?: ReadConfigurationsTableRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
152
|
+
httpHeaderAccept?: 'application/json';
|
|
153
|
+
context?: HttpContext;
|
|
154
|
+
transferCache?: boolean;
|
|
155
|
+
}): Observable<TableConfigurationListRegistry>;
|
|
156
|
+
readConfigurationsTable(requestParameters?: ReadConfigurationsTableRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
157
|
+
httpHeaderAccept?: 'application/json';
|
|
158
|
+
context?: HttpContext;
|
|
159
|
+
transferCache?: boolean;
|
|
160
|
+
}): Observable<HttpResponse<TableConfigurationListRegistry>>;
|
|
161
|
+
readConfigurationsTable(requestParameters?: ReadConfigurationsTableRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
162
|
+
httpHeaderAccept?: 'application/json';
|
|
163
|
+
context?: HttpContext;
|
|
164
|
+
transferCache?: boolean;
|
|
165
|
+
}): Observable<HttpEvent<TableConfigurationListRegistry>>;
|
|
166
|
+
/**
|
|
167
|
+
* Configuration search
|
|
168
|
+
* Configuration global search.
|
|
169
|
+
* @param requestParameters
|
|
170
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
171
|
+
* @param reportProgress flag to report request and response progress.
|
|
172
|
+
*/
|
|
173
|
+
searchConfigurations(requestParameters: SearchConfigurationsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
174
|
+
httpHeaderAccept?: 'application/json';
|
|
175
|
+
context?: HttpContext;
|
|
176
|
+
transferCache?: boolean;
|
|
177
|
+
}): Observable<TableConfigurationListRegistry>;
|
|
178
|
+
searchConfigurations(requestParameters: SearchConfigurationsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
179
|
+
httpHeaderAccept?: 'application/json';
|
|
180
|
+
context?: HttpContext;
|
|
181
|
+
transferCache?: boolean;
|
|
182
|
+
}): Observable<HttpResponse<TableConfigurationListRegistry>>;
|
|
183
|
+
searchConfigurations(requestParameters: SearchConfigurationsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
184
|
+
httpHeaderAccept?: 'application/json';
|
|
185
|
+
context?: HttpContext;
|
|
186
|
+
transferCache?: boolean;
|
|
187
|
+
}): Observable<HttpEvent<TableConfigurationListRegistry>>;
|
|
188
|
+
/**
|
|
189
|
+
* Content update
|
|
190
|
+
* Content update.
|
|
191
|
+
* @param requestParameters
|
|
192
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
193
|
+
* @param reportProgress flag to report request and response progress.
|
|
194
|
+
*/
|
|
195
|
+
updateConfigurationContent(requestParameters: UpdateConfigurationContentRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
196
|
+
httpHeaderAccept?: 'application/json';
|
|
197
|
+
context?: HttpContext;
|
|
198
|
+
transferCache?: boolean;
|
|
199
|
+
}): Observable<any>;
|
|
200
|
+
updateConfigurationContent(requestParameters: UpdateConfigurationContentRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
201
|
+
httpHeaderAccept?: 'application/json';
|
|
202
|
+
context?: HttpContext;
|
|
203
|
+
transferCache?: boolean;
|
|
204
|
+
}): Observable<HttpResponse<any>>;
|
|
205
|
+
updateConfigurationContent(requestParameters: UpdateConfigurationContentRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
206
|
+
httpHeaderAccept?: 'application/json';
|
|
207
|
+
context?: HttpContext;
|
|
208
|
+
transferCache?: boolean;
|
|
209
|
+
}): Observable<HttpEvent<any>>;
|
|
210
|
+
/**
|
|
211
|
+
* Schema update
|
|
212
|
+
* Schema update.
|
|
213
|
+
* @param requestParameters
|
|
214
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
215
|
+
* @param reportProgress flag to report request and response progress.
|
|
216
|
+
*/
|
|
217
|
+
updateConfigurationSchema(requestParameters: UpdateConfigurationSchemaRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
218
|
+
httpHeaderAccept?: 'application/json';
|
|
219
|
+
context?: HttpContext;
|
|
220
|
+
transferCache?: boolean;
|
|
221
|
+
}): Observable<any>;
|
|
222
|
+
updateConfigurationSchema(requestParameters: UpdateConfigurationSchemaRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
223
|
+
httpHeaderAccept?: 'application/json';
|
|
224
|
+
context?: HttpContext;
|
|
225
|
+
transferCache?: boolean;
|
|
226
|
+
}): Observable<HttpResponse<any>>;
|
|
227
|
+
updateConfigurationSchema(requestParameters: UpdateConfigurationSchemaRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
228
|
+
httpHeaderAccept?: 'application/json';
|
|
229
|
+
context?: HttpContext;
|
|
230
|
+
transferCache?: boolean;
|
|
231
|
+
}): Observable<HttpEvent<any>>;
|
|
232
|
+
/**
|
|
233
|
+
* Specification update
|
|
234
|
+
* Rename \\ move configuration.
|
|
235
|
+
* @param requestParameters
|
|
236
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
237
|
+
* @param reportProgress flag to report request and response progress.
|
|
238
|
+
*/
|
|
239
|
+
updateConfigurationSpecification(requestParameters: UpdateConfigurationSpecificationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
240
|
+
httpHeaderAccept?: 'application/json';
|
|
241
|
+
context?: HttpContext;
|
|
242
|
+
transferCache?: boolean;
|
|
243
|
+
}): Observable<ConfigurationRegistry>;
|
|
244
|
+
updateConfigurationSpecification(requestParameters: UpdateConfigurationSpecificationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
245
|
+
httpHeaderAccept?: 'application/json';
|
|
246
|
+
context?: HttpContext;
|
|
247
|
+
transferCache?: boolean;
|
|
248
|
+
}): Observable<HttpResponse<ConfigurationRegistry>>;
|
|
249
|
+
updateConfigurationSpecification(requestParameters: UpdateConfigurationSpecificationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
250
|
+
httpHeaderAccept?: 'application/json';
|
|
251
|
+
context?: HttpContext;
|
|
252
|
+
transferCache?: boolean;
|
|
253
|
+
}): Observable<HttpEvent<ConfigurationRegistry>>;
|
|
254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationsService, [null, { optional: true; }, { optional: true; }]>;
|
|
255
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationsService>;
|
|
256
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VRt.Registry [RG]
|
|
3
|
+
*
|
|
4
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
5
|
+
* Contact: servicedesk@veeroute.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import { ConfigurationRegistry } from '../model/models';
|
|
13
|
+
import { FileSpecificationRegistry } from '../model/models';
|
|
14
|
+
import { TableConfigurationColumnTypeRegistry } from '../model/models';
|
|
15
|
+
import { TableConfigurationListRegistry } from '../model/models';
|
|
16
|
+
import { Configuration } from '../configuration';
|
|
17
|
+
export interface CreateConfigurationRequestParams {
|
|
18
|
+
fileSpecificationRegistry: FileSpecificationRegistry;
|
|
19
|
+
}
|
|
20
|
+
export interface DeleteConfigurationRequestParams {
|
|
21
|
+
configurationKey: string;
|
|
22
|
+
}
|
|
23
|
+
export interface DuplicateConfigurationRequestParams {
|
|
24
|
+
configurationKey: string;
|
|
25
|
+
fileSpecificationRegistry: FileSpecificationRegistry;
|
|
26
|
+
}
|
|
27
|
+
export interface ReadConfigurationRequestParams {
|
|
28
|
+
configurationKey: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ReadConfigurationContentRequestParams {
|
|
31
|
+
configurationKey: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ReadConfigurationSchemaRequestParams {
|
|
34
|
+
configurationKey: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ReadConfigurationsTableRequestParams {
|
|
37
|
+
folderKey?: string;
|
|
38
|
+
filter?: string;
|
|
39
|
+
offset?: number;
|
|
40
|
+
limit?: number;
|
|
41
|
+
sortField?: TableConfigurationColumnTypeRegistry;
|
|
42
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
43
|
+
}
|
|
44
|
+
export interface SearchConfigurationsRequestParams {
|
|
45
|
+
filter: string;
|
|
46
|
+
offset?: number;
|
|
47
|
+
limit?: number;
|
|
48
|
+
sortField?: TableConfigurationColumnTypeRegistry;
|
|
49
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
50
|
+
}
|
|
51
|
+
export interface UpdateConfigurationContentRequestParams {
|
|
52
|
+
configurationKey: string;
|
|
53
|
+
body: string;
|
|
54
|
+
}
|
|
55
|
+
export interface UpdateConfigurationSchemaRequestParams {
|
|
56
|
+
configurationKey: string;
|
|
57
|
+
body: string | null;
|
|
58
|
+
}
|
|
59
|
+
export interface UpdateConfigurationSpecificationRequestParams {
|
|
60
|
+
configurationKey: string;
|
|
61
|
+
fileSpecificationRegistry: FileSpecificationRegistry;
|
|
62
|
+
}
|
|
63
|
+
export interface ConfigurationsServiceInterface {
|
|
64
|
+
defaultHeaders: HttpHeaders;
|
|
65
|
+
configuration: Configuration;
|
|
66
|
+
/**
|
|
67
|
+
* Create configuration
|
|
68
|
+
* Create new configuration file.
|
|
69
|
+
* @param requestParameters
|
|
70
|
+
*/
|
|
71
|
+
createConfiguration(requestParameters: CreateConfigurationRequestParams, extraHttpRequestParams?: any): Observable<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Configuration removal
|
|
74
|
+
* Configuration removal by key.
|
|
75
|
+
* @param requestParameters
|
|
76
|
+
*/
|
|
77
|
+
deleteConfiguration(requestParameters: DeleteConfigurationRequestParams, extraHttpRequestParams?: any): Observable<{}>;
|
|
78
|
+
/**
|
|
79
|
+
* Configuration duplicate
|
|
80
|
+
* Configuration duplicate.
|
|
81
|
+
* @param requestParameters
|
|
82
|
+
*/
|
|
83
|
+
duplicateConfiguration(requestParameters: DuplicateConfigurationRequestParams, extraHttpRequestParams?: any): Observable<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Reading configuration
|
|
86
|
+
* Getting configuration file by key.
|
|
87
|
+
* @param requestParameters
|
|
88
|
+
*/
|
|
89
|
+
readConfiguration(requestParameters: ReadConfigurationRequestParams, extraHttpRequestParams?: any): Observable<ConfigurationRegistry>;
|
|
90
|
+
/**
|
|
91
|
+
* Content read
|
|
92
|
+
* Content read.
|
|
93
|
+
* @param requestParameters
|
|
94
|
+
*/
|
|
95
|
+
readConfigurationContent(requestParameters: ReadConfigurationContentRequestParams, extraHttpRequestParams?: any): Observable<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Schema read
|
|
98
|
+
* Schema read.
|
|
99
|
+
* @param requestParameters
|
|
100
|
+
*/
|
|
101
|
+
readConfigurationSchema(requestParameters: ReadConfigurationSchemaRequestParams, extraHttpRequestParams?: any): Observable<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Configurations list (table)
|
|
104
|
+
* Getting a table with configuration.
|
|
105
|
+
* @param requestParameters
|
|
106
|
+
*/
|
|
107
|
+
readConfigurationsTable(requestParameters: ReadConfigurationsTableRequestParams, extraHttpRequestParams?: any): Observable<TableConfigurationListRegistry>;
|
|
108
|
+
/**
|
|
109
|
+
* Configuration search
|
|
110
|
+
* Configuration global search.
|
|
111
|
+
* @param requestParameters
|
|
112
|
+
*/
|
|
113
|
+
searchConfigurations(requestParameters: SearchConfigurationsRequestParams, extraHttpRequestParams?: any): Observable<TableConfigurationListRegistry>;
|
|
114
|
+
/**
|
|
115
|
+
* Content update
|
|
116
|
+
* Content update.
|
|
117
|
+
* @param requestParameters
|
|
118
|
+
*/
|
|
119
|
+
updateConfigurationContent(requestParameters: UpdateConfigurationContentRequestParams, extraHttpRequestParams?: any): Observable<{}>;
|
|
120
|
+
/**
|
|
121
|
+
* Schema update
|
|
122
|
+
* Schema update.
|
|
123
|
+
* @param requestParameters
|
|
124
|
+
*/
|
|
125
|
+
updateConfigurationSchema(requestParameters: UpdateConfigurationSchemaRequestParams, extraHttpRequestParams?: any): Observable<{}>;
|
|
126
|
+
/**
|
|
127
|
+
* Specification update
|
|
128
|
+
* Rename \\ move configuration.
|
|
129
|
+
* @param requestParameters
|
|
130
|
+
*/
|
|
131
|
+
updateConfigurationSpecification(requestParameters: UpdateConfigurationSpecificationRequestParams, extraHttpRequestParams?: any): Observable<ConfigurationRegistry>;
|
|
132
|
+
}
|