ch-admin-api-client-typescript 2.3.8 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +377 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +513 -8
- package/package.json +1 -1
- package/src/api.ts +629 -12
package/src/api.ts
CHANGED
|
@@ -8977,6 +8977,25 @@ export interface HospitalServicesModel {
|
|
|
8977
8977
|
*/
|
|
8978
8978
|
'metaData'?: PagedListMetaData;
|
|
8979
8979
|
}
|
|
8980
|
+
/**
|
|
8981
|
+
*
|
|
8982
|
+
* @export
|
|
8983
|
+
* @interface HospitalSimpleItemModel
|
|
8984
|
+
*/
|
|
8985
|
+
export interface HospitalSimpleItemModel {
|
|
8986
|
+
/**
|
|
8987
|
+
*
|
|
8988
|
+
* @type {string}
|
|
8989
|
+
* @memberof HospitalSimpleItemModel
|
|
8990
|
+
*/
|
|
8991
|
+
'id'?: string;
|
|
8992
|
+
/**
|
|
8993
|
+
*
|
|
8994
|
+
* @type {string}
|
|
8995
|
+
* @memberof HospitalSimpleItemModel
|
|
8996
|
+
*/
|
|
8997
|
+
'name'?: string | null;
|
|
8998
|
+
}
|
|
8980
8999
|
/**
|
|
8981
9000
|
*
|
|
8982
9001
|
* @export
|
|
@@ -9180,6 +9199,25 @@ export interface HospitalsModel {
|
|
|
9180
9199
|
*/
|
|
9181
9200
|
'metaData'?: PagedListMetaData;
|
|
9182
9201
|
}
|
|
9202
|
+
/**
|
|
9203
|
+
*
|
|
9204
|
+
* @export
|
|
9205
|
+
* @interface HospitalsSimpleModel
|
|
9206
|
+
*/
|
|
9207
|
+
export interface HospitalsSimpleModel {
|
|
9208
|
+
/**
|
|
9209
|
+
*
|
|
9210
|
+
* @type {Array<HospitalSimpleItemModel>}
|
|
9211
|
+
* @memberof HospitalsSimpleModel
|
|
9212
|
+
*/
|
|
9213
|
+
'items'?: Array<HospitalSimpleItemModel> | null;
|
|
9214
|
+
/**
|
|
9215
|
+
*
|
|
9216
|
+
* @type {PagedListMetaData}
|
|
9217
|
+
* @memberof HospitalsSimpleModel
|
|
9218
|
+
*/
|
|
9219
|
+
'metaData'?: PagedListMetaData;
|
|
9220
|
+
}
|
|
9183
9221
|
/**
|
|
9184
9222
|
*
|
|
9185
9223
|
* @export
|
|
@@ -9584,6 +9622,50 @@ export interface ManagerAffiliation {
|
|
|
9584
9622
|
*/
|
|
9585
9623
|
'hospital'?: Hospital;
|
|
9586
9624
|
}
|
|
9625
|
+
/**
|
|
9626
|
+
*
|
|
9627
|
+
* @export
|
|
9628
|
+
* @interface ManagerAffiliationItemModel
|
|
9629
|
+
*/
|
|
9630
|
+
export interface ManagerAffiliationItemModel {
|
|
9631
|
+
/**
|
|
9632
|
+
*
|
|
9633
|
+
* @type {string}
|
|
9634
|
+
* @memberof ManagerAffiliationItemModel
|
|
9635
|
+
*/
|
|
9636
|
+
'hospitalId'?: string;
|
|
9637
|
+
/**
|
|
9638
|
+
*
|
|
9639
|
+
* @type {string}
|
|
9640
|
+
* @memberof ManagerAffiliationItemModel
|
|
9641
|
+
*/
|
|
9642
|
+
'hospitalName'?: string | null;
|
|
9643
|
+
/**
|
|
9644
|
+
*
|
|
9645
|
+
* @type {string}
|
|
9646
|
+
* @memberof ManagerAffiliationItemModel
|
|
9647
|
+
*/
|
|
9648
|
+
'hospitalSlug'?: string | null;
|
|
9649
|
+
}
|
|
9650
|
+
/**
|
|
9651
|
+
*
|
|
9652
|
+
* @export
|
|
9653
|
+
* @interface ManagerAffiliationsModel
|
|
9654
|
+
*/
|
|
9655
|
+
export interface ManagerAffiliationsModel {
|
|
9656
|
+
/**
|
|
9657
|
+
*
|
|
9658
|
+
* @type {Array<ManagerAffiliationItemModel>}
|
|
9659
|
+
* @memberof ManagerAffiliationsModel
|
|
9660
|
+
*/
|
|
9661
|
+
'items'?: Array<ManagerAffiliationItemModel> | null;
|
|
9662
|
+
/**
|
|
9663
|
+
*
|
|
9664
|
+
* @type {PagedListMetaData}
|
|
9665
|
+
* @memberof ManagerAffiliationsModel
|
|
9666
|
+
*/
|
|
9667
|
+
'metaData'?: PagedListMetaData;
|
|
9668
|
+
}
|
|
9587
9669
|
/**
|
|
9588
9670
|
*
|
|
9589
9671
|
* @export
|
|
@@ -13910,6 +13992,67 @@ export interface UpdatePlanHospitalCommand {
|
|
|
13910
13992
|
*/
|
|
13911
13993
|
'order'?: number;
|
|
13912
13994
|
}
|
|
13995
|
+
/**
|
|
13996
|
+
*
|
|
13997
|
+
* @export
|
|
13998
|
+
* @interface UpdateProfileCommand
|
|
13999
|
+
*/
|
|
14000
|
+
export interface UpdateProfileCommand {
|
|
14001
|
+
/**
|
|
14002
|
+
*
|
|
14003
|
+
* @type {string}
|
|
14004
|
+
* @memberof UpdateProfileCommand
|
|
14005
|
+
*/
|
|
14006
|
+
'firstName'?: string | null;
|
|
14007
|
+
/**
|
|
14008
|
+
*
|
|
14009
|
+
* @type {string}
|
|
14010
|
+
* @memberof UpdateProfileCommand
|
|
14011
|
+
*/
|
|
14012
|
+
'lastName'?: string | null;
|
|
14013
|
+
/**
|
|
14014
|
+
*
|
|
14015
|
+
* @type {string}
|
|
14016
|
+
* @memberof UpdateProfileCommand
|
|
14017
|
+
*/
|
|
14018
|
+
'phone'?: string | null;
|
|
14019
|
+
/**
|
|
14020
|
+
*
|
|
14021
|
+
* @type {string}
|
|
14022
|
+
* @memberof UpdateProfileCommand
|
|
14023
|
+
*/
|
|
14024
|
+
'photo'?: string | null;
|
|
14025
|
+
/**
|
|
14026
|
+
*
|
|
14027
|
+
* @type {string}
|
|
14028
|
+
* @memberof UpdateProfileCommand
|
|
14029
|
+
*/
|
|
14030
|
+
'photoThumbnail'?: string | null;
|
|
14031
|
+
/**
|
|
14032
|
+
*
|
|
14033
|
+
* @type {Gender}
|
|
14034
|
+
* @memberof UpdateProfileCommand
|
|
14035
|
+
*/
|
|
14036
|
+
'gender'?: Gender;
|
|
14037
|
+
/**
|
|
14038
|
+
*
|
|
14039
|
+
* @type {Date}
|
|
14040
|
+
* @memberof UpdateProfileCommand
|
|
14041
|
+
*/
|
|
14042
|
+
'dateOfBirth'?: Date | null;
|
|
14043
|
+
/**
|
|
14044
|
+
*
|
|
14045
|
+
* @type {Array<UserLanguageModel>}
|
|
14046
|
+
* @memberof UpdateProfileCommand
|
|
14047
|
+
*/
|
|
14048
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
14049
|
+
/**
|
|
14050
|
+
*
|
|
14051
|
+
* @type {Array<UserLocationModel>}
|
|
14052
|
+
* @memberof UpdateProfileCommand
|
|
14053
|
+
*/
|
|
14054
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
14055
|
+
}
|
|
13913
14056
|
/**
|
|
13914
14057
|
*
|
|
13915
14058
|
* @export
|
|
@@ -28819,6 +28962,124 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28819
28962
|
options: localVarRequestOptions,
|
|
28820
28963
|
};
|
|
28821
28964
|
},
|
|
28965
|
+
/**
|
|
28966
|
+
*
|
|
28967
|
+
* @summary Get all Hospitals.
|
|
28968
|
+
* @param {string} [hospitalId]
|
|
28969
|
+
* @param {string} [name]
|
|
28970
|
+
* @param {string} [description]
|
|
28971
|
+
* @param {string} [countryId]
|
|
28972
|
+
* @param {Date} [created]
|
|
28973
|
+
* @param {MarketingType} [marketingType]
|
|
28974
|
+
* @param {string} [specialtyTypeId]
|
|
28975
|
+
* @param {string} [specialtyId]
|
|
28976
|
+
* @param {string} [serviceId]
|
|
28977
|
+
* @param {string} [exceptHospitalId]
|
|
28978
|
+
* @param {boolean} [showHidden]
|
|
28979
|
+
* @param {string} [languageCode]
|
|
28980
|
+
* @param {Array<string>} [ids]
|
|
28981
|
+
* @param {number} [page]
|
|
28982
|
+
* @param {number} [limit]
|
|
28983
|
+
* @param {Date} [lastRetrieved]
|
|
28984
|
+
* @param {*} [options] Override http request option.
|
|
28985
|
+
* @throws {RequiredError}
|
|
28986
|
+
*/
|
|
28987
|
+
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28988
|
+
const localVarPath = `/api/v1/hospitals/simple`;
|
|
28989
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28990
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28991
|
+
let baseOptions;
|
|
28992
|
+
if (configuration) {
|
|
28993
|
+
baseOptions = configuration.baseOptions;
|
|
28994
|
+
}
|
|
28995
|
+
|
|
28996
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28997
|
+
const localVarHeaderParameter = {} as any;
|
|
28998
|
+
const localVarQueryParameter = {} as any;
|
|
28999
|
+
|
|
29000
|
+
// authentication oauth2 required
|
|
29001
|
+
// oauth required
|
|
29002
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29003
|
+
|
|
29004
|
+
if (hospitalId !== undefined) {
|
|
29005
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
29006
|
+
}
|
|
29007
|
+
|
|
29008
|
+
if (name !== undefined) {
|
|
29009
|
+
localVarQueryParameter['Name'] = name;
|
|
29010
|
+
}
|
|
29011
|
+
|
|
29012
|
+
if (description !== undefined) {
|
|
29013
|
+
localVarQueryParameter['Description'] = description;
|
|
29014
|
+
}
|
|
29015
|
+
|
|
29016
|
+
if (countryId !== undefined) {
|
|
29017
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
29018
|
+
}
|
|
29019
|
+
|
|
29020
|
+
if (created !== undefined) {
|
|
29021
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
29022
|
+
(created as any).toISOString() :
|
|
29023
|
+
created;
|
|
29024
|
+
}
|
|
29025
|
+
|
|
29026
|
+
if (marketingType !== undefined) {
|
|
29027
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
29028
|
+
}
|
|
29029
|
+
|
|
29030
|
+
if (specialtyTypeId !== undefined) {
|
|
29031
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
29032
|
+
}
|
|
29033
|
+
|
|
29034
|
+
if (specialtyId !== undefined) {
|
|
29035
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
29036
|
+
}
|
|
29037
|
+
|
|
29038
|
+
if (serviceId !== undefined) {
|
|
29039
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
29040
|
+
}
|
|
29041
|
+
|
|
29042
|
+
if (exceptHospitalId !== undefined) {
|
|
29043
|
+
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
29044
|
+
}
|
|
29045
|
+
|
|
29046
|
+
if (showHidden !== undefined) {
|
|
29047
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
29048
|
+
}
|
|
29049
|
+
|
|
29050
|
+
if (languageCode !== undefined) {
|
|
29051
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
29052
|
+
}
|
|
29053
|
+
|
|
29054
|
+
if (ids) {
|
|
29055
|
+
localVarQueryParameter['Ids'] = ids;
|
|
29056
|
+
}
|
|
29057
|
+
|
|
29058
|
+
if (page !== undefined) {
|
|
29059
|
+
localVarQueryParameter['page'] = page;
|
|
29060
|
+
}
|
|
29061
|
+
|
|
29062
|
+
if (limit !== undefined) {
|
|
29063
|
+
localVarQueryParameter['limit'] = limit;
|
|
29064
|
+
}
|
|
29065
|
+
|
|
29066
|
+
if (lastRetrieved !== undefined) {
|
|
29067
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29068
|
+
(lastRetrieved as any).toISOString() :
|
|
29069
|
+
lastRetrieved;
|
|
29070
|
+
}
|
|
29071
|
+
|
|
29072
|
+
|
|
29073
|
+
|
|
29074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29076
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29077
|
+
|
|
29078
|
+
return {
|
|
29079
|
+
url: toPathString(localVarUrlObj),
|
|
29080
|
+
options: localVarRequestOptions,
|
|
29081
|
+
};
|
|
29082
|
+
},
|
|
28822
29083
|
/**
|
|
28823
29084
|
*
|
|
28824
29085
|
* @summary Get Hospital by slug.
|
|
@@ -29481,6 +29742,32 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29481
29742
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsPost(createHospitalCommand, options);
|
|
29482
29743
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29483
29744
|
},
|
|
29745
|
+
/**
|
|
29746
|
+
*
|
|
29747
|
+
* @summary Get all Hospitals.
|
|
29748
|
+
* @param {string} [hospitalId]
|
|
29749
|
+
* @param {string} [name]
|
|
29750
|
+
* @param {string} [description]
|
|
29751
|
+
* @param {string} [countryId]
|
|
29752
|
+
* @param {Date} [created]
|
|
29753
|
+
* @param {MarketingType} [marketingType]
|
|
29754
|
+
* @param {string} [specialtyTypeId]
|
|
29755
|
+
* @param {string} [specialtyId]
|
|
29756
|
+
* @param {string} [serviceId]
|
|
29757
|
+
* @param {string} [exceptHospitalId]
|
|
29758
|
+
* @param {boolean} [showHidden]
|
|
29759
|
+
* @param {string} [languageCode]
|
|
29760
|
+
* @param {Array<string>} [ids]
|
|
29761
|
+
* @param {number} [page]
|
|
29762
|
+
* @param {number} [limit]
|
|
29763
|
+
* @param {Date} [lastRetrieved]
|
|
29764
|
+
* @param {*} [options] Override http request option.
|
|
29765
|
+
* @throws {RequiredError}
|
|
29766
|
+
*/
|
|
29767
|
+
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
29768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
29769
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29770
|
+
},
|
|
29484
29771
|
/**
|
|
29485
29772
|
*
|
|
29486
29773
|
* @summary Get Hospital by slug.
|
|
@@ -30071,11 +30358,36 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30071
30358
|
},
|
|
30072
30359
|
/**
|
|
30073
30360
|
*
|
|
30074
|
-
* @summary Get
|
|
30075
|
-
* @param {string}
|
|
30076
|
-
* @param {string} [
|
|
30077
|
-
* @param {
|
|
30078
|
-
* @
|
|
30361
|
+
* @summary Get all Hospitals.
|
|
30362
|
+
* @param {string} [hospitalId]
|
|
30363
|
+
* @param {string} [name]
|
|
30364
|
+
* @param {string} [description]
|
|
30365
|
+
* @param {string} [countryId]
|
|
30366
|
+
* @param {Date} [created]
|
|
30367
|
+
* @param {MarketingType} [marketingType]
|
|
30368
|
+
* @param {string} [specialtyTypeId]
|
|
30369
|
+
* @param {string} [specialtyId]
|
|
30370
|
+
* @param {string} [serviceId]
|
|
30371
|
+
* @param {string} [exceptHospitalId]
|
|
30372
|
+
* @param {boolean} [showHidden]
|
|
30373
|
+
* @param {string} [languageCode]
|
|
30374
|
+
* @param {Array<string>} [ids]
|
|
30375
|
+
* @param {number} [page]
|
|
30376
|
+
* @param {number} [limit]
|
|
30377
|
+
* @param {Date} [lastRetrieved]
|
|
30378
|
+
* @param {*} [options] Override http request option.
|
|
30379
|
+
* @throws {RequiredError}
|
|
30380
|
+
*/
|
|
30381
|
+
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
30382
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30383
|
+
},
|
|
30384
|
+
/**
|
|
30385
|
+
*
|
|
30386
|
+
* @summary Get Hospital by slug.
|
|
30387
|
+
* @param {string} slug
|
|
30388
|
+
* @param {string} [languageCode]
|
|
30389
|
+
* @param {*} [options] Override http request option.
|
|
30390
|
+
* @throws {RequiredError}
|
|
30079
30391
|
*/
|
|
30080
30392
|
apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
|
|
30081
30393
|
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
@@ -30742,6 +31054,33 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30742
31054
|
return HospitalsApiFp(this.configuration).apiV1HospitalsPost(createHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30743
31055
|
}
|
|
30744
31056
|
|
|
31057
|
+
/**
|
|
31058
|
+
*
|
|
31059
|
+
* @summary Get all Hospitals.
|
|
31060
|
+
* @param {string} [hospitalId]
|
|
31061
|
+
* @param {string} [name]
|
|
31062
|
+
* @param {string} [description]
|
|
31063
|
+
* @param {string} [countryId]
|
|
31064
|
+
* @param {Date} [created]
|
|
31065
|
+
* @param {MarketingType} [marketingType]
|
|
31066
|
+
* @param {string} [specialtyTypeId]
|
|
31067
|
+
* @param {string} [specialtyId]
|
|
31068
|
+
* @param {string} [serviceId]
|
|
31069
|
+
* @param {string} [exceptHospitalId]
|
|
31070
|
+
* @param {boolean} [showHidden]
|
|
31071
|
+
* @param {string} [languageCode]
|
|
31072
|
+
* @param {Array<string>} [ids]
|
|
31073
|
+
* @param {number} [page]
|
|
31074
|
+
* @param {number} [limit]
|
|
31075
|
+
* @param {Date} [lastRetrieved]
|
|
31076
|
+
* @param {*} [options] Override http request option.
|
|
31077
|
+
* @throws {RequiredError}
|
|
31078
|
+
* @memberof HospitalsApi
|
|
31079
|
+
*/
|
|
31080
|
+
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
31081
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
31082
|
+
}
|
|
31083
|
+
|
|
30745
31084
|
/**
|
|
30746
31085
|
*
|
|
30747
31086
|
* @summary Get Hospital by slug.
|
|
@@ -31166,6 +31505,7 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
31166
31505
|
/**
|
|
31167
31506
|
*
|
|
31168
31507
|
* @summary Get all Managers.
|
|
31508
|
+
* @param {string} [hospitalId]
|
|
31169
31509
|
* @param {string} [id]
|
|
31170
31510
|
* @param {string} [fullname]
|
|
31171
31511
|
* @param {string} [email]
|
|
@@ -31179,7 +31519,7 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
31179
31519
|
* @param {*} [options] Override http request option.
|
|
31180
31520
|
* @throws {RequiredError}
|
|
31181
31521
|
*/
|
|
31182
|
-
apiV1ManagersGet: async (id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31522
|
+
apiV1ManagersGet: async (hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31183
31523
|
const localVarPath = `/api/v1/managers`;
|
|
31184
31524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31185
31525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -31196,6 +31536,10 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
31196
31536
|
// oauth required
|
|
31197
31537
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31198
31538
|
|
|
31539
|
+
if (hospitalId !== undefined) {
|
|
31540
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
31541
|
+
}
|
|
31542
|
+
|
|
31199
31543
|
if (id !== undefined) {
|
|
31200
31544
|
localVarQueryParameter['Id'] = id;
|
|
31201
31545
|
}
|
|
@@ -31244,6 +31588,66 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
31244
31588
|
|
|
31245
31589
|
|
|
31246
31590
|
|
|
31591
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31592
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31593
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31594
|
+
|
|
31595
|
+
return {
|
|
31596
|
+
url: toPathString(localVarUrlObj),
|
|
31597
|
+
options: localVarRequestOptions,
|
|
31598
|
+
};
|
|
31599
|
+
},
|
|
31600
|
+
/**
|
|
31601
|
+
*
|
|
31602
|
+
* @summary Get all manager affiliations.
|
|
31603
|
+
* @param {string} managerId
|
|
31604
|
+
* @param {string} [hospitalName]
|
|
31605
|
+
* @param {number} [page]
|
|
31606
|
+
* @param {number} [limit]
|
|
31607
|
+
* @param {Date} [lastRetrieved]
|
|
31608
|
+
* @param {*} [options] Override http request option.
|
|
31609
|
+
* @throws {RequiredError}
|
|
31610
|
+
*/
|
|
31611
|
+
apiV1ManagersManagerIdAffiliationsGet: async (managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31612
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
31613
|
+
assertParamExists('apiV1ManagersManagerIdAffiliationsGet', 'managerId', managerId)
|
|
31614
|
+
const localVarPath = `/api/v1/managers/{managerId}/affiliations`
|
|
31615
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
31616
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31618
|
+
let baseOptions;
|
|
31619
|
+
if (configuration) {
|
|
31620
|
+
baseOptions = configuration.baseOptions;
|
|
31621
|
+
}
|
|
31622
|
+
|
|
31623
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
31624
|
+
const localVarHeaderParameter = {} as any;
|
|
31625
|
+
const localVarQueryParameter = {} as any;
|
|
31626
|
+
|
|
31627
|
+
// authentication oauth2 required
|
|
31628
|
+
// oauth required
|
|
31629
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31630
|
+
|
|
31631
|
+
if (hospitalName !== undefined) {
|
|
31632
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
31633
|
+
}
|
|
31634
|
+
|
|
31635
|
+
if (page !== undefined) {
|
|
31636
|
+
localVarQueryParameter['page'] = page;
|
|
31637
|
+
}
|
|
31638
|
+
|
|
31639
|
+
if (limit !== undefined) {
|
|
31640
|
+
localVarQueryParameter['limit'] = limit;
|
|
31641
|
+
}
|
|
31642
|
+
|
|
31643
|
+
if (lastRetrieved !== undefined) {
|
|
31644
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
31645
|
+
(lastRetrieved as any).toISOString() :
|
|
31646
|
+
lastRetrieved;
|
|
31647
|
+
}
|
|
31648
|
+
|
|
31649
|
+
|
|
31650
|
+
|
|
31247
31651
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31248
31652
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31249
31653
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -31422,6 +31826,7 @@ export const ManagersApiFp = function(configuration?: Configuration) {
|
|
|
31422
31826
|
/**
|
|
31423
31827
|
*
|
|
31424
31828
|
* @summary Get all Managers.
|
|
31829
|
+
* @param {string} [hospitalId]
|
|
31425
31830
|
* @param {string} [id]
|
|
31426
31831
|
* @param {string} [fullname]
|
|
31427
31832
|
* @param {string} [email]
|
|
@@ -31435,8 +31840,23 @@ export const ManagersApiFp = function(configuration?: Configuration) {
|
|
|
31435
31840
|
* @param {*} [options] Override http request option.
|
|
31436
31841
|
* @throws {RequiredError}
|
|
31437
31842
|
*/
|
|
31438
|
-
async apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
31439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersGet(id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
31843
|
+
async apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
31844
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
31845
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31846
|
+
},
|
|
31847
|
+
/**
|
|
31848
|
+
*
|
|
31849
|
+
* @summary Get all manager affiliations.
|
|
31850
|
+
* @param {string} managerId
|
|
31851
|
+
* @param {string} [hospitalName]
|
|
31852
|
+
* @param {number} [page]
|
|
31853
|
+
* @param {number} [limit]
|
|
31854
|
+
* @param {Date} [lastRetrieved]
|
|
31855
|
+
* @param {*} [options] Override http request option.
|
|
31856
|
+
* @throws {RequiredError}
|
|
31857
|
+
*/
|
|
31858
|
+
async apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerAffiliationsModel>> {
|
|
31859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options);
|
|
31440
31860
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31441
31861
|
},
|
|
31442
31862
|
/**
|
|
@@ -31497,6 +31917,7 @@ export const ManagersApiFactory = function (configuration?: Configuration, baseP
|
|
|
31497
31917
|
/**
|
|
31498
31918
|
*
|
|
31499
31919
|
* @summary Get all Managers.
|
|
31920
|
+
* @param {string} [hospitalId]
|
|
31500
31921
|
* @param {string} [id]
|
|
31501
31922
|
* @param {string} [fullname]
|
|
31502
31923
|
* @param {string} [email]
|
|
@@ -31510,8 +31931,22 @@ export const ManagersApiFactory = function (configuration?: Configuration, baseP
|
|
|
31510
31931
|
* @param {*} [options] Override http request option.
|
|
31511
31932
|
* @throws {RequiredError}
|
|
31512
31933
|
*/
|
|
31513
|
-
apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
|
|
31514
|
-
return localVarFp.apiV1ManagersGet(id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31934
|
+
apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
|
|
31935
|
+
return localVarFp.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31936
|
+
},
|
|
31937
|
+
/**
|
|
31938
|
+
*
|
|
31939
|
+
* @summary Get all manager affiliations.
|
|
31940
|
+
* @param {string} managerId
|
|
31941
|
+
* @param {string} [hospitalName]
|
|
31942
|
+
* @param {number} [page]
|
|
31943
|
+
* @param {number} [limit]
|
|
31944
|
+
* @param {Date} [lastRetrieved]
|
|
31945
|
+
* @param {*} [options] Override http request option.
|
|
31946
|
+
* @throws {RequiredError}
|
|
31947
|
+
*/
|
|
31948
|
+
apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagerAffiliationsModel> {
|
|
31949
|
+
return localVarFp.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31515
31950
|
},
|
|
31516
31951
|
/**
|
|
31517
31952
|
*
|
|
@@ -31567,6 +32002,7 @@ export class ManagersApi extends BaseAPI {
|
|
|
31567
32002
|
/**
|
|
31568
32003
|
*
|
|
31569
32004
|
* @summary Get all Managers.
|
|
32005
|
+
* @param {string} [hospitalId]
|
|
31570
32006
|
* @param {string} [id]
|
|
31571
32007
|
* @param {string} [fullname]
|
|
31572
32008
|
* @param {string} [email]
|
|
@@ -31581,8 +32017,24 @@ export class ManagersApi extends BaseAPI {
|
|
|
31581
32017
|
* @throws {RequiredError}
|
|
31582
32018
|
* @memberof ManagersApi
|
|
31583
32019
|
*/
|
|
31584
|
-
public apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
31585
|
-
return ManagersApiFp(this.configuration).apiV1ManagersGet(id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32020
|
+
public apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32021
|
+
return ManagersApiFp(this.configuration).apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32022
|
+
}
|
|
32023
|
+
|
|
32024
|
+
/**
|
|
32025
|
+
*
|
|
32026
|
+
* @summary Get all manager affiliations.
|
|
32027
|
+
* @param {string} managerId
|
|
32028
|
+
* @param {string} [hospitalName]
|
|
32029
|
+
* @param {number} [page]
|
|
32030
|
+
* @param {number} [limit]
|
|
32031
|
+
* @param {Date} [lastRetrieved]
|
|
32032
|
+
* @param {*} [options] Override http request option.
|
|
32033
|
+
* @throws {RequiredError}
|
|
32034
|
+
* @memberof ManagersApi
|
|
32035
|
+
*/
|
|
32036
|
+
public apiV1ManagersManagerIdAffiliationsGet(managerId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32037
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
31586
32038
|
}
|
|
31587
32039
|
|
|
31588
32040
|
/**
|
|
@@ -32674,6 +33126,100 @@ export class PatientsApi extends BaseAPI {
|
|
|
32674
33126
|
}
|
|
32675
33127
|
|
|
32676
33128
|
|
|
33129
|
+
/**
|
|
33130
|
+
* PaymentsApi - axios parameter creator
|
|
33131
|
+
* @export
|
|
33132
|
+
*/
|
|
33133
|
+
export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33134
|
+
return {
|
|
33135
|
+
/**
|
|
33136
|
+
*
|
|
33137
|
+
* @param {*} [options] Override http request option.
|
|
33138
|
+
* @throws {RequiredError}
|
|
33139
|
+
*/
|
|
33140
|
+
apiV1PaymentsWebhookPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33141
|
+
const localVarPath = `/api/v1/payments/webhook`;
|
|
33142
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33144
|
+
let baseOptions;
|
|
33145
|
+
if (configuration) {
|
|
33146
|
+
baseOptions = configuration.baseOptions;
|
|
33147
|
+
}
|
|
33148
|
+
|
|
33149
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33150
|
+
const localVarHeaderParameter = {} as any;
|
|
33151
|
+
const localVarQueryParameter = {} as any;
|
|
33152
|
+
|
|
33153
|
+
|
|
33154
|
+
|
|
33155
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33156
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33157
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33158
|
+
|
|
33159
|
+
return {
|
|
33160
|
+
url: toPathString(localVarUrlObj),
|
|
33161
|
+
options: localVarRequestOptions,
|
|
33162
|
+
};
|
|
33163
|
+
},
|
|
33164
|
+
}
|
|
33165
|
+
};
|
|
33166
|
+
|
|
33167
|
+
/**
|
|
33168
|
+
* PaymentsApi - functional programming interface
|
|
33169
|
+
* @export
|
|
33170
|
+
*/
|
|
33171
|
+
export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
33172
|
+
const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
|
|
33173
|
+
return {
|
|
33174
|
+
/**
|
|
33175
|
+
*
|
|
33176
|
+
* @param {*} [options] Override http request option.
|
|
33177
|
+
* @throws {RequiredError}
|
|
33178
|
+
*/
|
|
33179
|
+
async apiV1PaymentsWebhookPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PaymentsWebhookPost(options);
|
|
33181
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33182
|
+
},
|
|
33183
|
+
}
|
|
33184
|
+
};
|
|
33185
|
+
|
|
33186
|
+
/**
|
|
33187
|
+
* PaymentsApi - factory interface
|
|
33188
|
+
* @export
|
|
33189
|
+
*/
|
|
33190
|
+
export const PaymentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
33191
|
+
const localVarFp = PaymentsApiFp(configuration)
|
|
33192
|
+
return {
|
|
33193
|
+
/**
|
|
33194
|
+
*
|
|
33195
|
+
* @param {*} [options] Override http request option.
|
|
33196
|
+
* @throws {RequiredError}
|
|
33197
|
+
*/
|
|
33198
|
+
apiV1PaymentsWebhookPost(options?: any): AxiosPromise<void> {
|
|
33199
|
+
return localVarFp.apiV1PaymentsWebhookPost(options).then((request) => request(axios, basePath));
|
|
33200
|
+
},
|
|
33201
|
+
};
|
|
33202
|
+
};
|
|
33203
|
+
|
|
33204
|
+
/**
|
|
33205
|
+
* PaymentsApi - object-oriented interface
|
|
33206
|
+
* @export
|
|
33207
|
+
* @class PaymentsApi
|
|
33208
|
+
* @extends {BaseAPI}
|
|
33209
|
+
*/
|
|
33210
|
+
export class PaymentsApi extends BaseAPI {
|
|
33211
|
+
/**
|
|
33212
|
+
*
|
|
33213
|
+
* @param {*} [options] Override http request option.
|
|
33214
|
+
* @throws {RequiredError}
|
|
33215
|
+
* @memberof PaymentsApi
|
|
33216
|
+
*/
|
|
33217
|
+
public apiV1PaymentsWebhookPost(options?: AxiosRequestConfig) {
|
|
33218
|
+
return PaymentsApiFp(this.configuration).apiV1PaymentsWebhookPost(options).then((request) => request(this.axios, this.basePath));
|
|
33219
|
+
}
|
|
33220
|
+
}
|
|
33221
|
+
|
|
33222
|
+
|
|
32677
33223
|
/**
|
|
32678
33224
|
* PlansApi - axios parameter creator
|
|
32679
33225
|
* @export
|
|
@@ -33636,6 +34182,44 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33636
34182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33637
34183
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33638
34184
|
|
|
34185
|
+
return {
|
|
34186
|
+
url: toPathString(localVarUrlObj),
|
|
34187
|
+
options: localVarRequestOptions,
|
|
34188
|
+
};
|
|
34189
|
+
},
|
|
34190
|
+
/**
|
|
34191
|
+
*
|
|
34192
|
+
* @summary Update Profile.
|
|
34193
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
34194
|
+
* @param {*} [options] Override http request option.
|
|
34195
|
+
* @throws {RequiredError}
|
|
34196
|
+
*/
|
|
34197
|
+
apiV1ProfilesPut: async (updateProfileCommand?: UpdateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34198
|
+
const localVarPath = `/api/v1/profiles`;
|
|
34199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34201
|
+
let baseOptions;
|
|
34202
|
+
if (configuration) {
|
|
34203
|
+
baseOptions = configuration.baseOptions;
|
|
34204
|
+
}
|
|
34205
|
+
|
|
34206
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
34207
|
+
const localVarHeaderParameter = {} as any;
|
|
34208
|
+
const localVarQueryParameter = {} as any;
|
|
34209
|
+
|
|
34210
|
+
// authentication oauth2 required
|
|
34211
|
+
// oauth required
|
|
34212
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34213
|
+
|
|
34214
|
+
|
|
34215
|
+
|
|
34216
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34217
|
+
|
|
34218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34221
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateProfileCommand, localVarRequestOptions, configuration)
|
|
34222
|
+
|
|
33639
34223
|
return {
|
|
33640
34224
|
url: toPathString(localVarUrlObj),
|
|
33641
34225
|
options: localVarRequestOptions,
|
|
@@ -33683,6 +34267,17 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
33683
34267
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesGet(options);
|
|
33684
34268
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33685
34269
|
},
|
|
34270
|
+
/**
|
|
34271
|
+
*
|
|
34272
|
+
* @summary Update Profile.
|
|
34273
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
34274
|
+
* @param {*} [options] Override http request option.
|
|
34275
|
+
* @throws {RequiredError}
|
|
34276
|
+
*/
|
|
34277
|
+
async apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
|
|
34278
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesPut(updateProfileCommand, options);
|
|
34279
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34280
|
+
},
|
|
33686
34281
|
}
|
|
33687
34282
|
};
|
|
33688
34283
|
|
|
@@ -33722,6 +34317,16 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
33722
34317
|
apiV1ProfilesGet(options?: any): AxiosPromise<UserModel> {
|
|
33723
34318
|
return localVarFp.apiV1ProfilesGet(options).then((request) => request(axios, basePath));
|
|
33724
34319
|
},
|
|
34320
|
+
/**
|
|
34321
|
+
*
|
|
34322
|
+
* @summary Update Profile.
|
|
34323
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
34324
|
+
* @param {*} [options] Override http request option.
|
|
34325
|
+
* @throws {RequiredError}
|
|
34326
|
+
*/
|
|
34327
|
+
apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: any): AxiosPromise<UserModel> {
|
|
34328
|
+
return localVarFp.apiV1ProfilesPut(updateProfileCommand, options).then((request) => request(axios, basePath));
|
|
34329
|
+
},
|
|
33725
34330
|
};
|
|
33726
34331
|
};
|
|
33727
34332
|
|
|
@@ -33766,6 +34371,18 @@ export class ProfilesApi extends BaseAPI {
|
|
|
33766
34371
|
public apiV1ProfilesGet(options?: AxiosRequestConfig) {
|
|
33767
34372
|
return ProfilesApiFp(this.configuration).apiV1ProfilesGet(options).then((request) => request(this.axios, this.basePath));
|
|
33768
34373
|
}
|
|
34374
|
+
|
|
34375
|
+
/**
|
|
34376
|
+
*
|
|
34377
|
+
* @summary Update Profile.
|
|
34378
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
34379
|
+
* @param {*} [options] Override http request option.
|
|
34380
|
+
* @throws {RequiredError}
|
|
34381
|
+
* @memberof ProfilesApi
|
|
34382
|
+
*/
|
|
34383
|
+
public apiV1ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig) {
|
|
34384
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesPut(updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34385
|
+
}
|
|
33769
34386
|
}
|
|
33770
34387
|
|
|
33771
34388
|
|