Skip to content

Commit

Permalink
Spsh 1327 (#374)
Browse files Browse the repository at this point in the history
* display kopers banner

* spsh banner tests

* test StartView
  • Loading branch information
tikle-cap authored Dec 16, 2024
1 parent 75b4699 commit 9d95414
Show file tree
Hide file tree
Showing 8 changed files with 6,644 additions and 6,762 deletions.
135 changes: 135 additions & 0 deletions src/api-client/generated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1936,6 +1936,25 @@ export interface PersonResponseEmail {
}


/**
*
* @export
* @interface PersonTimeLimitInfoResponse
*/
export interface PersonTimeLimitInfoResponse {
/**
*
* @type {string}
* @memberof PersonTimeLimitInfoResponse
*/
'occasion': string | null;
/**
*
* @type {string}
* @memberof PersonTimeLimitInfoResponse
*/
'deadline': string | null;
}
/**
*
* @export
Expand Down Expand Up @@ -3068,6 +3087,12 @@ export interface UserinfoResponse {
* @memberof UserinfoResponse
*/
'acr': string;
/**
*
* @type {Array<PersonTimeLimitInfoResponse>}
* @memberof UserinfoResponse
*/
'timeLimits': Array<PersonTimeLimitInfoResponse>;
}
/**
*
Expand Down Expand Up @@ -10085,3 +10110,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

0 comments on commit 9d95414

Please sign in to comment.