ch-api-client-typescript2 5.34.0 → 5.35.2

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.
Files changed (86) hide show
  1. package/lib/api/form-results-api.d.ts +320 -0
  2. package/lib/api/form-results-api.d.ts.map +1 -0
  3. package/lib/api/form-results-api.js +538 -0
  4. package/lib/api/form-templates-api.d.ts +106 -0
  5. package/lib/api/form-templates-api.d.ts.map +1 -0
  6. package/lib/api/form-templates-api.js +218 -0
  7. package/lib/api.d.ts +2 -0
  8. package/lib/api.d.ts.map +1 -1
  9. package/lib/api.js +2 -0
  10. package/lib/models/create-form-result-command.d.ts +38 -0
  11. package/lib/models/create-form-result-command.d.ts.map +1 -0
  12. package/lib/models/create-form-result-command.js +15 -0
  13. package/lib/models/form-field-model.d.ts +98 -0
  14. package/lib/models/form-field-model.d.ts.map +1 -0
  15. package/lib/models/form-field-model.js +15 -0
  16. package/lib/models/form-field-option-model.d.ts +55 -0
  17. package/lib/models/form-field-option-model.d.ts.map +1 -0
  18. package/lib/models/form-field-option-model.js +15 -0
  19. package/lib/models/form-result-field-input-model.d.ts +32 -0
  20. package/lib/models/form-result-field-input-model.d.ts.map +1 -0
  21. package/lib/models/form-result-field-input-model.js +15 -0
  22. package/lib/models/form-result-field-model.d.ts +86 -0
  23. package/lib/models/form-result-field-model.d.ts.map +1 -0
  24. package/lib/models/form-result-field-model.js +15 -0
  25. package/lib/models/form-result-item-model.d.ts +87 -0
  26. package/lib/models/form-result-item-model.d.ts.map +1 -0
  27. package/lib/models/form-result-item-model.js +15 -0
  28. package/lib/models/form-result-model.d.ts +94 -0
  29. package/lib/models/form-result-model.d.ts.map +1 -0
  30. package/lib/models/form-result-model.js +15 -0
  31. package/lib/models/form-result-section-input-model.d.ts +32 -0
  32. package/lib/models/form-result-section-input-model.d.ts.map +1 -0
  33. package/lib/models/form-result-section-input-model.js +15 -0
  34. package/lib/models/form-result-section-model.d.ts +62 -0
  35. package/lib/models/form-result-section-model.d.ts.map +1 -0
  36. package/lib/models/form-result-section-model.js +15 -0
  37. package/lib/models/form-result-status.d.ts +23 -0
  38. package/lib/models/form-result-status.d.ts.map +1 -0
  39. package/lib/models/form-result-status.js +26 -0
  40. package/lib/models/form-result-value-input-model.d.ts +37 -0
  41. package/lib/models/form-result-value-input-model.d.ts.map +1 -0
  42. package/lib/models/form-result-value-input-model.js +15 -0
  43. package/lib/models/form-result-value-model.d.ts +43 -0
  44. package/lib/models/form-result-value-model.d.ts.map +1 -0
  45. package/lib/models/form-result-value-model.js +15 -0
  46. package/lib/models/form-results-model.d.ts +33 -0
  47. package/lib/models/form-results-model.d.ts.map +1 -0
  48. package/lib/models/form-results-model.js +15 -0
  49. package/lib/models/form-section-model.d.ts +62 -0
  50. package/lib/models/form-section-model.d.ts.map +1 -0
  51. package/lib/models/form-section-model.js +15 -0
  52. package/lib/models/form-template-model.d.ts +94 -0
  53. package/lib/models/form-template-model.d.ts.map +1 -0
  54. package/lib/models/form-template-model.js +15 -0
  55. package/lib/models/form-template-status.d.ts +22 -0
  56. package/lib/models/form-template-status.d.ts.map +1 -0
  57. package/lib/models/form-template-status.js +25 -0
  58. package/lib/models/form-template-type.d.ts +23 -0
  59. package/lib/models/form-template-type.d.ts.map +1 -0
  60. package/lib/models/form-template-type.js +26 -0
  61. package/lib/models/index.d.ts +17 -0
  62. package/lib/models/index.d.ts.map +1 -1
  63. package/lib/models/index.js +17 -0
  64. package/package.json +1 -1
  65. package/src/.openapi-generator/FILES +19 -0
  66. package/src/api/form-results-api.ts +557 -0
  67. package/src/api/form-templates-api.ts +169 -0
  68. package/src/api.ts +2 -0
  69. package/src/models/create-form-result-command.ts +45 -0
  70. package/src/models/form-field-model.ts +105 -0
  71. package/src/models/form-field-option-model.ts +60 -0
  72. package/src/models/form-result-field-input-model.ts +39 -0
  73. package/src/models/form-result-field-model.ts +93 -0
  74. package/src/models/form-result-item-model.ts +96 -0
  75. package/src/models/form-result-model.ts +105 -0
  76. package/src/models/form-result-section-input-model.ts +39 -0
  77. package/src/models/form-result-section-model.ts +69 -0
  78. package/src/models/form-result-status.ts +32 -0
  79. package/src/models/form-result-value-input-model.ts +42 -0
  80. package/src/models/form-result-value-model.ts +48 -0
  81. package/src/models/form-results-model.ts +42 -0
  82. package/src/models/form-section-model.ts +69 -0
  83. package/src/models/form-template-model.ts +105 -0
  84. package/src/models/form-template-status.ts +31 -0
  85. package/src/models/form-template-type.ts +32 -0
  86. package/src/models/index.ts +17 -0
