ch-admin-api-client-typescript 3.3.3 → 3.3.6
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 +149 -29
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +170 -0
- package/package.json +1 -1
- package/src/api.ts +225 -29
package/lib/api.d.ts
CHANGED
|
@@ -8316,40 +8316,46 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8316
8316
|
'slug'?: string | null;
|
|
8317
8317
|
/**
|
|
8318
8318
|
*
|
|
8319
|
-
* @type {
|
|
8319
|
+
* @type {MarketingType}
|
|
8320
8320
|
* @memberof HospitalSpecialtyItemModel
|
|
8321
8321
|
*/
|
|
8322
|
-
'
|
|
8322
|
+
'marketingType'?: MarketingType;
|
|
8323
8323
|
/**
|
|
8324
8324
|
*
|
|
8325
|
-
* @type {
|
|
8325
|
+
* @type {number}
|
|
8326
8326
|
* @memberof HospitalSpecialtyItemModel
|
|
8327
8327
|
*/
|
|
8328
|
-
'
|
|
8328
|
+
'order'?: number;
|
|
8329
8329
|
/**
|
|
8330
8330
|
*
|
|
8331
|
-
* @type {
|
|
8331
|
+
* @type {boolean}
|
|
8332
8332
|
* @memberof HospitalSpecialtyItemModel
|
|
8333
8333
|
*/
|
|
8334
|
-
'
|
|
8334
|
+
'confirmed'?: boolean;
|
|
8335
8335
|
/**
|
|
8336
8336
|
*
|
|
8337
|
-
* @type {
|
|
8337
|
+
* @type {number}
|
|
8338
8338
|
* @memberof HospitalSpecialtyItemModel
|
|
8339
8339
|
*/
|
|
8340
|
-
'
|
|
8340
|
+
'servicesCount'?: number;
|
|
8341
8341
|
/**
|
|
8342
8342
|
*
|
|
8343
|
-
* @type {
|
|
8343
|
+
* @type {string}
|
|
8344
8344
|
* @memberof HospitalSpecialtyItemModel
|
|
8345
8345
|
*/
|
|
8346
|
-
'
|
|
8346
|
+
'specialtyId'?: string;
|
|
8347
8347
|
/**
|
|
8348
8348
|
*
|
|
8349
|
-
* @type {
|
|
8349
|
+
* @type {string}
|
|
8350
8350
|
* @memberof HospitalSpecialtyItemModel
|
|
8351
8351
|
*/
|
|
8352
|
-
'
|
|
8352
|
+
'specialtyName'?: string | null;
|
|
8353
|
+
/**
|
|
8354
|
+
*
|
|
8355
|
+
* @type {string}
|
|
8356
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8357
|
+
*/
|
|
8358
|
+
'specialtySlug'?: string | null;
|
|
8353
8359
|
/**
|
|
8354
8360
|
*
|
|
8355
8361
|
* @type {AuditableEntity}
|
|
@@ -8383,40 +8389,46 @@ export interface HospitalSpecialtyModel {
|
|
|
8383
8389
|
'slug'?: string | null;
|
|
8384
8390
|
/**
|
|
8385
8391
|
*
|
|
8386
|
-
* @type {
|
|
8392
|
+
* @type {MarketingType}
|
|
8387
8393
|
* @memberof HospitalSpecialtyModel
|
|
8388
8394
|
*/
|
|
8389
|
-
'
|
|
8395
|
+
'marketingType'?: MarketingType;
|
|
8390
8396
|
/**
|
|
8391
8397
|
*
|
|
8392
|
-
* @type {
|
|
8398
|
+
* @type {number}
|
|
8393
8399
|
* @memberof HospitalSpecialtyModel
|
|
8394
8400
|
*/
|
|
8395
|
-
'
|
|
8401
|
+
'order'?: number;
|
|
8396
8402
|
/**
|
|
8397
8403
|
*
|
|
8398
|
-
* @type {
|
|
8404
|
+
* @type {boolean}
|
|
8399
8405
|
* @memberof HospitalSpecialtyModel
|
|
8400
8406
|
*/
|
|
8401
|
-
'
|
|
8407
|
+
'confirmed'?: boolean;
|
|
8402
8408
|
/**
|
|
8403
8409
|
*
|
|
8404
|
-
* @type {
|
|
8410
|
+
* @type {number}
|
|
8405
8411
|
* @memberof HospitalSpecialtyModel
|
|
8406
8412
|
*/
|
|
8407
|
-
'
|
|
8413
|
+
'servicesCount'?: number;
|
|
8408
8414
|
/**
|
|
8409
8415
|
*
|
|
8410
|
-
* @type {
|
|
8416
|
+
* @type {string}
|
|
8411
8417
|
* @memberof HospitalSpecialtyModel
|
|
8412
8418
|
*/
|
|
8413
|
-
'
|
|
8419
|
+
'specialtyId'?: string;
|
|
8414
8420
|
/**
|
|
8415
8421
|
*
|
|
8416
|
-
* @type {
|
|
8422
|
+
* @type {string}
|
|
8417
8423
|
* @memberof HospitalSpecialtyModel
|
|
8418
8424
|
*/
|
|
8419
|
-
'
|
|
8425
|
+
'specialtyName'?: string | null;
|
|
8426
|
+
/**
|
|
8427
|
+
*
|
|
8428
|
+
* @type {string}
|
|
8429
|
+
* @memberof HospitalSpecialtyModel
|
|
8430
|
+
*/
|
|
8431
|
+
'specialtySlug'?: string | null;
|
|
8420
8432
|
/**
|
|
8421
8433
|
*
|
|
8422
8434
|
* @type {AuditableEntity}
|
|
@@ -8534,22 +8546,40 @@ export interface HospitalSpecialtySimpleItemModel {
|
|
|
8534
8546
|
'slug'?: string | null;
|
|
8535
8547
|
/**
|
|
8536
8548
|
*
|
|
8537
|
-
* @type {
|
|
8549
|
+
* @type {number}
|
|
8538
8550
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8539
8551
|
*/
|
|
8540
|
-
'
|
|
8552
|
+
'order'?: number;
|
|
8553
|
+
/**
|
|
8554
|
+
*
|
|
8555
|
+
* @type {boolean}
|
|
8556
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8557
|
+
*/
|
|
8558
|
+
'confirmed'?: boolean;
|
|
8541
8559
|
/**
|
|
8542
8560
|
*
|
|
8543
8561
|
* @type {number}
|
|
8544
8562
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8545
8563
|
*/
|
|
8546
|
-
'
|
|
8564
|
+
'servicesCount'?: number;
|
|
8547
8565
|
/**
|
|
8548
8566
|
*
|
|
8549
|
-
* @type {
|
|
8567
|
+
* @type {string}
|
|
8550
8568
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8551
8569
|
*/
|
|
8552
|
-
'
|
|
8570
|
+
'specialtyId'?: string;
|
|
8571
|
+
/**
|
|
8572
|
+
*
|
|
8573
|
+
* @type {string}
|
|
8574
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8575
|
+
*/
|
|
8576
|
+
'specialtyName'?: string | null;
|
|
8577
|
+
/**
|
|
8578
|
+
*
|
|
8579
|
+
* @type {string}
|
|
8580
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8581
|
+
*/
|
|
8582
|
+
'specialtySlug'?: string | null;
|
|
8553
8583
|
}
|
|
8554
8584
|
/**
|
|
8555
8585
|
*
|
|
@@ -11672,6 +11702,12 @@ export interface UpdateCHAdminCommand {
|
|
|
11672
11702
|
* @memberof UpdateCHAdminCommand
|
|
11673
11703
|
*/
|
|
11674
11704
|
'lastName'?: string | null;
|
|
11705
|
+
/**
|
|
11706
|
+
*
|
|
11707
|
+
* @type {string}
|
|
11708
|
+
* @memberof UpdateCHAdminCommand
|
|
11709
|
+
*/
|
|
11710
|
+
'slug'?: string | null;
|
|
11675
11711
|
/**
|
|
11676
11712
|
*
|
|
11677
11713
|
* @type {string}
|
|
@@ -11745,6 +11781,12 @@ export interface UpdateCHManagerCommand {
|
|
|
11745
11781
|
* @memberof UpdateCHManagerCommand
|
|
11746
11782
|
*/
|
|
11747
11783
|
'lastName'?: string | null;
|
|
11784
|
+
/**
|
|
11785
|
+
*
|
|
11786
|
+
* @type {string}
|
|
11787
|
+
* @memberof UpdateCHManagerCommand
|
|
11788
|
+
*/
|
|
11789
|
+
'slug'?: string | null;
|
|
11748
11790
|
/**
|
|
11749
11791
|
*
|
|
11750
11792
|
* @type {string}
|
|
@@ -12983,6 +13025,12 @@ export interface UpdateManagerCommand {
|
|
|
12983
13025
|
* @memberof UpdateManagerCommand
|
|
12984
13026
|
*/
|
|
12985
13027
|
'lastName'?: string | null;
|
|
13028
|
+
/**
|
|
13029
|
+
*
|
|
13030
|
+
* @type {string}
|
|
13031
|
+
* @memberof UpdateManagerCommand
|
|
13032
|
+
*/
|
|
13033
|
+
'slug'?: string | null;
|
|
12986
13034
|
/**
|
|
12987
13035
|
*
|
|
12988
13036
|
* @type {string}
|
|
@@ -13093,6 +13141,12 @@ export interface UpdatePatientCommand {
|
|
|
13093
13141
|
* @memberof UpdatePatientCommand
|
|
13094
13142
|
*/
|
|
13095
13143
|
'lastName'?: string | null;
|
|
13144
|
+
/**
|
|
13145
|
+
*
|
|
13146
|
+
* @type {string}
|
|
13147
|
+
* @memberof UpdatePatientCommand
|
|
13148
|
+
*/
|
|
13149
|
+
'slug'?: string | null;
|
|
13096
13150
|
/**
|
|
13097
13151
|
*
|
|
13098
13152
|
* @type {string}
|
|
@@ -22173,6 +22227,14 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
22173
22227
|
* @throws {RequiredError}
|
|
22174
22228
|
*/
|
|
22175
22229
|
apiV1HospitalsHospitalIdPut: (hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22230
|
+
/**
|
|
22231
|
+
*
|
|
22232
|
+
* @summary Delete HospitalSpecialty.
|
|
22233
|
+
* @param {string} hospitalId
|
|
22234
|
+
* @param {*} [options] Override http request option.
|
|
22235
|
+
* @throws {RequiredError}
|
|
22236
|
+
*/
|
|
22237
|
+
apiV1HospitalsHospitalIdReactivePut: (hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22176
22238
|
/**
|
|
22177
22239
|
*
|
|
22178
22240
|
* @summary Get all HospitalSpecialties.
|
|
@@ -22501,6 +22563,14 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
22501
22563
|
* @throws {RequiredError}
|
|
22502
22564
|
*/
|
|
22503
22565
|
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: (hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22566
|
+
/**
|
|
22567
|
+
*
|
|
22568
|
+
* @summary Delete HospitalSpecialty.
|
|
22569
|
+
* @param {string} hospitalSpecialtyId
|
|
22570
|
+
* @param {*} [options] Override http request option.
|
|
22571
|
+
* @throws {RequiredError}
|
|
22572
|
+
*/
|
|
22573
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut: (hospitalSpecialtyId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22504
22574
|
/**
|
|
22505
22575
|
*
|
|
22506
22576
|
* @summary Create Hospital.
|
|
@@ -22899,6 +22969,14 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
|
|
|
22899
22969
|
* @throws {RequiredError}
|
|
22900
22970
|
*/
|
|
22901
22971
|
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalModel>>;
|
|
22972
|
+
/**
|
|
22973
|
+
*
|
|
22974
|
+
* @summary Delete HospitalSpecialty.
|
|
22975
|
+
* @param {string} hospitalId
|
|
22976
|
+
* @param {*} [options] Override http request option.
|
|
22977
|
+
* @throws {RequiredError}
|
|
22978
|
+
*/
|
|
22979
|
+
apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
22902
22980
|
/**
|
|
22903
22981
|
*
|
|
22904
22982
|
* @summary Get all HospitalSpecialties.
|
|
@@ -23227,6 +23305,14 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
|
|
|
23227
23305
|
* @throws {RequiredError}
|
|
23228
23306
|
*/
|
|
23229
23307
|
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WorkingDayModel>>;
|
|
23308
|
+
/**
|
|
23309
|
+
*
|
|
23310
|
+
* @summary Delete HospitalSpecialty.
|
|
23311
|
+
* @param {string} hospitalSpecialtyId
|
|
23312
|
+
* @param {*} [options] Override http request option.
|
|
23313
|
+
* @throws {RequiredError}
|
|
23314
|
+
*/
|
|
23315
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
23230
23316
|
/**
|
|
23231
23317
|
*
|
|
23232
23318
|
* @summary Create Hospital.
|
|
@@ -23625,6 +23711,14 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
|
|
|
23625
23711
|
* @throws {RequiredError}
|
|
23626
23712
|
*/
|
|
23627
23713
|
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand | undefined, options?: any): AxiosPromise<HospitalModel>;
|
|
23714
|
+
/**
|
|
23715
|
+
*
|
|
23716
|
+
* @summary Delete HospitalSpecialty.
|
|
23717
|
+
* @param {string} hospitalId
|
|
23718
|
+
* @param {*} [options] Override http request option.
|
|
23719
|
+
* @throws {RequiredError}
|
|
23720
|
+
*/
|
|
23721
|
+
apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: any): AxiosPromise<boolean>;
|
|
23628
23722
|
/**
|
|
23629
23723
|
*
|
|
23630
23724
|
* @summary Get all HospitalSpecialties.
|
|
@@ -23953,6 +24047,14 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
|
|
|
23953
24047
|
* @throws {RequiredError}
|
|
23954
24048
|
*/
|
|
23955
24049
|
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand | undefined, options?: any): AxiosPromise<WorkingDayModel>;
|
|
24050
|
+
/**
|
|
24051
|
+
*
|
|
24052
|
+
* @summary Delete HospitalSpecialty.
|
|
24053
|
+
* @param {string} hospitalSpecialtyId
|
|
24054
|
+
* @param {*} [options] Override http request option.
|
|
24055
|
+
* @throws {RequiredError}
|
|
24056
|
+
*/
|
|
24057
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean>;
|
|
23956
24058
|
/**
|
|
23957
24059
|
*
|
|
23958
24060
|
* @summary Create Hospital.
|
|
@@ -24386,6 +24488,15 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
24386
24488
|
* @memberof HospitalsApi
|
|
24387
24489
|
*/
|
|
24388
24490
|
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalModel>>;
|
|
24491
|
+
/**
|
|
24492
|
+
*
|
|
24493
|
+
* @summary Delete HospitalSpecialty.
|
|
24494
|
+
* @param {string} hospitalId
|
|
24495
|
+
* @param {*} [options] Override http request option.
|
|
24496
|
+
* @throws {RequiredError}
|
|
24497
|
+
* @memberof HospitalsApi
|
|
24498
|
+
*/
|
|
24499
|
+
apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
|
|
24389
24500
|
/**
|
|
24390
24501
|
*
|
|
24391
24502
|
* @summary Get all HospitalSpecialties.
|
|
@@ -24741,6 +24852,15 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
24741
24852
|
* @memberof HospitalsApi
|
|
24742
24853
|
*/
|
|
24743
24854
|
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkingDayModel>>;
|
|
24855
|
+
/**
|
|
24856
|
+
*
|
|
24857
|
+
* @summary Delete HospitalSpecialty.
|
|
24858
|
+
* @param {string} hospitalSpecialtyId
|
|
24859
|
+
* @param {*} [options] Override http request option.
|
|
24860
|
+
* @throws {RequiredError}
|
|
24861
|
+
* @memberof HospitalsApi
|
|
24862
|
+
*/
|
|
24863
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
|
|
24744
24864
|
/**
|
|
24745
24865
|
*
|
|
24746
24866
|
* @summary Create Hospital.
|