ch-admin-api-client-typescript 3.1.2 → 3.1.3

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 CHANGED
@@ -4100,6 +4100,12 @@ export interface CreateFaqCategoryCommand {
4100
4100
  * @memberof CreateFaqCategoryCommand
4101
4101
  */
4102
4102
  'order'?: number;
4103
+ /**
4104
+ *
4105
+ * @type {string}
4106
+ * @memberof CreateFaqCategoryCommand
4107
+ */
4108
+ 'hospitalId'?: string;
4103
4109
  }
4104
4110
  /**
4105
4111
  *
@@ -4131,12 +4137,6 @@ export interface CreateFaqCommand {
4131
4137
  * @memberof CreateFaqCommand
4132
4138
  */
4133
4139
  'faqCategoryId'?: string | null;
4134
- /**
4135
- *
4136
- * @type {string}
4137
- * @memberof CreateFaqCommand
4138
- */
4139
- 'hospitalId'?: string;
4140
4140
  }
4141
4141
  /**
4142
4142
  *
@@ -6832,10 +6832,16 @@ export interface FaqCategoryItemModel {
6832
6832
  'order'?: number;
6833
6833
  /**
6834
6834
  *
6835
- * @type {Array<FaqItemModel>}
6835
+ * @type {string}
6836
6836
  * @memberof FaqCategoryItemModel
6837
6837
  */
6838
- 'faqs'?: Array<FaqItemModel> | null;
6838
+ 'hospitalId'?: string;
6839
+ /**
6840
+ *
6841
+ * @type {string}
6842
+ * @memberof FaqCategoryItemModel
6843
+ */
6844
+ 'hospitalName'?: string | null;
6839
6845
  /**
6840
6846
  *
6841
6847
  * @type {Array<LocalizedUrlModel>}
@@ -6893,10 +6899,16 @@ export interface FaqCategoryModel {
6893
6899
  'order'?: number;
6894
6900
  /**
6895
6901
  *
6896
- * @type {Array<FaqItemModel>}
6902
+ * @type {string}
6903
+ * @memberof FaqCategoryModel
6904
+ */
6905
+ 'hospitalId'?: string;
6906
+ /**
6907
+ *
6908
+ * @type {string}
6897
6909
  * @memberof FaqCategoryModel
6898
6910
  */
6899
- 'faqs'?: Array<FaqItemModel> | null;
6911
+ 'hospitalName'?: string | null;
6900
6912
  /**
6901
6913
  *
6902
6914
  * @type {Array<LocalizedUrlModel>}
@@ -20877,10 +20889,11 @@ export declare const FaqCategoriesApiAxiosParamCreator: (configuration?: Configu
20877
20889
  * @summary Get FaqCategory.
20878
20890
  * @param {string} faqCategoryId
20879
20891
  * @param {string} [languageCode]
20892
+ * @param {boolean} [returnDefaultValue]
20880
20893
  * @param {*} [options] Override http request option.
20881
20894
  * @throws {RequiredError}
20882
20895
  */
