ch-admin-api-client-typescript 4.0.2 → 4.0.5
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 +68 -36
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +29 -15
- package/package.json +1 -1
- package/src/api.ts +82 -42
package/lib/api.d.ts
CHANGED
|
@@ -3942,6 +3942,12 @@ export interface CreateFaqCategoryCommand {
|
|
|
3942
3942
|
* @memberof CreateFaqCategoryCommand
|
|
3943
3943
|
*/
|
|
3944
3944
|
'description'?: string | null;
|
|
3945
|
+
/**
|
|
3946
|
+
*
|
|
3947
|
+
* @type {string}
|
|
3948
|
+
* @memberof CreateFaqCategoryCommand
|
|
3949
|
+
*/
|
|
3950
|
+
'overview'?: string | null;
|
|
3945
3951
|
/**
|
|
3946
3952
|
*
|
|
3947
3953
|
* @type {number}
|
|
@@ -5285,6 +5291,12 @@ export interface DealPackageItemModel {
|
|
|
5285
5291
|
* @memberof DealPackageItemModel
|
|
5286
5292
|
*/
|
|
5287
5293
|
'hospitalSlug'?: string | null;
|
|
5294
|
+
/**
|
|
5295
|
+
*
|
|
5296
|
+
* @type {string}
|
|
5297
|
+
* @memberof DealPackageItemModel
|
|
5298
|
+
*/
|
|
5299
|
+
'additionalServices'?: string | null;
|
|
5288
5300
|
/**
|
|
5289
5301
|
*
|
|
5290
5302
|
* @type {RefundPolicy}
|
|
@@ -5709,6 +5721,12 @@ export interface DoctorAffiliationItemModel {
|
|
|
5709
5721
|
* @memberof DoctorAffiliationItemModel
|
|
5710
5722
|
*/
|
|
5711
5723
|
'order'?: number;
|
|
5724
|
+
/**
|
|
5725
|
+
*
|
|
5726
|
+
* @type {AuditableEntity}
|
|
5727
|
+
* @memberof DoctorAffiliationItemModel
|
|
5728
|
+
*/
|
|
5729
|
+
'auditableEntity'?: AuditableEntity;
|
|
5712
5730
|
}
|
|
5713
5731
|
/**
|
|
5714
5732
|
*
|
|
@@ -5800,6 +5818,12 @@ export interface DoctorAffiliationModel {
|
|
|
5800
5818
|
* @memberof DoctorAffiliationModel
|
|
5801
5819
|
*/
|
|
5802
5820
|
'order'?: number;
|
|
5821
|
+
/**
|
|
5822
|
+
*
|
|
5823
|
+
* @type {AuditableEntity}
|
|
5824
|
+
* @memberof DoctorAffiliationModel
|
|
5825
|
+
*/
|
|
5826
|
+
'auditableEntity'?: AuditableEntity;
|
|
5803
5827
|
/**
|
|
5804
5828
|
*
|
|
5805
5829
|
* @type {string}
|
|
@@ -8280,6 +8304,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8280
8304
|
* @memberof HospitalSpecialtyItemModel
|
|
8281
8305
|
*/
|
|
8282
8306
|
'marketingType'?: MarketingType;
|
|
8307
|
+
/**
|
|
8308
|
+
*
|
|
8309
|
+
* @type {AuditableEntity}
|
|
8310
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8311
|
+
*/
|
|
8312
|
+
'auditableEntity'?: AuditableEntity;
|
|
8283
8313
|
}
|
|
8284
8314
|
/**
|
|
8285
8315
|
*
|
|
@@ -8383,6 +8413,12 @@ export interface HospitalSpecialtyModel {
|
|
|
8383
8413
|
* @memberof HospitalSpecialtyModel
|
|
8384
8414
|
*/
|
|
8385
8415
|
'marketingType'?: MarketingType;
|
|
8416
|
+
/**
|
|
8417
|
+
*
|
|
8418
|
+
* @type {AuditableEntity}
|
|
8419
|
+
* @memberof HospitalSpecialtyModel
|
|
8420
|
+
*/
|
|
8421
|
+
'auditableEntity'?: AuditableEntity;
|
|
8386
8422
|
/**
|
|
8387
8423
|
*
|
|
8388
8424
|
* @type {string}
|
|
@@ -10126,7 +10162,7 @@ export declare enum ReviewType {
|
|
|
10126
10162
|
*/
|
|
10127
10163
|
export declare enum SearchIndexType {
|
|
10128
10164
|
Hospitals = "hospitals",
|
|
10129
|
-
|
|
10165
|
+
Departments = "departments",
|
|
10130
10166
|
Specialties = "specialties",
|
|
10131
10167
|
Hospitalspecialies = "hospitalspecialies",
|
|
10132
10168
|
Doctors = "doctors",
|
|
@@ -12279,6 +12315,12 @@ export interface UpdateFaqCategoryCommand {
|
|
|
12279
12315
|
* @memberof UpdateFaqCategoryCommand
|
|
12280
12316
|
*/
|
|
12281
12317
|
'description'?: string | null;
|
|
12318
|
+
/**
|
|
12319
|
+
*
|
|
12320
|
+
* @type {string}
|
|
12321
|
+
* @memberof UpdateFaqCategoryCommand
|
|
12322
|
+
*/
|
|
12323
|
+
'overview'?: string | null;
|
|
12282
12324
|
/**
|
|
12283
12325
|
*
|
|
12284
12326
|
* @type {number}
|
|
@@ -13276,12 +13318,6 @@ export interface UpdateSpecialtyCommand {
|
|
|
13276
13318
|
* @interface UpdateSpecialtyTypeCommand
|
|
13277
13319
|
*/
|
|
13278
13320
|
export interface UpdateSpecialtyTypeCommand {
|
|
13279
|
-
/**
|
|
13280
|
-
*
|
|
13281
|
-
* @type {string}
|
|
13282
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13283
|
-
*/
|
|
13284
|
-
'languageCode'?: string | null;
|
|
13285
13321
|
/**
|
|
13286
13322
|
*
|
|
13287
13323
|
* @type {string}
|
|
@@ -13296,16 +13332,16 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13296
13332
|
'slug'?: string | null;
|
|
13297
13333
|
/**
|
|
13298
13334
|
*
|
|
13299
|
-
* @type {
|
|
13335
|
+
* @type {string}
|
|
13300
13336
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13301
13337
|
*/
|
|
13302
|
-
'
|
|
13338
|
+
'description'?: string | null;
|
|
13303
13339
|
/**
|
|
13304
13340
|
*
|
|
13305
13341
|
* @type {string}
|
|
13306
13342
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13307
13343
|
*/
|
|
13308
|
-
'
|
|
13344
|
+
'content'?: string | null;
|
|
13309
13345
|
/**
|
|
13310
13346
|
*
|
|
13311
13347
|
* @type {MarketingType}
|
|
@@ -13314,34 +13350,22 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13314
13350
|
'marketingType'?: MarketingType;
|
|
13315
13351
|
/**
|
|
13316
13352
|
*
|
|
13317
|
-
* @type {
|
|
13318
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13319
|
-
*/
|
|
13320
|
-
'specialtiesCount'?: number;
|
|
13321
|
-
/**
|
|
13322
|
-
*
|
|
13323
|
-
* @type {Array<MediaModel>}
|
|
13324
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13325
|
-
*/
|
|
13326
|
-
'medias'?: Array<MediaModel> | null;
|
|
13327
|
-
/**
|
|
13328
|
-
*
|
|
13329
|
-
* @type {AuditableEntity}
|
|
13353
|
+
* @type {string}
|
|
13330
13354
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13331
13355
|
*/
|
|
13332
|
-
'
|
|
13356
|
+
'languageCode'?: string | null;
|
|
13333
13357
|
/**
|
|
13334
13358
|
*
|
|
13335
|
-
* @type {
|
|
13359
|
+
* @type {boolean}
|
|
13336
13360
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13337
13361
|
*/
|
|
13338
|
-
'
|
|
13362
|
+
'confirmed'?: boolean;
|
|
13339
13363
|
/**
|
|
13340
13364
|
*
|
|
13341
|
-
* @type {
|
|
13365
|
+
* @type {Array<MediaModel>}
|
|
13342
13366
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13343
13367
|
*/
|
|
13344
|
-
'
|
|
13368
|
+
'medias'?: Array<MediaModel> | null;
|
|
13345
13369
|
}
|
|
13346
13370
|
/**
|
|
13347
13371
|
*
|
|
@@ -17928,13 +17952,14 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
17928
17952
|
*
|
|
17929
17953
|
* @summary Get all DealService.
|
|
17930
17954
|
* @param {string} dealId
|
|
17955
|
+
* @param {string} [languageCode]
|
|
17931
17956
|
* @param {number} [page]
|
|
17932
17957
|
* @param {number} [limit]
|
|
17933
17958
|
* @param {Date} [lastRetrieved]
|
|
17934
17959
|
* @param {*} [options] Override http request option.
|
|
17935
17960
|
* @throws {RequiredError}
|
|
17936
17961
|
*/
|
|
17937
|
-
apiV1DealsDealIdServicesGet: (dealId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17962
|
+
apiV1DealsDealIdServicesGet: (dealId: string, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17938
17963
|
/**
|
|
17939
17964
|
*
|
|
17940
17965
|
* @summary Create DealService.
|
|
@@ -17958,10 +17983,11 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
17958
17983
|
* @summary Get DealService.
|
|
17959
17984
|
* @param {string} dealId
|
|
17960
17985
|
* @param {string} serviceId
|
|
17986
|
+
* @param {string} [languageCode]
|
|
17961
17987
|
* @param {*} [options] Override http request option.
|
|
17962
17988
|
* @throws {RequiredError}
|
|
17963
17989
|
*/
|
|
17964
|
-
apiV1DealsDealIdServicesServiceIdGet: (dealId: string, serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17990
|
+
apiV1DealsDealIdServicesServiceIdGet: (dealId: string, serviceId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17965
17991
|
/**
|
|
17966
17992
|
*
|
|
17967
17993
|
* @summary Update DealService.
|
|
@@ -18141,13 +18167,14 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
18141
18167
|
*
|
|
18142
18168
|
* @summary Get all DealService.
|
|
18143
18169
|
* @param {string} dealId
|
|
18170
|
+
* @param {string} [languageCode]
|
|
18144
18171
|
* @param {number} [page]
|
|
18145
18172
|
* @param {number} [limit]
|
|
18146
18173
|
* @param {Date} [lastRetrieved]
|
|
18147
18174
|
* @param {*} [options] Override http request option.
|
|
18148
18175
|
* @throws {RequiredError}
|
|
18149
18176
|
*/
|
|
18150
|
-
apiV1DealsDealIdServicesGet(dealId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealServicesModel>>;
|
|
18177
|
+
apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealServicesModel>>;
|
|
18151
18178
|
/**
|
|
18152
18179
|
*
|
|
18153
18180
|
* @summary Create DealService.
|
|
@@ -18171,10 +18198,11 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
18171
18198
|
* @summary Get DealService.
|
|
18172
18199
|
* @param {string} dealId
|
|
18173
18200
|
* @param {string} serviceId
|
|
18201
|
+
* @param {string} [languageCode]
|
|
18174
18202
|
* @param {*} [options] Override http request option.
|
|
18175
18203
|
* @throws {RequiredError}
|
|
18176
18204
|
*/
|
|
18177
|
-
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealServiceModel>>;
|
|
18205
|
+
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealServiceModel>>;
|
|
18178
18206
|
/**
|
|
18179
18207
|
*
|
|
18180
18208
|
* @summary Update DealService.
|
|
@@ -18354,13 +18382,14 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
|
|
|
18354
18382
|
*
|
|
18355
18383
|
* @summary Get all DealService.
|
|
18356
18384
|
* @param {string} dealId
|
|
18385
|
+
* @param {string} [languageCode]
|
|
18357
18386
|
* @param {number} [page]
|
|
18358
18387
|
* @param {number} [limit]
|
|
18359
18388
|
* @param {Date} [lastRetrieved]
|
|
18360
18389
|
* @param {*} [options] Override http request option.
|
|
18361
18390
|
* @throws {RequiredError}
|
|
18362
18391
|
*/
|
|
18363
|
-
apiV1DealsDealIdServicesGet(dealId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealServicesModel>;
|
|
18392
|
+
apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealServicesModel>;
|
|
18364
18393
|
/**
|
|
18365
18394
|
*
|
|
18366
18395
|
* @summary Create DealService.
|
|
@@ -18384,10 +18413,11 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
|
|
|
18384
18413
|
* @summary Get DealService.
|
|
18385
18414
|
* @param {string} dealId
|
|
18386
18415
|
* @param {string} serviceId
|
|
18416
|
+
* @param {string} [languageCode]
|
|
18387
18417
|
* @param {*} [options] Override http request option.
|
|
18388
18418
|
* @throws {RequiredError}
|
|
18389
18419
|
*/
|
|
18390
|
-
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: any): AxiosPromise<DealServiceModel>;
|
|
18420
|
+
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string | undefined, options?: any): AxiosPromise<DealServiceModel>;
|
|
18391
18421
|
/**
|
|
18392
18422
|
*
|
|
18393
18423
|
* @summary Update DealService.
|
|
@@ -18577,6 +18607,7 @@ export declare class DealsApi extends BaseAPI {
|
|
|
18577
18607
|
*
|
|
18578
18608
|
* @summary Get all DealService.
|
|
18579
18609
|
* @param {string} dealId
|
|
18610
|
+
* @param {string} [languageCode]
|
|
18580
18611
|
* @param {number} [page]
|
|
18581
18612
|
* @param {number} [limit]
|
|
18582
18613
|
* @param {Date} [lastRetrieved]
|
|
@@ -18584,7 +18615,7 @@ export declare class DealsApi extends BaseAPI {
|
|
|
18584
18615
|
* @throws {RequiredError}
|
|
18585
18616
|
* @memberof DealsApi
|
|
18586
18617
|
*/
|
|
18587
|
-
apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealServicesModel>>;
|
|
18618
|
+
apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealServicesModel>>;
|
|
18588
18619
|
/**
|
|
18589
18620
|
*
|
|
18590
18621
|
* @summary Create DealService.
|
|
@@ -18610,11 +18641,12 @@ export declare class DealsApi extends BaseAPI {
|
|
|
18610
18641
|
* @summary Get DealService.
|
|
18611
18642
|
* @param {string} dealId
|
|
18612
18643
|
* @param {string} serviceId
|
|
18644
|
+
* @param {string} [languageCode]
|
|
18613
18645
|
* @param {*} [options] Override http request option.
|
|
18614
18646
|
* @throws {RequiredError}
|
|
18615
18647
|
* @memberof DealsApi
|
|
18616
18648
|
*/
|
|
18617
|
-
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealServiceModel>>;
|
|
18649
|
+
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealServiceModel>>;
|
|
18618
18650
|
/**
|
|
18619
18651
|
*
|
|
18620
18652
|
* @summary Update DealService.
|