-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(generate): generate client for 3.0.1
- Loading branch information
Showing
16 changed files
with
622 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* GEWISDB API | ||
* The GEWIS member database has a few available endpoints | ||
* | ||
* The version of the OpenAPI document: 61a3f816c126d454d7bd665dd6788f9d7a619961 | ||
* The version of the OpenAPI document: 3.0.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -13,6 +13,82 @@ import type { Configuration } from './configuration'; | |
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; | ||
import type { RequestArgs } from './base'; | ||
import { BaseAPI } from './base'; | ||
/** | ||
* | ||
* @export | ||
* @interface Example404Get404Response | ||
*/ | ||
export interface Example404Get404Response { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Example404Get404Response | ||
*/ | ||
'status'?: string; | ||
/** | ||
* | ||
* @type {Example404Get404ResponseError} | ||
* @memberof Example404Get404Response | ||
*/ | ||
'error'?: Example404Get404ResponseError; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Example404Get404ResponseError | ||
*/ | ||
export interface Example404Get404ResponseError { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Example404Get404ResponseError | ||
*/ | ||
'type'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Example404Get404ResponseError | ||
*/ | ||
'exception'?: string; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Example500Get500Response | ||
*/ | ||
export interface Example500Get500Response { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Example500Get500Response | ||
*/ | ||
'status'?: string; | ||
/** | ||
* | ||
* @type {Example500Get500ResponseError} | ||
* @memberof Example500Get500Response | ||
*/ | ||
'error'?: Example500Get500ResponseError; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Example500Get500ResponseError | ||
*/ | ||
export interface Example500Get500ResponseError { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Example500Get500ResponseError | ||
*/ | ||
'type'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Example500Get500ResponseError | ||
*/ | ||
'exception'?: string; | ||
} | ||
/** | ||
* | ||
* @export | ||
|
@@ -57,6 +133,12 @@ export interface Get403ResponseError { | |
* @interface Health | ||
*/ | ||
export interface Health { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Health | ||
*/ | ||
'status'?: string; | ||
/** | ||
* | ||
* @type {boolean} | ||
|
@@ -131,7 +213,7 @@ export interface MemberAllAttributes { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberAllAttributes | ||
*/ | ||
|
@@ -253,7 +335,7 @@ export interface MemberExtendedBirthDate { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberExtendedBirthDate | ||
*/ | ||
|
@@ -344,7 +426,7 @@ export interface MemberExtendedEmail { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberExtendedEmail | ||
*/ | ||
|
@@ -417,7 +499,7 @@ export interface MemberExtendedKeyholder { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberExtendedKeyholder | ||
*/ | ||
|
@@ -490,7 +572,7 @@ export interface MemberExtendedOrgan { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberExtendedOrgan | ||
*/ | ||
|
@@ -563,7 +645,7 @@ export interface MemberExtendedType { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberExtendedType | ||
*/ | ||
|
@@ -643,7 +725,7 @@ export interface MemberSimple { | |
*/ | ||
'hidden'?: boolean; | ||
/** | ||
* | ||
* Always false unless the API principal has MembersDeleted permission | ||
* @type {boolean} | ||
* @memberof MemberSimple | ||
*/ | ||
|
@@ -661,6 +743,12 @@ export interface MemberSimple { | |
* @interface MembersGet200Response | ||
*/ | ||
export interface MembersGet200Response { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof MembersGet200Response | ||
*/ | ||
'status'?: string; | ||
/** | ||
* | ||
* @type {Array<Member>} | ||
|
@@ -674,6 +762,12 @@ export interface MembersGet200Response { | |
* @interface MembersLidnrGet200Response | ||
*/ | ||
export interface MembersLidnrGet200Response { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof MembersLidnrGet200Response | ||
*/ | ||
'status'?: string; | ||
/** | ||
* | ||
* @type {Member} | ||
|
@@ -825,6 +919,90 @@ export declare class BasicApi extends BaseAPI { | |
*/ | ||
rootGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Health, any>>; | ||
} | ||
/** | ||
* ErrorsApi - axios parameter creator | ||
* @export | ||
*/ | ||
export declare const ErrorsApiAxiosParamCreator: (configuration?: Configuration) => { | ||
/** | ||
* This 404 will be returned if there is a mistake in the requested path | ||
* @summary Example 404 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
example404Get: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* This 500 will be returned if there is a mistake in the requested path | ||
* @summary Example 500 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
example500Get: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
/** | ||
* ErrorsApi - functional programming interface | ||
* @export | ||
*/ | ||
export declare const ErrorsApiFp: (configuration?: Configuration) => { | ||
/** | ||
* This 404 will be returned if there is a mistake in the requested path | ||
* @summary Example 404 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
example404Get(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; | ||
/** | ||
* This 500 will be returned if there is a mistake in the requested path | ||
* @summary Example 500 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
example500Get(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; | ||
}; | ||
/** | ||
* ErrorsApi - factory interface | ||
* @export | ||
*/ | ||
export declare const ErrorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { | ||
/** | ||
* This 404 will be returned if there is a mistake in the requested path | ||
* @summary Example 404 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
example404Get(options?: any): AxiosPromise<void>; | ||
/** | ||
* This 500 will be returned if there is a mistake in the requested path | ||
* @summary Example 500 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
example500Get(options?: any): AxiosPromise<void>; | ||
}; | ||
/** | ||
* ErrorsApi - object-oriented interface | ||
* @export | ||
* @class ErrorsApi | ||
* @extends {BaseAPI} | ||
*/ | ||
export declare class ErrorsApi extends BaseAPI { | ||
/** | ||
* This 404 will be returned if there is a mistake in the requested path | ||
* @summary Example 404 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof ErrorsApi | ||
*/ | ||
example404Get(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>; | ||
/** | ||
* This 500 will be returned if there is a mistake in the requested path | ||
* @summary Example 500 | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof ErrorsApi | ||
*/ | ||
example500Get(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>; | ||
} | ||
/** | ||
* MembersApi - axios parameter creator | ||
* @export | ||
|
Oops, something went wrong.