ch-admin-api-client-typescript 3.4.7 → 3.5.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 +211 -13
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +298 -0
- package/package.json +1 -1
- package/src/api.ts +349 -13
package/lib/api.d.ts
CHANGED
|
@@ -581,6 +581,24 @@ export interface ArticleItemModel {
|
|
|
581
581
|
* @memberof ArticleItemModel
|
|
582
582
|
*/
|
|
583
583
|
'hospitalSlug'?: string | null;
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @type {string}
|
|
587
|
+
* @memberof ArticleItemModel
|
|
588
|
+
*/
|
|
589
|
+
'youtubeUrl'?: string | null;
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @type {Array<ArticleTagItemModel>}
|
|
593
|
+
* @memberof ArticleItemModel
|
|
594
|
+
*/
|
|
595
|
+
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
596
|
+
/**
|
|
597
|
+
*
|
|
598
|
+
* @type {Array<MediaModel>}
|
|
599
|
+
* @memberof ArticleItemModel
|
|
600
|
+
*/
|
|
601
|
+
'medias'?: Array<MediaModel> | null;
|
|
584
602
|
/**
|
|
585
603
|
*
|
|
586
604
|
* @type {AuditableEntity}
|
|
@@ -662,46 +680,46 @@ export interface ArticleModel {
|
|
|
662
680
|
'hospitalSlug'?: string | null;
|
|
663
681
|
/**
|
|
664
682
|
*
|
|
665
|
-
* @type {
|
|
683
|
+
* @type {string}
|
|
666
684
|
* @memberof ArticleModel
|
|
667
685
|
*/
|
|
668
|
-
'
|
|
686
|
+
'youtubeUrl'?: string | null;
|
|
669
687
|
/**
|
|
670
688
|
*
|
|
671
|
-
* @type {
|
|
689
|
+
* @type {Array<ArticleTagItemModel>}
|
|
672
690
|
* @memberof ArticleModel
|
|
673
691
|
*/
|
|
674
|
-
'
|
|
692
|
+
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
675
693
|
/**
|
|
676
694
|
*
|
|
677
|
-
* @type {
|
|
695
|
+
* @type {Array<MediaModel>}
|
|
678
696
|
* @memberof ArticleModel
|
|
679
697
|
*/
|
|
680
|
-
'
|
|
698
|
+
'medias'?: Array<MediaModel> | null;
|
|
681
699
|
/**
|
|
682
700
|
*
|
|
683
|
-
* @type {
|
|
701
|
+
* @type {AuditableEntity}
|
|
684
702
|
* @memberof ArticleModel
|
|
685
703
|
*/
|
|
686
|
-
'
|
|
704
|
+
'auditableEntity'?: AuditableEntity;
|
|
687
705
|
/**
|
|
688
706
|
*
|
|
689
707
|
* @type {string}
|
|
690
708
|
* @memberof ArticleModel
|
|
691
709
|
*/
|
|
692
|
-
'
|
|
710
|
+
'description'?: string | null;
|
|
693
711
|
/**
|
|
694
712
|
*
|
|
695
|
-
* @type {
|
|
713
|
+
* @type {string}
|
|
696
714
|
* @memberof ArticleModel
|
|
697
715
|
*/
|
|
698
|
-
'
|
|
716
|
+
'overview'?: string | null;
|
|
699
717
|
/**
|
|
700
718
|
*
|
|
701
|
-
* @type {
|
|
719
|
+
* @type {string}
|
|
702
720
|
* @memberof ArticleModel
|
|
703
721
|
*/
|
|
704
|
-
'
|
|
722
|
+
'content'?: string | null;
|
|
705
723
|
}
|
|
706
724
|
/**
|
|
707
725
|
*
|
|
@@ -4201,6 +4219,19 @@ export interface CreateHospitalEvaluationCommand {
|
|
|
4201
4219
|
*/
|
|
4202
4220
|
'referenceUrl'?: string | null;
|
|
4203
4221
|
}
|
|
4222
|
+
/**
|
|
4223
|
+
*
|
|
4224
|
+
* @export
|
|
4225
|
+
* @interface CreateHospitalLanguageCommand
|
|
4226
|
+
*/
|
|
4227
|
+
export interface CreateHospitalLanguageCommand {
|
|
4228
|
+
/**
|
|
4229
|
+
*
|
|
4230
|
+
* @type {string}
|
|
4231
|
+
* @memberof CreateHospitalLanguageCommand
|
|
4232
|
+
*/
|
|
4233
|
+
'langaugeCode'?: string | null;
|
|
4234
|
+
}
|
|
4204
4235
|
/**
|
|
4205
4236
|
*
|
|
4206
4237
|
* @export
|
|
@@ -7580,6 +7611,44 @@ export interface HospitalItemModel {
|
|
|
7580
7611
|
*/
|
|
7581
7612
|
'auditableEntity'?: AuditableEntity;
|
|
7582
7613
|
}
|
|
7614
|
+
/**
|
|
7615
|
+
*
|
|
7616
|
+
* @export
|
|
7617
|
+
* @interface HospitalLanguageItemModel
|
|
7618
|
+
*/
|
|
7619
|
+
export interface HospitalLanguageItemModel {
|
|
7620
|
+
/**
|
|
7621
|
+
*
|
|
7622
|
+
* @type {string}
|
|
7623
|
+
* @memberof HospitalLanguageItemModel
|
|
7624
|
+
*/
|
|
7625
|
+
'code'?: string | null;
|
|
7626
|
+
/**
|
|
7627
|
+
*
|
|
7628
|
+
* @type {string}
|
|
7629
|
+
* @memberof HospitalLanguageItemModel
|
|
7630
|
+
*/
|
|
7631
|
+
'name'?: string | null;
|
|
7632
|
+
}
|
|
7633
|
+
/**
|
|
7634
|
+
*
|
|
7635
|
+
* @export
|
|
7636
|
+
* @interface HospitalLanguagesModel
|
|
7637
|
+
*/
|
|
7638
|
+
export interface HospitalLanguagesModel {
|
|
7639
|
+
/**
|
|
7640
|
+
*
|
|
7641
|
+
* @type {Array<HospitalLanguageItemModel>}
|
|
7642
|
+
* @memberof HospitalLanguagesModel
|
|
7643
|
+
*/
|
|
7644
|
+
'items'?: Array<HospitalLanguageItemModel> | null;
|
|
7645
|
+
/**
|
|
7646
|
+
*
|
|
7647
|
+
* @type {PagedListMetaData}
|
|
7648
|
+
* @memberof HospitalLanguagesModel
|
|
7649
|
+
*/
|
|
7650
|
+
'metaData'?: PagedListMetaData;
|
|
7651
|
+
}
|
|
7583
7652
|
/**
|
|
7584
7653
|
*
|
|
7585
7654
|
* @export
|
|
@@ -7742,6 +7811,12 @@ export interface HospitalModel {
|
|
|
7742
7811
|
* @memberof HospitalModel
|
|
7743
7812
|
*/
|
|
7744
7813
|
'customStyle'?: string | null;
|
|
7814
|
+
/**
|
|
7815
|
+
*
|
|
7816
|
+
* @type {Array<HospitalLanguageItemModel>}
|
|
7817
|
+
* @memberof HospitalModel
|
|
7818
|
+
*/
|
|
7819
|
+
'langauges'?: Array<HospitalLanguageItemModel> | null;
|
|
7745
7820
|
}
|
|
7746
7821
|
/**
|
|
7747
7822
|
*
|
|
@@ -21950,6 +22025,36 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
21950
22025
|
* @throws {RequiredError}
|
|
21951
22026
|
*/
|
|
21952
22027
|
apiV1HospitalsHospitalIdHandlesPost: (hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22028
|
+
/**
|
|
22029
|
+
*
|
|
22030
|
+
* @summary Get all GetAllLanguages.
|
|
22031
|
+
* @param {string} hospitalId
|
|
22032
|
+
* @param {string} [name]
|
|
22033
|
+
* @param {number} [page]
|
|
22034
|
+
* @param {number} [limit]
|
|
22035
|
+
* @param {Date} [lastRetrieved]
|
|
22036
|
+
* @param {*} [options] Override http request option.
|
|
22037
|
+
* @throws {RequiredError}
|
|
22038
|
+
*/
|
|
22039
|
+
apiV1HospitalsHospitalIdLanguagesGet: (hospitalId: string, name?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22040
|
+
/**
|
|
22041
|
+
*
|
|
22042
|
+
* @summary Delete GetAllLanguage.
|
|
22043
|
+
* @param {string} hospitalId
|
|
22044
|
+
* @param {string} languageCode
|
|
22045
|
+
* @param {*} [options] Override http request option.
|
|
22046
|
+
* @throws {RequiredError}
|
|
22047
|
+
*/
|
|
22048
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: (hospitalId: string, languageCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22049
|
+
/**
|
|
22050
|
+
*
|
|
22051
|
+
* @summary Create HospitalLanguages.
|
|
22052
|
+
* @param {string} hospitalId
|
|
22053
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
22054
|
+
* @param {*} [options] Override http request option.
|
|
22055
|
+
* @throws {RequiredError}
|
|
22056
|
+
*/
|
|
22057
|
+
apiV1HospitalsHospitalIdLanguagesPost: (hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21953
22058
|
/**
|
|
21954
22059
|
*
|
|
21955
22060
|
* @summary Get all HospitalMedias.
|
|
@@ -22684,6 +22789,36 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
|
|
|
22684
22789
|
* @throws {RequiredError}
|
|
22685
22790
|
*/
|
|
22686
22791
|
apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SnsHandleModel>>;
|
|
22792
|
+
/**
|
|
22793
|
+
*
|
|
22794
|
+
* @summary Get all GetAllLanguages.
|
|
22795
|
+
* @param {string} hospitalId
|
|
22796
|
+
* @param {string} [name]
|
|
22797
|
+
* @param {number} [page]
|
|
22798
|
+
* @param {number} [limit]
|
|
22799
|
+
* @param {Date} [lastRetrieved]
|
|
22800
|
+
* @param {*} [options] Override http request option.
|
|
22801
|
+
* @throws {RequiredError}
|
|
22802
|
+
*/
|
|
22803
|
+
apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalLanguagesModel>>;
|
|
22804
|
+
/**
|
|
22805
|
+
*
|
|
22806
|
+
* @summary Delete GetAllLanguage.
|
|
22807
|
+
* @param {string} hospitalId
|
|
22808
|
+
* @param {string} languageCode
|
|
22809
|
+
* @param {*} [options] Override http request option.
|
|
22810
|
+
* @throws {RequiredError}
|
|
22811
|
+
*/
|
|
22812
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
22813
|
+
/**
|
|
22814
|
+
*
|
|
22815
|
+
* @summary Create HospitalLanguages.
|
|
22816
|
+
* @param {string} hospitalId
|
|
22817
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
22818
|
+
* @param {*} [options] Override http request option.
|
|
22819
|
+
* @throws {RequiredError}
|
|
22820
|
+
*/
|
|
22821
|
+
apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
22687
22822
|
/**
|
|
22688
22823
|
*
|
|
22689
22824
|
* @summary Get all HospitalMedias.
|
|
@@ -23418,6 +23553,36 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
|
|
|
23418
23553
|
* @throws {RequiredError}
|
|
23419
23554
|
*/
|
|
23420
23555
|
apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand | undefined, options?: any): AxiosPromise<SnsHandleModel>;
|
|
23556
|
+
/**
|
|
23557
|
+
*
|
|
23558
|
+
* @summary Get all GetAllLanguages.
|
|
23559
|
+
* @param {string} hospitalId
|
|
23560
|
+
* @param {string} [name]
|
|
23561
|
+
* @param {number} [page]
|
|
23562
|
+
* @param {number} [limit]
|
|
23563
|
+
* @param {Date} [lastRetrieved]
|
|
23564
|
+
* @param {*} [options] Override http request option.
|
|
23565
|
+
* @throws {RequiredError}
|
|
23566
|
+
*/
|
|
23567
|
+
apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<HospitalLanguagesModel>;
|
|
23568
|
+
/**
|
|
23569
|
+
*
|
|
23570
|
+
* @summary Delete GetAllLanguage.
|
|
23571
|
+
* @param {string} hospitalId
|
|
23572
|
+
* @param {string} languageCode
|
|
23573
|
+
* @param {*} [options] Override http request option.
|
|
23574
|
+
* @throws {RequiredError}
|
|
23575
|
+
*/
|
|
23576
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: any): AxiosPromise<boolean>;
|
|
23577
|
+
/**
|
|
23578
|
+
*
|
|
23579
|
+
* @summary Create HospitalLanguages.
|
|
23580
|
+
* @param {string} hospitalId
|
|
23581
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
23582
|
+
* @param {*} [options] Override http request option.
|
|
23583
|
+
* @throws {RequiredError}
|
|
23584
|
+
*/
|
|
23585
|
+
apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand | undefined, options?: any): AxiosPromise<boolean>;
|
|
23421
23586
|
/**
|
|
23422
23587
|
*
|
|
23423
23588
|
* @summary Get all HospitalMedias.
|
|
@@ -24181,6 +24346,39 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
24181
24346
|
* @memberof HospitalsApi
|
|
24182
24347
|
*/
|
|
24183
24348
|
apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SnsHandleModel>>;
|
|
24349
|
+
/**
|
|
24350
|
+
*
|
|
24351
|
+
* @summary Get all GetAllLanguages.
|
|
24352
|
+
* @param {string} hospitalId
|
|
24353
|
+
* @param {string} [name]
|
|
24354
|
+
* @param {number} [page]
|
|
24355
|
+
* @param {number} [limit]
|
|
24356
|
+
* @param {Date} [lastRetrieved]
|
|
24357
|
+
* @param {*} [options] Override http request option.
|
|
24358
|
+
* @throws {RequiredError}
|
|
24359
|
+
* @memberof HospitalsApi
|
|
24360
|
+
*/
|
|
24361
|
+
apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalLanguagesModel>>;
|
|
24362
|
+
/**
|
|
24363
|
+
*
|
|
24364
|
+
* @summary Delete GetAllLanguage.
|
|
24365
|
+
* @param {string} hospitalId
|
|
24366
|
+
* @param {string} languageCode
|
|
24367
|
+
* @param {*} [options] Override http request option.
|
|
24368
|
+
* @throws {RequiredError}
|
|
24369
|
+
* @memberof HospitalsApi
|
|
24370
|
+
*/
|
|
24371
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
|
|
24372
|
+
/**
|
|
24373
|
+
*
|
|
24374
|
+
* @summary Create HospitalLanguages.
|
|
24375
|
+
* @param {string} hospitalId
|
|
24376
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
24377
|
+
* @param {*} [options] Override http request option.
|
|
24378
|
+
* @throws {RequiredError}
|
|
24379
|
+
* @memberof HospitalsApi
|
|
24380
|
+
*/
|
|
24381
|
+
apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
|
|
24184
24382
|
/**
|
|
24185
24383
|
*
|
|
24186
24384
|
* @summary Get all HospitalMedias.
|