Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPSH-1034 #351

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
116 changes: 116 additions & 0 deletions src/api-client/generated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,12 @@ export interface DBiamPersonenzuordnungResponse {
* @memberof DBiamPersonenzuordnungResponse
*/
'merkmale': RollenMerkmal;
/**
*
* @type {Array<string>}
* @memberof DBiamPersonenzuordnungResponse
*/
'admins': Array<string>;
}


Expand Down Expand Up @@ -10085,3 +10091,113 @@ export class RolleApi extends BaseAPI implements RolleApiInterface {
}


/**
* StatusApi - axios parameter creator
* @export
*/
export const StatusApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
statusControllerGetStatus: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/status`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}

const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
}
};

/**
* StatusApi - functional programming interface
* @export
*/
export const StatusApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = StatusApiAxiosParamCreator(configuration)
return {
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async statusControllerGetStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.statusControllerGetStatus(options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
}
};

/**
* StatusApi - factory interface
* @export
*/
export const StatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
const localVarFp = StatusApiFp(configuration)
return {
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
statusControllerGetStatus(options?: any): AxiosPromise<void> {
return localVarFp.statusControllerGetStatus(options).then((request) => request(axios, basePath));
},
};
};

/**
* StatusApi - interface
* @export
* @interface StatusApi
*/
export interface StatusApiInterface {
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof StatusApiInterface
*/
statusControllerGetStatus(options?: AxiosRequestConfig): AxiosPromise<void>;

}

/**
* StatusApi - object-oriented interface
* @export
* @class StatusApi
* @extends {BaseAPI}
*/
export class StatusApi extends BaseAPI implements StatusApiInterface {
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof StatusApi
*/
public statusControllerGetStatus(options?: AxiosRequestConfig) {
return StatusApiFp(this.configuration).statusControllerGetStatus(options).then((request) => request(this.axios, this.basePath));
}
}


Loading
Loading