ch-api-client-typescript2 5.19.70 → 5.20.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/hospitals-api.d.ts +138 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +180 -0
- package/lib/models/index.d.ts +9 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +9 -0
- package/lib/models/page-block-link-model.d.ts +68 -0
- package/lib/models/page-block-link-model.d.ts.map +1 -0
- package/lib/models/page-block-link-model.js +15 -0
- package/lib/models/page-block-link-type.d.ts +22 -0
- package/lib/models/page-block-link-type.d.ts.map +1 -0
- package/lib/models/page-block-link-type.js +25 -0
- package/lib/models/page-block-location-model.d.ts +43 -0
- package/lib/models/page-block-location-model.d.ts.map +1 -0
- package/lib/models/page-block-location-model.js +15 -0
- package/lib/models/page-block-model.d.ts +113 -0
- package/lib/models/page-block-model.d.ts.map +1 -0
- package/lib/models/page-block-model.js +15 -0
- package/lib/models/page-block-type.d.ts +29 -0
- package/lib/models/page-block-type.d.ts.map +1 -0
- package/lib/models/page-block-type.js +32 -0
- package/lib/models/page-item-model.d.ts +93 -0
- package/lib/models/page-item-model.d.ts.map +1 -0
- package/lib/models/page-item-model.js +15 -0
- package/lib/models/page-item-status.d.ts +23 -0
- package/lib/models/page-item-status.d.ts.map +1 -0
- package/lib/models/page-item-status.js +26 -0
- package/lib/models/page-section-list-type.d.ts +23 -0
- package/lib/models/page-section-list-type.d.ts.map +1 -0
- package/lib/models/page-section-list-type.js +26 -0
- package/lib/models/page-section-model.d.ts +51 -0
- package/lib/models/page-section-model.d.ts.map +1 -0
- package/lib/models/page-section-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +9 -0
- package/src/api/hospitals-api.ts +232 -0
- package/src/models/index.ts +9 -0
- package/src/models/page-block-link-model.ts +75 -0
- package/src/models/page-block-link-type.ts +31 -0
- package/src/models/page-block-location-model.ts +48 -0
- package/src/models/page-block-model.ts +126 -0
- package/src/models/page-block-type.ts +38 -0
- package/src/models/page-item-model.ts +102 -0
- package/src/models/page-item-status.ts +32 -0
- package/src/models/page-section-list-type.ts +32 -0
- package/src/models/page-section-model.ts +60 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PageSectionListType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.PageSectionListType = {
|
|
23
|
+
None: 'None',
|
|
24
|
+
List: 'List',
|
|
25
|
+
Grid: 'Grid'
|
|
26
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PageBlockModel } from './page-block-model';
|
|
13
|
+
import { PageSectionListType } from './page-section-list-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PageSectionModel
|
|
18
|
+
*/
|
|
19
|
+
export interface PageSectionModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof PageSectionModel
|
|
24
|
+
*/
|
|
25
|
+
'id'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PageSectionListType}
|
|
29
|
+
* @memberof PageSectionModel
|
|
30
|
+
*/
|
|
31
|
+
'listType'?: PageSectionListType;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PageSectionModel
|
|
36
|
+
*/
|
|
37
|
+
'customStyle'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof PageSectionModel
|
|
42
|
+
*/
|
|
43
|
+
'order'?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<PageBlockModel>}
|
|
47
|
+
* @memberof PageSectionModel
|
|
48
|
+
*/
|
|
49
|
+
'blocks'?: Array<PageBlockModel> | null;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=page-section-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-section-model.d.ts","sourceRoot":"","sources":["../../src/models/page-section-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CAC3C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -282,6 +282,15 @@ models/notification-code.ts
|
|
|
282
282
|
models/notification-model.ts
|
|
283
283
|
models/notifications-model.ts
|
|
284
284
|
models/package-sub-document-model.ts
|
|
285
|
+
models/page-block-link-model.ts
|
|
286
|
+
models/page-block-link-type.ts
|
|
287
|
+
models/page-block-location-model.ts
|
|
288
|
+
models/page-block-model.ts
|
|
289
|
+
models/page-block-type.ts
|
|
290
|
+
models/page-item-model.ts
|
|
291
|
+
models/page-item-status.ts
|
|
292
|
+
models/page-section-list-type.ts
|
|
293
|
+
models/page-section-model.ts
|
|
285
294
|
models/paged-list-meta-data.ts
|
|
286
295
|
models/patient-model.ts
|
|
287
296
|
models/pay-appointment-command.ts
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -101,6 +101,8 @@ import { MediasModel } from '../models';
|
|
|
101
101
|
// @ts-ignore
|
|
102
102
|
import { NoticesModel } from '../models';
|
|
103
103
|
// @ts-ignore
|
|
104
|
+
import { PageItemModel } from '../models';
|
|
105
|
+
// @ts-ignore
|
|
104
106
|
import { PaymentMethod } from '../models';
|
|
105
107
|
// @ts-ignore
|
|
106
108
|
import { PoliciesModel } from '../models';
|
|
@@ -1842,6 +1844,97 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1842
1844
|
|
|
1843
1845
|
|
|
1844
1846
|
|
|
1847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1850
|
+
|
|
1851
|
+
return {
|
|
1852
|
+
url: toPathString(localVarUrlObj),
|
|
1853
|
+
options: localVarRequestOptions,
|
|
1854
|
+
};
|
|
1855
|
+
},
|
|
1856
|
+
/**
|
|
1857
|
+
*
|
|
1858
|
+
* @summary Get page by id
|
|
1859
|
+
* @param {string} hospitalId
|
|
1860
|
+
* @param {string} pageItemId
|
|
1861
|
+
* @param {string} [languageCode]
|
|
1862
|
+
* @param {*} [options] Override http request option.
|
|
1863
|
+
* @throws {RequiredError}
|
|
1864
|
+
*/
|
|
1865
|
+
apiV2HospitalsHospitalIdPagesPageItemIdGet: async (hospitalId: string, pageItemId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1866
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1867
|
+
assertParamExists('apiV2HospitalsHospitalIdPagesPageItemIdGet', 'hospitalId', hospitalId)
|
|
1868
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
1869
|
+
assertParamExists('apiV2HospitalsHospitalIdPagesPageItemIdGet', 'pageItemId', pageItemId)
|
|
1870
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/pages/{pageItemId}`
|
|
1871
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
1872
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
|
|
1873
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1874
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1875
|
+
let baseOptions;
|
|
1876
|
+
if (configuration) {
|
|
1877
|
+
baseOptions = configuration.baseOptions;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1881
|
+
const localVarHeaderParameter = {} as any;
|
|
1882
|
+
const localVarQueryParameter = {} as any;
|
|
1883
|
+
|
|
1884
|
+
if (languageCode !== undefined) {
|
|
1885
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1891
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1892
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1893
|
+
|
|
1894
|
+
return {
|
|
1895
|
+
url: toPathString(localVarUrlObj),
|
|
1896
|
+
options: localVarRequestOptions,
|
|
1897
|
+
};
|
|
1898
|
+
},
|
|
1899
|
+
/**
|
|
1900
|
+
*
|
|
1901
|
+
* @summary Get page by slug
|
|
1902
|
+
* @param {string} hospitalId
|
|
1903
|
+
* @param {string} slug
|
|
1904
|
+
* @param {string} [languageCode]
|
|
1905
|
+
* @param {string} [previewSecret]
|
|
1906
|
+
* @param {*} [options] Override http request option.
|
|
1907
|
+
* @throws {RequiredError}
|
|
1908
|
+
*/
|
|
1909
|
+
apiV2HospitalsHospitalIdPagesSlugGet: async (hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1910
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1911
|
+
assertParamExists('apiV2HospitalsHospitalIdPagesSlugGet', 'hospitalId', hospitalId)
|
|
1912
|
+
// verify required parameter 'slug' is not null or undefined
|
|
1913
|
+
assertParamExists('apiV2HospitalsHospitalIdPagesSlugGet', 'slug', slug)
|
|
1914
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/pages/{slug}`
|
|
1915
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
1916
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
1917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1918
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1919
|
+
let baseOptions;
|
|
1920
|
+
if (configuration) {
|
|
1921
|
+
baseOptions = configuration.baseOptions;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1925
|
+
const localVarHeaderParameter = {} as any;
|
|
1926
|
+
const localVarQueryParameter = {} as any;
|
|
1927
|
+
|
|
1928
|
+
if (languageCode !== undefined) {
|
|
1929
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
if (previewSecret !== undefined) {
|
|
1933
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
|
|
1845
1938
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1846
1939
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1847
1940
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3887,6 +3980,33 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3887
3980
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options);
|
|
3888
3981
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3889
3982
|
},
|
|
3983
|
+
/**
|
|
3984
|
+
*
|
|
3985
|
+
* @summary Get page by id
|
|
3986
|
+
* @param {string} hospitalId
|
|
3987
|
+
* @param {string} pageItemId
|
|
3988
|
+
* @param {string} [languageCode]
|
|
3989
|
+
* @param {*} [options] Override http request option.
|
|
3990
|
+
* @throws {RequiredError}
|
|
3991
|
+
*/
|
|
3992
|
+
async apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
|
|
3993
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options);
|
|
3994
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3995
|
+
},
|
|
3996
|
+
/**
|
|
3997
|
+
*
|
|
3998
|
+
* @summary Get page by slug
|
|
3999
|
+
* @param {string} hospitalId
|
|
4000
|
+
* @param {string} slug
|
|
4001
|
+
* @param {string} [languageCode]
|
|
4002
|
+
* @param {string} [previewSecret]
|
|
4003
|
+
* @param {*} [options] Override http request option.
|
|
4004
|
+
* @throws {RequiredError}
|
|
4005
|
+
*/
|
|
4006
|
+
async apiV2HospitalsHospitalIdPagesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
|
|
4007
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdPagesSlugGet(hospitalId, slug, languageCode, previewSecret, options);
|
|
4008
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4009
|
+
},
|
|
3890
4010
|
/**
|
|
3891
4011
|
*
|
|
3892
4012
|
* @summary Get HospitalPaymentMethods
|
|
@@ -4743,6 +4863,31 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4743
4863
|
apiV2HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NoticesModel> {
|
|
4744
4864
|
return localVarFp.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
4745
4865
|
},
|
|
4866
|
+
/**
|
|
4867
|
+
*
|
|
4868
|
+
* @summary Get page by id
|
|
4869
|
+
* @param {string} hospitalId
|
|
4870
|
+
* @param {string} pageItemId
|
|
4871
|
+
* @param {string} [languageCode]
|
|
4872
|
+
* @param {*} [options] Override http request option.
|
|
4873
|
+
* @throws {RequiredError}
|
|
4874
|
+
*/
|
|
4875
|
+
apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: any): AxiosPromise<PageItemModel> {
|
|
4876
|
+
return localVarFp.apiV2HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options).then((request) => request(axios, basePath));
|
|
4877
|
+
},
|
|
4878
|
+
/**
|
|
4879
|
+
*
|
|
4880
|
+
* @summary Get page by slug
|
|
4881
|
+
* @param {string} hospitalId
|
|
4882
|
+
* @param {string} slug
|
|
4883
|
+
* @param {string} [languageCode]
|
|
4884
|
+
* @param {string} [previewSecret]
|
|
4885
|
+
* @param {*} [options] Override http request option.
|
|
4886
|
+
* @throws {RequiredError}
|
|
4887
|
+
*/
|
|
4888
|
+
apiV2HospitalsHospitalIdPagesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<PageItemModel> {
|
|
4889
|
+
return localVarFp.apiV2HospitalsHospitalIdPagesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then((request) => request(axios, basePath));
|
|
4890
|
+
},
|
|
4746
4891
|
/**
|
|
4747
4892
|
*
|
|
4748
4893
|
* @summary Get HospitalPaymentMethods
|
|
@@ -6473,6 +6618,69 @@ export interface HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest {
|
|
|
6473
6618
|
readonly lastRetrieved?: Date
|
|
6474
6619
|
}
|
|
6475
6620
|
|
|
6621
|
+
/**
|
|
6622
|
+
* Request parameters for apiV2HospitalsHospitalIdPagesPageItemIdGet operation in HospitalsApi.
|
|
6623
|
+
* @export
|
|
6624
|
+
* @interface HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest
|
|
6625
|
+
*/
|
|
6626
|
+
export interface HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest {
|
|
6627
|
+
/**
|
|
6628
|
+
*
|
|
6629
|
+
* @type {string}
|
|
6630
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGet
|
|
6631
|
+
*/
|
|
6632
|
+
readonly hospitalId: string
|
|
6633
|
+
|
|
6634
|
+
/**
|
|
6635
|
+
*
|
|
6636
|
+
* @type {string}
|
|
6637
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGet
|
|
6638
|
+
*/
|
|
6639
|
+
readonly pageItemId: string
|
|
6640
|
+
|
|
6641
|
+
/**
|
|
6642
|
+
*
|
|
6643
|
+
* @type {string}
|
|
6644
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGet
|
|
6645
|
+
*/
|
|
6646
|
+
readonly languageCode?: string
|
|
6647
|
+
}
|
|
6648
|
+
|
|
6649
|
+
/**
|
|
6650
|
+
* Request parameters for apiV2HospitalsHospitalIdPagesSlugGet operation in HospitalsApi.
|
|
6651
|
+
* @export
|
|
6652
|
+
* @interface HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest
|
|
6653
|
+
*/
|
|
6654
|
+
export interface HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest {
|
|
6655
|
+
/**
|
|
6656
|
+
*
|
|
6657
|
+
* @type {string}
|
|
6658
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
|
|
6659
|
+
*/
|
|
6660
|
+
readonly hospitalId: string
|
|
6661
|
+
|
|
6662
|
+
/**
|
|
6663
|
+
*
|
|
6664
|
+
* @type {string}
|
|
6665
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
|
|
6666
|
+
*/
|
|
6667
|
+
readonly slug: string
|
|
6668
|
+
|
|
6669
|
+
/**
|
|
6670
|
+
*
|
|
6671
|
+
* @type {string}
|
|
6672
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
|
|
6673
|
+
*/
|
|
6674
|
+
readonly languageCode?: string
|
|
6675
|
+
|
|
6676
|
+
/**
|
|
6677
|
+
*
|
|
6678
|
+
* @type {string}
|
|
6679
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdPagesSlugGet
|
|
6680
|
+
*/
|
|
6681
|
+
readonly previewSecret?: string
|
|
6682
|
+
}
|
|
6683
|
+
|
|
6476
6684
|
/**
|
|
6477
6685
|
* Request parameters for apiV2HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
|
|
6478
6686
|
* @export
|
|
@@ -8188,6 +8396,30 @@ export class HospitalsApi extends BaseAPI {
|
|
|
8188
8396
|
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));
|
|
8189
8397
|
}
|
|
8190
8398
|
|
|
8399
|
+
/**
|
|
8400
|
+
*
|
|
8401
|
+
* @summary Get page by id
|
|
8402
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest} requestParameters Request parameters.
|
|
8403
|
+
* @param {*} [options] Override http request option.
|
|
8404
|
+
* @throws {RequiredError}
|
|
8405
|
+
* @memberof HospitalsApi
|
|
8406
|
+
*/
|
|
8407
|
+
public apiV2HospitalsHospitalIdPagesPageItemIdGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPagesPageItemIdGetRequest, options?: AxiosRequestConfig) {
|
|
8408
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdPagesPageItemIdGet(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
8409
|
+
}
|
|
8410
|
+
|
|
8411
|
+
/**
|
|
8412
|
+
*
|
|
8413
|
+
* @summary Get page by slug
|
|
8414
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest} requestParameters Request parameters.
|
|
8415
|
+
* @param {*} [options] Override http request option.
|
|
8416
|
+
* @throws {RequiredError}
|
|
8417
|
+
* @memberof HospitalsApi
|
|
8418
|
+
*/
|
|
8419
|
+
public apiV2HospitalsHospitalIdPagesSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
8420
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdPagesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
8421
|
+
}
|
|
8422
|
+
|
|
8191
8423
|
/**
|
|
8192
8424
|
*
|
|
8193
8425
|
* @summary Get HospitalPaymentMethods
|
package/src/models/index.ts
CHANGED
|
@@ -232,6 +232,15 @@ export * from './notification-code';
|
|
|
232
232
|
export * from './notification-model';
|
|
233
233
|
export * from './notifications-model';
|
|
234
234
|
export * from './package-sub-document-model';
|
|
235
|
+
export * from './page-block-link-model';
|
|
236
|
+
export * from './page-block-link-type';
|
|
237
|
+
export * from './page-block-location-model';
|
|
238
|
+
export * from './page-block-model';
|
|
239
|
+
export * from './page-block-type';
|
|
240
|
+
export * from './page-item-model';
|
|
241
|
+
export * from './page-item-status';
|
|
242
|
+
export * from './page-section-list-type';
|
|
243
|
+
export * from './page-section-model';
|
|
235
244
|
export * from './paged-list-meta-data';
|
|
236
245
|
export * from './patient-model';
|
|
237
246
|
export * from './pay-appointment-command';
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { PageBlockLinkType } from './page-block-link-type';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface PageBlockLinkModel
|
|
24
|
+
*/
|
|
25
|
+
export interface PageBlockLinkModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PageBlockLinkModel
|
|
30
|
+
*/
|
|
31
|
+
'languageCode'?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PageBlockLinkModel
|
|
36
|
+
*/
|
|
37
|
+
'id'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {PageBlockLinkType}
|
|
41
|
+
* @memberof PageBlockLinkModel
|
|
42
|
+
*/
|
|
43
|
+
'linkType'?: PageBlockLinkType;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PageBlockLinkModel
|
|
48
|
+
*/
|
|
49
|
+
'customStyle'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof PageBlockLinkModel
|
|
54
|
+
*/
|
|
55
|
+
'order'?: number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PageBlockLinkModel
|
|
60
|
+
*/
|
|
61
|
+
'name'?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PageBlockLinkModel
|
|
66
|
+
*/
|
|
67
|
+
'url'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof PageBlockLinkModel
|
|
72
|
+
*/
|
|
73
|
+
'isConfirmed'?: boolean | null;
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 PageBlockLinkType = {
|
|
24
|
+
Button: 'Button',
|
|
25
|
+
Anchor: 'Anchor'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type PageBlockLinkType = typeof PageBlockLinkType[keyof typeof PageBlockLinkType];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* @interface PageBlockLocationModel
|
|
21
|
+
*/
|
|
22
|
+
export interface PageBlockLocationModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PageBlockLocationModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PageBlockLocationModel
|
|
33
|
+
*/
|
|
34
|
+
'vender'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PageBlockLocationModel
|
|
39
|
+
*/
|
|
40
|
+
'placeId'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PageBlockLocationModel
|
|
45
|
+
*/
|
|
46
|
+
'order'?: number;
|
|
47
|
+
}
|
|
48
|
+
|