| @@ -1,5 +1,41 @@ | |||
| import { FormGroup, FormControl, Validators } from '@angular/forms'; | |||
| export const constraintViolationJsonForm = new FormGroup({ | |||
| status: new FormControl(null, []), | |||
| violations: new FormControl(null, []), | |||
| detail: new FormControl(null, []), | |||
| type: new FormControl(null, []), | |||
| title: new FormControl(null, []), | |||
| instance: new FormControl(null, []) | |||
| }); | |||
| export const constraintViolationJsonldJsonldForm = new FormGroup({ | |||
| status: new FormControl(null, []), | |||
| violations: new FormControl(null, []), | |||
| detail: new FormControl(null, []), | |||
| description: new FormControl(null, []), | |||
| type: new FormControl(null, []), | |||
| title: new FormControl(null, []), | |||
| instance: new FormControl(null, []) | |||
| }); | |||
| export const errorForm = new FormGroup({ | |||
| title: new FormControl(null, []), | |||
| detail: new FormControl(null, []), | |||
| status: new FormControl(null, []), | |||
| instance: new FormControl(null, []), | |||
| type: new FormControl(null, []) | |||
| }); | |||
| export const errorJsonldForm = new FormGroup({ | |||
| title: new FormControl(null, []), | |||
| detail: new FormControl(null, []), | |||
| status: new FormControl(null, []), | |||
| instance: new FormControl(null, []), | |||
| type: new FormControl(null, []), | |||
| description: new FormControl(null, []) | |||
| }); | |||
| export const eventJsonldForm = new FormGroup({ | |||
| dbId: new FormControl(null, []), | |||
| name: new FormControl(null, []), | |||
| @@ -123,7 +159,7 @@ export const userForm = new FormGroup({ | |||
| imageUrl: new FormControl(null, []), | |||
| fullName: new FormControl(null, []), | |||
| password: new FormControl(null, []), | |||
| isAdmin: new FormControl(null, []), | |||
| isAdmin: new FormControl(null, [Validators.required]), | |||
| active: new FormControl(null, [Validators.required]), | |||
| roles: new FormControl(null, []), | |||
| createdAt: new FormControl(null, []) | |||
| @@ -140,7 +176,7 @@ export const userJsonldForm = new FormGroup({ | |||
| imageUrl: new FormControl(null, []), | |||
| fullName: new FormControl(null, []), | |||
| password: new FormControl(null, []), | |||
| isAdmin: new FormControl(null, []), | |||
| isAdmin: new FormControl(null, [Validators.required]), | |||
| active: new FormControl(null, [Validators.required]), | |||
| roles: new FormControl(null, []), | |||
| createdAt: new FormControl(null, []) | |||
| @@ -33,13 +33,18 @@ model/apiUsersGetCollection200Response.ts | |||
| model/apiVesselsGetCollection200Response.ts | |||
| model/apiZonesGetCollection200Response.ts | |||
| model/authResponse.ts | |||
| model/constraintViolationJson.ts | |||
| model/constraintViolationJsonViolationsInner.ts | |||
| model/constraintViolationJsonldJsonld.ts | |||
| model/constraintViolationJsonldJsonldContext.ts | |||
| model/constraintViolationJsonldJsonldContextOneOf.ts | |||
| model/credentials.ts | |||
| model/errorJsonld.ts | |||
| model/eventJsonld.ts | |||
| model/eventJsonldContext.ts | |||
| model/eventJsonldContextOneOf.ts | |||
| model/location.ts | |||
| model/locationJsonld.ts | |||
| model/mediaObjectJsonld.ts | |||
| model/modelError.ts | |||
| model/models.ts | |||
| model/shippingCompany.ts | |||
| model/shippingCompanyJsonld.ts | |||
| @@ -21,6 +21,8 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiEventsGetCollection200Response } from '../model/apiEventsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { EventJsonld } from '../model/eventJsonld'; | |||
| // @ts-ignore | |||
| @@ -104,10 +106,10 @@ export class EventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiEventsGetCollection200Response>; | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiEventsGetCollection200Response>>; | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiEventsGetCollection200Response>>; | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiEventsGetCollection200Response>; | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiEventsGetCollection200Response>>; | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiEventsGetCollection200Response>>; | |||
| public eventsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -144,7 +146,9 @@ export class EventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -196,10 +200,10 @@ export class EventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public eventsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<EventJsonld>; | |||
| public eventsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<EventJsonld>>; | |||
| public eventsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<EventJsonld>>; | |||
| public eventsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public eventsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<EventJsonld>; | |||
| public eventsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<EventJsonld>>; | |||
| public eventsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<EventJsonld>>; | |||
| public eventsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling eventsIdGet.'); | |||
| } | |||
| @@ -217,7 +221,9 @@ export class EventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiLocationsGetCollection200Response } from '../model/apiLocationsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { Location } from '../model/location'; | |||
| // @ts-ignore | |||
| import { LocationJsonld } from '../model/locationJsonld'; | |||
| @@ -106,10 +112,10 @@ export class LocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiLocationsGetCollection200Response>; | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiLocationsGetCollection200Response>>; | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiLocationsGetCollection200Response>>; | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiLocationsGetCollection200Response>; | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiLocationsGetCollection200Response>>; | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiLocationsGetCollection200Response>>; | |||
| public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -146,7 +152,9 @@ export class LocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -198,10 +206,10 @@ export class LocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public locationsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public locationsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public locationsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public locationsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public locationsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public locationsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public locationsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public locationsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling locationsIdDelete.'); | |||
| } | |||
| @@ -219,6 +227,9 @@ export class LocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -269,10 +280,10 @@ export class LocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public locationsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<LocationJsonld>; | |||
| public locationsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<LocationJsonld>>; | |||
| public locationsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<LocationJsonld>>; | |||
| public locationsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public locationsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<LocationJsonld>; | |||
| public locationsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<LocationJsonld>>; | |||
| public locationsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<LocationJsonld>>; | |||
| public locationsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling locationsIdGet.'); | |||
| } | |||
| @@ -290,7 +301,9 @@ export class LocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -342,10 +355,10 @@ export class LocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public locationsIdPatch(id: string, location: Location, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<LocationJsonld>; | |||
| public locationsIdPatch(id: string, location: Location, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<LocationJsonld>>; | |||
| public locationsIdPatch(id: string, location: Location, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<LocationJsonld>>; | |||
| public locationsIdPatch(id: string, location: Location, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public locationsIdPatch(id: string, location: Location, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<LocationJsonld>; | |||
| public locationsIdPatch(id: string, location: Location, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<LocationJsonld>>; | |||
| public locationsIdPatch(id: string, location: Location, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<LocationJsonld>>; | |||
| public locationsIdPatch(id: string, location: Location, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling locationsIdPatch.'); | |||
| } | |||
| @@ -366,7 +379,9 @@ export class LocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -427,10 +442,10 @@ export class LocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public locationsPost(locationJsonld: LocationJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<LocationJsonld>; | |||
| public locationsPost(locationJsonld: LocationJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<LocationJsonld>>; | |||
| public locationsPost(locationJsonld: LocationJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<LocationJsonld>>; | |||
| public locationsPost(locationJsonld: LocationJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public locationsPost(locationJsonld: LocationJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<LocationJsonld>; | |||
| public locationsPost(locationJsonld: LocationJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<LocationJsonld>>; | |||
| public locationsPost(locationJsonld: LocationJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<LocationJsonld>>; | |||
| public locationsPost(locationJsonld: LocationJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (locationJsonld === null || locationJsonld === undefined) { | |||
| throw new Error('Required parameter locationJsonld was null or undefined when calling locationsPost.'); | |||
| } | |||
| @@ -448,7 +463,9 @@ export class LocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiMediaObjectsGetCollection200Response } from '../model/apiMediaObjectsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { MediaObjectJsonld } from '../model/mediaObjectJsonld'; | |||
| // @ts-ignore | |||
| @@ -114,10 +120,10 @@ export class MediaObjectService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiMediaObjectsGetCollection200Response>; | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiMediaObjectsGetCollection200Response>>; | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiMediaObjectsGetCollection200Response>>; | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiMediaObjectsGetCollection200Response>; | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiMediaObjectsGetCollection200Response>>; | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiMediaObjectsGetCollection200Response>>; | |||
| public mediaObjectsGetCollection(page?: number, itemsPerPage?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -142,7 +148,9 @@ export class MediaObjectService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -194,10 +202,10 @@ export class MediaObjectService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public mediaObjectsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public mediaObjectsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public mediaObjectsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public mediaObjectsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public mediaObjectsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public mediaObjectsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public mediaObjectsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public mediaObjectsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling mediaObjectsIdDelete.'); | |||
| } | |||
| @@ -215,6 +223,9 @@ export class MediaObjectService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -265,10 +276,10 @@ export class MediaObjectService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public mediaObjectsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<MediaObjectJsonld>; | |||
| public mediaObjectsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<MediaObjectJsonld>>; | |||
| public mediaObjectsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<MediaObjectJsonld>>; | |||
| public mediaObjectsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public mediaObjectsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<MediaObjectJsonld>; | |||
| public mediaObjectsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<MediaObjectJsonld>>; | |||
| public mediaObjectsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<MediaObjectJsonld>>; | |||
| public mediaObjectsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling mediaObjectsIdGet.'); | |||
| } | |||
| @@ -286,7 +297,9 @@ export class MediaObjectService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -337,10 +350,10 @@ export class MediaObjectService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public mediaObjectsPost(file?: Blob, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<MediaObjectJsonld>; | |||
| public mediaObjectsPost(file?: Blob, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<MediaObjectJsonld>>; | |||
| public mediaObjectsPost(file?: Blob, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<MediaObjectJsonld>>; | |||
| public mediaObjectsPost(file?: Blob, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public mediaObjectsPost(file?: Blob, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<MediaObjectJsonld>; | |||
| public mediaObjectsPost(file?: Blob, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<MediaObjectJsonld>>; | |||
| public mediaObjectsPost(file?: Blob, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<MediaObjectJsonld>>; | |||
| public mediaObjectsPost(file?: Blob, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarHeaders = this.defaultHeaders; | |||
| @@ -355,7 +368,9 @@ export class MediaObjectService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiShippingCompaniesGetCollection200Response } from '../model/apiShippingCompaniesGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { ShippingCompany } from '../model/shippingCompany'; | |||
| // @ts-ignore | |||
| import { ShippingCompanyJsonld } from '../model/shippingCompanyJsonld'; | |||
| @@ -106,10 +112,10 @@ export class ShippingCompanyService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiShippingCompaniesGetCollection200Response>; | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiShippingCompaniesGetCollection200Response>>; | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiShippingCompaniesGetCollection200Response>>; | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiShippingCompaniesGetCollection200Response>; | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiShippingCompaniesGetCollection200Response>>; | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiShippingCompaniesGetCollection200Response>>; | |||
| public shippingCompaniesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -146,7 +152,9 @@ export class ShippingCompanyService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -198,10 +206,10 @@ export class ShippingCompanyService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public shippingCompaniesIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public shippingCompaniesIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public shippingCompaniesIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public shippingCompaniesIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public shippingCompaniesIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public shippingCompaniesIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public shippingCompaniesIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public shippingCompaniesIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling shippingCompaniesIdDelete.'); | |||
| } | |||
| @@ -219,6 +227,9 @@ export class ShippingCompanyService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -269,10 +280,10 @@ export class ShippingCompanyService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public shippingCompaniesIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ShippingCompanyJsonld>; | |||
| public shippingCompaniesIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public shippingCompaniesIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ShippingCompanyJsonld>; | |||
| public shippingCompaniesIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling shippingCompaniesIdGet.'); | |||
| } | |||
| @@ -290,7 +301,9 @@ export class ShippingCompanyService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -342,10 +355,10 @@ export class ShippingCompanyService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ShippingCompanyJsonld>; | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ShippingCompanyJsonld>; | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesIdPatch(id: string, shippingCompany: ShippingCompany, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling shippingCompaniesIdPatch.'); | |||
| } | |||
| @@ -366,7 +379,9 @@ export class ShippingCompanyService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -427,10 +442,10 @@ export class ShippingCompanyService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ShippingCompanyJsonld>; | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ShippingCompanyJsonld>; | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ShippingCompanyJsonld>>; | |||
| public shippingCompaniesPost(shippingCompanyJsonld: ShippingCompanyJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (shippingCompanyJsonld === null || shippingCompanyJsonld === undefined) { | |||
| throw new Error('Required parameter shippingCompanyJsonld was null or undefined when calling shippingCompaniesPost.'); | |||
| } | |||
| @@ -448,7 +463,9 @@ export class ShippingCompanyService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiTripsGetCollection200Response } from '../model/apiTripsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { Trip } from '../model/trip'; | |||
| // @ts-ignore | |||
| import { TripJsonld } from '../model/tripJsonld'; | |||
| @@ -106,10 +112,10 @@ export class TripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiTripsGetCollection200Response>; | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiTripsGetCollection200Response>>; | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiTripsGetCollection200Response>>; | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiTripsGetCollection200Response>; | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiTripsGetCollection200Response>>; | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiTripsGetCollection200Response>>; | |||
| public tripsGetCollection(page?: number, itemsPerPage?: number, id?: number, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -146,7 +152,9 @@ export class TripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -198,10 +206,10 @@ export class TripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public tripsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public tripsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public tripsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public tripsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public tripsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public tripsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling tripsIdDelete.'); | |||
| } | |||
| @@ -219,6 +227,9 @@ export class TripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -269,10 +280,10 @@ export class TripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<TripJsonld>; | |||
| public tripsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripJsonld>>; | |||
| public tripsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripJsonld>>; | |||
| public tripsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<TripJsonld>; | |||
| public tripsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripJsonld>>; | |||
| public tripsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripJsonld>>; | |||
| public tripsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling tripsIdGet.'); | |||
| } | |||
| @@ -290,7 +301,9 @@ export class TripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -342,10 +355,10 @@ export class TripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripsIdPatch(id: string, trip: Trip, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<TripJsonld>; | |||
| public tripsIdPatch(id: string, trip: Trip, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripJsonld>>; | |||
| public tripsIdPatch(id: string, trip: Trip, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripJsonld>>; | |||
| public tripsIdPatch(id: string, trip: Trip, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripsIdPatch(id: string, trip: Trip, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<TripJsonld>; | |||
| public tripsIdPatch(id: string, trip: Trip, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripJsonld>>; | |||
| public tripsIdPatch(id: string, trip: Trip, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripJsonld>>; | |||
| public tripsIdPatch(id: string, trip: Trip, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling tripsIdPatch.'); | |||
| } | |||
| @@ -366,7 +379,9 @@ export class TripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -427,10 +442,10 @@ export class TripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripsPost(tripJsonld: TripJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<TripJsonld>; | |||
| public tripsPost(tripJsonld: TripJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripJsonld>>; | |||
| public tripsPost(tripJsonld: TripJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripJsonld>>; | |||
| public tripsPost(tripJsonld: TripJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripsPost(tripJsonld: TripJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<TripJsonld>; | |||
| public tripsPost(tripJsonld: TripJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripJsonld>>; | |||
| public tripsPost(tripJsonld: TripJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripJsonld>>; | |||
| public tripsPost(tripJsonld: TripJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (tripJsonld === null || tripJsonld === undefined) { | |||
| throw new Error('Required parameter tripJsonld was null or undefined when calling tripsPost.'); | |||
| } | |||
| @@ -448,7 +463,9 @@ export class TripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiTripLocationsGetCollection200Response } from '../model/apiTripLocationsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { TripLocation } from '../model/tripLocation'; | |||
| // @ts-ignore | |||
| import { TripLocationJsonld } from '../model/tripLocationJsonld'; | |||
| @@ -107,10 +113,10 @@ export class TripLocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiTripLocationsGetCollection200Response>; | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiTripLocationsGetCollection200Response>>; | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiTripLocationsGetCollection200Response>>; | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiTripLocationsGetCollection200Response>; | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiTripLocationsGetCollection200Response>>; | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiTripLocationsGetCollection200Response>>; | |||
| public tripLocationsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -153,7 +159,9 @@ export class TripLocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -205,10 +213,10 @@ export class TripLocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripLocationsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public tripLocationsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public tripLocationsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public tripLocationsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripLocationsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public tripLocationsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public tripLocationsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public tripLocationsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling tripLocationsIdDelete.'); | |||
| } | |||
| @@ -226,6 +234,9 @@ export class TripLocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -276,10 +287,10 @@ export class TripLocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripLocationsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<TripLocationJsonld>; | |||
| public tripLocationsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripLocationJsonld>>; | |||
| public tripLocationsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripLocationJsonld>>; | |||
| public tripLocationsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripLocationsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<TripLocationJsonld>; | |||
| public tripLocationsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripLocationJsonld>>; | |||
| public tripLocationsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripLocationJsonld>>; | |||
| public tripLocationsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling tripLocationsIdGet.'); | |||
| } | |||
| @@ -297,7 +308,9 @@ export class TripLocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -349,10 +362,10 @@ export class TripLocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<TripLocationJsonld>; | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripLocationJsonld>>; | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripLocationJsonld>>; | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<TripLocationJsonld>; | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripLocationJsonld>>; | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripLocationJsonld>>; | |||
| public tripLocationsIdPatch(id: string, tripLocation: TripLocation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling tripLocationsIdPatch.'); | |||
| } | |||
| @@ -373,7 +386,9 @@ export class TripLocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -434,10 +449,10 @@ export class TripLocationService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<TripLocationJsonld>; | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripLocationJsonld>>; | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripLocationJsonld>>; | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<TripLocationJsonld>; | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<TripLocationJsonld>>; | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<TripLocationJsonld>>; | |||
| public tripLocationsPost(tripLocationJsonld: TripLocationJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (tripLocationJsonld === null || tripLocationJsonld === undefined) { | |||
| throw new Error('Required parameter tripLocationJsonld was null or undefined when calling tripLocationsPost.'); | |||
| } | |||
| @@ -455,7 +470,9 @@ export class TripLocationService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiUsersGetCollection200Response } from '../model/apiUsersGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { User } from '../model/user'; | |||
| // @ts-ignore | |||
| import { UserJsonld } from '../model/userJsonld'; | |||
| @@ -107,10 +113,10 @@ export class UserService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUsersGetCollection200Response>; | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUsersGetCollection200Response>>; | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUsersGetCollection200Response>>; | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUsersGetCollection200Response>; | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUsersGetCollection200Response>>; | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUsersGetCollection200Response>>; | |||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, userNameSearch?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -151,7 +157,9 @@ export class UserService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -203,10 +211,10 @@ export class UserService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public usersIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public usersIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public usersIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public usersIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public usersIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public usersIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public usersIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public usersIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling usersIdDelete.'); | |||
| } | |||
| @@ -224,6 +232,9 @@ export class UserService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -274,10 +285,10 @@ export class UserService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public usersIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserJsonld>; | |||
| public usersIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserJsonld>>; | |||
| public usersIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserJsonld>>; | |||
| public usersIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public usersIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserJsonld>; | |||
| public usersIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserJsonld>>; | |||
| public usersIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserJsonld>>; | |||
| public usersIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling usersIdGet.'); | |||
| } | |||
| @@ -295,7 +306,9 @@ export class UserService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -347,10 +360,10 @@ export class UserService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public usersIdPatch(id: string, user: User, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserJsonld>; | |||
| public usersIdPatch(id: string, user: User, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserJsonld>>; | |||
| public usersIdPatch(id: string, user: User, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserJsonld>>; | |||
| public usersIdPatch(id: string, user: User, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public usersIdPatch(id: string, user: User, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserJsonld>; | |||
| public usersIdPatch(id: string, user: User, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserJsonld>>; | |||
| public usersIdPatch(id: string, user: User, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserJsonld>>; | |||
| public usersIdPatch(id: string, user: User, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling usersIdPatch.'); | |||
| } | |||
| @@ -371,7 +384,9 @@ export class UserService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -432,10 +447,10 @@ export class UserService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public usersPost(userJsonld: UserJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserJsonld>; | |||
| public usersPost(userJsonld: UserJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserJsonld>>; | |||
| public usersPost(userJsonld: UserJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserJsonld>>; | |||
| public usersPost(userJsonld: UserJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public usersPost(userJsonld: UserJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserJsonld>; | |||
| public usersPost(userJsonld: UserJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserJsonld>>; | |||
| public usersPost(userJsonld: UserJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserJsonld>>; | |||
| public usersPost(userJsonld: UserJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (userJsonld === null || userJsonld === undefined) { | |||
| throw new Error('Required parameter userJsonld was null or undefined when calling usersPost.'); | |||
| } | |||
| @@ -453,7 +468,9 @@ export class UserService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiUserTripsGetCollection200Response } from '../model/apiUserTripsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { UserTrip } from '../model/userTrip'; | |||
| // @ts-ignore | |||
| import { UserTripJsonld } from '../model/userTripJsonld'; | |||
| @@ -109,10 +115,10 @@ export class UserTripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUserTripsGetCollection200Response>; | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUserTripsGetCollection200Response>>; | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUserTripsGetCollection200Response>>; | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUserTripsGetCollection200Response>; | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUserTripsGetCollection200Response>>; | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUserTripsGetCollection200Response>>; | |||
| public userTripsGetCollection(page?: number, itemsPerPage?: number, trip?: string, trip2?: Array<string>, user?: string, user2?: Array<string>, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -165,7 +171,9 @@ export class UserTripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -217,10 +225,10 @@ export class UserTripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public userTripsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public userTripsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public userTripsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public userTripsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public userTripsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public userTripsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling userTripsIdDelete.'); | |||
| } | |||
| @@ -238,6 +246,9 @@ export class UserTripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -288,10 +299,10 @@ export class UserTripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripJsonld>; | |||
| public userTripsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripJsonld>>; | |||
| public userTripsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripJsonld>>; | |||
| public userTripsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripJsonld>; | |||
| public userTripsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripJsonld>>; | |||
| public userTripsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripJsonld>>; | |||
| public userTripsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling userTripsIdGet.'); | |||
| } | |||
| @@ -309,7 +320,9 @@ export class UserTripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -361,10 +374,10 @@ export class UserTripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripJsonld>; | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripJsonld>>; | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripJsonld>>; | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripJsonld>; | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripJsonld>>; | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripJsonld>>; | |||
| public userTripsIdPatch(id: string, userTrip: UserTrip, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling userTripsIdPatch.'); | |||
| } | |||
| @@ -385,7 +398,9 @@ export class UserTripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -446,10 +461,10 @@ export class UserTripService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripJsonld>; | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripJsonld>>; | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripJsonld>>; | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripJsonld>; | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripJsonld>>; | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripJsonld>>; | |||
| public userTripsPost(userTripJsonld: UserTripJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (userTripJsonld === null || userTripJsonld === undefined) { | |||
| throw new Error('Required parameter userTripJsonld was null or undefined when calling userTripsPost.'); | |||
| } | |||
| @@ -467,7 +482,9 @@ export class UserTripService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiUserTripEventsGetCollection200Response } from '../model/apiUserTripEventsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { UserTripEvent } from '../model/userTripEvent'; | |||
| // @ts-ignore | |||
| import { UserTripEventJsonld } from '../model/userTripEventJsonld'; | |||
| @@ -108,10 +114,10 @@ export class UserTripEventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUserTripEventsGetCollection200Response>; | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUserTripEventsGetCollection200Response>>; | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUserTripEventsGetCollection200Response>>; | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUserTripEventsGetCollection200Response>; | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUserTripEventsGetCollection200Response>>; | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUserTripEventsGetCollection200Response>>; | |||
| public userTripEventsGetCollection(page?: number, itemsPerPage?: number, userTrip?: string, userTrip2?: Array<string>, tripId?: number, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -158,7 +164,9 @@ export class UserTripEventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -210,10 +218,10 @@ export class UserTripEventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripEventsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public userTripEventsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public userTripEventsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public userTripEventsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripEventsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public userTripEventsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public userTripEventsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public userTripEventsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling userTripEventsIdDelete.'); | |||
| } | |||
| @@ -231,6 +239,9 @@ export class UserTripEventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -281,10 +292,10 @@ export class UserTripEventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripEventsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripEventJsonld>; | |||
| public userTripEventsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripEventJsonld>>; | |||
| public userTripEventsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripEventJsonld>>; | |||
| public userTripEventsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripEventsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripEventJsonld>; | |||
| public userTripEventsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripEventJsonld>>; | |||
| public userTripEventsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripEventJsonld>>; | |||
| public userTripEventsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling userTripEventsIdGet.'); | |||
| } | |||
| @@ -302,7 +313,9 @@ export class UserTripEventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -354,10 +367,10 @@ export class UserTripEventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripEventJsonld>; | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripEventJsonld>>; | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripEventJsonld>>; | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripEventJsonld>; | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripEventJsonld>>; | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripEventJsonld>>; | |||
| public userTripEventsIdPatch(id: string, userTripEvent: UserTripEvent, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling userTripEventsIdPatch.'); | |||
| } | |||
| @@ -378,7 +391,9 @@ export class UserTripEventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -439,10 +454,10 @@ export class UserTripEventService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripEventJsonld>; | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripEventJsonld>>; | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripEventJsonld>>; | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<UserTripEventJsonld>; | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<UserTripEventJsonld>>; | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<UserTripEventJsonld>>; | |||
| public userTripEventsPost(userTripEventJsonld: UserTripEventJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (userTripEventJsonld === null || userTripEventJsonld === undefined) { | |||
| throw new Error('Required parameter userTripEventJsonld was null or undefined when calling userTripEventsPost.'); | |||
| } | |||
| @@ -460,7 +475,9 @@ export class UserTripEventService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiVesselsGetCollection200Response } from '../model/apiVesselsGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { Vessel } from '../model/vessel'; | |||
| // @ts-ignore | |||
| import { VesselJsonld } from '../model/vesselJsonld'; | |||
| @@ -106,10 +112,10 @@ export class VesselService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiVesselsGetCollection200Response>; | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiVesselsGetCollection200Response>>; | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiVesselsGetCollection200Response>>; | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiVesselsGetCollection200Response>; | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiVesselsGetCollection200Response>>; | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiVesselsGetCollection200Response>>; | |||
| public vesselsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -146,7 +152,9 @@ export class VesselService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -198,10 +206,10 @@ export class VesselService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public vesselsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public vesselsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public vesselsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public vesselsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public vesselsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public vesselsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public vesselsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public vesselsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling vesselsIdDelete.'); | |||
| } | |||
| @@ -219,6 +227,9 @@ export class VesselService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -269,10 +280,10 @@ export class VesselService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public vesselsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<VesselJsonld>; | |||
| public vesselsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<VesselJsonld>>; | |||
| public vesselsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<VesselJsonld>>; | |||
| public vesselsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public vesselsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<VesselJsonld>; | |||
| public vesselsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<VesselJsonld>>; | |||
| public vesselsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<VesselJsonld>>; | |||
| public vesselsIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling vesselsIdGet.'); | |||
| } | |||
| @@ -290,7 +301,9 @@ export class VesselService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -342,10 +355,10 @@ export class VesselService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<VesselJsonld>; | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<VesselJsonld>>; | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<VesselJsonld>>; | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<VesselJsonld>; | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<VesselJsonld>>; | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<VesselJsonld>>; | |||
| public vesselsIdPatch(id: string, vessel: Vessel, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling vesselsIdPatch.'); | |||
| } | |||
| @@ -366,7 +379,9 @@ export class VesselService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -427,10 +442,10 @@ export class VesselService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<VesselJsonld>; | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<VesselJsonld>>; | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<VesselJsonld>>; | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<VesselJsonld>; | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<VesselJsonld>>; | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<VesselJsonld>>; | |||
| public vesselsPost(vesselJsonld: VesselJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (vesselJsonld === null || vesselJsonld === undefined) { | |||
| throw new Error('Required parameter vesselJsonld was null or undefined when calling vesselsPost.'); | |||
| } | |||
| @@ -448,7 +463,9 @@ export class VesselService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -21,6 +21,12 @@ import { Observable } from 'rxjs'; | |||
| // @ts-ignore | |||
| import { ApiZonesGetCollection200Response } from '../model/apiZonesGetCollection200Response'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJson } from '../model/constraintViolationJson'; | |||
| // @ts-ignore | |||
| import { ConstraintViolationJsonldJsonld } from '../model/constraintViolationJsonldJsonld'; | |||
| // @ts-ignore | |||
| import { ErrorJsonld } from '../model/errorJsonld'; | |||
| // @ts-ignore | |||
| import { Zone } from '../model/zone'; | |||
| // @ts-ignore | |||
| import { ZoneJsonld } from '../model/zoneJsonld'; | |||
| @@ -106,10 +112,10 @@ export class ZoneService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiZonesGetCollection200Response>; | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiZonesGetCollection200Response>>; | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiZonesGetCollection200Response>>; | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiZonesGetCollection200Response>; | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiZonesGetCollection200Response>>; | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiZonesGetCollection200Response>>; | |||
| public zonesGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -146,7 +152,9 @@ export class ZoneService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -198,10 +206,10 @@ export class ZoneService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public zonesIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public zonesIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public zonesIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public zonesIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public zonesIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||
| public zonesIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||
| public zonesIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||
| public zonesIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling zonesIdDelete.'); | |||
| } | |||
| @@ -219,6 +227,9 @@ export class ZoneService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -269,10 +280,10 @@ export class ZoneService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public zonesIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ZoneJsonld>; | |||
| public zonesIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ZoneJsonld>>; | |||
| public zonesIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ZoneJsonld>>; | |||
| public zonesIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public zonesIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ZoneJsonld>; | |||
| public zonesIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ZoneJsonld>>; | |||
| public zonesIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ZoneJsonld>>; | |||
| public zonesIdGet(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling zonesIdGet.'); | |||
| } | |||
| @@ -290,7 +301,9 @@ export class ZoneService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -342,10 +355,10 @@ export class ZoneService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public zonesIdPatch(id: string, zone: Zone, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ZoneJsonld>; | |||
| public zonesIdPatch(id: string, zone: Zone, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ZoneJsonld>>; | |||
| public zonesIdPatch(id: string, zone: Zone, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ZoneJsonld>>; | |||
| public zonesIdPatch(id: string, zone: Zone, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public zonesIdPatch(id: string, zone: Zone, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ZoneJsonld>; | |||
| public zonesIdPatch(id: string, zone: Zone, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ZoneJsonld>>; | |||
| public zonesIdPatch(id: string, zone: Zone, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ZoneJsonld>>; | |||
| public zonesIdPatch(id: string, zone: Zone, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (id === null || id === undefined) { | |||
| throw new Error('Required parameter id was null or undefined when calling zonesIdPatch.'); | |||
| } | |||
| @@ -366,7 +379,9 @@ export class ZoneService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -427,10 +442,10 @@ export class ZoneService { | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<ZoneJsonld>; | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ZoneJsonld>>; | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ZoneJsonld>>; | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ZoneJsonld>; | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ZoneJsonld>>; | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ZoneJsonld>>; | |||
| public zonesPost(zoneJsonld: ZoneJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| if (zoneJsonld === null || zoneJsonld === undefined) { | |||
| throw new Error('Required parameter zoneJsonld was null or undefined when calling zonesPost.'); | |||
| } | |||
| @@ -448,7 +463,9 @@ export class ZoneService { | |||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||
| // to determine the Accept header | |||
| const httpHeaderAccepts: string[] = [ | |||
| 'application/ld+json' | |||
| 'application/ld+json', | |||
| 'application/problem+json', | |||
| 'application/json' | |||
| ]; | |||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||
| } | |||
| @@ -0,0 +1,26 @@ | |||
| /** | |||
| * Imaq Platform | |||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||
| * | |||
| * The version of the OpenAPI document: 1.0.0 | |||
| * | |||
| * | |||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { ConstraintViolationJsonViolationsInner } from './constraintViolationJsonViolationsInner'; | |||
| /** | |||
| * Unprocessable entity | |||
| */ | |||
| export interface ConstraintViolationJson { | |||
| status?: number; | |||
| violations?: Array<ConstraintViolationJsonViolationsInner>; | |||
| readonly detail?: string; | |||
| readonly type?: string; | |||
| readonly title?: string | null; | |||
| readonly instance?: string | null; | |||
| } | |||
| @@ -9,17 +9,16 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { User } from './user'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface MediaObject { | |||
| readonly id?: number; | |||
| file: Blob | null; | |||
| filePath?: string | null; | |||
| createdBy?: User; | |||
| readonly createdAt?: string; | |||
| export interface ConstraintViolationJsonViolationsInner { | |||
| /** | |||
| * The property path of the violation | |||
| */ | |||
| propertyPath?: string; | |||
| /** | |||
| * The message associated with the violation | |||
| */ | |||
| message?: string; | |||
| } | |||
| @@ -0,0 +1,31 @@ | |||
| /** | |||
| * Imaq Platform | |||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||
| * | |||
| * The version of the OpenAPI document: 1.0.0 | |||
| * | |||
| * | |||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| import { ConstraintViolationJsonViolationsInner } from './constraintViolationJsonViolationsInner'; | |||
| /** | |||
| * Unprocessable entity | |||
| */ | |||
| export interface ConstraintViolationJsonldJsonld { | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| status?: number; | |||
| violations?: Array<ConstraintViolationJsonViolationsInner>; | |||
| readonly detail?: string; | |||
| readonly description?: string; | |||
| readonly type?: string; | |||
| readonly title?: string | null; | |||
| readonly instance?: string | null; | |||
| } | |||
| @@ -9,12 +9,12 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { EventJsonldContextOneOf } from './eventJsonldContextOneOf'; | |||
| import { ConstraintViolationJsonldJsonldContextOneOf } from './constraintViolationJsonldJsonldContextOneOf'; | |||
| /** | |||
| * @type EventJsonldContext | |||
| * @type ConstraintViolationJsonldJsonldContext | |||
| * @export | |||
| */ | |||
| export type EventJsonldContext = EventJsonldContextOneOf | string; | |||
| export type ConstraintViolationJsonldJsonldContext = ConstraintViolationJsonldJsonldContextOneOf | string; | |||
| @@ -11,14 +11,14 @@ | |||
| */ | |||
| export interface EventJsonldContextOneOf { | |||
| export interface ConstraintViolationJsonldJsonldContextOneOf { | |||
| [key: string]: any | any; | |||
| vocab: string; | |||
| hydra: EventJsonldContextOneOf.HydraEnum; | |||
| hydra: ConstraintViolationJsonldJsonldContextOneOf.HydraEnum; | |||
| } | |||
| export namespace EventJsonldContextOneOf { | |||
| export namespace ConstraintViolationJsonldJsonldContextOneOf { | |||
| export type HydraEnum = 'http://www.w3.org/ns/hydra/core#'; | |||
| export const HydraEnum = { | |||
| HttpWwwW3OrgNsHydraCore: 'http://www.w3.org/ns/hydra/core#' as HydraEnum | |||
| @@ -0,0 +1,41 @@ | |||
| /** | |||
| * Imaq Platform | |||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||
| * | |||
| * The version of the OpenAPI document: 1.0.0 | |||
| * | |||
| * | |||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * A representation of common errors. | |||
| */ | |||
| export interface ErrorJsonld { | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| /** | |||
| * A short, human-readable summary of the problem. | |||
| */ | |||
| readonly title?: string | null; | |||
| /** | |||
| * A human-readable explanation specific to this occurrence of the problem. | |||
| */ | |||
| readonly detail?: string | null; | |||
| status?: number; | |||
| /** | |||
| * A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. | |||
| */ | |||
| readonly instance?: string | null; | |||
| /** | |||
| * A URI reference that identifies the problem type | |||
| */ | |||
| readonly type?: string; | |||
| readonly description?: string | null; | |||
| } | |||
| @@ -9,14 +9,14 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface EventJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -9,7 +9,7 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| import { ZoneJsonld } from './zoneJsonld'; | |||
| @@ -17,7 +17,7 @@ import { ZoneJsonld } from './zoneJsonld'; | |||
| * | |||
| */ | |||
| export interface LocationJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -9,14 +9,14 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface MediaObjectJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -0,0 +1,36 @@ | |||
| /** | |||
| * Imaq Platform | |||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||
| * | |||
| * The version of the OpenAPI document: 1.0.0 | |||
| * | |||
| * | |||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| /** | |||
| * A representation of common errors. | |||
| */ | |||
| export interface ModelError { | |||
| /** | |||
| * A short, human-readable summary of the problem. | |||
| */ | |||
| readonly title?: string | null; | |||
| /** | |||
| * A human-readable explanation specific to this occurrence of the problem. | |||
| */ | |||
| readonly detail?: string | null; | |||
| status?: number; | |||
| /** | |||
| * A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. | |||
| */ | |||
| readonly instance?: string | null; | |||
| /** | |||
| * A URI reference that identifies the problem type | |||
| */ | |||
| readonly type?: string; | |||
| } | |||
| @@ -13,13 +13,18 @@ export * from './apiUsersGetCollection200Response'; | |||
| export * from './apiVesselsGetCollection200Response'; | |||
| export * from './apiZonesGetCollection200Response'; | |||
| export * from './authResponse'; | |||
| export * from './constraintViolationJson'; | |||
| export * from './constraintViolationJsonViolationsInner'; | |||
| export * from './constraintViolationJsonldJsonld'; | |||
| export * from './constraintViolationJsonldJsonldContext'; | |||
| export * from './constraintViolationJsonldJsonldContextOneOf'; | |||
| export * from './credentials'; | |||
| export * from './errorJsonld'; | |||
| export * from './eventJsonld'; | |||
| export * from './eventJsonldContext'; | |||
| export * from './eventJsonldContextOneOf'; | |||
| export * from './location'; | |||
| export * from './locationJsonld'; | |||
| export * from './mediaObjectJsonld'; | |||
| export * from './modelError'; | |||
| export * from './shippingCompany'; | |||
| export * from './shippingCompanyJsonld'; | |||
| export * from './trip'; | |||
| @@ -9,14 +9,14 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface ShippingCompanyJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -9,8 +9,8 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| import { VesselJsonld } from './vesselJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { LocationJsonld } from './locationJsonld'; | |||
| @@ -18,7 +18,7 @@ import { LocationJsonld } from './locationJsonld'; | |||
| * | |||
| */ | |||
| export interface TripJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -10,7 +10,7 @@ | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { TripJsonld } from './tripJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| import { LocationJsonld } from './locationJsonld'; | |||
| @@ -18,7 +18,7 @@ import { LocationJsonld } from './locationJsonld'; | |||
| * | |||
| */ | |||
| export interface TripLocationJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -28,7 +28,7 @@ export interface User { | |||
| * The plaintext password when being set or changed. | |||
| */ | |||
| password?: string | null; | |||
| isAdmin?: boolean; | |||
| isAdmin: boolean; | |||
| active: boolean; | |||
| roles?: Array<string>; | |||
| readonly createdAt?: string | null; | |||
| @@ -1,23 +0,0 @@ | |||
| /** | |||
| * Imaq Platform | |||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||
| * | |||
| * The version of the OpenAPI document: 1.0.0 | |||
| * | |||
| * | |||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { User } from './user'; | |||
| import { MediaObject } from './mediaObject'; | |||
| export interface UserImage { | |||
| readonly id?: any | null; | |||
| file: any | null; | |||
| filePath?: any | null; | |||
| createdBy?: User; | |||
| readonly createdAt?: any | null; | |||
| } | |||
| @@ -10,14 +10,14 @@ | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { MediaObjectJsonld } from './mediaObjectJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface UserJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -33,7 +33,7 @@ export interface UserJsonld { | |||
| * The plaintext password when being set or changed. | |||
| */ | |||
| password?: string | null; | |||
| isAdmin?: boolean; | |||
| isAdmin: boolean; | |||
| active: boolean; | |||
| roles?: Array<string>; | |||
| readonly createdAt?: string | null; | |||
| @@ -1,25 +0,0 @@ | |||
| /** | |||
| * Imaq Platform | |||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||
| * | |||
| * The version of the OpenAPI document: 1.0.0 | |||
| * | |||
| * | |||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { MediaObjectJsonld } from './mediaObjectJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| export interface UserJsonldImage { | |||
| context?: EventJsonldContext; | |||
| readonly id?: any | null; | |||
| readonly type?: any | null; | |||
| readonly dbId?: any | null; | |||
| contentUrl?: any | null; | |||
| readonly filePath?: any | null; | |||
| readonly createdAt?: any | null; | |||
| } | |||
| @@ -11,8 +11,8 @@ | |||
| */ | |||
| import { UserTripJsonld } from './userTripJsonld'; | |||
| import { UserJsonld } from './userJsonld'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| import { EventJsonld } from './eventJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { LocationJsonld } from './locationJsonld'; | |||
| @@ -20,7 +20,7 @@ import { LocationJsonld } from './locationJsonld'; | |||
| * | |||
| */ | |||
| export interface UserTripEventJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -12,14 +12,14 @@ | |||
| import { TripJsonld } from './tripJsonld'; | |||
| import { MediaObjectJsonld } from './mediaObjectJsonld'; | |||
| import { UserJsonld } from './userJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface UserTripJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -10,14 +10,14 @@ | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { ShippingCompanyJsonld } from './shippingCompanyJsonld'; | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface VesselJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -9,14 +9,14 @@ | |||
| * https://openapi-generator.tech | |||
| * Do not edit the class manually. | |||
| */ | |||
| import { EventJsonldContext } from './eventJsonldContext'; | |||
| import { ConstraintViolationJsonldJsonldContext } from './constraintViolationJsonldJsonldContext'; | |||
| /** | |||
| * | |||
| */ | |||
| export interface ZoneJsonld { | |||
| context?: EventJsonldContext; | |||
| context?: ConstraintViolationJsonldJsonldContext; | |||
| readonly id?: string; | |||
| readonly type?: string; | |||
| readonly dbId?: number | null; | |||
| @@ -8,21 +8,21 @@ | |||
| "packages": [ | |||
| { | |||
| "name": "api-platform/doctrine-common", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/doctrine-common.git", | |||
| "reference": "eb82d8531ed9a4b59ea0028f3429c464d0530bc4" | |||
| "reference": "1e36938544c5804ef865cf6b560c63b786a1af8d" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/doctrine-common/zipball/eb82d8531ed9a4b59ea0028f3429c464d0530bc4", | |||
| "reference": "eb82d8531ed9a4b59ea0028f3429c464d0530bc4", | |||
| "url": "https://api.github.com/repos/api-platform/doctrine-common/zipball/1e36938544c5804ef865cf6b560c63b786a1af8d", | |||
| "reference": "1e36938544c5804ef865cf6b560c63b786a1af8d", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "doctrine/collections": "^2.1", | |||
| "doctrine/common": "^3.2.2", | |||
| "doctrine/persistence": "^3.2", | |||
| @@ -32,7 +32,7 @@ | |||
| "doctrine/persistence": "<1.3" | |||
| }, | |||
| "require-dev": { | |||
| "doctrine/mongodb-odm": "^2.6", | |||
| "doctrine/mongodb-odm": "^2.10", | |||
| "doctrine/orm": "^2.17 || ^3.0", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpunit/phpunit": "^11.2" | |||
| @@ -47,16 +47,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -89,36 +89,36 @@ | |||
| "rest" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/doctrine-common/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/doctrine-common/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-02-28T10:08:08+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/doctrine-orm", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/doctrine-orm.git", | |||
| "reference": "8be3b6e621ee88a4356903b4932be85b82584ed5" | |||
| "reference": "38d5a59722acbd32ab3834499cf80c64ee96181e" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/doctrine-orm/zipball/8be3b6e621ee88a4356903b4932be85b82584ed5", | |||
| "reference": "8be3b6e621ee88a4356903b4932be85b82584ed5", | |||
| "url": "https://api.github.com/repos/api-platform/doctrine-orm/zipball/38d5a59722acbd32ab3834499cf80c64ee96181e", | |||
| "reference": "38d5a59722acbd32ab3834499cf80c64ee96181e", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/doctrine-common": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-common": "^4.1", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "doctrine/orm": "^2.17 || ^3.0", | |||
| "php": ">=8.2", | |||
| "symfony/property-info": "^6.4 || ^7.0" | |||
| "symfony/property-info": "^6.4 || ^7.1" | |||
| }, | |||
| "require-dev": { | |||
| "doctrine/doctrine-bundle": "^2.11", | |||
| "phpspec/prophecy-phpunit": "^2.0", | |||
| "phpunit/phpunit": "^10.0", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpunit/phpunit": "^11.2", | |||
| "ramsey/uuid": "^4.7", | |||
| "ramsey/uuid-doctrine": "^2.0", | |||
| "symfony/cache": "^6.4 || ^7.0", | |||
| @@ -131,16 +131,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -173,26 +173,26 @@ | |||
| "rest" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/doctrine-orm/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/doctrine-orm/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-14T15:03:57+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/documentation", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/documentation.git", | |||
| "reference": "e0fef856ccf0af34d7bcc8f789c521f9ace3fcf7" | |||
| "reference": "20334b3b29dca992e3520685f33f75f7fcba8da6" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/documentation/zipball/e0fef856ccf0af34d7bcc8f789c521f9ace3fcf7", | |||
| "reference": "e0fef856ccf0af34d7bcc8f789c521f9ace3fcf7", | |||
| "url": "https://api.github.com/repos/api-platform/documentation/zipball/20334b3b29dca992e3520685f33f75f7fcba8da6", | |||
| "reference": "20334b3b29dca992e3520685f33f75f7fcba8da6", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "php": ">=8.2" | |||
| }, | |||
| "require-dev": { | |||
| @@ -200,16 +200,16 @@ | |||
| }, | |||
| "type": "project", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -234,27 +234,27 @@ | |||
| ], | |||
| "description": "API Platform documentation controller.", | |||
| "support": { | |||
| "source": "https://github.com/api-platform/documentation/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/documentation/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-02-28T10:08:08+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/http-cache", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/http-cache.git", | |||
| "reference": "cbcf33172d8030a7770b0c8374d784b656e73722" | |||
| "reference": "118b11f9a14bc25e2fe3d745d91a1eb258e24126" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/http-cache/zipball/cbcf33172d8030a7770b0c8374d784b656e73722", | |||
| "reference": "cbcf33172d8030a7770b0c8374d784b656e73722", | |||
| "url": "https://api.github.com/repos/api-platform/http-cache/zipball/118b11f9a14bc25e2fe3d745d91a1eb258e24126", | |||
| "reference": "118b11f9a14bc25e2fe3d745d91a1eb258e24126", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/http-foundation": "^6.4 || ^7.0" | |||
| }, | |||
| @@ -267,16 +267,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -311,54 +311,54 @@ | |||
| "rest" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/http-cache/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/http-cache/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-02-28T10:08:08+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/hydra", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/hydra.git", | |||
| "reference": "2a6d23155bcd3d854ae178aa717b6df65f0059a5" | |||
| "reference": "27a60c19341bad1300514e488de16a5eb7d9e82f" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/hydra/zipball/2a6d23155bcd3d854ae178aa717b6df65f0059a5", | |||
| "reference": "2a6d23155bcd3d854ae178aa717b6df65f0059a5", | |||
| "url": "https://api.github.com/repos/api-platform/hydra/zipball/27a60c19341bad1300514e488de16a5eb7d9e82f", | |||
| "reference": "27a60c19341bad1300514e488de16a5eb7d9e82f", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/documentation": "^3.4 || ^4.0", | |||
| "api-platform/json-schema": "^3.4 || ^4.0", | |||
| "api-platform/jsonld": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/serializer": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/documentation": "^4.1", | |||
| "api-platform/json-schema": "^4.1", | |||
| "api-platform/jsonld": "^4.1", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/serializer": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/web-link": "^6.4 || ^7.0" | |||
| "symfony/web-link": "^6.4 || ^7.1" | |||
| }, | |||
| "require-dev": { | |||
| "api-platform/doctrine-common": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-odm": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-orm": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-common": "^4.1", | |||
| "api-platform/doctrine-odm": "^4.1", | |||
| "api-platform/doctrine-orm": "^4.1", | |||
| "phpspec/prophecy": "^1.19", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpunit/phpunit": "^11.2" | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -395,29 +395,29 @@ | |||
| "rest" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/hydra/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/hydra/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-02-28T10:53:26+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/json-schema", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/json-schema.git", | |||
| "reference": "8b29568be0a0e53e7f6fcf571c2df6c71337a104" | |||
| "reference": "409ebb55a8d2d4759b7adaf94ed8076e3ca2de5b" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/json-schema/zipball/8b29568be0a0e53e7f6fcf571c2df6c71337a104", | |||
| "reference": "8b29568be0a0e53e7f6fcf571c2df6c71337a104", | |||
| "url": "https://api.github.com/repos/api-platform/json-schema/zipball/409ebb55a8d2d4759b7adaf94ed8076e3ca2de5b", | |||
| "reference": "409ebb55a8d2d4759b7adaf94ed8076e3ca2de5b", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/console": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.1", | |||
| "symfony/serializer": "^6.4 || ^7.0", | |||
| "symfony/uid": "^6.4 || ^7.0" | |||
| }, | |||
| @@ -427,16 +427,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -473,28 +473,28 @@ | |||
| "swagger" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/json-schema/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/json-schema/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-02-28T10:53:26+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/jsonld", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/jsonld.git", | |||
| "reference": "67fca521038c7e979b3bc8946bf2ffd5e4c859f2" | |||
| "reference": "73e7998739f9d7f5428ac5f2a64ade3db67b9906" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/jsonld/zipball/67fca521038c7e979b3bc8946bf2ffd5e4c859f2", | |||
| "reference": "67fca521038c7e979b3bc8946bf2ffd5e4c859f2", | |||
| "url": "https://api.github.com/repos/api-platform/jsonld/zipball/73e7998739f9d7f5428ac5f2a64ade3db67b9906", | |||
| "reference": "73e7998739f9d7f5428ac5f2a64ade3db67b9906", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/serializer": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/serializer": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "php": ">=8.2" | |||
| }, | |||
| "require-dev": { | |||
| @@ -502,19 +502,22 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| "files": [ | |||
| "./HydraContext.php" | |||
| ], | |||
| "psr-4": { | |||
| "ApiPlatform\\JsonLd\\": "" | |||
| }, | |||
| @@ -547,22 +550,22 @@ | |||
| "rest" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/jsonld/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/jsonld/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-14T14:59:47+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/metadata", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/metadata.git", | |||
| "reference": "afdd1edb77f9de5f13ea3b08ac655a27a32e0496" | |||
| "reference": "72e2abecb007f9410348a3000d1e4fd34b068739" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/metadata/zipball/afdd1edb77f9de5f13ea3b08ac655a27a32e0496", | |||
| "reference": "afdd1edb77f9de5f13ea3b08ac655a27a32e0496", | |||
| "url": "https://api.github.com/repos/api-platform/metadata/zipball/72e2abecb007f9410348a3000d1e4fd34b068739", | |||
| "reference": "72e2abecb007f9410348a3000d1e4fd34b068739", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| @@ -570,21 +573,21 @@ | |||
| "php": ">=8.2", | |||
| "psr/cache": "^1.0 || ^2.0 || ^3.0", | |||
| "psr/log": "^1.0 || ^2.0 || ^3.0", | |||
| "symfony/property-info": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.1", | |||
| "symfony/string": "^6.4 || ^7.0", | |||
| "symfony/type-info": "^7.1" | |||
| }, | |||
| "require-dev": { | |||
| "api-platform/json-schema": "^3.4 || ^4.0", | |||
| "api-platform/openapi": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/json-schema": "^4.1", | |||
| "api-platform/openapi": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpstan/phpdoc-parser": "^1.13", | |||
| "phpstan/phpdoc-parser": "^1.29 || ^2.0", | |||
| "phpunit/phpunit": "^11.2", | |||
| "symfony/config": "^6.4 || ^7.0", | |||
| "symfony/routing": "^6.4 || ^7.0", | |||
| "symfony/var-dumper": "^6.4 || ^7.0", | |||
| "symfony/web-link": "^6.4 || ^7.0", | |||
| "symfony/web-link": "^6.4 || ^7.1", | |||
| "symfony/yaml": "^6.4 || ^7.0" | |||
| }, | |||
| "suggest": { | |||
| @@ -594,16 +597,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -643,52 +646,53 @@ | |||
| "swagger" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/metadata/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/metadata/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-21T19:15:45+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/openapi", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/openapi.git", | |||
| "reference": "c2c63202efa9fbbbb2315ef25f8e5813ce226326" | |||
| "reference": "5783f3938a4e6dd344aa20e6bdcb8fe9f68d185f" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/openapi/zipball/c2c63202efa9fbbbb2315ef25f8e5813ce226326", | |||
| "reference": "c2c63202efa9fbbbb2315ef25f8e5813ce226326", | |||
| "url": "https://api.github.com/repos/api-platform/openapi/zipball/5783f3938a4e6dd344aa20e6bdcb8fe9f68d185f", | |||
| "reference": "5783f3938a4e6dd344aa20e6bdcb8fe9f68d185f", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/json-schema": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/json-schema": "^4.1", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/console": "^6.4 || ^7.0", | |||
| "symfony/filesystem": "^6.4 || ^7.0", | |||
| "symfony/property-access": "^6.4 || ^7.0", | |||
| "symfony/serializer": "^6.4 || ^7.0" | |||
| }, | |||
| "require-dev": { | |||
| "api-platform/doctrine-common": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-odm": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-orm": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-common": "^4.1", | |||
| "api-platform/doctrine-odm": "^4.1", | |||
| "api-platform/doctrine-orm": "^4.1", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpunit/phpunit": "^11.2" | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -728,43 +732,42 @@ | |||
| "swagger" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/openapi/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/openapi/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-18T10:52:23+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/serializer", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/serializer.git", | |||
| "reference": "7618e5ae6729709f0d1f4e1f7d61289088d8a14b" | |||
| "reference": "c66e67c71da598f7dbb2cf7a368c6a8bf5e6796f" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/serializer/zipball/7618e5ae6729709f0d1f4e1f7d61289088d8a14b", | |||
| "reference": "7618e5ae6729709f0d1f4e1f7d61289088d8a14b", | |||
| "url": "https://api.github.com/repos/api-platform/serializer/zipball/c66e67c71da598f7dbb2cf7a368c6a8bf5e6796f", | |||
| "reference": "c66e67c71da598f7dbb2cf7a368c6a8bf5e6796f", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/property-access": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.1", | |||
| "symfony/serializer": "^6.4 || ^7.0", | |||
| "symfony/validator": "^6.4 || ^7.0" | |||
| }, | |||
| "require-dev": { | |||
| "api-platform/doctrine-common": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-odm": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-orm": "^3.4 || ^4.0", | |||
| "api-platform/json-schema": "^3.4 || ^4.0", | |||
| "api-platform/openapi": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-common": "^4.1", | |||
| "api-platform/doctrine-odm": "^4.1", | |||
| "api-platform/doctrine-orm": "^4.1", | |||
| "api-platform/json-schema": "^4.1", | |||
| "api-platform/openapi": "^4.1", | |||
| "doctrine/collections": "^2.1", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpunit/phpunit": "^11.2", | |||
| "sebastian/comparator": "<5.0", | |||
| "symfony/mercure-bundle": "*", | |||
| "symfony/var-dumper": "^6.4 || ^7.0", | |||
| "symfony/yaml": "^6.4 || ^7.0" | |||
| @@ -775,16 +778,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -819,36 +822,36 @@ | |||
| "serializer" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/serializer/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/serializer/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-02-28T10:53:26+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/state", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/state.git", | |||
| "reference": "b0265b53883fcfe1f1a4f0caf5c57e9b8b7a0332" | |||
| "reference": "2052fe6adb6b3d4511210ad9188554e7599dec69" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/state/zipball/b0265b53883fcfe1f1a4f0caf5c57e9b8b7a0332", | |||
| "reference": "b0265b53883fcfe1f1a4f0caf5c57e9b8b7a0332", | |||
| "url": "https://api.github.com/repos/api-platform/state/zipball/2052fe6adb6b3d4511210ad9188554e7599dec69", | |||
| "reference": "2052fe6adb6b3d4511210ad9188554e7599dec69", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "php": ">=8.2", | |||
| "psr/container": "^1.0 || ^2.0", | |||
| "symfony/http-kernel": "^6.4 || ^7.0" | |||
| }, | |||
| "require-dev": { | |||
| "api-platform/serializer": "^3.4 || ^4.0", | |||
| "api-platform/validator": "^3.4 || ^4.0", | |||
| "api-platform/serializer": "^4.1", | |||
| "api-platform/validator": "^4.1", | |||
| "phpunit/phpunit": "^11.2", | |||
| "symfony/http-foundation": "^6.4 || ^7.0", | |||
| "symfony/web-link": "^6.4 || ^7.0", | |||
| "symfony/web-link": "^6.4 || ^7.1", | |||
| "willdurand/negotiation": "^3.1" | |||
| }, | |||
| "suggest": { | |||
| @@ -860,16 +863,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -909,48 +912,48 @@ | |||
| "swagger" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/state/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/state/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-21T19:15:45+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/symfony", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/symfony.git", | |||
| "reference": "7b8b2ac8c480303cc98cde21d5ca4f7e7b941e00" | |||
| "reference": "7a4ed53ce1778f4efb9c3a1efd92e699dc071150" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/symfony/zipball/7b8b2ac8c480303cc98cde21d5ca4f7e7b941e00", | |||
| "reference": "7b8b2ac8c480303cc98cde21d5ca4f7e7b941e00", | |||
| "url": "https://api.github.com/repos/api-platform/symfony/zipball/7a4ed53ce1778f4efb9c3a1efd92e699dc071150", | |||
| "reference": "7a4ed53ce1778f4efb9c3a1efd92e699dc071150", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/documentation": "^3.4 || ^4.0", | |||
| "api-platform/http-cache": "^3.4 || ^4.0", | |||
| "api-platform/hydra": "^3.4 || ^4.0", | |||
| "api-platform/json-schema": "^3.4 || ^4.0", | |||
| "api-platform/jsonld": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/openapi": "^3.4 || ^4.0", | |||
| "api-platform/serializer": "^3.4 || ^4.0", | |||
| "api-platform/state": "^3.4 || ^4.0", | |||
| "api-platform/validator": "^3.4 || ^4.0", | |||
| "api-platform/documentation": "^4.1", | |||
| "api-platform/http-cache": "^4.1", | |||
| "api-platform/hydra": "^4.1", | |||
| "api-platform/json-schema": "^4.1", | |||
| "api-platform/jsonld": "^4.1", | |||
| "api-platform/metadata": "^4.1", | |||
| "api-platform/openapi": "^4.1", | |||
| "api-platform/serializer": "^4.1", | |||
| "api-platform/state": "^4.1", | |||
| "api-platform/validator": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/property-access": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.0", | |||
| "symfony/property-info": "^6.4 || ^7.1", | |||
| "symfony/security-core": "^6.4 || ^7.0", | |||
| "symfony/serializer": "^6.4 || ^7.0", | |||
| "willdurand/negotiation": "^3.1" | |||
| }, | |||
| "require-dev": { | |||
| "api-platform/doctrine-common": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-odm": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-orm": "^3.4 || ^4.0", | |||
| "api-platform/elasticsearch": "^3.4 || ^4.0", | |||
| "api-platform/graphql": "^3.4 || ^4.0", | |||
| "api-platform/doctrine-common": "^4.1", | |||
| "api-platform/doctrine-odm": "^4.1", | |||
| "api-platform/doctrine-orm": "^4.1", | |||
| "api-platform/elasticsearch": "^4.1", | |||
| "api-platform/graphql": "^4.1", | |||
| "api-platform/parameter-validator": "^3.1", | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| "phpunit/phpunit": "^11.2", | |||
| @@ -965,10 +968,10 @@ | |||
| "api-platform/doctrine-orm": "To support Doctrine ORM.", | |||
| "api-platform/elasticsearch": "To support Elasticsearch.", | |||
| "api-platform/graphql": "To support GraphQL.", | |||
| "api-platform/ramsey-uuid": "To support Ramsey's UUID identifiers.", | |||
| "ocramius/package-versions": "To display the API Platform's version in the debug bar.", | |||
| "phpstan/phpdoc-parser": "To support extracting metadata from PHPDoc.", | |||
| "psr/cache-implementation": "To use metadata caching.", | |||
| "ramsey/uuid": "To support Ramsey's UUID identifiers.", | |||
| "symfony/cache": "To have metadata caching when using Symfony integration.", | |||
| "symfony/config": "To load XML configuration files.", | |||
| "symfony/expression-language": "To use authorization and mercure advanced features.", | |||
| @@ -982,16 +985,16 @@ | |||
| }, | |||
| "type": "symfony-bundle", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -1032,28 +1035,28 @@ | |||
| "symfony" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/symfony/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/symfony/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-17T12:38:33+00:00" | |||
| }, | |||
| { | |||
| "name": "api-platform/validator", | |||
| "version": "v4.0.2", | |||
| "version": "v4.1.3", | |||
| "source": { | |||
| "type": "git", | |||
| "url": "https://github.com/api-platform/validator.git", | |||
| "reference": "c55408dd1dcd03fa35afe1aff703daae7a1553b8" | |||
| "reference": "ebe7a04a91e72ee770b9d7442085c1317cc5fd94" | |||
| }, | |||
| "dist": { | |||
| "type": "zip", | |||
| "url": "https://api.github.com/repos/api-platform/validator/zipball/c55408dd1dcd03fa35afe1aff703daae7a1553b8", | |||
| "reference": "c55408dd1dcd03fa35afe1aff703daae7a1553b8", | |||
| "url": "https://api.github.com/repos/api-platform/validator/zipball/ebe7a04a91e72ee770b9d7442085c1317cc5fd94", | |||
| "reference": "ebe7a04a91e72ee770b9d7442085c1317cc5fd94", | |||
| "shasum": "" | |||
| }, | |||
| "require": { | |||
| "api-platform/metadata": "^3.4 || ^4.0", | |||
| "api-platform/metadata": "^4.1", | |||
| "php": ">=8.2", | |||
| "symfony/web-link": "^6.4 || ^7.0" | |||
| "symfony/web-link": "^6.4 || ^7.1" | |||
| }, | |||
| "require-dev": { | |||
| "phpspec/prophecy-phpunit": "^2.2", | |||
| @@ -1064,16 +1067,16 @@ | |||
| }, | |||
| "type": "library", | |||
| "extra": { | |||
| "branch-alias": { | |||
| "dev-main": "4.0.x-dev", | |||
| "dev-3.4": "3.4.x-dev" | |||
| "thanks": { | |||
| "url": "https://github.com/api-platform/api-platform", | |||
| "name": "api-platform/api-platform" | |||
| }, | |||
| "symfony": { | |||
| "require": "^6.4 || ^7.0" | |||
| }, | |||
| "thanks": { | |||
| "name": "api-platform/api-platform", | |||
| "url": "https://github.com/api-platform/api-platform" | |||
| "branch-alias": { | |||
| "dev-3.4": "3.4.x-dev", | |||
| "dev-main": "4.2.x-dev" | |||
| } | |||
| }, | |||
| "autoload": { | |||
| @@ -1105,9 +1108,9 @@ | |||
| "validator" | |||
| ], | |||
| "support": { | |||
| "source": "https://github.com/api-platform/validator/tree/v4.0.2" | |||
| "source": "https://github.com/api-platform/validator/tree/v4.1.3" | |||
| }, | |||
| "time": "2024-09-21T11:01:16+00:00" | |||
| "time": "2025-03-10T10:30:30+00:00" | |||
| }, | |||
| { | |||
| "name": "doctrine/cache", | |||
| @@ -15,20 +15,20 @@ class OpenApiFactory implements OpenApiFactoryInterface | |||
| { | |||
| $openApi = ($this->decorated)($context); | |||
| // Cleanup schema names | |||
| $schemas = $openApi->getComponents()->getSchemas(); | |||
| $cleanedSchemas = new \ArrayObject(); | |||
| foreach ($schemas as $key => $schema) { | |||
| // Remove the .jsonld-media_object.read suffix | |||
| $newKey = preg_replace('/\.jsonld-.*/', '', $key); | |||
| //$newKey = preg_replace('/\.jsonld-.*|\.jsonld$/', '', $key); | |||
| $cleanedSchemas[$newKey] = $schema; | |||
| } | |||
| $openApi = $openApi->withComponents( | |||
| $openApi->getComponents()->withSchemas($cleanedSchemas) | |||
| ); | |||
| // // Cleanup schema names | |||
| // $schemas = $openApi->getComponents()->getSchemas(); | |||
| // $cleanedSchemas = new \ArrayObject(); | |||
| // | |||
| // foreach ($schemas as $key => $schema) { | |||
| // // Remove the .jsonld-media_object.read suffix | |||
| // $newKey = preg_replace('/\.jsonld-.*/', '', $key); | |||
| // //$newKey = preg_replace('/\.jsonld-.*|\.jsonld$/', '', $key); | |||
| // $cleanedSchemas[$newKey] = $schema; | |||
| // } | |||
| // | |||
| // $openApi = $openApi->withComponents( | |||
| // $openApi->getComponents()->withSchemas($cleanedSchemas) | |||
| // ); | |||
| return $openApi; | |||
| } | |||