ch-api-client-typescript2 5.36.14 → 5.36.28
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/accounts-api.d.ts +89 -0
- package/lib/api/accounts-api.d.ts.map +1 -0
- package/lib/api/accounts-api.js +216 -0
- package/lib/api/form-templates-api.d.ts +12 -3
- package/lib/api/form-templates-api.d.ts.map +1 -1
- package/lib/api/form-templates-api.js +12 -6
- 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/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/form-template-affiliation-model.d.ts +49 -0
- package/lib/models/form-template-affiliation-model.d.ts.map +1 -0
- package/lib/models/form-template-affiliation-model.js +15 -0
- package/lib/models/form-template-model.d.ts +25 -0
- package/lib/models/form-template-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/register-patient-command.d.ts +37 -0
- package/lib/models/register-patient-command.d.ts.map +1 -0
- package/lib/models/register-patient-command.js +15 -0
- package/lib/models/registered-account-model.d.ts +61 -0
- package/lib/models/registered-account-model.d.ts.map +1 -0
- package/lib/models/registered-account-model.js +15 -0
- package/lib/models/survey-form-affiliation-model.d.ts +49 -0
- package/lib/models/survey-form-affiliation-model.d.ts.map +1 -0
- package/lib/models/survey-form-affiliation-model.js +15 -0
- package/lib/models/survey-form-model.d.ts +3 -2
- package/lib/models/survey-form-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +5 -0
- package/src/api/accounts-api.ts +149 -0
- package/src/api/form-templates-api.ts +20 -6
- package/src/api/survey-forms-api.ts +20 -6
- package/src/api.ts +1 -0
- package/src/models/form-template-affiliation-model.ts +54 -0
- package/src/models/form-template-model.ts +27 -0
- package/src/models/index.ts +4 -0
- package/src/models/register-patient-command.ts +42 -0
- package/src/models/registered-account-model.ts +66 -0
- package/src/models/survey-form-affiliation-model.ts +54 -0
- package/src/models/survey-form-model.ts +5 -2
|
@@ -34,10 +34,11 @@ export const FormTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34
34
|
* @param {string} formTemplateId
|
|
35
35
|
* @param {string} [languageCode]
|
|
36
36
|
* @param {string} [previewSecret]
|
|
37
|
+
* @param {string} [hospitalId]
|
|
37
38
|
* @param {*} [options] Override http request option.
|
|
38
39
|
* @throws {RequiredError}
|
|
39
40
|
*/
|
|
40
|
-
apiV2FormtemplatesFormTemplateIdGet: async (formTemplateId: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
+
apiV2FormtemplatesFormTemplateIdGet: async (formTemplateId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
42
|
// verify required parameter 'formTemplateId' is not null or undefined
|
|
42
43
|
assertParamExists('apiV2FormtemplatesFormTemplateIdGet', 'formTemplateId', formTemplateId)
|
|
43
44
|
const localVarPath = `/api/v2/formtemplates/{formTemplateId}`
|
|
@@ -61,6 +62,10 @@ export const FormTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
61
62
|
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
62
63
|
}
|
|
63
64
|
|
|
65
|
+
if (hospitalId !== undefined) {
|
|
66
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
67
|
+
}
|
|
68
|
+
|
|
64
69
|
|
|
65
70
|
|
|
66
71
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -88,11 +93,12 @@ export const FormTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
88
93
|
* @param {string} formTemplateId
|
|
89
94
|
* @param {string} [languageCode]
|
|
90
95
|
* @param {string} [previewSecret]
|
|
96
|
+
* @param {string} [hospitalId]
|
|
91
97
|
* @param {*} [options] Override http request option.
|
|
92
98
|
* @throws {RequiredError}
|
|
93
99
|
*/
|
|
94
|
-
async apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplateModel>> {
|
|
95
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, options);
|
|
100
|
+
async apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplateModel>> {
|
|
101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, hospitalId, options);
|
|
96
102
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
97
103
|
},
|
|
98
104
|
}
|
|
@@ -111,11 +117,12 @@ export const FormTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
111
117
|
* @param {string} formTemplateId
|
|
112
118
|
* @param {string} [languageCode]
|
|
113
119
|
* @param {string} [previewSecret]
|
|
120
|
+
* @param {string} [hospitalId]
|
|
114
121
|
* @param {*} [options] Override http request option.
|
|
115
122
|
* @throws {RequiredError}
|
|
116
123
|
*/
|
|
117
|
-
apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<FormTemplateModel> {
|
|
118
|
-
return localVarFp.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, options).then((request) => request(axios, basePath));
|
|
124
|
+
apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<FormTemplateModel> {
|
|
125
|
+
return localVarFp.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, hospitalId, options).then((request) => request(axios, basePath));
|
|
119
126
|
},
|
|
120
127
|
};
|
|
121
128
|
};
|
|
@@ -146,6 +153,13 @@ export interface FormTemplatesApiApiV2FormtemplatesFormTemplateIdGetRequest {
|
|
|
146
153
|
* @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
|
|
147
154
|
*/
|
|
148
155
|
readonly previewSecret?: string
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
|
|
161
|
+
*/
|
|
162
|
+
readonly hospitalId?: string
|
|
149
163
|
}
|
|
150
164
|
|
|
151
165
|
/**
|
|
@@ -164,6 +178,6 @@ export class FormTemplatesApi extends BaseAPI {
|
|
|
164
178
|
* @memberof FormTemplatesApi
|
|
165
179
|
*/
|
|
166
180
|
public apiV2FormtemplatesFormTemplateIdGet(requestParameters: FormTemplatesApiApiV2FormtemplatesFormTemplateIdGetRequest, options?: AxiosRequestConfig) {
|
|
167
|
-
return FormTemplatesApiFp(this.configuration).apiV2FormtemplatesFormTemplateIdGet(requestParameters.formTemplateId, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
181
|
+
return FormTemplatesApiFp(this.configuration).apiV2FormtemplatesFormTemplateIdGet(requestParameters.formTemplateId, requestParameters.languageCode, requestParameters.previewSecret, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
168
182
|
}
|
|
169
183
|
}
|
|
@@ -34,10 +34,11 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34
34
|
* @param {string} surveyFormId
|
|
35
35
|
* @param {string} [languageCode]
|
|
36
36
|
* @param {string} [previewSecret]
|
|
37
|
+
* @param {string} [hospitalId]
|
|
37
38
|
* @param {*} [options] Override http request option.
|
|
38
39
|
* @throws {RequiredError}
|
|
39
40
|
*/
|
|
40
|
-
apiV2SurveyformsSurveyFormIdGet: async (surveyFormId: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
+
apiV2SurveyformsSurveyFormIdGet: async (surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
42
|
// verify required parameter 'surveyFormId' is not null or undefined
|
|
42
43
|
assertParamExists('apiV2SurveyformsSurveyFormIdGet', 'surveyFormId', surveyFormId)
|
|
43
44
|
const localVarPath = `/api/v2/surveyforms/{surveyFormId}`
|
|
@@ -61,6 +62,10 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
61
62
|
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
62
63
|
}
|
|
63
64
|
|
|
65
|
+
if (hospitalId !== undefined) {
|
|
66
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
67
|
+
}
|
|
68
|
+
|
|
64
69
|
|
|
65
70
|
|
|
66
71
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -88,11 +93,12 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
88
93
|
* @param {string} surveyFormId
|
|
89
94
|
* @param {string} [languageCode]
|
|
90
95
|
* @param {string} [previewSecret]
|
|
96
|
+
* @param {string} [hospitalId]
|
|
91
97
|
* @param {*} [options] Override http request option.
|
|
92
98
|
* @throws {RequiredError}
|
|
93
99
|
*/
|
|
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);
|
|
100
|
+
async apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>> {
|
|
101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, hospitalId, options);
|
|
96
102
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
97
103
|
},
|
|
98
104
|
}
|
|
@@ -111,11 +117,12 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
|
|
|
111
117
|
* @param {string} surveyFormId
|
|
112
118
|
* @param {string} [languageCode]
|
|
113
119
|
* @param {string} [previewSecret]
|
|
120
|
+
* @param {string} [hospitalId]
|
|
114
121
|
* @param {*} [options] Override http request option.
|
|
115
122
|
* @throws {RequiredError}
|
|
116
123
|
*/
|
|
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));
|
|
124
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<SurveyFormModel> {
|
|
125
|
+
return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, hospitalId, options).then((request) => request(axios, basePath));
|
|
119
126
|
},
|
|
120
127
|
};
|
|
121
128
|
};
|
|
@@ -146,6 +153,13 @@ export interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest {
|
|
|
146
153
|
* @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet
|
|
147
154
|
*/
|
|
148
155
|
readonly previewSecret?: string
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet
|
|
161
|
+
*/
|
|
162
|
+
readonly hospitalId?: string
|
|
149
163
|
}
|
|
150
164
|
|
|
151
165
|
/**
|
|
@@ -164,6 +178,6 @@ export class SurveyFormsApi extends BaseAPI {
|
|
|
164
178
|
* @memberof SurveyFormsApi
|
|
165
179
|
*/
|
|
166
180
|
public apiV2SurveyformsSurveyFormIdGet(requestParameters: SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest, options?: AxiosRequestConfig) {
|
|
167
|
-
return SurveyFormsApiFp(this.configuration).apiV2SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
181
|
+
return SurveyFormsApiFp(this.configuration).apiV2SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.previewSecret, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
168
182
|
}
|
|
169
183
|
}
|
package/src/api.ts
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: developer@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 FormTemplateAffiliationModel
|
|
21
|
+
*/
|
|
22
|
+
export interface FormTemplateAffiliationModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof FormTemplateAffiliationModel
|
|
27
|
+
*/
|
|
28
|
+
'hospitalId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FormTemplateAffiliationModel
|
|
33
|
+
*/
|
|
34
|
+
'hospitalName'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FormTemplateAffiliationModel
|
|
39
|
+
*/
|
|
40
|
+
'hospitalLogo'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FormTemplateAffiliationModel
|
|
45
|
+
*/
|
|
46
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof FormTemplateAffiliationModel
|
|
51
|
+
*/
|
|
52
|
+
'urlAfterDone'?: string | null;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
import { FormSectionModel } from './form-section-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import { FormTemplateAffiliationModel } from './form-template-affiliation-model';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import { FormTemplateStatus } from './form-template-status';
|
|
22
25
|
// May contain unused imports in some cases
|
|
23
26
|
// @ts-ignore
|
|
@@ -53,18 +56,42 @@ export interface FormTemplateModel {
|
|
|
53
56
|
* @memberof FormTemplateModel
|
|
54
57
|
*/
|
|
55
58
|
'hospitalId'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FormTemplateModel
|
|
63
|
+
*/
|
|
64
|
+
'urlAfterDone'?: string | null;
|
|
56
65
|
/**
|
|
57
66
|
*
|
|
58
67
|
* @type {string}
|
|
59
68
|
* @memberof FormTemplateModel
|
|
60
69
|
*/
|
|
61
70
|
'id'?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<FormTemplateAffiliationModel>}
|
|
74
|
+
* @memberof FormTemplateModel
|
|
75
|
+
*/
|
|
76
|
+
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
62
77
|
/**
|
|
63
78
|
*
|
|
64
79
|
* @type {string}
|
|
65
80
|
* @memberof FormTemplateModel
|
|
66
81
|
*/
|
|
67
82
|
'hospitalName'?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof FormTemplateModel
|
|
87
|
+
*/
|
|
88
|
+
'hospitalLogo'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof FormTemplateModel
|
|
93
|
+
*/
|
|
94
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
68
95
|
/**
|
|
69
96
|
*
|
|
70
97
|
* @type {string}
|
package/src/models/index.ts
CHANGED
|
@@ -172,6 +172,7 @@ export * from './form-result-value-input-model';
|
|
|
172
172
|
export * from './form-result-value-model';
|
|
173
173
|
export * from './form-results-model';
|
|
174
174
|
export * from './form-section-model';
|
|
175
|
+
export * from './form-template-affiliation-model';
|
|
175
176
|
export * from './form-template-model';
|
|
176
177
|
export * from './form-template-status';
|
|
177
178
|
export * from './form-template-type';
|
|
@@ -298,6 +299,8 @@ export * from './recurring-interval';
|
|
|
298
299
|
export * from './refund-appointment-command';
|
|
299
300
|
export * from './refund-policy';
|
|
300
301
|
export * from './refund-status';
|
|
302
|
+
export * from './register-patient-command';
|
|
303
|
+
export * from './registered-account-model';
|
|
301
304
|
export * from './reject-reason';
|
|
302
305
|
export * from './remove-cors-command';
|
|
303
306
|
export * from './reschedule-appointment-command';
|
|
@@ -341,6 +344,7 @@ export * from './specialty-type-simple-item-model';
|
|
|
341
344
|
export * from './specialty-types-model';
|
|
342
345
|
export * from './specialty-types-simple-model';
|
|
343
346
|
export * from './subscription-model';
|
|
347
|
+
export * from './survey-form-affiliation-model';
|
|
344
348
|
export * from './survey-form-element-model';
|
|
345
349
|
export * from './survey-form-element-option-model';
|
|
346
350
|
export * from './survey-form-element-types';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: developer@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 RegisterPatientCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterPatientCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RegisterPatientCommand
|
|
27
|
+
*/
|
|
28
|
+
'email'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RegisterPatientCommand
|
|
33
|
+
*/
|
|
34
|
+
'phoneNumber'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RegisterPatientCommand
|
|
39
|
+
*/
|
|
40
|
+
'hospitalId'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: developer@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 RegisteredAccountModel
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisteredAccountModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RegisteredAccountModel
|
|
27
|
+
*/
|
|
28
|
+
'accountId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RegisteredAccountModel
|
|
33
|
+
*/
|
|
34
|
+
'hospitalName'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RegisteredAccountModel
|
|
39
|
+
*/
|
|
40
|
+
'hospitalLogo'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RegisteredAccountModel
|
|
45
|
+
*/
|
|
46
|
+
'hospitalPrimaryColor'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof RegisteredAccountModel
|
|
51
|
+
*/
|
|
52
|
+
'hospitalSecondaryColor'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RegisteredAccountModel
|
|
57
|
+
*/
|
|
58
|
+
'hospitalSupportEmail'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof RegisteredAccountModel
|
|
63
|
+
*/
|
|
64
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: developer@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 SurveyFormAffiliationModel
|
|
21
|
+
*/
|
|
22
|
+
export interface SurveyFormAffiliationModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SurveyFormAffiliationModel
|
|
27
|
+
*/
|
|
28
|
+
'hospitalId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SurveyFormAffiliationModel
|
|
33
|
+
*/
|
|
34
|
+
'hospitalName'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SurveyFormAffiliationModel
|
|
39
|
+
*/
|
|
40
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof SurveyFormAffiliationModel
|
|
45
|
+
*/
|
|
46
|
+
'hospitalLogo'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof SurveyFormAffiliationModel
|
|
51
|
+
*/
|
|
52
|
+
'urlAfterDone'?: string | null;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SurveyFormAffiliationModel } from './survey-form-affiliation-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { SurveyFormElementModel } from './survey-form-element-model';
|
|
@@ -34,10 +37,10 @@ export interface SurveyFormModel {
|
|
|
34
37
|
'id'?: string;
|
|
35
38
|
/**
|
|
36
39
|
*
|
|
37
|
-
* @type {
|
|
40
|
+
* @type {Array<SurveyFormAffiliationModel>}
|
|
38
41
|
* @memberof SurveyFormModel
|
|
39
42
|
*/
|
|
40
|
-
'
|
|
43
|
+
'surveyFormAffiliations'?: Array<SurveyFormAffiliationModel> | null;
|
|
41
44
|
/**
|
|
42
45
|
*
|
|
43
46
|
* @type {string}
|