20883
- apiV1FaqcategoriesFaqCategoryIdGet: (faqCategoryId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20896
+ apiV1FaqcategoriesFaqCategoryIdGet: (faqCategoryId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20884
20897
  /**
20885
20898
  *
20886
20899
  * @summary Update FaqCategory.
@@ -20897,14 +20910,18 @@ export declare const FaqCategoriesApiAxiosParamCreator: (configuration?: Configu
20897
20910
  * @param {string} [parentId]
20898
20911
  * @param {string} [name]
20899
20912
  * @param {string} [description]
20913
+ * @param {string} [hospitalId]
20914
+ * @param {string} [hospitalName]
20900
20915
  * @param {string} [languageCode]
20916
+ * @param {boolean} [showHidden]
20917
+ * @param {boolean} [returnDefaultValue]
20901
20918
  * @param {number} [page]
20902
20919
  * @param {number} [limit]
20903
20920
  * @param {Date} [lastRetrieved]
20904
20921
  * @param {*} [options] Override http request option.
20905
20922
  * @throws {RequiredError}
20906
20923
  */
20907
- apiV1FaqcategoriesGet: (id?: string | undefined, parentId?: string | undefined, name?: string | undefined, description?: string | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20924
+ apiV1FaqcategoriesGet: (id?: string | undefined, parentId?: string | undefined, name?: string | undefined, description?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20908
20925
  /**
20909
20926
  *
20910
20927
  * @summary Create a FaqCategory.
@@ -20951,10 +20968,11 @@ export declare const FaqCategoriesApiFp: (configuration?: Configuration | undefi
20951
20968
  * @summary Get FaqCategory.
20952
20969
  * @param {string} faqCategoryId
20953
20970
  * @param {string} [languageCode]
20971
+ * @param {boolean} [returnDefaultValue]
20954
20972
  * @param {*} [options] Override http request option.
20955
20973
  * @throws {RequiredError}
20956
20974
  */
20957
- apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqCategoryModel>>;
20975
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqCategoryModel>>;
20958
20976
  /**
20959
20977
  *
20960
20978
  * @summary Update FaqCategory.
@@ -20971,14 +20989,18 @@ export declare const FaqCategoriesApiFp: (configuration?: Configuration | undefi
20971
20989
  * @param {string} [parentId]
20972
20990
  * @param {string} [name]
20973
20991
  * @param {string} [description]
20992
+ * @param {string} [hospitalId]
20993
+ * @param {string} [hospitalName]
20974
20994
  * @param {string} [languageCode]
20995
+ * @param {boolean} [showHidden]
20996
+ * @param {boolean} [returnDefaultValue]
20975
20997
  * @param {number} [page]
20976
20998
  * @param {number} [limit]
20977
20999
  * @param {Date} [lastRetrieved]
20978
21000
  * @param {*} [options] Override http request option.
20979
21001
  * @throws {RequiredError}
20980
21002
  */
20981
- apiV1FaqcategoriesGet(id?: string | undefined, parentId?: string | undefined, name?: string | undefined, description?: string | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqCategoriesModel>>;
21003
+ apiV1FaqcategoriesGet(id?: string | undefined, parentId?: string | undefined, name?: string | undefined, description?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqCategoriesModel>>;
20982
21004
  /**
20983
21005
  *
20984
21006
  * @summary Create a FaqCategory.
@@ -21025,10 +21047,11 @@ export declare const FaqCategoriesApiFactory: (configuration?: Configuration | u
21025
21047
  * @summary Get FaqCategory.
21026
21048
  * @param {string} faqCategoryId
21027
21049
  * @param {string} [languageCode]
21050
+ * @param {boolean} [returnDefaultValue]
21028
21051
  * @param {*} [options] Override http request option.
21029
21052
  * @throws {RequiredError}
21030
21053
  */
21031
- apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string | undefined, options?: any): AxiosPromise<FaqCategoryModel>;
21054
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: any): AxiosPromise<FaqCategoryModel>;
21032
21055
  /**
21033
21056
  *
21034
21057
  * @summary Update FaqCategory.
@@ -21045,14 +21068,18 @@ export declare const FaqCategoriesApiFactory: (configuration?: Configuration | u
21045
21068
  * @param {string} [parentId]
21046
21069
  * @param {string} [name]
21047
21070
  * @param {string} [description]
21071
+ * @param {string} [hospitalId]
21072
+ * @param {string} [hospitalName]
21048
21073
  * @param {string} [languageCode]
21074
+ * @param {boolean} [showHidden]
21075
+ * @param {boolean} [returnDefaultValue]
21049
21076
  * @param {number} [page]
21050
21077
  * @param {number} [limit]
21051
21078
  * @param {Date} [lastRetrieved]
21052
21079
  * @param {*} [options] Override http request option.
21053
21080
  * @throws {RequiredError}
21054
21081
  */
21055
- apiV1FaqcategoriesGet(id?: string | undefined, parentId?: string | undefined, name?: string | undefined, description?: string | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<FaqCategoriesModel>;
21082
+ apiV1FaqcategoriesGet(id?: string | undefined, parentId?: string | undefined, name?: string | undefined, description?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<FaqCategoriesModel>;
21056
21083
  /**
21057
21084
  *
21058
21085
  * @summary Create a FaqCategory.
@@ -21103,11 +21130,12 @@ export declare class FaqCategoriesApi extends BaseAPI {
21103
21130
  * @summary Get FaqCategory.
21104
21131
  * @param {string} faqCategoryId
21105
21132
  * @param {string} [languageCode]
21133
+ * @param {boolean} [returnDefaultValue]
21106
21134
  * @param {*} [options] Override http request option.
21107
21135
  * @throws {RequiredError}
21108
21136
  * @memberof FaqCategoriesApi
21109
21137
  */
21110
- apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqCategoryModel>>;
21138
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqCategoryModel>>;
21111
21139
  /**
21112
21140
  *
21113
21141
  * @summary Update FaqCategory.
@@ -21125,7 +21153,11 @@ export declare class FaqCategoriesApi extends BaseAPI {
21125
21153
  * @param {string} [parentId]
21126
21154
  * @param {string} [name]
21127
21155
  * @param {string} [description]
21156
+ * @param {string} [hospitalId]
21157
+ * @param {string} [hospitalName]
21128
21158
  * @param {string} [languageCode]
21159
+ * @param {boolean} [showHidden]
21160
+ * @param {boolean} [returnDefaultValue]
21129
21161
  * @param {number} [page]
21130
21162
  * @param {number} [limit]
21131
21163
  * @param {Date} [lastRetrieved]
@@ -21133,7 +21165,7 @@ export declare class FaqCategoriesApi extends BaseAPI {
21133
21165
  * @throws {RequiredError}
21134
21166
  * @memberof FaqCategoriesApi
21135
21167
  */
21136
- apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqCategoriesModel>>;
21168
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqCategoriesModel>>;
21137
21169
  /**
21138
21170
  *
21139
21171
  * @summary Create a FaqCategory.
@@ -21172,10 +21204,11 @@ export declare const FaqsApiAxiosParamCreator: (configuration?: Configuration |
21172
21204
  * @summary Get faq.
21173
21205
  * @param {string} faqId
21174
21206
  * @param {string} [languageCode]
21207
+ * @param {boolean} [returnDefaultValue]
21175
21208
  * @param {*} [options] Override http request option.
21176
21209
  * @throws {RequiredError}
21177
21210
  */
21178
- apiV1FaqsFaqIdGet: (faqId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21211
+ apiV1FaqsFaqIdGet: (faqId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21179
21212
  /**
21180
21213
  *
21181
21214
  * @summary Get all FaqMedias.
@@ -21246,13 +21279,14 @@ export declare const FaqsApiAxiosParamCreator: (configuration?: Configuration |
21246
21279
  * @param {string} [hospitalName]
21247
21280
  * @param {string} [languageCode]
21248
21281
  * @param {boolean} [showHidden]
21282
+ * @param {boolean} [returnDefaultValue]
21249
21283
  * @param {number} [page]
21250
21284
  * @param {number} [limit]
21251
21285
  * @param {Date} [lastRetrieved]
21252
21286
  * @param {*} [options] Override http request option.
21253
21287
  * @throws {RequiredError}
21254
21288
  */
21255
- apiV1FaqsGet: (id?: string | undefined, title?: string | undefined, content?: string | undefined, categoryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21289
+ apiV1FaqsGet: (id?: string | undefined, title?: string | undefined, content?: string | undefined, categoryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21256
21290
  /**
21257
21291
  *
21258
21292
  * @summary Create a faq.
@@ -21289,10 +21323,11 @@ export declare const FaqsApiFp: (configuration?: Configuration | undefined) => {
21289
21323
  * @summary Get faq.
21290
21324
  * @param {string} faqId
21291
21325
  * @param {string} [languageCode]
21326
+ * @param {boolean} [returnDefaultValue]
21292
21327
  * @param {*} [options] Override http request option.
21293
21328
  * @throws {RequiredError}
21294
21329
  */
21295
- apiV1FaqsFaqIdGet(faqId: string, languageCode?: string | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqModel>>;
21330
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqModel>>;
21296
21331
  /**
21297
21332
  *
21298
21333
  * @summary Get all FaqMedias.
@@ -21363,13 +21398,14 @@ export declare const FaqsApiFp: (configuration?: Configuration | undefined) => {
21363
21398
  * @param {string} [hospitalName]
21364
21399
  * @param {string} [languageCode]
21365
21400
  * @param {boolean} [showHidden]
21401
+ * @param {boolean} [returnDefaultValue]
21366
21402
  * @param {number} [page]
21367
21403
  * @param {number} [limit]
21368
21404
  * @param {Date} [lastRetrieved]
21369
21405
  * @param {*} [options] Override http request option.
21370
21406
  * @throws {RequiredError}
21371
21407
  */
21372
- apiV1FaqsGet(id?: string | undefined, title?: string | undefined, content?: string | undefined, categoryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqsModel>>;
21408
+ apiV1FaqsGet(id?: string | undefined, title?: string | undefined, content?: string | undefined, categoryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FaqsModel>>;
21373
21409
  /**
21374
21410
  *
21375
21411
  * @summary Create a faq.
@@ -21406,10 +21442,11 @@ export declare const FaqsApiFactory: (configuration?: Configuration | undefined,
21406
21442
  * @summary Get faq.
21407
21443
  * @param {string} faqId
21408
21444
  * @param {string} [languageCode]
21445
+ * @param {boolean} [returnDefaultValue]
21409
21446
  * @param {*} [options] Override http request option.
21410
21447
  * @throws {RequiredError}
21411
21448
  */
21412
- apiV1FaqsFaqIdGet(faqId: string, languageCode?: string | undefined, options?: any): AxiosPromise<FaqModel>;
21449
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: any): AxiosPromise<FaqModel>;
21413
21450
  /**
21414
21451
  *
21415
21452
  * @summary Get all FaqMedias.
@@ -21480,13 +21517,14 @@ export declare const FaqsApiFactory: (configuration?: Configuration | undefined,
21480
21517
  * @param {string} [hospitalName]
21481
21518
  * @param {string} [languageCode]
21482
21519
  * @param {boolean} [showHidden]
21520
+ * @param {boolean} [returnDefaultValue]
21483
21521
  * @param {number} [page]
21484
21522
  * @param {number} [limit]
21485
21523
  * @param {Date} [lastRetrieved]
21486
21524
  * @param {*} [options] Override http request option.
21487
21525
  * @throws {RequiredError}
21488
21526
  */
21489
- apiV1FaqsGet(id?: string | undefined, title?: string | undefined, content?: string | undefined, categoryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<FaqsModel>;
21527
+ apiV1FaqsGet(id?: string | undefined, title?: string | undefined, content?: string | undefined, categoryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<FaqsModel>;
21490
21528
  /**
21491
21529
  *
21492
21530
  * @summary Create a faq.
@@ -21526,11 +21564,12 @@ export declare class FaqsApi extends BaseAPI {
21526
21564
  * @summary Get faq.
21527
21565
  * @param {string} faqId
21528
21566
  * @param {string} [languageCode]
21567
+ * @param {boolean} [returnDefaultValue]
21529
21568
  * @param {*} [options] Override http request option.
21530
21569
  * @throws {RequiredError}
21531
21570
  * @memberof FaqsApi
21532
21571
  */
21533
- apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqModel>>;
21572
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqModel>>;
21534
21573
  /**
21535
21574
  *
21536
21575
  * @summary Get all FaqMedias.
@@ -21607,6 +21646,7 @@ export declare class FaqsApi extends BaseAPI {
21607
21646
  * @param {string} [hospitalName]
21608
21647
  * @param {string} [languageCode]
21609
21648
  * @param {boolean} [showHidden]
21649
+ * @param {boolean} [returnDefaultValue]
21610
21650
  * @param {number} [page]
21611
21651
  * @param {number} [limit]
21612
21652
  * @param {Date} [lastRetrieved]
@@ -21614,7 +21654,7 @@ export declare class FaqsApi extends BaseAPI {
21614
21654
  * @throws {RequiredError}
21615
21655
  * @memberof FaqsApi
21616
21656
  */
21617
- 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<import("axios").AxiosResponse<FaqsModel>>;
21657
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqsModel>>;
21618
21658
  /**
21619
21659
  *
21620
21660
  * @summary Create a faq.