ch-api-client-typescript2 5.0.4 → 5.0.6
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/articles-api.d.ts +16 -7
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +16 -10
- package/lib/api/contributors-api.d.ts +12 -3
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +12 -6
- package/lib/api/countries-api.d.ts +16 -7
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +16 -10
- package/lib/api/deals-api.d.ts +12 -3
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +12 -6
- package/lib/api/hospitals-api.d.ts +56 -17
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +56 -26
- package/lib/api/services-api.d.ts +20 -11
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +20 -14
- package/lib/api/specialties-api.d.ts +20 -11
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +20 -14
- package/lib/api/specialty-types-api.d.ts +20 -11
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +20 -14
- package/lib/models/about-us-page-model.d.ts +7 -0
- package/lib/models/about-us-page-model.d.ts.map +1 -1
- package/lib/models/accreditation-document-model.d.ts +3 -3
- package/lib/models/appointment-option-document-model.d.ts +5 -5
- package/lib/models/article-contributor-document-model.d.ts +3 -3
- package/lib/models/article-document-model.d.ts +13 -13
- package/lib/models/article-model.d.ts +7 -0
- package/lib/models/article-model.d.ts.map +1 -1
- package/lib/models/contributor-document-model.d.ts +5 -5
- package/lib/models/contributor-model.d.ts +7 -0
- package/lib/models/contributor-model.d.ts.map +1 -1
- package/lib/models/contributor-sub-document-model.d.ts +2 -2
- package/lib/models/country-document-model.d.ts +7 -7
- package/lib/models/country-model.d.ts +7 -0
- package/lib/models/country-model.d.ts.map +1 -1
- package/lib/models/country-sub-document-model.d.ts +2 -2
- package/lib/models/deal-document-model.d.ts +13 -13
- package/lib/models/deal-model.d.ts +7 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/department-document-model.d.ts +8 -8
- package/lib/models/department-sub-document-model.d.ts +3 -3
- package/lib/models/doctor-affiliation-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/doctor-certificate-sub-document-model.d.ts +4 -4
- package/lib/models/doctor-document-model.d.ts +15 -15
- package/lib/models/doctor-specialty-sub-document-model.d.ts +2 -2
- package/lib/models/faq-category-document-model.d.ts +4 -4
- package/lib/models/faq-category-model.d.ts +7 -0
- package/lib/models/faq-category-model.d.ts.map +1 -1
- package/lib/models/faq-category-sub-document-model.d.ts +3 -3
- package/lib/models/faq-document-model.d.ts +4 -4
- package/lib/models/faq-model.d.ts +7 -0
- package/lib/models/faq-model.d.ts.map +1 -1
- package/lib/models/hospital-document-model.d.ts +23 -23
- package/lib/models/hospital-model.d.ts +7 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/hospital-service-model.d.ts +7 -0
- package/lib/models/hospital-service-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-document-model.d.ts +13 -13
- package/lib/models/hospital-specialty-model.d.ts +7 -0
- package/lib/models/hospital-specialty-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-sub-document-model.d.ts +4 -4
- package/lib/models/hospital-sub-document-model.d.ts +4 -4
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +1 -0
- package/lib/models/landing-model.d.ts +7 -0
- package/lib/models/landing-model.d.ts.map +1 -1
- package/lib/models/location-document-model.d.ts +7 -7
- package/lib/models/media-document-model.d.ts +7 -7
- package/lib/models/package-sub-document-model.d.ts +5 -5
- package/lib/models/service-document-model.d.ts +11 -11
- package/lib/models/service-review-model.d.ts +7 -0
- package/lib/models/service-review-model.d.ts.map +1 -1
- package/lib/models/service-sub-document-model.d.ts +2 -2
- package/lib/models/slug-change-log-model.d.ts +43 -0
- package/lib/models/slug-change-log-model.d.ts.map +1 -0
- package/lib/models/slug-change-log-model.js +15 -0
- package/lib/models/sns-handle-document-model.d.ts +2 -2
- package/lib/models/specialty-document-model.d.ts +8 -8
- package/lib/models/specialty-model.d.ts +7 -0
- package/lib/models/specialty-model.d.ts.map +1 -1
- package/lib/models/specialty-sub-document-model.d.ts +2 -2
- package/lib/models/specialty-type-model.d.ts +7 -0
- package/lib/models/specialty-type-model.d.ts.map +1 -1
- package/lib/models/tag-document-model.d.ts +2 -2
- package/lib/models/translation-document-model.d.ts +7 -7
- package/lib/models/translation-item-document-model.d.ts +4 -4
- package/lib/models/user-location-document-model.d.ts +7 -7
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +1 -0
- package/src/api/articles-api.ts +24 -10
- package/src/api/contributors-api.ts +20 -6
- package/src/api/countries-api.ts +24 -10
- package/src/api/deals-api.ts +20 -6
- package/src/api/hospitals-api.ts +80 -26
- package/src/api/services-api.ts +28 -14
- package/src/api/specialties-api.ts +28 -14
- package/src/api/specialty-types-api.ts +28 -14
- package/src/models/about-us-page-model.ts +9 -0
- package/src/models/accreditation-document-model.ts +3 -3
- package/src/models/appointment-option-document-model.ts +5 -5
- package/src/models/article-contributor-document-model.ts +3 -3
- package/src/models/article-document-model.ts +13 -13
- package/src/models/article-model.ts +9 -0
- package/src/models/contributor-document-model.ts +5 -5
- package/src/models/contributor-model.ts +9 -0
- package/src/models/contributor-sub-document-model.ts +2 -2
- package/src/models/country-document-model.ts +7 -7
- package/src/models/country-model.ts +9 -0
- package/src/models/country-sub-document-model.ts +2 -2
- package/src/models/deal-document-model.ts +13 -13
- package/src/models/deal-model.ts +9 -0
- package/src/models/department-document-model.ts +8 -8
- package/src/models/department-sub-document-model.ts +3 -3
- package/src/models/doctor-affiliation-model.ts +9 -0
- package/src/models/doctor-certificate-sub-document-model.ts +4 -4
- package/src/models/doctor-document-model.ts +15 -15
- package/src/models/doctor-specialty-sub-document-model.ts +2 -2
- package/src/models/faq-category-document-model.ts +4 -4
- package/src/models/faq-category-model.ts +9 -0
- package/src/models/faq-category-sub-document-model.ts +3 -3
- package/src/models/faq-document-model.ts +4 -4
- package/src/models/faq-model.ts +9 -0
- package/src/models/hospital-document-model.ts +23 -23
- package/src/models/hospital-model.ts +9 -0
- package/src/models/hospital-service-model.ts +9 -0
- package/src/models/hospital-specialty-document-model.ts +13 -13
- package/src/models/hospital-specialty-model.ts +9 -0
- package/src/models/hospital-specialty-sub-document-model.ts +4 -4
- package/src/models/hospital-sub-document-model.ts +4 -4
- package/src/models/index.ts +1 -0
- package/src/models/landing-model.ts +9 -0
- package/src/models/location-document-model.ts +7 -7
- package/src/models/media-document-model.ts +7 -7
- package/src/models/package-sub-document-model.ts +5 -5
- package/src/models/service-document-model.ts +11 -11
- package/src/models/service-review-model.ts +9 -0
- package/src/models/service-sub-document-model.ts +2 -2
- package/src/models/slug-change-log-model.ts +48 -0
- package/src/models/sns-handle-document-model.ts +2 -2
- package/src/models/specialty-document-model.ts +8 -8
- package/src/models/specialty-model.ts +9 -0
- package/src/models/specialty-sub-document-model.ts +2 -2
- package/src/models/specialty-type-model.ts +9 -0
- package/src/models/tag-document-model.ts +2 -2
- package/src/models/translation-document-model.ts +7 -7
- package/src/models/translation-item-document-model.ts +4 -4
- package/src/models/user-location-document-model.ts +7 -7
package/src/api/hospitals-api.ts
CHANGED
|
@@ -702,7 +702,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
702
702
|
},
|
|
703
703
|
/**
|
|
704
704
|
*
|
|
705
|
-
* @summary
|
|
705
|
+
* @summary Get hospital by id
|
|
706
706
|
* @param {string} hospitalId
|
|
707
707
|
* @param {string} [languageCode]
|
|
708
708
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -850,6 +850,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
850
850
|
},
|
|
851
851
|
/**
|
|
852
852
|
*
|
|
853
|
+
* @summary Get landings
|
|
853
854
|
* @param {string} hospitalId
|
|
854
855
|
* @param {string} [name]
|
|
855
856
|
* @param {string} [slug]
|
|
@@ -920,6 +921,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
920
921
|
},
|
|
921
922
|
/**
|
|
922
923
|
*
|
|
924
|
+
* @summary Get landing by id
|
|
923
925
|
* @param {string} hospitalId
|
|
924
926
|
* @param {string} landingId
|
|
925
927
|
* @param {string} [languageCode]
|
|
@@ -962,13 +964,15 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
962
964
|
},
|
|
963
965
|
/**
|
|
964
966
|
*
|
|
967
|
+
* @summary Get landing by slug
|
|
965
968
|
* @param {string} slug
|
|
966
969
|
* @param {string} hospitalId
|
|
967
970
|
* @param {string} [languageCode]
|
|
971
|
+
* @param {string} [previewSecret]
|
|
968
972
|
* @param {*} [options] Override http request option.
|
|
969
973
|
* @throws {RequiredError}
|
|
970
974
|
*/
|
|
971
|
-
apiV2HospitalsHospitalIdLandingsSlugGet: async (slug: string, hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
975
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: async (slug: string, hospitalId: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
972
976
|
// verify required parameter 'slug' is not null or undefined
|
|
973
977
|
assertParamExists('apiV2HospitalsHospitalIdLandingsSlugGet', 'slug', slug)
|
|
974
978
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
@@ -991,6 +995,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
991
995
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
992
996
|
}
|
|
993
997
|
|
|
998
|
+
if (previewSecret !== undefined) {
|
|
999
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
994
1002
|
|
|
995
1003
|
|
|
996
1004
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1544,10 +1552,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1544
1552
|
* @param {string} hospitalId
|
|
1545
1553
|
* @param {string} slug
|
|
1546
1554
|
* @param {string} [languageCode]
|
|
1555
|
+
* @param {string} [previewSecret]
|
|
1547
1556
|
* @param {*} [options] Override http request option.
|
|
1548
1557
|
* @throws {RequiredError}
|
|
1549
1558
|
*/
|
|
1550
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: async (hospitalId: string, slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1559
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: async (hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1551
1560
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
1552
1561
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSlugGet', 'hospitalId', hospitalId)
|
|
1553
1562
|
// verify required parameter 'slug' is not null or undefined
|
|
@@ -1570,6 +1579,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1570
1579
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
1571
1580
|
}
|
|
1572
1581
|
|
|
1582
|
+
if (previewSecret !== undefined) {
|
|
1583
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1573
1586
|
|
|
1574
1587
|
|
|
1575
1588
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2208,14 +2221,15 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2208
2221
|
},
|
|
2209
2222
|
/**
|
|
2210
2223
|
*
|
|
2211
|
-
* @summary
|
|
2224
|
+
* @summary Get hospital by slug
|
|
2212
2225
|
* @param {string} slug
|
|
2213
2226
|
* @param {string} [languageCode]
|
|
2214
2227
|
* @param {boolean} [returnDefaultValue]
|
|
2228
|
+
* @param {string} [previewSecret]
|
|
2215
2229
|
* @param {*} [options] Override http request option.
|
|
2216
2230
|
* @throws {RequiredError}
|
|
2217
2231
|
*/
|
|
2218
|
-
apiV2HospitalsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2232
|
+
apiV2HospitalsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2219
2233
|
// verify required parameter 'slug' is not null or undefined
|
|
2220
2234
|
assertParamExists('apiV2HospitalsSlugGet', 'slug', slug)
|
|
2221
2235
|
const localVarPath = `/api/v2/hospitals/{slug}`
|
|
@@ -2239,6 +2253,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2239
2253
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
2240
2254
|
}
|
|
2241
2255
|
|
|
2256
|
+
if (previewSecret !== undefined) {
|
|
2257
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2242
2260
|
|
|
2243
2261
|
|
|
2244
2262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2425,7 +2443,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
2425
2443
|
},
|
|
2426
2444
|
/**
|
|
2427
2445
|
*
|
|
2428
|
-
* @summary
|
|
2446
|
+
* @summary Get hospital by id
|
|
2429
2447
|
* @param {string} hospitalId
|
|
2430
2448
|
* @param {string} [languageCode]
|
|
2431
2449
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -2467,6 +2485,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
2467
2485
|
},
|
|
2468
2486
|
/**
|
|
2469
2487
|
*
|
|
2488
|
+
* @summary Get landings
|
|
2470
2489
|
* @param {string} hospitalId
|
|
2471
2490
|
* @param {string} [name]
|
|
2472
2491
|
* @param {string} [slug]
|
|
@@ -2484,6 +2503,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
2484
2503
|
},
|
|
2485
2504
|
/**
|
|
2486
2505
|
*
|
|
2506
|
+
* @summary Get landing by id
|
|
2487
2507
|
* @param {string} hospitalId
|
|
2488
2508
|
* @param {string} landingId
|
|
2489
2509
|
* @param {string} [languageCode]
|
|
@@ -2496,14 +2516,16 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
2496
2516
|
},
|
|
2497
2517
|
/**
|
|
2498
2518
|
*
|
|
2519
|
+
* @summary Get landing by slug
|
|
2499
2520
|
* @param {string} slug
|
|
2500
2521
|
* @param {string} hospitalId
|
|
2501
2522
|
* @param {string} [languageCode]
|
|
2523
|
+
* @param {string} [previewSecret]
|
|
2502
2524
|
* @param {*} [options] Override http request option.
|
|
2503
2525
|
* @throws {RequiredError}
|
|
2504
2526
|
*/
|
|
2505
|
-
async apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
|
|
2506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options);
|
|
2527
|
+
async apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
|
|
2528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, previewSecret, options);
|
|
2507
2529
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2508
2530
|
},
|
|
2509
2531
|
/**
|
|
@@ -2651,11 +2673,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
2651
2673
|
* @param {string} hospitalId
|
|
2652
2674
|
* @param {string} slug
|
|
2653
2675
|
* @param {string} [languageCode]
|
|
2676
|
+
* @param {string} [previewSecret]
|
|
2654
2677
|
* @param {*} [options] Override http request option.
|
|
2655
2678
|
* @throws {RequiredError}
|
|
2656
2679
|
*/
|
|
2657
|
-
async apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
2658
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options);
|
|
2680
|
+
async apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
2681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, previewSecret, options);
|
|
2659
2682
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2660
2683
|
},
|
|
2661
2684
|
/**
|
|
@@ -2821,15 +2844,16 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
2821
2844
|
},
|
|
2822
2845
|
/**
|
|
2823
2846
|
*
|
|
2824
|
-
* @summary
|
|
2847
|
+
* @summary Get hospital by slug
|
|
2825
2848
|
* @param {string} slug
|
|
2826
2849
|
* @param {string} [languageCode]
|
|
2827
2850
|
* @param {boolean} [returnDefaultValue]
|
|
2851
|
+
* @param {string} [previewSecret]
|
|
2828
2852
|
* @param {*} [options] Override http request option.
|
|
2829
2853
|
* @throws {RequiredError}
|
|
2830
2854
|
*/
|
|
2831
|
-
async apiV2HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
2832
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
2855
|
+
async apiV2HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
2856
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
2833
2857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2834
2858
|
},
|
|
2835
2859
|
}
|
|
@@ -2997,7 +3021,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
2997
3021
|
},
|
|
2998
3022
|
/**
|
|
2999
3023
|
*
|
|
3000
|
-
* @summary
|
|
3024
|
+
* @summary Get hospital by id
|
|
3001
3025
|
* @param {string} hospitalId
|
|
3002
3026
|
* @param {string} [languageCode]
|
|
3003
3027
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -3036,6 +3060,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
3036
3060
|
},
|
|
3037
3061
|
/**
|
|
3038
3062
|
*
|
|
3063
|
+
* @summary Get landings
|
|
3039
3064
|
* @param {string} hospitalId
|
|
3040
3065
|
* @param {string} [name]
|
|
3041
3066
|
* @param {string} [slug]
|
|
@@ -3052,6 +3077,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
3052
3077
|
},
|
|
3053
3078
|
/**
|
|
3054
3079
|
*
|
|
3080
|
+
* @summary Get landing by id
|
|
3055
3081
|
* @param {string} hospitalId
|
|
3056
3082
|
* @param {string} landingId
|
|
3057
3083
|
* @param {string} [languageCode]
|
|
@@ -3063,14 +3089,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
3063
3089
|
},
|
|
3064
3090
|
/**
|
|
3065
3091
|
*
|
|
3092
|
+
* @summary Get landing by slug
|
|
3066
3093
|
* @param {string} slug
|
|
3067
3094
|
* @param {string} hospitalId
|
|
3068
3095
|
* @param {string} [languageCode]
|
|
3096
|
+
* @param {string} [previewSecret]
|
|
3069
3097
|
* @param {*} [options] Override http request option.
|
|
3070
3098
|
* @throws {RequiredError}
|
|
3071
3099
|
*/
|
|
3072
|
-
apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, options?: any): AxiosPromise<LandingModel> {
|
|
3073
|
-
return localVarFp.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
3100
|
+
apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<LandingModel> {
|
|
3101
|
+
return localVarFp.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, previewSecret, options).then((request) => request(axios, basePath));
|
|
3074
3102
|
},
|
|
3075
3103
|
/**
|
|
3076
3104
|
*
|
|
@@ -3209,11 +3237,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
3209
3237
|
* @param {string} hospitalId
|
|
3210
3238
|
* @param {string} slug
|
|
3211
3239
|
* @param {string} [languageCode]
|
|
3240
|
+
* @param {string} [previewSecret]
|
|
3212
3241
|
* @param {*} [options] Override http request option.
|
|
3213
3242
|
* @throws {RequiredError}
|
|
3214
3243
|
*/
|
|
3215
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
3216
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options).then((request) => request(axios, basePath));
|
|
3244
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
3245
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then((request) => request(axios, basePath));
|
|
3217
3246
|
},
|
|
3218
3247
|
/**
|
|
3219
3248
|
*
|
|
@@ -3369,15 +3398,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
3369
3398
|
},
|
|
3370
3399
|
/**
|
|
3371
3400
|
*
|
|
3372
|
-
* @summary
|
|
3401
|
+
* @summary Get hospital by slug
|
|
3373
3402
|
* @param {string} slug
|
|
3374
3403
|
* @param {string} [languageCode]
|
|
3375
3404
|
* @param {boolean} [returnDefaultValue]
|
|
3405
|
+
* @param {string} [previewSecret]
|
|
3376
3406
|
* @param {*} [options] Override http request option.
|
|
3377
3407
|
* @throws {RequiredError}
|
|
3378
3408
|
*/
|
|
3379
|
-
apiV2HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
3380
|
-
return localVarFp.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
3409
|
+
apiV2HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<HospitalModel> {
|
|
3410
|
+
return localVarFp.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
3381
3411
|
},
|
|
3382
3412
|
};
|
|
3383
3413
|
};
|
|
@@ -4115,6 +4145,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdLandingsSlugGetRequest {
|
|
|
4115
4145
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdLandingsSlugGet
|
|
4116
4146
|
*/
|
|
4117
4147
|
readonly languageCode?: string
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
*
|
|
4151
|
+
* @type {string}
|
|
4152
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdLandingsSlugGet
|
|
4153
|
+
*/
|
|
4154
|
+
readonly previewSecret?: string
|
|
4118
4155
|
}
|
|
4119
4156
|
|
|
4120
4157
|
/**
|
|
@@ -4612,6 +4649,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSlugGetRequest {
|
|
|
4612
4649
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSlugGet
|
|
4613
4650
|
*/
|
|
4614
4651
|
readonly languageCode?: string
|
|
4652
|
+
|
|
4653
|
+
/**
|
|
4654
|
+
*
|
|
4655
|
+
* @type {string}
|
|
4656
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSlugGet
|
|
4657
|
+
*/
|
|
4658
|
+
readonly previewSecret?: string
|
|
4615
4659
|
}
|
|
4616
4660
|
|
|
4617
4661
|
/**
|
|
@@ -5200,6 +5244,13 @@ export interface HospitalsApiApiV2HospitalsSlugGetRequest {
|
|
|
5200
5244
|
* @memberof HospitalsApiApiV2HospitalsSlugGet
|
|
5201
5245
|
*/
|
|
5202
5246
|
readonly returnDefaultValue?: boolean
|
|
5247
|
+
|
|
5248
|
+
/**
|
|
5249
|
+
*
|
|
5250
|
+
* @type {string}
|
|
5251
|
+
* @memberof HospitalsApiApiV2HospitalsSlugGet
|
|
5252
|
+
*/
|
|
5253
|
+
readonly previewSecret?: string
|
|
5203
5254
|
}
|
|
5204
5255
|
|
|
5205
5256
|
/**
|
|
@@ -5331,7 +5382,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
5331
5382
|
|
|
5332
5383
|
/**
|
|
5333
5384
|
*
|
|
5334
|
-
* @summary
|
|
5385
|
+
* @summary Get hospital by id
|
|
5335
5386
|
* @param {HospitalsApiApiV2HospitalsHospitalIdGetRequest} requestParameters Request parameters.
|
|
5336
5387
|
* @param {*} [options] Override http request option.
|
|
5337
5388
|
* @throws {RequiredError}
|
|
@@ -5367,6 +5418,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
5367
5418
|
|
|
5368
5419
|
/**
|
|
5369
5420
|
*
|
|
5421
|
+
* @summary Get landings
|
|
5370
5422
|
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsGetRequest} requestParameters Request parameters.
|
|
5371
5423
|
* @param {*} [options] Override http request option.
|
|
5372
5424
|
* @throws {RequiredError}
|
|
@@ -5378,6 +5430,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
5378
5430
|
|
|
5379
5431
|
/**
|
|
5380
5432
|
*
|
|
5433
|
+
* @summary Get landing by id
|
|
5381
5434
|
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdGetRequest} requestParameters Request parameters.
|
|
5382
5435
|
* @param {*} [options] Override http request option.
|
|
5383
5436
|
* @throws {RequiredError}
|
|
@@ -5389,13 +5442,14 @@ export class HospitalsApi extends BaseAPI {
|
|
|
5389
5442
|
|
|
5390
5443
|
/**
|
|
5391
5444
|
*
|
|
5445
|
+
* @summary Get landing by slug
|
|
5392
5446
|
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsSlugGetRequest} requestParameters Request parameters.
|
|
5393
5447
|
* @param {*} [options] Override http request option.
|
|
5394
5448
|
* @throws {RequiredError}
|
|
5395
5449
|
* @memberof HospitalsApi
|
|
5396
5450
|
*/
|
|
5397
5451
|
public apiV2HospitalsHospitalIdLandingsSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdLandingsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
5398
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsSlugGet(requestParameters.slug, requestParameters.hospitalId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
5452
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsSlugGet(requestParameters.slug, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
5399
5453
|
}
|
|
5400
5454
|
|
|
5401
5455
|
/**
|
|
@@ -5503,7 +5557,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
5503
5557
|
* @memberof HospitalsApi
|
|
5504
5558
|
*/
|
|
5505
5559
|
public apiV2HospitalsHospitalIdSpecialtiesSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
5506
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
5560
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
5507
5561
|
}
|
|
5508
5562
|
|
|
5509
5563
|
/**
|
|
@@ -5616,13 +5670,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
5616
5670
|
|
|
5617
5671
|
/**
|
|
5618
5672
|
*
|
|
5619
|
-
* @summary
|
|
5673
|
+
* @summary Get hospital by slug
|
|
5620
5674
|
* @param {HospitalsApiApiV2HospitalsSlugGetRequest} requestParameters Request parameters.
|
|
5621
5675
|
* @param {*} [options] Override http request option.
|
|
5622
5676
|
* @throws {RequiredError}
|
|
5623
5677
|
* @memberof HospitalsApi
|
|
5624
5678
|
*/
|
|
5625
5679
|
public apiV2HospitalsSlugGet(requestParameters: HospitalsApiApiV2HospitalsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
5626
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
5680
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
5627
5681
|
}
|
|
5628
5682
|
}
|
package/src/api/services-api.ts
CHANGED
|
@@ -170,7 +170,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
170
170
|
},
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
|
-
* @summary
|
|
173
|
+
* @summary Get Hospital service by id
|
|
174
174
|
* @param {string} serviceId
|
|
175
175
|
* @param {string} [languageCode]
|
|
176
176
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -214,14 +214,15 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
214
214
|
},
|
|
215
215
|
/**
|
|
216
216
|
*
|
|
217
|
-
* @summary
|
|
217
|
+
* @summary Get Hospital service by slug
|
|
218
218
|
* @param {string} slug
|
|
219
219
|
* @param {string} [languageCode]
|
|
220
220
|
* @param {boolean} [returnDefaultValue]
|
|
221
|
+
* @param {string} [previewSecret]
|
|
221
222
|
* @param {*} [options] Override http request option.
|
|
222
223
|
* @throws {RequiredError}
|
|
223
224
|
*/
|
|
224
|
-
apiV2ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
225
|
+
apiV2ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
225
226
|
// verify required parameter 'slug' is not null or undefined
|
|
226
227
|
assertParamExists('apiV2ServicesSlugGet', 'slug', slug)
|
|
227
228
|
const localVarPath = `/api/v2/services/{slug}`
|
|
@@ -245,6 +246,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
245
246
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
246
247
|
}
|
|
247
248
|
|
|
249
|
+
if (previewSecret !== undefined) {
|
|
250
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
251
|
+
}
|
|
252
|
+
|
|
248
253
|
|
|
249
254
|
|
|
250
255
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -298,7 +303,7 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
298
303
|
},
|
|
299
304
|
/**
|
|
300
305
|
*
|
|
301
|
-
* @summary
|
|
306
|
+
* @summary Get Hospital service by id
|
|
302
307
|
* @param {string} serviceId
|
|
303
308
|
* @param {string} [languageCode]
|
|
304
309
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -311,15 +316,16 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
311
316
|
},
|
|
312
317
|
/**
|
|
313
318
|
*
|
|
314
|
-
* @summary
|
|
319
|
+
* @summary Get Hospital service by slug
|
|
315
320
|
* @param {string} slug
|
|
316
321
|
* @param {string} [languageCode]
|
|
317
322
|
* @param {boolean} [returnDefaultValue]
|
|
323
|
+
* @param {string} [previewSecret]
|
|
318
324
|
* @param {*} [options] Override http request option.
|
|
319
325
|
* @throws {RequiredError}
|
|
320
326
|
*/
|
|
321
|
-
async apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
322
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
327
|
+
async apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
323
329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
324
330
|
},
|
|
325
331
|
}
|
|
@@ -363,7 +369,7 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
363
369
|
},
|
|
364
370
|
/**
|
|
365
371
|
*
|
|
366
|
-
* @summary
|
|
372
|
+
* @summary Get Hospital service by id
|
|
367
373
|
* @param {string} serviceId
|
|
368
374
|
* @param {string} [languageCode]
|
|
369
375
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -375,15 +381,16 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
375
381
|
},
|
|
376
382
|
/**
|
|
377
383
|
*
|
|
378
|
-
* @summary
|
|
384
|
+
* @summary Get Hospital service by slug
|
|
379
385
|
* @param {string} slug
|
|
380
386
|
* @param {string} [languageCode]
|
|
381
387
|
* @param {boolean} [returnDefaultValue]
|
|
388
|
+
* @param {string} [previewSecret]
|
|
382
389
|
* @param {*} [options] Override http request option.
|
|
383
390
|
* @throws {RequiredError}
|
|
384
391
|
*/
|
|
385
|
-
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
386
|
-
return localVarFp.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
392
|
+
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
393
|
+
return localVarFp.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
387
394
|
},
|
|
388
395
|
};
|
|
389
396
|
};
|
|
@@ -589,6 +596,13 @@ export interface ServicesApiApiV2ServicesSlugGetRequest {
|
|
|
589
596
|
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
590
597
|
*/
|
|
591
598
|
readonly returnDefaultValue?: boolean
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
604
|
+
*/
|
|
605
|
+
readonly previewSecret?: string
|
|
592
606
|
}
|
|
593
607
|
|
|
594
608
|
/**
|
|
@@ -612,7 +626,7 @@ export class ServicesApi extends BaseAPI {
|
|
|
612
626
|
|
|
613
627
|
/**
|
|
614
628
|
*
|
|
615
|
-
* @summary
|
|
629
|
+
* @summary Get Hospital service by id
|
|
616
630
|
* @param {ServicesApiApiV2ServicesServiceIdGetRequest} requestParameters Request parameters.
|
|
617
631
|
* @param {*} [options] Override http request option.
|
|
618
632
|
* @throws {RequiredError}
|
|
@@ -624,13 +638,13 @@ export class ServicesApi extends BaseAPI {
|
|
|
624
638
|
|
|
625
639
|
/**
|
|
626
640
|
*
|
|
627
|
-
* @summary
|
|
641
|
+
* @summary Get Hospital service by slug
|
|
628
642
|
* @param {ServicesApiApiV2ServicesSlugGetRequest} requestParameters Request parameters.
|
|
629
643
|
* @param {*} [options] Override http request option.
|
|
630
644
|
* @throws {RequiredError}
|
|
631
645
|
* @memberof ServicesApi
|
|
632
646
|
*/
|
|
633
647
|
public apiV2ServicesSlugGet(requestParameters: ServicesApiApiV2ServicesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
634
|
-
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
648
|
+
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
635
649
|
}
|
|
636
650
|
}
|
|
@@ -240,14 +240,15 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
240
240
|
},
|
|
241
241
|
/**
|
|
242
242
|
*
|
|
243
|
-
* @summary
|
|
243
|
+
* @summary Get specialty by slug
|
|
244
244
|
* @param {string} slug
|
|
245
245
|
* @param {string} [languageCode]
|
|
246
246
|
* @param {boolean} [returnDefaultValue]
|
|
247
|
+
* @param {string} [previewSecret]
|
|
247
248
|
* @param {*} [options] Override http request option.
|
|
248
249
|
* @throws {RequiredError}
|
|
249
250
|
*/
|
|
250
|
-
apiV2SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
|
+
apiV2SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
252
|
// verify required parameter 'slug' is not null or undefined
|
|
252
253
|
assertParamExists('apiV2SpecialtiesSlugGet', 'slug', slug)
|
|
253
254
|
const localVarPath = `/api/v2/specialties/{slug}`
|
|
@@ -271,6 +272,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
271
272
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
272
273
|
}
|
|
273
274
|
|
|
275
|
+
if (previewSecret !== undefined) {
|
|
276
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
277
|
+
}
|
|
278
|
+
|
|
274
279
|
|
|
275
280
|
|
|
276
281
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -284,7 +289,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
284
289
|
},
|
|
285
290
|
/**
|
|
286
291
|
*
|
|
287
|
-
* @summary
|
|
292
|
+
* @summary Get specialty by id
|
|
288
293
|
* @param {string} specialtyId
|
|
289
294
|
* @param {string} [languageCode]
|
|
290
295
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -483,20 +488,21 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
483
488
|
},
|
|
484
489
|
/**
|
|
485
490
|
*
|
|
486
|
-
* @summary
|
|
491
|
+
* @summary Get specialty by slug
|
|
487
492
|
* @param {string} slug
|
|
488
493
|
* @param {string} [languageCode]
|
|
489
494
|
* @param {boolean} [returnDefaultValue]
|
|
495
|
+
* @param {string} [previewSecret]
|
|
490
496
|
* @param {*} [options] Override http request option.
|
|
491
497
|
* @throws {RequiredError}
|
|
492
498
|
*/
|
|
493
|
-
async apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
499
|
+
async apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
495
501
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
496
502
|
},
|
|
497
503
|
/**
|
|
498
504
|
*
|
|
499
|
-
* @summary
|
|
505
|
+
* @summary Get specialty by id
|
|
500
506
|
* @param {string} specialtyId
|
|
501
507
|
* @param {string} [languageCode]
|
|
502
508
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -591,19 +597,20 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
591
597
|
},
|
|
592
598
|
/**
|
|
593
599
|
*
|
|
594
|
-
* @summary
|
|
600
|
+
* @summary Get specialty by slug
|
|
595
601
|
* @param {string} slug
|
|
596
602
|
* @param {string} [languageCode]
|
|
597
603
|
* @param {boolean} [returnDefaultValue]
|
|
604
|
+
* @param {string} [previewSecret]
|
|
598
605
|
* @param {*} [options] Override http request option.
|
|
599
606
|
* @throws {RequiredError}
|
|
600
607
|
*/
|
|
601
|
-
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
602
|
-
return localVarFp.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
608
|
+
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<SpecialtyModel> {
|
|
609
|
+
return localVarFp.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
603
610
|
},
|
|
604
611
|
/**
|
|
605
612
|
*
|
|
606
|
-
* @summary
|
|
613
|
+
* @summary Get specialty by id
|
|
607
614
|
* @param {string} specialtyId
|
|
608
615
|
* @param {string} [languageCode]
|
|
609
616
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -864,6 +871,13 @@ export interface SpecialtiesApiApiV2SpecialtiesSlugGetRequest {
|
|
|
864
871
|
* @memberof SpecialtiesApiApiV2SpecialtiesSlugGet
|
|
865
872
|
*/
|
|
866
873
|
readonly returnDefaultValue?: boolean
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @type {string}
|
|
878
|
+
* @memberof SpecialtiesApiApiV2SpecialtiesSlugGet
|
|
879
|
+
*/
|
|
880
|
+
readonly previewSecret?: string
|
|
867
881
|
}
|
|
868
882
|
|
|
869
883
|
/**
|
|
@@ -997,19 +1011,19 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
997
1011
|
|
|
998
1012
|
/**
|
|
999
1013
|
*
|
|
1000
|
-
* @summary
|
|
1014
|
+
* @summary Get specialty by slug
|
|
1001
1015
|
* @param {SpecialtiesApiApiV2SpecialtiesSlugGetRequest} requestParameters Request parameters.
|
|
1002
1016
|
* @param {*} [options] Override http request option.
|
|
1003
1017
|
* @throws {RequiredError}
|
|
1004
1018
|
* @memberof SpecialtiesApi
|
|
1005
1019
|
*/
|
|
1006
1020
|
public apiV2SpecialtiesSlugGet(requestParameters: SpecialtiesApiApiV2SpecialtiesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1007
|
-
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1021
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
1008
1022
|
}
|
|
1009
1023
|
|
|
1010
1024
|
/**
|
|
1011
1025
|
*
|
|
1012
|
-
* @summary
|
|
1026
|
+
* @summary Get specialty by id
|
|
1013
1027
|
* @param {SpecialtiesApiApiV2SpecialtiesSpecialtyIdGetRequest} requestParameters Request parameters.
|
|
1014
1028
|
* @param {*} [options] Override http request option.
|
|
1015
1029
|
* @throws {RequiredError}
|