ch-api-client-typescript2 5.2.4 → 5.2.7
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 +351 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +460 -0
- package/lib/api/survey-forms-api.d.ts +12 -3
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +12 -6
- package/lib/models/footer-navigation-item-model.d.ts +61 -0
- package/lib/models/footer-navigation-item-model.d.ts.map +1 -0
- package/lib/models/footer-navigation-item-model.js +15 -0
- 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/policies-model.d.ts +33 -0
- package/lib/models/policies-model.d.ts.map +1 -0
- package/lib/models/policies-model.js +15 -0
- package/lib/models/policy-item-model.d.ts +61 -0
- package/lib/models/policy-item-model.d.ts.map +1 -0
- package/lib/models/policy-item-model.js +15 -0
- package/lib/models/policy-model.d.ts +117 -0
- package/lib/models/policy-model.d.ts.map +1 -0
- package/lib/models/policy-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -0
- package/src/api/hospitals-api.ts +600 -0
- package/src/api/survey-forms-api.ts +20 -6
- package/src/models/footer-navigation-item-model.ts +66 -0
- package/src/models/index.ts +4 -0
- package/src/models/policies-model.ts +42 -0
- package/src/models/policy-item-model.ts +66 -0
- package/src/models/policy-model.ts +126 -0
|
@@ -33,10 +33,11 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
33
33
|
* @summary Get survey form by id
|
|
34
34
|
* @param {string} surveyFormId
|
|
35
35
|
* @param {string} [languageCode]
|
|
36
|
+
* @param {string} [previewSecret]
|
|
36
37
|
* @param {*} [options] Override http request option.
|
|
37
38
|
* @throws {RequiredError}
|
|
38
39
|
*/
|
|
39
|
-
apiV2SurveyformsSurveyFormIdGet: async (surveyFormId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
|
+
apiV2SurveyformsSurveyFormIdGet: async (surveyFormId: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
41
|
// verify required parameter 'surveyFormId' is not null or undefined
|
|
41
42
|
assertParamExists('apiV2SurveyformsSurveyFormIdGet', 'surveyFormId', surveyFormId)
|
|
42
43
|
const localVarPath = `/api/v2/surveyforms/{surveyFormId}`
|
|
@@ -56,6 +57,10 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
56
57
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
if (previewSecret !== undefined) {
|
|
61
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
62
|
+
}
|
|
63
|
+
|
|
59
64
|
|
|
60
65
|
|
|
61
66
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -82,11 +87,12 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
82
87
|
* @summary Get survey form by id
|
|
83
88
|
* @param {string} surveyFormId
|
|
84
89
|
* @param {string} [languageCode]
|
|
90
|
+
* @param {string} [previewSecret]
|
|
85
91
|
* @param {*} [options] Override http request option.
|
|
86
92
|
* @throws {RequiredError}
|
|
87
93
|
*/
|
|
88
|
-
async apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>> {
|
|
89
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options);
|
|
94
|
+
async apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>> {
|
|
95
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, options);
|
|
90
96
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
91
97
|
},
|
|
92
98
|
}
|
|
@@ -104,11 +110,12 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
|
|
|
104
110
|
* @summary Get survey form by id
|
|
105
111
|
* @param {string} surveyFormId
|
|
106
112
|
* @param {string} [languageCode]
|
|
113
|
+
* @param {string} [previewSecret]
|
|
107
114
|
* @param {*} [options] Override http request option.
|
|
108
115
|
* @throws {RequiredError}
|
|
109
116
|
*/
|
|
110
|
-
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: any): AxiosPromise<SurveyFormModel> {
|
|
111
|
-
return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then((request) => request(axios, basePath));
|
|
117
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<SurveyFormModel> {
|
|
118
|
+
return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, options).then((request) => request(axios, basePath));
|
|
112
119
|
},
|
|
113
120
|
};
|
|
114
121
|
};
|
|
@@ -132,6 +139,13 @@ export interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest {
|
|
|
132
139
|
* @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet
|
|
133
140
|
*/
|
|
134
141
|
readonly languageCode?: string
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet
|
|
147
|
+
*/
|
|
148
|
+
readonly previewSecret?: string
|
|
135
149
|
}
|
|
136
150
|
|
|
137
151
|
/**
|
|
@@ -150,6 +164,6 @@ export class SurveyFormsApi extends BaseAPI {
|
|
|
150
164
|
* @memberof SurveyFormsApi
|
|
151
165
|
*/
|
|
152
166
|
public apiV2SurveyformsSurveyFormIdGet(requestParameters: SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest, options?: AxiosRequestConfig) {
|
|
153
|
-
return SurveyFormsApiFp(this.configuration).apiV2SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
167
|
+
return SurveyFormsApiFp(this.configuration).apiV2SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
154
168
|
}
|
|
155
169
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 FooterNavigationItemModel
|
|
21
|
+
*/
|
|
22
|
+
export interface FooterNavigationItemModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof FooterNavigationItemModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FooterNavigationItemModel
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FooterNavigationItemModel
|
|
39
|
+
*/
|
|
40
|
+
'url'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof FooterNavigationItemModel
|
|
45
|
+
*/
|
|
46
|
+
'level'?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof FooterNavigationItemModel
|
|
51
|
+
*/
|
|
52
|
+
'order'?: number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FooterNavigationItemModel
|
|
57
|
+
*/
|
|
58
|
+
'parentId'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<FooterNavigationItemModel>}
|
|
62
|
+
* @memberof FooterNavigationItemModel
|
|
63
|
+
*/
|
|
64
|
+
'subItems'?: Array<FooterNavigationItemModel> | null;
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -141,6 +141,7 @@ export * from './faq-tag-item-model';
|
|
|
141
141
|
export * from './faq-tag-model';
|
|
142
142
|
export * from './faq-tags-model';
|
|
143
143
|
export * from './faqs-model';
|
|
144
|
+
export * from './footer-navigation-item-model';
|
|
144
145
|
export * from './gender';
|
|
145
146
|
export * from './geography-point';
|
|
146
147
|
export * from './header-navigation-item-model';
|
|
@@ -212,6 +213,9 @@ export * from './plan-item-model';
|
|
|
212
213
|
export * from './plan-model';
|
|
213
214
|
export * from './plans-model';
|
|
214
215
|
export * from './platform';
|
|
216
|
+
export * from './policies-model';
|
|
217
|
+
export * from './policy-item-model';
|
|
218
|
+
export * from './policy-model';
|
|
215
219
|
export * from './problem-details';
|
|
216
220
|
export * from './procedure';
|
|
217
221
|
export * from './recurring-interval';
|
|
@@ -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 { PagedListMetaData } from './paged-list-meta-data';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PolicyItemModel } from './policy-item-model';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PoliciesModel
|
|
27
|
+
*/
|
|
28
|
+
export interface PoliciesModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<PolicyItemModel>}
|
|
32
|
+
* @memberof PoliciesModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<PolicyItemModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof PoliciesModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 PolicyItemModel
|
|
21
|
+
*/
|
|
22
|
+
export interface PolicyItemModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PolicyItemModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PolicyItemModel
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PolicyItemModel
|
|
39
|
+
*/
|
|
40
|
+
'name'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PolicyItemModel
|
|
45
|
+
*/
|
|
46
|
+
'slug'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof PolicyItemModel
|
|
51
|
+
*/
|
|
52
|
+
'confirmed'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PolicyItemModel
|
|
57
|
+
*/
|
|
58
|
+
'photo'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PolicyItemModel
|
|
63
|
+
*/
|
|
64
|
+
'photoThumbnail'?: string | null;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
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 { LocalizedUrlModel } from './localized-url-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { MediaModel } from './media-model';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PolicyModel
|
|
27
|
+
*/
|
|
28
|
+
export interface PolicyModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PolicyModel
|
|
33
|
+
*/
|
|
34
|
+
'id'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PolicyModel
|
|
39
|
+
*/
|
|
40
|
+
'languageCode'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PolicyModel
|
|
45
|
+
*/
|
|
46
|
+
'name'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PolicyModel
|
|
51
|
+
*/
|
|
52
|
+
'slug'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof PolicyModel
|
|
57
|
+
*/
|
|
58
|
+
'confirmed'?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PolicyModel
|
|
63
|
+
*/
|
|
64
|
+
'photo'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PolicyModel
|
|
69
|
+
*/
|
|
70
|
+
'photoThumbnail'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PolicyModel
|
|
75
|
+
*/
|
|
76
|
+
'description'?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PolicyModel
|
|
81
|
+
*/
|
|
82
|
+
'overview'?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PolicyModel
|
|
87
|
+
*/
|
|
88
|
+
'content'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PolicyModel
|
|
93
|
+
*/
|
|
94
|
+
'hospitalId'?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof PolicyModel
|
|
99
|
+
*/
|
|
100
|
+
'hospitalName'?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof PolicyModel
|
|
105
|
+
*/
|
|
106
|
+
'hospitalSlug'?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof PolicyModel
|
|
111
|
+
*/
|
|
112
|
+
'customStyle'?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {Array<LocalizedUrlModel>}
|
|
116
|
+
* @memberof PolicyModel
|
|
117
|
+
*/
|
|
118
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Array<MediaModel>}
|
|
122
|
+
* @memberof PolicyModel
|
|
123
|
+
*/
|
|
124
|
+
'medias'?: Array<MediaModel> | null;
|
|
125
|
+
}
|
|
126
|
+
|