Cleaned code
This commit is contained in:
@@ -7,8 +7,10 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class GroupChatComponent implements OnInit {
|
export class GroupChatComponent implements OnInit {
|
||||||
|
|
||||||
constructor() { }
|
constructor() {
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,7 +95,8 @@ export class GroupInfoComponent implements OnInit {
|
|||||||
await loading.dismiss();
|
await loading.dismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
addToGroup(){}
|
addToGroup() {
|
||||||
|
}
|
||||||
|
|
||||||
async deleteGroup() {
|
async deleteGroup() {
|
||||||
const loading = await this.loadCtrl.create({
|
const loading = await this.loadCtrl.create({
|
||||||
|
|||||||
@@ -7,8 +7,10 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class MessageFormComponent implements OnInit {
|
export class MessageFormComponent implements OnInit {
|
||||||
|
|
||||||
constructor() { }
|
constructor() {
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,10 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class MessageComponent implements OnInit {
|
export class MessageComponent implements OnInit {
|
||||||
|
|
||||||
constructor() { }
|
constructor() {
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,8 @@
|
|||||||
<p class="mb-0 font-bold">{{ user.username }}</p>
|
<p class="mb-0 font-bold">{{ user.username }}</p>
|
||||||
<p class="mt-0 text-xs text-gray-500">{{ user.getUserStatsDto.totalChallenge }} défis réalisés</p>
|
<p class="mt-0 text-xs text-gray-500">{{ user.getUserStatsDto.totalChallenge }} défis réalisés</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-gray-400 m-0"><strong class="text-black">{{ user.getUserStatsDto.totalLikes }}</strong> pts
|
<p class="text-gray-400 m-0"><strong class="text-black">{{ user.getUserStatsDto.totalLikes }}</strong>
|
||||||
|
pts
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,9 @@ export const appConfig: ApplicationConfig = {
|
|||||||
```
|
```
|
||||||
|
|
||||||
**NOTE**
|
**NOTE**
|
||||||
If you're still using `AppModule` and haven't [migrated](https://angular.dev/reference/migrations/standalone) yet, you can still import an Angular module:
|
If you're still using `AppModule` and haven't [migrated](https://angular.dev/reference/migrations/standalone) yet, you
|
||||||
|
can still import an Angular module:
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import {ApiModule} from '';
|
import {ApiModule} from '';
|
||||||
```
|
```
|
||||||
@@ -181,5 +183,7 @@ new Configuration({
|
|||||||
```
|
```
|
||||||
|
|
||||||
[parameter-locations-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-locations
|
[parameter-locations-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-locations
|
||||||
|
|
||||||
[style-values-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values
|
[style-values-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values
|
||||||
|
|
||||||
[@honoluluhenk/http-param-expander]: https://www.npmjs.com/package/@honoluluhenk/http-param-expander
|
[@honoluluhenk/http-param-expander]: https://www.npmjs.com/package/@honoluluhenk/http-param-expander
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -27,7 +28,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -43,10 +43,26 @@ export class AchievementsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllAchievementsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetAchievementDto>>;
|
public getAllAchievementsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllAchievementsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetAchievementDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllAchievementsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetAchievementDto>>>;
|
context?: HttpContext,
|
||||||
public getAllAchievementsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetAchievementDto>>;
|
||||||
|
public getAllAchievementsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetAchievementDto>>>;
|
||||||
|
public getAllAchievementsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetAchievementDto>>>;
|
||||||
|
public getAllAchievementsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -97,10 +113,26 @@ export class AchievementsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getLockedAchievementsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetAchievementDto>>;
|
public getLockedAchievementsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getLockedAchievementsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetAchievementDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getLockedAchievementsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetAchievementDto>>>;
|
context?: HttpContext,
|
||||||
public getLockedAchievementsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetAchievementDto>>;
|
||||||
|
public getLockedAchievementsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetAchievementDto>>>;
|
||||||
|
public getLockedAchievementsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetAchievementDto>>>;
|
||||||
|
public getLockedAchievementsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -151,10 +183,26 @@ export class AchievementsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getUserAchievementsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetAchievementDto>>;
|
public getUserAchievementsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getUserAchievementsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetAchievementDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getUserAchievementsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetAchievementDto>>>;
|
context?: HttpContext,
|
||||||
public getUserAchievementsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetAchievementDto>>;
|
||||||
|
public getUserAchievementsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetAchievementDto>>>;
|
||||||
|
public getUserAchievementsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetAchievementDto>>>;
|
||||||
|
public getUserAchievementsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -206,10 +254,26 @@ export class AchievementsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public unlockAchievementEndpoint(achievementId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public unlockAchievementEndpoint(achievementId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public unlockAchievementEndpoint(achievementId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public unlockAchievementEndpoint(achievementId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public unlockAchievementEndpoint(achievementId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public unlockAchievementEndpoint(achievementId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public unlockAchievementEndpoint(achievementId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public unlockAchievementEndpoint(achievementId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (achievementId === null || achievementId === undefined) {
|
if (achievementId === null || achievementId === undefined) {
|
||||||
throw new Error('Required parameter achievementId was null or undefined when calling unlockAchievementEndpoint.');
|
throw new Error('Required parameter achievementId was null or undefined when calling unlockAchievementEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -242,7 +306,15 @@ export class AchievementsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Achievements/${this.configuration.encodeParam({name: "achievementId", value: achievementId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Users`;
|
let localVarPath = `/API/Achievements/${this.configuration.encodeParam({
|
||||||
|
name: "achievementId",
|
||||||
|
value: achievementId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Users`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,21 +1,31 @@
|
|||||||
export * from './achievements.service';
|
export * from './achievements.service';
|
||||||
import {AchievementsService} from './achievements.service';
|
import {AchievementsService} from './achievements.service';
|
||||||
|
|
||||||
export * from './auth.service';
|
export * from './auth.service';
|
||||||
import {AuthService} from './auth.service';
|
import {AuthService} from './auth.service';
|
||||||
|
|
||||||
export * from './designations.service';
|
export * from './designations.service';
|
||||||
import {DesignationsService} from './designations.service';
|
import {DesignationsService} from './designations.service';
|
||||||
|
|
||||||
export * from './friends.service';
|
export * from './friends.service';
|
||||||
import {FriendsService} from './friends.service';
|
import {FriendsService} from './friends.service';
|
||||||
|
|
||||||
export * from './groups.service';
|
export * from './groups.service';
|
||||||
import {GroupsService} from './groups.service';
|
import {GroupsService} from './groups.service';
|
||||||
|
|
||||||
export * from './messages.service';
|
export * from './messages.service';
|
||||||
import {MessagesService} from './messages.service';
|
import {MessagesService} from './messages.service';
|
||||||
|
|
||||||
export * from './overallranking.service';
|
export * from './overallranking.service';
|
||||||
import {OverallrankingService} from './overallranking.service';
|
import {OverallrankingService} from './overallranking.service';
|
||||||
|
|
||||||
export * from './posts.service';
|
export * from './posts.service';
|
||||||
import {PostsService} from './posts.service';
|
import {PostsService} from './posts.service';
|
||||||
|
|
||||||
export * from './randomchallenges.service';
|
export * from './randomchallenges.service';
|
||||||
import {RandomchallengesService} from './randomchallenges.service';
|
import {RandomchallengesService} from './randomchallenges.service';
|
||||||
|
|
||||||
export * from './users.service';
|
export * from './users.service';
|
||||||
import {UsersService} from './users.service';
|
import {UsersService} from './users.service';
|
||||||
|
|
||||||
export const APIS = [AchievementsService, AuthService, DesignationsService, FriendsService, GroupsService, MessagesService, OverallrankingService, PostsService, RandomchallengesService, UsersService];
|
export const APIS = [AchievementsService, AuthService, DesignationsService, FriendsService, GroupsService, MessagesService, OverallrankingService, PostsService, RandomchallengesService, UsersService];
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -31,7 +32,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -48,10 +48,26 @@ export class AuthService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public loginEndpoint(loginDto: LoginDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<GetTokenDto>;
|
public loginEndpoint(loginDto: LoginDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public loginEndpoint(loginDto: LoginDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetTokenDto>>;
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
public loginEndpoint(loginDto: LoginDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetTokenDto>>;
|
context?: HttpContext,
|
||||||
public loginEndpoint(loginDto: LoginDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetTokenDto>;
|
||||||
|
public loginEndpoint(loginDto: LoginDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetTokenDto>>;
|
||||||
|
public loginEndpoint(loginDto: LoginDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetTokenDto>>;
|
||||||
|
public loginEndpoint(loginDto: LoginDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (loginDto === null || loginDto === undefined) {
|
if (loginDto === null || loginDto === undefined) {
|
||||||
throw new Error('Required parameter loginDto was null or undefined when calling loginEndpoint.');
|
throw new Error('Required parameter loginDto was null or undefined when calling loginEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -114,10 +130,26 @@ export class AuthService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<GetTokenDto>;
|
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetTokenDto>>;
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetTokenDto>>;
|
context?: HttpContext,
|
||||||
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetTokenDto>;
|
||||||
|
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetTokenDto>>;
|
||||||
|
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetTokenDto>>;
|
||||||
|
public refreshTokenEndpoint(refreshTokenDto: RefreshTokenDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json' | 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (refreshTokenDto === null || refreshTokenDto === undefined) {
|
if (refreshTokenDto === null || refreshTokenDto === undefined) {
|
||||||
throw new Error('Required parameter refreshTokenDto was null or undefined when calling refreshTokenEndpoint.');
|
throw new Error('Required parameter refreshTokenDto was null or undefined when calling refreshTokenEndpoint.');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -25,7 +26,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -41,10 +41,26 @@ export class DesignationsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllDesignationsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetDesignationDto>>;
|
public getAllDesignationsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllDesignationsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetDesignationDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllDesignationsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetDesignationDto>>>;
|
context?: HttpContext,
|
||||||
public getAllDesignationsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetDesignationDto>>;
|
||||||
|
public getAllDesignationsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetDesignationDto>>>;
|
||||||
|
public getAllDesignationsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetDesignationDto>>>;
|
||||||
|
public getAllDesignationsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -27,7 +28,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -44,10 +44,26 @@ export class FriendsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public acceptFriendRequestEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public acceptFriendRequestEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public acceptFriendRequestEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public acceptFriendRequestEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public acceptFriendRequestEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public acceptFriendRequestEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public acceptFriendRequestEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public acceptFriendRequestEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (friendId === null || friendId === undefined) {
|
if (friendId === null || friendId === undefined) {
|
||||||
throw new Error('Required parameter friendId was null or undefined when calling acceptFriendRequestEndpoint.');
|
throw new Error('Required parameter friendId was null or undefined when calling acceptFriendRequestEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -57,8 +73,7 @@ export class FriendsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -79,7 +94,15 @@ export class FriendsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Friends/${this.configuration.encodeParam({name: "friendId", value: friendId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Request`;
|
let localVarPath = `/API/Friends/${this.configuration.encodeParam({
|
||||||
|
name: "friendId",
|
||||||
|
value: friendId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Request`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('put', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('put', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -101,10 +124,26 @@ export class FriendsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public deleteFriendEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public deleteFriendEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public deleteFriendEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public deleteFriendEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public deleteFriendEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public deleteFriendEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public deleteFriendEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public deleteFriendEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (friendId === null || friendId === undefined) {
|
if (friendId === null || friendId === undefined) {
|
||||||
throw new Error('Required parameter friendId was null or undefined when calling deleteFriendEndpoint.');
|
throw new Error('Required parameter friendId was null or undefined when calling deleteFriendEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -114,8 +153,7 @@ export class FriendsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -136,7 +174,15 @@ export class FriendsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Friends/${this.configuration.encodeParam({name: "friendId", value: friendId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Friends/${this.configuration.encodeParam({
|
||||||
|
name: "friendId",
|
||||||
|
value: friendId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -157,10 +203,26 @@ export class FriendsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllFriendRequestsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetFriendRequestDto>>;
|
public getAllFriendRequestsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllFriendRequestsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetFriendRequestDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllFriendRequestsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetFriendRequestDto>>>;
|
context?: HttpContext,
|
||||||
public getAllFriendRequestsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetFriendRequestDto>>;
|
||||||
|
public getAllFriendRequestsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetFriendRequestDto>>>;
|
||||||
|
public getAllFriendRequestsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetFriendRequestDto>>>;
|
||||||
|
public getAllFriendRequestsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -211,10 +273,26 @@ export class FriendsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllFriendsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetFriendDto>>;
|
public getAllFriendsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllFriendsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetFriendDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllFriendsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetFriendDto>>>;
|
context?: HttpContext,
|
||||||
public getAllFriendsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetFriendDto>>;
|
||||||
|
public getAllFriendsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetFriendDto>>>;
|
||||||
|
public getAllFriendsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetFriendDto>>>;
|
||||||
|
public getAllFriendsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -266,10 +344,26 @@ export class FriendsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public rejectFriendRequestEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public rejectFriendRequestEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public rejectFriendRequestEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public rejectFriendRequestEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public rejectFriendRequestEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public rejectFriendRequestEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public rejectFriendRequestEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public rejectFriendRequestEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (friendId === null || friendId === undefined) {
|
if (friendId === null || friendId === undefined) {
|
||||||
throw new Error('Required parameter friendId was null or undefined when calling rejectFriendRequestEndpoint.');
|
throw new Error('Required parameter friendId was null or undefined when calling rejectFriendRequestEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -279,8 +373,7 @@ export class FriendsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -301,7 +394,15 @@ export class FriendsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Friends/${this.configuration.encodeParam({name: "friendId", value: friendId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Request`;
|
let localVarPath = `/API/Friends/${this.configuration.encodeParam({
|
||||||
|
name: "friendId",
|
||||||
|
value: friendId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Request`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -323,10 +424,26 @@ export class FriendsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public sendFriendRequestEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public sendFriendRequestEndpoint(friendId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public sendFriendRequestEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public sendFriendRequestEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public sendFriendRequestEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public sendFriendRequestEndpoint(friendId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public sendFriendRequestEndpoint(friendId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public sendFriendRequestEndpoint(friendId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (friendId === null || friendId === undefined) {
|
if (friendId === null || friendId === undefined) {
|
||||||
throw new Error('Required parameter friendId was null or undefined when calling sendFriendRequestEndpoint.');
|
throw new Error('Required parameter friendId was null or undefined when calling sendFriendRequestEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -336,8 +453,7 @@ export class FriendsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -358,7 +474,15 @@ export class FriendsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Friends/${this.configuration.encodeParam({name: "friendId", value: friendId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Friends/${this.configuration.encodeParam({
|
||||||
|
name: "friendId",
|
||||||
|
value: friendId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -33,7 +34,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -51,10 +51,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public addUserToGroupEndpoint(groupId: number, userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public addUserToGroupEndpoint(groupId: number, userId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public addUserToGroupEndpoint(groupId: number, userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public addUserToGroupEndpoint(groupId: number, userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public addUserToGroupEndpoint(groupId: number, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public addUserToGroupEndpoint(groupId: number, userId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public addUserToGroupEndpoint(groupId: number, userId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public addUserToGroupEndpoint(groupId: number, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (groupId === null || groupId === undefined) {
|
if (groupId === null || groupId === undefined) {
|
||||||
throw new Error('Required parameter groupId was null or undefined when calling addUserToGroupEndpoint.');
|
throw new Error('Required parameter groupId was null or undefined when calling addUserToGroupEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -67,8 +83,7 @@ export class GroupsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -89,7 +104,23 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "groupId",
|
||||||
|
value: groupId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Users/${this.configuration.encodeParam({
|
||||||
|
name: "userId",
|
||||||
|
value: userId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -111,10 +142,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public createGroupEndpoint(createGroupDto: CreateGroupDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (createGroupDto === null || createGroupDto === undefined) {
|
if (createGroupDto === null || createGroupDto === undefined) {
|
||||||
throw new Error('Required parameter createGroupDto was null or undefined when calling createGroupEndpoint.');
|
throw new Error('Required parameter createGroupDto was null or undefined when calling createGroupEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -179,10 +226,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public deleteGroupEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public deleteGroupEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public deleteGroupEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public deleteGroupEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public deleteGroupEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public deleteGroupEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public deleteGroupEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public deleteGroupEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (id === null || id === undefined) {
|
if (id === null || id === undefined) {
|
||||||
throw new Error('Required parameter id was null or undefined when calling deleteGroupEndpoint.');
|
throw new Error('Required parameter id was null or undefined when calling deleteGroupEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -192,8 +255,7 @@ export class GroupsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -214,7 +276,15 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "id",
|
||||||
|
value: id,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -237,10 +307,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public deleteUserFromGroupEndpoint(groupId: number, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (groupId === null || groupId === undefined) {
|
if (groupId === null || groupId === undefined) {
|
||||||
throw new Error('Required parameter groupId was null or undefined when calling deleteUserFromGroupEndpoint.');
|
throw new Error('Required parameter groupId was null or undefined when calling deleteUserFromGroupEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -253,8 +339,7 @@ export class GroupsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -275,7 +360,23 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "groupId",
|
||||||
|
value: groupId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Users/${this.configuration.encodeParam({
|
||||||
|
name: "userId",
|
||||||
|
value: userId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -297,10 +398,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllGroupUsersEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetUserGroupDto>>;
|
public getAllGroupUsersEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllGroupUsersEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetUserGroupDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllGroupUsersEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetUserGroupDto>>>;
|
context?: HttpContext,
|
||||||
public getAllGroupUsersEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetUserGroupDto>>;
|
||||||
|
public getAllGroupUsersEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetUserGroupDto>>>;
|
||||||
|
public getAllGroupUsersEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetUserGroupDto>>>;
|
||||||
|
public getAllGroupUsersEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (id === null || id === undefined) {
|
if (id === null || id === undefined) {
|
||||||
throw new Error('Required parameter id was null or undefined when calling getAllGroupUsersEndpoint.');
|
throw new Error('Required parameter id was null or undefined when calling getAllGroupUsersEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -333,7 +450,15 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Users`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "id",
|
||||||
|
value: id,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Users`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<Array<GetUserGroupDto>>('get', `${basePath}${localVarPath}`,
|
return this.httpClient.request<Array<GetUserGroupDto>>('get', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -354,10 +479,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllGroupsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetGroupDto>>;
|
public getAllGroupsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllGroupsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetGroupDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllGroupsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetGroupDto>>>;
|
context?: HttpContext,
|
||||||
public getAllGroupsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetGroupDto>>;
|
||||||
|
public getAllGroupsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetGroupDto>>>;
|
||||||
|
public getAllGroupsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetGroupDto>>>;
|
||||||
|
public getAllGroupsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -409,10 +550,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getGroupDetailsEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetGroupDetailsDto>;
|
public getGroupDetailsEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getGroupDetailsEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetGroupDetailsDto>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getGroupDetailsEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetGroupDetailsDto>>;
|
context?: HttpContext,
|
||||||
public getGroupDetailsEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetGroupDetailsDto>;
|
||||||
|
public getGroupDetailsEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetGroupDetailsDto>>;
|
||||||
|
public getGroupDetailsEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetGroupDetailsDto>>;
|
||||||
|
public getGroupDetailsEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (id === null || id === undefined) {
|
if (id === null || id === undefined) {
|
||||||
throw new Error('Required parameter id was null or undefined when calling getGroupDetailsEndpoint.');
|
throw new Error('Required parameter id was null or undefined when calling getGroupDetailsEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -445,7 +602,15 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "id",
|
||||||
|
value: id,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<GetGroupDetailsDto>('get', `${basePath}${localVarPath}`,
|
return this.httpClient.request<GetGroupDetailsDto>('get', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -467,10 +632,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public leaveGroupEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public leaveGroupEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public leaveGroupEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public leaveGroupEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public leaveGroupEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public leaveGroupEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public leaveGroupEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public leaveGroupEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (id === null || id === undefined) {
|
if (id === null || id === undefined) {
|
||||||
throw new Error('Required parameter id was null or undefined when calling leaveGroupEndpoint.');
|
throw new Error('Required parameter id was null or undefined when calling leaveGroupEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -480,8 +661,7 @@ export class GroupsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -502,7 +682,15 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/User`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "id",
|
||||||
|
value: id,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/User`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -525,10 +713,26 @@ export class GroupsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetGroupDetailsDto>;
|
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetGroupDetailsDto>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetGroupDetailsDto>>;
|
context?: HttpContext,
|
||||||
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetGroupDetailsDto>;
|
||||||
|
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetGroupDetailsDto>>;
|
||||||
|
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetGroupDetailsDto>>;
|
||||||
|
public patchGroupUserRoleEndpoint(groupId: number, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (groupId === null || groupId === undefined) {
|
if (groupId === null || groupId === undefined) {
|
||||||
throw new Error('Required parameter groupId was null or undefined when calling patchGroupUserRoleEndpoint.');
|
throw new Error('Required parameter groupId was null or undefined when calling patchGroupUserRoleEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -564,7 +768,23 @@ export class GroupsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Groups/${this.configuration.encodeParam({name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Role`;
|
let localVarPath = `/API/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "groupId",
|
||||||
|
value: groupId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Users/${this.configuration.encodeParam({
|
||||||
|
name: "userId",
|
||||||
|
value: userId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Role`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<GetGroupDetailsDto>('patch', `${basePath}${localVarPath}`,
|
return this.httpClient.request<GetGroupDetailsDto>('patch', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -29,7 +30,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -47,10 +47,26 @@ export class MessagesService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public deleteMessageEndpoint(id: number, groupId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public deleteMessageEndpoint(id: number, groupId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public deleteMessageEndpoint(id: number, groupId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public deleteMessageEndpoint(id: number, groupId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public deleteMessageEndpoint(id: number, groupId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public deleteMessageEndpoint(id: number, groupId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public deleteMessageEndpoint(id: number, groupId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public deleteMessageEndpoint(id: number, groupId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (id === null || id === undefined) {
|
if (id === null || id === undefined) {
|
||||||
throw new Error('Required parameter id was null or undefined when calling deleteMessageEndpoint.');
|
throw new Error('Required parameter id was null or undefined when calling deleteMessageEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -63,8 +79,7 @@ export class MessagesService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -85,7 +100,23 @@ export class MessagesService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Messages/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Groups/${this.configuration.encodeParam({name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Messages/${this.configuration.encodeParam({
|
||||||
|
name: "id",
|
||||||
|
value: id,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "groupId",
|
||||||
|
value: groupId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -107,10 +138,26 @@ export class MessagesService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getMessagesEndpoint(groupId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetMessageDto>>;
|
public getMessagesEndpoint(groupId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getMessagesEndpoint(groupId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetMessageDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getMessagesEndpoint(groupId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetMessageDto>>>;
|
context?: HttpContext,
|
||||||
public getMessagesEndpoint(groupId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetMessageDto>>;
|
||||||
|
public getMessagesEndpoint(groupId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetMessageDto>>>;
|
||||||
|
public getMessagesEndpoint(groupId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetMessageDto>>>;
|
||||||
|
public getMessagesEndpoint(groupId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (groupId === null || groupId === undefined) {
|
if (groupId === null || groupId === undefined) {
|
||||||
throw new Error('Required parameter groupId was null or undefined when calling getMessagesEndpoint.');
|
throw new Error('Required parameter groupId was null or undefined when calling getMessagesEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -143,7 +190,15 @@ export class MessagesService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Messages/Groups/${this.configuration.encodeParam({name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Messages/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "groupId",
|
||||||
|
value: groupId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<Array<GetMessageDto>>('get', `${basePath}${localVarPath}`,
|
return this.httpClient.request<Array<GetMessageDto>>('get', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -166,10 +221,26 @@ export class MessagesService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public sendMessageEndpoint(groupId: number, createMessageDto: CreateMessageDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (groupId === null || groupId === undefined) {
|
if (groupId === null || groupId === undefined) {
|
||||||
throw new Error('Required parameter groupId was null or undefined when calling sendMessageEndpoint.');
|
throw new Error('Required parameter groupId was null or undefined when calling sendMessageEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -214,7 +285,15 @@ export class MessagesService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Messages/Groups/${this.configuration.encodeParam({name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Messages/Groups/${this.configuration.encodeParam({
|
||||||
|
name: "groupId",
|
||||||
|
value: groupId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -25,7 +26,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -41,10 +41,26 @@ export class OverallrankingService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getOverallRankingEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetUserDto>>;
|
public getOverallRankingEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getOverallRankingEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetUserDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getOverallRankingEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetUserDto>>>;
|
context?: HttpContext,
|
||||||
public getOverallRankingEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetUserDto>>;
|
||||||
|
public getOverallRankingEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetUserDto>>>;
|
||||||
|
public getOverallRankingEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetUserDto>>>;
|
||||||
|
public getOverallRankingEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -25,7 +26,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -41,10 +41,26 @@ export class PostsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllPostsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetPostDto>>;
|
public getAllPostsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllPostsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetPostDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllPostsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetPostDto>>>;
|
context?: HttpContext,
|
||||||
public getAllPostsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetPostDto>>;
|
||||||
|
public getAllPostsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetPostDto>>>;
|
||||||
|
public getAllPostsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetPostDto>>>;
|
||||||
|
public getAllPostsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -96,10 +112,26 @@ export class PostsService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public patchLikeEndpoint(postId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public patchLikeEndpoint(postId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public patchLikeEndpoint(postId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public patchLikeEndpoint(postId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public patchLikeEndpoint(postId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public patchLikeEndpoint(postId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public patchLikeEndpoint(postId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public patchLikeEndpoint(postId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (postId === null || postId === undefined) {
|
if (postId === null || postId === undefined) {
|
||||||
throw new Error('Required parameter postId was null or undefined when calling patchLikeEndpoint.');
|
throw new Error('Required parameter postId was null or undefined when calling patchLikeEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -109,8 +141,7 @@ export class PostsService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -131,7 +162,15 @@ export class PostsService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Posts/${this.configuration.encodeParam({name: "postId", value: postId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Like`;
|
let localVarPath = `/API/Posts/${this.configuration.encodeParam({
|
||||||
|
name: "postId",
|
||||||
|
value: postId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Like`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('patch', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('patch', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -25,7 +26,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -41,10 +41,26 @@ export class RandomchallengesService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public generateRandomChallengeEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetRandomChallengeDto>;
|
public generateRandomChallengeEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public generateRandomChallengeEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetRandomChallengeDto>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public generateRandomChallengeEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetRandomChallengeDto>>;
|
context?: HttpContext,
|
||||||
public generateRandomChallengeEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetRandomChallengeDto>;
|
||||||
|
public generateRandomChallengeEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetRandomChallengeDto>>;
|
||||||
|
public generateRandomChallengeEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetRandomChallengeDto>>;
|
||||||
|
public generateRandomChallengeEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -96,10 +112,26 @@ export class RandomchallengesService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getRandomChallengeEndpoint(randomChallengeId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetRandomChallengeDto>;
|
public getRandomChallengeEndpoint(randomChallengeId: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getRandomChallengeEndpoint(randomChallengeId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetRandomChallengeDto>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getRandomChallengeEndpoint(randomChallengeId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetRandomChallengeDto>>;
|
context?: HttpContext,
|
||||||
public getRandomChallengeEndpoint(randomChallengeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetRandomChallengeDto>;
|
||||||
|
public getRandomChallengeEndpoint(randomChallengeId: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetRandomChallengeDto>>;
|
||||||
|
public getRandomChallengeEndpoint(randomChallengeId: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetRandomChallengeDto>>;
|
||||||
|
public getRandomChallengeEndpoint(randomChallengeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (randomChallengeId === null || randomChallengeId === undefined) {
|
if (randomChallengeId === null || randomChallengeId === undefined) {
|
||||||
throw new Error('Required parameter randomChallengeId was null or undefined when calling getRandomChallengeEndpoint.');
|
throw new Error('Required parameter randomChallengeId was null or undefined when calling getRandomChallengeEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -132,7 +164,15 @@ export class RandomchallengesService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/RandomChallenges/${this.configuration.encodeParam({name: "randomChallengeId", value: randomChallengeId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/RandomChallenges/${this.configuration.encodeParam({
|
||||||
|
name: "randomChallengeId",
|
||||||
|
value: randomChallengeId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<GetRandomChallengeDto>('get', `${basePath}${localVarPath}`,
|
return this.httpClient.request<GetRandomChallengeDto>('get', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -156,10 +196,26 @@ export class RandomchallengesService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public patchProofEndpoint(randomChallengeId: number, libelle?: string, proof?: Blob, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (randomChallengeId === null || randomChallengeId === undefined) {
|
if (randomChallengeId === null || randomChallengeId === undefined) {
|
||||||
throw new Error('Required parameter randomChallengeId was null or undefined when calling patchProofEndpoint.');
|
throw new Error('Required parameter randomChallengeId was null or undefined when calling patchProofEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -169,8 +225,7 @@ export class RandomchallengesService extends BaseService {
|
|||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -216,7 +271,15 @@ export class RandomchallengesService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/RandomChallenges/${this.configuration.encodeParam({name: "randomChallengeId", value: randomChallengeId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/Proof`;
|
let localVarPath = `/API/RandomChallenges/${this.configuration.encodeParam({
|
||||||
|
name: "randomChallengeId",
|
||||||
|
value: randomChallengeId,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}/Proof`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<any>('patch', `${basePath}${localVarPath}`,
|
return this.httpClient.request<any>('patch', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
import {Inject, Injectable, Optional} from '@angular/core';
|
import {Inject, Injectable, Optional} from '@angular/core';
|
||||||
import { HttpClient, HttpHeaders, HttpParams,
|
import {
|
||||||
|
HttpClient, HttpHeaders, HttpParams,
|
||||||
HttpResponse, HttpEvent, HttpContext
|
HttpResponse, HttpEvent, HttpContext
|
||||||
} from '@angular/common/http';
|
} from '@angular/common/http';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
@@ -41,7 +42,6 @@ import { Configuration } from '../configurat
|
|||||||
import {BaseService} from '../api.base.service';
|
import {BaseService} from '../api.base.service';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -58,10 +58,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public createUserEndpoint(createUserDto: CreateUserDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public createUserEndpoint(createUserDto: CreateUserDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public createUserEndpoint(createUserDto: CreateUserDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public createUserEndpoint(createUserDto: CreateUserDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public createUserEndpoint(createUserDto: CreateUserDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public createUserEndpoint(createUserDto: CreateUserDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public createUserEndpoint(createUserDto: CreateUserDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public createUserEndpoint(createUserDto: CreateUserDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (createUserDto === null || createUserDto === undefined) {
|
if (createUserDto === null || createUserDto === undefined) {
|
||||||
throw new Error('Required parameter createUserDto was null or undefined when calling createUserEndpoint.');
|
throw new Error('Required parameter createUserDto was null or undefined when calling createUserEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -122,18 +138,33 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public deleteUserEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public deleteUserEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public deleteUserEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: undefined,
|
||||||
public deleteUserEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public deleteUserEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public deleteUserEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public deleteUserEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public deleteUserEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: undefined,
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
// authentication (JWTBearerAuth) required
|
// authentication (JWTBearerAuth) required
|
||||||
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
localVarHeaders = this.configuration.addCredentialToHeaders('JWTBearerAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
||||||
|
|
||||||
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
||||||
]);
|
|
||||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||||
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
||||||
}
|
}
|
||||||
@@ -175,10 +206,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllUserChallengesEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetUserChallengeDto>>;
|
public getAllUserChallengesEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllUserChallengesEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetUserChallengeDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllUserChallengesEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetUserChallengeDto>>>;
|
context?: HttpContext,
|
||||||
public getAllUserChallengesEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetUserChallengeDto>>;
|
||||||
|
public getAllUserChallengesEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetUserChallengeDto>>>;
|
||||||
|
public getAllUserChallengesEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetUserChallengeDto>>>;
|
||||||
|
public getAllUserChallengesEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -229,10 +276,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllUserProofsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetUserProofDto>>;
|
public getAllUserProofsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllUserProofsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetUserProofDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllUserProofsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetUserProofDto>>>;
|
context?: HttpContext,
|
||||||
public getAllUserProofsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetUserProofDto>>;
|
||||||
|
public getAllUserProofsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetUserProofDto>>>;
|
||||||
|
public getAllUserProofsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetUserProofDto>>>;
|
||||||
|
public getAllUserProofsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -283,10 +346,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getAllUsersEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<GetUserDto>>;
|
public getAllUsersEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getAllUsersEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<GetUserDto>>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getAllUsersEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<GetUserDto>>>;
|
context?: HttpContext,
|
||||||
public getAllUsersEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<Array<GetUserDto>>;
|
||||||
|
public getAllUsersEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<Array<GetUserDto>>>;
|
||||||
|
public getAllUsersEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<Array<GetUserDto>>>;
|
||||||
|
public getAllUsersEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -337,10 +416,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getUserDetailsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetUserDetailsDto>;
|
public getUserDetailsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getUserDetailsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetUserDetailsDto>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getUserDetailsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetUserDetailsDto>>;
|
context?: HttpContext,
|
||||||
public getUserDetailsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetUserDetailsDto>;
|
||||||
|
public getUserDetailsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetUserDetailsDto>>;
|
||||||
|
public getUserDetailsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetUserDetailsDto>>;
|
||||||
|
public getUserDetailsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
|
|
||||||
let localVarHeaders = this.defaultHeaders;
|
let localVarHeaders = this.defaultHeaders;
|
||||||
|
|
||||||
@@ -392,10 +487,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public getUserEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetUserDto>;
|
public getUserEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public getUserEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetUserDto>>;
|
httpHeaderAccept?: 'application/json',
|
||||||
public getUserEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetUserDto>>;
|
context?: HttpContext,
|
||||||
public getUserEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<GetUserDto>;
|
||||||
|
public getUserEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<GetUserDto>>;
|
||||||
|
public getUserEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<GetUserDto>>;
|
||||||
|
public getUserEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (id === null || id === undefined) {
|
if (id === null || id === undefined) {
|
||||||
throw new Error('Required parameter id was null or undefined when calling getUserEndpoint.');
|
throw new Error('Required parameter id was null or undefined when calling getUserEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -428,7 +539,15 @@ export class UsersService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let localVarPath = `/API/Users/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
let localVarPath = `/API/Users/${this.configuration.encodeParam({
|
||||||
|
name: "id",
|
||||||
|
value: id,
|
||||||
|
in: "path",
|
||||||
|
style: "simple",
|
||||||
|
explode: false,
|
||||||
|
dataType: "number",
|
||||||
|
dataFormat: "int32"
|
||||||
|
})}`;
|
||||||
const {basePath, withCredentials} = this.configuration;
|
const {basePath, withCredentials} = this.configuration;
|
||||||
return this.httpClient.request<GetUserDto>('get', `${basePath}${localVarPath}`,
|
return this.httpClient.request<GetUserDto>('get', `${basePath}${localVarPath}`,
|
||||||
{
|
{
|
||||||
@@ -450,10 +569,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public patchUserDesignationEndpoint(patchUserDesignationDto: PatchUserDesignationDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (patchUserDesignationDto === null || patchUserDesignationDto === undefined) {
|
if (patchUserDesignationDto === null || patchUserDesignationDto === undefined) {
|
||||||
throw new Error('Required parameter patchUserDesignationDto was null or undefined when calling patchUserDesignationEndpoint.');
|
throw new Error('Required parameter patchUserDesignationDto was null or undefined when calling patchUserDesignationEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -518,10 +653,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public patchUserPasswordEndpoint(patchUserPasswordDto: PatchUserPasswordDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (patchUserPasswordDto === null || patchUserPasswordDto === undefined) {
|
if (patchUserPasswordDto === null || patchUserPasswordDto === undefined) {
|
||||||
throw new Error('Required parameter patchUserPasswordDto was null or undefined when calling patchUserPasswordEndpoint.');
|
throw new Error('Required parameter patchUserPasswordDto was null or undefined when calling patchUserPasswordEndpoint.');
|
||||||
}
|
}
|
||||||
@@ -586,10 +737,26 @@ export class UsersService extends BaseService {
|
|||||||
* @param reportProgress flag to report request and response progress.
|
* @param reportProgress flag to report request and response progress.
|
||||||
* @param options additional options
|
* @param options additional options
|
||||||
*/
|
*/
|
||||||
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe?: 'body', reportProgress?: boolean, options?: {
|
||||||
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
context?: HttpContext,
|
||||||
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/problem+json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
transferCache?: boolean
|
||||||
|
}): Observable<any>;
|
||||||
|
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe?: 'response', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpResponse<any>>;
|
||||||
|
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe?: 'events', reportProgress?: boolean, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<HttpEvent<any>>;
|
||||||
|
public updateUserEndpoint(updateUserDto: UpdateUserDto, observe: any = 'body', reportProgress: boolean = false, options?: {
|
||||||
|
httpHeaderAccept?: 'application/problem+json',
|
||||||
|
context?: HttpContext,
|
||||||
|
transferCache?: boolean
|
||||||
|
}): Observable<any> {
|
||||||
if (updateUserDto === null || updateUserDto === undefined) {
|
if (updateUserDto === null || updateUserDto === undefined) {
|
||||||
throw new Error('Required parameter updateUserDto was null or undefined when calling updateUserEndpoint.');
|
throw new Error('Required parameter updateUserDto was null or undefined when calling updateUserEndpoint.');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,17 @@ export class Configuration {
|
|||||||
*/
|
*/
|
||||||
credentials: { [key: string]: string | (() => string | undefined) };
|
credentials: { [key: string]: string | (() => string | undefined) };
|
||||||
|
|
||||||
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }: ConfigurationParameters = {}) {
|
constructor({
|
||||||
|
accessToken,
|
||||||
|
apiKeys,
|
||||||
|
basePath,
|
||||||
|
credentials,
|
||||||
|
encodeParam,
|
||||||
|
encoder,
|
||||||
|
password,
|
||||||
|
username,
|
||||||
|
withCredentials
|
||||||
|
}: ConfigurationParameters = {}) {
|
||||||
if (apiKeys) {
|
if (apiKeys) {
|
||||||
this.apiKeys = apiKeys;
|
this.apiKeys = apiKeys;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,12 +8,15 @@ export class CustomHttpParameterCodec implements HttpParameterCodec {
|
|||||||
encodeKey(k: string): string {
|
encodeKey(k: string): string {
|
||||||
return encodeURIComponent(k);
|
return encodeURIComponent(k);
|
||||||
}
|
}
|
||||||
|
|
||||||
encodeValue(v: string): string {
|
encodeValue(v: string): string {
|
||||||
return encodeURIComponent(v);
|
return encodeURIComponent(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
decodeKey(k: string): string {
|
decodeKey(k: string): string {
|
||||||
return decodeURIComponent(k);
|
return decodeURIComponent(k);
|
||||||
}
|
}
|
||||||
|
|
||||||
decodeValue(v: string): string {
|
decodeValue(v: string): string {
|
||||||
return decodeURIComponent(v);
|
return decodeURIComponent(v);
|
||||||
}
|
}
|
||||||
@@ -23,12 +26,15 @@ export class IdentityHttpParameterCodec implements HttpParameterCodec {
|
|||||||
encodeKey(k: string): string {
|
encodeKey(k: string): string {
|
||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
|
|
||||||
encodeValue(v: string): string {
|
encodeValue(v: string): string {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
decodeKey(k: string): string {
|
decodeKey(k: string): string {
|
||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
|
|
||||||
decodeValue(v: string): string {
|
decodeValue(v: string): string {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user