@veeroute/lss-account-angular 7.21.2852 → 7.22.2904
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 +118 -117
- package/api/auditService.d.ts +4 -9
- package/api/auditServiceInterface.d.ts +1 -1
- package/api/authService.d.ts +4 -9
- package/api/authServiceInterface.d.ts +1 -1
- package/api/dataService.d.ts +4 -9
- package/api/dataServiceInterface.d.ts +1 -1
- package/api/infoService.d.ts +4 -9
- package/api/infoServiceInterface.d.ts +1 -1
- package/api/quotaService.d.ts +4 -9
- package/api/quotaServiceInterface.d.ts +1 -1
- package/api/statisticsService.d.ts +4 -9
- package/api/statisticsServiceInterface.d.ts +1 -1
- package/api/systemService.d.ts +4 -9
- package/api/systemServiceInterface.d.ts +1 -1
- package/api.base.service.d.ts +21 -0
- package/configuration.d.ts +4 -2
- package/esm2022/api/auditService.mjs +25 -115
- package/esm2022/api/auditServiceInterface.mjs +1 -1
- package/esm2022/api/authService.mjs +31 -121
- package/esm2022/api/authServiceInterface.mjs +1 -1
- package/esm2022/api/dataService.mjs +18 -92
- package/esm2022/api/dataServiceInterface.mjs +1 -1
- package/esm2022/api/infoService.mjs +24 -108
- package/esm2022/api/infoServiceInterface.mjs +1 -1
- package/esm2022/api/quotaService.mjs +15 -85
- package/esm2022/api/quotaServiceInterface.mjs +1 -1
- package/esm2022/api/statisticsService.mjs +33 -133
- package/esm2022/api/statisticsServiceInterface.mjs +1 -1
- package/esm2022/api/systemService.mjs +32 -118
- package/esm2022/api/systemServiceInterface.mjs +1 -1
- package/esm2022/api.base.service.mjs +79 -0
- package/esm2022/configuration.mjs +33 -17
- package/esm2022/index.mjs +2 -1
- package/esm2022/model/accountAuditResult.mjs +1 -1
- package/esm2022/model/attribute.mjs +2 -2
- package/esm2022/model/auditAction.mjs +1 -1
- package/esm2022/model/auditActionStatistics.mjs +1 -1
- package/esm2022/model/auditCounters.mjs +1 -1
- package/esm2022/model/auditCountersDetail.mjs +2 -2
- package/esm2022/model/calculationInfo.mjs +1 -1
- package/esm2022/model/calculationStatus.mjs +2 -2
- package/esm2022/model/checkResult.mjs +2 -2
- package/esm2022/model/dateStatistics.mjs +1 -1
- package/esm2022/model/flowStage.mjs +2 -2
- package/esm2022/model/flowType.mjs +2 -2
- package/esm2022/model/general400.mjs +1 -1
- package/esm2022/model/general402.mjs +1 -1
- package/esm2022/model/general403.mjs +1 -1
- package/esm2022/model/general404.mjs +1 -1
- package/esm2022/model/general404Detail.mjs +1 -1
- package/esm2022/model/general429.mjs +1 -1
- package/esm2022/model/general500.mjs +1 -1
- package/esm2022/model/infoChangeRequest.mjs +1 -1
- package/esm2022/model/passwordChangeRequest.mjs +2 -2
- package/esm2022/model/processQuota.mjs +1 -1
- package/esm2022/model/processStatistics.mjs +1 -1
- package/esm2022/model/processType.mjs +2 -2
- package/esm2022/model/quotaBase.mjs +1 -1
- package/esm2022/model/quotasResult.mjs +1 -1
- package/esm2022/model/schemaError.mjs +2 -2
- package/esm2022/model/service.mjs +2 -2
- package/esm2022/model/serviceQuota.mjs +1 -1
- package/esm2022/model/serviceStatistics.mjs +1 -1
- package/esm2022/model/tokenRequest.mjs +2 -2
- package/esm2022/model/tokenValidationResult.mjs +1 -1
- package/esm2022/model/tracedata.mjs +1 -1
- package/esm2022/model/user.mjs +1 -1
- package/esm2022/model/userRole.mjs +2 -2
- package/esm2022/model/userStatistics.mjs +1 -1
- package/esm2022/model/versionResult.mjs +2 -2
- package/esm2022/provide-api.mjs +15 -0
- package/fesm2022/veeroute-lss-account-angular.mjs +270 -753
- package/fesm2022/veeroute-lss-account-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/model/accountAuditResult.d.ts +1 -1
- package/model/attribute.d.ts +1 -1
- package/model/auditAction.d.ts +1 -1
- package/model/auditActionStatistics.d.ts +1 -1
- package/model/auditCounters.d.ts +1 -1
- package/model/auditCountersDetail.d.ts +1 -1
- package/model/calculationInfo.d.ts +1 -1
- package/model/calculationStatus.d.ts +1 -1
- package/model/checkResult.d.ts +1 -1
- package/model/dateStatistics.d.ts +1 -1
- package/model/flowStage.d.ts +1 -1
- package/model/flowType.d.ts +1 -1
- package/model/general400.d.ts +1 -1
- package/model/general402.d.ts +1 -1
- package/model/general403.d.ts +1 -1
- package/model/general404.d.ts +1 -1
- package/model/general404Detail.d.ts +1 -1
- package/model/general429.d.ts +1 -1
- package/model/general500.d.ts +1 -1
- package/model/infoChangeRequest.d.ts +1 -1
- package/model/passwordChangeRequest.d.ts +1 -1
- package/model/processQuota.d.ts +1 -1
- package/model/processStatistics.d.ts +1 -1
- package/model/processType.d.ts +1 -1
- package/model/quotaBase.d.ts +1 -1
- package/model/quotasResult.d.ts +1 -1
- package/model/schemaError.d.ts +1 -1
- package/model/service.d.ts +1 -1
- package/model/serviceQuota.d.ts +1 -1
- package/model/serviceStatistics.d.ts +1 -1
- package/model/tokenRequest.d.ts +1 -1
- package/model/tokenValidationResult.d.ts +1 -1
- package/model/tracedata.d.ts +1 -1
- package/model/user.d.ts +1 -1
- package/model/userRole.d.ts +1 -1
- package/model/userStatistics.d.ts +1 -1
- package/model/versionResult.d.ts +1 -1
- package/package.json +1 -1
- package/provide-api.d.ts +3 -0
package/README.md
CHANGED
|
@@ -1,162 +1,163 @@
|
|
|
1
|
-
# @veeroute/lss-account-angular@7.
|
|
1
|
+
# @veeroute/lss-account-angular@7.22.2904
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
# Description Veeroute Account Panel. ## Entity relationship diagram 
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The version of the OpenAPI document: 7.22.2904
|
|
6
6
|
|
|
7
|
+
## Building
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
// without configuring providers
|
|
10
|
-
import { LssAccountApiModule } from '@veeroute/lss-account-angular';
|
|
11
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
9
|
+
To install the required dependencies and to build the typescript sources run:
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// make sure to import the HttpClientModule in the AppModule only,
|
|
17
|
-
// see https://github.com/angular/angular/issues/20575
|
|
18
|
-
HttpClientModule
|
|
19
|
-
],
|
|
20
|
-
declarations: [ AppComponent ],
|
|
21
|
-
providers: [],
|
|
22
|
-
bootstrap: [ AppComponent ]
|
|
23
|
-
})
|
|
24
|
-
export class AppModule {}
|
|
11
|
+
```console
|
|
12
|
+
npm install
|
|
13
|
+
npm run build
|
|
25
14
|
```
|
|
26
15
|
|
|
27
|
-
|
|
28
|
-
// configuring providers
|
|
29
|
-
import { LssAccountApiModule, Configuration, ConfigurationParameters } from '@veeroute/lss-account-angular';
|
|
30
|
-
|
|
31
|
-
export function apiConfigFactory (): Configuration {
|
|
32
|
-
const params: ConfigurationParameters = {
|
|
33
|
-
// set configuration parameters here.
|
|
34
|
-
}
|
|
35
|
-
return new Configuration(params);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@NgModule({
|
|
39
|
-
imports: [ LssAccountApiModule.forRoot(apiConfigFactory) ],
|
|
40
|
-
declarations: [ AppComponent ],
|
|
41
|
-
providers: [],
|
|
42
|
-
bootstrap: [ AppComponent ]
|
|
43
|
-
})
|
|
44
|
-
export class AppModule {}
|
|
45
|
-
```
|
|
16
|
+
## Publishing
|
|
46
17
|
|
|
47
|
-
|
|
48
|
-
// configuring providers with an authentication service that manages your access tokens
|
|
49
|
-
import { LssAccountApiModule, Configuration } from '@veeroute/lss-account-angular';
|
|
18
|
+
First build the package then run `npm publish dist` (don't forget to specify the `dist` folder!)
|
|
50
19
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
basePath: environment.apiUrl,
|
|
60
|
-
accessToken: authService.getAccessToken.bind(authService)
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
deps: [AuthService],
|
|
64
|
-
multi: false
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
bootstrap: [ AppComponent ]
|
|
68
|
-
})
|
|
69
|
-
export class AppModule {}
|
|
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-account-angular@7.22.2904 --save
|
|
70
28
|
```
|
|
71
29
|
|
|
72
|
-
|
|
73
|
-
import { DefaultApi } from '@veeroute/lss-account-angular';
|
|
30
|
+
_without publishing (not recommended):_
|
|
74
31
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
32
|
+
```console
|
|
33
|
+
npm install PATH_TO_GENERATED_PACKAGE/dist.tgz --save
|
|
78
34
|
```
|
|
79
35
|
|
|
80
|
-
|
|
81
|
-
This is to ensure that all services are treated as singletons.
|
|
36
|
+
_It's important to take the tgz file, otherwise you'll get trouble with links on windows_
|
|
82
37
|
|
|
83
|
-
|
|
38
|
+
_using `npm link`:_
|
|
84
39
|
|
|
85
|
-
In
|
|
86
|
-
you can create an alias name when importing the modules
|
|
87
|
-
in order to avoid naming conflicts:
|
|
40
|
+
In PATH_TO_GENERATED_PACKAGE/dist:
|
|
88
41
|
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
42
|
+
```console
|
|
43
|
+
npm link
|
|
44
|
+
```
|
|
93
45
|
|
|
94
|
-
|
|
95
|
-
imports: [
|
|
96
|
-
LssAccountApiModule,
|
|
97
|
-
OtherApiModule,
|
|
98
|
-
// make sure to import the HttpClientModule in the AppModule only,
|
|
99
|
-
// see https://github.com/angular/angular/issues/20575
|
|
100
|
-
HttpClientModule
|
|
101
|
-
]
|
|
102
|
-
})
|
|
103
|
-
export class AppModule {
|
|
46
|
+
In your project:
|
|
104
47
|
|
|
105
|
-
|
|
48
|
+
```console
|
|
49
|
+
npm link @veeroute/lss-account-angular
|
|
106
50
|
```
|
|
107
51
|
|
|
108
|
-
|
|
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
|
|
109
57
|
|
|
110
|
-
|
|
58
|
+
In your Angular project:
|
|
111
59
|
|
|
112
60
|
```typescript
|
|
113
|
-
import { BASE_PATH } from '@veeroute/lss-account-angular';
|
|
114
61
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
62
|
+
import { ApplicationConfig } from '@angular/core';
|
|
63
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
64
|
+
import { provideApi } from '@veeroute/lss-account-angular';
|
|
65
|
+
|
|
66
|
+
export const appConfig: ApplicationConfig = {
|
|
67
|
+
providers: [
|
|
68
|
+
// ...
|
|
69
|
+
provideHttpClient(),
|
|
70
|
+
provideApi()
|
|
71
|
+
],
|
|
72
|
+
};
|
|
118
73
|
```
|
|
119
74
|
|
|
120
|
-
|
|
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 { LssAccountApiModule } from '@veeroute/lss-account-angular';
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
If different from the generated base path, during app bootstrap, you can provide the base path to your service.
|
|
121
82
|
|
|
122
83
|
```typescript
|
|
123
|
-
import {
|
|
84
|
+
import { ApplicationConfig } from '@angular/core';
|
|
85
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
86
|
+
import { provideApi } from '@veeroute/lss-account-angular';
|
|
124
87
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
88
|
+
export const appConfig: ApplicationConfig = {
|
|
89
|
+
providers: [
|
|
90
|
+
// ...
|
|
91
|
+
provideHttpClient(),
|
|
92
|
+
provideApi('http://localhost:9999')
|
|
93
|
+
],
|
|
94
|
+
};
|
|
132
95
|
```
|
|
133
96
|
|
|
134
|
-
|
|
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-account-angular';
|
|
135
102
|
|
|
136
|
-
|
|
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
|
+
```
|
|
137
115
|
|
|
138
116
|
```typescript
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
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-account-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
|
+
],
|
|
142
138
|
};
|
|
143
139
|
```
|
|
144
140
|
|
|
145
|
-
|
|
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
146
|
|
|
147
147
|
```typescript
|
|
148
|
-
import {
|
|
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';
|
|
149
151
|
import { environment } from '../environments/environment';
|
|
150
152
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
export class AppModule { }
|
|
153
|
+
export const appConfig: ApplicationConfig = {
|
|
154
|
+
providers: [
|
|
155
|
+
// ...
|
|
156
|
+
provideHttpClient(),
|
|
157
|
+
provideUserApi(environment.basePath),
|
|
158
|
+
provideAdminApi(environment.basePath),
|
|
159
|
+
],
|
|
160
|
+
};
|
|
160
161
|
```
|
|
161
162
|
|
|
162
163
|
### Customizing path parameter encoding
|
package/api/auditService.d.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { AccountAuditResultAccount } from '../model/accountAuditResult';
|
|
4
4
|
import { Configuration } from '../configuration';
|
|
5
|
+
import { BaseService } from '../api.base.service';
|
|
5
6
|
import { AuditServiceInterface, ReadAuditRequestParams } from './auditServiceInterface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AuditService implements AuditServiceInterface {
|
|
8
|
+
export declare class AuditService extends BaseService implements AuditServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Actions for the period
|
|
18
13
|
* User actions for the period. If the period is not specified, data for the current day is returned - from the beginning of the day to the current time inclusive. If the beginning of the time period is not specified, data from the beginning of the current day is returned. If the end of the time period is not specified, data up to the current time is returned.
|
package/api/authService.d.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { TokenValidationResultAccount } from '../model/tokenValidationResult';
|
|
4
4
|
import { Configuration } from '../configuration';
|
|
5
|
+
import { BaseService } from '../api.base.service';
|
|
5
6
|
import { AuthServiceInterface, ChangePasswordRequestParams, RunTokenGenerationRequestParams, RunTokenValidationRequestParams } from './authServiceInterface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AuthService implements AuthServiceInterface {
|
|
8
|
+
export declare class AuthService extends BaseService implements AuthServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Change password
|
|
18
13
|
* Change password and get new token.
|
package/api/dataService.d.ts
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Configuration } from '../configuration';
|
|
4
|
+
import { BaseService } from '../api.base.service';
|
|
4
5
|
import { DataServiceInterface, ReadDataRequestParams } from './dataServiceInterface';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DataService implements DataServiceInterface {
|
|
7
|
+
export declare class DataService extends BaseService implements DataServiceInterface {
|
|
7
8
|
protected httpClient: HttpClient;
|
|
8
|
-
|
|
9
|
-
defaultHeaders: HttpHeaders;
|
|
10
|
-
configuration: Configuration;
|
|
11
|
-
encoder: HttpParameterCodec;
|
|
12
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
-
private addToHttpParams;
|
|
14
|
-
private addToHttpParamsRecursive;
|
|
9
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
15
10
|
/**
|
|
16
11
|
* Reading input data
|
|
17
12
|
* Receiving an incoming request by `tracedata.process_code`.
|
package/api/infoService.d.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { UserAccount } from '../model/user';
|
|
4
4
|
import { Configuration } from '../configuration';
|
|
5
|
+
import { BaseService } from '../api.base.service';
|
|
5
6
|
import { InfoServiceInterface, UpdateInfoRequestParams } from './infoServiceInterface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class InfoService implements InfoServiceInterface {
|
|
8
|
+
export declare class InfoService extends BaseService implements InfoServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Account information
|
|
18
13
|
* Getting a account information.
|
package/api/quotaService.d.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { QuotasResultAccount } from '../model/quotasResult';
|
|
4
4
|
import { Configuration } from '../configuration';
|
|
5
|
+
import { BaseService } from '../api.base.service';
|
|
5
6
|
import { QuotaServiceInterface } from './quotaServiceInterface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class QuotaService implements QuotaServiceInterface {
|
|
8
|
+
export declare class QuotaService extends BaseService implements QuotaServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Obtaining the quotas
|
|
18
13
|
* Obtaining the quotas for the user.
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { UserStatisticsAccount } from '../model/userStatistics';
|
|
4
4
|
import { Configuration } from '../configuration';
|
|
5
|
+
import { BaseService } from '../api.base.service';
|
|
5
6
|
import { StatisticsServiceInterface, GenerateReportRequestParams, GenerateStatisticsRequestParams } from './statisticsServiceInterface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StatisticsService implements StatisticsServiceInterface {
|
|
8
|
+
export declare class StatisticsService extends BaseService implements StatisticsServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Report creating
|
|
18
13
|
* Creating report with usage statistics. If the period is not specified, records are returned from the beginning of the month to the present day (excluding). If no `from` datetime is specified, data are returned from the beginning of the month. If no `to` datetime is specified, data are returned be the the present day (excluding). Empty service and process type fields mean returning statistics for all services and process types.
|
package/api/systemService.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { CheckResultAccount } from '../model/checkResult';
|
|
4
4
|
import { VersionResultAccount } from '../model/versionResult';
|
|
5
5
|
import { Configuration } from '../configuration';
|
|
6
|
+
import { BaseService } from '../api.base.service';
|
|
6
7
|
import { SystemServiceInterface, FileRequestParams } from './systemServiceInterface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SystemService implements SystemServiceInterface {
|
|
9
|
+
export declare class SystemService extends BaseService implements SystemServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* Checking the availability
|
|
19
14
|
* Checking the service availability.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VRt.Account [AC]
|
|
3
|
+
*
|
|
4
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
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, HttpParams, HttpParameterCodec } from '@angular/common/http';
|
|
11
|
+
import { Configuration } from './configuration';
|
|
12
|
+
export declare class BaseService {
|
|
13
|
+
protected basePath: string;
|
|
14
|
+
defaultHeaders: HttpHeaders;
|
|
15
|
+
configuration: Configuration;
|
|
16
|
+
encoder: HttpParameterCodec;
|
|
17
|
+
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
18
|
+
protected canConsumeForm(consumes: string[]): boolean;
|
|
19
|
+
protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
|
|
20
|
+
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
|
|
21
|
+
}
|
package/configuration.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
1
|
+
import { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http';
|
|
2
2
|
import { Param } from './param';
|
|
3
3
|
export interface ConfigurationParameters {
|
|
4
4
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class Configuration {
|
|
|
71
71
|
credentials: {
|
|
72
72
|
[key: string]: string | (() => string | undefined);
|
|
73
73
|
};
|
|
74
|
-
constructor(
|
|
74
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
|
|
75
75
|
/**
|
|
76
76
|
* Select the correct content-type to use for a request.
|
|
77
77
|
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
@@ -100,5 +100,7 @@ export declare class Configuration {
|
|
|
100
100
|
*/
|
|
101
101
|
isJsonMime(mime: string): boolean;
|
|
102
102
|
lookupCredential(key: string): string | undefined;
|
|
103
|
+
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
104
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
|
|
103
105
|
private defaultEncodeParam;
|
|
104
106
|
}
|