ch-admin-api-client-typescript 5.5.3 → 5.5.5
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/consultations-api.d.ts +12 -3
- package/lib/api/consultations-api.d.ts.map +1 -1
- package/lib/api/consultations-api.js +12 -6
- package/lib/api/dev-supports-api.d.ts +134 -0
- package/lib/api/dev-supports-api.d.ts.map +1 -0
- package/lib/api/dev-supports-api.js +250 -0
- package/lib/api/hospitals-api.d.ts +139 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +198 -0
- package/lib/api/specialties-api.d.ts +56 -0
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +90 -0
- package/lib/api/specialty-types-api.d.ts +56 -0
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +90 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -0
- package/lib/models/translate-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/translate-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/translate-hospital-command.d.ts +6 -0
- package/lib/models/translate-hospital-command.d.ts.map +1 -1
- package/lib/models/translate-hospital-service-command.d.ts +44 -0
- package/lib/models/translate-hospital-service-command.d.ts.map +1 -0
- package/lib/models/translate-hospital-service-command.js +15 -0
- package/lib/models/translate-hospital-specialty-command.d.ts +44 -0
- package/lib/models/translate-hospital-specialty-command.d.ts.map +1 -0
- package/lib/models/translate-hospital-specialty-command.js +15 -0
- package/lib/models/translate-specialty-command.d.ts +44 -0
- package/lib/models/translate-specialty-command.d.ts.map +1 -0
- package/lib/models/translate-specialty-command.js +15 -0
- package/lib/models/translate-specialty-type-command.d.ts +44 -0
- package/lib/models/translate-specialty-type-command.d.ts.map +1 -0
- package/lib/models/translate-specialty-type-command.js +15 -0
- package/lib/models/translation-contents-model.d.ts +50 -0
- package/lib/models/translation-contents-model.d.ts.map +1 -0
- package/lib/models/translation-contents-model.js +15 -0
- package/lib/models/translation-contents-target-model.d.ts +37 -0
- package/lib/models/translation-contents-target-model.d.ts.map +1 -0
- package/lib/models/translation-contents-target-model.js +15 -0
- package/lib/models/translation-target-entities.d.ts +24 -0
- package/lib/models/translation-target-entities.d.ts.map +1 -0
- package/lib/models/translation-target-entities.js +27 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -0
- package/src/api/consultations-api.ts +20 -6
- package/src/api/dev-supports-api.ts +222 -0
- package/src/api/hospitals-api.ts +239 -0
- package/src/api/specialties-api.ts +100 -0
- package/src/api/specialty-types-api.ts +100 -0
- package/src/api.ts +1 -0
- package/src/models/index.ts +7 -0
- package/src/models/translate-doctor-affiliation-command.ts +6 -0
- package/src/models/translate-hospital-command.ts +6 -0
- package/src/models/translate-hospital-service-command.ts +51 -0
- package/src/models/translate-hospital-specialty-command.ts +51 -0
- package/src/models/translate-specialty-command.ts +51 -0
- package/src/models/translate-specialty-type-command.ts +51 -0
- package/src/models/translation-contents-model.ts +57 -0
- package/src/models/translation-contents-target-model.ts +42 -0
- package/src/models/translation-target-entities.ts +33 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -145,6 +145,10 @@ import { SnsType } from '../models';
|
|
|
145
145
|
// @ts-ignore
|
|
146
146
|
import { TranslateHospitalCommand } from '../models';
|
|
147
147
|
// @ts-ignore
|
|
148
|
+
import { TranslateHospitalServiceCommand } from '../models';
|
|
149
|
+
// @ts-ignore
|
|
150
|
+
import { TranslateHospitalSpecialtyCommand } from '../models';
|
|
151
|
+
// @ts-ignore
|
|
148
152
|
import { UpdateHospitalCommand } from '../models';
|
|
149
153
|
// @ts-ignore
|
|
150
154
|
import { UpdateHospitalContactCommand } from '../models';
|
|
@@ -4838,6 +4842,52 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4838
4842
|
options: localVarRequestOptions,
|
|
4839
4843
|
};
|
|
4840
4844
|
},
|
|
4845
|
+
/**
|
|
4846
|
+
*
|
|
4847
|
+
* @summary Translate hospitalSpecialty
|
|
4848
|
+
* @param {string} hospitalId
|
|
4849
|
+
* @param {string} hospitalSpecialtyId
|
|
4850
|
+
* @param {TranslateHospitalSpecialtyCommand} [translateHospitalSpecialtyCommand]
|
|
4851
|
+
* @param {*} [options] Override http request option.
|
|
4852
|
+
* @throws {RequiredError}
|
|
4853
|
+
*/
|
|
4854
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost: async (hospitalId: string, hospitalSpecialtyId: string, translateHospitalSpecialtyCommand?: TranslateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4855
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4856
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost', 'hospitalId', hospitalId)
|
|
4857
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
4858
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
4859
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/translate`
|
|
4860
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4861
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
4862
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4863
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4864
|
+
let baseOptions;
|
|
4865
|
+
if (configuration) {
|
|
4866
|
+
baseOptions = configuration.baseOptions;
|
|
4867
|
+
}
|
|
4868
|
+
|
|
4869
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4870
|
+
const localVarHeaderParameter = {} as any;
|
|
4871
|
+
const localVarQueryParameter = {} as any;
|
|
4872
|
+
|
|
4873
|
+
// authentication oauth2 required
|
|
4874
|
+
// oauth required
|
|
4875
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4876
|
+
|
|
4877
|
+
|
|
4878
|
+
|
|
4879
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4880
|
+
|
|
4881
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4882
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4883
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4884
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
4885
|
+
|
|
4886
|
+
return {
|
|
4887
|
+
url: toPathString(localVarUrlObj),
|
|
4888
|
+
options: localVarRequestOptions,
|
|
4889
|
+
};
|
|
4890
|
+
},
|
|
4841
4891
|
/**
|
|
4842
4892
|
*
|
|
4843
4893
|
* @summary Create HospitalSpecialty.
|
|
@@ -6030,6 +6080,56 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6030
6080
|
options: localVarRequestOptions,
|
|
6031
6081
|
};
|
|
6032
6082
|
},
|
|
6083
|
+
/**
|
|
6084
|
+
*
|
|
6085
|
+
* @summary Translate service
|
|
6086
|
+
* @param {string} hospitalId
|
|
6087
|
+
* @param {string} specialtyId
|
|
6088
|
+
* @param {string} serviceId
|
|
6089
|
+
* @param {TranslateHospitalServiceCommand} [translateHospitalServiceCommand]
|
|
6090
|
+
* @param {*} [options] Override http request option.
|
|
6091
|
+
* @throws {RequiredError}
|
|
6092
|
+
*/
|
|
6093
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost: async (hospitalId: string, specialtyId: string, serviceId: string, translateHospitalServiceCommand?: TranslateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6094
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
6095
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost', 'hospitalId', hospitalId)
|
|
6096
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
6097
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost', 'specialtyId', specialtyId)
|
|
6098
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
6099
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost', 'serviceId', serviceId)
|
|
6100
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/translate`
|
|
6101
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
6102
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
6103
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6104
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6105
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6106
|
+
let baseOptions;
|
|
6107
|
+
if (configuration) {
|
|
6108
|
+
baseOptions = configuration.baseOptions;
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6112
|
+
const localVarHeaderParameter = {} as any;
|
|
6113
|
+
const localVarQueryParameter = {} as any;
|
|
6114
|
+
|
|
6115
|
+
// authentication oauth2 required
|
|
6116
|
+
// oauth required
|
|
6117
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
6118
|
+
|
|
6119
|
+
|
|
6120
|
+
|
|
6121
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6122
|
+
|
|
6123
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6125
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6126
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
6127
|
+
|
|
6128
|
+
return {
|
|
6129
|
+
url: toPathString(localVarUrlObj),
|
|
6130
|
+
options: localVarRequestOptions,
|
|
6131
|
+
};
|
|
6132
|
+
},
|
|
6033
6133
|
/**
|
|
6034
6134
|
*
|
|
6035
6135
|
* @summary Translate hospital at once
|
|
@@ -7830,6 +7930,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
7830
7930
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId, hospitalSpecialtyId, includeCurrent, options);
|
|
7831
7931
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7832
7932
|
},
|
|
7933
|
+
/**
|
|
7934
|
+
*
|
|
7935
|
+
* @summary Translate hospitalSpecialty
|
|
7936
|
+
* @param {string} hospitalId
|
|
7937
|
+
* @param {string} hospitalSpecialtyId
|
|
7938
|
+
* @param {TranslateHospitalSpecialtyCommand} [translateHospitalSpecialtyCommand]
|
|
7939
|
+
* @param {*} [options] Override http request option.
|
|
7940
|
+
* @throws {RequiredError}
|
|
7941
|
+
*/
|
|
7942
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost(hospitalId: string, hospitalSpecialtyId: string, translateHospitalSpecialtyCommand?: TranslateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
7943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost(hospitalId, hospitalSpecialtyId, translateHospitalSpecialtyCommand, options);
|
|
7944
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7945
|
+
},
|
|
7833
7946
|
/**
|
|
7834
7947
|
*
|
|
7835
7948
|
* @summary Create HospitalSpecialty.
|
|
@@ -8142,6 +8255,20 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8142
8255
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId, specialtyId, serviceId, includeCurrent, options);
|
|
8143
8256
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8144
8257
|
},
|
|
8258
|
+
/**
|
|
8259
|
+
*
|
|
8260
|
+
* @summary Translate service
|
|
8261
|
+
* @param {string} hospitalId
|
|
8262
|
+
* @param {string} specialtyId
|
|
8263
|
+
* @param {string} serviceId
|
|
8264
|
+
* @param {TranslateHospitalServiceCommand} [translateHospitalServiceCommand]
|
|
8265
|
+
* @param {*} [options] Override http request option.
|
|
8266
|
+
* @throws {RequiredError}
|
|
8267
|
+
*/
|
|
8268
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId: string, specialtyId: string, serviceId: string, translateHospitalServiceCommand?: TranslateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
8269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId, specialtyId, serviceId, translateHospitalServiceCommand, options);
|
|
8270
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8271
|
+
},
|
|
8145
8272
|
/**
|
|
8146
8273
|
*
|
|
8147
8274
|
* @summary Translate hospital at once
|
|
@@ -9455,6 +9582,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
9455
9582
|
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId: string, hospitalSpecialtyId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
9456
9583
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId, hospitalSpecialtyId, includeCurrent, options).then((request) => request(axios, basePath));
|
|
9457
9584
|
},
|
|
9585
|
+
/**
|
|
9586
|
+
*
|
|
9587
|
+
* @summary Translate hospitalSpecialty
|
|
9588
|
+
* @param {string} hospitalId
|
|
9589
|
+
* @param {string} hospitalSpecialtyId
|
|
9590
|
+
* @param {TranslateHospitalSpecialtyCommand} [translateHospitalSpecialtyCommand]
|
|
9591
|
+
* @param {*} [options] Override http request option.
|
|
9592
|
+
* @throws {RequiredError}
|
|
9593
|
+
*/
|
|
9594
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost(hospitalId: string, hospitalSpecialtyId: string, translateHospitalSpecialtyCommand?: TranslateHospitalSpecialtyCommand, options?: any): AxiosPromise<boolean> {
|
|
9595
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost(hospitalId, hospitalSpecialtyId, translateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
9596
|
+
},
|
|
9458
9597
|
/**
|
|
9459
9598
|
*
|
|
9460
9599
|
* @summary Create HospitalSpecialty.
|
|
@@ -9747,6 +9886,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
9747
9886
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId: string, specialtyId: string, serviceId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
9748
9887
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId, specialtyId, serviceId, includeCurrent, options).then((request) => request(axios, basePath));
|
|
9749
9888
|
},
|
|
9889
|
+
/**
|
|
9890
|
+
*
|
|
9891
|
+
* @summary Translate service
|
|
9892
|
+
* @param {string} hospitalId
|
|
9893
|
+
* @param {string} specialtyId
|
|
9894
|
+
* @param {string} serviceId
|
|
9895
|
+
* @param {TranslateHospitalServiceCommand} [translateHospitalServiceCommand]
|
|
9896
|
+
* @param {*} [options] Override http request option.
|
|
9897
|
+
* @throws {RequiredError}
|
|
9898
|
+
*/
|
|
9899
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId: string, specialtyId: string, serviceId: string, translateHospitalServiceCommand?: TranslateHospitalServiceCommand, options?: any): AxiosPromise<boolean> {
|
|
9900
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(hospitalId, specialtyId, serviceId, translateHospitalServiceCommand, options).then((request) => request(axios, basePath));
|
|
9901
|
+
},
|
|
9750
9902
|
/**
|
|
9751
9903
|
*
|
|
9752
9904
|
* @summary Translate hospital at once
|
|
@@ -12869,6 +13021,34 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialt
|
|
|
12869
13021
|
readonly includeCurrent?: boolean
|
|
12870
13022
|
}
|
|
12871
13023
|
|
|
13024
|
+
/**
|
|
13025
|
+
* Request parameters for apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost operation in HospitalsApi.
|
|
13026
|
+
* @export
|
|
13027
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePostRequest
|
|
13028
|
+
*/
|
|
13029
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePostRequest {
|
|
13030
|
+
/**
|
|
13031
|
+
*
|
|
13032
|
+
* @type {string}
|
|
13033
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost
|
|
13034
|
+
*/
|
|
13035
|
+
readonly hospitalId: string
|
|
13036
|
+
|
|
13037
|
+
/**
|
|
13038
|
+
*
|
|
13039
|
+
* @type {string}
|
|
13040
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost
|
|
13041
|
+
*/
|
|
13042
|
+
readonly hospitalSpecialtyId: string
|
|
13043
|
+
|
|
13044
|
+
/**
|
|
13045
|
+
*
|
|
13046
|
+
* @type {TranslateHospitalSpecialtyCommand}
|
|
13047
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost
|
|
13048
|
+
*/
|
|
13049
|
+
readonly translateHospitalSpecialtyCommand?: TranslateHospitalSpecialtyCommand
|
|
13050
|
+
}
|
|
13051
|
+
|
|
12872
13052
|
/**
|
|
12873
13053
|
* Request parameters for apiV1HospitalsHospitalIdSpecialtiesPost operation in HospitalsApi.
|
|
12874
13054
|
* @export
|
|
@@ -13793,6 +13973,41 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServi
|
|
|
13793
13973
|
readonly includeCurrent?: boolean
|
|
13794
13974
|
}
|
|
13795
13975
|
|
|
13976
|
+
/**
|
|
13977
|
+
* Request parameters for apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost operation in HospitalsApi.
|
|
13978
|
+
* @export
|
|
13979
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePostRequest
|
|
13980
|
+
*/
|
|
13981
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePostRequest {
|
|
13982
|
+
/**
|
|
13983
|
+
*
|
|
13984
|
+
* @type {string}
|
|
13985
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost
|
|
13986
|
+
*/
|
|
13987
|
+
readonly hospitalId: string
|
|
13988
|
+
|
|
13989
|
+
/**
|
|
13990
|
+
*
|
|
13991
|
+
* @type {string}
|
|
13992
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost
|
|
13993
|
+
*/
|
|
13994
|
+
readonly specialtyId: string
|
|
13995
|
+
|
|
13996
|
+
/**
|
|
13997
|
+
*
|
|
13998
|
+
* @type {string}
|
|
13999
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost
|
|
14000
|
+
*/
|
|
14001
|
+
readonly serviceId: string
|
|
14002
|
+
|
|
14003
|
+
/**
|
|
14004
|
+
*
|
|
14005
|
+
* @type {TranslateHospitalServiceCommand}
|
|
14006
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost
|
|
14007
|
+
*/
|
|
14008
|
+
readonly translateHospitalServiceCommand?: TranslateHospitalServiceCommand
|
|
14009
|
+
}
|
|
14010
|
+
|
|
13796
14011
|
/**
|
|
13797
14012
|
* Request parameters for apiV1HospitalsHospitalIdTranslatePost operation in HospitalsApi.
|
|
13798
14013
|
* @export
|
|
@@ -15254,6 +15469,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
15254
15469
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
|
|
15255
15470
|
}
|
|
15256
15471
|
|
|
15472
|
+
/**
|
|
15473
|
+
*
|
|
15474
|
+
* @summary Translate hospitalSpecialty
|
|
15475
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePostRequest} requestParameters Request parameters.
|
|
15476
|
+
* @param {*} [options] Override http request option.
|
|
15477
|
+
* @throws {RequiredError}
|
|
15478
|
+
* @memberof HospitalsApi
|
|
15479
|
+
*/
|
|
15480
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
15481
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdTranslatePost(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.translateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15482
|
+
}
|
|
15483
|
+
|
|
15257
15484
|
/**
|
|
15258
15485
|
*
|
|
15259
15486
|
* @summary Create HospitalSpecialty.
|
|
@@ -15494,6 +15721,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
15494
15721
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
|
|
15495
15722
|
}
|
|
15496
15723
|
|
|
15724
|
+
/**
|
|
15725
|
+
*
|
|
15726
|
+
* @summary Translate service
|
|
15727
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePostRequest} requestParameters Request parameters.
|
|
15728
|
+
* @param {*} [options] Override http request option.
|
|
15729
|
+
* @throws {RequiredError}
|
|
15730
|
+
* @memberof HospitalsApi
|
|
15731
|
+
*/
|
|
15732
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
15733
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdTranslatePost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.translateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15734
|
+
}
|
|
15735
|
+
|
|
15497
15736
|
/**
|
|
15498
15737
|
*
|
|
15499
15738
|
* @summary Translate hospital at once
|
|
@@ -41,6 +41,8 @@ import { SpecialtiesSimpleModel } from '../models';
|
|
|
41
41
|
// @ts-ignore
|
|
42
42
|
import { SpecialtyModel } from '../models';
|
|
43
43
|
// @ts-ignore
|
|
44
|
+
import { TranslateSpecialtyCommand } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
44
46
|
import { UpdateMediaCommand } from '../models';
|
|
45
47
|
// @ts-ignore
|
|
46
48
|
import { UpdateSpecialtyCommand } from '../models';
|
|
@@ -798,6 +800,48 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
798
800
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
799
801
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
800
802
|
|
|
803
|
+
return {
|
|
804
|
+
url: toPathString(localVarUrlObj),
|
|
805
|
+
options: localVarRequestOptions,
|
|
806
|
+
};
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Translate specialty
|
|
811
|
+
* @param {string} specialtyId
|
|
812
|
+
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
apiV1SpecialtiesSpecialtyIdTranslatePost: async (specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
818
|
+
assertParamExists('apiV1SpecialtiesSpecialtyIdTranslatePost', 'specialtyId', specialtyId)
|
|
819
|
+
const localVarPath = `/api/v1/specialties/{specialtyId}/translate`
|
|
820
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
821
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
822
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
823
|
+
let baseOptions;
|
|
824
|
+
if (configuration) {
|
|
825
|
+
baseOptions = configuration.baseOptions;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
829
|
+
const localVarHeaderParameter = {} as any;
|
|
830
|
+
const localVarQueryParameter = {} as any;
|
|
831
|
+
|
|
832
|
+
// authentication oauth2 required
|
|
833
|
+
// oauth required
|
|
834
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
839
|
+
|
|
840
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
842
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
843
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateSpecialtyCommand, localVarRequestOptions, configuration)
|
|
844
|
+
|
|
801
845
|
return {
|
|
802
846
|
url: toPathString(localVarUrlObj),
|
|
803
847
|
options: localVarRequestOptions,
|
|
@@ -1010,6 +1054,18 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
1010
1054
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId, includeCurrent, options);
|
|
1011
1055
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1012
1056
|
},
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @summary Translate specialty
|
|
1060
|
+
* @param {string} specialtyId
|
|
1061
|
+
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
1062
|
+
* @param {*} [options] Override http request option.
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
*/
|
|
1065
|
+
async apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId, translateSpecialtyCommand, options);
|
|
1067
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1068
|
+
},
|
|
1013
1069
|
}
|
|
1014
1070
|
};
|
|
1015
1071
|
|
|
@@ -1203,6 +1259,17 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
1203
1259
|
apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
1204
1260
|
return localVarFp.apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId, includeCurrent, options).then((request) => request(axios, basePath));
|
|
1205
1261
|
},
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @summary Translate specialty
|
|
1265
|
+
* @param {string} specialtyId
|
|
1266
|
+
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
1267
|
+
* @param {*} [options] Override http request option.
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
*/
|
|
1270
|
+
apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: any): AxiosPromise<boolean> {
|
|
1271
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId, translateSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
1272
|
+
},
|
|
1206
1273
|
};
|
|
1207
1274
|
};
|
|
1208
1275
|
|
|
@@ -1703,6 +1770,27 @@ export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest
|
|
|
1703
1770
|
readonly includeCurrent?: boolean
|
|
1704
1771
|
}
|
|
1705
1772
|
|
|
1773
|
+
/**
|
|
1774
|
+
* Request parameters for apiV1SpecialtiesSpecialtyIdTranslatePost operation in SpecialtiesApi.
|
|
1775
|
+
* @export
|
|
1776
|
+
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest
|
|
1777
|
+
*/
|
|
1778
|
+
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest {
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {string}
|
|
1782
|
+
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
|
|
1783
|
+
*/
|
|
1784
|
+
readonly specialtyId: string
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {TranslateSpecialtyCommand}
|
|
1789
|
+
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
|
|
1790
|
+
*/
|
|
1791
|
+
readonly translateSpecialtyCommand?: TranslateSpecialtyCommand
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1706
1794
|
/**
|
|
1707
1795
|
* SpecialtiesApi - object-oriented interface
|
|
1708
1796
|
* @export
|
|
@@ -1877,4 +1965,16 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
1877
1965
|
public apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest, options?: AxiosRequestConfig) {
|
|
1878
1966
|
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters.specialtyId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
|
|
1879
1967
|
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
*
|
|
1971
|
+
* @summary Translate specialty
|
|
1972
|
+
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest} requestParameters Request parameters.
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
1975
|
+
* @memberof SpecialtiesApi
|
|
1976
|
+
*/
|
|
1977
|
+
public apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
1978
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters.specialtyId, requestParameters.translateSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1979
|
+
}
|
|
1880
1980
|
}
|
|
@@ -41,6 +41,8 @@ import { SpecialtyTypesModel } from '../models';
|
|
|
41
41
|
// @ts-ignore
|
|
42
42
|
import { SpecialtyTypesSimpleModel } from '../models';
|
|
43
43
|
// @ts-ignore
|
|
44
|
+
import { TranslateSpecialtyTypeCommand } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
44
46
|
import { UpdateMediaCommand } from '../models';
|
|
45
47
|
// @ts-ignore
|
|
46
48
|
import { UpdateSpecialtyTypeCommand } from '../models';
|
|
@@ -798,6 +800,48 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
798
800
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
799
801
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
800
802
|
|
|
803
|
+
return {
|
|
804
|
+
url: toPathString(localVarUrlObj),
|
|
805
|
+
options: localVarRequestOptions,
|
|
806
|
+
};
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Translate speciatyType
|
|
811
|
+
* @param {string} specialtyTypeId
|
|
812
|
+
* @param {TranslateSpecialtyTypeCommand} [translateSpecialtyTypeCommand]
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
apiV1SpecialtytypesSpecialtyTypeIdTranslatePost: async (specialtyTypeId: string, translateSpecialtyTypeCommand?: TranslateSpecialtyTypeCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
818
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdTranslatePost', 'specialtyTypeId', specialtyTypeId)
|
|
819
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/translate`
|
|
820
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
821
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
822
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
823
|
+
let baseOptions;
|
|
824
|
+
if (configuration) {
|
|
825
|
+
baseOptions = configuration.baseOptions;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
829
|
+
const localVarHeaderParameter = {} as any;
|
|
830
|
+
const localVarQueryParameter = {} as any;
|
|
831
|
+
|
|
832
|
+
// authentication oauth2 required
|
|
833
|
+
// oauth required
|
|
834
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
839
|
+
|
|
840
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
842
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
843
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateSpecialtyTypeCommand, localVarRequestOptions, configuration)
|
|
844
|
+
|
|
801
845
|
return {
|
|
802
846
|
url: toPathString(localVarUrlObj),
|
|
803
847
|
options: localVarRequestOptions,
|
|
@@ -1010,6 +1054,18 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
1010
1054
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdRevalidatePost(specialtyTypeId, includeCurrent, options);
|
|
1011
1055
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1012
1056
|
},
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @summary Translate speciatyType
|
|
1060
|
+
* @param {string} specialtyTypeId
|
|
1061
|
+
* @param {TranslateSpecialtyTypeCommand} [translateSpecialtyTypeCommand]
|
|
1062
|
+
* @param {*} [options] Override http request option.
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
*/
|
|
1065
|
+
async apiV1SpecialtytypesSpecialtyTypeIdTranslatePost(specialtyTypeId: string, translateSpecialtyTypeCommand?: TranslateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdTranslatePost(specialtyTypeId, translateSpecialtyTypeCommand, options);
|
|
1067
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1068
|
+
},
|
|
1013
1069
|
}
|
|
1014
1070
|
};
|
|
1015
1071
|
|
|
@@ -1203,6 +1259,17 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
1203
1259
|
apiV1SpecialtytypesSpecialtyTypeIdRevalidatePost(specialtyTypeId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
1204
1260
|
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdRevalidatePost(specialtyTypeId, includeCurrent, options).then((request) => request(axios, basePath));
|
|
1205
1261
|
},
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @summary Translate speciatyType
|
|
1265
|
+
* @param {string} specialtyTypeId
|
|
1266
|
+
* @param {TranslateSpecialtyTypeCommand} [translateSpecialtyTypeCommand]
|
|
1267
|
+
* @param {*} [options] Override http request option.
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
*/
|
|
1270
|
+
apiV1SpecialtytypesSpecialtyTypeIdTranslatePost(specialtyTypeId: string, translateSpecialtyTypeCommand?: TranslateSpecialtyTypeCommand, options?: any): AxiosPromise<boolean> {
|
|
1271
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdTranslatePost(specialtyTypeId, translateSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
|
|
1272
|
+
},
|
|
1206
1273
|
};
|
|
1207
1274
|
};
|
|
1208
1275
|
|
|
@@ -1703,6 +1770,27 @@ export interface SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdRevalidatePo
|
|
|
1703
1770
|
readonly includeCurrent?: boolean
|
|
1704
1771
|
}
|
|
1705
1772
|
|
|
1773
|
+
/**
|
|
1774
|
+
* Request parameters for apiV1SpecialtytypesSpecialtyTypeIdTranslatePost operation in SpecialtyTypesApi.
|
|
1775
|
+
* @export
|
|
1776
|
+
* @interface SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdTranslatePostRequest
|
|
1777
|
+
*/
|
|
1778
|
+
export interface SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdTranslatePostRequest {
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {string}
|
|
1782
|
+
* @memberof SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdTranslatePost
|
|
1783
|
+
*/
|
|
1784
|
+
readonly specialtyTypeId: string
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {TranslateSpecialtyTypeCommand}
|
|
1789
|
+
* @memberof SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdTranslatePost
|
|
1790
|
+
*/
|
|
1791
|
+
readonly translateSpecialtyTypeCommand?: TranslateSpecialtyTypeCommand
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1706
1794
|
/**
|
|
1707
1795
|
* SpecialtyTypesApi - object-oriented interface
|
|
1708
1796
|
* @export
|
|
@@ -1877,4 +1965,16 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
1877
1965
|
public apiV1SpecialtytypesSpecialtyTypeIdRevalidatePost(requestParameters: SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdRevalidatePostRequest, options?: AxiosRequestConfig) {
|
|
1878
1966
|
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdRevalidatePost(requestParameters.specialtyTypeId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
|
|
1879
1967
|
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
*
|
|
1971
|
+
* @summary Translate speciatyType
|
|
1972
|
+
* @param {SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdTranslatePostRequest} requestParameters Request parameters.
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
1975
|
+
* @memberof SpecialtyTypesApi
|
|
1976
|
+
*/
|
|
1977
|
+
public apiV1SpecialtytypesSpecialtyTypeIdTranslatePost(requestParameters: SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
1978
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdTranslatePost(requestParameters.specialtyTypeId, requestParameters.translateSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1979
|
+
}
|
|
1880
1980
|
}
|
package/src/api.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './api/contributors-api';
|
|
|
30
30
|
export * from './api/countries-api';
|
|
31
31
|
export * from './api/dash-board-api';
|
|
32
32
|
export * from './api/deals-api';
|
|
33
|
+
export * from './api/dev-supports-api';
|
|
33
34
|
export * from './api/doctor-affiliations-api';
|
|
34
35
|
export * from './api/doctors-api';
|
|
35
36
|
export * from './api/email-marketings-api';
|
package/src/models/index.ts
CHANGED
|
@@ -420,6 +420,13 @@ export * from './translate-all-options';
|
|
|
420
420
|
export * from './translate-command';
|
|
421
421
|
export * from './translate-doctor-affiliation-command';
|
|
422
422
|
export * from './translate-hospital-command';
|
|
423
|
+
export * from './translate-hospital-service-command';
|
|
424
|
+
export * from './translate-hospital-specialty-command';
|
|
425
|
+
export * from './translate-specialty-command';
|
|
426
|
+
export * from './translate-specialty-type-command';
|
|
427
|
+
export * from './translation-contents-model';
|
|
428
|
+
export * from './translation-contents-target-model';
|
|
429
|
+
export * from './translation-target-entities';
|
|
423
430
|
export * from './update-about-us-page-command';
|
|
424
431
|
export * from './update-account-command';
|
|
425
432
|
export * from './update-accreditation-command';
|
|
@@ -41,5 +41,11 @@ export interface TranslateDoctorAffiliationCommand {
|
|
|
41
41
|
* @memberof TranslateDoctorAffiliationCommand
|
|
42
42
|
*/
|
|
43
43
|
'translateToLanguageCodes'?: Array<string> | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof TranslateDoctorAffiliationCommand
|
|
48
|
+
*/
|
|
49
|
+
'translateToFields'?: Array<string> | null;
|
|
44
50
|
}
|
|
45
51
|
|
|
@@ -41,5 +41,11 @@ export interface TranslateHospitalCommand {
|
|
|
41
41
|
* @memberof TranslateHospitalCommand
|
|
42
42
|
*/
|
|
43
43
|
'translateToLanguageCodes'?: Array<string> | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof TranslateHospitalCommand
|
|
48
|
+
*/
|
|
49
|
+
'translateToFields'?: Array<string> | null;
|
|
44
50
|
}
|
|
45
51
|
|