ch-admin-api-client-typescript 2.4.0 → 2.4.1
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 +131 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +194 -0
- package/package.json +1 -1
- package/src/api.ts +234 -0
package/lib/api.d.ts
CHANGED
|
@@ -8954,6 +8954,25 @@ export interface HospitalServicesModel {
|
|
|
8954
8954
|
*/
|
|
8955
8955
|
'metaData'?: PagedListMetaData;
|
|
8956
8956
|
}
|
|
8957
|
+
/**
|
|
8958
|
+
*
|
|
8959
|
+
* @export
|
|
8960
|
+
* @interface HospitalSimpleItemModel
|
|
8961
|
+
*/
|
|
8962
|
+
export interface HospitalSimpleItemModel {
|
|
8963
|
+
/**
|
|
8964
|
+
*
|
|
8965
|
+
* @type {string}
|
|
8966
|
+
* @memberof HospitalSimpleItemModel
|
|
8967
|
+
*/
|
|
8968
|
+
'id'?: string;
|
|
8969
|
+
/**
|
|
8970
|
+
*
|
|
8971
|
+
* @type {string}
|
|
8972
|
+
* @memberof HospitalSimpleItemModel
|
|
8973
|
+
*/
|
|
8974
|
+
'name'?: string | null;
|
|
8975
|
+
}
|
|
8957
8976
|
/**
|
|
8958
8977
|
*
|
|
8959
8978
|
* @export
|
|
@@ -9157,6 +9176,25 @@ export interface HospitalsModel {
|
|
|
9157
9176
|
*/
|
|
9158
9177
|
'metaData'?: PagedListMetaData;
|
|
9159
9178
|
}
|
|
9179
|
+
/**
|
|
9180
|
+
*
|
|
9181
|
+
* @export
|
|
9182
|
+
* @interface HospitalsSimpleModel
|
|
9183
|
+
*/
|
|
9184
|
+
export interface HospitalsSimpleModel {
|
|
9185
|
+
/**
|
|
9186
|
+
*
|
|
9187
|
+
* @type {Array<HospitalSimpleItemModel>}
|
|
9188
|
+
* @memberof HospitalsSimpleModel
|
|
9189
|
+
*/
|
|
9190
|
+
'items'?: Array<HospitalSimpleItemModel> | null;
|
|
9191
|
+
/**
|
|
9192
|
+
*
|
|
9193
|
+
* @type {PagedListMetaData}
|
|
9194
|
+
* @memberof HospitalsSimpleModel
|
|
9195
|
+
*/
|
|
9196
|
+
'metaData'?: PagedListMetaData;
|
|
9197
|
+
}
|
|
9160
9198
|
/**
|
|
9161
9199
|
*
|
|
9162
9200
|
* @export
|
|
@@ -20752,6 +20790,29 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
20752
20790
|
* @throws {RequiredError}
|
|
20753
20791
|
*/
|
|
20754
20792
|
apiV1HospitalsPost: (createHospitalCommand?: CreateHospitalCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20793
|
+
/**
|
|
20794
|
+
*
|
|
20795
|
+
* @summary Get all Hospitals.
|
|
20796
|
+
* @param {string} [hospitalId]
|
|
20797
|
+
* @param {string} [name]
|
|
20798
|
+
* @param {string} [description]
|
|
20799
|
+
* @param {string} [countryId]
|
|
20800
|
+
* @param {Date} [created]
|
|
20801
|
+
* @param {MarketingType} [marketingType]
|
|
20802
|
+
* @param {string} [specialtyTypeId]
|
|
20803
|
+
* @param {string} [specialtyId]
|
|
20804
|
+
* @param {string} [serviceId]
|
|
20805
|
+
* @param {string} [exceptHospitalId]
|
|
20806
|
+
* @param {boolean} [showHidden]
|
|
20807
|
+
* @param {string} [languageCode]
|
|
20808
|
+
* @param {Array<string>} [ids]
|
|
20809
|
+
* @param {number} [page]
|
|
20810
|
+
* @param {number} [limit]
|
|
20811
|
+
* @param {Date} [lastRetrieved]
|
|
20812
|
+
* @param {*} [options] Override http request option.
|
|
20813
|
+
* @throws {RequiredError}
|
|
20814
|
+
*/
|
|
20815
|
+
apiV1HospitalsSimpleGet: (hospitalId?: string | undefined, name?: string | undefined, description?: string | undefined, countryId?: string | undefined, created?: Date | undefined, marketingType?: MarketingType | undefined, specialtyTypeId?: string | undefined, specialtyId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, showHidden?: boolean | undefined, languageCode?: string | undefined, ids?: string[] | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20755
20816
|
/**
|
|
20756
20817
|
*
|
|
20757
20818
|
* @summary Get Hospital by slug.
|
|
@@ -21247,6 +21308,29 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
|
|
|
21247
21308
|
* @throws {RequiredError}
|
|
21248
21309
|
*/
|
|
21249
21310
|
apiV1HospitalsPost(createHospitalCommand?: CreateHospitalCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalModel>>;
|
|
21311
|
+
/**
|
|
21312
|
+
*
|
|
21313
|
+
* @summary Get all Hospitals.
|
|
21314
|
+
* @param {string} [hospitalId]
|
|
21315
|
+
* @param {string} [name]
|
|
21316
|
+
* @param {string} [description]
|
|
21317
|
+
* @param {string} [countryId]
|
|
21318
|
+
* @param {Date} [created]
|
|
21319
|
+
* @param {MarketingType} [marketingType]
|
|
21320
|
+
* @param {string} [specialtyTypeId]
|
|
21321
|
+
* @param {string} [specialtyId]
|
|
21322
|
+
* @param {string} [serviceId]
|
|
21323
|
+
* @param {string} [exceptHospitalId]
|
|
21324
|
+
* @param {boolean} [showHidden]
|
|
21325
|
+
* @param {string} [languageCode]
|
|
21326
|
+
* @param {Array<string>} [ids]
|
|
21327
|
+
* @param {number} [page]
|
|
21328
|
+
* @param {number} [limit]
|
|
21329
|
+
* @param {Date} [lastRetrieved]
|
|
21330
|
+
* @param {*} [options] Override http request option.
|
|
21331
|
+
* @throws {RequiredError}
|
|
21332
|
+
*/
|
|
21333
|
+
apiV1HospitalsSimpleGet(hospitalId?: string | undefined, name?: string | undefined, description?: string | undefined, countryId?: string | undefined, created?: Date | undefined, marketingType?: MarketingType | undefined, specialtyTypeId?: string | undefined, specialtyId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, showHidden?: boolean | undefined, languageCode?: string | undefined, ids?: string[] | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalsSimpleModel>>;
|
|
21250
21334
|
/**
|
|
21251
21335
|
*
|
|
21252
21336
|
* @summary Get Hospital by slug.
|
|
@@ -21742,6 +21826,29 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
|
|
|
21742
21826
|
* @throws {RequiredError}
|
|
21743
21827
|
*/
|
|
21744
21828
|
apiV1HospitalsPost(createHospitalCommand?: CreateHospitalCommand | undefined, options?: any): AxiosPromise<HospitalModel>;
|
|
21829
|
+
/**
|
|
21830
|
+
*
|
|
21831
|
+
* @summary Get all Hospitals.
|
|
21832
|
+
* @param {string} [hospitalId]
|
|
21833
|
+
* @param {string} [name]
|
|
21834
|
+
* @param {string} [description]
|
|
21835
|
+
* @param {string} [countryId]
|
|
21836
|
+
* @param {Date} [created]
|
|
21837
|
+
* @param {MarketingType} [marketingType]
|
|
21838
|
+
* @param {string} [specialtyTypeId]
|
|
21839
|
+
* @param {string} [specialtyId]
|
|
21840
|
+
* @param {string} [serviceId]
|
|
21841
|
+
* @param {string} [exceptHospitalId]
|
|
21842
|
+
* @param {boolean} [showHidden]
|
|
21843
|
+
* @param {string} [languageCode]
|
|
21844
|
+
* @param {Array<string>} [ids]
|
|
21845
|
+
* @param {number} [page]
|
|
21846
|
+
* @param {number} [limit]
|
|
21847
|
+
* @param {Date} [lastRetrieved]
|
|
21848
|
+
* @param {*} [options] Override http request option.
|
|
21849
|
+
* @throws {RequiredError}
|
|
21850
|
+
*/
|
|
21851
|
+
apiV1HospitalsSimpleGet(hospitalId?: string | undefined, name?: string | undefined, description?: string | undefined, countryId?: string | undefined, created?: Date | undefined, marketingType?: MarketingType | undefined, specialtyTypeId?: string | undefined, specialtyId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, showHidden?: boolean | undefined, languageCode?: string | undefined, ids?: string[] | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<HospitalsSimpleModel>;
|
|
21745
21852
|
/**
|
|
21746
21853
|
*
|
|
21747
21854
|
* @summary Get Hospital by slug.
|
|
@@ -22282,6 +22389,30 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
22282
22389
|
* @memberof HospitalsApi
|
|
22283
22390
|
*/
|
|
22284
22391
|
apiV1HospitalsPost(createHospitalCommand?: CreateHospitalCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalModel>>;
|
|
22392
|
+
/**
|
|
22393
|
+
*
|
|
22394
|
+
* @summary Get all Hospitals.
|
|
22395
|
+
* @param {string} [hospitalId]
|
|
22396
|
+
* @param {string} [name]
|
|
22397
|
+
* @param {string} [description]
|
|
22398
|
+
* @param {string} [countryId]
|
|
22399
|
+
* @param {Date} [created]
|
|
22400
|
+
* @param {MarketingType} [marketingType]
|
|
22401
|
+
* @param {string} [specialtyTypeId]
|
|
22402
|
+
* @param {string} [specialtyId]
|
|
22403
|
+
* @param {string} [serviceId]
|
|
22404
|
+
* @param {string} [exceptHospitalId]
|
|
22405
|
+
* @param {boolean} [showHidden]
|
|
22406
|
+
* @param {string} [languageCode]
|
|
22407
|
+
* @param {Array<string>} [ids]
|
|
22408
|
+
* @param {number} [page]
|
|
22409
|
+
* @param {number} [limit]
|
|
22410
|
+
* @param {Date} [lastRetrieved]
|
|
22411
|
+
* @param {*} [options] Override http request option.
|
|
22412
|
+
* @throws {RequiredError}
|
|
22413
|
+
* @memberof HospitalsApi
|
|
22414
|
+
*/
|
|
22415
|
+
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalsSimpleModel>>;
|
|
22285
22416
|
/**
|
|
22286
22417
|
*
|
|
22287
22418
|
* @summary Get Hospital by slug.
|