ch-api-client-typescript2 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +126 -60
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +38 -42
- package/package.json +1 -1
- package/src/api.ts +143 -75
package/src/api.ts
CHANGED
|
@@ -784,18 +784,6 @@ export interface ArticleSourcesModel {
|
|
|
784
784
|
*/
|
|
785
785
|
'metaData'?: PagedListMetaData;
|
|
786
786
|
}
|
|
787
|
-
/**
|
|
788
|
-
*
|
|
789
|
-
* @export
|
|
790
|
-
* @enum {string}
|
|
791
|
-
*/
|
|
792
|
-
|
|
793
|
-
export enum ArticleStatus {
|
|
794
|
-
Draft = 'Draft',
|
|
795
|
-
Active = 'Active',
|
|
796
|
-
Archived = 'Archived'
|
|
797
|
-
}
|
|
798
|
-
|
|
799
787
|
/**
|
|
800
788
|
*
|
|
801
789
|
* @export
|
|
@@ -5910,6 +5898,36 @@ export interface HospitalServiceItemModel {
|
|
|
5910
5898
|
* @memberof HospitalServiceItemModel
|
|
5911
5899
|
*/
|
|
5912
5900
|
'hospitalSpecialtySlug'?: string | null;
|
|
5901
|
+
/**
|
|
5902
|
+
*
|
|
5903
|
+
* @type {string}
|
|
5904
|
+
* @memberof HospitalServiceItemModel
|
|
5905
|
+
*/
|
|
5906
|
+
'hospitalSpecialtyId'?: string;
|
|
5907
|
+
/**
|
|
5908
|
+
*
|
|
5909
|
+
* @type {Procedure}
|
|
5910
|
+
* @memberof HospitalServiceItemModel
|
|
5911
|
+
*/
|
|
5912
|
+
'procedure'?: Procedure;
|
|
5913
|
+
/**
|
|
5914
|
+
*
|
|
5915
|
+
* @type {number}
|
|
5916
|
+
* @memberof HospitalServiceItemModel
|
|
5917
|
+
*/
|
|
5918
|
+
'minPrice'?: number | null;
|
|
5919
|
+
/**
|
|
5920
|
+
*
|
|
5921
|
+
* @type {number}
|
|
5922
|
+
* @memberof HospitalServiceItemModel
|
|
5923
|
+
*/
|
|
5924
|
+
'maxPrice'?: number | null;
|
|
5925
|
+
/**
|
|
5926
|
+
*
|
|
5927
|
+
* @type {boolean}
|
|
5928
|
+
* @memberof HospitalServiceItemModel
|
|
5929
|
+
*/
|
|
5930
|
+
'priceReuqest'?: boolean;
|
|
5913
5931
|
/**
|
|
5914
5932
|
*
|
|
5915
5933
|
* @type {number}
|
|
@@ -5983,6 +6001,36 @@ export interface HospitalServiceModel {
|
|
|
5983
6001
|
* @memberof HospitalServiceModel
|
|
5984
6002
|
*/
|
|
5985
6003
|
'hospitalSpecialtySlug'?: string | null;
|
|
6004
|
+
/**
|
|
6005
|
+
*
|
|
6006
|
+
* @type {string}
|
|
6007
|
+
* @memberof HospitalServiceModel
|
|
6008
|
+
*/
|
|
6009
|
+
'hospitalSpecialtyId'?: string;
|
|
6010
|
+
/**
|
|
6011
|
+
*
|
|
6012
|
+
* @type {Procedure}
|
|
6013
|
+
* @memberof HospitalServiceModel
|
|
6014
|
+
*/
|
|
6015
|
+
'procedure'?: Procedure;
|
|
6016
|
+
/**
|
|
6017
|
+
*
|
|
6018
|
+
* @type {number}
|
|
6019
|
+
* @memberof HospitalServiceModel
|
|
6020
|
+
*/
|
|
6021
|
+
'minPrice'?: number | null;
|
|
6022
|
+
/**
|
|
6023
|
+
*
|
|
6024
|
+
* @type {number}
|
|
6025
|
+
* @memberof HospitalServiceModel
|
|
6026
|
+
*/
|
|
6027
|
+
'maxPrice'?: number | null;
|
|
6028
|
+
/**
|
|
6029
|
+
*
|
|
6030
|
+
* @type {boolean}
|
|
6031
|
+
* @memberof HospitalServiceModel
|
|
6032
|
+
*/
|
|
6033
|
+
'priceReuqest'?: boolean;
|
|
5986
6034
|
/**
|
|
5987
6035
|
*
|
|
5988
6036
|
* @type {number}
|
|
@@ -6061,30 +6109,6 @@ export interface HospitalServiceModel {
|
|
|
6061
6109
|
* @memberof HospitalServiceModel
|
|
6062
6110
|
*/
|
|
6063
6111
|
'serviceCategoryName'?: string | null;
|
|
6064
|
-
/**
|
|
6065
|
-
*
|
|
6066
|
-
* @type {Procedure}
|
|
6067
|
-
* @memberof HospitalServiceModel
|
|
6068
|
-
*/
|
|
6069
|
-
'procedure'?: Procedure;
|
|
6070
|
-
/**
|
|
6071
|
-
*
|
|
6072
|
-
* @type {number}
|
|
6073
|
-
* @memberof HospitalServiceModel
|
|
6074
|
-
*/
|
|
6075
|
-
'minPrice'?: number | null;
|
|
6076
|
-
/**
|
|
6077
|
-
*
|
|
6078
|
-
* @type {number}
|
|
6079
|
-
* @memberof HospitalServiceModel
|
|
6080
|
-
*/
|
|
6081
|
-
'maxPrice'?: number | null;
|
|
6082
|
-
/**
|
|
6083
|
-
*
|
|
6084
|
-
* @type {boolean}
|
|
6085
|
-
* @memberof HospitalServiceModel
|
|
6086
|
-
*/
|
|
6087
|
-
'priceReuqest'?: boolean;
|
|
6088
6112
|
/**
|
|
6089
6113
|
*
|
|
6090
6114
|
* @type {string}
|
|
@@ -6295,6 +6319,30 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6295
6319
|
* @memberof HospitalSpecialtyItemModel
|
|
6296
6320
|
*/
|
|
6297
6321
|
'specialtyId'?: string;
|
|
6322
|
+
/**
|
|
6323
|
+
*
|
|
6324
|
+
* @type {string}
|
|
6325
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6326
|
+
*/
|
|
6327
|
+
'specialtyName'?: string | null;
|
|
6328
|
+
/**
|
|
6329
|
+
*
|
|
6330
|
+
* @type {string}
|
|
6331
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6332
|
+
*/
|
|
6333
|
+
'specialtyTypeId'?: string;
|
|
6334
|
+
/**
|
|
6335
|
+
*
|
|
6336
|
+
* @type {string}
|
|
6337
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6338
|
+
*/
|
|
6339
|
+
'specialtyTypeName'?: string | null;
|
|
6340
|
+
/**
|
|
6341
|
+
*
|
|
6342
|
+
* @type {MarketingType}
|
|
6343
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6344
|
+
*/
|
|
6345
|
+
'marketingType'?: MarketingType;
|
|
6298
6346
|
/**
|
|
6299
6347
|
*
|
|
6300
6348
|
* @type {AuditableEntity}
|
|
@@ -6382,58 +6430,70 @@ export interface HospitalSpecialtyModel {
|
|
|
6382
6430
|
'specialtyId'?: string;
|
|
6383
6431
|
/**
|
|
6384
6432
|
*
|
|
6385
|
-
* @type {
|
|
6433
|
+
* @type {string}
|
|
6386
6434
|
* @memberof HospitalSpecialtyModel
|
|
6387
6435
|
*/
|
|
6388
|
-
'
|
|
6436
|
+
'specialtyName'?: string | null;
|
|
6389
6437
|
/**
|
|
6390
6438
|
*
|
|
6391
6439
|
* @type {string}
|
|
6392
6440
|
* @memberof HospitalSpecialtyModel
|
|
6393
6441
|
*/
|
|
6394
|
-
'
|
|
6442
|
+
'specialtyTypeId'?: string;
|
|
6395
6443
|
/**
|
|
6396
6444
|
*
|
|
6397
6445
|
* @type {string}
|
|
6398
6446
|
* @memberof HospitalSpecialtyModel
|
|
6399
6447
|
*/
|
|
6400
|
-
'
|
|
6448
|
+
'specialtyTypeName'?: string | null;
|
|
6449
|
+
/**
|
|
6450
|
+
*
|
|
6451
|
+
* @type {MarketingType}
|
|
6452
|
+
* @memberof HospitalSpecialtyModel
|
|
6453
|
+
*/
|
|
6454
|
+
'marketingType'?: MarketingType;
|
|
6455
|
+
/**
|
|
6456
|
+
*
|
|
6457
|
+
* @type {AuditableEntity}
|
|
6458
|
+
* @memberof HospitalSpecialtyModel
|
|
6459
|
+
*/
|
|
6460
|
+
'auditableEntity'?: AuditableEntity;
|
|
6401
6461
|
/**
|
|
6402
6462
|
*
|
|
6403
6463
|
* @type {string}
|
|
6404
6464
|
* @memberof HospitalSpecialtyModel
|
|
6405
6465
|
*/
|
|
6406
|
-
'
|
|
6466
|
+
'description'?: string | null;
|
|
6407
6467
|
/**
|
|
6408
6468
|
*
|
|
6409
6469
|
* @type {string}
|
|
6410
6470
|
* @memberof HospitalSpecialtyModel
|
|
6411
6471
|
*/
|
|
6412
|
-
'
|
|
6472
|
+
'overview'?: string | null;
|
|
6413
6473
|
/**
|
|
6414
6474
|
*
|
|
6415
6475
|
* @type {string}
|
|
6416
6476
|
* @memberof HospitalSpecialtyModel
|
|
6417
6477
|
*/
|
|
6418
|
-
'
|
|
6478
|
+
'content'?: string | null;
|
|
6419
6479
|
/**
|
|
6420
6480
|
*
|
|
6421
6481
|
* @type {string}
|
|
6422
6482
|
* @memberof HospitalSpecialtyModel
|
|
6423
6483
|
*/
|
|
6424
|
-
'
|
|
6484
|
+
'hospitalId'?: string;
|
|
6425
6485
|
/**
|
|
6426
6486
|
*
|
|
6427
6487
|
* @type {string}
|
|
6428
6488
|
* @memberof HospitalSpecialtyModel
|
|
6429
6489
|
*/
|
|
6430
|
-
'
|
|
6490
|
+
'hospitalName'?: string | null;
|
|
6431
6491
|
/**
|
|
6432
6492
|
*
|
|
6433
6493
|
* @type {string}
|
|
6434
6494
|
* @memberof HospitalSpecialtyModel
|
|
6435
6495
|
*/
|
|
6436
|
-
'
|
|
6496
|
+
'hospitalSlug'?: string | null;
|
|
6437
6497
|
/**
|
|
6438
6498
|
*
|
|
6439
6499
|
* @type {string}
|
|
@@ -10697,7 +10757,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10697
10757
|
* @param {string} [id]
|
|
10698
10758
|
* @param {string} [name]
|
|
10699
10759
|
* @param {string} [description]
|
|
10700
|
-
* @param {ArticleStatus} [status]
|
|
10701
10760
|
* @param {MarketingType} [marketingType]
|
|
10702
10761
|
* @param {string} [userId]
|
|
10703
10762
|
* @param {string} [userName]
|
|
@@ -10717,7 +10776,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10717
10776
|
* @param {*} [options] Override http request option.
|
|
10718
10777
|
* @throws {RequiredError}
|
|
10719
10778
|
*/
|
|
10720
|
-
apiV2ArticlesGet: async (id?: string, name?: string, description?: string,
|
|
10779
|
+
apiV2ArticlesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10721
10780
|
const localVarPath = `/api/v2/articles`;
|
|
10722
10781
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10723
10782
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10742,10 +10801,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10742
10801
|
localVarQueryParameter['Description'] = description;
|
|
10743
10802
|
}
|
|
10744
10803
|
|
|
10745
|
-
if (status !== undefined) {
|
|
10746
|
-
localVarQueryParameter['Status'] = status;
|
|
10747
|
-
}
|
|
10748
|
-
|
|
10749
10804
|
if (marketingType !== undefined) {
|
|
10750
10805
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10751
10806
|
}
|
|
@@ -11009,7 +11064,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
11009
11064
|
* @param {string} [id]
|
|
11010
11065
|
* @param {string} [name]
|
|
11011
11066
|
* @param {string} [description]
|
|
11012
|
-
* @param {ArticleStatus} [status]
|
|
11013
11067
|
* @param {MarketingType} [marketingType]
|
|
11014
11068
|
* @param {string} [userId]
|
|
11015
11069
|
* @param {string} [userName]
|
|
@@ -11029,8 +11083,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
11029
11083
|
* @param {*} [options] Override http request option.
|
|
11030
11084
|
* @throws {RequiredError}
|
|
11031
11085
|
*/
|
|
11032
|
-
async apiV2ArticlesGet(id?: string, name?: string, description?: string,
|
|
11033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description,
|
|
11086
|
+
async apiV2ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
11087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
11034
11088
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11035
11089
|
},
|
|
11036
11090
|
/**
|
|
@@ -11179,7 +11233,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
11179
11233
|
* @param {string} [id]
|
|
11180
11234
|
* @param {string} [name]
|
|
11181
11235
|
* @param {string} [description]
|
|
11182
|
-
* @param {ArticleStatus} [status]
|
|
11183
11236
|
* @param {MarketingType} [marketingType]
|
|
11184
11237
|
* @param {string} [userId]
|
|
11185
11238
|
* @param {string} [userName]
|
|
@@ -11199,8 +11252,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
11199
11252
|
* @param {*} [options] Override http request option.
|
|
11200
11253
|
* @throws {RequiredError}
|
|
11201
11254
|
*/
|
|
11202
|
-
apiV2ArticlesGet(id?: string, name?: string, description?: string,
|
|
11203
|
-
return localVarFp.apiV2ArticlesGet(id, name, description,
|
|
11255
|
+
apiV2ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
11256
|
+
return localVarFp.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
11204
11257
|
},
|
|
11205
11258
|
/**
|
|
11206
11259
|
*
|
|
@@ -11365,7 +11418,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11365
11418
|
* @param {string} [id]
|
|
11366
11419
|
* @param {string} [name]
|
|
11367
11420
|
* @param {string} [description]
|
|
11368
|
-
* @param {ArticleStatus} [status]
|
|
11369
11421
|
* @param {MarketingType} [marketingType]
|
|
11370
11422
|
* @param {string} [userId]
|
|
11371
11423
|
* @param {string} [userName]
|
|
@@ -11386,8 +11438,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11386
11438
|
* @throws {RequiredError}
|
|
11387
11439
|
* @memberof ArticlesApi
|
|
11388
11440
|
*/
|
|
11389
|
-
public apiV2ArticlesGet(id?: string, name?: string, description?: string,
|
|
11390
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, name, description,
|
|
11441
|
+
public apiV2ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
11442
|
+
return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11391
11443
|
}
|
|
11392
11444
|
|
|
11393
11445
|
/**
|
|
@@ -19736,13 +19788,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19736
19788
|
* @param {string} [slug]
|
|
19737
19789
|
* @param {MarketingType} [marketingType]
|
|
19738
19790
|
* @param {string} [languageCode]
|
|
19791
|
+
* @param {boolean} [showHidden]
|
|
19739
19792
|
* @param {number} [page]
|
|
19740
19793
|
* @param {number} [limit]
|
|
19741
19794
|
* @param {Date} [lastRetrieved]
|
|
19742
19795
|
* @param {*} [options] Override http request option.
|
|
19743
19796
|
* @throws {RequiredError}
|
|
19744
19797
|
*/
|
|
19745
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19798
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19746
19799
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19747
19800
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
19748
19801
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
|
|
@@ -19794,6 +19847,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19794
19847
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19795
19848
|
}
|
|
19796
19849
|
|
|
19850
|
+
if (showHidden !== undefined) {
|
|
19851
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
19852
|
+
}
|
|
19853
|
+
|
|
19797
19854
|
if (page !== undefined) {
|
|
19798
19855
|
localVarQueryParameter['page'] = page;
|
|
19799
19856
|
}
|
|
@@ -19939,13 +19996,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19939
19996
|
* @param {string} [slug]
|
|
19940
19997
|
* @param {MarketingType} [marketingType]
|
|
19941
19998
|
* @param {string} [languageCode]
|
|
19999
|
+
* @param {boolean} [showHidden]
|
|
19942
20000
|
* @param {number} [page]
|
|
19943
20001
|
* @param {number} [limit]
|
|
19944
20002
|
* @param {Date} [lastRetrieved]
|
|
19945
20003
|
* @param {*} [options] Override http request option.
|
|
19946
20004
|
* @throws {RequiredError}
|
|
19947
20005
|
*/
|
|
19948
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20006
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19949
20007
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19950
20008
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
19951
20009
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
|
|
@@ -19997,6 +20055,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19997
20055
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19998
20056
|
}
|
|
19999
20057
|
|
|
20058
|
+
if (showHidden !== undefined) {
|
|
20059
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
20060
|
+
}
|
|
20061
|
+
|
|
20000
20062
|
if (page !== undefined) {
|
|
20001
20063
|
localVarQueryParameter['page'] = page;
|
|
20002
20064
|
}
|
|
@@ -20890,14 +20952,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20890
20952
|
* @param {string} [slug]
|
|
20891
20953
|
* @param {MarketingType} [marketingType]
|
|
20892
20954
|
* @param {string} [languageCode]
|
|
20955
|
+
* @param {boolean} [showHidden]
|
|
20893
20956
|
* @param {number} [page]
|
|
20894
20957
|
* @param {number} [limit]
|
|
20895
20958
|
* @param {Date} [lastRetrieved]
|
|
20896
20959
|
* @param {*} [options] Override http request option.
|
|
20897
20960
|
* @throws {RequiredError}
|
|
20898
20961
|
*/
|
|
20899
|
-
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
20900
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
20962
|
+
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
20963
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
20901
20964
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20902
20965
|
},
|
|
20903
20966
|
/**
|
|
@@ -20943,14 +21006,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20943
21006
|
* @param {string} [slug]
|
|
20944
21007
|
* @param {MarketingType} [marketingType]
|
|
20945
21008
|
* @param {string} [languageCode]
|
|
21009
|
+
* @param {boolean} [showHidden]
|
|
20946
21010
|
* @param {number} [page]
|
|
20947
21011
|
* @param {number} [limit]
|
|
20948
21012
|
* @param {Date} [lastRetrieved]
|
|
20949
21013
|
* @param {*} [options] Override http request option.
|
|
20950
21014
|
* @throws {RequiredError}
|
|
20951
21015
|
*/
|
|
20952
|
-
async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
20953
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21016
|
+
async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
21017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
20954
21018
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20955
21019
|
},
|
|
20956
21020
|
/**
|
|
@@ -21343,14 +21407,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21343
21407
|
* @param {string} [slug]
|
|
21344
21408
|
* @param {MarketingType} [marketingType]
|
|
21345
21409
|
* @param {string} [languageCode]
|
|
21410
|
+
* @param {boolean} [showHidden]
|
|
21346
21411
|
* @param {number} [page]
|
|
21347
21412
|
* @param {number} [limit]
|
|
21348
21413
|
* @param {Date} [lastRetrieved]
|
|
21349
21414
|
* @param {*} [options] Override http request option.
|
|
21350
21415
|
* @throws {RequiredError}
|
|
21351
21416
|
*/
|
|
21352
|
-
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
21353
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21417
|
+
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
21418
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21354
21419
|
},
|
|
21355
21420
|
/**
|
|
21356
21421
|
*
|
|
@@ -21393,14 +21458,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21393
21458
|
* @param {string} [slug]
|
|
21394
21459
|
* @param {MarketingType} [marketingType]
|
|
21395
21460
|
* @param {string} [languageCode]
|
|
21461
|
+
* @param {boolean} [showHidden]
|
|
21396
21462
|
* @param {number} [page]
|
|
21397
21463
|
* @param {number} [limit]
|
|
21398
21464
|
* @param {Date} [lastRetrieved]
|
|
21399
21465
|
* @param {*} [options] Override http request option.
|
|
21400
21466
|
* @throws {RequiredError}
|
|
21401
21467
|
*/
|
|
21402
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
21403
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21468
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
21469
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21404
21470
|
},
|
|
21405
21471
|
/**
|
|
21406
21472
|
*
|
|
@@ -21810,6 +21876,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21810
21876
|
* @param {string} [slug]
|
|
21811
21877
|
* @param {MarketingType} [marketingType]
|
|
21812
21878
|
* @param {string} [languageCode]
|
|
21879
|
+
* @param {boolean} [showHidden]
|
|
21813
21880
|
* @param {number} [page]
|
|
21814
21881
|
* @param {number} [limit]
|
|
21815
21882
|
* @param {Date} [lastRetrieved]
|
|
@@ -21817,8 +21884,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21817
21884
|
* @throws {RequiredError}
|
|
21818
21885
|
* @memberof HospitalsApi
|
|
21819
21886
|
*/
|
|
21820
|
-
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21821
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21887
|
+
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21888
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21822
21889
|
}
|
|
21823
21890
|
|
|
21824
21891
|
/**
|
|
@@ -21866,6 +21933,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21866
21933
|
* @param {string} [slug]
|
|
21867
21934
|
* @param {MarketingType} [marketingType]
|
|
21868
21935
|
* @param {string} [languageCode]
|
|
21936
|
+
* @param {boolean} [showHidden]
|
|
21869
21937
|
* @param {number} [page]
|
|
21870
21938
|
* @param {number} [limit]
|
|
21871
21939
|
* @param {Date} [lastRetrieved]
|
|
@@ -21873,8 +21941,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21873
21941
|
* @throws {RequiredError}
|
|
21874
21942
|
* @memberof HospitalsApi
|
|
21875
21943
|
*/
|
|
21876
|
-
public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21877
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21944
|
+
public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21945
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21878
21946
|
}
|
|
21879
21947
|
|
|
21880
21948
|
/**
|