ch-api-client-typescript2 4.1.0 → 4.1.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.d.ts +258 -72
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +206 -63
- package/package.json +1 -1
- package/src/api.ts +344 -96
package/src/api.ts
CHANGED
|
@@ -322,6 +322,37 @@ export interface AdminMessageModel {
|
|
|
322
322
|
*/
|
|
323
323
|
'updated_at'?: number;
|
|
324
324
|
}
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @export
|
|
328
|
+
* @interface AppVersionModel
|
|
329
|
+
*/
|
|
330
|
+
export interface AppVersionModel {
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {Platform}
|
|
334
|
+
* @memberof AppVersionModel
|
|
335
|
+
*/
|
|
336
|
+
'platform'?: Platform;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof AppVersionModel
|
|
341
|
+
*/
|
|
342
|
+
'latestVersion'?: string | null;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof AppVersionModel
|
|
347
|
+
*/
|
|
348
|
+
'minimumVersion'?: string | null;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {Date}
|
|
352
|
+
* @memberof AppVersionModel
|
|
353
|
+
*/
|
|
354
|
+
'committedDate'?: Date;
|
|
355
|
+
}
|
|
325
356
|
/**
|
|
326
357
|
*
|
|
327
358
|
* @export
|
|
@@ -784,18 +815,6 @@ export interface ArticleSourcesModel {
|
|
|
784
815
|
*/
|
|
785
816
|
'metaData'?: PagedListMetaData;
|
|
786
817
|
}
|
|
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
818
|
/**
|
|
800
819
|
*
|
|
801
820
|
* @export
|
|
@@ -5910,6 +5929,36 @@ export interface HospitalServiceItemModel {
|
|
|
5910
5929
|
* @memberof HospitalServiceItemModel
|
|
5911
5930
|
*/
|
|
5912
5931
|
'hospitalSpecialtySlug'?: string | null;
|
|
5932
|
+
/**
|
|
5933
|
+
*
|
|
5934
|
+
* @type {string}
|
|
5935
|
+
* @memberof HospitalServiceItemModel
|
|
5936
|
+
*/
|
|
5937
|
+
'hospitalSpecialtyId'?: string;
|
|
5938
|
+
/**
|
|
5939
|
+
*
|
|
5940
|
+
* @type {Procedure}
|
|
5941
|
+
* @memberof HospitalServiceItemModel
|
|
5942
|
+
*/
|
|
5943
|
+
'procedure'?: Procedure;
|
|
5944
|
+
/**
|
|
5945
|
+
*
|
|
5946
|
+
* @type {number}
|
|
5947
|
+
* @memberof HospitalServiceItemModel
|
|
5948
|
+
*/
|
|
5949
|
+
'minPrice'?: number | null;
|
|
5950
|
+
/**
|
|
5951
|
+
*
|
|
5952
|
+
* @type {number}
|
|
5953
|
+
* @memberof HospitalServiceItemModel
|
|
5954
|
+
*/
|
|
5955
|
+
'maxPrice'?: number | null;
|
|
5956
|
+
/**
|
|
5957
|
+
*
|
|
5958
|
+
* @type {boolean}
|
|
5959
|
+
* @memberof HospitalServiceItemModel
|
|
5960
|
+
*/
|
|
5961
|
+
'priceReuqest'?: boolean;
|
|
5913
5962
|
/**
|
|
5914
5963
|
*
|
|
5915
5964
|
* @type {number}
|
|
@@ -5983,6 +6032,36 @@ export interface HospitalServiceModel {
|
|
|
5983
6032
|
* @memberof HospitalServiceModel
|
|
5984
6033
|
*/
|
|
5985
6034
|
'hospitalSpecialtySlug'?: string | null;
|
|
6035
|
+
/**
|
|
6036
|
+
*
|
|
6037
|
+
* @type {string}
|
|
6038
|
+
* @memberof HospitalServiceModel
|
|
6039
|
+
*/
|
|
6040
|
+
'hospitalSpecialtyId'?: string;
|
|
6041
|
+
/**
|
|
6042
|
+
*
|
|
6043
|
+
* @type {Procedure}
|
|
6044
|
+
* @memberof HospitalServiceModel
|
|
6045
|
+
*/
|
|
6046
|
+
'procedure'?: Procedure;
|
|
6047
|
+
/**
|
|
6048
|
+
*
|
|
6049
|
+
* @type {number}
|
|
6050
|
+
* @memberof HospitalServiceModel
|
|
6051
|
+
*/
|
|
6052
|
+
'minPrice'?: number | null;
|
|
6053
|
+
/**
|
|
6054
|
+
*
|
|
6055
|
+
* @type {number}
|
|
6056
|
+
* @memberof HospitalServiceModel
|
|
6057
|
+
*/
|
|
6058
|
+
'maxPrice'?: number | null;
|
|
6059
|
+
/**
|
|
6060
|
+
*
|
|
6061
|
+
* @type {boolean}
|
|
6062
|
+
* @memberof HospitalServiceModel
|
|
6063
|
+
*/
|
|
6064
|
+
'priceReuqest'?: boolean;
|
|
5986
6065
|
/**
|
|
5987
6066
|
*
|
|
5988
6067
|
* @type {number}
|
|
@@ -6061,30 +6140,6 @@ export interface HospitalServiceModel {
|
|
|
6061
6140
|
* @memberof HospitalServiceModel
|
|
6062
6141
|
*/
|
|
6063
6142
|
'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
6143
|
/**
|
|
6089
6144
|
*
|
|
6090
6145
|
* @type {string}
|
|
@@ -6295,6 +6350,30 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6295
6350
|
* @memberof HospitalSpecialtyItemModel
|
|
6296
6351
|
*/
|
|
6297
6352
|
'specialtyId'?: string;
|
|
6353
|
+
/**
|
|
6354
|
+
*
|
|
6355
|
+
* @type {string}
|
|
6356
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6357
|
+
*/
|
|
6358
|
+
'specialtyName'?: string | null;
|
|
6359
|
+
/**
|
|
6360
|
+
*
|
|
6361
|
+
* @type {string}
|
|
6362
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6363
|
+
*/
|
|
6364
|
+
'specialtyTypeId'?: string;
|
|
6365
|
+
/**
|
|
6366
|
+
*
|
|
6367
|
+
* @type {string}
|
|
6368
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6369
|
+
*/
|
|
6370
|
+
'specialtyTypeName'?: string | null;
|
|
6371
|
+
/**
|
|
6372
|
+
*
|
|
6373
|
+
* @type {MarketingType}
|
|
6374
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6375
|
+
*/
|
|
6376
|
+
'marketingType'?: MarketingType;
|
|
6298
6377
|
/**
|
|
6299
6378
|
*
|
|
6300
6379
|
* @type {AuditableEntity}
|
|
@@ -6382,58 +6461,70 @@ export interface HospitalSpecialtyModel {
|
|
|
6382
6461
|
'specialtyId'?: string;
|
|
6383
6462
|
/**
|
|
6384
6463
|
*
|
|
6385
|
-
* @type {
|
|
6464
|
+
* @type {string}
|
|
6386
6465
|
* @memberof HospitalSpecialtyModel
|
|
6387
6466
|
*/
|
|
6388
|
-
'
|
|
6467
|
+
'specialtyName'?: string | null;
|
|
6389
6468
|
/**
|
|
6390
6469
|
*
|
|
6391
6470
|
* @type {string}
|
|
6392
6471
|
* @memberof HospitalSpecialtyModel
|
|
6393
6472
|
*/
|
|
6394
|
-
'
|
|
6473
|
+
'specialtyTypeId'?: string;
|
|
6395
6474
|
/**
|
|
6396
6475
|
*
|
|
6397
6476
|
* @type {string}
|
|
6398
6477
|
* @memberof HospitalSpecialtyModel
|
|
6399
6478
|
*/
|
|
6400
|
-
'
|
|
6479
|
+
'specialtyTypeName'?: string | null;
|
|
6480
|
+
/**
|
|
6481
|
+
*
|
|
6482
|
+
* @type {MarketingType}
|
|
6483
|
+
* @memberof HospitalSpecialtyModel
|
|
6484
|
+
*/
|
|
6485
|
+
'marketingType'?: MarketingType;
|
|
6486
|
+
/**
|
|
6487
|
+
*
|
|
6488
|
+
* @type {AuditableEntity}
|
|
6489
|
+
* @memberof HospitalSpecialtyModel
|
|
6490
|
+
*/
|
|
6491
|
+
'auditableEntity'?: AuditableEntity;
|
|
6401
6492
|
/**
|
|
6402
6493
|
*
|
|
6403
6494
|
* @type {string}
|
|
6404
6495
|
* @memberof HospitalSpecialtyModel
|
|
6405
6496
|
*/
|
|
6406
|
-
'
|
|
6497
|
+
'description'?: string | null;
|
|
6407
6498
|
/**
|
|
6408
6499
|
*
|
|
6409
6500
|
* @type {string}
|
|
6410
6501
|
* @memberof HospitalSpecialtyModel
|
|
6411
6502
|
*/
|
|
6412
|
-
'
|
|
6503
|
+
'overview'?: string | null;
|
|
6413
6504
|
/**
|
|
6414
6505
|
*
|
|
6415
6506
|
* @type {string}
|
|
6416
6507
|
* @memberof HospitalSpecialtyModel
|
|
6417
6508
|
*/
|
|
6418
|
-
'
|
|
6509
|
+
'content'?: string | null;
|
|
6419
6510
|
/**
|
|
6420
6511
|
*
|
|
6421
6512
|
* @type {string}
|
|
6422
6513
|
* @memberof HospitalSpecialtyModel
|
|
6423
6514
|
*/
|
|
6424
|
-
'
|
|
6515
|
+
'hospitalId'?: string;
|
|
6425
6516
|
/**
|
|
6426
6517
|
*
|
|
6427
6518
|
* @type {string}
|
|
6428
6519
|
* @memberof HospitalSpecialtyModel
|
|
6429
6520
|
*/
|
|
6430
|
-
'
|
|
6521
|
+
'hospitalName'?: string | null;
|
|
6431
6522
|
/**
|
|
6432
6523
|
*
|
|
6433
6524
|
* @type {string}
|
|
6434
6525
|
* @memberof HospitalSpecialtyModel
|
|
6435
6526
|
*/
|
|
6436
|
-
'
|
|
6527
|
+
'hospitalSlug'?: string | null;
|
|
6437
6528
|
/**
|
|
6438
6529
|
*
|
|
6439
6530
|
* @type {string}
|
|
@@ -7568,6 +7659,18 @@ export interface PlansModel {
|
|
|
7568
7659
|
*/
|
|
7569
7660
|
'metaData'?: PagedListMetaData;
|
|
7570
7661
|
}
|
|
7662
|
+
/**
|
|
7663
|
+
*
|
|
7664
|
+
* @export
|
|
7665
|
+
* @enum {string}
|
|
7666
|
+
*/
|
|
7667
|
+
|
|
7668
|
+
export enum Platform {
|
|
7669
|
+
Web = 'Web',
|
|
7670
|
+
IOs = 'iOS',
|
|
7671
|
+
Android = 'Android'
|
|
7672
|
+
}
|
|
7673
|
+
|
|
7571
7674
|
/**
|
|
7572
7675
|
*
|
|
7573
7676
|
* @export
|
|
@@ -8064,6 +8167,12 @@ export interface ServiceReviewItemModel {
|
|
|
8064
8167
|
* @memberof ServiceReviewItemModel
|
|
8065
8168
|
*/
|
|
8066
8169
|
'serviceSlug'?: string | null;
|
|
8170
|
+
/**
|
|
8171
|
+
*
|
|
8172
|
+
* @type {string}
|
|
8173
|
+
* @memberof ServiceReviewItemModel
|
|
8174
|
+
*/
|
|
8175
|
+
'hospitalId'?: string;
|
|
8067
8176
|
/**
|
|
8068
8177
|
*
|
|
8069
8178
|
* @type {string}
|
|
@@ -8191,6 +8300,12 @@ export interface ServiceReviewModel {
|
|
|
8191
8300
|
* @memberof ServiceReviewModel
|
|
8192
8301
|
*/
|
|
8193
8302
|
'serviceSlug'?: string | null;
|
|
8303
|
+
/**
|
|
8304
|
+
*
|
|
8305
|
+
* @type {string}
|
|
8306
|
+
* @memberof ServiceReviewModel
|
|
8307
|
+
*/
|
|
8308
|
+
'hospitalId'?: string;
|
|
8194
8309
|
/**
|
|
8195
8310
|
*
|
|
8196
8311
|
* @type {string}
|
|
@@ -10235,6 +10350,107 @@ export class AccreditationsApi extends BaseAPI {
|
|
|
10235
10350
|
}
|
|
10236
10351
|
|
|
10237
10352
|
|
|
10353
|
+
/**
|
|
10354
|
+
* AppVersionApi - axios parameter creator
|
|
10355
|
+
* @export
|
|
10356
|
+
*/
|
|
10357
|
+
export const AppVersionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
10358
|
+
return {
|
|
10359
|
+
/**
|
|
10360
|
+
*
|
|
10361
|
+
* @param {Platform} platform
|
|
10362
|
+
* @param {*} [options] Override http request option.
|
|
10363
|
+
* @throws {RequiredError}
|
|
10364
|
+
*/
|
|
10365
|
+
apiV2AppversionPlatformGet: async (platform: Platform, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10366
|
+
// verify required parameter 'platform' is not null or undefined
|
|
10367
|
+
assertParamExists('apiV2AppversionPlatformGet', 'platform', platform)
|
|
10368
|
+
const localVarPath = `/api/v2/appversion/{platform}`
|
|
10369
|
+
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
10370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10372
|
+
let baseOptions;
|
|
10373
|
+
if (configuration) {
|
|
10374
|
+
baseOptions = configuration.baseOptions;
|
|
10375
|
+
}
|
|
10376
|
+
|
|
10377
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10378
|
+
const localVarHeaderParameter = {} as any;
|
|
10379
|
+
const localVarQueryParameter = {} as any;
|
|
10380
|
+
|
|
10381
|
+
|
|
10382
|
+
|
|
10383
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10385
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10386
|
+
|
|
10387
|
+
return {
|
|
10388
|
+
url: toPathString(localVarUrlObj),
|
|
10389
|
+
options: localVarRequestOptions,
|
|
10390
|
+
};
|
|
10391
|
+
},
|
|
10392
|
+
}
|
|
10393
|
+
};
|
|
10394
|
+
|
|
10395
|
+
/**
|
|
10396
|
+
* AppVersionApi - functional programming interface
|
|
10397
|
+
* @export
|
|
10398
|
+
*/
|
|
10399
|
+
export const AppVersionApiFp = function(configuration?: Configuration) {
|
|
10400
|
+
const localVarAxiosParamCreator = AppVersionApiAxiosParamCreator(configuration)
|
|
10401
|
+
return {
|
|
10402
|
+
/**
|
|
10403
|
+
*
|
|
10404
|
+
* @param {Platform} platform
|
|
10405
|
+
* @param {*} [options] Override http request option.
|
|
10406
|
+
* @throws {RequiredError}
|
|
10407
|
+
*/
|
|
10408
|
+
async apiV2AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
10409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppversionPlatformGet(platform, options);
|
|
10410
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10411
|
+
},
|
|
10412
|
+
}
|
|
10413
|
+
};
|
|
10414
|
+
|
|
10415
|
+
/**
|
|
10416
|
+
* AppVersionApi - factory interface
|
|
10417
|
+
* @export
|
|
10418
|
+
*/
|
|
10419
|
+
export const AppVersionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10420
|
+
const localVarFp = AppVersionApiFp(configuration)
|
|
10421
|
+
return {
|
|
10422
|
+
/**
|
|
10423
|
+
*
|
|
10424
|
+
* @param {Platform} platform
|
|
10425
|
+
* @param {*} [options] Override http request option.
|
|
10426
|
+
* @throws {RequiredError}
|
|
10427
|
+
*/
|
|
10428
|
+
apiV2AppversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel> {
|
|
10429
|
+
return localVarFp.apiV2AppversionPlatformGet(platform, options).then((request) => request(axios, basePath));
|
|
10430
|
+
},
|
|
10431
|
+
};
|
|
10432
|
+
};
|
|
10433
|
+
|
|
10434
|
+
/**
|
|
10435
|
+
* AppVersionApi - object-oriented interface
|
|
10436
|
+
* @export
|
|
10437
|
+
* @class AppVersionApi
|
|
10438
|
+
* @extends {BaseAPI}
|
|
10439
|
+
*/
|
|
10440
|
+
export class AppVersionApi extends BaseAPI {
|
|
10441
|
+
/**
|
|
10442
|
+
*
|
|
10443
|
+
* @param {Platform} platform
|
|
10444
|
+
* @param {*} [options] Override http request option.
|
|
10445
|
+
* @throws {RequiredError}
|
|
10446
|
+
* @memberof AppVersionApi
|
|
10447
|
+
*/
|
|
10448
|
+
public apiV2AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig) {
|
|
10449
|
+
return AppVersionApiFp(this.configuration).apiV2AppversionPlatformGet(platform, options).then((request) => request(this.axios, this.basePath));
|
|
10450
|
+
}
|
|
10451
|
+
}
|
|
10452
|
+
|
|
10453
|
+
|
|
10238
10454
|
/**
|
|
10239
10455
|
* ArticlesApi - axios parameter creator
|
|
10240
10456
|
* @export
|
|
@@ -10697,7 +10913,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10697
10913
|
* @param {string} [id]
|
|
10698
10914
|
* @param {string} [name]
|
|
10699
10915
|
* @param {string} [description]
|
|
10700
|
-
* @param {ArticleStatus} [status]
|
|
10701
10916
|
* @param {MarketingType} [marketingType]
|
|
10702
10917
|
* @param {string} [userId]
|
|
10703
10918
|
* @param {string} [userName]
|
|
@@ -10717,7 +10932,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10717
10932
|
* @param {*} [options] Override http request option.
|
|
10718
10933
|
* @throws {RequiredError}
|
|
10719
10934
|
*/
|
|
10720
|
-
apiV2ArticlesGet: async (id?: string, name?: string, description?: string,
|
|
10935
|
+
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
10936
|
const localVarPath = `/api/v2/articles`;
|
|
10722
10937
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10723
10938
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10742,10 +10957,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10742
10957
|
localVarQueryParameter['Description'] = description;
|
|
10743
10958
|
}
|
|
10744
10959
|
|
|
10745
|
-
if (status !== undefined) {
|
|
10746
|
-
localVarQueryParameter['Status'] = status;
|
|
10747
|
-
}
|
|
10748
|
-
|
|
10749
10960
|
if (marketingType !== undefined) {
|
|
10750
10961
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10751
10962
|
}
|
|
@@ -11009,7 +11220,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
11009
11220
|
* @param {string} [id]
|
|
11010
11221
|
* @param {string} [name]
|
|
11011
11222
|
* @param {string} [description]
|
|
11012
|
-
* @param {ArticleStatus} [status]
|
|
11013
11223
|
* @param {MarketingType} [marketingType]
|
|
11014
11224
|
* @param {string} [userId]
|
|
11015
11225
|
* @param {string} [userName]
|
|
@@ -11029,8 +11239,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
11029
11239
|
* @param {*} [options] Override http request option.
|
|
11030
11240
|
* @throws {RequiredError}
|
|
11031
11241
|
*/
|
|
11032
|
-
async apiV2ArticlesGet(id?: string, name?: string, description?: string,
|
|
11033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description,
|
|
11242
|
+
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>> {
|
|
11243
|
+
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
11244
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11035
11245
|
},
|
|
11036
11246
|
/**
|
|
@@ -11179,7 +11389,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
11179
11389
|
* @param {string} [id]
|
|
11180
11390
|
* @param {string} [name]
|
|
11181
11391
|
* @param {string} [description]
|
|
11182
|
-
* @param {ArticleStatus} [status]
|
|
11183
11392
|
* @param {MarketingType} [marketingType]
|
|
11184
11393
|
* @param {string} [userId]
|
|
11185
11394
|
* @param {string} [userName]
|
|
@@ -11199,8 +11408,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
11199
11408
|
* @param {*} [options] Override http request option.
|
|
11200
11409
|
* @throws {RequiredError}
|
|
11201
11410
|
*/
|
|
11202
|
-
apiV2ArticlesGet(id?: string, name?: string, description?: string,
|
|
11203
|
-
return localVarFp.apiV2ArticlesGet(id, name, description,
|
|
11411
|
+
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> {
|
|
11412
|
+
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
11413
|
},
|
|
11205
11414
|
/**
|
|
11206
11415
|
*
|
|
@@ -11365,7 +11574,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11365
11574
|
* @param {string} [id]
|
|
11366
11575
|
* @param {string} [name]
|
|
11367
11576
|
* @param {string} [description]
|
|
11368
|
-
* @param {ArticleStatus} [status]
|
|
11369
11577
|
* @param {MarketingType} [marketingType]
|
|
11370
11578
|
* @param {string} [userId]
|
|
11371
11579
|
* @param {string} [userName]
|
|
@@ -11386,8 +11594,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11386
11594
|
* @throws {RequiredError}
|
|
11387
11595
|
* @memberof ArticlesApi
|
|
11388
11596
|
*/
|
|
11389
|
-
public apiV2ArticlesGet(id?: string, name?: string, description?: string,
|
|
11390
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, name, description,
|
|
11597
|
+
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) {
|
|
11598
|
+
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
11599
|
}
|
|
11392
11600
|
|
|
11393
11601
|
/**
|
|
@@ -18643,10 +18851,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18643
18851
|
*
|
|
18644
18852
|
* @param {string} dealId
|
|
18645
18853
|
* @param {string} [hospitalId]
|
|
18854
|
+
* @param {boolean} [isExternal]
|
|
18646
18855
|
* @param {*} [options] Override http request option.
|
|
18647
18856
|
* @throws {RequiredError}
|
|
18648
18857
|
*/
|
|
18649
|
-
apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18858
|
+
apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18650
18859
|
// verify required parameter 'dealId' is not null or undefined
|
|
18651
18860
|
assertParamExists('apiV2GroupchannelsDealDealIdGet', 'dealId', dealId)
|
|
18652
18861
|
const localVarPath = `/api/v2/groupchannels/deal/{dealId}`
|
|
@@ -18670,6 +18879,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18670
18879
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
18671
18880
|
}
|
|
18672
18881
|
|
|
18882
|
+
if (isExternal !== undefined) {
|
|
18883
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
18884
|
+
}
|
|
18885
|
+
|
|
18673
18886
|
|
|
18674
18887
|
|
|
18675
18888
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18685,10 +18898,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18685
18898
|
*
|
|
18686
18899
|
* @param {string} doctorId
|
|
18687
18900
|
* @param {string} [hospitalId]
|
|
18901
|
+
* @param {boolean} [isExternal]
|
|
18688
18902
|
* @param {*} [options] Override http request option.
|
|
18689
18903
|
* @throws {RequiredError}
|
|
18690
18904
|
*/
|
|
18691
|
-
apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18905
|
+
apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18692
18906
|
// verify required parameter 'doctorId' is not null or undefined
|
|
18693
18907
|
assertParamExists('apiV2GroupchannelsDoctorDoctorIdGet', 'doctorId', doctorId)
|
|
18694
18908
|
const localVarPath = `/api/v2/groupchannels/doctor/{doctorId}`
|
|
@@ -18712,6 +18926,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18712
18926
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
18713
18927
|
}
|
|
18714
18928
|
|
|
18929
|
+
if (isExternal !== undefined) {
|
|
18930
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
18931
|
+
}
|
|
18932
|
+
|
|
18715
18933
|
|
|
18716
18934
|
|
|
18717
18935
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18726,10 +18944,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18726
18944
|
/**
|
|
18727
18945
|
*
|
|
18728
18946
|
* @param {string} hospitalId
|
|
18947
|
+
* @param {boolean} [isExternal]
|
|
18729
18948
|
* @param {*} [options] Override http request option.
|
|
18730
18949
|
* @throws {RequiredError}
|
|
18731
18950
|
*/
|
|
18732
|
-
apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18951
|
+
apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18733
18952
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
18734
18953
|
assertParamExists('apiV2GroupchannelsHospitalHospitalIdGet', 'hospitalId', hospitalId)
|
|
18735
18954
|
const localVarPath = `/api/v2/groupchannels/hospital/{hospitalId}`
|
|
@@ -18749,6 +18968,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18749
18968
|
// oauth required
|
|
18750
18969
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
18751
18970
|
|
|
18971
|
+
if (isExternal !== undefined) {
|
|
18972
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
18973
|
+
}
|
|
18974
|
+
|
|
18752
18975
|
|
|
18753
18976
|
|
|
18754
18977
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18785,32 +19008,35 @@ export const GroupChannelsApiFp = function(configuration?: Configuration) {
|
|
|
18785
19008
|
*
|
|
18786
19009
|
* @param {string} dealId
|
|
18787
19010
|
* @param {string} [hospitalId]
|
|
19011
|
+
* @param {boolean} [isExternal]
|
|
18788
19012
|
* @param {*} [options] Override http request option.
|
|
18789
19013
|
* @throws {RequiredError}
|
|
18790
19014
|
*/
|
|
18791
|
-
async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18792
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options);
|
|
19015
|
+
async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
19016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options);
|
|
18793
19017
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18794
19018
|
},
|
|
18795
19019
|
/**
|
|
18796
19020
|
*
|
|
18797
19021
|
* @param {string} doctorId
|
|
18798
19022
|
* @param {string} [hospitalId]
|
|
19023
|
+
* @param {boolean} [isExternal]
|
|
18799
19024
|
* @param {*} [options] Override http request option.
|
|
18800
19025
|
* @throws {RequiredError}
|
|
18801
19026
|
*/
|
|
18802
|
-
async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18803
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options);
|
|
19027
|
+
async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
19028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options);
|
|
18804
19029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18805
19030
|
},
|
|
18806
19031
|
/**
|
|
18807
19032
|
*
|
|
18808
19033
|
* @param {string} hospitalId
|
|
19034
|
+
* @param {boolean} [isExternal]
|
|
18809
19035
|
* @param {*} [options] Override http request option.
|
|
18810
19036
|
* @throws {RequiredError}
|
|
18811
19037
|
*/
|
|
18812
|
-
async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18813
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options);
|
|
19038
|
+
async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
19039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options);
|
|
18814
19040
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18815
19041
|
},
|
|
18816
19042
|
}
|
|
@@ -18837,30 +19063,33 @@ export const GroupChannelsApiFactory = function (configuration?: Configuration,
|
|
|
18837
19063
|
*
|
|
18838
19064
|
* @param {string} dealId
|
|
18839
19065
|
* @param {string} [hospitalId]
|
|
19066
|
+
* @param {boolean} [isExternal]
|
|
18840
19067
|
* @param {*} [options] Override http request option.
|
|
18841
19068
|
* @throws {RequiredError}
|
|
18842
19069
|
*/
|
|
18843
|
-
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: any): AxiosPromise<
|
|
18844
|
-
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(axios, basePath));
|
|
19070
|
+
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
|
|
19071
|
+
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then((request) => request(axios, basePath));
|
|
18845
19072
|
},
|
|
18846
19073
|
/**
|
|
18847
19074
|
*
|
|
18848
19075
|
* @param {string} doctorId
|
|
18849
19076
|
* @param {string} [hospitalId]
|
|
19077
|
+
* @param {boolean} [isExternal]
|
|
18850
19078
|
* @param {*} [options] Override http request option.
|
|
18851
19079
|
* @throws {RequiredError}
|
|
18852
19080
|
*/
|
|
18853
|
-
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: any): AxiosPromise<
|
|
18854
|
-
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(axios, basePath));
|
|
19081
|
+
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
|
|
19082
|
+
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then((request) => request(axios, basePath));
|
|
18855
19083
|
},
|
|
18856
19084
|
/**
|
|
18857
19085
|
*
|
|
18858
19086
|
* @param {string} hospitalId
|
|
19087
|
+
* @param {boolean} [isExternal]
|
|
18859
19088
|
* @param {*} [options] Override http request option.
|
|
18860
19089
|
* @throws {RequiredError}
|
|
18861
19090
|
*/
|
|
18862
|
-
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<
|
|
18863
|
-
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(axios, basePath));
|
|
19091
|
+
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
|
|
19092
|
+
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then((request) => request(axios, basePath));
|
|
18864
19093
|
},
|
|
18865
19094
|
};
|
|
18866
19095
|
};
|
|
@@ -18888,35 +19117,38 @@ export class GroupChannelsApi extends BaseAPI {
|
|
|
18888
19117
|
*
|
|
18889
19118
|
* @param {string} dealId
|
|
18890
19119
|
* @param {string} [hospitalId]
|
|
19120
|
+
* @param {boolean} [isExternal]
|
|
18891
19121
|
* @param {*} [options] Override http request option.
|
|
18892
19122
|
* @throws {RequiredError}
|
|
18893
19123
|
* @memberof GroupChannelsApi
|
|
18894
19124
|
*/
|
|
18895
|
-
public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig) {
|
|
18896
|
-
return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
19125
|
+
public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) {
|
|
19126
|
+
return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
|
|
18897
19127
|
}
|
|
18898
19128
|
|
|
18899
19129
|
/**
|
|
18900
19130
|
*
|
|
18901
19131
|
* @param {string} doctorId
|
|
18902
19132
|
* @param {string} [hospitalId]
|
|
19133
|
+
* @param {boolean} [isExternal]
|
|
18903
19134
|
* @param {*} [options] Override http request option.
|
|
18904
19135
|
* @throws {RequiredError}
|
|
18905
19136
|
* @memberof GroupChannelsApi
|
|
18906
19137
|
*/
|
|
18907
|
-
public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig) {
|
|
18908
|
-
return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
19138
|
+
public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) {
|
|
19139
|
+
return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
|
|
18909
19140
|
}
|
|
18910
19141
|
|
|
18911
19142
|
/**
|
|
18912
19143
|
*
|
|
18913
19144
|
* @param {string} hospitalId
|
|
19145
|
+
* @param {boolean} [isExternal]
|
|
18914
19146
|
* @param {*} [options] Override http request option.
|
|
18915
19147
|
* @throws {RequiredError}
|
|
18916
19148
|
* @memberof GroupChannelsApi
|
|
18917
19149
|
*/
|
|
18918
|
-
public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig) {
|
|
18919
|
-
return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
19150
|
+
public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig) {
|
|
19151
|
+
return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
|
|
18920
19152
|
}
|
|
18921
19153
|
}
|
|
18922
19154
|
|
|
@@ -19736,13 +19968,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19736
19968
|
* @param {string} [slug]
|
|
19737
19969
|
* @param {MarketingType} [marketingType]
|
|
19738
19970
|
* @param {string} [languageCode]
|
|
19971
|
+
* @param {boolean} [showHidden]
|
|
19739
19972
|
* @param {number} [page]
|
|
19740
19973
|
* @param {number} [limit]
|
|
19741
19974
|
* @param {Date} [lastRetrieved]
|
|
19742
19975
|
* @param {*} [options] Override http request option.
|
|
19743
19976
|
* @throws {RequiredError}
|
|
19744
19977
|
*/
|
|
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> => {
|
|
19978
|
+
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
19979
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19747
19980
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
19748
19981
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
|
|
@@ -19794,6 +20027,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19794
20027
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19795
20028
|
}
|
|
19796
20029
|
|
|
20030
|
+
if (showHidden !== undefined) {
|
|
20031
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
20032
|
+
}
|
|
20033
|
+
|
|
19797
20034
|
if (page !== undefined) {
|
|
19798
20035
|
localVarQueryParameter['page'] = page;
|
|
19799
20036
|
}
|
|
@@ -19939,13 +20176,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19939
20176
|
* @param {string} [slug]
|
|
19940
20177
|
* @param {MarketingType} [marketingType]
|
|
19941
20178
|
* @param {string} [languageCode]
|
|
20179
|
+
* @param {boolean} [showHidden]
|
|
19942
20180
|
* @param {number} [page]
|
|
19943
20181
|
* @param {number} [limit]
|
|
19944
20182
|
* @param {Date} [lastRetrieved]
|
|
19945
20183
|
* @param {*} [options] Override http request option.
|
|
19946
20184
|
* @throws {RequiredError}
|
|
19947
20185
|
*/
|
|
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> => {
|
|
20186
|
+
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
20187
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19950
20188
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
19951
20189
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
|
|
@@ -19997,6 +20235,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19997
20235
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19998
20236
|
}
|
|
19999
20237
|
|
|
20238
|
+
if (showHidden !== undefined) {
|
|
20239
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
20240
|
+
}
|
|
20241
|
+
|
|
20000
20242
|
if (page !== undefined) {
|
|
20001
20243
|
localVarQueryParameter['page'] = page;
|
|
20002
20244
|
}
|
|
@@ -20890,14 +21132,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20890
21132
|
* @param {string} [slug]
|
|
20891
21133
|
* @param {MarketingType} [marketingType]
|
|
20892
21134
|
* @param {string} [languageCode]
|
|
21135
|
+
* @param {boolean} [showHidden]
|
|
20893
21136
|
* @param {number} [page]
|
|
20894
21137
|
* @param {number} [limit]
|
|
20895
21138
|
* @param {Date} [lastRetrieved]
|
|
20896
21139
|
* @param {*} [options] Override http request option.
|
|
20897
21140
|
* @throws {RequiredError}
|
|
20898
21141
|
*/
|
|
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);
|
|
21142
|
+
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>> {
|
|
21143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
20901
21144
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20902
21145
|
},
|
|
20903
21146
|
/**
|
|
@@ -20943,14 +21186,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20943
21186
|
* @param {string} [slug]
|
|
20944
21187
|
* @param {MarketingType} [marketingType]
|
|
20945
21188
|
* @param {string} [languageCode]
|
|
21189
|
+
* @param {boolean} [showHidden]
|
|
20946
21190
|
* @param {number} [page]
|
|
20947
21191
|
* @param {number} [limit]
|
|
20948
21192
|
* @param {Date} [lastRetrieved]
|
|
20949
21193
|
* @param {*} [options] Override http request option.
|
|
20950
21194
|
* @throws {RequiredError}
|
|
20951
21195
|
*/
|
|
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);
|
|
21196
|
+
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>> {
|
|
21197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
20954
21198
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20955
21199
|
},
|
|
20956
21200
|
/**
|
|
@@ -21343,14 +21587,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21343
21587
|
* @param {string} [slug]
|
|
21344
21588
|
* @param {MarketingType} [marketingType]
|
|
21345
21589
|
* @param {string} [languageCode]
|
|
21590
|
+
* @param {boolean} [showHidden]
|
|
21346
21591
|
* @param {number} [page]
|
|
21347
21592
|
* @param {number} [limit]
|
|
21348
21593
|
* @param {Date} [lastRetrieved]
|
|
21349
21594
|
* @param {*} [options] Override http request option.
|
|
21350
21595
|
* @throws {RequiredError}
|
|
21351
21596
|
*/
|
|
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));
|
|
21597
|
+
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> {
|
|
21598
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21354
21599
|
},
|
|
21355
21600
|
/**
|
|
21356
21601
|
*
|
|
@@ -21393,14 +21638,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21393
21638
|
* @param {string} [slug]
|
|
21394
21639
|
* @param {MarketingType} [marketingType]
|
|
21395
21640
|
* @param {string} [languageCode]
|
|
21641
|
+
* @param {boolean} [showHidden]
|
|
21396
21642
|
* @param {number} [page]
|
|
21397
21643
|
* @param {number} [limit]
|
|
21398
21644
|
* @param {Date} [lastRetrieved]
|
|
21399
21645
|
* @param {*} [options] Override http request option.
|
|
21400
21646
|
* @throws {RequiredError}
|
|
21401
21647
|
*/
|
|
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));
|
|
21648
|
+
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> {
|
|
21649
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21404
21650
|
},
|
|
21405
21651
|
/**
|
|
21406
21652
|
*
|
|
@@ -21810,6 +22056,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21810
22056
|
* @param {string} [slug]
|
|
21811
22057
|
* @param {MarketingType} [marketingType]
|
|
21812
22058
|
* @param {string} [languageCode]
|
|
22059
|
+
* @param {boolean} [showHidden]
|
|
21813
22060
|
* @param {number} [page]
|
|
21814
22061
|
* @param {number} [limit]
|
|
21815
22062
|
* @param {Date} [lastRetrieved]
|
|
@@ -21817,8 +22064,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21817
22064
|
* @throws {RequiredError}
|
|
21818
22065
|
* @memberof HospitalsApi
|
|
21819
22066
|
*/
|
|
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));
|
|
22067
|
+
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) {
|
|
22068
|
+
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
22069
|
}
|
|
21823
22070
|
|
|
21824
22071
|
/**
|
|
@@ -21866,6 +22113,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21866
22113
|
* @param {string} [slug]
|
|
21867
22114
|
* @param {MarketingType} [marketingType]
|
|
21868
22115
|
* @param {string} [languageCode]
|
|
22116
|
+
* @param {boolean} [showHidden]
|
|
21869
22117
|
* @param {number} [page]
|
|
21870
22118
|
* @param {number} [limit]
|
|
21871
22119
|
* @param {Date} [lastRetrieved]
|
|
@@ -21873,8 +22121,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21873
22121
|
* @throws {RequiredError}
|
|
21874
22122
|
* @memberof HospitalsApi
|
|
21875
22123
|
*/
|
|
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));
|
|
22124
|
+
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) {
|
|
22125
|
+
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
22126
|
}
|
|
21879
22127
|
|
|
21880
22128
|
/**
|