ch-admin-api-client-typescript 2.5.5 → 2.5.7
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 +158 -38
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +56 -28
- package/package.json +1 -1
- package/src/api.ts +187 -51
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>}
|
|
2543
2623
|
* @memberof ContributorModel
|
|
2544
2624
|
*/
|
|
2545
|
-
'
|
|
2625
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2626
|
+
/**
|
|
2627
|
+
*
|
|
2628
|
+
* @type {boolean}
|
|
2629
|
+
* @memberof ContributorModel
|
|
2630
|
+
*/
|
|
2631
|
+
'confirmed'?: boolean;
|
|
2632
|
+
/**
|
|
2633
|
+
*
|
|
2634
|
+
* @type {string}
|
|
2635
|
+
* @memberof ContributorModel
|
|
2636
|
+
*/
|
|
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
|
*
|
|
@@ -5908,6 +6006,12 @@ export interface FaqModel {
|
|
|
5908
6006
|
* @memberof FaqModel
|
|
5909
6007
|
*/
|
|
5910
6008
|
'confirmed'?: boolean;
|
|
6009
|
+
/**
|
|
6010
|
+
*
|
|
6011
|
+
* @type {string}
|
|
6012
|
+
* @memberof FaqModel
|
|
6013
|
+
*/
|
|
6014
|
+
'languageCode'?: string | null;
|
|
5911
6015
|
/**
|
|
5912
6016
|
*
|
|
5913
6017
|
* @type {Array<FaqCategoryBreadCrumbModel>}
|
|
@@ -6968,6 +7072,12 @@ export interface HospitalServiceModel {
|
|
|
6968
7072
|
* @memberof HospitalServiceModel
|
|
6969
7073
|
*/
|
|
6970
7074
|
'auditableEntity'?: AuditableEntity;
|
|
7075
|
+
/**
|
|
7076
|
+
*
|
|
7077
|
+
* @type {string}
|
|
7078
|
+
* @memberof HospitalServiceModel
|
|
7079
|
+
*/
|
|
7080
|
+
'languageCode'?: string | null;
|
|
6971
7081
|
}
|
|
6972
7082
|
/**
|
|
6973
7083
|
*
|
|
@@ -9125,6 +9235,12 @@ export interface SpecialtyModel {
|
|
|
9125
9235
|
* @memberof SpecialtyModel
|
|
9126
9236
|
*/
|
|
9127
9237
|
'auditableEntity'?: AuditableEntity;
|
|
9238
|
+
/**
|
|
9239
|
+
*
|
|
9240
|
+
* @type {string}
|
|
9241
|
+
* @memberof SpecialtyModel
|
|
9242
|
+
*/
|
|
9243
|
+
'languageCode'?: string | null;
|
|
9128
9244
|
}
|
|
9129
9245
|
/**
|
|
9130
9246
|
*
|
|
@@ -9271,6 +9387,12 @@ export interface SpecialtyTypeModel {
|
|
|
9271
9387
|
* @memberof SpecialtyTypeModel
|
|
9272
9388
|
*/
|
|
9273
9389
|
'confirmed'?: boolean;
|
|
9390
|
+
/**
|
|
9391
|
+
*
|
|
9392
|
+
* @type {string}
|
|
9393
|
+
* @memberof SpecialtyTypeModel
|
|
9394
|
+
*/
|
|
9395
|
+
'languageCode'?: string | null;
|
|
9274
9396
|
}
|
|
9275
9397
|
/**
|
|
9276
9398
|
*
|
|
@@ -10004,12 +10126,6 @@ export interface UpdateCountryCommand {
|
|
|
10004
10126
|
* @memberof UpdateCountryCommand
|
|
10005
10127
|
*/
|
|
10006
10128
|
'confirmed'?: boolean;
|
|
10007
|
-
/**
|
|
10008
|
-
*
|
|
10009
|
-
* @type {Array<MediaModel>}
|
|
10010
|
-
* @memberof UpdateCountryCommand
|
|
10011
|
-
*/
|
|
10012
|
-
'medias'?: Array<MediaModel> | null;
|
|
10013
10129
|
}
|
|
10014
10130
|
/**
|
|
10015
10131
|
*
|
|
@@ -10337,12 +10453,6 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
10337
10453
|
* @interface UpdateFaqCategoryCommand
|
|
10338
10454
|
*/
|
|
10339
10455
|
export interface UpdateFaqCategoryCommand {
|
|
10340
|
-
/**
|
|
10341
|
-
*
|
|
10342
|
-
* @type {string}
|
|
10343
|
-
* @memberof UpdateFaqCategoryCommand
|
|
10344
|
-
*/
|
|
10345
|
-
'id'?: string | null;
|
|
10346
10456
|
/**
|
|
10347
10457
|
*
|
|
10348
10458
|
* @type {string}
|
|
@@ -10874,12 +10984,6 @@ export interface UpdatePlanCommand {
|
|
|
10874
10984
|
* @memberof UpdatePlanCommand
|
|
10875
10985
|
*/
|
|
10876
10986
|
'unitPrice'?: number;
|
|
10877
|
-
/**
|
|
10878
|
-
*
|
|
10879
|
-
* @type {string}
|
|
10880
|
-
* @memberof UpdatePlanCommand
|
|
10881
|
-
*/
|
|
10882
|
-
'stripePriceId'?: string | null;
|
|
10883
10987
|
/**
|
|
10884
10988
|
*
|
|
10885
10989
|
* @type {RecurringInterval}
|
|
@@ -16541,13 +16645,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16541
16645
|
* @param {boolean} [isOpen]
|
|
16542
16646
|
* @param {boolean} [isCompleted]
|
|
16543
16647
|
* @param {ConsultationStatus} [status]
|
|
16648
|
+
* @param {ConsultationType} [consultationType]
|
|
16544
16649
|
* @param {number} [page]
|
|
16545
16650
|
* @param {number} [limit]
|
|
16546
16651
|
* @param {Date} [lastRetrieved]
|
|
16547
16652
|
* @param {*} [options] Override http request option.
|
|
16548
16653
|
* @throws {RequiredError}
|
|
16549
16654
|
*/
|
|
16550
|
-
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16655
|
+
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16551
16656
|
const localVarPath = `/api/v1/consultations`;
|
|
16552
16657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16553
16658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16580,6 +16685,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16580
16685
|
localVarQueryParameter['Status'] = status;
|
|
16581
16686
|
}
|
|
16582
16687
|
|
|
16688
|
+
if (consultationType !== undefined) {
|
|
16689
|
+
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
16690
|
+
}
|
|
16691
|
+
|
|
16583
16692
|
if (page !== undefined) {
|
|
16584
16693
|
localVarQueryParameter['page'] = page;
|
|
16585
16694
|
}
|
|
@@ -16679,14 +16788,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
16679
16788
|
* @param {boolean} [isOpen]
|
|
16680
16789
|
* @param {boolean} [isCompleted]
|
|
16681
16790
|
* @param {ConsultationStatus} [status]
|
|
16791
|
+
* @param {ConsultationType} [consultationType]
|
|
16682
16792
|
* @param {number} [page]
|
|
16683
16793
|
* @param {number} [limit]
|
|
16684
16794
|
* @param {Date} [lastRetrieved]
|
|
16685
16795
|
* @param {*} [options] Override http request option.
|
|
16686
16796
|
* @throws {RequiredError}
|
|
16687
16797
|
*/
|
|
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);
|
|
16798
|
+
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>> {
|
|
16799
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
|
|
16690
16800
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16691
16801
|
},
|
|
16692
16802
|
}
|
|
@@ -16758,14 +16868,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
16758
16868
|
* @param {boolean} [isOpen]
|
|
16759
16869
|
* @param {boolean} [isCompleted]
|
|
16760
16870
|
* @param {ConsultationStatus} [status]
|
|
16871
|
+
* @param {ConsultationType} [consultationType]
|
|
16761
16872
|
* @param {number} [page]
|
|
16762
16873
|
* @param {number} [limit]
|
|
16763
16874
|
* @param {Date} [lastRetrieved]
|
|
16764
16875
|
* @param {*} [options] Override http request option.
|
|
16765
16876
|
* @throws {RequiredError}
|
|
16766
16877
|
*/
|
|
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));
|
|
16878
|
+
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16879
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16769
16880
|
},
|
|
16770
16881
|
};
|
|
16771
16882
|
};
|
|
@@ -16846,6 +16957,7 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16846
16957
|
* @param {boolean} [isOpen]
|
|
16847
16958
|
* @param {boolean} [isCompleted]
|
|
16848
16959
|
* @param {ConsultationStatus} [status]
|
|
16960
|
+
* @param {ConsultationType} [consultationType]
|
|
16849
16961
|
* @param {number} [page]
|
|
16850
16962
|
* @param {number} [limit]
|
|
16851
16963
|
* @param {Date} [lastRetrieved]
|
|
@@ -16853,8 +16965,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16853
16965
|
* @throws {RequiredError}
|
|
16854
16966
|
* @memberof ConsultationsApi
|
|
16855
16967
|
*/
|
|
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));
|
|
16968
|
+
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16969
|
+
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16858
16970
|
}
|
|
16859
16971
|
}
|
|
16860
16972
|
|
|
@@ -17243,9 +17355,9 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17243
17355
|
* @param {string} [email]
|
|
17244
17356
|
* @param {string} [description]
|
|
17245
17357
|
* @param {string} [website]
|
|
17246
|
-
* @param {string} [languageCode]
|
|
17247
17358
|
* @param {string} [hospitalId]
|
|
17248
17359
|
* @param {boolean} [interviewerOnly]
|
|
17360
|
+
* @param {string} [languageCode]
|
|
17249
17361
|
* @param {boolean} [showHidden]
|
|
17250
17362
|
* @param {number} [page]
|
|
17251
17363
|
* @param {number} [limit]
|
|
@@ -17253,7 +17365,7 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17253
17365
|
* @param {*} [options] Override http request option.
|
|
17254
17366
|
* @throws {RequiredError}
|
|
17255
17367
|
*/
|
|
17256
|
-
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17368
|
+
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
17369
|
const localVarPath = `/api/v1/contributors`;
|
|
17258
17370
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17259
17371
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17290,10 +17402,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17290
17402
|
localVarQueryParameter['Website'] = website;
|
|
17291
17403
|
}
|
|
17292
17404
|
|
|
17293
|
-
if (languageCode !== undefined) {
|
|
17294
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17295
|
-
}
|
|
17296
|
-
|
|
17297
17405
|
if (hospitalId !== undefined) {
|
|
17298
17406
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17299
17407
|
}
|
|
@@ -17302,6 +17410,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17302
17410
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
17303
17411
|
}
|
|
17304
17412
|
|
|
17413
|
+
if (languageCode !== undefined) {
|
|
17414
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17415
|
+
}
|
|
17416
|
+
|
|
17305
17417
|
if (showHidden !== undefined) {
|
|
17306
17418
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17307
17419
|
}
|
|
@@ -17532,9 +17644,9 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17532
17644
|
* @param {string} [email]
|
|
17533
17645
|
* @param {string} [description]
|
|
17534
17646
|
* @param {string} [website]
|
|
17535
|
-
* @param {string} [languageCode]
|
|
17536
17647
|
* @param {string} [hospitalId]
|
|
17537
17648
|
* @param {boolean} [interviewerOnly]
|
|
17649
|
+
* @param {string} [languageCode]
|
|
17538
17650
|
* @param {boolean} [showHidden]
|
|
17539
17651
|
* @param {number} [page]
|
|
17540
17652
|
* @param {number} [limit]
|
|
@@ -17542,8 +17654,8 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17542
17654
|
* @param {*} [options] Override http request option.
|
|
17543
17655
|
* @throws {RequiredError}
|
|
17544
17656
|
*/
|
|
17545
|
-
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17546
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website,
|
|
17657
|
+
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>> {
|
|
17658
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
17547
17659
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17548
17660
|
},
|
|
17549
17661
|
/**
|
|
@@ -17681,9 +17793,9 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17681
17793
|
* @param {string} [email]
|
|
17682
17794
|
* @param {string} [description]
|
|
17683
17795
|
* @param {string} [website]
|
|
17684
|
-
* @param {string} [languageCode]
|
|
17685
17796
|
* @param {string} [hospitalId]
|
|
17686
17797
|
* @param {boolean} [interviewerOnly]
|
|
17798
|
+
* @param {string} [languageCode]
|
|
17687
17799
|
* @param {boolean} [showHidden]
|
|
17688
17800
|
* @param {number} [page]
|
|
17689
17801
|
* @param {number} [limit]
|
|
@@ -17691,8 +17803,8 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17691
17803
|
* @param {*} [options] Override http request option.
|
|
17692
17804
|
* @throws {RequiredError}
|
|
17693
17805
|
*/
|
|
17694
|
-
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17695
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website,
|
|
17806
|
+
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> {
|
|
17807
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17696
17808
|
},
|
|
17697
17809
|
/**
|
|
17698
17810
|
*
|
|
@@ -17843,9 +17955,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17843
17955
|
* @param {string} [email]
|
|
17844
17956
|
* @param {string} [description]
|
|
17845
17957
|
* @param {string} [website]
|
|
17846
|
-
* @param {string} [languageCode]
|
|
17847
17958
|
* @param {string} [hospitalId]
|
|
17848
17959
|
* @param {boolean} [interviewerOnly]
|
|
17960
|
+
* @param {string} [languageCode]
|
|
17849
17961
|
* @param {boolean} [showHidden]
|
|
17850
17962
|
* @param {number} [page]
|
|
17851
17963
|
* @param {number} [limit]
|
|
@@ -17854,8 +17966,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17854
17966
|
* @throws {RequiredError}
|
|
17855
17967
|
* @memberof ContributorsApi
|
|
17856
17968
|
*/
|
|
17857
|
-
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17858
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website,
|
|
17969
|
+
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) {
|
|
17970
|
+
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
17971
|
}
|
|
17860
17972
|
|
|
17861
17973
|
/**
|
|
@@ -25052,14 +25164,17 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
25052
25164
|
* @param {string} [title]
|
|
25053
25165
|
* @param {string} [content]
|
|
25054
25166
|
* @param {string} [categoryId]
|
|
25167
|
+
* @param {string} [hospitalId]
|
|
25168
|
+
* @param {string} [hospitalName]
|
|
25055
25169
|
* @param {string} [languageCode]
|
|
25170
|
+
* @param {boolean} [showHidden]
|
|
25056
25171
|
* @param {number} [page]
|
|
25057
25172
|
* @param {number} [limit]
|
|
25058
25173
|
* @param {Date} [lastRetrieved]
|
|
25059
25174
|
* @param {*} [options] Override http request option.
|
|
25060
25175
|
* @throws {RequiredError}
|
|
25061
25176
|
*/
|
|
25062
|
-
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25177
|
+
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
25178
|
const localVarPath = `/api/v1/faqs`;
|
|
25064
25179
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25065
25180
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25092,10 +25207,22 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
25092
25207
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
25093
25208
|
}
|
|
25094
25209
|
|
|
25210
|
+
if (hospitalId !== undefined) {
|
|
25211
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
25212
|
+
}
|
|
25213
|
+
|
|
25214
|
+
if (hospitalName !== undefined) {
|
|
25215
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
25216
|
+
}
|
|
25217
|
+
|
|
25095
25218
|
if (languageCode !== undefined) {
|
|
25096
25219
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25097
25220
|
}
|
|
25098
25221
|
|
|
25222
|
+
if (showHidden !== undefined) {
|
|
25223
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
25224
|
+
}
|
|
25225
|
+
|
|
25099
25226
|
if (page !== undefined) {
|
|
25100
25227
|
localVarQueryParameter['page'] = page;
|
|
25101
25228
|
}
|
|
@@ -25319,15 +25446,18 @@ export const FaqsApiFp = function(configuration?: Configuration) {
|
|
|
25319
25446
|
* @param {string} [title]
|
|
25320
25447
|
* @param {string} [content]
|
|
25321
25448
|
* @param {string} [categoryId]
|
|
25449
|
+
* @param {string} [hospitalId]
|
|
25450
|
+
* @param {string} [hospitalName]
|
|
25322
25451
|
* @param {string} [languageCode]
|
|
25452
|
+
* @param {boolean} [showHidden]
|
|
25323
25453
|
* @param {number} [page]
|
|
25324
25454
|
* @param {number} [limit]
|
|
25325
25455
|
* @param {Date} [lastRetrieved]
|
|
25326
25456
|
* @param {*} [options] Override http request option.
|
|
25327
25457
|
* @throws {RequiredError}
|
|
25328
25458
|
*/
|
|
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);
|
|
25459
|
+
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>> {
|
|
25460
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25331
25461
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25332
25462
|
},
|
|
25333
25463
|
/**
|
|
@@ -25462,15 +25592,18 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
25462
25592
|
* @param {string} [title]
|
|
25463
25593
|
* @param {string} [content]
|
|
25464
25594
|
* @param {string} [categoryId]
|
|
25595
|
+
* @param {string} [hospitalId]
|
|
25596
|
+
* @param {string} [hospitalName]
|
|
25465
25597
|
* @param {string} [languageCode]
|
|
25598
|
+
* @param {boolean} [showHidden]
|
|
25466
25599
|
* @param {number} [page]
|
|
25467
25600
|
* @param {number} [limit]
|
|
25468
25601
|
* @param {Date} [lastRetrieved]
|
|
25469
25602
|
* @param {*} [options] Override http request option.
|
|
25470
25603
|
* @throws {RequiredError}
|
|
25471
25604
|
*/
|
|
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));
|
|
25605
|
+
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> {
|
|
25606
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25474
25607
|
},
|
|
25475
25608
|
/**
|
|
25476
25609
|
*
|
|
@@ -25618,7 +25751,10 @@ export class FaqsApi extends BaseAPI {
|
|
|
25618
25751
|
* @param {string} [title]
|
|
25619
25752
|
* @param {string} [content]
|
|
25620
25753
|
* @param {string} [categoryId]
|
|
25754
|
+
* @param {string} [hospitalId]
|
|
25755
|
+
* @param {string} [hospitalName]
|
|
25621
25756
|
* @param {string} [languageCode]
|
|
25757
|
+
* @param {boolean} [showHidden]
|
|
25622
25758
|
* @param {number} [page]
|
|
25623
25759
|
* @param {number} [limit]
|
|
25624
25760
|
* @param {Date} [lastRetrieved]
|
|
@@ -25626,8 +25762,8 @@ export class FaqsApi extends BaseAPI {
|
|
|
25626
25762
|
* @throws {RequiredError}
|
|
25627
25763
|
* @memberof FaqsApi
|
|
25628
25764
|
*/
|
|
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));
|
|
25765
|
+
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) {
|
|
25766
|
+
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
25767
|
}
|
|
25632
25768
|
|
|
25633
25769
|
/**
|