/** * The Association for Cube Commons * The CubeCommons API caters to each and every whim of the Frontend, i.e. it receives, bundles, packages and formats data exactly as the Frontend needs it. * * The version of the OpenAPI document: 0.9.95 * Contact: tech@cubecommons.ca * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { CreateProfileRequest } from '../models'; import { CreateProfileResponse } from '../models'; import { GetProfileResponse } from '../models'; import { UpdateProfileRequest } from '../models'; import { UpdateProfileResponse } from '../models'; /** * ProfileApi - axios parameter creator * @export */ export declare const ProfileApiAxiosParamCreator: (configuration?: Configuration) => { /** * Create Profile * @summary Create Profile * @param {CreateProfileRequest} createProfileRequest Create Profile Request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProfile: (createProfileRequest: CreateProfileRequest, options?: AxiosRequestConfig) => Promise; /** * Get profile details. * @summary Get profile details * @param {string} profileId Profile ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProfile: (profileId: string, options?: AxiosRequestConfig) => Promise; /** * Get all of the profiles * @summary Get all of the profiles * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProfiles: (options?: AxiosRequestConfig) => Promise; /** * Update Profile. * @summary Update Profile * @param {string} profileId Profile ID * @param {UpdateProfileRequest} updateProfileRequest Profile Update * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateProfile: (profileId: string, updateProfileRequest: UpdateProfileRequest, options?: AxiosRequestConfig) => Promise; }; /** * ProfileApi - functional programming interface * @export */ export declare const ProfileApiFp: (configuration?: Configuration) => { /** * Create Profile * @summary Create Profile * @param {CreateProfileRequest} createProfileRequest Create Profile Request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProfile(createProfileRequest: CreateProfileRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get profile details. * @summary Get profile details * @param {string} profileId Profile ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProfile(profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get all of the profiles * @summary Get all of the profiles * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProfiles(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update Profile. * @summary Update Profile * @param {string} profileId Profile ID * @param {UpdateProfileRequest} updateProfileRequest Profile Update * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateProfile(profileId: string, updateProfileRequest: UpdateProfileRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ProfileApi - factory interface * @export */ export declare const ProfileApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Create Profile * @summary Create Profile * @param {CreateProfileRequest} createProfileRequest Create Profile Request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProfile(createProfileRequest: CreateProfileRequest, options?: any): AxiosPromise; /** * Get profile details. * @summary Get profile details * @param {string} profileId Profile ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProfile(profileId: string, options?: any): AxiosPromise; /** * Get all of the profiles * @summary Get all of the profiles * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProfiles(options?: any): AxiosPromise; /** * Update Profile. * @summary Update Profile * @param {string} profileId Profile ID * @param {UpdateProfileRequest} updateProfileRequest Profile Update * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateProfile(profileId: string, updateProfileRequest: UpdateProfileRequest, options?: any): AxiosPromise; }; /** * ProfileApi - interface * @export * @interface ProfileApi */ export interface ProfileApiInterface { /** * Create Profile * @summary Create Profile * @param {CreateProfileRequest} createProfileRequest Create Profile Request * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApiInterface */ createProfile(createProfileRequest: CreateProfileRequest, options?: AxiosRequestConfig): AxiosPromise; /** * Get profile details. * @summary Get profile details * @param {string} profileId Profile ID * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApiInterface */ getProfile(profileId: string, options?: AxiosRequestConfig): AxiosPromise; /** * Get all of the profiles * @summary Get all of the profiles * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApiInterface */ getProfiles(options?: AxiosRequestConfig): AxiosPromise; /** * Update Profile. * @summary Update Profile * @param {string} profileId Profile ID * @param {UpdateProfileRequest} updateProfileRequest Profile Update * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApiInterface */ updateProfile(profileId: string, updateProfileRequest: UpdateProfileRequest, options?: AxiosRequestConfig): AxiosPromise; } /** * ProfileApi - object-oriented interface * @export * @class ProfileApi * @extends {BaseAPI} */ export declare class ProfileApi extends BaseAPI implements ProfileApiInterface { /** * Create Profile * @summary Create Profile * @param {CreateProfileRequest} createProfileRequest Create Profile Request * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApi */ createProfile(createProfileRequest: CreateProfileRequest, options?: AxiosRequestConfig): Promise>; /** * Get profile details. * @summary Get profile details * @param {string} profileId Profile ID * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApi */ getProfile(profileId: string, options?: AxiosRequestConfig): Promise>; /** * Get all of the profiles * @summary Get all of the profiles * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApi */ getProfiles(options?: AxiosRequestConfig): Promise>; /** * Update Profile. * @summary Update Profile * @param {string} profileId Profile ID * @param {UpdateProfileRequest} updateProfileRequest Profile Update * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProfileApi */ updateProfile(profileId: string, updateProfileRequest: UpdateProfileRequest, options?: AxiosRequestConfig): Promise>; }