ch-admin-api-client-typescript 2.5.5 → 2.6.0
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 +557 -146
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +635 -217
- package/package.json +1 -1
- package/src/api.ts +882 -240
package/src/api.ts
CHANGED
|
@@ -782,6 +782,37 @@ export interface AwardModel {
|
|
|
782
782
|
*/
|
|
783
783
|
'date'?: Date;
|
|
784
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @export
|
|
788
|
+
* @interface BookingChangeLogModel
|
|
789
|
+
*/
|
|
790
|
+
export interface BookingChangeLogModel {
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @type {BookingStatus}
|
|
794
|
+
* @memberof BookingChangeLogModel
|
|
795
|
+
*/
|
|
796
|
+
'status'?: BookingStatus;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof BookingChangeLogModel
|
|
801
|
+
*/
|
|
802
|
+
'actorId'?: string;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {Date}
|
|
806
|
+
* @memberof BookingChangeLogModel
|
|
807
|
+
*/
|
|
808
|
+
'createdDate'?: Date;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {string}
|
|
812
|
+
* @memberof BookingChangeLogModel
|
|
813
|
+
*/
|
|
814
|
+
'actorName'?: string | null;
|
|
815
|
+
}
|
|
785
816
|
/**
|
|
786
817
|
*
|
|
787
818
|
* @export
|
|
@@ -1179,6 +1210,12 @@ export interface BookingModel {
|
|
|
1179
1210
|
* @memberof BookingModel
|
|
1180
1211
|
*/
|
|
1181
1212
|
'completionRate'?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {Array<BookingChangeLogModel>}
|
|
1216
|
+
* @memberof BookingModel
|
|
1217
|
+
*/
|
|
1218
|
+
'statusChangeLogs'?: Array<BookingChangeLogModel> | null;
|
|
1182
1219
|
}
|
|
1183
1220
|
/**
|
|
1184
1221
|
*
|
|
@@ -1809,6 +1846,37 @@ export interface ConfirmEmailCommand {
|
|
|
1809
1846
|
*/
|
|
1810
1847
|
'code'?: string | null;
|
|
1811
1848
|
}
|
|
1849
|
+
/**
|
|
1850
|
+
*
|
|
1851
|
+
* @export
|
|
1852
|
+
* @interface ConsultationChangeLogModel
|
|
1853
|
+
*/
|
|
1854
|
+
export interface ConsultationChangeLogModel {
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @type {ConsultationStatus}
|
|
1858
|
+
* @memberof ConsultationChangeLogModel
|
|
1859
|
+
*/
|
|
1860
|
+
'status'?: ConsultationStatus;
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @type {string}
|
|
1864
|
+
* @memberof ConsultationChangeLogModel
|
|
1865
|
+
*/
|
|
1866
|
+
'actorId'?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @type {Date}
|
|
1870
|
+
* @memberof ConsultationChangeLogModel
|
|
1871
|
+
*/
|
|
1872
|
+
'createdDate'?: Date;
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof ConsultationChangeLogModel
|
|
1877
|
+
*/
|
|
1878
|
+
'actorName'?: string | null;
|
|
1879
|
+
}
|
|
1812
1880
|
/**
|
|
1813
1881
|
*
|
|
1814
1882
|
* @export
|
|
@@ -2326,6 +2394,12 @@ export interface ConsultationModel {
|
|
|
2326
2394
|
* @memberof ConsultationModel
|
|
2327
2395
|
*/
|
|
2328
2396
|
'completionRate'?: number;
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {Array<ConsultationChangeLogModel>}
|
|
2400
|
+
* @memberof ConsultationModel
|
|
2401
|
+
*/
|
|
2402
|
+
'statusChangeLogs'?: Array<ConsultationChangeLogModel> | null;
|
|
2329
2403
|
}
|
|
2330
2404
|
/**
|
|
2331
2405
|
*
|
|
@@ -2460,10 +2534,16 @@ export interface ContributorItemModel {
|
|
|
2460
2534
|
'order'?: number;
|
|
2461
2535
|
/**
|
|
2462
2536
|
*
|
|
2463
|
-
* @type {Array<
|
|
2537
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2538
|
+
* @memberof ContributorItemModel
|
|
2539
|
+
*/
|
|
2540
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2541
|
+
/**
|
|
2542
|
+
*
|
|
2543
|
+
* @type {boolean}
|
|
2464
2544
|
* @memberof ContributorItemModel
|
|
2465
2545
|
*/
|
|
2466
|
-
'
|
|
2546
|
+
'confirmed'?: boolean;
|
|
2467
2547
|
}
|
|
2468
2548
|
/**
|
|
2469
2549
|
*
|
|
@@ -2539,10 +2619,22 @@ export interface ContributorModel {
|
|
|
2539
2619
|
'order'?: number;
|
|
2540
2620
|
/**
|
|
2541
2621
|
*
|
|
2542
|
-
* @type {Array<
|
|
2622
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2623
|
+
* @memberof ContributorModel
|
|
2624
|
+
*/
|
|
2625
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2626
|
+
/**
|
|
2627
|
+
*
|
|
2628
|
+
* @type {boolean}
|
|
2629
|
+
* @memberof ContributorModel
|
|
2630
|
+
*/
|
|
2631
|
+
'confirmed'?: boolean;
|
|
2632
|
+
/**
|
|
2633
|
+
*
|
|
2634
|
+
* @type {string}
|
|
2543
2635
|
* @memberof ContributorModel
|
|
2544
2636
|
*/
|
|
2545
|
-
'
|
|
2637
|
+
'languageCode'?: string | null;
|
|
2546
2638
|
}
|
|
2547
2639
|
/**
|
|
2548
2640
|
*
|
|
@@ -3626,6 +3718,12 @@ export interface CreateFaqCommand {
|
|
|
3626
3718
|
* @memberof CreateFaqCommand
|
|
3627
3719
|
*/
|
|
3628
3720
|
'faqCategoryId'?: string | null;
|
|
3721
|
+
/**
|
|
3722
|
+
*
|
|
3723
|
+
* @type {string}
|
|
3724
|
+
* @memberof CreateFaqCommand
|
|
3725
|
+
*/
|
|
3726
|
+
'hospitalId'?: string;
|
|
3629
3727
|
}
|
|
3630
3728
|
/**
|
|
3631
3729
|
*
|
|
@@ -4364,6 +4462,18 @@ export interface DealItemModel {
|
|
|
4364
4462
|
* @memberof DealItemModel
|
|
4365
4463
|
*/
|
|
4366
4464
|
'auditableEntity'?: AuditableEntity;
|
|
4465
|
+
/**
|
|
4466
|
+
*
|
|
4467
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4468
|
+
* @memberof DealItemModel
|
|
4469
|
+
*/
|
|
4470
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {boolean}
|
|
4474
|
+
* @memberof DealItemModel
|
|
4475
|
+
*/
|
|
4476
|
+
'confirmed'?: boolean;
|
|
4367
4477
|
}
|
|
4368
4478
|
/**
|
|
4369
4479
|
*
|
|
@@ -4455,6 +4565,24 @@ export interface DealModel {
|
|
|
4455
4565
|
* @memberof DealModel
|
|
4456
4566
|
*/
|
|
4457
4567
|
'auditableEntity'?: AuditableEntity;
|
|
4568
|
+
/**
|
|
4569
|
+
*
|
|
4570
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4571
|
+
* @memberof DealModel
|
|
4572
|
+
*/
|
|
4573
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4574
|
+
/**
|
|
4575
|
+
*
|
|
4576
|
+
* @type {boolean}
|
|
4577
|
+
* @memberof DealModel
|
|
4578
|
+
*/
|
|
4579
|
+
'confirmed'?: boolean;
|
|
4580
|
+
/**
|
|
4581
|
+
*
|
|
4582
|
+
* @type {string}
|
|
4583
|
+
* @memberof DealModel
|
|
4584
|
+
*/
|
|
4585
|
+
'languageCode'?: string | null;
|
|
4458
4586
|
}
|
|
4459
4587
|
/**
|
|
4460
4588
|
*
|
|
@@ -5908,6 +6036,12 @@ export interface FaqModel {
|
|
|
5908
6036
|
* @memberof FaqModel
|
|
5909
6037
|
*/
|
|
5910
6038
|
'confirmed'?: boolean;
|
|
6039
|
+
/**
|
|
6040
|
+
*
|
|
6041
|
+
* @type {string}
|
|
6042
|
+
* @memberof FaqModel
|
|
6043
|
+
*/
|
|
6044
|
+
'languageCode'?: string | null;
|
|
5911
6045
|
/**
|
|
5912
6046
|
*
|
|
5913
6047
|
* @type {Array<FaqCategoryBreadCrumbModel>}
|
|
@@ -6968,6 +7102,12 @@ export interface HospitalServiceModel {
|
|
|
6968
7102
|
* @memberof HospitalServiceModel
|
|
6969
7103
|
*/
|
|
6970
7104
|
'auditableEntity'?: AuditableEntity;
|
|
7105
|
+
/**
|
|
7106
|
+
*
|
|
7107
|
+
* @type {string}
|
|
7108
|
+
* @memberof HospitalServiceModel
|
|
7109
|
+
*/
|
|
7110
|
+
'languageCode'?: string | null;
|
|
6971
7111
|
}
|
|
6972
7112
|
/**
|
|
6973
7113
|
*
|
|
@@ -9125,6 +9265,12 @@ export interface SpecialtyModel {
|
|
|
9125
9265
|
* @memberof SpecialtyModel
|
|
9126
9266
|
*/
|
|
9127
9267
|
'auditableEntity'?: AuditableEntity;
|
|
9268
|
+
/**
|
|
9269
|
+
*
|
|
9270
|
+
* @type {string}
|
|
9271
|
+
* @memberof SpecialtyModel
|
|
9272
|
+
*/
|
|
9273
|
+
'languageCode'?: string | null;
|
|
9128
9274
|
}
|
|
9129
9275
|
/**
|
|
9130
9276
|
*
|
|
@@ -9271,6 +9417,37 @@ export interface SpecialtyTypeModel {
|
|
|
9271
9417
|
* @memberof SpecialtyTypeModel
|
|
9272
9418
|
*/
|
|
9273
9419
|
'confirmed'?: boolean;
|
|
9420
|
+
/**
|
|
9421
|
+
*
|
|
9422
|
+
* @type {string}
|
|
9423
|
+
* @memberof SpecialtyTypeModel
|
|
9424
|
+
*/
|
|
9425
|
+
'languageCode'?: string | null;
|
|
9426
|
+
}
|
|
9427
|
+
/**
|
|
9428
|
+
*
|
|
9429
|
+
* @export
|
|
9430
|
+
* @interface SpecialtyTypeSimpleItemModel
|
|
9431
|
+
*/
|
|
9432
|
+
export interface SpecialtyTypeSimpleItemModel {
|
|
9433
|
+
/**
|
|
9434
|
+
*
|
|
9435
|
+
* @type {string}
|
|
9436
|
+
* @memberof SpecialtyTypeSimpleItemModel
|
|
9437
|
+
*/
|
|
9438
|
+
'id'?: string;
|
|
9439
|
+
/**
|
|
9440
|
+
*
|
|
9441
|
+
* @type {string}
|
|
9442
|
+
* @memberof SpecialtyTypeSimpleItemModel
|
|
9443
|
+
*/
|
|
9444
|
+
'name'?: string | null;
|
|
9445
|
+
/**
|
|
9446
|
+
*
|
|
9447
|
+
* @type {boolean}
|
|
9448
|
+
* @memberof SpecialtyTypeSimpleItemModel
|
|
9449
|
+
*/
|
|
9450
|
+
'confirmed'?: boolean;
|
|
9274
9451
|
}
|
|
9275
9452
|
/**
|
|
9276
9453
|
*
|
|
@@ -9291,6 +9468,25 @@ export interface SpecialtyTypesModel {
|
|
|
9291
9468
|
*/
|
|
9292
9469
|
'metaData'?: PagedListMetaData;
|
|
9293
9470
|
}
|
|
9471
|
+
/**
|
|
9472
|
+
*
|
|
9473
|
+
* @export
|
|
9474
|
+
* @interface SpecialtyTypesSimpleModel
|
|
9475
|
+
*/
|
|
9476
|
+
export interface SpecialtyTypesSimpleModel {
|
|
9477
|
+
/**
|
|
9478
|
+
*
|
|
9479
|
+
* @type {Array<SpecialtyTypeSimpleItemModel>}
|
|
9480
|
+
* @memberof SpecialtyTypesSimpleModel
|
|
9481
|
+
*/
|
|
9482
|
+
'items'?: Array<SpecialtyTypeSimpleItemModel> | null;
|
|
9483
|
+
/**
|
|
9484
|
+
*
|
|
9485
|
+
* @type {PagedListMetaData}
|
|
9486
|
+
* @memberof SpecialtyTypesSimpleModel
|
|
9487
|
+
*/
|
|
9488
|
+
'metaData'?: PagedListMetaData;
|
|
9489
|
+
}
|
|
9294
9490
|
/**
|
|
9295
9491
|
*
|
|
9296
9492
|
* @export
|
|
@@ -10004,12 +10200,6 @@ export interface UpdateCountryCommand {
|
|
|
10004
10200
|
* @memberof UpdateCountryCommand
|
|
10005
10201
|
*/
|
|
10006
10202
|
'confirmed'?: boolean;
|
|
10007
|
-
/**
|
|
10008
|
-
*
|
|
10009
|
-
* @type {Array<MediaModel>}
|
|
10010
|
-
* @memberof UpdateCountryCommand
|
|
10011
|
-
*/
|
|
10012
|
-
'medias'?: Array<MediaModel> | null;
|
|
10013
10203
|
}
|
|
10014
10204
|
/**
|
|
10015
10205
|
*
|
|
@@ -10059,6 +10249,18 @@ export interface UpdateDealCommand {
|
|
|
10059
10249
|
* @memberof UpdateDealCommand
|
|
10060
10250
|
*/
|
|
10061
10251
|
'photoThumbnail'?: string | null;
|
|
10252
|
+
/**
|
|
10253
|
+
*
|
|
10254
|
+
* @type {string}
|
|
10255
|
+
* @memberof UpdateDealCommand
|
|
10256
|
+
*/
|
|
10257
|
+
'languageCode'?: string | null;
|
|
10258
|
+
/**
|
|
10259
|
+
*
|
|
10260
|
+
* @type {boolean}
|
|
10261
|
+
* @memberof UpdateDealCommand
|
|
10262
|
+
*/
|
|
10263
|
+
'confirmed'?: boolean;
|
|
10062
10264
|
}
|
|
10063
10265
|
/**
|
|
10064
10266
|
*
|
|
@@ -10337,12 +10539,6 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
10337
10539
|
* @interface UpdateFaqCategoryCommand
|
|
10338
10540
|
*/
|
|
10339
10541
|
export interface UpdateFaqCategoryCommand {
|
|
10340
|
-
/**
|
|
10341
|
-
*
|
|
10342
|
-
* @type {string}
|
|
10343
|
-
* @memberof UpdateFaqCategoryCommand
|
|
10344
|
-
*/
|
|
10345
|
-
'id'?: string | null;
|
|
10346
10542
|
/**
|
|
10347
10543
|
*
|
|
10348
10544
|
* @type {string}
|
|
@@ -10874,12 +11070,6 @@ export interface UpdatePlanCommand {
|
|
|
10874
11070
|
* @memberof UpdatePlanCommand
|
|
10875
11071
|
*/
|
|
10876
11072
|
'unitPrice'?: number;
|
|
10877
|
-
/**
|
|
10878
|
-
*
|
|
10879
|
-
* @type {string}
|
|
10880
|
-
* @memberof UpdatePlanCommand
|
|
10881
|
-
*/
|
|
10882
|
-
'stripePriceId'?: string | null;
|
|
10883
11073
|
/**
|
|
10884
11074
|
*
|
|
10885
11075
|
* @type {RecurringInterval}
|
|
@@ -12131,10 +12321,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12131
12321
|
* @summary Get Article.
|
|
12132
12322
|
* @param {string} articleId
|
|
12133
12323
|
* @param {string} [languageCode]
|
|
12324
|
+
* @param {boolean} [returnDefaultValue]
|
|
12134
12325
|
* @param {*} [options] Override http request option.
|
|
12135
12326
|
* @throws {RequiredError}
|
|
12136
12327
|
*/
|
|
12137
|
-
apiV1ArticlesArticleIdGet: async (articleId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12328
|
+
apiV1ArticlesArticleIdGet: async (articleId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12138
12329
|
// verify required parameter 'articleId' is not null or undefined
|
|
12139
12330
|
assertParamExists('apiV1ArticlesArticleIdGet', 'articleId', articleId)
|
|
12140
12331
|
const localVarPath = `/api/v1/articles/{articleId}`
|
|
@@ -12158,6 +12349,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12158
12349
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
12159
12350
|
}
|
|
12160
12351
|
|
|
12352
|
+
if (returnDefaultValue !== undefined) {
|
|
12353
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12354
|
+
}
|
|
12355
|
+
|
|
12161
12356
|
|
|
12162
12357
|
|
|
12163
12358
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12883,13 +13078,14 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12883
13078
|
* @param {string} [contributorId]
|
|
12884
13079
|
* @param {string} [languageCode]
|
|
12885
13080
|
* @param {boolean} [showHidden]
|
|
13081
|
+
* @param {boolean} [returnDefaultValue]
|
|
12886
13082
|
* @param {number} [page]
|
|
12887
13083
|
* @param {number} [limit]
|
|
12888
13084
|
* @param {Date} [lastRetrieved]
|
|
12889
13085
|
* @param {*} [options] Override http request option.
|
|
12890
13086
|
* @throws {RequiredError}
|
|
12891
13087
|
*/
|
|
12892
|
-
apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13088
|
+
apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12893
13089
|
const localVarPath = `/api/v1/articles`;
|
|
12894
13090
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12895
13091
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12966,6 +13162,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12966
13162
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12967
13163
|
}
|
|
12968
13164
|
|
|
13165
|
+
if (returnDefaultValue !== undefined) {
|
|
13166
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13167
|
+
}
|
|
13168
|
+
|
|
12969
13169
|
if (page !== undefined) {
|
|
12970
13170
|
localVarQueryParameter['page'] = page;
|
|
12971
13171
|
}
|
|
@@ -13034,10 +13234,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13034
13234
|
* @summary Get Article by slug.
|
|
13035
13235
|
* @param {string} slug
|
|
13036
13236
|
* @param {string} [languageCode]
|
|
13237
|
+
* @param {boolean} [returnDefaultValue]
|
|
13037
13238
|
* @param {*} [options] Override http request option.
|
|
13038
13239
|
* @throws {RequiredError}
|
|
13039
13240
|
*/
|
|
13040
|
-
apiV1ArticlesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13241
|
+
apiV1ArticlesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13041
13242
|
// verify required parameter 'slug' is not null or undefined
|
|
13042
13243
|
assertParamExists('apiV1ArticlesSlugGet', 'slug', slug)
|
|
13043
13244
|
const localVarPath = `/api/v1/articles/{slug}`
|
|
@@ -13061,6 +13262,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13061
13262
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
13062
13263
|
}
|
|
13063
13264
|
|
|
13265
|
+
if (returnDefaultValue !== undefined) {
|
|
13266
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13267
|
+
}
|
|
13268
|
+
|
|
13064
13269
|
|
|
13065
13270
|
|
|
13066
13271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13168,11 +13373,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
13168
13373
|
* @summary Get Article.
|
|
13169
13374
|
* @param {string} articleId
|
|
13170
13375
|
* @param {string} [languageCode]
|
|
13376
|
+
* @param {boolean} [returnDefaultValue]
|
|
13171
13377
|
* @param {*} [options] Override http request option.
|
|
13172
13378
|
* @throws {RequiredError}
|
|
13173
13379
|
*/
|
|
13174
|
-
async apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13175
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, options);
|
|
13380
|
+
async apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options);
|
|
13176
13382
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13177
13383
|
},
|
|
13178
13384
|
/**
|
|
@@ -13385,14 +13591,15 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
13385
13591
|
* @param {string} [contributorId]
|
|
13386
13592
|
* @param {string} [languageCode]
|
|
13387
13593
|
* @param {boolean} [showHidden]
|
|
13594
|
+
* @param {boolean} [returnDefaultValue]
|
|
13388
13595
|
* @param {number} [page]
|
|
13389
13596
|
* @param {number} [limit]
|
|
13390
13597
|
* @param {Date} [lastRetrieved]
|
|
13391
13598
|
* @param {*} [options] Override http request option.
|
|
13392
13599
|
* @throws {RequiredError}
|
|
13393
13600
|
*/
|
|
13394
|
-
async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
13395
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
13601
|
+
async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: 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>> {
|
|
13602
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
13396
13603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13397
13604
|
},
|
|
13398
13605
|
/**
|
|
@@ -13411,11 +13618,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
13411
13618
|
* @summary Get Article by slug.
|
|
13412
13619
|
* @param {string} slug
|
|
13413
13620
|
* @param {string} [languageCode]
|
|
13621
|
+
* @param {boolean} [returnDefaultValue]
|
|
13414
13622
|
* @param {*} [options] Override http request option.
|
|
13415
13623
|
* @throws {RequiredError}
|
|
13416
13624
|
*/
|
|
13417
|
-
async apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13418
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, options);
|
|
13625
|
+
async apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
13419
13627
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13420
13628
|
},
|
|
13421
13629
|
}
|
|
@@ -13508,11 +13716,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
13508
13716
|
* @summary Get Article.
|
|
13509
13717
|
* @param {string} articleId
|
|
13510
13718
|
* @param {string} [languageCode]
|
|
13719
|
+
* @param {boolean} [returnDefaultValue]
|
|
13511
13720
|
* @param {*} [options] Override http request option.
|
|
13512
13721
|
* @throws {RequiredError}
|
|
13513
13722
|
*/
|
|
13514
|
-
apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
13515
|
-
return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(axios, basePath));
|
|
13723
|
+
apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
|
|
13724
|
+
return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13516
13725
|
},
|
|
13517
13726
|
/**
|
|
13518
13727
|
*
|
|
@@ -13709,14 +13918,15 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
13709
13918
|
* @param {string} [contributorId]
|
|
13710
13919
|
* @param {string} [languageCode]
|
|
13711
13920
|
* @param {boolean} [showHidden]
|
|
13921
|
+
* @param {boolean} [returnDefaultValue]
|
|
13712
13922
|
* @param {number} [page]
|
|
13713
13923
|
* @param {number} [limit]
|
|
13714
13924
|
* @param {Date} [lastRetrieved]
|
|
13715
13925
|
* @param {*} [options] Override http request option.
|
|
13716
13926
|
* @throws {RequiredError}
|
|
13717
13927
|
*/
|
|
13718
|
-
apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
13719
|
-
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13928
|
+
apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
13929
|
+
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13720
13930
|
},
|
|
13721
13931
|
/**
|
|
13722
13932
|
*
|
|
@@ -13733,11 +13943,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
13733
13943
|
* @summary Get Article by slug.
|
|
13734
13944
|
* @param {string} slug
|
|
13735
13945
|
* @param {string} [languageCode]
|
|
13946
|
+
* @param {boolean} [returnDefaultValue]
|
|
13736
13947
|
* @param {*} [options] Override http request option.
|
|
13737
13948
|
* @throws {RequiredError}
|
|
13738
13949
|
*/
|
|
13739
|
-
apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
13740
|
-
return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
13950
|
+
apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
|
|
13951
|
+
return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13741
13952
|
},
|
|
13742
13953
|
};
|
|
13743
13954
|
};
|
|
@@ -13841,12 +14052,13 @@ export class ArticlesApi extends BaseAPI {
|
|
|
13841
14052
|
* @summary Get Article.
|
|
13842
14053
|
* @param {string} articleId
|
|
13843
14054
|
* @param {string} [languageCode]
|
|
14055
|
+
* @param {boolean} [returnDefaultValue]
|
|
13844
14056
|
* @param {*} [options] Override http request option.
|
|
13845
14057
|
* @throws {RequiredError}
|
|
13846
14058
|
* @memberof ArticlesApi
|
|
13847
14059
|
*/
|
|
13848
|
-
public apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13849
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
14060
|
+
public apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14061
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13850
14062
|
}
|
|
13851
14063
|
|
|
13852
14064
|
/**
|
|
@@ -14074,6 +14286,7 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14074
14286
|
* @param {string} [contributorId]
|
|
14075
14287
|
* @param {string} [languageCode]
|
|
14076
14288
|
* @param {boolean} [showHidden]
|
|
14289
|
+
* @param {boolean} [returnDefaultValue]
|
|
14077
14290
|
* @param {number} [page]
|
|
14078
14291
|
* @param {number} [limit]
|
|
14079
14292
|
* @param {Date} [lastRetrieved]
|
|
@@ -14081,8 +14294,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14081
14294
|
* @throws {RequiredError}
|
|
14082
14295
|
* @memberof ArticlesApi
|
|
14083
14296
|
*/
|
|
14084
|
-
public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14085
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14297
|
+
public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14298
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14086
14299
|
}
|
|
14087
14300
|
|
|
14088
14301
|
/**
|
|
@@ -14102,12 +14315,13 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14102
14315
|
* @summary Get Article by slug.
|
|
14103
14316
|
* @param {string} slug
|
|
14104
14317
|
* @param {string} [languageCode]
|
|
14318
|
+
* @param {boolean} [returnDefaultValue]
|
|
14105
14319
|
* @param {*} [options] Override http request option.
|
|
14106
14320
|
* @throws {RequiredError}
|
|
14107
14321
|
* @memberof ArticlesApi
|
|
14108
14322
|
*/
|
|
14109
|
-
public apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
14110
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
14323
|
+
public apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14324
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
14111
14325
|
}
|
|
14112
14326
|
}
|
|
14113
14327
|
|
|
@@ -16541,13 +16755,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16541
16755
|
* @param {boolean} [isOpen]
|
|
16542
16756
|
* @param {boolean} [isCompleted]
|
|
16543
16757
|
* @param {ConsultationStatus} [status]
|
|
16758
|
+
* @param {ConsultationType} [consultationType]
|
|
16544
16759
|
* @param {number} [page]
|
|
16545
16760
|
* @param {number} [limit]
|
|
16546
16761
|
* @param {Date} [lastRetrieved]
|
|
16547
16762
|
* @param {*} [options] Override http request option.
|
|
16548
16763
|
* @throws {RequiredError}
|
|
16549
16764
|
*/
|
|
16550
|
-
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16765
|
+
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16551
16766
|
const localVarPath = `/api/v1/consultations`;
|
|
16552
16767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16553
16768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16580,6 +16795,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16580
16795
|
localVarQueryParameter['Status'] = status;
|
|
16581
16796
|
}
|
|
16582
16797
|
|
|
16798
|
+
if (consultationType !== undefined) {
|
|
16799
|
+
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
16800
|
+
}
|
|
16801
|
+
|
|
16583
16802
|
if (page !== undefined) {
|
|
16584
16803
|
localVarQueryParameter['page'] = page;
|
|
16585
16804
|
}
|
|
@@ -16679,14 +16898,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
16679
16898
|
* @param {boolean} [isOpen]
|
|
16680
16899
|
* @param {boolean} [isCompleted]
|
|
16681
16900
|
* @param {ConsultationStatus} [status]
|
|
16901
|
+
* @param {ConsultationType} [consultationType]
|
|
16682
16902
|
* @param {number} [page]
|
|
16683
16903
|
* @param {number} [limit]
|
|
16684
16904
|
* @param {Date} [lastRetrieved]
|
|
16685
16905
|
* @param {*} [options] Override http request option.
|
|
16686
16906
|
* @throws {RequiredError}
|
|
16687
16907
|
*/
|
|
16688
|
-
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
16689
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options);
|
|
16908
|
+
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
16909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
|
|
16690
16910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16691
16911
|
},
|
|
16692
16912
|
}
|
|
@@ -16758,14 +16978,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
16758
16978
|
* @param {boolean} [isOpen]
|
|
16759
16979
|
* @param {boolean} [isCompleted]
|
|
16760
16980
|
* @param {ConsultationStatus} [status]
|
|
16981
|
+
* @param {ConsultationType} [consultationType]
|
|
16761
16982
|
* @param {number} [page]
|
|
16762
16983
|
* @param {number} [limit]
|
|
16763
16984
|
* @param {Date} [lastRetrieved]
|
|
16764
16985
|
* @param {*} [options] Override http request option.
|
|
16765
16986
|
* @throws {RequiredError}
|
|
16766
16987
|
*/
|
|
16767
|
-
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16768
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16988
|
+
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16989
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16769
16990
|
},
|
|
16770
16991
|
};
|
|
16771
16992
|
};
|
|
@@ -16846,6 +17067,7 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16846
17067
|
* @param {boolean} [isOpen]
|
|
16847
17068
|
* @param {boolean} [isCompleted]
|
|
16848
17069
|
* @param {ConsultationStatus} [status]
|
|
17070
|
+
* @param {ConsultationType} [consultationType]
|
|
16849
17071
|
* @param {number} [page]
|
|
16850
17072
|
* @param {number} [limit]
|
|
16851
17073
|
* @param {Date} [lastRetrieved]
|
|
@@ -16853,8 +17075,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16853
17075
|
* @throws {RequiredError}
|
|
16854
17076
|
* @memberof ConsultationsApi
|
|
16855
17077
|
*/
|
|
16856
|
-
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16857
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17078
|
+
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17079
|
+
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16858
17080
|
}
|
|
16859
17081
|
}
|
|
16860
17082
|
|
|
@@ -17243,9 +17465,9 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17243
17465
|
* @param {string} [email]
|
|
17244
17466
|
* @param {string} [description]
|
|
17245
17467
|
* @param {string} [website]
|
|
17246
|
-
* @param {string} [languageCode]
|
|
17247
17468
|
* @param {string} [hospitalId]
|
|
17248
17469
|
* @param {boolean} [interviewerOnly]
|
|
17470
|
+
* @param {string} [languageCode]
|
|
17249
17471
|
* @param {boolean} [showHidden]
|
|
17250
17472
|
* @param {number} [page]
|
|
17251
17473
|
* @param {number} [limit]
|
|
@@ -17253,7 +17475,7 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17253
17475
|
* @param {*} [options] Override http request option.
|
|
17254
17476
|
* @throws {RequiredError}
|
|
17255
17477
|
*/
|
|
17256
|
-
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17478
|
+
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17257
17479
|
const localVarPath = `/api/v1/contributors`;
|
|
17258
17480
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17259
17481
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17290,10 +17512,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17290
17512
|
localVarQueryParameter['Website'] = website;
|
|
17291
17513
|
}
|
|
17292
17514
|
|
|
17293
|
-
if (languageCode !== undefined) {
|
|
17294
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17295
|
-
}
|
|
17296
|
-
|
|
17297
17515
|
if (hospitalId !== undefined) {
|
|
17298
17516
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17299
17517
|
}
|
|
@@ -17302,6 +17520,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17302
17520
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
17303
17521
|
}
|
|
17304
17522
|
|
|
17523
|
+
if (languageCode !== undefined) {
|
|
17524
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17525
|
+
}
|
|
17526
|
+
|
|
17305
17527
|
if (showHidden !== undefined) {
|
|
17306
17528
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17307
17529
|
}
|
|
@@ -17532,9 +17754,9 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17532
17754
|
* @param {string} [email]
|
|
17533
17755
|
* @param {string} [description]
|
|
17534
17756
|
* @param {string} [website]
|
|
17535
|
-
* @param {string} [languageCode]
|
|
17536
17757
|
* @param {string} [hospitalId]
|
|
17537
17758
|
* @param {boolean} [interviewerOnly]
|
|
17759
|
+
* @param {string} [languageCode]
|
|
17538
17760
|
* @param {boolean} [showHidden]
|
|
17539
17761
|
* @param {number} [page]
|
|
17540
17762
|
* @param {number} [limit]
|
|
@@ -17542,8 +17764,8 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17542
17764
|
* @param {*} [options] Override http request option.
|
|
17543
17765
|
* @throws {RequiredError}
|
|
17544
17766
|
*/
|
|
17545
|
-
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17546
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website,
|
|
17767
|
+
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
17768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
17547
17769
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17548
17770
|
},
|
|
17549
17771
|
/**
|
|
@@ -17681,9 +17903,9 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17681
17903
|
* @param {string} [email]
|
|
17682
17904
|
* @param {string} [description]
|
|
17683
17905
|
* @param {string} [website]
|
|
17684
|
-
* @param {string} [languageCode]
|
|
17685
17906
|
* @param {string} [hospitalId]
|
|
17686
17907
|
* @param {boolean} [interviewerOnly]
|
|
17908
|
+
* @param {string} [languageCode]
|
|
17687
17909
|
* @param {boolean} [showHidden]
|
|
17688
17910
|
* @param {number} [page]
|
|
17689
17911
|
* @param {number} [limit]
|
|
@@ -17691,8 +17913,8 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17691
17913
|
* @param {*} [options] Override http request option.
|
|
17692
17914
|
* @throws {RequiredError}
|
|
17693
17915
|
*/
|
|
17694
|
-
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17695
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website,
|
|
17916
|
+
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
17917
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17696
17918
|
},
|
|
17697
17919
|
/**
|
|
17698
17920
|
*
|
|
@@ -17843,9 +18065,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17843
18065
|
* @param {string} [email]
|
|
17844
18066
|
* @param {string} [description]
|
|
17845
18067
|
* @param {string} [website]
|
|
17846
|
-
* @param {string} [languageCode]
|
|
17847
18068
|
* @param {string} [hospitalId]
|
|
17848
18069
|
* @param {boolean} [interviewerOnly]
|
|
18070
|
+
* @param {string} [languageCode]
|
|
17849
18071
|
* @param {boolean} [showHidden]
|
|
17850
18072
|
* @param {number} [page]
|
|
17851
18073
|
* @param {number} [limit]
|
|
@@ -17854,8 +18076,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17854
18076
|
* @throws {RequiredError}
|
|
17855
18077
|
* @memberof ContributorsApi
|
|
17856
18078
|
*/
|
|
17857
|
-
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17858
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website,
|
|
18079
|
+
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
18080
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17859
18081
|
}
|
|
17860
18082
|
|
|
17861
18083
|
/**
|
|
@@ -17934,10 +18156,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17934
18156
|
* @summary Get country.
|
|
17935
18157
|
* @param {string} countryId
|
|
17936
18158
|
* @param {string} [languageCode]
|
|
18159
|
+
* @param {boolean} [returnDefaultValue]
|
|
17937
18160
|
* @param {*} [options] Override http request option.
|
|
17938
18161
|
* @throws {RequiredError}
|
|
17939
18162
|
*/
|
|
17940
|
-
apiV1CountriesCountryIdGet: async (countryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18163
|
+
apiV1CountriesCountryIdGet: async (countryId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17941
18164
|
// verify required parameter 'countryId' is not null or undefined
|
|
17942
18165
|
assertParamExists('apiV1CountriesCountryIdGet', 'countryId', countryId)
|
|
17943
18166
|
const localVarPath = `/api/v1/countries/{countryId}`
|
|
@@ -17961,6 +18184,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17961
18184
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17962
18185
|
}
|
|
17963
18186
|
|
|
18187
|
+
if (returnDefaultValue !== undefined) {
|
|
18188
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18189
|
+
}
|
|
18190
|
+
|
|
17964
18191
|
|
|
17965
18192
|
|
|
17966
18193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18298,13 +18525,14 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18298
18525
|
* @param {Date} [createdDate]
|
|
18299
18526
|
* @param {string} [languageCode]
|
|
18300
18527
|
* @param {boolean} [showHidden]
|
|
18528
|
+
* @param {boolean} [returnDefaultValue]
|
|
18301
18529
|
* @param {number} [page]
|
|
18302
18530
|
* @param {number} [limit]
|
|
18303
18531
|
* @param {Date} [lastRetrieved]
|
|
18304
18532
|
* @param {*} [options] Override http request option.
|
|
18305
18533
|
* @throws {RequiredError}
|
|
18306
18534
|
*/
|
|
18307
|
-
apiV1CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18535
|
+
apiV1CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18308
18536
|
const localVarPath = `/api/v1/countries`;
|
|
18309
18537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18310
18538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18347,6 +18575,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18347
18575
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18348
18576
|
}
|
|
18349
18577
|
|
|
18578
|
+
if (returnDefaultValue !== undefined) {
|
|
18579
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18580
|
+
}
|
|
18581
|
+
|
|
18350
18582
|
if (page !== undefined) {
|
|
18351
18583
|
localVarQueryParameter['page'] = page;
|
|
18352
18584
|
}
|
|
@@ -18415,10 +18647,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18415
18647
|
* @summary Get country by slug.
|
|
18416
18648
|
* @param {string} slug
|
|
18417
18649
|
* @param {string} [languageCode]
|
|
18650
|
+
* @param {boolean} [returnDefaultValue]
|
|
18418
18651
|
* @param {*} [options] Override http request option.
|
|
18419
18652
|
* @throws {RequiredError}
|
|
18420
18653
|
*/
|
|
18421
|
-
apiV1CountriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18654
|
+
apiV1CountriesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18422
18655
|
// verify required parameter 'slug' is not null or undefined
|
|
18423
18656
|
assertParamExists('apiV1CountriesSlugGet', 'slug', slug)
|
|
18424
18657
|
const localVarPath = `/api/v1/countries/{slug}`
|
|
@@ -18442,6 +18675,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18442
18675
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18443
18676
|
}
|
|
18444
18677
|
|
|
18678
|
+
if (returnDefaultValue !== undefined) {
|
|
18679
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18680
|
+
}
|
|
18681
|
+
|
|
18445
18682
|
|
|
18446
18683
|
|
|
18447
18684
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18479,11 +18716,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18479
18716
|
* @summary Get country.
|
|
18480
18717
|
* @param {string} countryId
|
|
18481
18718
|
* @param {string} [languageCode]
|
|
18719
|
+
* @param {boolean} [returnDefaultValue]
|
|
18482
18720
|
* @param {*} [options] Override http request option.
|
|
18483
18721
|
* @throws {RequiredError}
|
|
18484
18722
|
*/
|
|
18485
|
-
async apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18486
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, options);
|
|
18723
|
+
async apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options);
|
|
18487
18725
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18488
18726
|
},
|
|
18489
18727
|
/**
|
|
@@ -18583,14 +18821,15 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18583
18821
|
* @param {Date} [createdDate]
|
|
18584
18822
|
* @param {string} [languageCode]
|
|
18585
18823
|
* @param {boolean} [showHidden]
|
|
18824
|
+
* @param {boolean} [returnDefaultValue]
|
|
18586
18825
|
* @param {number} [page]
|
|
18587
18826
|
* @param {number} [limit]
|
|
18588
18827
|
* @param {Date} [lastRetrieved]
|
|
18589
18828
|
* @param {*} [options] Override http request option.
|
|
18590
18829
|
* @throws {RequiredError}
|
|
18591
18830
|
*/
|
|
18592
|
-
async apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
|
|
18593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
18831
|
+
async apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
|
|
18832
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
18594
18833
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18595
18834
|
},
|
|
18596
18835
|
/**
|
|
@@ -18609,11 +18848,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18609
18848
|
* @summary Get country by slug.
|
|
18610
18849
|
* @param {string} slug
|
|
18611
18850
|
* @param {string} [languageCode]
|
|
18851
|
+
* @param {boolean} [returnDefaultValue]
|
|
18612
18852
|
* @param {*} [options] Override http request option.
|
|
18613
18853
|
* @throws {RequiredError}
|
|
18614
18854
|
*/
|
|
18615
|
-
async apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18616
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, options);
|
|
18855
|
+
async apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18856
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
18617
18857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18618
18858
|
},
|
|
18619
18859
|
}
|
|
@@ -18641,11 +18881,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18641
18881
|
* @summary Get country.
|
|
18642
18882
|
* @param {string} countryId
|
|
18643
18883
|
* @param {string} [languageCode]
|
|
18884
|
+
* @param {boolean} [returnDefaultValue]
|
|
18644
18885
|
* @param {*} [options] Override http request option.
|
|
18645
18886
|
* @throws {RequiredError}
|
|
18646
18887
|
*/
|
|
18647
|
-
apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: any): AxiosPromise<CountryModel> {
|
|
18648
|
-
return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, options).then((request) => request(axios, basePath));
|
|
18888
|
+
apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
18889
|
+
return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
18649
18890
|
},
|
|
18650
18891
|
/**
|
|
18651
18892
|
*
|
|
@@ -18737,14 +18978,15 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18737
18978
|
* @param {Date} [createdDate]
|
|
18738
18979
|
* @param {string} [languageCode]
|
|
18739
18980
|
* @param {boolean} [showHidden]
|
|
18981
|
+
* @param {boolean} [returnDefaultValue]
|
|
18740
18982
|
* @param {number} [page]
|
|
18741
18983
|
* @param {number} [limit]
|
|
18742
18984
|
* @param {Date} [lastRetrieved]
|
|
18743
18985
|
* @param {*} [options] Override http request option.
|
|
18744
18986
|
* @throws {RequiredError}
|
|
18745
18987
|
*/
|
|
18746
|
-
apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
|
|
18747
|
-
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18988
|
+
apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
|
|
18989
|
+
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18748
18990
|
},
|
|
18749
18991
|
/**
|
|
18750
18992
|
*
|
|
@@ -18761,11 +19003,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18761
19003
|
* @summary Get country by slug.
|
|
18762
19004
|
* @param {string} slug
|
|
18763
19005
|
* @param {string} [languageCode]
|
|
19006
|
+
* @param {boolean} [returnDefaultValue]
|
|
18764
19007
|
* @param {*} [options] Override http request option.
|
|
18765
19008
|
* @throws {RequiredError}
|
|
18766
19009
|
*/
|
|
18767
|
-
apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<CountryModel> {
|
|
18768
|
-
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
19010
|
+
apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
19011
|
+
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
18769
19012
|
},
|
|
18770
19013
|
};
|
|
18771
19014
|
};
|
|
@@ -18794,12 +19037,13 @@ export class CountriesApi extends BaseAPI {
|
|
|
18794
19037
|
* @summary Get country.
|
|
18795
19038
|
* @param {string} countryId
|
|
18796
19039
|
* @param {string} [languageCode]
|
|
19040
|
+
* @param {boolean} [returnDefaultValue]
|
|
18797
19041
|
* @param {*} [options] Override http request option.
|
|
18798
19042
|
* @throws {RequiredError}
|
|
18799
19043
|
* @memberof CountriesApi
|
|
18800
19044
|
*/
|
|
18801
|
-
public apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
18802
|
-
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19045
|
+
public apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19046
|
+
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
18803
19047
|
}
|
|
18804
19048
|
|
|
18805
19049
|
/**
|
|
@@ -18906,6 +19150,7 @@ export class CountriesApi extends BaseAPI {
|
|
|
18906
19150
|
* @param {Date} [createdDate]
|
|
18907
19151
|
* @param {string} [languageCode]
|
|
18908
19152
|
* @param {boolean} [showHidden]
|
|
19153
|
+
* @param {boolean} [returnDefaultValue]
|
|
18909
19154
|
* @param {number} [page]
|
|
18910
19155
|
* @param {number} [limit]
|
|
18911
19156
|
* @param {Date} [lastRetrieved]
|
|
@@ -18913,8 +19158,8 @@ export class CountriesApi extends BaseAPI {
|
|
|
18913
19158
|
* @throws {RequiredError}
|
|
18914
19159
|
* @memberof CountriesApi
|
|
18915
19160
|
*/
|
|
18916
|
-
public apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
18917
|
-
return CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19161
|
+
public apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19162
|
+
return CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18918
19163
|
}
|
|
18919
19164
|
|
|
18920
19165
|
/**
|
|
@@ -18934,12 +19179,13 @@ export class CountriesApi extends BaseAPI {
|
|
|
18934
19179
|
* @summary Get country by slug.
|
|
18935
19180
|
* @param {string} slug
|
|
18936
19181
|
* @param {string} [languageCode]
|
|
19182
|
+
* @param {boolean} [returnDefaultValue]
|
|
18937
19183
|
* @param {*} [options] Override http request option.
|
|
18938
19184
|
* @throws {RequiredError}
|
|
18939
19185
|
* @memberof CountriesApi
|
|
18940
19186
|
*/
|
|
18941
|
-
public apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
18942
|
-
return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19187
|
+
public apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19188
|
+
return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
18943
19189
|
}
|
|
18944
19190
|
}
|
|
18945
19191
|
|
|
@@ -18992,10 +19238,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18992
19238
|
*
|
|
18993
19239
|
* @summary Get deal.
|
|
18994
19240
|
* @param {string} dealId
|
|
19241
|
+
* @param {string} [languageCode]
|
|
19242
|
+
* @param {boolean} [returnDefaultValue]
|
|
18995
19243
|
* @param {*} [options] Override http request option.
|
|
18996
19244
|
* @throws {RequiredError}
|
|
18997
19245
|
*/
|
|
18998
|
-
apiV1DealsDealIdGet: async (dealId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19246
|
+
apiV1DealsDealIdGet: async (dealId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18999
19247
|
// verify required parameter 'dealId' is not null or undefined
|
|
19000
19248
|
assertParamExists('apiV1DealsDealIdGet', 'dealId', dealId)
|
|
19001
19249
|
const localVarPath = `/api/v1/deals/{dealId}`
|
|
@@ -19015,6 +19263,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19015
19263
|
// oauth required
|
|
19016
19264
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
19017
19265
|
|
|
19266
|
+
if (languageCode !== undefined) {
|
|
19267
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
19268
|
+
}
|
|
19269
|
+
|
|
19270
|
+
if (returnDefaultValue !== undefined) {
|
|
19271
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19272
|
+
}
|
|
19273
|
+
|
|
19018
19274
|
|
|
19019
19275
|
|
|
19020
19276
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19566,13 +19822,16 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19566
19822
|
* @param {string} [exceptHospitalId]
|
|
19567
19823
|
* @param {string} [exceptDealId]
|
|
19568
19824
|
* @param {Array<string>} [ids]
|
|
19825
|
+
* @param {string} [languageCode]
|
|
19826
|
+
* @param {boolean} [showHidden]
|
|
19827
|
+
* @param {boolean} [returnDefaultValue]
|
|
19569
19828
|
* @param {number} [page]
|
|
19570
19829
|
* @param {number} [limit]
|
|
19571
19830
|
* @param {Date} [lastRetrieved]
|
|
19572
19831
|
* @param {*} [options] Override http request option.
|
|
19573
19832
|
* @throws {RequiredError}
|
|
19574
19833
|
*/
|
|
19575
|
-
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19834
|
+
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19576
19835
|
const localVarPath = `/api/v1/deals`;
|
|
19577
19836
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19578
19837
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19633,6 +19892,18 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19633
19892
|
localVarQueryParameter['Ids'] = ids;
|
|
19634
19893
|
}
|
|
19635
19894
|
|
|
19895
|
+
if (languageCode !== undefined) {
|
|
19896
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19897
|
+
}
|
|
19898
|
+
|
|
19899
|
+
if (showHidden !== undefined) {
|
|
19900
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
19901
|
+
}
|
|
19902
|
+
|
|
19903
|
+
if (returnDefaultValue !== undefined) {
|
|
19904
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19905
|
+
}
|
|
19906
|
+
|
|
19636
19907
|
if (page !== undefined) {
|
|
19637
19908
|
localVarQueryParameter['page'] = page;
|
|
19638
19909
|
}
|
|
@@ -19700,10 +19971,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19700
19971
|
*
|
|
19701
19972
|
* @summary Get deal by slug.
|
|
19702
19973
|
* @param {string} slug
|
|
19974
|
+
* @param {string} [languageCode]
|
|
19975
|
+
* @param {boolean} [returnDefaultValue]
|
|
19703
19976
|
* @param {*} [options] Override http request option.
|
|
19704
19977
|
* @throws {RequiredError}
|
|
19705
19978
|
*/
|
|
19706
|
-
apiV1DealsSlugGet: async (slug: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19979
|
+
apiV1DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19707
19980
|
// verify required parameter 'slug' is not null or undefined
|
|
19708
19981
|
assertParamExists('apiV1DealsSlugGet', 'slug', slug)
|
|
19709
19982
|
const localVarPath = `/api/v1/deals/{slug}`
|
|
@@ -19723,6 +19996,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19723
19996
|
// oauth required
|
|
19724
19997
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
19725
19998
|
|
|
19999
|
+
if (languageCode !== undefined) {
|
|
20000
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
20001
|
+
}
|
|
20002
|
+
|
|
20003
|
+
if (returnDefaultValue !== undefined) {
|
|
20004
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
20005
|
+
}
|
|
20006
|
+
|
|
19726
20007
|
|
|
19727
20008
|
|
|
19728
20009
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19759,11 +20040,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19759
20040
|
*
|
|
19760
20041
|
* @summary Get deal.
|
|
19761
20042
|
* @param {string} dealId
|
|
20043
|
+
* @param {string} [languageCode]
|
|
20044
|
+
* @param {boolean} [returnDefaultValue]
|
|
19762
20045
|
* @param {*} [options] Override http request option.
|
|
19763
20046
|
* @throws {RequiredError}
|
|
19764
20047
|
*/
|
|
19765
|
-
async apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
19766
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, options);
|
|
20048
|
+
async apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options);
|
|
19767
20050
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19768
20051
|
},
|
|
19769
20052
|
/**
|
|
@@ -19924,14 +20207,17 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19924
20207
|
* @param {string} [exceptHospitalId]
|
|
19925
20208
|
* @param {string} [exceptDealId]
|
|
19926
20209
|
* @param {Array<string>} [ids]
|
|
20210
|
+
* @param {string} [languageCode]
|
|
20211
|
+
* @param {boolean} [showHidden]
|
|
20212
|
+
* @param {boolean} [returnDefaultValue]
|
|
19927
20213
|
* @param {number} [page]
|
|
19928
20214
|
* @param {number} [limit]
|
|
19929
20215
|
* @param {Date} [lastRetrieved]
|
|
19930
20216
|
* @param {*} [options] Override http request option.
|
|
19931
20217
|
* @throws {RequiredError}
|
|
19932
20218
|
*/
|
|
19933
|
-
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
19934
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options);
|
|
20219
|
+
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
20220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
19935
20221
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19936
20222
|
},
|
|
19937
20223
|
/**
|
|
@@ -19949,11 +20235,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19949
20235
|
*
|
|
19950
20236
|
* @summary Get deal by slug.
|
|
19951
20237
|
* @param {string} slug
|
|
20238
|
+
* @param {string} [languageCode]
|
|
20239
|
+
* @param {boolean} [returnDefaultValue]
|
|
19952
20240
|
* @param {*} [options] Override http request option.
|
|
19953
20241
|
* @throws {RequiredError}
|
|
19954
20242
|
*/
|
|
19955
|
-
async apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
19956
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSlugGet(slug, options);
|
|
20243
|
+
async apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20244
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
19957
20245
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19958
20246
|
},
|
|
19959
20247
|
}
|
|
@@ -19980,11 +20268,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
19980
20268
|
*
|
|
19981
20269
|
* @summary Get deal.
|
|
19982
20270
|
* @param {string} dealId
|
|
20271
|
+
* @param {string} [languageCode]
|
|
20272
|
+
* @param {boolean} [returnDefaultValue]
|
|
19983
20273
|
* @param {*} [options] Override http request option.
|
|
19984
20274
|
* @throws {RequiredError}
|
|
19985
20275
|
*/
|
|
19986
|
-
apiV1DealsDealIdGet(dealId: string, options?: any): AxiosPromise<DealModel> {
|
|
19987
|
-
return localVarFp.apiV1DealsDealIdGet(dealId, options).then((request) => request(axios, basePath));
|
|
20276
|
+
apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
20277
|
+
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
19988
20278
|
},
|
|
19989
20279
|
/**
|
|
19990
20280
|
*
|
|
@@ -20133,14 +20423,17 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20133
20423
|
* @param {string} [exceptHospitalId]
|
|
20134
20424
|
* @param {string} [exceptDealId]
|
|
20135
20425
|
* @param {Array<string>} [ids]
|
|
20426
|
+
* @param {string} [languageCode]
|
|
20427
|
+
* @param {boolean} [showHidden]
|
|
20428
|
+
* @param {boolean} [returnDefaultValue]
|
|
20136
20429
|
* @param {number} [page]
|
|
20137
20430
|
* @param {number} [limit]
|
|
20138
20431
|
* @param {Date} [lastRetrieved]
|
|
20139
20432
|
* @param {*} [options] Override http request option.
|
|
20140
20433
|
* @throws {RequiredError}
|
|
20141
20434
|
*/
|
|
20142
|
-
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
20143
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20435
|
+
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
20436
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20144
20437
|
},
|
|
20145
20438
|
/**
|
|
20146
20439
|
*
|
|
@@ -20156,11 +20449,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20156
20449
|
*
|
|
20157
20450
|
* @summary Get deal by slug.
|
|
20158
20451
|
* @param {string} slug
|
|
20452
|
+
* @param {string} [languageCode]
|
|
20453
|
+
* @param {boolean} [returnDefaultValue]
|
|
20159
20454
|
* @param {*} [options] Override http request option.
|
|
20160
20455
|
* @throws {RequiredError}
|
|
20161
20456
|
*/
|
|
20162
|
-
apiV1DealsSlugGet(slug: string, options?: any): AxiosPromise<DealModel> {
|
|
20163
|
-
return localVarFp.apiV1DealsSlugGet(slug, options).then((request) => request(axios, basePath));
|
|
20457
|
+
apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
20458
|
+
return localVarFp.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
20164
20459
|
},
|
|
20165
20460
|
};
|
|
20166
20461
|
};
|
|
@@ -20188,12 +20483,14 @@ export class DealsApi extends BaseAPI {
|
|
|
20188
20483
|
*
|
|
20189
20484
|
* @summary Get deal.
|
|
20190
20485
|
* @param {string} dealId
|
|
20486
|
+
* @param {string} [languageCode]
|
|
20487
|
+
* @param {boolean} [returnDefaultValue]
|
|
20191
20488
|
* @param {*} [options] Override http request option.
|
|
20192
20489
|
* @throws {RequiredError}
|
|
20193
20490
|
* @memberof DealsApi
|
|
20194
20491
|
*/
|
|
20195
|
-
public apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig) {
|
|
20196
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, options).then((request) => request(this.axios, this.basePath));
|
|
20492
|
+
public apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
20493
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
20197
20494
|
}
|
|
20198
20495
|
|
|
20199
20496
|
/**
|
|
@@ -20365,6 +20662,9 @@ export class DealsApi extends BaseAPI {
|
|
|
20365
20662
|
* @param {string} [exceptHospitalId]
|
|
20366
20663
|
* @param {string} [exceptDealId]
|
|
20367
20664
|
* @param {Array<string>} [ids]
|
|
20665
|
+
* @param {string} [languageCode]
|
|
20666
|
+
* @param {boolean} [showHidden]
|
|
20667
|
+
* @param {boolean} [returnDefaultValue]
|
|
20368
20668
|
* @param {number} [page]
|
|
20369
20669
|
* @param {number} [limit]
|
|
20370
20670
|
* @param {Date} [lastRetrieved]
|
|
@@ -20372,8 +20672,8 @@ export class DealsApi extends BaseAPI {
|
|
|
20372
20672
|
* @throws {RequiredError}
|
|
20373
20673
|
* @memberof DealsApi
|
|
20374
20674
|
*/
|
|
20375
|
-
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20376
|
-
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20675
|
+
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20676
|
+
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20377
20677
|
}
|
|
20378
20678
|
|
|
20379
20679
|
/**
|
|
@@ -20392,12 +20692,14 @@ export class DealsApi extends BaseAPI {
|
|
|
20392
20692
|
*
|
|
20393
20693
|
* @summary Get deal by slug.
|
|
20394
20694
|
* @param {string} slug
|
|
20695
|
+
* @param {string} [languageCode]
|
|
20696
|
+
* @param {boolean} [returnDefaultValue]
|
|
20395
20697
|
* @param {*} [options] Override http request option.
|
|
20396
20698
|
* @throws {RequiredError}
|
|
20397
20699
|
* @memberof DealsApi
|
|
20398
20700
|
*/
|
|
20399
|
-
public apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig) {
|
|
20400
|
-
return DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, options).then((request) => request(this.axios, this.basePath));
|
|
20701
|
+
public apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
20702
|
+
return DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
20401
20703
|
}
|
|
20402
20704
|
}
|
|
20403
20705
|
|
|
@@ -21146,10 +21448,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21146
21448
|
* @summary Get Doctor.
|
|
21147
21449
|
* @param {string} doctorId
|
|
21148
21450
|
* @param {string} [languageCode]
|
|
21451
|
+
* @param {boolean} [returnDefaultValue]
|
|
21149
21452
|
* @param {*} [options] Override http request option.
|
|
21150
21453
|
* @throws {RequiredError}
|
|
21151
21454
|
*/
|
|
21152
|
-
apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21455
|
+
apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21153
21456
|
// verify required parameter 'doctorId' is not null or undefined
|
|
21154
21457
|
assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
|
|
21155
21458
|
const localVarPath = `/api/v1/doctors/{doctorId}`
|
|
@@ -21173,6 +21476,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21173
21476
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
21174
21477
|
}
|
|
21175
21478
|
|
|
21479
|
+
if (returnDefaultValue !== undefined) {
|
|
21480
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
21481
|
+
}
|
|
21482
|
+
|
|
21176
21483
|
|
|
21177
21484
|
|
|
21178
21485
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -21952,6 +22259,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21952
22259
|
* @summary Get all Doctors.
|
|
21953
22260
|
* @param {string} [hospitalId]
|
|
21954
22261
|
* @param {string} [languageCode]
|
|
22262
|
+
* @param {boolean} [returnDefaultValue]
|
|
21955
22263
|
* @param {string} [id]
|
|
21956
22264
|
* @param {string} [fullname]
|
|
21957
22265
|
* @param {string} [email]
|
|
@@ -21965,7 +22273,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21965
22273
|
* @param {*} [options] Override http request option.
|
|
21966
22274
|
* @throws {RequiredError}
|
|
21967
22275
|
*/
|
|
21968
|
-
apiV1DoctorsGet: async (hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22276
|
+
apiV1DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21969
22277
|
const localVarPath = `/api/v1/doctors`;
|
|
21970
22278
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21971
22279
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21990,6 +22298,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21990
22298
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21991
22299
|
}
|
|
21992
22300
|
|
|
22301
|
+
if (returnDefaultValue !== undefined) {
|
|
22302
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
22303
|
+
}
|
|
22304
|
+
|
|
21993
22305
|
if (id !== undefined) {
|
|
21994
22306
|
localVarQueryParameter['Id'] = id;
|
|
21995
22307
|
}
|
|
@@ -22090,10 +22402,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22090
22402
|
* @summary Get Doctor by slug.
|
|
22091
22403
|
* @param {string} slug
|
|
22092
22404
|
* @param {string} [languageCode]
|
|
22405
|
+
* @param {boolean} [returnDefaultValue]
|
|
22093
22406
|
* @param {*} [options] Override http request option.
|
|
22094
22407
|
* @throws {RequiredError}
|
|
22095
22408
|
*/
|
|
22096
|
-
apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22409
|
+
apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22097
22410
|
// verify required parameter 'slug' is not null or undefined
|
|
22098
22411
|
assertParamExists('apiV1DoctorsSlugGet', 'slug', slug)
|
|
22099
22412
|
const localVarPath = `/api/v1/doctors/{slug}`
|
|
@@ -22117,6 +22430,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22117
22430
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
22118
22431
|
}
|
|
22119
22432
|
|
|
22433
|
+
if (returnDefaultValue !== undefined) {
|
|
22434
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
22435
|
+
}
|
|
22436
|
+
|
|
22120
22437
|
|
|
22121
22438
|
|
|
22122
22439
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22340,11 +22657,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22340
22657
|
* @summary Get Doctor.
|
|
22341
22658
|
* @param {string} doctorId
|
|
22342
22659
|
* @param {string} [languageCode]
|
|
22660
|
+
* @param {boolean} [returnDefaultValue]
|
|
22343
22661
|
* @param {*} [options] Override http request option.
|
|
22344
22662
|
* @throws {RequiredError}
|
|
22345
22663
|
*/
|
|
22346
|
-
async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22347
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
|
|
22664
|
+
async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
|
|
22348
22666
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22349
22667
|
},
|
|
22350
22668
|
/**
|
|
@@ -22561,6 +22879,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22561
22879
|
* @summary Get all Doctors.
|
|
22562
22880
|
* @param {string} [hospitalId]
|
|
22563
22881
|
* @param {string} [languageCode]
|
|
22882
|
+
* @param {boolean} [returnDefaultValue]
|
|
22564
22883
|
* @param {string} [id]
|
|
22565
22884
|
* @param {string} [fullname]
|
|
22566
22885
|
* @param {string} [email]
|
|
@@ -22574,8 +22893,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22574
22893
|
* @param {*} [options] Override http request option.
|
|
22575
22894
|
* @throws {RequiredError}
|
|
22576
22895
|
*/
|
|
22577
|
-
async apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
22578
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
22896
|
+
async apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
22897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
22579
22898
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22580
22899
|
},
|
|
22581
22900
|
/**
|
|
@@ -22594,11 +22913,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22594
22913
|
* @summary Get Doctor by slug.
|
|
22595
22914
|
* @param {string} slug
|
|
22596
22915
|
* @param {string} [languageCode]
|
|
22916
|
+
* @param {boolean} [returnDefaultValue]
|
|
22597
22917
|
* @param {*} [options] Override http request option.
|
|
22598
22918
|
* @throws {RequiredError}
|
|
22599
22919
|
*/
|
|
22600
|
-
async apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22601
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options);
|
|
22920
|
+
async apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
22602
22922
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22603
22923
|
},
|
|
22604
22924
|
}
|
|
@@ -22798,11 +23118,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22798
23118
|
* @summary Get Doctor.
|
|
22799
23119
|
* @param {string} doctorId
|
|
22800
23120
|
* @param {string} [languageCode]
|
|
23121
|
+
* @param {boolean} [returnDefaultValue]
|
|
22801
23122
|
* @param {*} [options] Override http request option.
|
|
22802
23123
|
* @throws {RequiredError}
|
|
22803
23124
|
*/
|
|
22804
|
-
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
|
|
22805
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
|
|
23125
|
+
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
23126
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
22806
23127
|
},
|
|
22807
23128
|
/**
|
|
22808
23129
|
*
|
|
@@ -23002,6 +23323,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23002
23323
|
* @summary Get all Doctors.
|
|
23003
23324
|
* @param {string} [hospitalId]
|
|
23004
23325
|
* @param {string} [languageCode]
|
|
23326
|
+
* @param {boolean} [returnDefaultValue]
|
|
23005
23327
|
* @param {string} [id]
|
|
23006
23328
|
* @param {string} [fullname]
|
|
23007
23329
|
* @param {string} [email]
|
|
@@ -23015,8 +23337,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23015
23337
|
* @param {*} [options] Override http request option.
|
|
23016
23338
|
* @throws {RequiredError}
|
|
23017
23339
|
*/
|
|
23018
|
-
apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
23019
|
-
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23340
|
+
apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
23341
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23020
23342
|
},
|
|
23021
23343
|
/**
|
|
23022
23344
|
*
|
|
@@ -23033,11 +23355,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23033
23355
|
* @summary Get Doctor by slug.
|
|
23034
23356
|
* @param {string} slug
|
|
23035
23357
|
* @param {string} [languageCode]
|
|
23358
|
+
* @param {boolean} [returnDefaultValue]
|
|
23036
23359
|
* @param {*} [options] Override http request option.
|
|
23037
23360
|
* @throws {RequiredError}
|
|
23038
23361
|
*/
|
|
23039
|
-
apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
|
|
23040
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
23362
|
+
apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
23363
|
+
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
23041
23364
|
},
|
|
23042
23365
|
};
|
|
23043
23366
|
};
|
|
@@ -23266,12 +23589,13 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23266
23589
|
* @summary Get Doctor.
|
|
23267
23590
|
* @param {string} doctorId
|
|
23268
23591
|
* @param {string} [languageCode]
|
|
23592
|
+
* @param {boolean} [returnDefaultValue]
|
|
23269
23593
|
* @param {*} [options] Override http request option.
|
|
23270
23594
|
* @throws {RequiredError}
|
|
23271
23595
|
* @memberof DoctorsApi
|
|
23272
23596
|
*/
|
|
23273
|
-
public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
23274
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
23597
|
+
public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
23598
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
23275
23599
|
}
|
|
23276
23600
|
|
|
23277
23601
|
/**
|
|
@@ -23504,6 +23828,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23504
23828
|
* @summary Get all Doctors.
|
|
23505
23829
|
* @param {string} [hospitalId]
|
|
23506
23830
|
* @param {string} [languageCode]
|
|
23831
|
+
* @param {boolean} [returnDefaultValue]
|
|
23507
23832
|
* @param {string} [id]
|
|
23508
23833
|
* @param {string} [fullname]
|
|
23509
23834
|
* @param {string} [email]
|
|
@@ -23518,8 +23843,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23518
23843
|
* @throws {RequiredError}
|
|
23519
23844
|
* @memberof DoctorsApi
|
|
23520
23845
|
*/
|
|
23521
|
-
public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23522
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23846
|
+
public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23847
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23523
23848
|
}
|
|
23524
23849
|
|
|
23525
23850
|
/**
|
|
@@ -23539,12 +23864,13 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23539
23864
|
* @summary Get Doctor by slug.
|
|
23540
23865
|
* @param {string} slug
|
|
23541
23866
|
* @param {string} [languageCode]
|
|
23867
|
+
* @param {boolean} [returnDefaultValue]
|
|
23542
23868
|
* @param {*} [options] Override http request option.
|
|
23543
23869
|
* @throws {RequiredError}
|
|
23544
23870
|
* @memberof DoctorsApi
|
|
23545
23871
|
*/
|
|
23546
|
-
public apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
23547
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
23872
|
+
public apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
23873
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
23548
23874
|
}
|
|
23549
23875
|
}
|
|
23550
23876
|
|
|
@@ -25052,14 +25378,17 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
25052
25378
|
* @param {string} [title]
|
|
25053
25379
|
* @param {string} [content]
|
|
25054
25380
|
* @param {string} [categoryId]
|
|
25381
|
+
* @param {string} [hospitalId]
|
|
25382
|
+
* @param {string} [hospitalName]
|
|
25055
25383
|
* @param {string} [languageCode]
|
|
25384
|
+
* @param {boolean} [showHidden]
|
|
25056
25385
|
* @param {number} [page]
|
|
25057
25386
|
* @param {number} [limit]
|
|
25058
25387
|
* @param {Date} [lastRetrieved]
|
|
25059
25388
|
* @param {*} [options] Override http request option.
|
|
25060
25389
|
* @throws {RequiredError}
|
|
25061
25390
|
*/
|
|
25062
|
-
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25391
|
+
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25063
25392
|
const localVarPath = `/api/v1/faqs`;
|
|
25064
25393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25065
25394
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25092,10 +25421,22 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
25092
25421
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
25093
25422
|
}
|
|
25094
25423
|
|
|
25424
|
+
if (hospitalId !== undefined) {
|
|
25425
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
25426
|
+
}
|
|
25427
|
+
|
|
25428
|
+
if (hospitalName !== undefined) {
|
|
25429
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
25430
|
+
}
|
|
25431
|
+
|
|
25095
25432
|
if (languageCode !== undefined) {
|
|
25096
25433
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25097
25434
|
}
|
|
25098
25435
|
|
|
25436
|
+
if (showHidden !== undefined) {
|
|
25437
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
25438
|
+
}
|
|
25439
|
+
|
|
25099
25440
|
if (page !== undefined) {
|
|
25100
25441
|
localVarQueryParameter['page'] = page;
|
|
25101
25442
|
}
|
|
@@ -25319,15 +25660,18 @@ export const FaqsApiFp = function(configuration?: Configuration) {
|
|
|
25319
25660
|
* @param {string} [title]
|
|
25320
25661
|
* @param {string} [content]
|
|
25321
25662
|
* @param {string} [categoryId]
|
|
25663
|
+
* @param {string} [hospitalId]
|
|
25664
|
+
* @param {string} [hospitalName]
|
|
25322
25665
|
* @param {string} [languageCode]
|
|
25666
|
+
* @param {boolean} [showHidden]
|
|
25323
25667
|
* @param {number} [page]
|
|
25324
25668
|
* @param {number} [limit]
|
|
25325
25669
|
* @param {Date} [lastRetrieved]
|
|
25326
25670
|
* @param {*} [options] Override http request option.
|
|
25327
25671
|
* @throws {RequiredError}
|
|
25328
25672
|
*/
|
|
25329
|
-
async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
|
|
25330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
|
|
25673
|
+
async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
|
|
25674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25331
25675
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25332
25676
|
},
|
|
25333
25677
|
/**
|
|
@@ -25462,15 +25806,18 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
25462
25806
|
* @param {string} [title]
|
|
25463
25807
|
* @param {string} [content]
|
|
25464
25808
|
* @param {string} [categoryId]
|
|
25809
|
+
* @param {string} [hospitalId]
|
|
25810
|
+
* @param {string} [hospitalName]
|
|
25465
25811
|
* @param {string} [languageCode]
|
|
25812
|
+
* @param {boolean} [showHidden]
|
|
25466
25813
|
* @param {number} [page]
|
|
25467
25814
|
* @param {number} [limit]
|
|
25468
25815
|
* @param {Date} [lastRetrieved]
|
|
25469
25816
|
* @param {*} [options] Override http request option.
|
|
25470
25817
|
* @throws {RequiredError}
|
|
25471
25818
|
*/
|
|
25472
|
-
apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
|
|
25473
|
-
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25819
|
+
apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
|
|
25820
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25474
25821
|
},
|
|
25475
25822
|
/**
|
|
25476
25823
|
*
|
|
@@ -25618,7 +25965,10 @@ export class FaqsApi extends BaseAPI {
|
|
|
25618
25965
|
* @param {string} [title]
|
|
25619
25966
|
* @param {string} [content]
|
|
25620
25967
|
* @param {string} [categoryId]
|
|
25968
|
+
* @param {string} [hospitalId]
|
|
25969
|
+
* @param {string} [hospitalName]
|
|
25621
25970
|
* @param {string} [languageCode]
|
|
25971
|
+
* @param {boolean} [showHidden]
|
|
25622
25972
|
* @param {number} [page]
|
|
25623
25973
|
* @param {number} [limit]
|
|
25624
25974
|
* @param {Date} [lastRetrieved]
|
|
@@ -25626,8 +25976,8 @@ export class FaqsApi extends BaseAPI {
|
|
|
25626
25976
|
* @throws {RequiredError}
|
|
25627
25977
|
* @memberof FaqsApi
|
|
25628
25978
|
*/
|
|
25629
|
-
public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25630
|
-
return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25979
|
+
public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25980
|
+
return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25631
25981
|
}
|
|
25632
25982
|
|
|
25633
25983
|
/**
|
|
@@ -25679,13 +26029,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
25679
26029
|
* @param {boolean} [showHidden]
|
|
25680
26030
|
* @param {string} [languageCode]
|
|
25681
26031
|
* @param {Array<string>} [ids]
|
|
26032
|
+
* @param {boolean} [returnDefaultValue]
|
|
25682
26033
|
* @param {number} [page]
|
|
25683
26034
|
* @param {number} [limit]
|
|
25684
26035
|
* @param {Date} [lastRetrieved]
|
|
25685
26036
|
* @param {*} [options] Override http request option.
|
|
25686
26037
|
* @throws {RequiredError}
|
|
25687
26038
|
*/
|
|
25688
|
-
apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26039
|
+
apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: 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> => {
|
|
25689
26040
|
const localVarPath = `/api/v1/hospitals`;
|
|
25690
26041
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25691
26042
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25756,6 +26107,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
25756
26107
|
localVarQueryParameter['Ids'] = ids;
|
|
25757
26108
|
}
|
|
25758
26109
|
|
|
26110
|
+
if (returnDefaultValue !== undefined) {
|
|
26111
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26112
|
+
}
|
|
26113
|
+
|
|
25759
26114
|
if (page !== undefined) {
|
|
25760
26115
|
localVarQueryParameter['page'] = page;
|
|
25761
26116
|
}
|
|
@@ -26732,10 +27087,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26732
27087
|
* @summary Get Hospital.
|
|
26733
27088
|
* @param {string} hospitalId
|
|
26734
27089
|
* @param {string} [languageCode]
|
|
27090
|
+
* @param {boolean} [returnDefaultValue]
|
|
26735
27091
|
* @param {*} [options] Override http request option.
|
|
26736
27092
|
* @throws {RequiredError}
|
|
26737
27093
|
*/
|
|
26738
|
-
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27094
|
+
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26739
27095
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
26740
27096
|
assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
26741
27097
|
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
@@ -26759,6 +27115,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26759
27115
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26760
27116
|
}
|
|
26761
27117
|
|
|
27118
|
+
if (returnDefaultValue !== undefined) {
|
|
27119
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
27120
|
+
}
|
|
27121
|
+
|
|
26762
27122
|
|
|
26763
27123
|
|
|
26764
27124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27331,13 +27691,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27331
27691
|
* @param {Procedure} [procedure]
|
|
27332
27692
|
* @param {Date} [created]
|
|
27333
27693
|
* @param {string} [languageCode]
|
|
27694
|
+
* @param {boolean} [returnDefaultValue]
|
|
27334
27695
|
* @param {number} [page]
|
|
27335
27696
|
* @param {number} [limit]
|
|
27336
27697
|
* @param {Date} [lastRetrieved]
|
|
27337
27698
|
* @param {*} [options] Override http request option.
|
|
27338
27699
|
* @throws {RequiredError}
|
|
27339
27700
|
*/
|
|
27340
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27701
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27341
27702
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27342
27703
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
|
|
27343
27704
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -27414,6 +27775,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27414
27775
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
27415
27776
|
}
|
|
27416
27777
|
|
|
27778
|
+
if (returnDefaultValue !== undefined) {
|
|
27779
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27780
|
+
}
|
|
27781
|
+
|
|
27417
27782
|
if (page !== undefined) {
|
|
27418
27783
|
localVarQueryParameter['page'] = page;
|
|
27419
27784
|
}
|
|
@@ -27538,10 +27903,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27538
27903
|
* @param {string} specialtyId
|
|
27539
27904
|
* @param {string} serviceId
|
|
27540
27905
|
* @param {string} [languageCode]
|
|
27906
|
+
* @param {boolean} [returnDefaultValue]
|
|
27541
27907
|
* @param {*} [options] Override http request option.
|
|
27542
27908
|
* @throws {RequiredError}
|
|
27543
27909
|
*/
|
|
27544
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27910
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27545
27911
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27546
27912
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
|
|
27547
27913
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -27571,6 +27937,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27571
27937
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27572
27938
|
}
|
|
27573
27939
|
|
|
27940
|
+
if (returnDefaultValue !== undefined) {
|
|
27941
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
27942
|
+
}
|
|
27943
|
+
|
|
27574
27944
|
|
|
27575
27945
|
|
|
27576
27946
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27963,13 +28333,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27963
28333
|
* @param {boolean} [showHidden]
|
|
27964
28334
|
* @param {string} [languageCode]
|
|
27965
28335
|
* @param {Array<string>} [ids]
|
|
28336
|
+
* @param {boolean} [returnDefaultValue]
|
|
27966
28337
|
* @param {number} [page]
|
|
27967
28338
|
* @param {number} [limit]
|
|
27968
28339
|
* @param {Date} [lastRetrieved]
|
|
27969
28340
|
* @param {*} [options] Override http request option.
|
|
27970
28341
|
* @throws {RequiredError}
|
|
27971
28342
|
*/
|
|
27972
|
-
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28343
|
+
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: 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> => {
|
|
27973
28344
|
const localVarPath = `/api/v1/hospitals/simple`;
|
|
27974
28345
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27975
28346
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28040,6 +28411,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28040
28411
|
localVarQueryParameter['Ids'] = ids;
|
|
28041
28412
|
}
|
|
28042
28413
|
|
|
28414
|
+
if (returnDefaultValue !== undefined) {
|
|
28415
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
28416
|
+
}
|
|
28417
|
+
|
|
28043
28418
|
if (page !== undefined) {
|
|
28044
28419
|
localVarQueryParameter['page'] = page;
|
|
28045
28420
|
}
|
|
@@ -28070,10 +28445,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28070
28445
|
* @summary Get Hospital by slug.
|
|
28071
28446
|
* @param {string} slug
|
|
28072
28447
|
* @param {string} [languageCode]
|
|
28448
|
+
* @param {boolean} [returnDefaultValue]
|
|
28073
28449
|
* @param {*} [options] Override http request option.
|
|
28074
28450
|
* @throws {RequiredError}
|
|
28075
28451
|
*/
|
|
28076
|
-
apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28452
|
+
apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28077
28453
|
// verify required parameter 'slug' is not null or undefined
|
|
28078
28454
|
assertParamExists('apiV1HospitalsSlugGet', 'slug', slug)
|
|
28079
28455
|
const localVarPath = `/api/v1/hospitals/{slug}`
|
|
@@ -28097,6 +28473,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28097
28473
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
28098
28474
|
}
|
|
28099
28475
|
|
|
28476
|
+
if (returnDefaultValue !== undefined) {
|
|
28477
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28478
|
+
}
|
|
28479
|
+
|
|
28100
28480
|
|
|
28101
28481
|
|
|
28102
28482
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28134,14 +28514,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28134
28514
|
* @param {boolean} [showHidden]
|
|
28135
28515
|
* @param {string} [languageCode]
|
|
28136
28516
|
* @param {Array<string>} [ids]
|
|
28517
|
+
* @param {boolean} [returnDefaultValue]
|
|
28137
28518
|
* @param {number} [page]
|
|
28138
28519
|
* @param {number} [limit]
|
|
28139
28520
|
* @param {Date} [lastRetrieved]
|
|
28140
28521
|
* @param {*} [options] Override http request option.
|
|
28141
28522
|
* @throws {RequiredError}
|
|
28142
28523
|
*/
|
|
28143
|
-
async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
28144
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
28524
|
+
async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: 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>> {
|
|
28525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28145
28526
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28146
28527
|
},
|
|
28147
28528
|
/**
|
|
@@ -28405,11 +28786,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28405
28786
|
* @summary Get Hospital.
|
|
28406
28787
|
* @param {string} hospitalId
|
|
28407
28788
|
* @param {string} [languageCode]
|
|
28789
|
+
* @param {boolean} [returnDefaultValue]
|
|
28408
28790
|
* @param {*} [options] Override http request option.
|
|
28409
28791
|
* @throws {RequiredError}
|
|
28410
28792
|
*/
|
|
28411
|
-
async apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
28412
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options);
|
|
28793
|
+
async apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
28794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
|
|
28413
28795
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28414
28796
|
},
|
|
28415
28797
|
/**
|
|
@@ -28577,14 +28959,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28577
28959
|
* @param {Procedure} [procedure]
|
|
28578
28960
|
* @param {Date} [created]
|
|
28579
28961
|
* @param {string} [languageCode]
|
|
28962
|
+
* @param {boolean} [returnDefaultValue]
|
|
28580
28963
|
* @param {number} [page]
|
|
28581
28964
|
* @param {number} [limit]
|
|
28582
28965
|
* @param {Date} [lastRetrieved]
|
|
28583
28966
|
* @param {*} [options] Override http request option.
|
|
28584
28967
|
* @throws {RequiredError}
|
|
28585
28968
|
*/
|
|
28586
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
28587
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
|
|
28969
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
28970
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28588
28971
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28589
28972
|
},
|
|
28590
28973
|
/**
|
|
@@ -28620,11 +29003,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28620
29003
|
* @param {string} specialtyId
|
|
28621
29004
|
* @param {string} serviceId
|
|
28622
29005
|
* @param {string} [languageCode]
|
|
29006
|
+
* @param {boolean} [returnDefaultValue]
|
|
28623
29007
|
* @param {*} [options] Override http request option.
|
|
28624
29008
|
* @throws {RequiredError}
|
|
28625
29009
|
*/
|
|
28626
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
28627
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options);
|
|
29010
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
29011
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options);
|
|
28628
29012
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28629
29013
|
},
|
|
28630
29014
|
/**
|
|
@@ -28743,14 +29127,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28743
29127
|
* @param {boolean} [showHidden]
|
|
28744
29128
|
* @param {string} [languageCode]
|
|
28745
29129
|
* @param {Array<string>} [ids]
|
|
29130
|
+
* @param {boolean} [returnDefaultValue]
|
|
28746
29131
|
* @param {number} [page]
|
|
28747
29132
|
* @param {number} [limit]
|
|
28748
29133
|
* @param {Date} [lastRetrieved]
|
|
28749
29134
|
* @param {*} [options] Override http request option.
|
|
28750
29135
|
* @throws {RequiredError}
|
|
28751
29136
|
*/
|
|
28752
|
-
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
28753
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
29137
|
+
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: 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>> {
|
|
29138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28754
29139
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28755
29140
|
},
|
|
28756
29141
|
/**
|
|
@@ -28758,11 +29143,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28758
29143
|
* @summary Get Hospital by slug.
|
|
28759
29144
|
* @param {string} slug
|
|
28760
29145
|
* @param {string} [languageCode]
|
|
29146
|
+
* @param {boolean} [returnDefaultValue]
|
|
28761
29147
|
* @param {*} [options] Override http request option.
|
|
28762
29148
|
* @throws {RequiredError}
|
|
28763
29149
|
*/
|
|
28764
|
-
async apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
28765
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, options);
|
|
29150
|
+
async apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
29151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
28766
29152
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28767
29153
|
},
|
|
28768
29154
|
}
|
|
@@ -28791,14 +29177,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
28791
29177
|
* @param {boolean} [showHidden]
|
|
28792
29178
|
* @param {string} [languageCode]
|
|
28793
29179
|
* @param {Array<string>} [ids]
|
|
29180
|
+
* @param {boolean} [returnDefaultValue]
|
|
28794
29181
|
* @param {number} [page]
|
|
28795
29182
|
* @param {number} [limit]
|
|
28796
29183
|
* @param {Date} [lastRetrieved]
|
|
28797
29184
|
* @param {*} [options] Override http request option.
|
|
28798
29185
|
* @throws {RequiredError}
|
|
28799
29186
|
*/
|
|
28800
|
-
apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
28801
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29187
|
+
apiV1HospitalsGet(hospitalId?: string, name?: string, description?: 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> {
|
|
29188
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
28802
29189
|
},
|
|
28803
29190
|
/**
|
|
28804
29191
|
*
|
|
@@ -29042,11 +29429,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29042
29429
|
* @summary Get Hospital.
|
|
29043
29430
|
* @param {string} hospitalId
|
|
29044
29431
|
* @param {string} [languageCode]
|
|
29432
|
+
* @param {boolean} [returnDefaultValue]
|
|
29045
29433
|
* @param {*} [options] Override http request option.
|
|
29046
29434
|
* @throws {RequiredError}
|
|
29047
29435
|
*/
|
|
29048
|
-
apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
|
|
29049
|
-
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
29436
|
+
apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
29437
|
+
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
29050
29438
|
},
|
|
29051
29439
|
/**
|
|
29052
29440
|
*
|
|
@@ -29202,14 +29590,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29202
29590
|
* @param {Procedure} [procedure]
|
|
29203
29591
|
* @param {Date} [created]
|
|
29204
29592
|
* @param {string} [languageCode]
|
|
29593
|
+
* @param {boolean} [returnDefaultValue]
|
|
29205
29594
|
* @param {number} [page]
|
|
29206
29595
|
* @param {number} [limit]
|
|
29207
29596
|
* @param {Date} [lastRetrieved]
|
|
29208
29597
|
* @param {*} [options] Override http request option.
|
|
29209
29598
|
* @throws {RequiredError}
|
|
29210
29599
|
*/
|
|
29211
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
29212
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29600
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
29601
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29213
29602
|
},
|
|
29214
29603
|
/**
|
|
29215
29604
|
*
|
|
@@ -29242,11 +29631,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29242
29631
|
* @param {string} specialtyId
|
|
29243
29632
|
* @param {string} serviceId
|
|
29244
29633
|
* @param {string} [languageCode]
|
|
29634
|
+
* @param {boolean} [returnDefaultValue]
|
|
29245
29635
|
* @param {*} [options] Override http request option.
|
|
29246
29636
|
* @throws {RequiredError}
|
|
29247
29637
|
*/
|
|
29248
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
29249
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
29638
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
29639
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
29250
29640
|
},
|
|
29251
29641
|
/**
|
|
29252
29642
|
*
|
|
@@ -29357,25 +29747,27 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29357
29747
|
* @param {boolean} [showHidden]
|
|
29358
29748
|
* @param {string} [languageCode]
|
|
29359
29749
|
* @param {Array<string>} [ids]
|
|
29750
|
+
* @param {boolean} [returnDefaultValue]
|
|
29360
29751
|
* @param {number} [page]
|
|
29361
29752
|
* @param {number} [limit]
|
|
29362
29753
|
* @param {Date} [lastRetrieved]
|
|
29363
29754
|
* @param {*} [options] Override http request option.
|
|
29364
29755
|
* @throws {RequiredError}
|
|
29365
29756
|
*/
|
|
29366
|
-
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
29367
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29757
|
+
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: 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> {
|
|
29758
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29368
29759
|
},
|
|
29369
29760
|
/**
|
|
29370
29761
|
*
|
|
29371
29762
|
* @summary Get Hospital by slug.
|
|
29372
29763
|
* @param {string} slug
|
|
29373
29764
|
* @param {string} [languageCode]
|
|
29765
|
+
* @param {boolean} [returnDefaultValue]
|
|
29374
29766
|
* @param {*} [options] Override http request option.
|
|
29375
29767
|
* @throws {RequiredError}
|
|
29376
29768
|
*/
|
|
29377
|
-
apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
|
|
29378
|
-
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
29769
|
+
apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
29770
|
+
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
29379
29771
|
},
|
|
29380
29772
|
};
|
|
29381
29773
|
};
|
|
@@ -29403,6 +29795,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29403
29795
|
* @param {boolean} [showHidden]
|
|
29404
29796
|
* @param {string} [languageCode]
|
|
29405
29797
|
* @param {Array<string>} [ids]
|
|
29798
|
+
* @param {boolean} [returnDefaultValue]
|
|
29406
29799
|
* @param {number} [page]
|
|
29407
29800
|
* @param {number} [limit]
|
|
29408
29801
|
* @param {Date} [lastRetrieved]
|
|
@@ -29410,8 +29803,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29410
29803
|
* @throws {RequiredError}
|
|
29411
29804
|
* @memberof HospitalsApi
|
|
29412
29805
|
*/
|
|
29413
|
-
public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29414
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29806
|
+
public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: 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) {
|
|
29807
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29415
29808
|
}
|
|
29416
29809
|
|
|
29417
29810
|
/**
|
|
@@ -29694,12 +30087,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29694
30087
|
* @summary Get Hospital.
|
|
29695
30088
|
* @param {string} hospitalId
|
|
29696
30089
|
* @param {string} [languageCode]
|
|
30090
|
+
* @param {boolean} [returnDefaultValue]
|
|
29697
30091
|
* @param {*} [options] Override http request option.
|
|
29698
30092
|
* @throws {RequiredError}
|
|
29699
30093
|
* @memberof HospitalsApi
|
|
29700
30094
|
*/
|
|
29701
|
-
public apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
29702
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
30095
|
+
public apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30096
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
29703
30097
|
}
|
|
29704
30098
|
|
|
29705
30099
|
/**
|
|
@@ -29878,6 +30272,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29878
30272
|
* @param {Procedure} [procedure]
|
|
29879
30273
|
* @param {Date} [created]
|
|
29880
30274
|
* @param {string} [languageCode]
|
|
30275
|
+
* @param {boolean} [returnDefaultValue]
|
|
29881
30276
|
* @param {number} [page]
|
|
29882
30277
|
* @param {number} [limit]
|
|
29883
30278
|
* @param {Date} [lastRetrieved]
|
|
@@ -29885,8 +30280,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29885
30280
|
* @throws {RequiredError}
|
|
29886
30281
|
* @memberof HospitalsApi
|
|
29887
30282
|
*/
|
|
29888
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29889
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30283
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30284
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29890
30285
|
}
|
|
29891
30286
|
|
|
29892
30287
|
/**
|
|
@@ -29924,12 +30319,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29924
30319
|
* @param {string} specialtyId
|
|
29925
30320
|
* @param {string} serviceId
|
|
29926
30321
|
* @param {string} [languageCode]
|
|
30322
|
+
* @param {boolean} [returnDefaultValue]
|
|
29927
30323
|
* @param {*} [options] Override http request option.
|
|
29928
30324
|
* @throws {RequiredError}
|
|
29929
30325
|
* @memberof HospitalsApi
|
|
29930
30326
|
*/
|
|
29931
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
29932
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
30327
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30328
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
29933
30329
|
}
|
|
29934
30330
|
|
|
29935
30331
|
/**
|
|
@@ -30055,6 +30451,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30055
30451
|
* @param {boolean} [showHidden]
|
|
30056
30452
|
* @param {string} [languageCode]
|
|
30057
30453
|
* @param {Array<string>} [ids]
|
|
30454
|
+
* @param {boolean} [returnDefaultValue]
|
|
30058
30455
|
* @param {number} [page]
|
|
30059
30456
|
* @param {number} [limit]
|
|
30060
30457
|
* @param {Date} [lastRetrieved]
|
|
@@ -30062,8 +30459,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30062
30459
|
* @throws {RequiredError}
|
|
30063
30460
|
* @memberof HospitalsApi
|
|
30064
30461
|
*/
|
|
30065
|
-
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30066
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30462
|
+
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: 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) {
|
|
30463
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30067
30464
|
}
|
|
30068
30465
|
|
|
30069
30466
|
/**
|
|
@@ -30071,12 +30468,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30071
30468
|
* @summary Get Hospital by slug.
|
|
30072
30469
|
* @param {string} slug
|
|
30073
30470
|
* @param {string} [languageCode]
|
|
30471
|
+
* @param {boolean} [returnDefaultValue]
|
|
30074
30472
|
* @param {*} [options] Override http request option.
|
|
30075
30473
|
* @throws {RequiredError}
|
|
30076
30474
|
* @memberof HospitalsApi
|
|
30077
30475
|
*/
|
|
30078
|
-
public apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
30079
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
30476
|
+
public apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30477
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
30080
30478
|
}
|
|
30081
30479
|
}
|
|
30082
30480
|
|
|
@@ -33625,13 +34023,14 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33625
34023
|
* @param {Procedure} [procedure]
|
|
33626
34024
|
* @param {Date} [created]
|
|
33627
34025
|
* @param {string} [languageCode]
|
|
34026
|
+
* @param {boolean} [returnDefaultValue]
|
|
33628
34027
|
* @param {number} [page]
|
|
33629
34028
|
* @param {number} [limit]
|
|
33630
34029
|
* @param {Date} [lastRetrieved]
|
|
33631
34030
|
* @param {*} [options] Override http request option.
|
|
33632
34031
|
* @throws {RequiredError}
|
|
33633
34032
|
*/
|
|
33634
|
-
apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34033
|
+
apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33635
34034
|
const localVarPath = `/api/v1/services`;
|
|
33636
34035
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33637
34036
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33710,6 +34109,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33710
34109
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
33711
34110
|
}
|
|
33712
34111
|
|
|
34112
|
+
if (returnDefaultValue !== undefined) {
|
|
34113
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34114
|
+
}
|
|
34115
|
+
|
|
33713
34116
|
if (page !== undefined) {
|
|
33714
34117
|
localVarQueryParameter['page'] = page;
|
|
33715
34118
|
}
|
|
@@ -33740,10 +34143,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33740
34143
|
* @summary Get HospitalService.
|
|
33741
34144
|
* @param {string} serviceId
|
|
33742
34145
|
* @param {string} [languageCode]
|
|
34146
|
+
* @param {boolean} [returnDefaultValue]
|
|
33743
34147
|
* @param {*} [options] Override http request option.
|
|
33744
34148
|
* @throws {RequiredError}
|
|
33745
34149
|
*/
|
|
33746
|
-
apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34150
|
+
apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33747
34151
|
// verify required parameter 'serviceId' is not null or undefined
|
|
33748
34152
|
assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId)
|
|
33749
34153
|
const localVarPath = `/api/v1/services/{serviceId}`
|
|
@@ -33767,6 +34171,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33767
34171
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
33768
34172
|
}
|
|
33769
34173
|
|
|
34174
|
+
if (returnDefaultValue !== undefined) {
|
|
34175
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
34176
|
+
}
|
|
34177
|
+
|
|
33770
34178
|
|
|
33771
34179
|
|
|
33772
34180
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33783,10 +34191,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33783
34191
|
* @summary Get HospitalService by slug.
|
|
33784
34192
|
* @param {string} slug
|
|
33785
34193
|
* @param {string} [languageCode]
|
|
34194
|
+
* @param {boolean} [returnDefaultValue]
|
|
33786
34195
|
* @param {*} [options] Override http request option.
|
|
33787
34196
|
* @throws {RequiredError}
|
|
33788
34197
|
*/
|
|
33789
|
-
apiV1ServicesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34198
|
+
apiV1ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33790
34199
|
// verify required parameter 'slug' is not null or undefined
|
|
33791
34200
|
assertParamExists('apiV1ServicesSlugGet', 'slug', slug)
|
|
33792
34201
|
const localVarPath = `/api/v1/services/{slug}`
|
|
@@ -33810,6 +34219,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33810
34219
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
33811
34220
|
}
|
|
33812
34221
|
|
|
34222
|
+
if (returnDefaultValue !== undefined) {
|
|
34223
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
34224
|
+
}
|
|
34225
|
+
|
|
33813
34226
|
|
|
33814
34227
|
|
|
33815
34228
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33849,14 +34262,15 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
33849
34262
|
* @param {Procedure} [procedure]
|
|
33850
34263
|
* @param {Date} [created]
|
|
33851
34264
|
* @param {string} [languageCode]
|
|
34265
|
+
* @param {boolean} [returnDefaultValue]
|
|
33852
34266
|
* @param {number} [page]
|
|
33853
34267
|
* @param {number} [limit]
|
|
33854
34268
|
* @param {Date} [lastRetrieved]
|
|
33855
34269
|
* @param {*} [options] Override http request option.
|
|
33856
34270
|
* @throws {RequiredError}
|
|
33857
34271
|
*/
|
|
33858
|
-
async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
33859
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
|
|
34272
|
+
async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
34273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
33860
34274
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33861
34275
|
},
|
|
33862
34276
|
/**
|
|
@@ -33864,11 +34278,12 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
33864
34278
|
* @summary Get HospitalService.
|
|
33865
34279
|
* @param {string} serviceId
|
|
33866
34280
|
* @param {string} [languageCode]
|
|
34281
|
+
* @param {boolean} [returnDefaultValue]
|
|
33867
34282
|
* @param {*} [options] Override http request option.
|
|
33868
34283
|
* @throws {RequiredError}
|
|
33869
34284
|
*/
|
|
33870
|
-
async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
33871
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options);
|
|
34285
|
+
async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
34286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options);
|
|
33872
34287
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33873
34288
|
},
|
|
33874
34289
|
/**
|
|
@@ -33876,11 +34291,12 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
33876
34291
|
* @summary Get HospitalService by slug.
|
|
33877
34292
|
* @param {string} slug
|
|
33878
34293
|
* @param {string} [languageCode]
|
|
34294
|
+
* @param {boolean} [returnDefaultValue]
|
|
33879
34295
|
* @param {*} [options] Override http request option.
|
|
33880
34296
|
* @throws {RequiredError}
|
|
33881
34297
|
*/
|
|
33882
|
-
async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
33883
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options);
|
|
34298
|
+
async apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
34299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
33884
34300
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33885
34301
|
},
|
|
33886
34302
|
}
|
|
@@ -33911,36 +34327,39 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
33911
34327
|
* @param {Procedure} [procedure]
|
|
33912
34328
|
* @param {Date} [created]
|
|
33913
34329
|
* @param {string} [languageCode]
|
|
34330
|
+
* @param {boolean} [returnDefaultValue]
|
|
33914
34331
|
* @param {number} [page]
|
|
33915
34332
|
* @param {number} [limit]
|
|
33916
34333
|
* @param {Date} [lastRetrieved]
|
|
33917
34334
|
* @param {*} [options] Override http request option.
|
|
33918
34335
|
* @throws {RequiredError}
|
|
33919
34336
|
*/
|
|
33920
|
-
apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
33921
|
-
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34337
|
+
apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
34338
|
+
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
33922
34339
|
},
|
|
33923
34340
|
/**
|
|
33924
34341
|
*
|
|
33925
34342
|
* @summary Get HospitalService.
|
|
33926
34343
|
* @param {string} serviceId
|
|
33927
34344
|
* @param {string} [languageCode]
|
|
34345
|
+
* @param {boolean} [returnDefaultValue]
|
|
33928
34346
|
* @param {*} [options] Override http request option.
|
|
33929
34347
|
* @throws {RequiredError}
|
|
33930
34348
|
*/
|
|
33931
|
-
apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
33932
|
-
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
34349
|
+
apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
34350
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
33933
34351
|
},
|
|
33934
34352
|
/**
|
|
33935
34353
|
*
|
|
33936
34354
|
* @summary Get HospitalService by slug.
|
|
33937
34355
|
* @param {string} slug
|
|
33938
34356
|
* @param {string} [languageCode]
|
|
34357
|
+
* @param {boolean} [returnDefaultValue]
|
|
33939
34358
|
* @param {*} [options] Override http request option.
|
|
33940
34359
|
* @throws {RequiredError}
|
|
33941
34360
|
*/
|
|
33942
|
-
apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
33943
|
-
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
34361
|
+
apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
34362
|
+
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
33944
34363
|
},
|
|
33945
34364
|
};
|
|
33946
34365
|
};
|
|
@@ -33970,6 +34389,7 @@ export class ServicesApi extends BaseAPI {
|
|
|
33970
34389
|
* @param {Procedure} [procedure]
|
|
33971
34390
|
* @param {Date} [created]
|
|
33972
34391
|
* @param {string} [languageCode]
|
|
34392
|
+
* @param {boolean} [returnDefaultValue]
|
|
33973
34393
|
* @param {number} [page]
|
|
33974
34394
|
* @param {number} [limit]
|
|
33975
34395
|
* @param {Date} [lastRetrieved]
|
|
@@ -33977,8 +34397,8 @@ export class ServicesApi extends BaseAPI {
|
|
|
33977
34397
|
* @throws {RequiredError}
|
|
33978
34398
|
* @memberof ServicesApi
|
|
33979
34399
|
*/
|
|
33980
|
-
public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
33981
|
-
return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34400
|
+
public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34401
|
+
return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
33982
34402
|
}
|
|
33983
34403
|
|
|
33984
34404
|
/**
|
|
@@ -33986,12 +34406,13 @@ export class ServicesApi extends BaseAPI {
|
|
|
33986
34406
|
* @summary Get HospitalService.
|
|
33987
34407
|
* @param {string} serviceId
|
|
33988
34408
|
* @param {string} [languageCode]
|
|
34409
|
+
* @param {boolean} [returnDefaultValue]
|
|
33989
34410
|
* @param {*} [options] Override http request option.
|
|
33990
34411
|
* @throws {RequiredError}
|
|
33991
34412
|
* @memberof ServicesApi
|
|
33992
34413
|
*/
|
|
33993
|
-
public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
33994
|
-
return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
34414
|
+
public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
34415
|
+
return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
33995
34416
|
}
|
|
33996
34417
|
|
|
33997
34418
|
/**
|
|
@@ -33999,12 +34420,13 @@ export class ServicesApi extends BaseAPI {
|
|
|
33999
34420
|
* @summary Get HospitalService by slug.
|
|
34000
34421
|
* @param {string} slug
|
|
34001
34422
|
* @param {string} [languageCode]
|
|
34423
|
+
* @param {boolean} [returnDefaultValue]
|
|
34002
34424
|
* @param {*} [options] Override http request option.
|
|
34003
34425
|
* @throws {RequiredError}
|
|
34004
34426
|
* @memberof ServicesApi
|
|
34005
34427
|
*/
|
|
34006
|
-
public apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
34007
|
-
return ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
34428
|
+
public apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
34429
|
+
return ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
34008
34430
|
}
|
|
34009
34431
|
}
|
|
34010
34432
|
|
|
@@ -34481,13 +34903,14 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34481
34903
|
* @param {Date} [created]
|
|
34482
34904
|
* @param {string} [languageCode]
|
|
34483
34905
|
* @param {Array<string>} [ids]
|
|
34906
|
+
* @param {boolean} [returnDefaultValue]
|
|
34484
34907
|
* @param {number} [page]
|
|
34485
34908
|
* @param {number} [limit]
|
|
34486
34909
|
* @param {Date} [lastRetrieved]
|
|
34487
34910
|
* @param {*} [options] Override http request option.
|
|
34488
34911
|
* @throws {RequiredError}
|
|
34489
34912
|
*/
|
|
34490
|
-
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34913
|
+
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34491
34914
|
const localVarPath = `/api/v1/specialties`;
|
|
34492
34915
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34493
34916
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34538,6 +34961,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34538
34961
|
localVarQueryParameter['Ids'] = ids;
|
|
34539
34962
|
}
|
|
34540
34963
|
|
|
34964
|
+
if (returnDefaultValue !== undefined) {
|
|
34965
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34966
|
+
}
|
|
34967
|
+
|
|
34541
34968
|
if (page !== undefined) {
|
|
34542
34969
|
localVarQueryParameter['page'] = page;
|
|
34543
34970
|
}
|
|
@@ -34606,10 +35033,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34606
35033
|
* @summary Get Specialty by slug.
|
|
34607
35034
|
* @param {string} slug
|
|
34608
35035
|
* @param {string} [languageCode]
|
|
35036
|
+
* @param {boolean} [returnDefaultValue]
|
|
34609
35037
|
* @param {*} [options] Override http request option.
|
|
34610
35038
|
* @throws {RequiredError}
|
|
34611
35039
|
*/
|
|
34612
|
-
apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35040
|
+
apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34613
35041
|
// verify required parameter 'slug' is not null or undefined
|
|
34614
35042
|
assertParamExists('apiV1SpecialtiesSlugGet', 'slug', slug)
|
|
34615
35043
|
const localVarPath = `/api/v1/specialties/{slug}`
|
|
@@ -34633,6 +35061,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34633
35061
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
34634
35062
|
}
|
|
34635
35063
|
|
|
35064
|
+
if (returnDefaultValue !== undefined) {
|
|
35065
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
35066
|
+
}
|
|
35067
|
+
|
|
34636
35068
|
|
|
34637
35069
|
|
|
34638
35070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34687,10 +35119,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34687
35119
|
* @summary Get Specialty.
|
|
34688
35120
|
* @param {string} specialtyId
|
|
34689
35121
|
* @param {string} [languageCode]
|
|
35122
|
+
* @param {boolean} [returnDefaultValue]
|
|
34690
35123
|
* @param {*} [options] Override http request option.
|
|
34691
35124
|
* @throws {RequiredError}
|
|
34692
35125
|
*/
|
|
34693
|
-
apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35126
|
+
apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34694
35127
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
34695
35128
|
assertParamExists('apiV1SpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
34696
35129
|
const localVarPath = `/api/v1/specialties/{specialtyId}`
|
|
@@ -34714,6 +35147,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34714
35147
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
34715
35148
|
}
|
|
34716
35149
|
|
|
35150
|
+
if (returnDefaultValue !== undefined) {
|
|
35151
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
35152
|
+
}
|
|
35153
|
+
|
|
34717
35154
|
|
|
34718
35155
|
|
|
34719
35156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -35025,14 +35462,15 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35025
35462
|
* @param {Date} [created]
|
|
35026
35463
|
* @param {string} [languageCode]
|
|
35027
35464
|
* @param {Array<string>} [ids]
|
|
35465
|
+
* @param {boolean} [returnDefaultValue]
|
|
35028
35466
|
* @param {number} [page]
|
|
35029
35467
|
* @param {number} [limit]
|
|
35030
35468
|
* @param {Date} [lastRetrieved]
|
|
35031
35469
|
* @param {*} [options] Override http request option.
|
|
35032
35470
|
* @throws {RequiredError}
|
|
35033
35471
|
*/
|
|
35034
|
-
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
35035
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options);
|
|
35472
|
+
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
35473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
35036
35474
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35037
35475
|
},
|
|
35038
35476
|
/**
|
|
@@ -35051,11 +35489,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35051
35489
|
* @summary Get Specialty by slug.
|
|
35052
35490
|
* @param {string} slug
|
|
35053
35491
|
* @param {string} [languageCode]
|
|
35492
|
+
* @param {boolean} [returnDefaultValue]
|
|
35054
35493
|
* @param {*} [options] Override http request option.
|
|
35055
35494
|
* @throws {RequiredError}
|
|
35056
35495
|
*/
|
|
35057
|
-
async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35058
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, options);
|
|
35496
|
+
async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
35059
35498
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35060
35499
|
},
|
|
35061
35500
|
/**
|
|
@@ -35074,11 +35513,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35074
35513
|
* @summary Get Specialty.
|
|
35075
35514
|
* @param {string} specialtyId
|
|
35076
35515
|
* @param {string} [languageCode]
|
|
35516
|
+
* @param {boolean} [returnDefaultValue]
|
|
35077
35517
|
* @param {*} [options] Override http request option.
|
|
35078
35518
|
* @throws {RequiredError}
|
|
35079
35519
|
*/
|
|
35080
|
-
async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35081
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options);
|
|
35520
|
+
async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options);
|
|
35082
35522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35083
35523
|
},
|
|
35084
35524
|
/**
|
|
@@ -35179,14 +35619,15 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35179
35619
|
* @param {Date} [created]
|
|
35180
35620
|
* @param {string} [languageCode]
|
|
35181
35621
|
* @param {Array<string>} [ids]
|
|
35622
|
+
* @param {boolean} [returnDefaultValue]
|
|
35182
35623
|
* @param {number} [page]
|
|
35183
35624
|
* @param {number} [limit]
|
|
35184
35625
|
* @param {Date} [lastRetrieved]
|
|
35185
35626
|
* @param {*} [options] Override http request option.
|
|
35186
35627
|
* @throws {RequiredError}
|
|
35187
35628
|
*/
|
|
35188
|
-
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
35189
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35629
|
+
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
35630
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35190
35631
|
},
|
|
35191
35632
|
/**
|
|
35192
35633
|
*
|
|
@@ -35203,11 +35644,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35203
35644
|
* @summary Get Specialty by slug.
|
|
35204
35645
|
* @param {string} slug
|
|
35205
35646
|
* @param {string} [languageCode]
|
|
35647
|
+
* @param {boolean} [returnDefaultValue]
|
|
35206
35648
|
* @param {*} [options] Override http request option.
|
|
35207
35649
|
* @throws {RequiredError}
|
|
35208
35650
|
*/
|
|
35209
|
-
apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35210
|
-
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
35651
|
+
apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35652
|
+
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
35211
35653
|
},
|
|
35212
35654
|
/**
|
|
35213
35655
|
*
|
|
@@ -35224,11 +35666,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35224
35666
|
* @summary Get Specialty.
|
|
35225
35667
|
* @param {string} specialtyId
|
|
35226
35668
|
* @param {string} [languageCode]
|
|
35669
|
+
* @param {boolean} [returnDefaultValue]
|
|
35227
35670
|
* @param {*} [options] Override http request option.
|
|
35228
35671
|
* @throws {RequiredError}
|
|
35229
35672
|
*/
|
|
35230
|
-
apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35231
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(axios, basePath));
|
|
35673
|
+
apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35674
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
35232
35675
|
},
|
|
35233
35676
|
/**
|
|
35234
35677
|
*
|
|
@@ -35322,6 +35765,7 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35322
35765
|
* @param {Date} [created]
|
|
35323
35766
|
* @param {string} [languageCode]
|
|
35324
35767
|
* @param {Array<string>} [ids]
|
|
35768
|
+
* @param {boolean} [returnDefaultValue]
|
|
35325
35769
|
* @param {number} [page]
|
|
35326
35770
|
* @param {number} [limit]
|
|
35327
35771
|
* @param {Date} [lastRetrieved]
|
|
@@ -35329,8 +35773,8 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35329
35773
|
* @throws {RequiredError}
|
|
35330
35774
|
* @memberof SpecialtiesApi
|
|
35331
35775
|
*/
|
|
35332
|
-
public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35333
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35776
|
+
public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35777
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35334
35778
|
}
|
|
35335
35779
|
|
|
35336
35780
|
/**
|
|
@@ -35350,12 +35794,13 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35350
35794
|
* @summary Get Specialty by slug.
|
|
35351
35795
|
* @param {string} slug
|
|
35352
35796
|
* @param {string} [languageCode]
|
|
35797
|
+
* @param {boolean} [returnDefaultValue]
|
|
35353
35798
|
* @param {*} [options] Override http request option.
|
|
35354
35799
|
* @throws {RequiredError}
|
|
35355
35800
|
* @memberof SpecialtiesApi
|
|
35356
35801
|
*/
|
|
35357
|
-
public apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
35358
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
35802
|
+
public apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
35803
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
35359
35804
|
}
|
|
35360
35805
|
|
|
35361
35806
|
/**
|
|
@@ -35375,12 +35820,13 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35375
35820
|
* @summary Get Specialty.
|
|
35376
35821
|
* @param {string} specialtyId
|
|
35377
35822
|
* @param {string} [languageCode]
|
|
35823
|
+
* @param {boolean} [returnDefaultValue]
|
|
35378
35824
|
* @param {*} [options] Override http request option.
|
|
35379
35825
|
* @throws {RequiredError}
|
|
35380
35826
|
* @memberof SpecialtiesApi
|
|
35381
35827
|
*/
|
|
35382
|
-
public apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
35383
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
35828
|
+
public apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
35829
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
35384
35830
|
}
|
|
35385
35831
|
|
|
35386
35832
|
/**
|
|
@@ -35486,13 +35932,14 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35486
35932
|
* @param {string} [languageCode]
|
|
35487
35933
|
* @param {Array<string>} [ids]
|
|
35488
35934
|
* @param {string} [specialtyTypeCategoryId]
|
|
35935
|
+
* @param {boolean} [returnDefaultValue]
|
|
35489
35936
|
* @param {number} [page]
|
|
35490
35937
|
* @param {number} [limit]
|
|
35491
35938
|
* @param {Date} [lastRetrieved]
|
|
35492
35939
|
* @param {*} [options] Override http request option.
|
|
35493
35940
|
* @throws {RequiredError}
|
|
35494
35941
|
*/
|
|
35495
|
-
apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35942
|
+
apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35496
35943
|
const localVarPath = `/api/v1/specialtytypes`;
|
|
35497
35944
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35498
35945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35547,6 +35994,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35547
35994
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
35548
35995
|
}
|
|
35549
35996
|
|
|
35997
|
+
if (returnDefaultValue !== undefined) {
|
|
35998
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
35999
|
+
}
|
|
36000
|
+
|
|
35550
36001
|
if (page !== undefined) {
|
|
35551
36002
|
localVarQueryParameter['page'] = page;
|
|
35552
36003
|
}
|
|
@@ -35610,15 +36061,119 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35610
36061
|
options: localVarRequestOptions,
|
|
35611
36062
|
};
|
|
35612
36063
|
},
|
|
36064
|
+
/**
|
|
36065
|
+
*
|
|
36066
|
+
* @summary Get all Hospitals.
|
|
36067
|
+
* @param {string} [id]
|
|
36068
|
+
* @param {string} [name]
|
|
36069
|
+
* @param {string} [description]
|
|
36070
|
+
* @param {MarketingType} [marketingType]
|
|
36071
|
+
* @param {string} [hospitalId]
|
|
36072
|
+
* @param {Date} [created]
|
|
36073
|
+
* @param {string} [languageCode]
|
|
36074
|
+
* @param {Array<string>} [ids]
|
|
36075
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36076
|
+
* @param {boolean} [returnDefaultValue]
|
|
36077
|
+
* @param {number} [page]
|
|
36078
|
+
* @param {number} [limit]
|
|
36079
|
+
* @param {Date} [lastRetrieved]
|
|
36080
|
+
* @param {*} [options] Override http request option.
|
|
36081
|
+
* @throws {RequiredError}
|
|
36082
|
+
*/
|
|
36083
|
+
apiV1SpecialtytypesSimpleGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36084
|
+
const localVarPath = `/api/v1/specialtytypes/simple`;
|
|
36085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36087
|
+
let baseOptions;
|
|
36088
|
+
if (configuration) {
|
|
36089
|
+
baseOptions = configuration.baseOptions;
|
|
36090
|
+
}
|
|
36091
|
+
|
|
36092
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36093
|
+
const localVarHeaderParameter = {} as any;
|
|
36094
|
+
const localVarQueryParameter = {} as any;
|
|
36095
|
+
|
|
36096
|
+
// authentication oauth2 required
|
|
36097
|
+
// oauth required
|
|
36098
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
36099
|
+
|
|
36100
|
+
if (id !== undefined) {
|
|
36101
|
+
localVarQueryParameter['Id'] = id;
|
|
36102
|
+
}
|
|
36103
|
+
|
|
36104
|
+
if (name !== undefined) {
|
|
36105
|
+
localVarQueryParameter['Name'] = name;
|
|
36106
|
+
}
|
|
36107
|
+
|
|
36108
|
+
if (description !== undefined) {
|
|
36109
|
+
localVarQueryParameter['Description'] = description;
|
|
36110
|
+
}
|
|
36111
|
+
|
|
36112
|
+
if (marketingType !== undefined) {
|
|
36113
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
36114
|
+
}
|
|
36115
|
+
|
|
36116
|
+
if (hospitalId !== undefined) {
|
|
36117
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
36118
|
+
}
|
|
36119
|
+
|
|
36120
|
+
if (created !== undefined) {
|
|
36121
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
36122
|
+
(created as any).toISOString() :
|
|
36123
|
+
created;
|
|
36124
|
+
}
|
|
36125
|
+
|
|
36126
|
+
if (languageCode !== undefined) {
|
|
36127
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
36128
|
+
}
|
|
36129
|
+
|
|
36130
|
+
if (ids) {
|
|
36131
|
+
localVarQueryParameter['Ids'] = ids;
|
|
36132
|
+
}
|
|
36133
|
+
|
|
36134
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
36135
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
36136
|
+
}
|
|
36137
|
+
|
|
36138
|
+
if (returnDefaultValue !== undefined) {
|
|
36139
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
36140
|
+
}
|
|
36141
|
+
|
|
36142
|
+
if (page !== undefined) {
|
|
36143
|
+
localVarQueryParameter['page'] = page;
|
|
36144
|
+
}
|
|
36145
|
+
|
|
36146
|
+
if (limit !== undefined) {
|
|
36147
|
+
localVarQueryParameter['limit'] = limit;
|
|
36148
|
+
}
|
|
36149
|
+
|
|
36150
|
+
if (lastRetrieved !== undefined) {
|
|
36151
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
36152
|
+
(lastRetrieved as any).toISOString() :
|
|
36153
|
+
lastRetrieved;
|
|
36154
|
+
}
|
|
36155
|
+
|
|
36156
|
+
|
|
36157
|
+
|
|
36158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36160
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36161
|
+
|
|
36162
|
+
return {
|
|
36163
|
+
url: toPathString(localVarUrlObj),
|
|
36164
|
+
options: localVarRequestOptions,
|
|
36165
|
+
};
|
|
36166
|
+
},
|
|
35613
36167
|
/**
|
|
35614
36168
|
*
|
|
35615
36169
|
* @summary Get Department by slug.
|
|
35616
36170
|
* @param {string} slug
|
|
35617
36171
|
* @param {string} [languageCode]
|
|
36172
|
+
* @param {boolean} [returnDefaultValue]
|
|
35618
36173
|
* @param {*} [options] Override http request option.
|
|
35619
36174
|
* @throws {RequiredError}
|
|
35620
36175
|
*/
|
|
35621
|
-
apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36176
|
+
apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35622
36177
|
// verify required parameter 'slug' is not null or undefined
|
|
35623
36178
|
assertParamExists('apiV1SpecialtytypesSlugGet', 'slug', slug)
|
|
35624
36179
|
const localVarPath = `/api/v1/specialtytypes/{slug}`
|
|
@@ -35642,6 +36197,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35642
36197
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
35643
36198
|
}
|
|
35644
36199
|
|
|
36200
|
+
if (returnDefaultValue !== undefined) {
|
|
36201
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
36202
|
+
}
|
|
36203
|
+
|
|
35645
36204
|
|
|
35646
36205
|
|
|
35647
36206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -35696,10 +36255,11 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35696
36255
|
* @summary Get Department.
|
|
35697
36256
|
* @param {string} specialtyTypeId
|
|
35698
36257
|
* @param {string} [languageCode]
|
|
36258
|
+
* @param {boolean} [returnDefaultValue]
|
|
35699
36259
|
* @param {*} [options] Override http request option.
|
|
35700
36260
|
* @throws {RequiredError}
|
|
35701
36261
|
*/
|
|
35702
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36262
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35703
36263
|
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
35704
36264
|
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdGet', 'specialtyTypeId', specialtyTypeId)
|
|
35705
36265
|
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
|
|
@@ -35723,6 +36283,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35723
36283
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
35724
36284
|
}
|
|
35725
36285
|
|
|
36286
|
+
if (returnDefaultValue !== undefined) {
|
|
36287
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
36288
|
+
}
|
|
36289
|
+
|
|
35726
36290
|
|
|
35727
36291
|
|
|
35728
36292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -36035,14 +36599,15 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36035
36599
|
* @param {string} [languageCode]
|
|
36036
36600
|
* @param {Array<string>} [ids]
|
|
36037
36601
|
* @param {string} [specialtyTypeCategoryId]
|
|
36602
|
+
* @param {boolean} [returnDefaultValue]
|
|
36038
36603
|
* @param {number} [page]
|
|
36039
36604
|
* @param {number} [limit]
|
|
36040
36605
|
* @param {Date} [lastRetrieved]
|
|
36041
36606
|
* @param {*} [options] Override http request option.
|
|
36042
36607
|
* @throws {RequiredError}
|
|
36043
36608
|
*/
|
|
36044
|
-
async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
36045
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options);
|
|
36609
|
+
async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
36610
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
36046
36611
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36047
36612
|
},
|
|
36048
36613
|
/**
|
|
@@ -36056,16 +36621,40 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36056
36621
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options);
|
|
36057
36622
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36058
36623
|
},
|
|
36624
|
+
/**
|
|
36625
|
+
*
|
|
36626
|
+
* @summary Get all Hospitals.
|
|
36627
|
+
* @param {string} [id]
|
|
36628
|
+
* @param {string} [name]
|
|
36629
|
+
* @param {string} [description]
|
|
36630
|
+
* @param {MarketingType} [marketingType]
|
|
36631
|
+
* @param {string} [hospitalId]
|
|
36632
|
+
* @param {Date} [created]
|
|
36633
|
+
* @param {string} [languageCode]
|
|
36634
|
+
* @param {Array<string>} [ids]
|
|
36635
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36636
|
+
* @param {boolean} [returnDefaultValue]
|
|
36637
|
+
* @param {number} [page]
|
|
36638
|
+
* @param {number} [limit]
|
|
36639
|
+
* @param {Date} [lastRetrieved]
|
|
36640
|
+
* @param {*} [options] Override http request option.
|
|
36641
|
+
* @throws {RequiredError}
|
|
36642
|
+
*/
|
|
36643
|
+
async apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>> {
|
|
36644
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
36645
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36646
|
+
},
|
|
36059
36647
|
/**
|
|
36060
36648
|
*
|
|
36061
36649
|
* @summary Get Department by slug.
|
|
36062
36650
|
* @param {string} slug
|
|
36063
36651
|
* @param {string} [languageCode]
|
|
36652
|
+
* @param {boolean} [returnDefaultValue]
|
|
36064
36653
|
* @param {*} [options] Override http request option.
|
|
36065
36654
|
* @throws {RequiredError}
|
|
36066
36655
|
*/
|
|
36067
|
-
async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, options);
|
|
36656
|
+
async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36657
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
36069
36658
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36070
36659
|
},
|
|
36071
36660
|
/**
|
|
@@ -36084,11 +36673,12 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36084
36673
|
* @summary Get Department.
|
|
36085
36674
|
* @param {string} specialtyTypeId
|
|
36086
36675
|
* @param {string} [languageCode]
|
|
36676
|
+
* @param {boolean} [returnDefaultValue]
|
|
36087
36677
|
* @param {*} [options] Override http request option.
|
|
36088
36678
|
* @throws {RequiredError}
|
|
36089
36679
|
*/
|
|
36090
|
-
async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36091
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options);
|
|
36680
|
+
async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options);
|
|
36092
36682
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36093
36683
|
},
|
|
36094
36684
|
/**
|
|
@@ -36190,14 +36780,15 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36190
36780
|
* @param {string} [languageCode]
|
|
36191
36781
|
* @param {Array<string>} [ids]
|
|
36192
36782
|
* @param {string} [specialtyTypeCategoryId]
|
|
36783
|
+
* @param {boolean} [returnDefaultValue]
|
|
36193
36784
|
* @param {number} [page]
|
|
36194
36785
|
* @param {number} [limit]
|
|
36195
36786
|
* @param {Date} [lastRetrieved]
|
|
36196
36787
|
* @param {*} [options] Override http request option.
|
|
36197
36788
|
* @throws {RequiredError}
|
|
36198
36789
|
*/
|
|
36199
|
-
apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
36200
|
-
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36790
|
+
apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
36791
|
+
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36201
36792
|
},
|
|
36202
36793
|
/**
|
|
36203
36794
|
*
|
|
@@ -36209,16 +36800,39 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36209
36800
|
apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36210
36801
|
return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
|
|
36211
36802
|
},
|
|
36803
|
+
/**
|
|
36804
|
+
*
|
|
36805
|
+
* @summary Get all Hospitals.
|
|
36806
|
+
* @param {string} [id]
|
|
36807
|
+
* @param {string} [name]
|
|
36808
|
+
* @param {string} [description]
|
|
36809
|
+
* @param {MarketingType} [marketingType]
|
|
36810
|
+
* @param {string} [hospitalId]
|
|
36811
|
+
* @param {Date} [created]
|
|
36812
|
+
* @param {string} [languageCode]
|
|
36813
|
+
* @param {Array<string>} [ids]
|
|
36814
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36815
|
+
* @param {boolean} [returnDefaultValue]
|
|
36816
|
+
* @param {number} [page]
|
|
36817
|
+
* @param {number} [limit]
|
|
36818
|
+
* @param {Date} [lastRetrieved]
|
|
36819
|
+
* @param {*} [options] Override http request option.
|
|
36820
|
+
* @throws {RequiredError}
|
|
36821
|
+
*/
|
|
36822
|
+
apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel> {
|
|
36823
|
+
return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36824
|
+
},
|
|
36212
36825
|
/**
|
|
36213
36826
|
*
|
|
36214
36827
|
* @summary Get Department by slug.
|
|
36215
36828
|
* @param {string} slug
|
|
36216
36829
|
* @param {string} [languageCode]
|
|
36830
|
+
* @param {boolean} [returnDefaultValue]
|
|
36217
36831
|
* @param {*} [options] Override http request option.
|
|
36218
36832
|
* @throws {RequiredError}
|
|
36219
36833
|
*/
|
|
36220
|
-
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36221
|
-
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
36834
|
+
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36835
|
+
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
36222
36836
|
},
|
|
36223
36837
|
/**
|
|
36224
36838
|
*
|
|
@@ -36235,11 +36849,12 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36235
36849
|
* @summary Get Department.
|
|
36236
36850
|
* @param {string} specialtyTypeId
|
|
36237
36851
|
* @param {string} [languageCode]
|
|
36852
|
+
* @param {boolean} [returnDefaultValue]
|
|
36238
36853
|
* @param {*} [options] Override http request option.
|
|
36239
36854
|
* @throws {RequiredError}
|
|
36240
36855
|
*/
|
|
36241
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36242
|
-
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then((request) => request(axios, basePath));
|
|
36856
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36857
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
36243
36858
|
},
|
|
36244
36859
|
/**
|
|
36245
36860
|
*
|
|
@@ -36334,6 +36949,7 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36334
36949
|
* @param {string} [languageCode]
|
|
36335
36950
|
* @param {Array<string>} [ids]
|
|
36336
36951
|
* @param {string} [specialtyTypeCategoryId]
|
|
36952
|
+
* @param {boolean} [returnDefaultValue]
|
|
36337
36953
|
* @param {number} [page]
|
|
36338
36954
|
* @param {number} [limit]
|
|
36339
36955
|
* @param {Date} [lastRetrieved]
|
|
@@ -36341,8 +36957,8 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36341
36957
|
* @throws {RequiredError}
|
|
36342
36958
|
* @memberof SpecialtyTypesApi
|
|
36343
36959
|
*/
|
|
36344
|
-
public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36345
|
-
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36960
|
+
public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36961
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36346
36962
|
}
|
|
36347
36963
|
|
|
36348
36964
|
/**
|
|
@@ -36357,17 +36973,42 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36357
36973
|
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36358
36974
|
}
|
|
36359
36975
|
|
|
36976
|
+
/**
|
|
36977
|
+
*
|
|
36978
|
+
* @summary Get all Hospitals.
|
|
36979
|
+
* @param {string} [id]
|
|
36980
|
+
* @param {string} [name]
|
|
36981
|
+
* @param {string} [description]
|
|
36982
|
+
* @param {MarketingType} [marketingType]
|
|
36983
|
+
* @param {string} [hospitalId]
|
|
36984
|
+
* @param {Date} [created]
|
|
36985
|
+
* @param {string} [languageCode]
|
|
36986
|
+
* @param {Array<string>} [ids]
|
|
36987
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36988
|
+
* @param {boolean} [returnDefaultValue]
|
|
36989
|
+
* @param {number} [page]
|
|
36990
|
+
* @param {number} [limit]
|
|
36991
|
+
* @param {Date} [lastRetrieved]
|
|
36992
|
+
* @param {*} [options] Override http request option.
|
|
36993
|
+
* @throws {RequiredError}
|
|
36994
|
+
* @memberof SpecialtyTypesApi
|
|
36995
|
+
*/
|
|
36996
|
+
public apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36997
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36998
|
+
}
|
|
36999
|
+
|
|
36360
37000
|
/**
|
|
36361
37001
|
*
|
|
36362
37002
|
* @summary Get Department by slug.
|
|
36363
37003
|
* @param {string} slug
|
|
36364
37004
|
* @param {string} [languageCode]
|
|
37005
|
+
* @param {boolean} [returnDefaultValue]
|
|
36365
37006
|
* @param {*} [options] Override http request option.
|
|
36366
37007
|
* @throws {RequiredError}
|
|
36367
37008
|
* @memberof SpecialtyTypesApi
|
|
36368
37009
|
*/
|
|
36369
|
-
public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36370
|
-
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
37010
|
+
public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
37011
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
36371
37012
|
}
|
|
36372
37013
|
|
|
36373
37014
|
/**
|
|
@@ -36387,12 +37028,13 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36387
37028
|
* @summary Get Department.
|
|
36388
37029
|
* @param {string} specialtyTypeId
|
|
36389
37030
|
* @param {string} [languageCode]
|
|
37031
|
+
* @param {boolean} [returnDefaultValue]
|
|
36390
37032
|
* @param {*} [options] Override http request option.
|
|
36391
37033
|
* @throws {RequiredError}
|
|
36392
37034
|
* @memberof SpecialtyTypesApi
|
|
36393
37035
|
*/
|
|
36394
|
-
public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36395
|
-
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
37036
|
+
public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
37037
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
36396
37038
|
}
|
|
36397
37039
|
|
|
36398
37040
|
/**
|