ch-admin-api-client-typescript 3.4.9 → 3.5.2
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 +175 -31
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +148 -50
- package/package.json +1 -1
- package/src/api.ts +243 -53
package/src/api.ts
CHANGED
|
@@ -4802,7 +4802,19 @@ export interface CreateServiceReviewCommand {
|
|
|
4802
4802
|
* @type {string}
|
|
4803
4803
|
* @memberof CreateServiceReviewCommand
|
|
4804
4804
|
*/
|
|
4805
|
-
'
|
|
4805
|
+
'name'?: string | null;
|
|
4806
|
+
/**
|
|
4807
|
+
*
|
|
4808
|
+
* @type {string}
|
|
4809
|
+
* @memberof CreateServiceReviewCommand
|
|
4810
|
+
*/
|
|
4811
|
+
'description'?: string | null;
|
|
4812
|
+
/**
|
|
4813
|
+
*
|
|
4814
|
+
* @type {string}
|
|
4815
|
+
* @memberof CreateServiceReviewCommand
|
|
4816
|
+
*/
|
|
4817
|
+
'content'?: string | null;
|
|
4806
4818
|
/**
|
|
4807
4819
|
*
|
|
4808
4820
|
* @type {boolean}
|
|
@@ -10242,6 +10254,24 @@ export interface ServiceReviewItemModel {
|
|
|
10242
10254
|
* @memberof ServiceReviewItemModel
|
|
10243
10255
|
*/
|
|
10244
10256
|
'languageCode'?: string | null;
|
|
10257
|
+
/**
|
|
10258
|
+
*
|
|
10259
|
+
* @type {string}
|
|
10260
|
+
* @memberof ServiceReviewItemModel
|
|
10261
|
+
*/
|
|
10262
|
+
'name'?: string | null;
|
|
10263
|
+
/**
|
|
10264
|
+
*
|
|
10265
|
+
* @type {string}
|
|
10266
|
+
* @memberof ServiceReviewItemModel
|
|
10267
|
+
*/
|
|
10268
|
+
'slug'?: string | null;
|
|
10269
|
+
/**
|
|
10270
|
+
*
|
|
10271
|
+
* @type {boolean}
|
|
10272
|
+
* @memberof ServiceReviewItemModel
|
|
10273
|
+
*/
|
|
10274
|
+
'confirmed'?: boolean;
|
|
10245
10275
|
/**
|
|
10246
10276
|
*
|
|
10247
10277
|
* @type {string}
|
|
@@ -10321,6 +10351,24 @@ export interface ServiceReviewModel {
|
|
|
10321
10351
|
* @memberof ServiceReviewModel
|
|
10322
10352
|
*/
|
|
10323
10353
|
'languageCode'?: string | null;
|
|
10354
|
+
/**
|
|
10355
|
+
*
|
|
10356
|
+
* @type {string}
|
|
10357
|
+
* @memberof ServiceReviewModel
|
|
10358
|
+
*/
|
|
10359
|
+
'name'?: string | null;
|
|
10360
|
+
/**
|
|
10361
|
+
*
|
|
10362
|
+
* @type {string}
|
|
10363
|
+
* @memberof ServiceReviewModel
|
|
10364
|
+
*/
|
|
10365
|
+
'slug'?: string | null;
|
|
10366
|
+
/**
|
|
10367
|
+
*
|
|
10368
|
+
* @type {boolean}
|
|
10369
|
+
* @memberof ServiceReviewModel
|
|
10370
|
+
*/
|
|
10371
|
+
'confirmed'?: boolean;
|
|
10324
10372
|
/**
|
|
10325
10373
|
*
|
|
10326
10374
|
* @type {string}
|
|
@@ -10386,7 +10434,19 @@ export interface ServiceReviewModel {
|
|
|
10386
10434
|
* @type {string}
|
|
10387
10435
|
* @memberof ServiceReviewModel
|
|
10388
10436
|
*/
|
|
10389
|
-
'
|
|
10437
|
+
'description'?: string | null;
|
|
10438
|
+
/**
|
|
10439
|
+
*
|
|
10440
|
+
* @type {string}
|
|
10441
|
+
* @memberof ServiceReviewModel
|
|
10442
|
+
*/
|
|
10443
|
+
'overview'?: string | null;
|
|
10444
|
+
/**
|
|
10445
|
+
*
|
|
10446
|
+
* @type {string}
|
|
10447
|
+
* @memberof ServiceReviewModel
|
|
10448
|
+
*/
|
|
10449
|
+
'content'?: string | null;
|
|
10390
10450
|
}
|
|
10391
10451
|
/**
|
|
10392
10452
|
*
|
|
@@ -12673,6 +12733,25 @@ export interface UpdateHospitalSnsHandleCommand {
|
|
|
12673
12733
|
*/
|
|
12674
12734
|
'handle'?: string | null;
|
|
12675
12735
|
}
|
|
12736
|
+
/**
|
|
12737
|
+
*
|
|
12738
|
+
* @export
|
|
12739
|
+
* @interface UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12740
|
+
*/
|
|
12741
|
+
export interface UpdateHospitalSpecialtiesSearchIndexCommand {
|
|
12742
|
+
/**
|
|
12743
|
+
*
|
|
12744
|
+
* @type {number}
|
|
12745
|
+
* @memberof UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12746
|
+
*/
|
|
12747
|
+
'batchSize'?: number | null;
|
|
12748
|
+
/**
|
|
12749
|
+
*
|
|
12750
|
+
* @type {boolean}
|
|
12751
|
+
* @memberof UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12752
|
+
*/
|
|
12753
|
+
'reCreate'?: boolean | null;
|
|
12754
|
+
}
|
|
12676
12755
|
/**
|
|
12677
12756
|
*
|
|
12678
12757
|
* @export
|
|
@@ -13175,7 +13254,31 @@ export interface UpdateServiceReviewCommand {
|
|
|
13175
13254
|
* @type {string}
|
|
13176
13255
|
* @memberof UpdateServiceReviewCommand
|
|
13177
13256
|
*/
|
|
13178
|
-
'
|
|
13257
|
+
'name'?: string | null;
|
|
13258
|
+
/**
|
|
13259
|
+
*
|
|
13260
|
+
* @type {string}
|
|
13261
|
+
* @memberof UpdateServiceReviewCommand
|
|
13262
|
+
*/
|
|
13263
|
+
'slug'?: string | null;
|
|
13264
|
+
/**
|
|
13265
|
+
*
|
|
13266
|
+
* @type {string}
|
|
13267
|
+
* @memberof UpdateServiceReviewCommand
|
|
13268
|
+
*/
|
|
13269
|
+
'description'?: string | null;
|
|
13270
|
+
/**
|
|
13271
|
+
*
|
|
13272
|
+
* @type {string}
|
|
13273
|
+
* @memberof UpdateServiceReviewCommand
|
|
13274
|
+
*/
|
|
13275
|
+
'content'?: string | null;
|
|
13276
|
+
/**
|
|
13277
|
+
*
|
|
13278
|
+
* @type {string}
|
|
13279
|
+
* @memberof UpdateServiceReviewCommand
|
|
13280
|
+
*/
|
|
13281
|
+
'languageCode'?: string | null;
|
|
13179
13282
|
/**
|
|
13180
13283
|
*
|
|
13181
13284
|
* @type {boolean}
|
|
@@ -31952,7 +32055,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31952
32055
|
},
|
|
31953
32056
|
/**
|
|
31954
32057
|
*
|
|
31955
|
-
* @summary Get all
|
|
32058
|
+
* @summary Get all GetAllLanguages.
|
|
31956
32059
|
* @param {string} hospitalId
|
|
31957
32060
|
* @param {string} [name]
|
|
31958
32061
|
* @param {number} [page]
|
|
@@ -31961,10 +32064,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31961
32064
|
* @param {*} [options] Override http request option.
|
|
31962
32065
|
* @throws {RequiredError}
|
|
31963
32066
|
*/
|
|
31964
|
-
|
|
32067
|
+
apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31965
32068
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
31966
|
-
assertParamExists('
|
|
31967
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
32069
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
|
|
32070
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
|
|
31968
32071
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
31969
32072
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31970
32073
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32012,18 +32115,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32012
32115
|
},
|
|
32013
32116
|
/**
|
|
32014
32117
|
*
|
|
32015
|
-
* @summary Delete
|
|
32118
|
+
* @summary Delete GetAllLanguage.
|
|
32016
32119
|
* @param {string} hospitalId
|
|
32017
32120
|
* @param {string} languageCode
|
|
32018
32121
|
* @param {*} [options] Override http request option.
|
|
32019
32122
|
* @throws {RequiredError}
|
|
32020
32123
|
*/
|
|
32021
|
-
|
|
32124
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: async (hospitalId: string, languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32022
32125
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
32023
|
-
assertParamExists('
|
|
32126
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId)
|
|
32024
32127
|
// verify required parameter 'languageCode' is not null or undefined
|
|
32025
|
-
assertParamExists('
|
|
32026
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
32128
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode)
|
|
32129
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{languageCode}`
|
|
32027
32130
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32028
32131
|
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
32029
32132
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -32060,10 +32163,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32060
32163
|
* @param {*} [options] Override http request option.
|
|
32061
32164
|
* @throws {RequiredError}
|
|
32062
32165
|
*/
|
|
32063
|
-
|
|
32166
|
+
apiV1HospitalsHospitalIdLanguagesPost: async (hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32064
32167
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
32065
|
-
assertParamExists('
|
|
32066
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
32168
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesPost', 'hospitalId', hospitalId)
|
|
32169
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
|
|
32067
32170
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
32068
32171
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32069
32172
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34568,7 +34671,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34568
34671
|
},
|
|
34569
34672
|
/**
|
|
34570
34673
|
*
|
|
34571
|
-
* @summary Get all
|
|
34674
|
+
* @summary Get all GetAllLanguages.
|
|
34572
34675
|
* @param {string} hospitalId
|
|
34573
34676
|
* @param {string} [name]
|
|
34574
34677
|
* @param {number} [page]
|
|
@@ -34577,20 +34680,20 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34577
34680
|
* @param {*} [options] Override http request option.
|
|
34578
34681
|
* @throws {RequiredError}
|
|
34579
34682
|
*/
|
|
34580
|
-
async
|
|
34581
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34683
|
+
async apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
|
|
34684
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options);
|
|
34582
34685
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34583
34686
|
},
|
|
34584
34687
|
/**
|
|
34585
34688
|
*
|
|
34586
|
-
* @summary Delete
|
|
34689
|
+
* @summary Delete GetAllLanguage.
|
|
34587
34690
|
* @param {string} hospitalId
|
|
34588
34691
|
* @param {string} languageCode
|
|
34589
34692
|
* @param {*} [options] Override http request option.
|
|
34590
34693
|
* @throws {RequiredError}
|
|
34591
34694
|
*/
|
|
34592
|
-
async
|
|
34593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34695
|
+
async apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34696
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options);
|
|
34594
34697
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34595
34698
|
},
|
|
34596
34699
|
/**
|
|
@@ -34601,8 +34704,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34601
34704
|
* @param {*} [options] Override http request option.
|
|
34602
34705
|
* @throws {RequiredError}
|
|
34603
34706
|
*/
|
|
34604
|
-
async
|
|
34605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34707
|
+
async apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options);
|
|
34606
34709
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34607
34710
|
},
|
|
34608
34711
|
/**
|
|
@@ -35513,7 +35616,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35513
35616
|
},
|
|
35514
35617
|
/**
|
|
35515
35618
|
*
|
|
35516
|
-
* @summary Get all
|
|
35619
|
+
* @summary Get all GetAllLanguages.
|
|
35517
35620
|
* @param {string} hospitalId
|
|
35518
35621
|
* @param {string} [name]
|
|
35519
35622
|
* @param {number} [page]
|
|
@@ -35522,19 +35625,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35522
35625
|
* @param {*} [options] Override http request option.
|
|
35523
35626
|
* @throws {RequiredError}
|
|
35524
35627
|
*/
|
|
35525
|
-
|
|
35526
|
-
return localVarFp.
|
|
35628
|
+
apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
|
|
35629
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35527
35630
|
},
|
|
35528
35631
|
/**
|
|
35529
35632
|
*
|
|
35530
|
-
* @summary Delete
|
|
35633
|
+
* @summary Delete GetAllLanguage.
|
|
35531
35634
|
* @param {string} hospitalId
|
|
35532
35635
|
* @param {string} languageCode
|
|
35533
35636
|
* @param {*} [options] Override http request option.
|
|
35534
35637
|
* @throws {RequiredError}
|
|
35535
35638
|
*/
|
|
35536
|
-
|
|
35537
|
-
return localVarFp.
|
|
35639
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: any): AxiosPromise<boolean> {
|
|
35640
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
35538
35641
|
},
|
|
35539
35642
|
/**
|
|
35540
35643
|
*
|
|
@@ -35544,8 +35647,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35544
35647
|
* @param {*} [options] Override http request option.
|
|
35545
35648
|
* @throws {RequiredError}
|
|
35546
35649
|
*/
|
|
35547
|
-
|
|
35548
|
-
return localVarFp.
|
|
35650
|
+
apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: any): AxiosPromise<boolean> {
|
|
35651
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(axios, basePath));
|
|
35549
35652
|
},
|
|
35550
35653
|
/**
|
|
35551
35654
|
*
|
|
@@ -36471,7 +36574,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36471
36574
|
|
|
36472
36575
|
/**
|
|
36473
36576
|
*
|
|
36474
|
-
* @summary Get all
|
|
36577
|
+
* @summary Get all GetAllLanguages.
|
|
36475
36578
|
* @param {string} hospitalId
|
|
36476
36579
|
* @param {string} [name]
|
|
36477
36580
|
* @param {number} [page]
|
|
@@ -36481,21 +36584,21 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36481
36584
|
* @throws {RequiredError}
|
|
36482
36585
|
* @memberof HospitalsApi
|
|
36483
36586
|
*/
|
|
36484
|
-
public
|
|
36485
|
-
return HospitalsApiFp(this.configuration).
|
|
36587
|
+
public apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36588
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36486
36589
|
}
|
|
36487
36590
|
|
|
36488
36591
|
/**
|
|
36489
36592
|
*
|
|
36490
|
-
* @summary Delete
|
|
36593
|
+
* @summary Delete GetAllLanguage.
|
|
36491
36594
|
* @param {string} hospitalId
|
|
36492
36595
|
* @param {string} languageCode
|
|
36493
36596
|
* @param {*} [options] Override http request option.
|
|
36494
36597
|
* @throws {RequiredError}
|
|
36495
36598
|
* @memberof HospitalsApi
|
|
36496
36599
|
*/
|
|
36497
|
-
public
|
|
36498
|
-
return HospitalsApiFp(this.configuration).
|
|
36600
|
+
public apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig) {
|
|
36601
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36499
36602
|
}
|
|
36500
36603
|
|
|
36501
36604
|
/**
|
|
@@ -36507,8 +36610,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36507
36610
|
* @throws {RequiredError}
|
|
36508
36611
|
* @memberof HospitalsApi
|
|
36509
36612
|
*/
|
|
36510
|
-
public
|
|
36511
|
-
return HospitalsApiFp(this.configuration).
|
|
36613
|
+
public apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig) {
|
|
36614
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36512
36615
|
}
|
|
36513
36616
|
|
|
36514
36617
|
/**
|
|
@@ -40973,6 +41076,44 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
40973
41076
|
options: localVarRequestOptions,
|
|
40974
41077
|
};
|
|
40975
41078
|
},
|
|
41079
|
+
/**
|
|
41080
|
+
*
|
|
41081
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41082
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41083
|
+
* @param {*} [options] Override http request option.
|
|
41084
|
+
* @throws {RequiredError}
|
|
41085
|
+
*/
|
|
41086
|
+
apiV1SearchHospitalspecialtiesPost: async (updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41087
|
+
const localVarPath = `/api/v1/search/hospitalspecialties`;
|
|
41088
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41089
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41090
|
+
let baseOptions;
|
|
41091
|
+
if (configuration) {
|
|
41092
|
+
baseOptions = configuration.baseOptions;
|
|
41093
|
+
}
|
|
41094
|
+
|
|
41095
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41096
|
+
const localVarHeaderParameter = {} as any;
|
|
41097
|
+
const localVarQueryParameter = {} as any;
|
|
41098
|
+
|
|
41099
|
+
// authentication oauth2 required
|
|
41100
|
+
// oauth required
|
|
41101
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41102
|
+
|
|
41103
|
+
|
|
41104
|
+
|
|
41105
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41106
|
+
|
|
41107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41110
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41111
|
+
|
|
41112
|
+
return {
|
|
41113
|
+
url: toPathString(localVarUrlObj),
|
|
41114
|
+
options: localVarRequestOptions,
|
|
41115
|
+
};
|
|
41116
|
+
},
|
|
40976
41117
|
/**
|
|
40977
41118
|
*
|
|
40978
41119
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -41092,6 +41233,17 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
41092
41233
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
|
|
41093
41234
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41094
41235
|
},
|
|
41236
|
+
/**
|
|
41237
|
+
*
|
|
41238
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41239
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41240
|
+
* @param {*} [options] Override http request option.
|
|
41241
|
+
* @throws {RequiredError}
|
|
41242
|
+
*/
|
|
41243
|
+
async apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41244
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options);
|
|
41245
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41246
|
+
},
|
|
41095
41247
|
/**
|
|
41096
41248
|
*
|
|
41097
41249
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -41154,6 +41306,16 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
41154
41306
|
apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41155
41307
|
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41156
41308
|
},
|
|
41309
|
+
/**
|
|
41310
|
+
*
|
|
41311
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41312
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41313
|
+
* @param {*} [options] Override http request option.
|
|
41314
|
+
* @throws {RequiredError}
|
|
41315
|
+
*/
|
|
41316
|
+
apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41317
|
+
return localVarFp.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41318
|
+
},
|
|
41157
41319
|
/**
|
|
41158
41320
|
*
|
|
41159
41321
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -41220,6 +41382,18 @@ export class SearchApi extends BaseAPI {
|
|
|
41220
41382
|
return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41221
41383
|
}
|
|
41222
41384
|
|
|
41385
|
+
/**
|
|
41386
|
+
*
|
|
41387
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41388
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41389
|
+
* @param {*} [options] Override http request option.
|
|
41390
|
+
* @throws {RequiredError}
|
|
41391
|
+
* @memberof SearchApi
|
|
41392
|
+
*/
|
|
41393
|
+
public apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41394
|
+
return SearchApiFp(this.configuration).apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41395
|
+
}
|
|
41396
|
+
|
|
41223
41397
|
/**
|
|
41224
41398
|
*
|
|
41225
41399
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -41255,6 +41429,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41255
41429
|
/**
|
|
41256
41430
|
*
|
|
41257
41431
|
* @summary Get all ServiceReviews.
|
|
41432
|
+
* @param {string} [id]
|
|
41258
41433
|
* @param {string} [serviceId]
|
|
41259
41434
|
* @param {string} [serviceName]
|
|
41260
41435
|
* @param {string} [patientId]
|
|
@@ -41271,7 +41446,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41271
41446
|
* @param {*} [options] Override http request option.
|
|
41272
41447
|
* @throws {RequiredError}
|
|
41273
41448
|
*/
|
|
41274
|
-
apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41449
|
+
apiV1ServicereviewsGet: async (id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41275
41450
|
const localVarPath = `/api/v1/servicereviews`;
|
|
41276
41451
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41277
41452
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -41288,6 +41463,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41288
41463
|
// oauth required
|
|
41289
41464
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41290
41465
|
|
|
41466
|
+
if (id !== undefined) {
|
|
41467
|
+
localVarQueryParameter['Id'] = id;
|
|
41468
|
+
}
|
|
41469
|
+
|
|
41291
41470
|
if (serviceId !== undefined) {
|
|
41292
41471
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
41293
41472
|
}
|
|
@@ -41432,10 +41611,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41432
41611
|
/**
|
|
41433
41612
|
*
|
|
41434
41613
|
* @param {string} serviceReviewId
|
|
41614
|
+
* @param {string} [languageCode]
|
|
41435
41615
|
* @param {*} [options] Override http request option.
|
|
41436
41616
|
* @throws {RequiredError}
|
|
41437
41617
|
*/
|
|
41438
|
-
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41618
|
+
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41439
41619
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
41440
41620
|
assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
41441
41621
|
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
@@ -41455,6 +41635,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41455
41635
|
// oauth required
|
|
41456
41636
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41457
41637
|
|
|
41638
|
+
if (languageCode !== undefined) {
|
|
41639
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
41640
|
+
}
|
|
41641
|
+
|
|
41458
41642
|
|
|
41459
41643
|
|
|
41460
41644
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -41758,6 +41942,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41758
41942
|
/**
|
|
41759
41943
|
*
|
|
41760
41944
|
* @summary Get all ServiceReviews.
|
|
41945
|
+
* @param {string} [id]
|
|
41761
41946
|
* @param {string} [serviceId]
|
|
41762
41947
|
* @param {string} [serviceName]
|
|
41763
41948
|
* @param {string} [patientId]
|
|
@@ -41774,8 +41959,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41774
41959
|
* @param {*} [options] Override http request option.
|
|
41775
41960
|
* @throws {RequiredError}
|
|
41776
41961
|
*/
|
|
41777
|
-
async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
41778
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
41962
|
+
async apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
41963
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
41779
41964
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41780
41965
|
},
|
|
41781
41966
|
/**
|
|
@@ -41803,11 +41988,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41803
41988
|
/**
|
|
41804
41989
|
*
|
|
41805
41990
|
* @param {string} serviceReviewId
|
|
41991
|
+
* @param {string} [languageCode]
|
|
41806
41992
|
* @param {*} [options] Override http request option.
|
|
41807
41993
|
* @throws {RequiredError}
|
|
41808
41994
|
*/
|
|
41809
|
-
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
41810
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
41995
|
+
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
41996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options);
|
|
41811
41997
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41812
41998
|
},
|
|
41813
41999
|
/**
|
|
@@ -41900,6 +42086,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
41900
42086
|
/**
|
|
41901
42087
|
*
|
|
41902
42088
|
* @summary Get all ServiceReviews.
|
|
42089
|
+
* @param {string} [id]
|
|
41903
42090
|
* @param {string} [serviceId]
|
|
41904
42091
|
* @param {string} [serviceName]
|
|
41905
42092
|
* @param {string} [patientId]
|
|
@@ -41916,8 +42103,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
41916
42103
|
* @param {*} [options] Override http request option.
|
|
41917
42104
|
* @throws {RequiredError}
|
|
41918
42105
|
*/
|
|
41919
|
-
apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
41920
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42106
|
+
apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
42107
|
+
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41921
42108
|
},
|
|
41922
42109
|
/**
|
|
41923
42110
|
*
|
|
@@ -41942,11 +42129,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
41942
42129
|
/**
|
|
41943
42130
|
*
|
|
41944
42131
|
* @param {string} serviceReviewId
|
|
42132
|
+
* @param {string} [languageCode]
|
|
41945
42133
|
* @param {*} [options] Override http request option.
|
|
41946
42134
|
* @throws {RequiredError}
|
|
41947
42135
|
*/
|
|
41948
|
-
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
41949
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
42136
|
+
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
42137
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(axios, basePath));
|
|
41950
42138
|
},
|
|
41951
42139
|
/**
|
|
41952
42140
|
*
|
|
@@ -42032,6 +42220,7 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42032
42220
|
/**
|
|
42033
42221
|
*
|
|
42034
42222
|
* @summary Get all ServiceReviews.
|
|
42223
|
+
* @param {string} [id]
|
|
42035
42224
|
* @param {string} [serviceId]
|
|
42036
42225
|
* @param {string} [serviceName]
|
|
42037
42226
|
* @param {string} [patientId]
|
|
@@ -42049,8 +42238,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42049
42238
|
* @throws {RequiredError}
|
|
42050
42239
|
* @memberof ServiceReviewsApi
|
|
42051
42240
|
*/
|
|
42052
|
-
public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42053
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42241
|
+
public apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42242
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42054
42243
|
}
|
|
42055
42244
|
|
|
42056
42245
|
/**
|
|
@@ -42080,12 +42269,13 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42080
42269
|
/**
|
|
42081
42270
|
*
|
|
42082
42271
|
* @param {string} serviceReviewId
|
|
42272
|
+
* @param {string} [languageCode]
|
|
42083
42273
|
* @param {*} [options] Override http request option.
|
|
42084
42274
|
* @throws {RequiredError}
|
|
42085
42275
|
* @memberof ServiceReviewsApi
|
|
42086
42276
|
*/
|
|
42087
|
-
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
42088
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
42277
|
+
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
42278
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
42089
42279
|
}
|
|
42090
42280
|
|
|
42091
42281
|
/**
|