@@ -0,0 +1,169 @@
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
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { FormTemplateModel } from '../models';
25
+ /**
26
+ * FormTemplatesApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const FormTemplatesApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ *
33
+ * @summary Get formTemplate
34
+ * @param {string} formTemplateId
35
+ * @param {string} [languageCode]
36
+ * @param {string} [previewSecret]
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ apiV2FormtemplatesFormTemplateIdGet: async (formTemplateId: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41
+ // verify required parameter 'formTemplateId' is not null or undefined
42
+ assertParamExists('apiV2FormtemplatesFormTemplateIdGet', 'formTemplateId', formTemplateId)
43
+ const localVarPath = `/api/v2/formtemplates/{formTemplateId}`
44
+ .replace(`{${"formTemplateId"}}`, encodeURIComponent(String(formTemplateId)));
45
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+
52
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
53
+ const localVarHeaderParameter = {} as any;
54
+ const localVarQueryParameter = {} as any;
55
+
56
+ if (languageCode !== undefined) {
57
+ localVarQueryParameter['languageCode'] = languageCode;
58
+ }
59
+
60
+ if (previewSecret !== undefined) {
61
+ localVarQueryParameter['previewSecret'] = previewSecret;
62
+ }
63
+
64
+
65
+
66
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
67
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69
+
70
+ return {
71
+ url: toPathString(localVarUrlObj),
72
+ options: localVarRequestOptions,
73
+ };
74
+ },
75
+ }
76
+ };
77
+
78
+ /**
79
+ * FormTemplatesApi - functional programming interface
80
+ * @export
81
+ */
82
+ export const FormTemplatesApiFp = function(configuration?: Configuration) {
83
+ const localVarAxiosParamCreator = FormTemplatesApiAxiosParamCreator(configuration)
84
+ return {
85
+ /**
86
+ *
87
+ * @summary Get formTemplate
88
+ * @param {string} formTemplateId
89
+ * @param {string} [languageCode]
90
+ * @param {string} [previewSecret]
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
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);
96
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
97
+ },
98
+ }
99
+ };
100
+
101
+ /**
102
+ * FormTemplatesApi - factory interface
103
+ * @export
104
+ */
105
+ export const FormTemplatesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
106
+ const localVarFp = FormTemplatesApiFp(configuration)
107
+ return {
108
+ /**
109
+ *
110
+ * @summary Get formTemplate
111
+ * @param {string} formTemplateId
112
+ * @param {string} [languageCode]
113
+ * @param {string} [previewSecret]
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
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));
119
+ },
120
+ };
121
+ };
122
+
123
+ /**
124
+ * Request parameters for apiV2FormtemplatesFormTemplateIdGet operation in FormTemplatesApi.
125
+ * @export
126
+ * @interface FormTemplatesApiApiV2FormtemplatesFormTemplateIdGetRequest
127
+ */
128
+ export interface FormTemplatesApiApiV2FormtemplatesFormTemplateIdGetRequest {
129
+ /**
130
+ *
131
+ * @type {string}
132
+ * @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
133
+ */
134
+ readonly formTemplateId: string
135
+
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
140
+ */
141
+ readonly languageCode?: string
142
+
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
147
+ */
148
+ readonly previewSecret?: string
149
+ }
150
+
151
+ /**
152
+ * FormTemplatesApi - object-oriented interface
153
+ * @export
154
+ * @class FormTemplatesApi
155
+ * @extends {BaseAPI}
156
+ */
157
+ export class FormTemplatesApi extends BaseAPI {
158
+ /**
159
+ *
160
+ * @summary Get formTemplate
161
+ * @param {FormTemplatesApiApiV2FormtemplatesFormTemplateIdGetRequest} requestParameters Request parameters.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ * @memberof FormTemplatesApi
165
+ */
166
+ 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));
168
+ }
169
+ }
package/src/api.ts CHANGED
@@ -32,6 +32,8 @@ export * from './api/doctors-api';
32
32
  export * from './api/external-api';
