ch-admin-api-client-typescript 2.4.5 → 2.5.0
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 +178 -42
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +177 -0
- package/package.json +1 -1
- package/src/api.ts +256 -40
package/src/api.ts
CHANGED
|
@@ -4733,13 +4733,13 @@ export interface DoctorCertificateItemModel {
|
|
|
4733
4733
|
* @type {string}
|
|
4734
4734
|
* @memberof DoctorCertificateItemModel
|
|
4735
4735
|
*/
|
|
4736
|
-
'
|
|
4736
|
+
'id'?: string;
|
|
4737
4737
|
/**
|
|
4738
4738
|
*
|
|
4739
4739
|
* @type {string}
|
|
4740
4740
|
* @memberof DoctorCertificateItemModel
|
|
4741
4741
|
*/
|
|
4742
|
-
'
|
|
4742
|
+
'doctorId'?: string;
|
|
4743
4743
|
/**
|
|
4744
4744
|
*
|
|
4745
4745
|
* @type {string}
|
|
@@ -4776,13 +4776,13 @@ export interface DoctorCertificateModel {
|
|
|
4776
4776
|
* @type {string}
|
|
4777
4777
|
* @memberof DoctorCertificateModel
|
|
4778
4778
|
*/
|
|
4779
|
-
'
|
|
4779
|
+
'id'?: string;
|
|
4780
4780
|
/**
|
|
4781
4781
|
*
|
|
4782
4782
|
* @type {string}
|
|
4783
4783
|
* @memberof DoctorCertificateModel
|
|
4784
4784
|
*/
|
|
4785
|
-
'
|
|
4785
|
+
'doctorId'?: string;
|
|
4786
4786
|
/**
|
|
4787
4787
|
*
|
|
4788
4788
|
* @type {string}
|
|
@@ -5046,6 +5046,24 @@ export interface DoctorItemModel {
|
|
|
5046
5046
|
* @memberof DoctorItemModel
|
|
5047
5047
|
*/
|
|
5048
5048
|
'auditableEntity'?: AuditableEntity;
|
|
5049
|
+
/**
|
|
5050
|
+
*
|
|
5051
|
+
* @type {string}
|
|
5052
|
+
* @memberof DoctorItemModel
|
|
5053
|
+
*/
|
|
5054
|
+
'userType'?: string | null;
|
|
5055
|
+
/**
|
|
5056
|
+
*
|
|
5057
|
+
* @type {Array<UserLanguageModel>}
|
|
5058
|
+
* @memberof DoctorItemModel
|
|
5059
|
+
*/
|
|
5060
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
5061
|
+
/**
|
|
5062
|
+
*
|
|
5063
|
+
* @type {Array<UserLocationModel>}
|
|
5064
|
+
* @memberof DoctorItemModel
|
|
5065
|
+
*/
|
|
5066
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
5049
5067
|
/**
|
|
5050
5068
|
*
|
|
5051
5069
|
* @type {string}
|
|
@@ -5064,12 +5082,30 @@ export interface DoctorItemModel {
|
|
|
5064
5082
|
* @memberof DoctorItemModel
|
|
5065
5083
|
*/
|
|
5066
5084
|
'hospitalName'?: string | null;
|
|
5085
|
+
/**
|
|
5086
|
+
*
|
|
5087
|
+
* @type {Date}
|
|
5088
|
+
* @memberof DoctorItemModel
|
|
5089
|
+
*/
|
|
5090
|
+
'startPracticeDate'?: Date | null;
|
|
5067
5091
|
/**
|
|
5068
5092
|
*
|
|
5069
5093
|
* @type {string}
|
|
5070
5094
|
* @memberof DoctorItemModel
|
|
5071
5095
|
*/
|
|
5072
5096
|
'overview'?: string | null;
|
|
5097
|
+
/**
|
|
5098
|
+
*
|
|
5099
|
+
* @type {boolean}
|
|
5100
|
+
* @memberof DoctorItemModel
|
|
5101
|
+
*/
|
|
5102
|
+
'consultationEnabled'?: boolean | null;
|
|
5103
|
+
/**
|
|
5104
|
+
*
|
|
5105
|
+
* @type {number}
|
|
5106
|
+
* @memberof DoctorItemModel
|
|
5107
|
+
*/
|
|
5108
|
+
'consultationFee'?: number | null;
|
|
5073
5109
|
/**
|
|
5074
5110
|
*
|
|
5075
5111
|
* @type {boolean}
|
|
@@ -5193,16 +5229,40 @@ export interface DoctorModel {
|
|
|
5193
5229
|
'slug'?: string | null;
|
|
5194
5230
|
/**
|
|
5195
5231
|
*
|
|
5196
|
-
* @type {
|
|
5232
|
+
* @type {string}
|
|
5197
5233
|
* @memberof DoctorModel
|
|
5198
5234
|
*/
|
|
5199
|
-
'
|
|
5235
|
+
'hospitalId'?: string | null;
|
|
5236
|
+
/**
|
|
5237
|
+
*
|
|
5238
|
+
* @type {string}
|
|
5239
|
+
* @memberof DoctorModel
|
|
5240
|
+
*/
|
|
5241
|
+
'hospitalName'?: string | null;
|
|
5242
|
+
/**
|
|
5243
|
+
*
|
|
5244
|
+
* @type {Date}
|
|
5245
|
+
* @memberof DoctorModel
|
|
5246
|
+
*/
|
|
5247
|
+
'startPracticeDate'?: Date | null;
|
|
5200
5248
|
/**
|
|
5201
5249
|
*
|
|
5202
5250
|
* @type {string}
|
|
5203
5251
|
* @memberof DoctorModel
|
|
5204
5252
|
*/
|
|
5205
5253
|
'overview'?: string | null;
|
|
5254
|
+
/**
|
|
5255
|
+
*
|
|
5256
|
+
* @type {boolean}
|
|
5257
|
+
* @memberof DoctorModel
|
|
5258
|
+
*/
|
|
5259
|
+
'consultationEnabled'?: boolean | null;
|
|
5260
|
+
/**
|
|
5261
|
+
*
|
|
5262
|
+
* @type {number}
|
|
5263
|
+
* @memberof DoctorModel
|
|
5264
|
+
*/
|
|
5265
|
+
'consultationFee'?: number | null;
|
|
5206
5266
|
/**
|
|
5207
5267
|
*
|
|
5208
5268
|
* @type {boolean}
|
|
@@ -7010,6 +7070,24 @@ export interface ManagerItemModel {
|
|
|
7010
7070
|
* @memberof ManagerItemModel
|
|
7011
7071
|
*/
|
|
7012
7072
|
'auditableEntity'?: AuditableEntity;
|
|
7073
|
+
/**
|
|
7074
|
+
*
|
|
7075
|
+
* @type {string}
|
|
7076
|
+
* @memberof ManagerItemModel
|
|
7077
|
+
*/
|
|
7078
|
+
'userType'?: string | null;
|
|
7079
|
+
/**
|
|
7080
|
+
*
|
|
7081
|
+
* @type {Array<UserLanguageModel>}
|
|
7082
|
+
* @memberof ManagerItemModel
|
|
7083
|
+
*/
|
|
7084
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
7085
|
+
/**
|
|
7086
|
+
*
|
|
7087
|
+
* @type {Array<UserLocationModel>}
|
|
7088
|
+
* @memberof ManagerItemModel
|
|
7089
|
+
*/
|
|
7090
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
7013
7091
|
/**
|
|
7014
7092
|
*
|
|
7015
7093
|
* @type {string}
|
|
@@ -7022,6 +7100,12 @@ export interface ManagerItemModel {
|
|
|
7022
7100
|
* @memberof ManagerItemModel
|
|
7023
7101
|
*/
|
|
7024
7102
|
'hospitalName'?: string | null;
|
|
7103
|
+
/**
|
|
7104
|
+
*
|
|
7105
|
+
* @type {number}
|
|
7106
|
+
* @memberof ManagerItemModel
|
|
7107
|
+
*/
|
|
7108
|
+
'affiliationsCount'?: number;
|
|
7025
7109
|
}
|
|
7026
7110
|
/**
|
|
7027
7111
|
*
|
|
@@ -7131,6 +7215,18 @@ export interface ManagerModel {
|
|
|
7131
7215
|
* @memberof ManagerModel
|
|
7132
7216
|
*/
|
|
7133
7217
|
'locations'?: Array<UserLocationModel> | null;
|
|
7218
|
+
/**
|
|
7219
|
+
*
|
|
7220
|
+
* @type {string}
|
|
7221
|
+
* @memberof ManagerModel
|
|
7222
|
+
*/
|
|
7223
|
+
'hospitalId'?: string | null;
|
|
7224
|
+
/**
|
|
7225
|
+
*
|
|
7226
|
+
* @type {string}
|
|
7227
|
+
* @memberof ManagerModel
|
|
7228
|
+
*/
|
|
7229
|
+
'hospitalName'?: string | null;
|
|
7134
7230
|
/**
|
|
7135
7231
|
*
|
|
7136
7232
|
* @type {number}
|
|
@@ -10184,42 +10280,12 @@ export interface UpdateSpecialtyCommand {
|
|
|
10184
10280
|
* @memberof UpdateSpecialtyCommand
|
|
10185
10281
|
*/
|
|
10186
10282
|
'content'?: string | null;
|
|
10187
|
-
/**
|
|
10188
|
-
*
|
|
10189
|
-
* @type {number}
|
|
10190
|
-
* @memberof UpdateSpecialtyCommand
|
|
10191
|
-
*/
|
|
10192
|
-
'hospitalSpecialtyCount'?: number;
|
|
10193
|
-
/**
|
|
10194
|
-
*
|
|
10195
|
-
* @type {number}
|
|
10196
|
-
* @memberof UpdateSpecialtyCommand
|
|
10197
|
-
*/
|
|
10198
|
-
'serviceCount'?: number;
|
|
10199
10283
|
/**
|
|
10200
10284
|
*
|
|
10201
10285
|
* @type {string}
|
|
10202
10286
|
* @memberof UpdateSpecialtyCommand
|
|
10203
10287
|
*/
|
|
10204
10288
|
'specialtyTypeId'?: string;
|
|
10205
|
-
/**
|
|
10206
|
-
*
|
|
10207
|
-
* @type {string}
|
|
10208
|
-
* @memberof UpdateSpecialtyCommand
|
|
10209
|
-
*/
|
|
10210
|
-
'specialtyTypeName'?: string | null;
|
|
10211
|
-
/**
|
|
10212
|
-
*
|
|
10213
|
-
* @type {boolean}
|
|
10214
|
-
* @memberof UpdateSpecialtyCommand
|
|
10215
|
-
*/
|
|
10216
|
-
'confirmed'?: boolean;
|
|
10217
|
-
/**
|
|
10218
|
-
*
|
|
10219
|
-
* @type {AuditableEntity}
|
|
10220
|
-
* @memberof UpdateSpecialtyCommand
|
|
10221
|
-
*/
|
|
10222
|
-
'auditableEntity'?: AuditableEntity;
|
|
10223
10289
|
}
|
|
10224
10290
|
/**
|
|
10225
10291
|
*
|
|
@@ -17334,6 +17400,44 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17334
17400
|
options: localVarRequestOptions,
|
|
17335
17401
|
};
|
|
17336
17402
|
},
|
|
17403
|
+
/**
|
|
17404
|
+
*
|
|
17405
|
+
* @summary Reactivate country.
|
|
17406
|
+
* @param {string} countryId
|
|
17407
|
+
* @param {*} [options] Override http request option.
|
|
17408
|
+
* @throws {RequiredError}
|
|
17409
|
+
*/
|
|
17410
|
+
apiV1CountriesCountryIdRevokePut: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17411
|
+
// verify required parameter 'countryId' is not null or undefined
|
|
17412
|
+
assertParamExists('apiV1CountriesCountryIdRevokePut', 'countryId', countryId)
|
|
17413
|
+
const localVarPath = `/api/v1/countries/{countryId}/revoke`
|
|
17414
|
+
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
|
|
17415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17416
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17417
|
+
let baseOptions;
|
|
17418
|
+
if (configuration) {
|
|
17419
|
+
baseOptions = configuration.baseOptions;
|
|
17420
|
+
}
|
|
17421
|
+
|
|
17422
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
17423
|
+
const localVarHeaderParameter = {} as any;
|
|
17424
|
+
const localVarQueryParameter = {} as any;
|
|
17425
|
+
|
|
17426
|
+
// authentication oauth2 required
|
|
17427
|
+
// oauth required
|
|
17428
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
17429
|
+
|
|
17430
|
+
|
|
17431
|
+
|
|
17432
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17433
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17434
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17435
|
+
|
|
17436
|
+
return {
|
|
17437
|
+
url: toPathString(localVarUrlObj),
|
|
17438
|
+
options: localVarRequestOptions,
|
|
17439
|
+
};
|
|
17440
|
+
},
|
|
17337
17441
|
/**
|
|
17338
17442
|
*
|
|
17339
17443
|
* @summary Get all countries.
|
|
@@ -17608,6 +17712,17 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
17608
17712
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options);
|
|
17609
17713
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17610
17714
|
},
|
|
17715
|
+
/**
|
|
17716
|
+
*
|
|
17717
|
+
* @summary Reactivate country.
|
|
17718
|
+
* @param {string} countryId
|
|
17719
|
+
* @param {*} [options] Override http request option.
|
|
17720
|
+
* @throws {RequiredError}
|
|
17721
|
+
*/
|
|
17722
|
+
async apiV1CountriesCountryIdRevokePut(countryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
17723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdRevokePut(countryId, options);
|
|
17724
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17725
|
+
},
|
|
17611
17726
|
/**
|
|
17612
17727
|
*
|
|
17613
17728
|
* @summary Get all countries.
|
|
@@ -17752,6 +17867,16 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
17752
17867
|
apiV1CountriesCountryIdPut(countryId: string, updateCountryCommand?: UpdateCountryCommand, options?: any): AxiosPromise<CountryModel> {
|
|
17753
17868
|
return localVarFp.apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options).then((request) => request(axios, basePath));
|
|
17754
17869
|
},
|
|
17870
|
+
/**
|
|
17871
|
+
*
|
|
17872
|
+
* @summary Reactivate country.
|
|
17873
|
+
* @param {string} countryId
|
|
17874
|
+
* @param {*} [options] Override http request option.
|
|
17875
|
+
* @throws {RequiredError}
|
|
17876
|
+
*/
|
|
17877
|
+
apiV1CountriesCountryIdRevokePut(countryId: string, options?: any): AxiosPromise<boolean> {
|
|
17878
|
+
return localVarFp.apiV1CountriesCountryIdRevokePut(countryId, options).then((request) => request(axios, basePath));
|
|
17879
|
+
},
|
|
17755
17880
|
/**
|
|
17756
17881
|
*
|
|
17757
17882
|
* @summary Get all countries.
|
|
@@ -17909,6 +18034,18 @@ export class CountriesApi extends BaseAPI {
|
|
|
17909
18034
|
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdPut(countryId, updateCountryCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17910
18035
|
}
|
|
17911
18036
|
|
|
18037
|
+
/**
|
|
18038
|
+
*
|
|
18039
|
+
* @summary Reactivate country.
|
|
18040
|
+
* @param {string} countryId
|
|
18041
|
+
* @param {*} [options] Override http request option.
|
|
18042
|
+
* @throws {RequiredError}
|
|
18043
|
+
* @memberof CountriesApi
|
|
18044
|
+
*/
|
|
18045
|
+
public apiV1CountriesCountryIdRevokePut(countryId: string, options?: AxiosRequestConfig) {
|
|
18046
|
+
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdRevokePut(countryId, options).then((request) => request(this.axios, this.basePath));
|
|
18047
|
+
}
|
|
18048
|
+
|
|
17912
18049
|
/**
|
|
17913
18050
|
*
|
|
17914
18051
|
* @summary Get all countries.
|
|
@@ -21087,6 +21224,49 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21087
21224
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21088
21225
|
localVarRequestOptions.data = serializeDataIfNeeded(createDoctorCommand, localVarRequestOptions, configuration)
|
|
21089
21226
|
|
|
21227
|
+
return {
|
|
21228
|
+
url: toPathString(localVarUrlObj),
|
|
21229
|
+
options: localVarRequestOptions,
|
|
21230
|
+
};
|
|
21231
|
+
},
|
|
21232
|
+
/**
|
|
21233
|
+
*
|
|
21234
|
+
* @summary Get Doctor by slug.
|
|
21235
|
+
* @param {string} slug
|
|
21236
|
+
* @param {string} [languageCode]
|
|
21237
|
+
* @param {*} [options] Override http request option.
|
|
21238
|
+
* @throws {RequiredError}
|
|
21239
|
+
*/
|
|
21240
|
+
apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21241
|
+
// verify required parameter 'slug' is not null or undefined
|
|
21242
|
+
assertParamExists('apiV1DoctorsSlugGet', 'slug', slug)
|
|
21243
|
+
const localVarPath = `/api/v1/doctors/{slug}`
|
|
21244
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
21245
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21246
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21247
|
+
let baseOptions;
|
|
21248
|
+
if (configuration) {
|
|
21249
|
+
baseOptions = configuration.baseOptions;
|
|
21250
|
+
}
|
|
21251
|
+
|
|
21252
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21253
|
+
const localVarHeaderParameter = {} as any;
|
|
21254
|
+
const localVarQueryParameter = {} as any;
|
|
21255
|
+
|
|
21256
|
+
// authentication oauth2 required
|
|
21257
|
+
// oauth required
|
|
21258
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21259
|
+
|
|
21260
|
+
if (languageCode !== undefined) {
|
|
21261
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
21262
|
+
}
|
|
21263
|
+
|
|
21264
|
+
|
|
21265
|
+
|
|
21266
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21268
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21269
|
+
|
|
21090
21270
|
return {
|
|
21091
21271
|
url: toPathString(localVarUrlObj),
|
|
21092
21272
|
options: localVarRequestOptions,
|
|
@@ -21449,7 +21629,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21449
21629
|
* @param {*} [options] Override http request option.
|
|
21450
21630
|
* @throws {RequiredError}
|
|
21451
21631
|
*/
|
|
21452
|
-
async apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
21632
|
+
async apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
21453
21633
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options);
|
|
21454
21634
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21455
21635
|
},
|
|
@@ -21552,6 +21732,18 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21552
21732
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options);
|
|
21553
21733
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21554
21734
|
},
|
|
21735
|
+
/**
|
|
21736
|
+
*
|
|
21737
|
+
* @summary Get Doctor by slug.
|
|
21738
|
+
* @param {string} slug
|
|
21739
|
+
* @param {string} [languageCode]
|
|
21740
|
+
* @param {*} [options] Override http request option.
|
|
21741
|
+
* @throws {RequiredError}
|
|
21742
|
+
*/
|
|
21743
|
+
async apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
21744
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options);
|
|
21745
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21746
|
+
},
|
|
21555
21747
|
}
|
|
21556
21748
|
};
|
|
21557
21749
|
|
|
@@ -21883,7 +22075,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
21883
22075
|
* @param {*} [options] Override http request option.
|
|
21884
22076
|
* @throws {RequiredError}
|
|
21885
22077
|
*/
|
|
21886
|
-
apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<
|
|
22078
|
+
apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
|
|
21887
22079
|
return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then((request) => request(axios, basePath));
|
|
21888
22080
|
},
|
|
21889
22081
|
/**
|
|
@@ -21978,6 +22170,17 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
21978
22170
|
apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
|
|
21979
22171
|
return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(axios, basePath));
|
|
21980
22172
|
},
|
|
22173
|
+
/**
|
|
22174
|
+
*
|
|
22175
|
+
* @summary Get Doctor by slug.
|
|
22176
|
+
* @param {string} slug
|
|
22177
|
+
* @param {string} [languageCode]
|
|
22178
|
+
* @param {*} [options] Override http request option.
|
|
22179
|
+
* @throws {RequiredError}
|
|
22180
|
+
*/
|
|
22181
|
+
apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
|
|
22182
|
+
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
22183
|
+
},
|
|
21981
22184
|
};
|
|
21982
22185
|
};
|
|
21983
22186
|
|
|
@@ -22471,6 +22674,19 @@ export class DoctorsApi extends BaseAPI {
|
|
|
22471
22674
|
public apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig) {
|
|
22472
22675
|
return DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22473
22676
|
}
|
|
22677
|
+
|
|
22678
|
+
/**
|
|
22679
|
+
*
|
|
22680
|
+
* @summary Get Doctor by slug.
|
|
22681
|
+
* @param {string} slug
|
|
22682
|
+
* @param {string} [languageCode]
|
|
22683
|
+
* @param {*} [options] Override http request option.
|
|
22684
|
+
* @throws {RequiredError}
|
|
22685
|
+
* @memberof DoctorsApi
|
|
22686
|
+
*/
|
|
22687
|
+
public apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
22688
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
22689
|
+
}
|
|
22474
22690
|
}
|
|
22475
22691
|
|
|
22476
22692
|
|
|
@@ -27851,7 +28067,7 @@ export const ManagersApiFp = function(configuration?: Configuration) {
|
|
|
27851
28067
|
* @param {*} [options] Override http request option.
|
|
27852
28068
|
* @throws {RequiredError}
|
|
27853
28069
|
*/
|
|
27854
|
-
async apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
28070
|
+
async apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
27855
28071
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options);
|
|
27856
28072
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27857
28073
|
},
|
|
@@ -27970,7 +28186,7 @@ export const ManagersApiFactory = function (configuration?: Configuration, baseP
|
|
|
27970
28186
|
* @param {*} [options] Override http request option.
|
|
27971
28187
|
* @throws {RequiredError}
|
|
27972
28188
|
*/
|
|
27973
|
-
apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: any): AxiosPromise<
|
|
28189
|
+
apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: any): AxiosPromise<ManagerModel> {
|
|
27974
28190
|
return localVarFp.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then((request) => request(axios, basePath));
|
|
27975
28191
|
},
|
|
27976
28192
|
/**
|