Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/follow-redirects-1.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bergatco authored Feb 5, 2024
2 parents 196087b + 3125026 commit a693d96
Showing 1 changed file with 199 additions and 0 deletions.
199 changes: 199 additions & 0 deletions src/serverApi/v3/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4244,6 +4244,19 @@ export enum RoleName {
User = 'user'
}

/**
*
* @export
* @interface SchoolExistsResponse
*/
export interface SchoolExistsResponse {
/**
*
* @type {boolean}
* @memberof SchoolExistsResponse
*/
exists: boolean;
}
/**
*
* @export
Expand Down Expand Up @@ -4467,6 +4480,31 @@ export interface SchoolForExternalInviteResponse {
*/
name: string;
}
/**
*
* @export
* @interface SchoolForLdapLoginResponse
*/
export interface SchoolForLdapLoginResponse {
/**
*
* @type {string}
* @memberof SchoolForLdapLoginResponse
*/
id: string;
/**
*
* @type {string}
* @memberof SchoolForLdapLoginResponse
*/
name: string;
/**
*
* @type {Array<SystemForLdapLoginResponse>}
* @memberof SchoolForLdapLoginResponse
*/
systems: Array<SystemForLdapLoginResponse>;
}
/**
*
* @export
Expand Down Expand Up @@ -5127,6 +5165,31 @@ export interface SuccessfulResponse {
*/
successful: boolean;
}
/**
*
* @export
* @interface SystemForLdapLoginResponse
*/
export interface SystemForLdapLoginResponse {
/**
*
* @type {string}
* @memberof SystemForLdapLoginResponse
*/
id: string;
/**
*
* @type {string}
* @memberof SystemForLdapLoginResponse
*/
type: string;
/**
*
* @type {string}
* @memberof SystemForLdapLoginResponse
*/
alias: string;
}
/**
*
* @export
Expand Down Expand Up @@ -13096,6 +13159,39 @@ export class SSOApi extends BaseAPI implements SSOApiInterface {
*/
export const SchoolApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
*
* @param {string} schoolId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
schoolControllerDoesSchoolExist: async (schoolId: string, options: any = {}): Promise<RequestArgs> => {
// verify required parameter 'schoolId' is not null or undefined
assertParamExists('schoolControllerDoesSchoolExist', 'schoolId', schoolId)
const localVarPath = `/school/exists/id/{schoolId}`
.replace(`{${"schoolId"}}`, encodeURIComponent(String(schoolId)));
// 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, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* Gets all provisioning options for a system at a school
* @param {string} schoolId
Expand Down Expand Up @@ -13203,6 +13299,35 @@ export const SchoolApiAxiosParamCreator = function (configuration?: Configuratio



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

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
schoolControllerGetSchoolListForLadpLogin: async (options: any = {}): Promise<RequestArgs> => {
const localVarPath = `/school/list-for-ldap-login`;
// 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, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -13269,6 +13394,16 @@ export const SchoolApiAxiosParamCreator = function (configuration?: Configuratio
export const SchoolApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = SchoolApiAxiosParamCreator(configuration)
return {
/**
*
* @param {string} schoolId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async schoolControllerDoesSchoolExist(schoolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SchoolExistsResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.schoolControllerDoesSchoolExist(schoolId, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* Gets all provisioning options for a system at a school
* @param {string} schoolId
Expand Down Expand Up @@ -13300,6 +13435,15 @@ export const SchoolApiFp = function(configuration?: Configuration) {
const localVarAxiosArgs = await localVarAxiosParamCreator.schoolControllerGetSchoolListForExternalInvite(federalStateId, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async schoolControllerGetSchoolListForLadpLogin(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SchoolForLdapLoginResponse>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.schoolControllerGetSchoolListForLadpLogin(options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* Sets all provisioning options for a system at a school
* @param {string} schoolId
Expand All @@ -13322,6 +13466,15 @@ export const SchoolApiFp = function(configuration?: Configuration) {
export const SchoolApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
const localVarFp = SchoolApiFp(configuration)
return {
/**
*
* @param {string} schoolId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
schoolControllerDoesSchoolExist(schoolId: string, options?: any): AxiosPromise<SchoolExistsResponse> {
return localVarFp.schoolControllerDoesSchoolExist(schoolId, options).then((request) => request(axios, basePath));
},
/**
* Gets all provisioning options for a system at a school
* @param {string} schoolId
Expand Down Expand Up @@ -13350,6 +13503,14 @@ export const SchoolApiFactory = function (configuration?: Configuration, basePat
schoolControllerGetSchoolListForExternalInvite(federalStateId?: string, options?: any): AxiosPromise<Array<SchoolForExternalInviteResponse>> {
return localVarFp.schoolControllerGetSchoolListForExternalInvite(federalStateId, options).then((request) => request(axios, basePath));
},
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
schoolControllerGetSchoolListForLadpLogin(options?: any): AxiosPromise<Array<SchoolForLdapLoginResponse>> {
return localVarFp.schoolControllerGetSchoolListForLadpLogin(options).then((request) => request(axios, basePath));
},
/**
* Sets all provisioning options for a system at a school
* @param {string} schoolId
Expand All @@ -13370,6 +13531,15 @@ export const SchoolApiFactory = function (configuration?: Configuration, basePat
* @interface SchoolApi
*/
export interface SchoolApiInterface {
/**
*
* @param {string} schoolId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SchoolApiInterface
*/
schoolControllerDoesSchoolExist(schoolId: string, options?: any): AxiosPromise<SchoolExistsResponse>;

/**
* Gets all provisioning options for a system at a school
* @param {string} schoolId
Expand Down Expand Up @@ -13398,6 +13568,14 @@ export interface SchoolApiInterface {
*/
schoolControllerGetSchoolListForExternalInvite(federalStateId?: string, options?: any): AxiosPromise<Array<SchoolForExternalInviteResponse>>;

/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SchoolApiInterface
*/
schoolControllerGetSchoolListForLadpLogin(options?: any): AxiosPromise<Array<SchoolForLdapLoginResponse>>;

/**
* Sets all provisioning options for a system at a school
* @param {string} schoolId
Expand All @@ -13418,6 +13596,17 @@ export interface SchoolApiInterface {
* @extends {BaseAPI}
*/
export class SchoolApi extends BaseAPI implements SchoolApiInterface {
/**
*
* @param {string} schoolId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SchoolApi
*/
public schoolControllerDoesSchoolExist(schoolId: string, options?: any) {
return SchoolApiFp(this.configuration).schoolControllerDoesSchoolExist(schoolId, options).then((request) => request(this.axios, this.basePath));
}

/**
* Gets all provisioning options for a system at a school
* @param {string} schoolId
Expand Down Expand Up @@ -13452,6 +13641,16 @@ export class SchoolApi extends BaseAPI implements SchoolApiInterface {
return SchoolApiFp(this.configuration).schoolControllerGetSchoolListForExternalInvite(federalStateId, options).then((request) => request(this.axios, this.basePath));
}

/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SchoolApi
*/
public schoolControllerGetSchoolListForLadpLogin(options?: any) {
return SchoolApiFp(this.configuration).schoolControllerGetSchoolListForLadpLogin(options).then((request) => request(this.axios, this.basePath));
}

/**
* Sets all provisioning options for a system at a school
* @param {string} schoolId
Expand Down

0 comments on commit a693d96

Please sign in to comment.