33
33
  export * from './api/faq-categories-api';
34
34
  export * from './api/faqs-api';
35
+ export * from './api/form-results-api';
36
+ export * from './api/form-templates-api';
35
37
  export * from './api/group-channels-api';
36
38
  export * from './api/hospitals-api';
37
39
  export * from './api/images-api';
@@ -0,0 +1,45 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { FormResultSectionInputModel } from './form-result-section-input-model';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface CreateFormResultCommand
24
+ */
25
+ export interface CreateFormResultCommand {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof CreateFormResultCommand
30
+ */
31
+ 'languageCode'?: string | null;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof CreateFormResultCommand
36
+ */
37
+ 'formTemplateId'?: string;
38
+ /**
39
+ *
40
+ * @type {Array<FormResultSectionInputModel>}
41
+ * @memberof CreateFormResultCommand
42
+ */
43
+ 'sections'?: Array<FormResultSectionInputModel> | null;
44
+ }
45
+
@@ -0,0 +1,105 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { FormFieldOptionModel } from './form-field-option-model';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface FormFieldModel
24
+ */
25
+ export interface FormFieldModel {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof FormFieldModel
30
+ */
31
+ 'formFieldType'?: string | null;
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof FormFieldModel
36
+ */
37
+ 'isRequired'?: boolean;
38
+ /**
39
+ *
40
+ * @type {boolean}
41
+ * @memberof FormFieldModel
42
+ */
43
+ 'isHidden'?: boolean;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof FormFieldModel
48
+ */
49
+ 'validation'?: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof FormFieldModel
54
+ */
55
+ 'customStyle'?: string | null;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof FormFieldModel
60
+ */
61
+ 'order'?: number;
62
+ /**
63
+ *
64
+ * @type {Array<FormFieldOptionModel>}
65
+ * @memberof FormFieldModel
66
+ */
67
+ 'options'?: Array<FormFieldOptionModel> | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof FormFieldModel
72
+ */
73
+ 'id'?: string;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof FormFieldModel
78
+ */
79
+ 'languageCode'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof FormFieldModel
84
+ */
85
+ 'name'?: string | null;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof FormFieldModel
90
+ */
91
+ 'label'?: string | null;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof FormFieldModel
96
+ */
97
+ 'placeholder'?: string | null;
98
+ /**
99
+ *
100
+ * @type {boolean}
101
+ * @memberof FormFieldModel
102
+ */
103
+ 'isConfirmed'?: boolean;
104
+ }
105
+
@@ -0,0 +1,60 @@
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 FormFieldOptionModel
21
+ */
22
+ export interface FormFieldOptionModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof FormFieldOptionModel
27
+ */
28
+ 'customStyle'?: string | null;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof FormFieldOptionModel
33
+ */
34
+ 'order'?: number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof FormFieldOptionModel
39
+ */
40
+ 'id'?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof FormFieldOptionModel
45
+ */
46
+ 'languageCode'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof FormFieldOptionModel
51
+ */
52
+ 'name'?: string | null;
53
+ /**
54
+ *
55
+ * @type {boolean}
56
+ * @memberof FormFieldOptionModel
57
+ */
58
+ 'isConfirmed'?: boolean;
59
+ }
60
+
@@ -0,0 +1,39 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { FormResultValueInputModel } from './form-result-value-input-model';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface FormResultFieldInputModel
24
+ */
25
+ export interface FormResultFieldInputModel {
26
+ /**
27
+ *
28
+ * @type {Array<FormResultValueInputModel>}
29
+ * @memberof FormResultFieldInputModel
30
+ */
31
+ 'values'?: Array<FormResultValueInputModel> | null;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof FormResultFieldInputModel
36
+ */
37
+ 'formFieldId'?: string;
38
+ }
39
+
@@ -0,0 +1,93 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { FormResultValueModel } from './form-result-value-model';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface FormResultFieldModel
24
+ */
25
+ export interface FormResultFieldModel {
26
+ /**
27
+ *
28
+ * @type {Array<FormResultValueModel>}
29
+ * @memberof FormResultFieldModel
30
+ */
31
+ 'values'?: Array<FormResultValueModel> | null;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof FormResultFieldModel
36
+ */
37
+ 'id'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof FormResultFieldModel
42
+ */
43
+ 'languageCode'?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof FormResultFieldModel
48
+ */
49
+ 'formFieldType'?: string | null;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof FormResultFieldModel
54
+ */
55
+ 'isRequired'?: boolean;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof FormResultFieldModel
60
+ */
61
+ 'customStyle'?: string | null;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof FormResultFieldModel
66
+ */
67
+ 'order'?: number;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof FormResultFieldModel
72
+ */
73
+ 'name'?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof FormResultFieldModel
78
+ */
79
+ 'label'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof FormResultFieldModel
84
+ */
85
+ 'placeholder'?: string | null;
86
+ /**
87
+ *
88
+ * @type {boolean}
89
+ * @memberof FormResultFieldModel
90
+ */
91
+ 'isConfirmed'?: boolean;
92
+ }
93
+
@@ -0,0 +1,96 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { FormResultStatus } from './form-result-status';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import { FormTemplateType } from './form-template-type';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface FormResultItemModel
27
+ */
28
+ export interface FormResultItemModel {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof FormResultItemModel
33
+ */
34
+ 'id'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof FormResultItemModel
39
+ */
40
+ 'languageCode'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof FormResultItemModel
45
+ */
46
+ 'hospitalId'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof FormResultItemModel
51
+ */
52
+ 'hospitalName'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof FormResultItemModel
57
+ */
58
+ 'userId'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof FormResultItemModel
63
+ */
64
+ 'userName'?: string | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof FormResultItemModel
69
+ */
70
+ 'name'?: string | null;
71
+ /**
72
+ *
73
+ * @type {boolean}
74
+ * @memberof FormResultItemModel
75
+ */
76
+ 'isConfirmed'?: boolean;
77
+ /**
78
+ *
79
+ * @type {FormTemplateType}
80
+ * @memberof FormResultItemModel
81
+ */
82
+ 'formTemplateType'?: FormTemplateType;
83
+ /**
84
+ *
85
+ * @type {FormResultStatus}
86
+ * @memberof FormResultItemModel
87
+ */
88
+ 'status'?: FormResultStatus;
89
+ /**
90
+ *
91
+ * @type {Date}
92
+ * @memberof FormResultItemModel
93
+ */
94
+ 'createdDate'?: Date;
95
+ }
96
+