ch-api-client-typescript2 5.19.8 → 5.19.13
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/hospitals-api.d.ts +131 -3
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +139 -6
- package/lib/models/hospital-branch-item-mapping-model.d.ts +75 -0
- package/lib/models/hospital-branch-item-mapping-model.d.ts.map +1 -0
- package/lib/models/hospital-branch-item-mapping-model.js +15 -0
- package/lib/models/hospital-branch-item-model.d.ts +3 -40
- package/lib/models/hospital-branch-item-model.d.ts.map +1 -1
- package/lib/models/hospital-branches-model.d.ts +8 -1
- package/lib/models/hospital-branches-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +4 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -0
- package/lib/models/notice-item-model.d.ts +80 -0
- package/lib/models/notice-item-model.d.ts.map +1 -0
- package/lib/models/notice-item-model.js +15 -0
- package/lib/models/notice-status.d.ts +23 -0
- package/lib/models/notice-status.d.ts.map +1 -0
- package/lib/models/notice-status.js +26 -0
- package/lib/models/notices-model.d.ts +33 -0
- package/lib/models/notices-model.d.ts.map +1 -0
- package/lib/models/notices-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -0
- package/src/api/hospitals-api.ts +221 -6
- package/src/models/hospital-branch-item-mapping-model.ts +84 -0
- package/src/models/hospital-branch-item-model.ts +3 -42
- package/src/models/hospital-branches-model.ts +10 -1
- package/src/models/index.ts +4 -0
- package/src/models/notice-item-model.ts +87 -0
- package/src/models/notice-status.ts +32 -0
- package/src/models/notices-model.ts +42 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -93,12 +93,16 @@ import { MediaType } from '../models';
|
|
|
93
93
|
// @ts-ignore
|
|
94
94
|
import { MediasModel } from '../models';
|
|
95
95
|
// @ts-ignore
|
|
96
|
+
import { NoticesModel } from '../models';
|
|
97
|
+
// @ts-ignore
|
|
96
98
|
import { PaymentMethod } from '../models';
|
|
97
99
|
// @ts-ignore
|
|
98
100
|
import { PoliciesModel } from '../models';
|
|
99
101
|
// @ts-ignore
|
|
100
102
|
import { PolicyModel } from '../models';
|
|
101
103
|
// @ts-ignore
|
|
104
|
+
import { ProblemDetails } from '../models';
|
|
105
|
+
// @ts-ignore
|
|
102
106
|
import { Procedure } from '../models';
|
|
103
107
|
// @ts-ignore
|
|
104
108
|
import { SecureFilesUploadedModel } from '../models';
|
|
@@ -608,10 +612,13 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
608
612
|
* @param {string} hospitalId
|
|
609
613
|
* @param {string} [languageCode]
|
|
610
614
|
* @param {boolean} [excludesCurrentHospital]
|
|
615
|
+
* @param {number} [page]
|
|
616
|
+
* @param {number} [limit]
|
|
617
|
+
* @param {Date} [lastRetrieved]
|
|
611
618
|
* @param {*} [options] Override http request option.
|
|
612
619
|
* @throws {RequiredError}
|
|
613
620
|
*/
|
|
614
|
-
apiV2HospitalsHospitalIdBranchesGet: async (hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
621
|
+
apiV2HospitalsHospitalIdBranchesGet: async (hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
615
622
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
616
623
|
assertParamExists('apiV2HospitalsHospitalIdBranchesGet', 'hospitalId', hospitalId)
|
|
617
624
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/branches`
|
|
@@ -635,6 +642,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
635
642
|
localVarQueryParameter['ExcludesCurrentHospital'] = excludesCurrentHospital;
|
|
636
643
|
}
|
|
637
644
|
|
|
645
|
+
if (page !== undefined) {
|
|
646
|
+
localVarQueryParameter['page'] = page;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
if (limit !== undefined) {
|
|
650
|
+
localVarQueryParameter['limit'] = limit;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
if (lastRetrieved !== undefined) {
|
|
654
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
655
|
+
(lastRetrieved as any).toISOString() :
|
|
656
|
+
lastRetrieved;
|
|
657
|
+
}
|
|
658
|
+
|
|
638
659
|
|
|
639
660
|
|
|
640
661
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1690,6 +1711,72 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1690
1711
|
|
|
1691
1712
|
|
|
1692
1713
|
|
|
1714
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1716
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1717
|
+
|
|
1718
|
+
return {
|
|
1719
|
+
url: toPathString(localVarUrlObj),
|
|
1720
|
+
options: localVarRequestOptions,
|
|
1721
|
+
};
|
|
1722
|
+
},
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @summary Get notices
|
|
1726
|
+
* @param {string} hospitalId
|
|
1727
|
+
* @param {string} [id]
|
|
1728
|
+
* @param {string} [languageCode]
|
|
1729
|
+
* @param {string} [name]
|
|
1730
|
+
* @param {number} [page]
|
|
1731
|
+
* @param {number} [limit]
|
|
1732
|
+
* @param {Date} [lastRetrieved]
|
|
1733
|
+
* @param {*} [options] Override http request option.
|
|
1734
|
+
* @throws {RequiredError}
|
|
1735
|
+
*/
|
|
1736
|
+
apiV2HospitalsHospitalIdNoticesGet: async (hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1737
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1738
|
+
assertParamExists('apiV2HospitalsHospitalIdNoticesGet', 'hospitalId', hospitalId)
|
|
1739
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/notices`
|
|
1740
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
1741
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1742
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1743
|
+
let baseOptions;
|
|
1744
|
+
if (configuration) {
|
|
1745
|
+
baseOptions = configuration.baseOptions;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1749
|
+
const localVarHeaderParameter = {} as any;
|
|
1750
|
+
const localVarQueryParameter = {} as any;
|
|
1751
|
+
|
|
1752
|
+
if (id !== undefined) {
|
|
1753
|
+
localVarQueryParameter['Id'] = id;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
if (languageCode !== undefined) {
|
|
1757
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
if (name !== undefined) {
|
|
1761
|
+
localVarQueryParameter['Name'] = name;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
if (page !== undefined) {
|
|
1765
|
+
localVarQueryParameter['page'] = page;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
if (limit !== undefined) {
|
|
1769
|
+
localVarQueryParameter['limit'] = limit;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
if (lastRetrieved !== undefined) {
|
|
1773
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
1774
|
+
(lastRetrieved as any).toISOString() :
|
|
1775
|
+
lastRetrieved;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
|
|
1693
1780
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1694
1781
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1695
1782
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3323,11 +3410,14 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3323
3410
|
* @param {string} hospitalId
|
|
3324
3411
|
* @param {string} [languageCode]
|
|
3325
3412
|
* @param {boolean} [excludesCurrentHospital]
|
|
3413
|
+
* @param {number} [page]
|
|
3414
|
+
* @param {number} [limit]
|
|
3415
|
+
* @param {Date} [lastRetrieved]
|
|
3326
3416
|
* @param {*} [options] Override http request option.
|
|
3327
3417
|
* @throws {RequiredError}
|
|
3328
3418
|
*/
|
|
3329
|
-
async apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
3330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, options);
|
|
3419
|
+
async apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
3420
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, page, limit, lastRetrieved, options);
|
|
3331
3421
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3332
3422
|
},
|
|
3333
3423
|
/**
|
|
@@ -3623,6 +3713,23 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3623
3713
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options);
|
|
3624
3714
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3625
3715
|
},
|
|
3716
|
+
/**
|
|
3717
|
+
*
|
|
3718
|
+
* @summary Get notices
|
|
3719
|
+
* @param {string} hospitalId
|
|
3720
|
+
* @param {string} [id]
|
|
3721
|
+
* @param {string} [languageCode]
|
|
3722
|
+
* @param {string} [name]
|
|
3723
|
+
* @param {number} [page]
|
|
3724
|
+
* @param {number} [limit]
|
|
3725
|
+
* @param {Date} [lastRetrieved]
|
|
3726
|
+
* @param {*} [options] Override http request option.
|
|
3727
|
+
* @throws {RequiredError}
|
|
3728
|
+
*/
|
|
3729
|
+
async apiV2HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoticesModel>> {
|
|
3730
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options);
|
|
3731
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3732
|
+
},
|
|
3626
3733
|
/**
|
|
3627
3734
|
*
|
|
3628
3735
|
* @summary Get HospitalPaymentMethods
|
|
@@ -4147,11 +4254,14 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4147
4254
|
* @param {string} hospitalId
|
|
4148
4255
|
* @param {string} [languageCode]
|
|
4149
4256
|
* @param {boolean} [excludesCurrentHospital]
|
|
4257
|
+
* @param {number} [page]
|
|
4258
|
+
* @param {number} [limit]
|
|
4259
|
+
* @param {Date} [lastRetrieved]
|
|
4150
4260
|
* @param {*} [options] Override http request option.
|
|
4151
4261
|
* @throws {RequiredError}
|
|
4152
4262
|
*/
|
|
4153
|
-
apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
4154
|
-
return localVarFp.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, options).then((request) => request(axios, basePath));
|
|
4263
|
+
apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
4264
|
+
return localVarFp.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
4155
4265
|
},
|
|
4156
4266
|
/**
|
|
4157
4267
|
*
|
|
@@ -4426,6 +4536,22 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4426
4536
|
apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
4427
4537
|
return localVarFp.apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then((request) => request(axios, basePath));
|
|
4428
4538
|
},
|
|
4539
|
+
/**
|
|
4540
|
+
*
|
|
4541
|
+
* @summary Get notices
|
|
4542
|
+
* @param {string} hospitalId
|
|
4543
|
+
* @param {string} [id]
|
|
4544
|
+
* @param {string} [languageCode]
|
|
4545
|
+
* @param {string} [name]
|
|
4546
|
+
* @param {number} [page]
|
|
4547
|
+
* @param {number} [limit]
|
|
4548
|
+
* @param {Date} [lastRetrieved]
|
|
4549
|
+
* @param {*} [options] Override http request option.
|
|
4550
|
+
* @throws {RequiredError}
|
|
4551
|
+
*/
|
|
4552
|
+
apiV2HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NoticesModel> {
|
|
4553
|
+
return localVarFp.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
4554
|
+
},
|
|
4429
4555
|
/**
|
|
4430
4556
|
*
|
|
4431
4557
|
* @summary Get HospitalPaymentMethods
|
|
@@ -5219,6 +5345,27 @@ export interface HospitalsApiApiV2HospitalsHospitalIdBranchesGetRequest {
|
|
|
5219
5345
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5220
5346
|
*/
|
|
5221
5347
|
readonly excludesCurrentHospital?: boolean
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
*
|
|
5351
|
+
* @type {number}
|
|
5352
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5353
|
+
*/
|
|
5354
|
+
readonly page?: number
|
|
5355
|
+
|
|
5356
|
+
/**
|
|
5357
|
+
*
|
|
5358
|
+
* @type {number}
|
|
5359
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5360
|
+
*/
|
|
5361
|
+
readonly limit?: number
|
|
5362
|
+
|
|
5363
|
+
/**
|
|
5364
|
+
*
|
|
5365
|
+
* @type {Date}
|
|
5366
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5367
|
+
*/
|
|
5368
|
+
readonly lastRetrieved?: Date
|
|
5222
5369
|
}
|
|
5223
5370
|
|
|
5224
5371
|
/**
|
|
@@ -6012,6 +6159,62 @@ export interface HospitalsApiApiV2HospitalsHospitalIdMediasMediaIdGetRequest {
|
|
|
6012
6159
|
readonly mediaId: string
|
|
6013
6160
|
}
|
|
6014
6161
|
|
|
6162
|
+
/**
|
|
6163
|
+
* Request parameters for apiV2HospitalsHospitalIdNoticesGet operation in HospitalsApi.
|
|
6164
|
+
* @export
|
|
6165
|
+
* @interface HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest
|
|
6166
|
+
*/
|
|
6167
|
+
export interface HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest {
|
|
6168
|
+
/**
|
|
6169
|
+
*
|
|
6170
|
+
* @type {string}
|
|
6171
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6172
|
+
*/
|
|
6173
|
+
readonly hospitalId: string
|
|
6174
|
+
|
|
6175
|
+
/**
|
|
6176
|
+
*
|
|
6177
|
+
* @type {string}
|
|
6178
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6179
|
+
*/
|
|
6180
|
+
readonly id?: string
|
|
6181
|
+
|
|
6182
|
+
/**
|
|
6183
|
+
*
|
|
6184
|
+
* @type {string}
|
|
6185
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6186
|
+
*/
|
|
6187
|
+
readonly languageCode?: string
|
|
6188
|
+
|
|
6189
|
+
/**
|
|
6190
|
+
*
|
|
6191
|
+
* @type {string}
|
|
6192
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6193
|
+
*/
|
|
6194
|
+
readonly name?: string
|
|
6195
|
+
|
|
6196
|
+
/**
|
|
6197
|
+
*
|
|
6198
|
+
* @type {number}
|
|
6199
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6200
|
+
*/
|
|
6201
|
+
readonly page?: number
|
|
6202
|
+
|
|
6203
|
+
/**
|
|
6204
|
+
*
|
|
6205
|
+
* @type {number}
|
|
6206
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6207
|
+
*/
|
|
6208
|
+
readonly limit?: number
|
|
6209
|
+
|
|
6210
|
+
/**
|
|
6211
|
+
*
|
|
6212
|
+
* @type {Date}
|
|
6213
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
|
|
6214
|
+
*/
|
|
6215
|
+
readonly lastRetrieved?: Date
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6015
6218
|
/**
|
|
6016
6219
|
* Request parameters for apiV2HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
|
|
6017
6220
|
* @export
|
|
@@ -7390,7 +7593,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
7390
7593
|
* @memberof HospitalsApi
|
|
7391
7594
|
*/
|
|
7392
7595
|
public apiV2HospitalsHospitalIdBranchesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdBranchesGetRequest, options?: AxiosRequestConfig) {
|
|
7393
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdBranchesGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.excludesCurrentHospital, options).then((request) => request(this.axios, this.basePath));
|
|
7596
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdBranchesGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.excludesCurrentHospital, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
7394
7597
|
}
|
|
7395
7598
|
|
|
7396
7599
|
/**
|
|
@@ -7633,6 +7836,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
7633
7836
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdMediasMediaIdGet(requestParameters.hospitalId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
7634
7837
|
}
|
|
7635
7838
|
|
|
7839
|
+
/**
|
|
7840
|
+
*
|
|
7841
|
+
* @summary Get notices
|
|
7842
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest} requestParameters Request parameters.
|
|
7843
|
+
* @param {*} [options] Override http request option.
|
|
7844
|
+
* @throws {RequiredError}
|
|
7845
|
+
* @memberof HospitalsApi
|
|
7846
|
+
*/
|
|
7847
|
+
public apiV2HospitalsHospitalIdNoticesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest, options?: AxiosRequestConfig) {
|
|
7848
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdNoticesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
7849
|
+
}
|
|
7850
|
+
|
|
7636
7851
|
/**
|
|
7637
7852
|
*
|
|
7638
7853
|
* @summary Get HospitalPaymentMethods
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { HospitalContactItemModel } from './hospital-contact-item-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { LocationModel } from './location-model';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface HospitalBranchItemMappingModel
|
|
27
|
+
*/
|
|
28
|
+
export interface HospitalBranchItemMappingModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof HospitalBranchItemMappingModel
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof HospitalBranchItemMappingModel
|
|
39
|
+
*/
|
|
40
|
+
'id'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof HospitalBranchItemMappingModel
|
|
45
|
+
*/
|
|
46
|
+
'hospitalId'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof HospitalBranchItemMappingModel
|
|
51
|
+
*/
|
|
52
|
+
'hospitalName'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof HospitalBranchItemMappingModel
|
|
57
|
+
*/
|
|
58
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {LocationModel}
|
|
62
|
+
* @memberof HospitalBranchItemMappingModel
|
|
63
|
+
*/
|
|
64
|
+
'hospitalLocation'?: LocationModel;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof HospitalBranchItemMappingModel
|
|
69
|
+
*/
|
|
70
|
+
'hospitalContactTel'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof HospitalBranchItemMappingModel
|
|
75
|
+
*/
|
|
76
|
+
'hospitalContactEmail'?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<HospitalContactItemModel>}
|
|
80
|
+
* @memberof HospitalBranchItemMappingModel
|
|
81
|
+
*/
|
|
82
|
+
'hospitalContacts'?: Array<HospitalContactItemModel> | null;
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -15,10 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import {
|
|
19
|
-
// May contain unused imports in some cases
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import { LocationModel } from './location-model';
|
|
18
|
+
import { HospitalBranchItemMappingModel } from './hospital-branch-item-mapping-model';
|
|
22
19
|
|
|
23
20
|
/**
|
|
24
21
|
*
|
|
@@ -44,12 +41,6 @@ export interface HospitalBranchItemModel {
|
|
|
44
41
|
* @memberof HospitalBranchItemModel
|
|
45
42
|
*/
|
|
46
43
|
'hospitalGroupId'?: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof HospitalBranchItemModel
|
|
51
|
-
*/
|
|
52
|
-
'hospitalId'?: string;
|
|
53
44
|
/**
|
|
54
45
|
*
|
|
55
46
|
* @type {number}
|
|
@@ -70,39 +61,9 @@ export interface HospitalBranchItemModel {
|
|
|
70
61
|
'isConfirmed'?: boolean;
|
|
71
62
|
/**
|
|
72
63
|
*
|
|
73
|
-
* @type {
|
|
74
|
-
* @memberof HospitalBranchItemModel
|
|
75
|
-
*/
|
|
76
|
-
'hospitalName'?: string | null;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof HospitalBranchItemModel
|
|
81
|
-
*/
|
|
82
|
-
'hospitalWebsiteUrl'?: string | null;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {LocationModel}
|
|
86
|
-
* @memberof HospitalBranchItemModel
|
|
87
|
-
*/
|
|
88
|
-
'hospitalLocation'?: LocationModel;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof HospitalBranchItemModel
|
|
93
|
-
*/
|
|
94
|
-
'hospitalContactTel'?: string | null;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof HospitalBranchItemModel
|
|
99
|
-
*/
|
|
100
|
-
'hospitalContactEmail'?: string | null;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {Array<HospitalContactItemModel>}
|
|
64
|
+
* @type {Array<HospitalBranchItemMappingModel>}
|
|
104
65
|
* @memberof HospitalBranchItemModel
|
|
105
66
|
*/
|
|
106
|
-
'
|
|
67
|
+
'hospitals'?: Array<HospitalBranchItemMappingModel> | null;
|
|
107
68
|
}
|
|
108
69
|
|
|
@@ -19,6 +19,9 @@ import { HospitalBranchItemModel } from './hospital-branch-item-model';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { HospitalGroupItemModel } from './hospital-group-item-model';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
*
|
|
@@ -37,6 +40,12 @@ export interface HospitalBranchesModel {
|
|
|
37
40
|
* @type {Array<HospitalBranchItemModel>}
|
|
38
41
|
* @memberof HospitalBranchesModel
|
|
39
42
|
*/
|
|
40
|
-
'
|
|
43
|
+
'items'?: Array<HospitalBranchItemModel> | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {PagedListMetaData}
|
|
47
|
+
* @memberof HospitalBranchesModel
|
|
48
|
+
*/
|
|
49
|
+
'metaData'?: PagedListMetaData;
|
|
41
50
|
}
|
|
42
51
|
|
package/src/models/index.ts
CHANGED
|
@@ -151,6 +151,7 @@ export * from './hospital-accreditation-item-model';
|
|
|
151
151
|
export * from './hospital-accreditation-model';
|
|
152
152
|
export * from './hospital-accreditations-model';
|
|
153
153
|
export * from './hospital-bank-account-info-document-model';
|
|
154
|
+
export * from './hospital-branch-item-mapping-model';
|
|
154
155
|
export * from './hospital-branch-item-model';
|
|
155
156
|
export * from './hospital-branches-model';
|
|
156
157
|
export * from './hospital-consultation-option-model';
|
|
@@ -212,6 +213,9 @@ export * from './membership-item-model';
|
|
|
212
213
|
export * from './membership-model';
|
|
213
214
|
export * from './memberships-model';
|
|
214
215
|
export * from './metadata';
|
|
216
|
+
export * from './notice-item-model';
|
|
217
|
+
export * from './notice-status';
|
|
218
|
+
export * from './notices-model';
|
|
215
219
|
export * from './notification-code';
|
|
216
220
|
export * from './notification-model';
|
|
217
221
|
export * from './notifications-model';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { NoticeStatus } from './notice-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface NoticeItemModel
|
|
24
|
+
*/
|
|
25
|
+
export interface NoticeItemModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof NoticeItemModel
|
|
30
|
+
*/
|
|
31
|
+
'id'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof NoticeItemModel
|
|
36
|
+
*/
|
|
37
|
+
'hospitalId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof NoticeItemModel
|
|
42
|
+
*/
|
|
43
|
+
'languageCode'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {NoticeStatus}
|
|
47
|
+
* @memberof NoticeItemModel
|
|
48
|
+
*/
|
|
49
|
+
'status'?: NoticeStatus;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof NoticeItemModel
|
|
54
|
+
*/
|
|
55
|
+
'order'?: number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof NoticeItemModel
|
|
60
|
+
*/
|
|
61
|
+
'hospitalName'?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof NoticeItemModel
|
|
66
|
+
*/
|
|
67
|
+
'name'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof NoticeItemModel
|
|
72
|
+
*/
|
|
73
|
+
'slug'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof NoticeItemModel
|
|
78
|
+
*/
|
|
79
|
+
'url'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof NoticeItemModel
|
|
84
|
+
*/
|
|
85
|
+
'isConfirmed'?: boolean;
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const NoticeStatus = {
|
|
24
|
+
Draft: 'Draft',
|
|
25
|
+
Active: 'Active',
|
|
26
|
+
Archived: 'Archived'
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type NoticeStatus = typeof NoticeStatus[keyof typeof NoticeStatus];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { NoticeItemModel } from './notice-item-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface NoticesModel
|
|
27
|
+
*/
|
|
28
|
+
export interface NoticesModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<NoticeItemModel>}
|
|
32
|
+
* @memberof NoticesModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<NoticeItemModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof NoticesModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|