ch-admin-api-client-typescript 2.3.7 → 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 +190 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +314 -8
- package/package.json +1 -1
- package/src/api.ts +343 -7
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.
|
|
@@ -22501,6 +22632,7 @@ export declare const ManagersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22501
22632
|
/**
|
|
22502
22633
|
*
|
|
22503
22634
|
* @summary Get all Managers.
|
|
22635
|
+
* @param {string} [hospitalId]
|
|
22504
22636
|
* @param {string} [id]
|
|
22505
22637
|
* @param {string} [fullname]
|
|
22506
22638
|
* @param {string} [email]
|
|
@@ -22514,7 +22646,7 @@ export declare const ManagersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22514
22646
|
* @param {*} [options] Override http request option.
|
|
22515
22647
|
* @throws {RequiredError}
|
|
22516
22648
|
*/
|
|
22517
|
-
apiV1ManagersGet: (id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22649
|
+
apiV1ManagersGet: (hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22518
22650
|
/**
|
|
22519
22651
|
*
|
|
22520
22652
|
* @summary Delete Manager.
|
|
@@ -22557,6 +22689,7 @@ export declare const ManagersApiFp: (configuration?: Configuration | undefined)
|
|
|
22557
22689
|
/**
|
|
22558
22690
|
*
|
|
22559
22691
|
* @summary Get all Managers.
|
|
22692
|
+
* @param {string} [hospitalId]
|
|
22560
22693
|
* @param {string} [id]
|
|
22561
22694
|
* @param {string} [fullname]
|
|
22562
22695
|
* @param {string} [email]
|
|
@@ -22570,7 +22703,7 @@ export declare const ManagersApiFp: (configuration?: Configuration | undefined)
|
|
|
22570
22703
|
* @param {*} [options] Override http request option.
|
|
22571
22704
|
* @throws {RequiredError}
|
|
22572
22705
|
*/
|
|
22573
|
-
apiV1ManagersGet(id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagersModel>>;
|
|
22706
|
+
apiV1ManagersGet(hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ManagersModel>>;
|
|
22574
22707
|
/**
|
|
22575
22708
|
*
|
|
22576
22709
|
* @summary Delete Manager.
|
|
@@ -22613,6 +22746,7 @@ export declare const ManagersApiFactory: (configuration?: Configuration | undefi
|
|
|
22613
22746
|
/**
|
|
22614
22747
|
*
|
|
22615
22748
|
* @summary Get all Managers.
|
|
22749
|
+
* @param {string} [hospitalId]
|
|
22616
22750
|
* @param {string} [id]
|
|
22617
22751
|
* @param {string} [fullname]
|
|
22618
22752
|
* @param {string} [email]
|
|
@@ -22626,7 +22760,7 @@ export declare const ManagersApiFactory: (configuration?: Configuration | undefi
|
|
|
22626
22760
|
* @param {*} [options] Override http request option.
|
|
22627
22761
|
* @throws {RequiredError}
|
|
22628
22762
|
*/
|
|
22629
|
-
apiV1ManagersGet(id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ManagersModel>;
|
|
22763
|
+
apiV1ManagersGet(hospitalId?: string | undefined, id?: string | undefined, fullname?: string | undefined, email?: string | undefined, gender?: Gender | undefined, dateOfBirth?: Date | undefined, created?: Date | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ManagersModel>;
|
|
22630
22764
|
/**
|
|
22631
22765
|
*
|
|
22632
22766
|
* @summary Delete Manager.
|
|
@@ -22671,6 +22805,7 @@ export declare class ManagersApi extends BaseAPI {
|
|
|
22671
22805
|
/**
|
|
22672
22806
|
*
|
|
22673
22807
|
* @summary Get all Managers.
|
|
22808
|
+
* @param {string} [hospitalId]
|
|
22674
22809
|
* @param {string} [id]
|
|
22675
22810
|
* @param {string} [fullname]
|
|
22676
22811
|
* @param {string} [email]
|
|
@@ -22685,7 +22820,7 @@ export declare class ManagersApi extends BaseAPI {
|
|
|
22685
22820
|
* @throws {RequiredError}
|
|
22686
22821
|
* @memberof ManagersApi
|
|
22687
22822
|
*/
|
|
22688
|
-
apiV1ManagersGet(id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagersModel>>;
|
|
22823
|
+
apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagersModel>>;
|
|
22689
22824
|
/**
|
|
22690
22825
|
*
|
|
22691
22826
|
* @summary Delete Manager.
|
|
@@ -23232,6 +23367,57 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
23232
23367
|
*/
|
|
23233
23368
|
apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel>>;
|
|
23234
23369
|
}
|
|
23370
|
+
/**
|
|
23371
|
+
* PaymentsApi - axios parameter creator
|
|
23372
|
+
* @export
|
|
23373
|
+
*/
|
|
23374
|
+
export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
23375
|
+
/**
|
|
23376
|
+
*
|
|
23377
|
+
* @param {*} [options] Override http request option.
|
|
23378
|
+
* @throws {RequiredError}
|
|
23379
|
+
*/
|
|
23380
|
+
apiV1PaymentsWebhookPost: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23381
|
+
};
|
|
23382
|
+
/**
|
|
23383
|
+
* PaymentsApi - functional programming interface
|
|
23384
|
+
* @export
|
|
23385
|
+
*/
|
|
23386
|
+
export declare const PaymentsApiFp: (configuration?: Configuration | undefined) => {
|
|
23387
|
+
/**
|
|
23388
|
+
*
|
|
23389
|
+
* @param {*} [options] Override http request option.
|
|
23390
|
+
* @throws {RequiredError}
|
|
23391
|
+
*/
|
|
23392
|
+
apiV1PaymentsWebhookPost(options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
23393
|
+
};
|
|
23394
|
+
/**
|
|
23395
|
+
* PaymentsApi - factory interface
|
|
23396
|
+
* @export
|
|
23397
|
+
*/
|
|
23398
|
+
export declare const PaymentsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
23399
|
+
/**
|
|
23400
|
+
*
|
|
23401
|
+
* @param {*} [options] Override http request option.
|
|
23402
|
+
* @throws {RequiredError}
|
|
23403
|
+
*/
|
|
23404
|
+
apiV1PaymentsWebhookPost(options?: any): AxiosPromise<void>;
|
|
23405
|
+
};
|
|
23406
|
+
/**
|
|
23407
|
+
* PaymentsApi - object-oriented interface
|
|
23408
|
+
* @export
|
|
23409
|
+
* @class PaymentsApi
|
|
23410
|
+
* @extends {BaseAPI}
|
|
23411
|
+
*/
|
|
23412
|
+
export declare class PaymentsApi extends BaseAPI {
|
|
23413
|
+
/**
|
|
23414
|
+
*
|
|
23415
|
+
* @param {*} [options] Override http request option.
|
|
23416
|
+
* @throws {RequiredError}
|
|
23417
|
+
* @memberof PaymentsApi
|
|
23418
|
+
*/
|
|
23419
|
+
apiV1PaymentsWebhookPost(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
23420
|
+
}
|
|
23235
23421
|
/**
|
|
23236
23422
|
* PlansApi - axios parameter creator
|
|
23237
23423
|
* @export
|