ch-api-client-typescript2 5.0.4 → 5.0.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/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/package.json +1 -1
- 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/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}
|
|
@@ -250,14 +250,15 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
252
|
*
|
|
253
|
-
* @summary
|
|
253
|
+
* @summary Get specialtyType by slug
|
|
254
254
|
* @param {string} slug
|
|
255
255
|
* @param {string} [languageCode]
|
|
256
256
|
* @param {boolean} [returnDefaultValue]
|
|
257
|
+
* @param {string} [previewSecret]
|
|
257
258
|
* @param {*} [options] Override http request option.
|
|
258
259
|
* @throws {RequiredError}
|
|
259
260
|
*/
|
|
260
|
-
apiV2SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
261
|
+
apiV2SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
261
262
|
// verify required parameter 'slug' is not null or undefined
|
|
262
263
|
assertParamExists('apiV2SpecialtytypesSlugGet', 'slug', slug)
|
|
263
264
|
const localVarPath = `/api/v2/specialtytypes/{slug}`
|
|
@@ -281,6 +282,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
281
282
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
282
283
|
}
|
|
283
284
|
|
|
285
|
+
if (previewSecret !== undefined) {
|
|
286
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
287
|
+
}
|
|
288
|
+
|
|
284
289
|
|
|
285
290
|
|
|
286
291
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -294,7 +299,7 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
294
299
|
},
|
|
295
300
|
/**
|
|
296
301
|
*
|
|
297
|
-
* @summary
|
|
302
|
+
* @summary Get specialtyType by id
|
|
298
303
|
* @param {string} specialtyTypeId
|
|
299
304
|
* @param {string} [languageCode]
|
|
300
305
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -495,20 +500,21 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
495
500
|
},
|
|
496
501
|
/**
|
|
497
502
|
*
|
|
498
|
-
* @summary
|
|
503
|
+
* @summary Get specialtyType by slug
|
|
499
504
|
* @param {string} slug
|
|
500
505
|
* @param {string} [languageCode]
|
|
501
506
|
* @param {boolean} [returnDefaultValue]
|
|
507
|
+
* @param {string} [previewSecret]
|
|
502
508
|
* @param {*} [options] Override http request option.
|
|
503
509
|
* @throws {RequiredError}
|
|
504
510
|
*/
|
|
505
|
-
async apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
511
|
+
async apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
507
513
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
514
|
},
|
|
509
515
|
/**
|
|
510
516
|
*
|
|
511
|
-
* @summary
|
|
517
|
+
* @summary Get specialtyType by id
|
|
512
518
|
* @param {string} specialtyTypeId
|
|
513
519
|
* @param {string} [languageCode]
|
|
514
520
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -605,19 +611,20 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
605
611
|
},
|
|
606
612
|
/**
|
|
607
613
|
*
|
|
608
|
-
* @summary
|
|
614
|
+
* @summary Get specialtyType by slug
|
|
609
615
|
* @param {string} slug
|
|
610
616
|
* @param {string} [languageCode]
|
|
611
617
|
* @param {boolean} [returnDefaultValue]
|
|
618
|
+
* @param {string} [previewSecret]
|
|
612
619
|
* @param {*} [options] Override http request option.
|
|
613
620
|
* @throws {RequiredError}
|
|
614
621
|
*/
|
|
615
|
-
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
616
|
-
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
622
|
+
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
623
|
+
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
617
624
|
},
|
|
618
625
|
/**
|
|
619
626
|
*
|
|
620
|
-
* @summary
|
|
627
|
+
* @summary Get specialtyType by id
|
|
621
628
|
* @param {string} specialtyTypeId
|
|
622
629
|
* @param {string} [languageCode]
|
|
623
630
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -892,6 +899,13 @@ export interface SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest {
|
|
|
892
899
|
* @memberof SpecialtyTypesApiApiV2SpecialtytypesSlugGet
|
|
893
900
|
*/
|
|
894
901
|
readonly returnDefaultValue?: boolean
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {string}
|
|
906
|
+
* @memberof SpecialtyTypesApiApiV2SpecialtytypesSlugGet
|
|
907
|
+
*/
|
|
908
|
+
readonly previewSecret?: string
|
|
895
909
|
}
|
|
896
910
|
|
|
897
911
|
/**
|
|
@@ -1025,19 +1039,19 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
1025
1039
|
|
|
1026
1040
|
/**
|
|
1027
1041
|
*
|
|
1028
|
-
* @summary
|
|
1042
|
+
* @summary Get specialtyType by slug
|
|
1029
1043
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest} requestParameters Request parameters.
|
|
1030
1044
|
* @param {*} [options] Override http request option.
|
|
1031
1045
|
* @throws {RequiredError}
|
|
1032
1046
|
* @memberof SpecialtyTypesApi
|
|
1033
1047
|
*/
|
|
1034
1048
|
public apiV2SpecialtytypesSlugGet(requestParameters: SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1035
|
-
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1049
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
1036
1050
|
}
|
|
1037
1051
|
|
|
1038
1052
|
/**
|
|
1039
1053
|
*
|
|
1040
|
-
* @summary
|
|
1054
|
+
* @summary Get specialtyType by id
|
|
1041
1055
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSpecialtyTypeIdGetRequest} requestParameters Request parameters.
|
|
1042
1056
|
* @param {*} [options] Override http request option.
|
|
1043
1057
|
* @throws {RequiredError}
|