ch-admin-api-client-typescript 2.7.5 → 2.7.8
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 +226 -56
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +76 -64
- package/package.json +1 -1
- package/src/api.ts +263 -87
package/src/api.ts
CHANGED
|
@@ -415,34 +415,34 @@ export interface ArticleItemModel {
|
|
|
415
415
|
'articleContributors'?: Array<ArticleContributorItemModel> | null;
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
418
|
-
* @type {Array<
|
|
418
|
+
* @type {Array<LocalizedUrlModel>}
|
|
419
419
|
* @memberof ArticleItemModel
|
|
420
420
|
*/
|
|
421
|
-
'
|
|
421
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
422
422
|
/**
|
|
423
423
|
*
|
|
424
|
-
* @type {
|
|
424
|
+
* @type {boolean}
|
|
425
425
|
* @memberof ArticleItemModel
|
|
426
426
|
*/
|
|
427
|
-
'
|
|
427
|
+
'confirmed'?: boolean;
|
|
428
428
|
/**
|
|
429
429
|
*
|
|
430
|
-
* @type {
|
|
430
|
+
* @type {Array<MediaModel>}
|
|
431
431
|
* @memberof ArticleItemModel
|
|
432
432
|
*/
|
|
433
|
-
'
|
|
433
|
+
'medias'?: Array<MediaModel> | null;
|
|
434
434
|
/**
|
|
435
435
|
*
|
|
436
|
-
* @type {Array<
|
|
436
|
+
* @type {Array<SourceModel>}
|
|
437
437
|
* @memberof ArticleItemModel
|
|
438
438
|
*/
|
|
439
|
-
'
|
|
439
|
+
'sources'?: Array<SourceModel> | null;
|
|
440
440
|
/**
|
|
441
441
|
*
|
|
442
|
-
* @type {
|
|
442
|
+
* @type {AuditableEntity}
|
|
443
443
|
* @memberof ArticleItemModel
|
|
444
444
|
*/
|
|
445
|
-
'
|
|
445
|
+
'auditableEntity'?: AuditableEntity;
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
448
|
*
|
|
@@ -542,34 +542,34 @@ export interface ArticleModel {
|
|
|
542
542
|
'articleContributors'?: Array<ArticleContributorItemModel> | null;
|
|
543
543
|
/**
|
|
544
544
|
*
|
|
545
|
-
* @type {Array<
|
|
545
|
+
* @type {Array<LocalizedUrlModel>}
|
|
546
546
|
* @memberof ArticleModel
|
|
547
547
|
*/
|
|
548
|
-
'
|
|
548
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
549
549
|
/**
|
|
550
550
|
*
|
|
551
|
-
* @type {
|
|
551
|
+
* @type {boolean}
|
|
552
552
|
* @memberof ArticleModel
|
|
553
553
|
*/
|
|
554
|
-
'
|
|
554
|
+
'confirmed'?: boolean;
|
|
555
555
|
/**
|
|
556
556
|
*
|
|
557
|
-
* @type {
|
|
557
|
+
* @type {Array<MediaModel>}
|
|
558
558
|
* @memberof ArticleModel
|
|
559
559
|
*/
|
|
560
|
-
'
|
|
560
|
+
'medias'?: Array<MediaModel> | null;
|
|
561
561
|
/**
|
|
562
562
|
*
|
|
563
|
-
* @type {Array<
|
|
563
|
+
* @type {Array<SourceModel>}
|
|
564
564
|
* @memberof ArticleModel
|
|
565
565
|
*/
|
|
566
|
-
'
|
|
566
|
+
'sources'?: Array<SourceModel> | null;
|
|
567
567
|
/**
|
|
568
568
|
*
|
|
569
|
-
* @type {
|
|
569
|
+
* @type {AuditableEntity}
|
|
570
570
|
* @memberof ArticleModel
|
|
571
571
|
*/
|
|
572
|
-
'
|
|
572
|
+
'auditableEntity'?: AuditableEntity;
|
|
573
573
|
/**
|
|
574
574
|
*
|
|
575
575
|
* @type {string}
|
|
@@ -4007,12 +4007,36 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
4007
4007
|
* @memberof CreateHospitalSpecialtyCommand
|
|
4008
4008
|
*/
|
|
4009
4009
|
'specialtyId'?: string;
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @type {string}
|
|
4013
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4014
|
+
*/
|
|
4015
|
+
'title'?: string | null;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @type {string}
|
|
4019
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4020
|
+
*/
|
|
4021
|
+
'description'?: string | null;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {string}
|
|
4025
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4026
|
+
*/
|
|
4027
|
+
'content'?: string | null;
|
|
4010
4028
|
/**
|
|
4011
4029
|
*
|
|
4012
4030
|
* @type {number}
|
|
4013
4031
|
* @memberof CreateHospitalSpecialtyCommand
|
|
4014
4032
|
*/
|
|
4015
4033
|
'order'?: number;
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @type {Array<MediaModel>}
|
|
4037
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4038
|
+
*/
|
|
4039
|
+
'medias'?: Array<MediaModel> | null;
|
|
4016
4040
|
}
|
|
4017
4041
|
/**
|
|
4018
4042
|
*
|
|
@@ -7283,6 +7307,12 @@ export interface HospitalSpecialtiesModel {
|
|
|
7283
7307
|
* @interface HospitalSpecialtyItemModel
|
|
7284
7308
|
*/
|
|
7285
7309
|
export interface HospitalSpecialtyItemModel {
|
|
7310
|
+
/**
|
|
7311
|
+
*
|
|
7312
|
+
* @type {string}
|
|
7313
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7314
|
+
*/
|
|
7315
|
+
'id'?: string;
|
|
7286
7316
|
/**
|
|
7287
7317
|
*
|
|
7288
7318
|
* @type {string}
|
|
@@ -7331,12 +7361,54 @@ export interface HospitalSpecialtyItemModel {
|
|
|
7331
7361
|
* @memberof HospitalSpecialtyItemModel
|
|
7332
7362
|
*/
|
|
7333
7363
|
'marketingType'?: MarketingType;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {string}
|
|
7367
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7368
|
+
*/
|
|
7369
|
+
'title'?: string | null;
|
|
7370
|
+
/**
|
|
7371
|
+
*
|
|
7372
|
+
* @type {string}
|
|
7373
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7374
|
+
*/
|
|
7375
|
+
'normalizedTitle'?: string | null;
|
|
7376
|
+
/**
|
|
7377
|
+
*
|
|
7378
|
+
* @type {string}
|
|
7379
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7380
|
+
*/
|
|
7381
|
+
'description'?: string | null;
|
|
7382
|
+
/**
|
|
7383
|
+
*
|
|
7384
|
+
* @type {string}
|
|
7385
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7386
|
+
*/
|
|
7387
|
+
'content'?: string | null;
|
|
7334
7388
|
/**
|
|
7335
7389
|
*
|
|
7336
7390
|
* @type {number}
|
|
7337
7391
|
* @memberof HospitalSpecialtyItemModel
|
|
7338
7392
|
*/
|
|
7339
7393
|
'order'?: number;
|
|
7394
|
+
/**
|
|
7395
|
+
*
|
|
7396
|
+
* @type {boolean}
|
|
7397
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7398
|
+
*/
|
|
7399
|
+
'confirmed'?: boolean;
|
|
7400
|
+
/**
|
|
7401
|
+
*
|
|
7402
|
+
* @type {Array<MediaModel>}
|
|
7403
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7404
|
+
*/
|
|
7405
|
+
'medias'?: Array<MediaModel> | null;
|
|
7406
|
+
/**
|
|
7407
|
+
*
|
|
7408
|
+
* @type {AuditableEntity}
|
|
7409
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7410
|
+
*/
|
|
7411
|
+
'auditableEntity'?: AuditableEntity;
|
|
7340
7412
|
}
|
|
7341
7413
|
/**
|
|
7342
7414
|
*
|
|
@@ -7344,6 +7416,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
7344
7416
|
* @interface HospitalSpecialtyModel
|
|
7345
7417
|
*/
|
|
7346
7418
|
export interface HospitalSpecialtyModel {
|
|
7419
|
+
/**
|
|
7420
|
+
*
|
|
7421
|
+
* @type {string}
|
|
7422
|
+
* @memberof HospitalSpecialtyModel
|
|
7423
|
+
*/
|
|
7424
|
+
'id'?: string;
|
|
7347
7425
|
/**
|
|
7348
7426
|
*
|
|
7349
7427
|
* @type {string}
|
|
@@ -7392,12 +7470,60 @@ export interface HospitalSpecialtyModel {
|
|
|
7392
7470
|
* @memberof HospitalSpecialtyModel
|
|
7393
7471
|
*/
|
|
7394
7472
|
'marketingType'?: MarketingType;
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @type {string}
|
|
7476
|
+
* @memberof HospitalSpecialtyModel
|
|
7477
|
+
*/
|
|
7478
|
+
'title'?: string | null;
|
|
7479
|
+
/**
|
|
7480
|
+
*
|
|
7481
|
+
* @type {string}
|
|
7482
|
+
* @memberof HospitalSpecialtyModel
|
|
7483
|
+
*/
|
|
7484
|
+
'normalizedTitle'?: string | null;
|
|
7485
|
+
/**
|
|
7486
|
+
*
|
|
7487
|
+
* @type {string}
|
|
7488
|
+
* @memberof HospitalSpecialtyModel
|
|
7489
|
+
*/
|
|
7490
|
+
'description'?: string | null;
|
|
7491
|
+
/**
|
|
7492
|
+
*
|
|
7493
|
+
* @type {string}
|
|
7494
|
+
* @memberof HospitalSpecialtyModel
|
|
7495
|
+
*/
|
|
7496
|
+
'content'?: string | null;
|
|
7395
7497
|
/**
|
|
7396
7498
|
*
|
|
7397
7499
|
* @type {number}
|
|
7398
7500
|
* @memberof HospitalSpecialtyModel
|
|
7399
7501
|
*/
|
|
7400
7502
|
'order'?: number;
|
|
7503
|
+
/**
|
|
7504
|
+
*
|
|
7505
|
+
* @type {boolean}
|
|
7506
|
+
* @memberof HospitalSpecialtyModel
|
|
7507
|
+
*/
|
|
7508
|
+
'confirmed'?: boolean;
|
|
7509
|
+
/**
|
|
7510
|
+
*
|
|
7511
|
+
* @type {Array<MediaModel>}
|
|
7512
|
+
* @memberof HospitalSpecialtyModel
|
|
7513
|
+
*/
|
|
7514
|
+
'medias'?: Array<MediaModel> | null;
|
|
7515
|
+
/**
|
|
7516
|
+
*
|
|
7517
|
+
* @type {AuditableEntity}
|
|
7518
|
+
* @memberof HospitalSpecialtyModel
|
|
7519
|
+
*/
|
|
7520
|
+
'auditableEntity'?: AuditableEntity;
|
|
7521
|
+
/**
|
|
7522
|
+
*
|
|
7523
|
+
* @type {string}
|
|
7524
|
+
* @memberof HospitalSpecialtyModel
|
|
7525
|
+
*/
|
|
7526
|
+
'languageCode'?: string | null;
|
|
7401
7527
|
}
|
|
7402
7528
|
/**
|
|
7403
7529
|
*
|
|
@@ -11173,12 +11299,48 @@ export interface UpdateHospitalServiceCommand {
|
|
|
11173
11299
|
* @interface UpdateHospitalSpecialtyCommand
|
|
11174
11300
|
*/
|
|
11175
11301
|
export interface UpdateHospitalSpecialtyCommand {
|
|
11302
|
+
/**
|
|
11303
|
+
*
|
|
11304
|
+
* @type {string}
|
|
11305
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11306
|
+
*/
|
|
11307
|
+
'title'?: string | null;
|
|
11308
|
+
/**
|
|
11309
|
+
*
|
|
11310
|
+
* @type {string}
|
|
11311
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11312
|
+
*/
|
|
11313
|
+
'description'?: string | null;
|
|
11314
|
+
/**
|
|
11315
|
+
*
|
|
11316
|
+
* @type {string}
|
|
11317
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11318
|
+
*/
|
|
11319
|
+
'content'?: string | null;
|
|
11176
11320
|
/**
|
|
11177
11321
|
*
|
|
11178
11322
|
* @type {number}
|
|
11179
11323
|
* @memberof UpdateHospitalSpecialtyCommand
|
|
11180
11324
|
*/
|
|
11181
11325
|
'order'?: number;
|
|
11326
|
+
/**
|
|
11327
|
+
*
|
|
11328
|
+
* @type {string}
|
|
11329
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11330
|
+
*/
|
|
11331
|
+
'languageCode'?: string | null;
|
|
11332
|
+
/**
|
|
11333
|
+
*
|
|
11334
|
+
* @type {boolean}
|
|
11335
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11336
|
+
*/
|
|
11337
|
+
'confirmed'?: boolean;
|
|
11338
|
+
/**
|
|
11339
|
+
*
|
|
11340
|
+
* @type {Array<MediaModel>}
|
|
11341
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11342
|
+
*/
|
|
11343
|
+
'medias'?: Array<MediaModel> | null;
|
|
11182
11344
|
}
|
|
11183
11345
|
/**
|
|
11184
11346
|
*
|
|
@@ -26444,7 +26606,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26444
26606
|
* @summary Get all Hospitals.
|
|
26445
26607
|
* @param {string} [hospitalId]
|
|
26446
26608
|
* @param {string} [name]
|
|
26447
|
-
* @param {string} [description]
|
|
26448
26609
|
* @param {string} [countryId]
|
|
26449
26610
|
* @param {Date} [created]
|
|
26450
26611
|
* @param {MarketingType} [marketingType]
|
|
@@ -26462,7 +26623,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26462
26623
|
* @param {*} [options] Override http request option.
|
|
26463
26624
|
* @throws {RequiredError}
|
|
26464
26625
|
*/
|
|
26465
|
-
apiV1HospitalsGet: async (hospitalId?: string, name?: string,
|
|
26626
|
+
apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26466
26627
|
const localVarPath = `/api/v1/hospitals`;
|
|
26467
26628
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26468
26629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26487,10 +26648,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26487
26648
|
localVarQueryParameter['Name'] = name;
|
|
26488
26649
|
}
|
|
26489
26650
|
|
|
26490
|
-
if (description !== undefined) {
|
|
26491
|
-
localVarQueryParameter['Description'] = description;
|
|
26492
|
-
}
|
|
26493
|
-
|
|
26494
26651
|
if (countryId !== undefined) {
|
|
26495
26652
|
localVarQueryParameter['CountryId'] = countryId;
|
|
26496
26653
|
}
|
|
@@ -27891,15 +28048,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27891
28048
|
* @param {string} [specialtyId]
|
|
27892
28049
|
* @param {string} [specialtyName]
|
|
27893
28050
|
* @param {string} [specialtyTypeId]
|
|
28051
|
+
* @param {string} [title]
|
|
27894
28052
|
* @param {MarketingType} [marketingType]
|
|
27895
|
-
* @param {
|
|
28053
|
+
* @param {string} [languageCode]
|
|
28054
|
+
* @param {boolean} [showHidden]
|
|
28055
|
+
* @param {boolean} [returnDefaultValue]
|
|
27896
28056
|
* @param {number} [page]
|
|
27897
28057
|
* @param {number} [limit]
|
|
27898
28058
|
* @param {Date} [lastRetrieved]
|
|
27899
28059
|
* @param {*} [options] Override http request option.
|
|
27900
28060
|
* @throws {RequiredError}
|
|
27901
28061
|
*/
|
|
27902
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
28062
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27903
28063
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27904
28064
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
27905
28065
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
|
|
@@ -27939,14 +28099,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27939
28099
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
27940
28100
|
}
|
|
27941
28101
|
|
|
28102
|
+
if (title !== undefined) {
|
|
28103
|
+
localVarQueryParameter['Title'] = title;
|
|
28104
|
+
}
|
|
28105
|
+
|
|
27942
28106
|
if (marketingType !== undefined) {
|
|
27943
28107
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
27944
28108
|
}
|
|
27945
28109
|
|
|
27946
|
-
if (
|
|
27947
|
-
localVarQueryParameter['
|
|
27948
|
-
|
|
27949
|
-
|
|
28110
|
+
if (languageCode !== undefined) {
|
|
28111
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
28112
|
+
}
|
|
28113
|
+
|
|
28114
|
+
if (showHidden !== undefined) {
|
|
28115
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
28116
|
+
}
|
|
28117
|
+
|
|
28118
|
+
if (returnDefaultValue !== undefined) {
|
|
28119
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27950
28120
|
}
|
|
27951
28121
|
|
|
27952
28122
|
if (page !== undefined) {
|
|
@@ -28063,10 +28233,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28063
28233
|
* @summary Get HospitalSpecialty.
|
|
28064
28234
|
* @param {string} hospitalId
|
|
28065
28235
|
* @param {string} specialtyId
|
|
28236
|
+
* @param {string} [languageCode]
|
|
28237
|
+
* @param {boolean} [returnDefaultValue]
|
|
28066
28238
|
* @param {*} [options] Override http request option.
|
|
28067
28239
|
* @throws {RequiredError}
|
|
28068
28240
|
*/
|
|
28069
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28241
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28070
28242
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
28071
28243
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
28072
28244
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -28089,6 +28261,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28089
28261
|
// oauth required
|
|
28090
28262
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28091
28263
|
|
|
28264
|
+
if (languageCode !== undefined) {
|
|
28265
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
28266
|
+
}
|
|
28267
|
+
|
|
28268
|
+
if (returnDefaultValue !== undefined) {
|
|
28269
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28270
|
+
}
|
|
28271
|
+
|
|
28092
28272
|
|
|
28093
28273
|
|
|
28094
28274
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28793,7 +28973,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28793
28973
|
* @summary Get all Hospitals.
|
|
28794
28974
|
* @param {string} [hospitalId]
|
|
28795
28975
|
* @param {string} [name]
|
|
28796
|
-
* @param {string} [description]
|
|
28797
28976
|
* @param {string} [countryId]
|
|
28798
28977
|
* @param {Date} [created]
|
|
28799
28978
|
* @param {MarketingType} [marketingType]
|
|
@@ -28811,7 +28990,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28811
28990
|
* @param {*} [options] Override http request option.
|
|
28812
28991
|
* @throws {RequiredError}
|
|
28813
28992
|
*/
|
|
28814
|
-
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string,
|
|
28993
|
+
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28815
28994
|
const localVarPath = `/api/v1/hospitals/simple`;
|
|
28816
28995
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28817
28996
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28836,10 +29015,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28836
29015
|
localVarQueryParameter['Name'] = name;
|
|
28837
29016
|
}
|
|
28838
29017
|
|
|
28839
|
-
if (description !== undefined) {
|
|
28840
|
-
localVarQueryParameter['Description'] = description;
|
|
28841
|
-
}
|
|
28842
|
-
|
|
28843
29018
|
if (countryId !== undefined) {
|
|
28844
29019
|
localVarQueryParameter['CountryId'] = countryId;
|
|
28845
29020
|
}
|
|
@@ -28973,7 +29148,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28973
29148
|
* @summary Get all Hospitals.
|
|
28974
29149
|
* @param {string} [hospitalId]
|
|
28975
29150
|
* @param {string} [name]
|
|
28976
|
-
* @param {string} [description]
|
|
28977
29151
|
* @param {string} [countryId]
|
|
28978
29152
|
* @param {Date} [created]
|
|
28979
29153
|
* @param {MarketingType} [marketingType]
|
|
@@ -28991,8 +29165,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28991
29165
|
* @param {*} [options] Override http request option.
|
|
28992
29166
|
* @throws {RequiredError}
|
|
28993
29167
|
*/
|
|
28994
|
-
async apiV1HospitalsGet(hospitalId?: string, name?: string,
|
|
28995
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name,
|
|
29168
|
+
async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
29169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28996
29170
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28997
29171
|
},
|
|
28998
29172
|
/**
|
|
@@ -29363,16 +29537,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29363
29537
|
* @param {string} [specialtyId]
|
|
29364
29538
|
* @param {string} [specialtyName]
|
|
29365
29539
|
* @param {string} [specialtyTypeId]
|
|
29540
|
+
* @param {string} [title]
|
|
29366
29541
|
* @param {MarketingType} [marketingType]
|
|
29367
|
-
* @param {
|
|
29542
|
+
* @param {string} [languageCode]
|
|
29543
|
+
* @param {boolean} [showHidden]
|
|
29544
|
+
* @param {boolean} [returnDefaultValue]
|
|
29368
29545
|
* @param {number} [page]
|
|
29369
29546
|
* @param {number} [limit]
|
|
29370
29547
|
* @param {Date} [lastRetrieved]
|
|
29371
29548
|
* @param {*} [options] Override http request option.
|
|
29372
29549
|
* @throws {RequiredError}
|
|
29373
29550
|
*/
|
|
29374
|
-
async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
29375
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
29551
|
+
async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
29552
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
29376
29553
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29377
29554
|
},
|
|
29378
29555
|
/**
|
|
@@ -29404,11 +29581,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29404
29581
|
* @summary Get HospitalSpecialty.
|
|
29405
29582
|
* @param {string} hospitalId
|
|
29406
29583
|
* @param {string} specialtyId
|
|
29584
|
+
* @param {string} [languageCode]
|
|
29585
|
+
* @param {boolean} [returnDefaultValue]
|
|
29407
29586
|
* @param {*} [options] Override http request option.
|
|
29408
29587
|
* @throws {RequiredError}
|
|
29409
29588
|
*/
|
|
29410
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
29411
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
|
|
29589
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
29590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
|
|
29412
29591
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29413
29592
|
},
|
|
29414
29593
|
/**
|
|
@@ -29597,7 +29776,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29597
29776
|
* @summary Get all Hospitals.
|
|
29598
29777
|
* @param {string} [hospitalId]
|
|
29599
29778
|
* @param {string} [name]
|
|
29600
|
-
* @param {string} [description]
|
|
29601
29779
|
* @param {string} [countryId]
|
|
29602
29780
|
* @param {Date} [created]
|
|
29603
29781
|
* @param {MarketingType} [marketingType]
|
|
@@ -29615,8 +29793,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29615
29793
|
* @param {*} [options] Override http request option.
|
|
29616
29794
|
* @throws {RequiredError}
|
|
29617
29795
|
*/
|
|
29618
|
-
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string,
|
|
29619
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name,
|
|
29796
|
+
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
29797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
29620
29798
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29621
29799
|
},
|
|
29622
29800
|
/**
|
|
@@ -29646,7 +29824,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29646
29824
|
* @summary Get all Hospitals.
|
|
29647
29825
|
* @param {string} [hospitalId]
|
|
29648
29826
|
* @param {string} [name]
|
|
29649
|
-
* @param {string} [description]
|
|
29650
29827
|
* @param {string} [countryId]
|
|
29651
29828
|
* @param {Date} [created]
|
|
29652
29829
|
* @param {MarketingType} [marketingType]
|
|
@@ -29664,8 +29841,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29664
29841
|
* @param {*} [options] Override http request option.
|
|
29665
29842
|
* @throws {RequiredError}
|
|
29666
29843
|
*/
|
|
29667
|
-
apiV1HospitalsGet(hospitalId?: string, name?: string,
|
|
29668
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name,
|
|
29844
|
+
apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
29845
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29669
29846
|
},
|
|
29670
29847
|
/**
|
|
29671
29848
|
*
|
|
@@ -30008,16 +30185,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30008
30185
|
* @param {string} [specialtyId]
|
|
30009
30186
|
* @param {string} [specialtyName]
|
|
30010
30187
|
* @param {string} [specialtyTypeId]
|
|
30188
|
+
* @param {string} [title]
|
|
30011
30189
|
* @param {MarketingType} [marketingType]
|
|
30012
|
-
* @param {
|
|
30190
|
+
* @param {string} [languageCode]
|
|
30191
|
+
* @param {boolean} [showHidden]
|
|
30192
|
+
* @param {boolean} [returnDefaultValue]
|
|
30013
30193
|
* @param {number} [page]
|
|
30014
30194
|
* @param {number} [limit]
|
|
30015
30195
|
* @param {Date} [lastRetrieved]
|
|
30016
30196
|
* @param {*} [options] Override http request option.
|
|
30017
30197
|
* @throws {RequiredError}
|
|
30018
30198
|
*/
|
|
30019
|
-
apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
30020
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
30199
|
+
apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
30200
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30021
30201
|
},
|
|
30022
30202
|
/**
|
|
30023
30203
|
*
|
|
@@ -30046,11 +30226,13 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30046
30226
|
* @summary Get HospitalSpecialty.
|
|
30047
30227
|
* @param {string} hospitalId
|
|
30048
30228
|
* @param {string} specialtyId
|
|
30229
|
+
* @param {string} [languageCode]
|
|
30230
|
+
* @param {boolean} [returnDefaultValue]
|
|
30049
30231
|
* @param {*} [options] Override http request option.
|
|
30050
30232
|
* @throws {RequiredError}
|
|
30051
30233
|
*/
|
|
30052
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
30053
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
30234
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
30235
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
30054
30236
|
},
|
|
30055
30237
|
/**
|
|
30056
30238
|
*
|
|
@@ -30226,7 +30408,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30226
30408
|
* @summary Get all Hospitals.
|
|
30227
30409
|
* @param {string} [hospitalId]
|
|
30228
30410
|
* @param {string} [name]
|
|
30229
|
-
* @param {string} [description]
|
|
30230
30411
|
* @param {string} [countryId]
|
|
30231
30412
|
* @param {Date} [created]
|
|
30232
30413
|
* @param {MarketingType} [marketingType]
|
|
@@ -30244,8 +30425,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30244
30425
|
* @param {*} [options] Override http request option.
|
|
30245
30426
|
* @throws {RequiredError}
|
|
30246
30427
|
*/
|
|
30247
|
-
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string,
|
|
30248
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name,
|
|
30428
|
+
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
30429
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30249
30430
|
},
|
|
30250
30431
|
/**
|
|
30251
30432
|
*
|
|
@@ -30273,7 +30454,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30273
30454
|
* @summary Get all Hospitals.
|
|
30274
30455
|
* @param {string} [hospitalId]
|
|
30275
30456
|
* @param {string} [name]
|
|
30276
|
-
* @param {string} [description]
|
|
30277
30457
|
* @param {string} [countryId]
|
|
30278
30458
|
* @param {Date} [created]
|
|
30279
30459
|
* @param {MarketingType} [marketingType]
|
|
@@ -30292,8 +30472,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30292
30472
|
* @throws {RequiredError}
|
|
30293
30473
|
* @memberof HospitalsApi
|
|
30294
30474
|
*/
|
|
30295
|
-
public apiV1HospitalsGet(hospitalId?: string, name?: string,
|
|
30296
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name,
|
|
30475
|
+
public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30476
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30297
30477
|
}
|
|
30298
30478
|
|
|
30299
30479
|
/**
|
|
@@ -30691,8 +30871,11 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30691
30871
|
* @param {string} [specialtyId]
|
|
30692
30872
|
* @param {string} [specialtyName]
|
|
30693
30873
|
* @param {string} [specialtyTypeId]
|
|
30874
|
+
* @param {string} [title]
|
|
30694
30875
|
* @param {MarketingType} [marketingType]
|
|
30695
|
-
* @param {
|
|
30876
|
+
* @param {string} [languageCode]
|
|
30877
|
+
* @param {boolean} [showHidden]
|
|
30878
|
+
* @param {boolean} [returnDefaultValue]
|
|
30696
30879
|
* @param {number} [page]
|
|
30697
30880
|
* @param {number} [limit]
|
|
30698
30881
|
* @param {Date} [lastRetrieved]
|
|
@@ -30700,8 +30883,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30700
30883
|
* @throws {RequiredError}
|
|
30701
30884
|
* @memberof HospitalsApi
|
|
30702
30885
|
*/
|
|
30703
|
-
public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
30704
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
30886
|
+
public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30887
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30705
30888
|
}
|
|
30706
30889
|
|
|
30707
30890
|
/**
|
|
@@ -30735,12 +30918,14 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30735
30918
|
* @summary Get HospitalSpecialty.
|
|
30736
30919
|
* @param {string} hospitalId
|
|
30737
30920
|
* @param {string} specialtyId
|
|
30921
|
+
* @param {string} [languageCode]
|
|
30922
|
+
* @param {boolean} [returnDefaultValue]
|
|
30738
30923
|
* @param {*} [options] Override http request option.
|
|
30739
30924
|
* @throws {RequiredError}
|
|
30740
30925
|
* @memberof HospitalsApi
|
|
30741
30926
|
*/
|
|
30742
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
30743
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
30927
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30928
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
30744
30929
|
}
|
|
30745
30930
|
|
|
30746
30931
|
/**
|
|
@@ -30941,7 +31126,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30941
31126
|
* @summary Get all Hospitals.
|
|
30942
31127
|
* @param {string} [hospitalId]
|
|
30943
31128
|
* @param {string} [name]
|
|
30944
|
-
* @param {string} [description]
|
|
30945
31129
|
* @param {string} [countryId]
|
|
30946
31130
|
* @param {Date} [created]
|
|
30947
31131
|
* @param {MarketingType} [marketingType]
|
|
@@ -30960,8 +31144,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30960
31144
|
* @throws {RequiredError}
|
|
30961
31145
|
* @memberof HospitalsApi
|
|
30962
31146
|
*/
|
|
30963
|
-
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string,
|
|
30964
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name,
|
|
31147
|
+
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
31148
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30965
31149
|
}
|
|
30966
31150
|
|
|
30967
31151
|
/**
|
|
@@ -37266,14 +37450,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
37266
37450
|
* @summary Get all ServiceCategories.
|
|
37267
37451
|
* @param {string} [id]
|
|
37268
37452
|
* @param {string} [name]
|
|
37269
|
-
* @param {string} [description]
|
|
37270
37453
|
* @param {number} [page]
|
|
37271
37454
|
* @param {number} [limit]
|
|
37272
37455
|
* @param {Date} [lastRetrieved]
|
|
37273
37456
|
* @param {*} [options] Override http request option.
|
|
37274
37457
|
* @throws {RequiredError}
|
|
37275
37458
|
*/
|
|
37276
|
-
apiV1ServicescategoriesGet: async (id?: string, name?: string,
|
|
37459
|
+
apiV1ServicescategoriesGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37277
37460
|
const localVarPath = `/api/v1/servicescategories`;
|
|
37278
37461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37279
37462
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -37298,10 +37481,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
37298
37481
|
localVarQueryParameter['Name'] = name;
|
|
37299
37482
|
}
|
|
37300
37483
|
|
|
37301
|
-
if (description !== undefined) {
|
|
37302
|
-
localVarQueryParameter['Description'] = description;
|
|
37303
|
-
}
|
|
37304
|
-
|
|
37305
37484
|
if (page !== undefined) {
|
|
37306
37485
|
localVarQueryParameter['page'] = page;
|
|
37307
37486
|
}
|
|
@@ -37497,15 +37676,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
37497
37676
|
* @summary Get all ServiceCategories.
|
|
37498
37677
|
* @param {string} [id]
|
|
37499
37678
|
* @param {string} [name]
|
|
37500
|
-
* @param {string} [description]
|
|
37501
37679
|
* @param {number} [page]
|
|
37502
37680
|
* @param {number} [limit]
|
|
37503
37681
|
* @param {Date} [lastRetrieved]
|
|
37504
37682
|
* @param {*} [options] Override http request option.
|
|
37505
37683
|
* @throws {RequiredError}
|
|
37506
37684
|
*/
|
|
37507
|
-
async apiV1ServicescategoriesGet(id?: string, name?: string,
|
|
37508
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name,
|
|
37685
|
+
async apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
37686
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options);
|
|
37509
37687
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37510
37688
|
},
|
|
37511
37689
|
/**
|
|
@@ -37567,15 +37745,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
37567
37745
|
* @summary Get all ServiceCategories.
|
|
37568
37746
|
* @param {string} [id]
|
|
37569
37747
|
* @param {string} [name]
|
|
37570
|
-
* @param {string} [description]
|
|
37571
37748
|
* @param {number} [page]
|
|
37572
37749
|
* @param {number} [limit]
|
|
37573
37750
|
* @param {Date} [lastRetrieved]
|
|
37574
37751
|
* @param {*} [options] Override http request option.
|
|
37575
37752
|
* @throws {RequiredError}
|
|
37576
37753
|
*/
|
|
37577
|
-
apiV1ServicescategoriesGet(id?: string, name?: string,
|
|
37578
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name,
|
|
37754
|
+
apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
37755
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
37579
37756
|
},
|
|
37580
37757
|
/**
|
|
37581
37758
|
*
|
|
@@ -37632,7 +37809,6 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
37632
37809
|
* @summary Get all ServiceCategories.
|
|
37633
37810
|
* @param {string} [id]
|
|
37634
37811
|
* @param {string} [name]
|
|
37635
|
-
* @param {string} [description]
|
|
37636
37812
|
* @param {number} [page]
|
|
37637
37813
|
* @param {number} [limit]
|
|
37638
37814
|
* @param {Date} [lastRetrieved]
|
|
@@ -37640,8 +37816,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
37640
37816
|
* @throws {RequiredError}
|
|
37641
37817
|
* @memberof ServicesCategoriesApi
|
|
37642
37818
|
*/
|
|
37643
|
-
public apiV1ServicescategoriesGet(id?: string, name?: string,
|
|
37644
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name,
|
|
37819
|
+
public apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
37820
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
37645
37821
|
}
|
|
37646
37822
|
|
|
37647
37823
|
/**
|